(self.webpackChunkusaepay_developer=self.webpackChunkusaepay_developer||[]).push([[179],{9625:(K,G,I)=>{"use strict";function M(n){return"function"==typeof n}let p=!1;const y={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else p&&console.log("RxJS: Back to a better error behavior. Thank you. <3");p=n},get useDeprecatedSynchronousErrorHandling(){return p}};function g(n){setTimeout(()=>{throw n},0)}const _={closed:!0,next(n){},error(n){if(y.useDeprecatedSynchronousErrorHandling)throw n;g(n)},complete(){}},w=Array.isArray||(n=>n&&"number"==typeof n.length);function E(n){return null!==n&&"object"==typeof n}const R=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,s)=>`${s+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class O{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_unsubscribe:s,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof O)e.remove(this);else if(null!==e)for(let r=0;rt.concat(e instanceof R?e.errors:e),[])}O.EMPTY=((n=new O).closed=!0,n);const $="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class X extends O{constructor(t,e,s){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=_;break;case 1:if(!t){this.destination=_;break}if("object"==typeof t){t instanceof X?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new et(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new et(this,t,e,s)}}[$](){return this}static create(t,e,s){const i=new X(t,e,s);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class et extends X{constructor(t,e,s,i){super(),this._parentSubscriber=t;let r,o=this;M(e)?r=e:e&&(r=e.next,s=e.error,i=e.complete,e!==_&&(o=Object.create(e),M(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=r,this._error=s,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;y.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:s}=y;if(this._error)s&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)s?(e.syncErrorValue=t,e.syncErrorThrown=!0):g(t),this.unsubscribe();else{if(this.unsubscribe(),s)throw t;g(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);y.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(s){if(this.unsubscribe(),y.useDeprecatedSynchronousErrorHandling)throw s;g(s)}}__tryOrSetError(t,e,s){if(!y.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,s)}catch(i){return y.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(g(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const Rt="function"==typeof Symbol&&Symbol.observable||"@@observable";function xt(n){return n}function ut(n){return 0===n.length?xt:1===n.length?n[0]:function(e){return n.reduce((s,i)=>i(s),e)}}class it{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const e=new it;return e.source=this,e.operator=t,e}subscribe(t,e,s){const{operator:i}=this,r=function Gt(n,t,e){if(n){if(n instanceof X)return n;if(n[$])return n[$]()}return n||t||e?new X(n,t,e):new X(_)}(t,e,s);if(i?r.add(i.call(r,this.source)):r.add(this.source||y.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),y.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(t){try{return this._subscribe(t)}catch(e){y.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function Ot(n){for(;n;){const{closed:t,destination:e,isStopped:s}=n;if(t||s)return!1;n=e&&e instanceof X?e:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=mt(e))((s,i)=>{let r;r=this.subscribe(o=>{try{t(o)}catch(a){i(a),r&&r.unsubscribe()}},i,s)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[Rt](){return this}pipe(...t){return 0===t.length?this:ut(t)(this)}toPromise(t){return new(t=mt(t))((e,s)=>{let i;this.subscribe(r=>i=r,r=>s(r),()=>e(i))})}}function mt(n){if(n||(n=y.Promise||Promise),!n)throw new Error("no Promise impl found");return n}it.create=n=>new it(n);const U=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class B extends O{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const s=e.indexOf(this.subscriber);-1!==s&&e.splice(s,1)}}class ot extends X{constructor(t){super(t),this.destination=t}}class tt extends it{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[$](){return new ot(this)}lift(t){const e=new Tt(this,this);return e.operator=t,e}next(t){if(this.closed)throw new U;if(!this.isStopped){const{observers:e}=this,s=e.length,i=e.slice();for(let r=0;rnew Tt(n,t);class Tt extends tt{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):O.EMPTY}}function Qt(n){return n&&"function"==typeof n.schedule}class ue extends X{constructor(t,e,s){super(),this.parent=t,this.outerValue=e,this.outerIndex=s,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const cn=n=>t=>{for(let e=0,s=n.length;en&&"number"==typeof n.length&&"function"!=typeof n;function _t(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const jn=n=>{if(n&&"function"==typeof n[Rt])return(n=>t=>{const e=n[Rt]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(St(n))return cn(n);if(_t(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,g),t))(n);if(n&&"function"==typeof n[be])return(n=>t=>{const e=n[be]();for(;;){const s=e.next();if(s.done){t.complete();break}if(t.next(s.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${E(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function ne(n,t,e,s,i=new ue(n,e,s)){if(!i.closed)return t instanceof it?t.subscribe(i):jn(t)(i)}class Ke extends X{notifyNext(t,e,s,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function jt(n,t){return function(s){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return s.lift(new un(n,t))}}class un{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new zt(t,this.project,this.thisArg))}}class zt extends X{constructor(t,e,s){super(t),this.project=e,this.count=0,this.thisArg=s||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(s){return void this.destination.error(s)}this.destination.next(e)}}function fe(n,t){return new it(e=>{const s=new O;let i=0;return s.add(t.schedule(function(){i!==n.length?(e.next(n[i++]),e.closed||s.add(this.schedule())):e.complete()})),s})}function le(n,t){if(null!=n){if(function Oe(n){return n&&"function"==typeof n[Rt]}(n))return function ae(n,t){return new it(e=>{const s=new O;return s.add(t.schedule(()=>{const i=n[Rt]();s.add(i.subscribe({next(r){s.add(t.schedule(()=>e.next(r)))},error(r){s.add(t.schedule(()=>e.error(r)))},complete(){s.add(t.schedule(()=>e.complete()))}}))})),s})}(n,t);if(_t(n))return function Pe(n,t){return new it(e=>{const s=new O;return s.add(t.schedule(()=>n.then(i=>{s.add(t.schedule(()=>{e.next(i),s.add(t.schedule(()=>e.complete()))}))},i=>{s.add(t.schedule(()=>e.error(i)))}))),s})}(n,t);if(St(n))return fe(n,t);if(function wn(n){return n&&"function"==typeof n[be]}(n)||"string"==typeof n)return function me(n,t){if(!n)throw new Error("Iterable cannot be null");return new it(e=>{const s=new O;let i;return s.add(()=>{i&&"function"==typeof i.return&&i.return()}),s.add(t.schedule(()=>{i=n[be](),s.add(t.schedule(function(){if(e.closed)return;let r,o;try{const a=i.next();r=a.value,o=a.done}catch(a){return void e.error(a)}o?e.complete():(e.next(r),this.schedule())}))})),s})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}function dn(n,t){return t?le(n,t):n instanceof it?n:new it(jn(n))}function $e(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?s=>s.pipe($e((i,r)=>dn(n(i,r)).pipe(jt((o,a)=>t(i,o,r,a))),e)):("number"==typeof t&&(e=t),s=>s.lift(new tn(n,e)))}class tn{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new Vn(t,this.project,this.concurrent))}}class Vn extends Ke{constructor(t,e,s=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=s,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Gn(n=Number.POSITIVE_INFINITY){return $e(xt,n)}function ls(n,t){return t?fe(n,t):new it(cn(n))}function Ae(...n){let t=Number.POSITIVE_INFINITY,e=null,s=n[n.length-1];return Qt(s)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof s&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof it?n[0]:Gn(t)(ls(n,e))}function ri(){return function(t){return t.lift(new Bn(t))}}class Bn{constructor(t){this.connectable=t}call(t,e){const{connectable:s}=this;s._refCount++;const i=new Kn(t,s),r=e.subscribe(i);return i.closed||(i.connection=s.connect()),r}}class Kn extends X{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:s}=this,i=t._connection;this.connection=null,i&&(!s||i===s)&&i.unsubscribe()}}class Zt extends it{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new O,t.add(this.source.subscribe(new sr(this.getSubject(),this))),t.closed&&(this._connection=null,t=O.EMPTY)),t}refCount(){return ri()(this)}}const Hr=(()=>{const n=Zt.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class sr extends ot{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}class fb{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:s}=this,i=this.subjectFactory(),r=s(i).subscribe(t);return r.add(e.subscribe(i)),r}}function oi(){return new tt}function mb(){return n=>ri()(function hS(n,t){return function(s){let i;if(i="function"==typeof n?n:function(){return n},"function"==typeof t)return s.lift(new fb(i,t));const r=Object.create(s,Hr);return r.source=s,r.subjectFactory=i,r}}(oi)(n))}function en(n){for(let t in n)if(n[t]===en)return t;throw Error("Could not find renamed property on target object.")}function Xl(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Jt(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Jt).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function xh(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const gb=en({__forward_ref__:en});function Ve(n){return n.__forward_ref__=Ve,n.toString=function(){return Jt(this())},n}function te(n){return Zl(n)?n():n}function Zl(n){return"function"==typeof n&&n.hasOwnProperty(gb)&&n.__forward_ref__===Ve}class at extends Error{constructor(t,e){super(Eh(t,e)),this.code=t}}function Eh(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}function ie(n){return"string"==typeof n?n:null==n?"":String(n)}function qe(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():ie(n)}function kh(n,t){throw new at(-201,!1)}function li(n,t,e){n!=t&&Qe(e,n,t,"==")}function ci(n,t){null==n&&Qe(t,n,null,"!=")}function Qe(n,t,e,s){throw new Error(`ASSERTION ERROR: ${n}`+(null==s?"":` [Expected=> ${e} ${s} ${t} <=Actual]`))}function vt(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function hn(n){return{providers:n.providers||[],imports:n.imports||[]}}function wg(n){return _b(n,Th)||_b(n,Dg)}function _b(n,t){return n.hasOwnProperty(t)?n[t]:null}function yb(n){return n&&(n.hasOwnProperty(Lh)||n.hasOwnProperty(gS))?n[Lh]:null}const Th=en({\u0275prov:en}),Lh=en({\u0275inj:en}),Dg=en({ngInjectableDef:en}),gS=en({ngInjectorDef:en});var ge;let Mg;function js(n){const t=Mg;return Mg=n,t}function Sg(n,t,e){const s=wg(n);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:e&ge.Optional?null:void 0!==t?t:void kh(Jt(n))}function Eo(n){return{toString:n}.toString()}var Yi,Mu,Ls;!function(n){n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional"}(ge||(ge={})),function(n){n[n.OnPush=0]="OnPush",n[n.Default=1]="Default"}(Yi||(Yi={})),function(n){n[n.CheckOnce=0]="CheckOnce",n[n.Checked=1]="Checked",n[n.CheckAlways=2]="CheckAlways",n[n.Detached=3]="Detached",n[n.Errored=4]="Errored",n[n.Destroyed=5]="Destroyed"}(Mu||(Mu={})),function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(Ls||(Ls={}));const xe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();const ec={},Ge=[],Ah=en({\u0275cmp:en}),Cg=en({\u0275dir:en}),xg=en({\u0275pipe:en}),bb=en({\u0275mod:en}),Hi=en({\u0275fac:en}),Su=en({__NG_ELEMENT_ID__:en});let wb=0;function Ih(n){return Eo(()=>{const t=n.type,e=!0===n.standalone,s={},i={type:t,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:s,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===Yi.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Ge,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||Ls.Emulated,id:"c"+wb++,styles:n.styles||Ge,_:null,setInput:null,schemas:n.schemas||null,tView:null},r=n.dependencies,o=n.features;return i.inputs=Sb(n.inputs,s),i.outputs=Sb(n.outputs),o&&o.forEach(a=>a(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(Db).filter(Mb):null,i.pipeDefs=r?()=>("function"==typeof r?r():r).map(Is).filter(Mb):null,i})}function yS(n,t,e){const s=n.\u0275cmp;s.directiveDefs=()=>("function"==typeof t?t():t).map(Db),s.pipeDefs=()=>("function"==typeof e?e():e).map(Is)}function Db(n){return pn(n)||As(n)}function Mb(n){return null!==n}const vS={};function Dn(n){return Eo(()=>{const t={type:n.type,bootstrap:n.bootstrap||Ge,declarations:n.declarations||Ge,imports:n.imports||Ge,exports:n.exports||Ge,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(vS[n.id]=n.type),t})}function bS(n,t){return Eo(()=>{const e=ui(n,!0);e.declarations=t.declarations||Ge,e.imports=t.imports||Ge,e.exports=t.exports||Ge})}function Sb(n,t){if(null==n)return ec;const e={};for(const s in n)if(n.hasOwnProperty(s)){let i=n[s],r=i;Array.isArray(i)&&(r=i[1],i=i[0]),e[i]=s,t&&(t[i]=r)}return e}const Nt=Ih;function Vs(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function pn(n){return n[Ah]||null}function As(n){return n[Cg]||null}function Is(n){return n[xg]||null}function ui(n,t){const e=n[bb]||null;if(!e&&!0===t)throw new Error(`Type ${Jt(n)} does not have '\u0275mod' property.`);return e}function Us(n){return Array.isArray(n)&&"object"==typeof n[1]}function xi(n){return Array.isArray(n)&&!0===n[1]}function Lg(n){return 0!=(8&n.flags)}function Oh(n){return 2==(2&n.flags)}function Rh(n){return 1==(1&n.flags)}function ji(n){return null!==n.template}function MS(n){return 0!=(256&n[2])}function ba(n,t){return n.hasOwnProperty(Hi)?n[Hi]:null}class kS{constructor(t,e,s){this.previousValue=t,this.currentValue=e,this.firstChange=s}isFirstChange(){return this.firstChange}}function bs(){return ku}function ku(n){return n.type.prototype.ngOnChanges&&(n.setInput=Pg),Fh}function Fh(){const n=Og(this),t=n?.current;if(t){const e=n.previous;if(e===ec)n.previous=t;else for(let s in t)e[s]=t[s];n.current=null,this.ngOnChanges(t)}}function Pg(n,t,e,s){const i=Og(n)||function TS(n,t){return n[kb]=t}(n,{previous:ec,current:null}),r=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[e],l=o[a];r[a]=new kS(l&&l.currentValue,t,o===ec),n[s]=t}bs.ngInherit=!0;const kb="__ngSimpleChanges__";function Og(n){return n[kb]||null}let Tu=null;const $s=function(n,t,e){Tu?.(n,t,e)},Fg="math";function $n(n){for(;Array.isArray(n);)n=n[0];return n}function Yh(n,t){return $n(t[n])}function Ei(n,t){return $n(t[n.index])}function Yg(n,t){return n.data[t]}function sc(n,t){return n[t]}function An(n,t){const e=t[n];return Us(e)?e:e[0]}function Io(n){return 4==(4&n[2])}function Hh(n){return 64==(64&n[2])}function $r(n,t){return null==t?null:n[t]}function Hg(n){n[18]=0}function jg(n,t){n[5]+=t;let e=n,s=n[3];for(;null!==s&&(1===t&&1===e[5]||-1===t&&0===e[5]);)s[5]+=t,e=s,s=s[3]}const ce={lFrame:Rb(null),bindingsEnabled:!0};function Lb(){return ce.bindingsEnabled}function FS(){ce.bindingsEnabled=!0}function YS(){ce.bindingsEnabled=!1}function dt(){return ce.lFrame.lView}function Ne(){return ce.lFrame.tView}function HS(n){return ce.lFrame.contextLView=n,n[8]}function jS(n){return ce.lFrame.contextLView=null,n}function Jn(){let n=Ab();for(;null!==n&&64===n.type;)n=n.parent;return n}function Ab(){return ce.lFrame.currentTNode}function Lu(){const n=ce.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}function di(n,t){const e=ce.lFrame;e.currentTNode=n,e.isParent=t}function Bg(){return ce.lFrame.isParent}function Ug(){ce.lFrame.isParent=!1}function Ps(){const n=ce.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function zr(){return ce.lFrame.bindingIndex}function $g(n){return ce.lFrame.bindingIndex=n}function wa(){return ce.lFrame.bindingIndex++}function or(n){const t=ce.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function Da(n){ce.lFrame.inI18n=n}function Bh(n,t){const e=ce.lFrame;e.bindingIndex=e.bindingRootIndex=n,Po(t)}function Po(n){ce.lFrame.currentDirectiveIndex=n}function Uh(n){const t=ce.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function zg(){return ce.lFrame.currentQueryIndex}function Wg(n){ce.lFrame.currentQueryIndex=n}function BS(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function Pb(n,t,e){if(e&ge.SkipSelf){let i=t,r=n;for(;(i=i.parent,null===i&&!(e&ge.Host))&&(i=BS(r),!(null===i||(r=r[15],10&i.type))););if(null===i)return!1;t=i,n=r}const s=ce.lFrame=Ob();return s.currentTNode=t,s.lView=n,!0}function qg(n){const t=Ob(),e=n[1];ce.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function Ob(){const n=ce.lFrame,t=null===n?null:n.child;return null===t?Rb(n):t}function Rb(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function Nb(){const n=ce.lFrame;return ce.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Fb=Nb;function Gg(){const n=Nb();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function US(n){return(ce.lFrame.contextLView=function $S(n,t){for(;n>0;)t=t[15],n--;return t}(n,ce.lFrame.contextLView))[8]}function Os(){return ce.lFrame.selectedIndex}function Oo(n){ce.lFrame.selectedIndex=n}function Nn(){const n=ce.lFrame;return Yg(n.tView,n.selectedIndex)}function zS(){ce.lFrame.currentNamespace="svg"}function WS(){ce.lFrame.currentNamespace=Fg}function qS(){!function GS(){ce.lFrame.currentNamespace=null}()}function $h(n,t){for(let e=t.directiveStart,s=t.directiveEnd;e=s)break}else t[l]<0&&(n[18]+=65536),(a>11>16&&(3&n[2])===t){n[2]+=2048,$s(4,a,r);try{r.call(a)}finally{$s(5,a,r)}}}else{$s(4,a,r);try{r.call(a)}finally{$s(5,a,r)}}}class Ro{constructor(t,e,s){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=s}}function Wh(n,t,e){let s=0;for(;st){o=r-1;break}}}for(;r>16}(n),s=t;for(;e>0;)s=s[15],e--;return s}let Xg=!0;function ft(n){const t=Xg;return Xg=n,t}let ze=0;const hi={};function Sa(n,t){const e=e_(n,t);if(-1!==e)return e;const s=t[1];s.firstCreatePass&&(n.injectorIndex=t.length,t_(s.data,n),t_(t,null),t_(s.blueprint,null));const i=Gh(n,t),r=n.injectorIndex;if(Wr(i)){const o=Ma(i),a=rc(i,t),l=a[1].data;for(let c=0;c<8;c++)t[r+c]=a[o+c]|l[o+c]}return t[r+8]=i,r}function t_(n,t){n.push(0,0,0,0,0,0,0,0,t)}function e_(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function Gh(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,s=null,i=t;for(;null!==i;){if(s=qb(i),null===s)return-1;if(e++,i=i[15],-1!==s.injectorIndex)return s.injectorIndex|e<<16}return-1}function Kh(n,t,e){!function Bb(n,t,e){let s;"string"==typeof e?s=e.charCodeAt(0)||0:e.hasOwnProperty(Su)&&(s=e[Su]),null==s&&(s=e[Su]=ze++);const i=255&s,r=1<>5)]|=r}(n,t,e)}function lr(n,t,e){if(e&ge.Optional)return n;kh()}function Ub(n,t,e,s){if(e&ge.Optional&&void 0===s&&(s=null),0==(e&(ge.Self|ge.Host))){const i=n[9],r=js(void 0);try{return i?i.get(t,s,e&ge.Optional):Sg(t,s,e&ge.Optional)}finally{js(r)}}return lr(s,0,e)}function n_(n,t,e,s=ge.Default,i){if(null!==n){if(1024&t[2]){const o=function oC(n,t,e,s,i){let r=n,o=t;for(;null!==r&&null!==o&&1024&o[2]&&!(256&o[2]);){const a=$b(r,o,e,s|ge.Self,hi);if(a!==hi)return a;let l=r.parent;if(!l){const c=o[21];if(c){const u=c.get(e,hi,s);if(u!==hi)return u}l=qb(o),o=o[15]}r=l}return i}(n,t,e,s,hi);if(o!==hi)return o}const r=$b(n,t,e,s,hi);if(r!==hi)return r}return Ub(t,e,s,i)}function $b(n,t,e,s,i){const r=function zb(n){if("string"==typeof n)return n.charCodeAt(0)||0;const t=n.hasOwnProperty(Su)?n[Su]:void 0;return"number"==typeof t?t>=0?255&t:qr:t}(e);if("function"==typeof r){if(!Pb(t,n,s))return s&ge.Host?lr(i,0,s):Ub(t,e,s,i);try{const o=r(s);if(null!=o||s&ge.Optional)return o;kh()}finally{Fb()}}else if("number"==typeof r){let o=null,a=e_(n,t),l=-1,c=s&ge.Host?t[16][6]:null;for((-1===a||s&ge.SkipSelf)&&(l=-1===a?Gh(n,t):t[a+8],-1!==l&&Wb(s,!1)?(o=t[1],a=Ma(l),t=rc(l,t)):a=-1);-1!==a;){const u=t[1];if(Qh(r,a,u.data)){const h=rC(a,t,e,o,s,c);if(h!==hi)return h}l=t[a+8],-1!==l&&Wb(s,t[1].data[a+8]===c)&&Qh(r,a,t)?(o=u,a=Ma(l),t=rc(l,t)):a=-1}}return i}function rC(n,t,e,s,i,r){const o=t[1],a=o.data[n+8],u=Iu(a,o,e,null==s?Oh(a)&&Xg:s!=o&&0!=(3&a.type),i&ge.Host&&r===a);return null!==u?Pu(t,o,u,a):hi}function Iu(n,t,e,s,i){const r=n.providerIndexes,o=t.data,a=1048575&r,l=n.directiveStart,c=n.directiveEnd,u=r>>20,m=i?a+u:c;for(let v=s?a:a+u;v=l&&D.type===e)return v}if(i){const v=o[l];if(v&&ji(v)&&v.type===e)return l}return null}function Pu(n,t,e,s){let i=n[e];const r=t.data;if(function XS(n){return n instanceof Ro}(i)){const o=i;o.resolving&&function Du(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new at(-200,`Circular dependency in DI detected for ${n}${e}`)}(qe(r[e]));const a=ft(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?js(o.injectImpl):null;Pb(n,s,ge.Default);try{i=n[e]=o.factory(void 0,r,n,s),t.firstCreatePass&&e>=s.directiveStart&&function QS(n,t,e){const{ngOnChanges:s,ngOnInit:i,ngDoCheck:r}=t.type.prototype;if(s){const o=ku(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o)}i&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,i),r&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,r),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,r))}(e,r[e],t)}finally{null!==l&&js(l),ft(a),o.resolving=!1,Fb()}}return i}function Qh(n,t,e){const s=1<>5)]&s)}function Wb(n,t){return!(n&ge.Self||n&ge.Host&&t)}class oc{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,s){return n_(this._tNode,this._lView,t,s,e)}}function qr(){return new oc(Jn(),dt())}function is(n){return Eo(()=>{const t=n.prototype.constructor,e=t[Hi]||s_(t),s=Object.prototype;let i=Object.getPrototypeOf(n.prototype).constructor;for(;i&&i!==s;){const r=i[Hi]||s_(i);if(r&&r!==e)return r;i=Object.getPrototypeOf(i)}return r=>new r})}function s_(n){return Zl(n)?()=>{const t=s_(te(n));return t&&t()}:ba(n)}function qb(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}function Ou(n){return function iC(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const s=e.length;let i=0;for(;i{const r=i_(t);function o(...a){if(this instanceof o)return r.call(this,...a),this;const l=new o(...a);return function(u){return i&&i(u,...a),(u.hasOwnProperty(ac)?u[ac]:Object.defineProperty(u,ac,{value:[]})[ac]).push(l),s&&s(u),u}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=n,o.annotationCls=o,o})}function i_(n){return function(...e){if(n){const s=n(...e);for(const i in s)this[i]=s[i]}}}function uc(n,t,e){return Eo(()=>{const s=i_(t);function i(...r){if(this instanceof i)return s.apply(this,r),this;const o=new i(...r);return a.annotation=o,a;function a(l,c,u){const h=l.hasOwnProperty(lc)?l[lc]:Object.defineProperty(l,lc,{value:[]})[lc];for(;h.length<=u;)h.push(null);return(h[u]=h[u]||[]).push(o),l}}return e&&(i.prototype=Object.create(e.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i})}function zs(n,t,e,s){return Eo(()=>{const i=i_(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const a=new r(...o);return function l(c,u){const h=c.constructor,m=h.hasOwnProperty(cc)?h[cc]:Object.defineProperty(h,cc,{value:{}})[cc];m[u]=m.hasOwnProperty(u)&&m[u]||[],m[u].unshift(a),s&&s(c,u,...o)}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}const aC=uc("Attribute",n=>({attributeName:n,__NG_ELEMENT_ID__:()=>Ou(n)}));class At{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=vt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const lC=new At("AnalyzeForEntryComponents");class Jh{}const Kb=zs("ContentChildren",(n,t={})=>({selector:n,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true,...t}),Jh),Nu=zs("ContentChild",(n,t={})=>({selector:n,first:!0,isViewQuery:!1,descendants:!0,...t}),Jh),cC=zs("ViewChildren",(n,t={})=>({selector:n,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true,...t}),Jh),bt=zs("ViewChild",(n,t)=>({selector:n,first:!0,isViewQuery:!0,descendants:!0,...t}),Jh);var ki,Qb,Jb;function Xn(n){const t=xe.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}!function(n){n[n.Directive=0]="Directive",n[n.Component=1]="Component",n[n.Injectable=2]="Injectable",n[n.Pipe=3]="Pipe",n[n.NgModule=4]="NgModule"}(ki||(ki={})),function(n){n[n.Directive=0]="Directive",n[n.Pipe=1]="Pipe",n[n.NgModule=2]="NgModule"}(Qb||(Qb={})),function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(Jb||(Jb={}));const r_=Function;function Fu(n){return"function"==typeof n}function ws(n,t){void 0===t&&(t=n);for(let e=0;eArray.isArray(e)?he(e,t):t(e))}function d(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function f(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function b(n,t){const e=[];for(let s=0;s=0?n[1|s]=e:(s=~s,function H(n,t,e,s){let i=n.length;if(i==t)n.push(e,s);else if(1===i)n.push(s,n[0]),n[0]=e;else{for(i--,n.push(n[i-1],n[i]);i>t;){const r=i-2;n[i]=n[r],i--}n[t]=e,n[t+1]=s}}(n,s,t,e)),s}function cs(n,t){const e=Ws(n,t);if(e>=0)return n[1|e]}function Ws(n,t){return GA(n,t,1)}function GA(n,t,e){let s=0,i=n.length>>e;for(;i!==s;){const r=s+(i-s>>1),o=n[r<t?i=r:s=r+1}return~(i<new t(...e)}_zipTypesAndAnnotations(t,e){let s;s=b(typeof t>"u"?e.length:t.length);for(let i=0;i"u"?s[i]=[]:t[i]&&t[i]!=Object?s[i]=[t[i]]:s[i]=[],e&&null!=e[i]&&(s[i]=s[i].concat(e[i]));return s}_ownParameters(t,e){if(function OU(n){return LU.test(n)||PU.test(n)||AU.test(n)&&!IU.test(n)}(t.toString()))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;const i=t.ctorParameters;if(i&&i!==e.ctorParameters){const a="function"==typeof i?i():i,l=a.map(u=>u&&u.type),c=a.map(u=>u&&uC(u.decorators));return this._zipTypesAndAnnotations(l,c)}const r=t.hasOwnProperty(lc)&&t[lc],o=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return o||r?this._zipTypesAndAnnotations(o,r):b(t.length)}parameters(t){if(!Fu(t))return[];const e=Zb(t);let s=this._ownParameters(t,e);return!s&&e!==Object&&(s=this.parameters(e)),s||[]}_ownAnnotations(t,e){if(t.annotations&&t.annotations!==e.annotations){let s=t.annotations;return"function"==typeof s&&s.annotations&&(s=s.annotations),s}return t.decorators&&t.decorators!==e.decorators?uC(t.decorators):t.hasOwnProperty(ac)?t[ac]:null}annotations(t){if(!Fu(t))return[];const e=Zb(t),s=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(s)}_ownPropMetadata(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){let s=t.propMetadata;return"function"==typeof s&&s.propMetadata&&(s=s.propMetadata),s}if(t.propDecorators&&t.propDecorators!==e.propDecorators){const s=t.propDecorators,i={};return Object.keys(s).forEach(r=>{i[r]=uC(s[r])}),i}return t.hasOwnProperty(cc)?t[cc]:null}propMetadata(t){if(!Fu(t))return{};const e=Zb(t),s={};if(e!==Object){const r=this.propMetadata(e);Object.keys(r).forEach(o=>{s[o]=r[o]})}const i=this._ownPropMetadata(t,e);return i&&Object.keys(i).forEach(r=>{const o=[];s.hasOwnProperty(r)&&o.push(...s[r]),o.push(...i[r]),s[r]=o}),s}ownPropMetadata(t){return Fu(t)&&this._ownPropMetadata(t,Zb(t))||{}}hasLifecycleHook(t,e){return t instanceof r_&&e in t.prototype}}function uC(n){return n?n.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Zb(n){const t=n.prototype?Object.getPrototypeOf(n.prototype):null;return(t?t.constructor:null)||Object}const hc={},dC="__NG_DI_FLAG__",tw="ngTempTokenPath",FU=/\n/gm,KA="__source";let o_;function ew(n){const t=o_;return o_=n,t}function HU(n,t=ge.Default){if(void 0===o_)throw new at(-203,!1);return null===o_?Sg(n,void 0,t):o_.get(n,t&ge.Optional?null:void 0,t)}function rt(n,t=ge.Default){return(function vb(){return Mg}()||HU)(te(n),t)}function QA(n){throw new at(202,!1)}function xa(n,t=ge.Default){return rt(n,t)}function hC(n){const t=[];for(let e=0;e ");else if("object"==typeof t){let r=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];r.push(o+":"+("string"==typeof a?JSON.stringify(a):Jt(a)))}i=`{${r.join(", ")}}`}return`${e}${s?"("+s+")":""}[${i}]: ${n.replace(FU,"\n ")}`}("\n"+n.message,i,e,s),n.ngTokenPath=i,n[tw]=null,n}const Xh=a_(uc("Inject",n=>({token:n})),-1),cr=a_(uc("Optional"),8),Zh=a_(uc("Self"),2),tp=a_(uc("SkipSelf"),4),UU=a_(uc("Host"),1);let JA=null;function l_(){return JA=JA||new RU}function nw(n){return XA(l_().parameters(n))}function XA(n){return n.map(t=>function $U(n){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(n)&&n.length>0)for(let e=0;e{const o=[];i.templateUrl&&o.push(s(i.templateUrl).then(h=>{i.template=h}));const a=i.styleUrls,l=i.styles||(i.styles=[]),c=i.styles.length;a&&a.forEach((h,m)=>{l.push(""),o.push(s(h).then(v=>{l[c+m]=v,a.splice(a.indexOf(h),1),0==a.length&&(i.styleUrls=void 0)}))});const u=Promise.all(o).then(()=>function QU(n){c_.delete(n)}(r));t.push(u)}),function qU(){const n=ep;return ep=new Map,n}(),Promise.all(t).then(()=>{})}let ep=new Map;const c_=new Set;function ZA(n){return!!(n.templateUrl&&!n.hasOwnProperty("template")||n.styleUrls&&n.styleUrls.length)}function KU(n){return"string"==typeof n?n:n.text()}const sw=new Map;let pC,iw,rw,tI=!0;function eI(n,t){(function JU(n,t,e){if(t&&t!==e&&tI)throw new Error(`Duplicate module registered for ${n} - ${Jt(t)} vs ${Jt(t.name)}`)})(t,sw.get(t)||null,n),sw.set(t,n)}function sI(){return void 0!==pC?pC:typeof document<"u"?document:void 0}function fC(){if(void 0===iw&&(iw=null,xe.trustedTypes))try{iw=xe.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return iw}function np(n){var t;return(null===(t=fC())||void 0===t?void 0:t.createHTML(n))||n}function mC(){if(void 0===rw&&(rw=null,xe.trustedTypes))try{rw=xe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return rw}function iI(n){var t;return(null===(t=mC())||void 0===t?void 0:t.createHTML(n))||n}function rI(n){var t;return(null===(t=mC())||void 0===t?void 0:t.createScript(n))||n}function oI(n){var t;return(null===(t=mC())||void 0===t?void 0:t.createScriptURL(n))||n}class Yu{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class e$ extends Yu{getTypeName(){return"HTML"}}class n$ extends Yu{getTypeName(){return"Style"}}class s$ extends Yu{getTypeName(){return"Script"}}class i$ extends Yu{getTypeName(){return"URL"}}class r$ extends Yu{getTypeName(){return"ResourceURL"}}function Vi(n){return n instanceof Yu?n.changingThisBreaksApplicationSecurity:n}function No(n,t){const e=function o$(n){return n instanceof Yu&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}function aI(n){const t=new p$(n);return function f$(){try{return!!(new window.DOMParser).parseFromString(np(""),"text/html")}catch{return!1}}()?new h$(t):t}class h${constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(np(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class p${constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const s=this.inertDocument.createElement("body");e.appendChild(s)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=np(t),e;const s=this.inertDocument.createElement("body");return s.innerHTML=np(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(s),s}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0u_(t.trim())).join(", ")}function Fo(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function d_(...n){const t={};for(const e of n)for(const s in e)e.hasOwnProperty(s)&&(t[s]=!0);return t}const cI=Fo("area,br,col,hr,img,wbr"),uI=Fo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dI=Fo("rp,rt"),_$=d_(dI,uI),y$=d_(uI,Fo("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")),v$=d_(dI,Fo("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")),gC=d_(cI,y$,v$,_$),_C=Fo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yC=Fo("srcset"),b$=Fo("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"),w$=Fo("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"),hI=d_(_C,yC,b$,w$),D$=Fo("script,style,template");class M${constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,s=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?s=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,s&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=this.checkClobberedElement(e,e.nextSibling);if(i){e=i;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!gC.hasOwnProperty(e))return this.sanitizedSomething=!0,!D$.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const s=t.attributes;for(let i=0;i"),!0}endElement(t){const e=t.nodeName.toLowerCase();gC.hasOwnProperty(e)&&!cI.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(pI(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const S$=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,C$=/([^\#-~ |!])/g;function pI(n){return n.replace(/&/g,"&").replace(S$,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(C$,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let ow;function fI(n,t){let e=null;try{ow=ow||aI(n);let s=t?String(t):"";e=ow.getInertBodyElement(s);let i=5,r=s;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,s=r,r=e.innerHTML,e=ow.getInertBodyElement(s)}while(s!==r);return np((new M$).sanitizeChildren(vC(e)||e))}finally{if(e){const s=vC(e)||e;for(;s.firstChild;)s.removeChild(s.firstChild)}}}function vC(n){return"content"in n&&function x$(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Bi;function E$(n){const t=h_();return t?iI(t.sanitize(Bi.HTML,n)||""):No(n,"HTML")?iI(Vi(n)):fI(sI(),ie(n))}function k$(n){const t=h_();return t?t.sanitize(Bi.STYLE,n)||"":No(n,"Style")?Vi(n):ie(n)}function bC(n){const t=h_();return t?t.sanitize(Bi.URL,n)||"":No(n,"URL")?Vi(n):u_(ie(n))}function mI(n){const t=h_();if(t)return oI(t.sanitize(Bi.RESOURCE_URL,n)||"");if(No(n,"ResourceURL"))return oI(Vi(n));throw new at(904,!1)}function T$(n){const t=h_();if(t)return rI(t.sanitize(Bi.SCRIPT,n)||"");if(No(n,"Script"))return rI(Vi(n));throw new at(905,!1)}function L$(n){return np(n[0])}function A$(n){return function t$(n){var t;return(null===(t=fC())||void 0===t?void 0:t.createScriptURL(n))||n}(n[0])}function P$(n,t,e){return function I$(n,t){return"src"===t&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===t&&("base"===n||"link"===n)?mI:bC}(t,e)(n)}function h_(){const n=dt();return n&&n[12]}!function(n){n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL"}(Bi||(Bi={}));const wC="ngOriginalError";function DC(n){return n[wC]}class sp{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&DC(t);for(;e&&DC(e);)e=DC(e);return e||null}}const R$=/^>|^->||--!>|)/;function gI(n){return n.replace(R$,t=>t.replace(N$,"\u200b$1\u200b"))}const MC=new Map;let B$=0;function _I(n){return MC.get(n)||null}const CC="__ngContext__";function qs(n,t){Us(t)?(n[CC]=t[20],function $$(n){MC.set(n[20],n)}(t)):n[CC]=t}function p_(n){const t=n[CC];return"number"==typeof t?_I(t):t||null}function xC(n){const t=p_(n);return t?Us(t)?t:t.lView:null}const Z$=(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(xe);function t8(n){return n.ownerDocument.defaultView}function e8(n){return n.ownerDocument}function n8(n){return n.ownerDocument.body}function Ea(n){return n instanceof Function?n():n}var ka;let EC;function kC(n,t){return EC(n,t)}!function(n){n[n.Important=1]="Important",n[n.DashCase=2]="DashCase"}(ka||(ka={}));function f_(n){const t=n[3];return xi(t)?t[3]:t}function TC(n){return CI(n[13])}function LC(n){return CI(n[4])}function CI(n){for(;null!==n&&!xi(n);)n=n[4];return n}function rp(n,t,e,s,i){if(null!=s){let r,o=!1;xi(s)?r=s:Us(s)&&(o=!0,s=s[0]);const a=$n(s);0===n&&null!==e?null==i?AI(t,e,a):Hu(t,e,a,i||null,!0):1===n&&null!==e?Hu(t,e,a,i||null,!0):2===n?YI(t,a,o):3===n&&t.destroyNode(a),null!=r&&function v8(n,t,e,s,i){const r=e[7],o=$n(e);r!==o&&rp(t,n,s,r,i);for(let a=10;a0&&(e[i-1][4]=t),s0&&(n[e-1][4]=s[4]);const r=f(n,10+t);!function l8(n,t){m_(n,t,t[11],2,null,null),t[0]=null,t[6]=null}(s[1],s);const o=r[19];null!==o&&o.detachView(r[1]),s[3]=null,s[4]=null,s[2]&=-65}return s}function kI(n,t){if(!(128&t[2])){const e=t[11];e.destroyNode&&m_(n,t,e,3,null,null),function d8(n){let t=n[13];if(!t)return OC(n[1],n);for(;t;){let e=null;if(Us(t))e=t[13];else{const s=t[10];s&&(e=s)}if(!e){for(;t&&!t[4]&&t!==n;)Us(t)&&OC(t[1],t),t=t[3];null===t&&(t=n),Us(t)&&OC(t[1],t),e=t&&t[4]}t=e}}(t)}}function OC(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function m8(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let s=0;s=0?s[i=c]():s[i=-c].unsubscribe(),r+=2}else{const o=s[i=e[r+1]];e[r].call(o)}if(null!==s){for(let r=i+1;rr?"":i[h+1].toLowerCase();const v=8&s?m:null;if(v&&-1!==VI(v,c,0)||2&s&&c!==m){if(Gr(s))return!1;o=!0}}}}else{if(!o&&!Gr(s)&&!Gr(l))return!1;if(o&&Gr(l))continue;o=!1,s=l|1&s}}return Gr(s)||o}function Gr(n){return 0==(1&n)}function S8(n,t,e,s){if(null===t)return-1;let i=0;if(s||!e){let r=!1;for(;i-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&s?i+="."+o:4&s&&(i+=" "+o);else""!==i&&!Gr(o)&&(t+=zI(r,i),i=""),s=o,r=r||!Gr(s);e++}return""!==i&&(t+=zI(r,i)),t}const pe={};function WI(n){qI(Ne(),dt(),Os()+n,!1)}function qI(n,t,e,s){if(!s)if(3==(3&t[2])){const r=n.preOrderCheckHooks;null!==r&&zh(t,r,e)}else{const r=n.preOrderHooks;null!==r&&ic(t,r,0,e)}Oo(e)}const GI={\u0275\u0275defineInjectable:vt,\u0275\u0275defineInjector:hn,\u0275\u0275inject:rt,\u0275\u0275invalidFactoryDep:QA,resolveForwardRef:te};function I8(n,t){let e=null,s=null;n.hasOwnProperty(Th)||Object.defineProperty(n,Th,{get:()=>(null===e&&(e=Xn().compileInjectable(GI,`ng:///${n.name}/\u0275prov.js`,function N8(n,t){const e=t||{providedIn:null},s={name:n.name,type:n,typeArgumentCount:0,providedIn:e.providedIn};return(KI(e)||QI(e))&&void 0!==e.deps&&(s.deps=XA(e.deps)),KI(e)?s.useClass=e.useClass:function O8(n){return P8 in n}(e)?s.useValue=e.useValue:QI(e)?s.useFactory=e.useFactory:function R8(n){return void 0!==n.useExisting}(e)&&(s.useExisting=e.useExisting),s}(n,t))),e)}),n.hasOwnProperty(Hi)||Object.defineProperty(n,Hi,{get:()=>{if(null===s){const i=Xn();s=i.compileFactory(GI,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,typeArgumentCount:0,deps:nw(n),target:i.FactoryTarget.Injectable})}return s},configurable:!0})}const P8=en({provide:String,useValue:en});function KI(n){return void 0!==n.useClass}function QI(n){return void 0!==n.useFactory}const rs=Ru("Injectable",void 0,void 0,void 0,(n,t)=>I8(n,t)),HC=new At("ENVIRONMENT_INITIALIZER"),JI=new At("INJECTOR_DEF_TYPES");function F8(...n){return{\u0275providers:XI(!0,n)}}function XI(n,...t){const e=[],s=new Set;let i;return he(t,r=>{const o=r;jC(o,e,[],s)&&(i||(i=[]),i.push(o))}),void 0!==i&&ZI(i,e),e}function ZI(n,t){for(let e=0;e{t.push(r)})}}function jC(n,t,e,s){if(!(n=te(n)))return!1;let i=null,r=yb(n);const o=!r&&pn(n);if(r||o){if(o&&!o.standalone)return!1;i=n}else{const l=n.ngModule;if(r=yb(l),!r)return!1;i=l}const a=s.has(i);if(o){if(a)return!1;if(s.add(i),o.dependencies){const l="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const c of l)jC(c,t,e,s)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let c;s.add(i);try{he(r.imports,u=>{jC(u,t,e,s)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&ZI(c,t)}if(!a){const c=ba(i)||(()=>new i);t.push({provide:i,useFactory:c,deps:Ge},{provide:JI,useValue:i,multi:!0},{provide:HC,useValue:()=>rt(i),multi:!0})}const l=r.providers;if(null!=l&&!a){he(l,u=>{t.push(u)})}}}return i!==n&&void 0!==n.providers}const Y8=en({provide:String,useValue:en});function VC(n){return null!==n&&"object"==typeof n&&Y8 in n}function tP(n){return!(!n||!n.useExisting)}function eP(n){return!(!n||!n.useFactory)}function ju(n){return"function"==typeof n}const BC=new At("INJECTOR",-1);class nP{get(t,e=hc){if(e===hc){const s=new Error(`NullInjectorError: No provider for ${Jt(t)}!`);throw s.name="NullInjectorError",s}return e}}const UC=new At("Set Injector scope."),uw={},j8={};let $C;function zC(){return void 0===$C&&($C=new nP),$C}class Vu{}class sP extends Vu{constructor(t,e,s,i){super(),this.parent=e,this.source=s,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,qC(t,o=>this.processProvider(o)),this.records.set(BC,op(void 0,this)),i.has("environment")&&this.records.set(Vu,op(void 0,this));const r=this.records.get(UC);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(JI.multi,Ge,ge.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}get(t,e=hc,s=ge.Default){this.assertNotDestroyed();const i=ew(this),r=js(void 0);try{if(!(s&ge.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function z8(n){return"function"==typeof n||"object"==typeof n&&n instanceof At}(t)&&wg(t);a=l&&this.injectableDefInScope(l)?op(WC(t),uw):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}const o=s&ge.Self?zC():this.parent;return e=s&ge.Optional&&e===hc?null:e,o.get(t,e)}catch(o){if("NullInjectorError"===o.name){if((o[tw]=o[tw]||[]).unshift(Jt(t)),i)throw o;return VU(o,t,"R3InjectorError",this.source)}throw o}finally{js(r),ew(i)}}resolveInjectorInitializers(){const t=ew(this),e=js(void 0);try{const s=this.get(HC.multi,Ge,ge.Self);for(const i of s)i()}finally{ew(t),js(e)}}toString(){const t=[],e=this.records;for(const s of e.keys())t.push(Jt(s));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new at(205,!1)}processProvider(t){let e=ju(t=te(t))?t:te(t&&t.provide);const s=function B8(n){if(VC(n))return op(void 0,n.useValue);return op(iP(n),uw)}(t);if(ju(t)||!0!==t.multi){this.records.get(e)}else{let i=this.records.get(e);i||(i=op(void 0,uw,!0),i.factory=()=>hC(i.multi),this.records.set(e,i)),e=t,i.multi.push(t)}this.records.set(e,s)}hydrate(t,e){return e.value===uw&&(e.value=j8,e.value=e.factory()),"object"==typeof e.value&&e.value&&function $8(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=te(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function WC(n){const t=wg(n),e=null!==t?t.factory:ba(n);if(null!==e)return e;if(n instanceof At)throw new at(204,!1);if(n instanceof Function)return function V8(n){const t=n.length;if(t>0){b(t,"?");throw new at(204,!1)}const e=function fS(n){const t=n&&(n[Th]||n[Dg]);if(t){const e=function mS(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new at(204,!1)}function iP(n,t,e){let s;if(ju(n)){const i=te(n);return ba(i)||WC(i)}if(VC(n))s=()=>te(n.useValue);else if(eP(n))s=()=>n.useFactory(...hC(n.deps||[]));else if(tP(n))s=()=>rt(te(n.useExisting));else{const i=te(n&&(n.useClass||n.provide));if(!function U8(n){return!!n.deps}(n))return ba(i)||WC(i);s=()=>new i(...hC(n.deps))}return s}function op(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function W8(n){return!!n.\u0275providers}function qC(n,t){for(const e of n)Array.isArray(e)?qC(e,t):W8(e)?qC(e.\u0275providers,t):t(e)}function rP(n,t=null,e=null,s){const i=oP(n,t,e,s);return i.resolveInjectorInitializers(),i}function oP(n,t=null,e=null,s,i=new Set){const r=[e||Ge,F8(n)];return s=s||("object"==typeof n?void 0:Jt(n)),new sP(r,t||zC(),s||null,i)}class Fn{static create(t,e){if(Array.isArray(t))return rP({name:""},e,t,"");{var s;const i=null!==(s=t.name)&&void 0!==s?s:"";return rP({name:i},t.parent,t.providers,i)}}}function GC(n){if(n.length>1){return" ("+function q8(n){const t=[];for(let e=0;e-1)return t.push(n[e]),t;t.push(n[e])}return t}(n.slice().reverse()).map(s=>Jt(s.token)).join(" -> ")+")"}return""}function KC(n,t,e,s){const i=[t],r=e(i),o=s?function O$(n,t){const e=`${n} caused by: ${t instanceof Error?t.message:t}`,s=Error(e);return s[wC]=t,s}(r,s):Error(r);return o.addKey=G8,o.keys=i,o.injectors=[n],o.constructResolvingMessage=e,o[wC]=s,o}function G8(n,t){this.injectors.push(n),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function aP(n,t){const e=[];for(let s=0,i=t.length;srt(BC)}),Fn.__NG_ELEMENT_ID__=-1;class pc{constructor(t,e){if(this.token=t,this.id=e,!t)throw new at(208,!1);this.displayName=Jt(this.token)}static get(t){return lP.get(te(t))}static get numberOfKeys(){return lP.numberOfKeys}}const lP=new class ez{constructor(){this._allKeys=new Map}get(t){if(t instanceof pc)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const e=new pc(t,pc.numberOfKeys);return this._allKeys.set(t,e),e}get numberOfKeys(){return this._allKeys.size}};class dw{constructor(t,e,s){this.key=t,this.optional=e,this.visibility=s}static fromKey(t){return new dw(t,!1,null)}}const nz=[];class cP{constructor(t,e,s){this.key=t,this.resolvedFactories=e,this.multiProvider=s,this.resolvedFactory=this.resolvedFactories[0]}}class sz{constructor(t,e){this.factory=t,this.dependencies=e}}function iz(n){let t,e;if(n.useClass){const s=te(n.useClass);t=l_().factory(s),e=dP(s)}else n.useExisting?(t=s=>s,e=[dw.fromKey(pc.get(n.useExisting))]):n.useFactory?(t=n.useFactory,e=function lz(n,t){if(t){const e=t.map(s=>[s]);return t.map(s=>hP(n,s,e))}return dP(n)}(n.useFactory,n.deps)):(t=()=>n.useValue,e=nz);return new sz(t,e)}function rz(n){return new cP(pc.get(n.provide),[iz(n)],n.multi||!1)}function oz(n){const s=function az(n,t){for(let e=0;e{if(e instanceof r_)t.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)t.push(e);else{if(!Array.isArray(e))throw function X8(n){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${n}`)}(e);uP(e,t)}}),t}function dP(n){const t=l_().parameters(n);if(!t)return[];if(t.some(e=>null==e))throw aP(n,t);return t.map(e=>hP(n,e,t))}function hP(n,t,e){let s=null,i=!1;if(!Array.isArray(t))return QC(t instanceof Xh?t.token:t,i,null);let r=null;for(let o=0;o=this._providers.length)throw function Z8(n){return Error(`Index ${n} is out-of-bounds.`)}(t);return this._providers[t]}_new(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function Q8(n,t){return KC(n,t,function(e){return`Cannot instantiate cyclic dependency!${GC(e)}`})}(this,t.key);return this._instantiateProvider(t)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(t){if(t.multiProvider){const e=[];for(let s=0;sthis._getByReflectiveDependency(o))}catch(o){throw o.addKey&&o.addKey(this,t.key),o}try{r=s(...i)}catch(o){throw function J8(n,t,e,s){return KC(n,s,function(i){const r=Jt(i[0].token);return`${t.message}: Error during instantiation of ${r}!${GC(i)}.`},t)}(this,o,o.stack,t.key)}return r}_getByReflectiveDependency(t){return this._getByKey(t.key,t.visibility,t.optional?null:hc)}_getByKey(t,e,s){return t===ap.INJECTOR_KEY?this:e instanceof Zh?this._getByKeySelf(t,s):this._getByKeyDefault(t,s,e)}_getObjByKeyId(t){for(let e=0;e' "'+e.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}function Q(n,t=ge.Default){const e=dt();if(null===e)return rt(n,t);return n_(Jn(),e,te(n),t)}function JC(){throw new Error("invalid")}ap.INJECTOR_KEY=pc.get(Fn);function hw(n,t){return n<<17|t<<2}function Kr(n){return n>>17&32767}function _P(n){return 2==(2&n)}function ex(n){return 2|n}function Ta(n){return(131068&n)>>2}function nx(n,t){return-131069&n|t<<2}function yP(n){return 1==(1&n)}function sx(n){return 1|n}const dx=Promise.resolve(null);function xP(n,t){const e=n.contentQueries;if(null!==e)for(let s=0;s22&&qI(n,t,22,!1),$s(o?2:0,i),e(s,i)}finally{Oo(r),$s(o?3:1,i)}}function kP(n,t,e){if(Lg(t)){const s=t.directiveStart,i=t.directiveEnd;for(let r=s;r0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(s,i,o)}}function PP(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function OP(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function jz(n,t,e){if(e){if(t.exportAs)for(let s=0;s0&&yx(e)}}function yx(n){for(let s=TC(n);null!==s;s=LC(s))for(let i=10;i0&&yx(r)}const e=n[1].components;if(null!==e)for(let s=0;s0&&yx(i)}}function qz(n,t){const e=An(t,n),s=e[1];(function Gz(n,t){for(let e=t.length;e=0;s--){const i=n[s];i.hostVars=t+=i.hostVars,i.hostAttrs=qh(i.hostAttrs,e=qh(e,i.hostAttrs))}}(s)}function Dx(n){return n===ec?{}:n===Ge?[]:n}function nW(n,t){const e=n.viewQuery;n.viewQuery=e?(s,i)=>{t(s,i),e(s,i)}:t}function sW(n,t){const e=n.contentQueries;n.contentQueries=e?(s,i,r)=>{t(s,i,r),e(s,i,r)}:t}function iW(n,t){const e=n.hostBindings;n.hostBindings=e?(s,i)=>{t(s,i),e(s,i)}:t}const rW=["providersResolver"],oW=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function aW(n){let e,t=zP(n.type);e=ji(n)?t.\u0275cmp:t.\u0275dir;const s=n;for(const i of rW)s[i]=e[i];if(ji(e))for(const i of oW)s[i]=e[i]}let vw=null;function Bu(){if(!vw){const n=xe.Symbol;if(n&&n.iterator)vw=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea($n(q[s.index])):s.index;let V=null;if(!a&&l&&(V=function bW(n,t,e,s){const i=n.cleanup;if(null!=i)for(let r=0;rl?a[l]:null}"string"==typeof o&&(r+=2)}return null}(n,t,i,s.index)),null!==V){(V.__ngLastListenerFn__||V).__ngNextListenerFn__=r,V.__ngLastListenerFn__=r,v=!1}else{r=a2(s,t,h,r,!1);const q=e.listen(P,i,r);m.push(r,q),u&&u.push(i,N,F,F+1)}}else r=a2(s,t,h,r,!1);const D=s.outputs;let C;if(v&&null!==D&&(C=D[i])){const k=C.length;if(k)for(let P=0;P0)&&(c=!0)}else u=e;if(i)if(0!==l){const m=Kr(n[a+1]);n[s+1]=hw(m,a),0!==m&&(n[m+1]=nx(n[m+1],s)),n[a+1]=function pz(n,t){return 131071&n|t<<17}(n[a+1],s)}else n[s+1]=hw(a,0),0!==a&&(n[a+1]=nx(n[a+1],s)),a=s;else n[s+1]=hw(l,0),0===a?a=s:n[l+1]=nx(n[l+1],s),l=s;c&&(n[s+1]=ex(n[s+1])),v2(n,u,s,!0,r),v2(n,u,s,!1,r),function SW(n,t,e,s,i){const r=i?n.residualClasses:n.residualStyles;null!=r&&"string"==typeof t&&Ws(r,t)>=0&&(e[s+1]=sx(e[s+1]))}(t,u,n,s,r),o=hw(a,l),r?t.classBindings=o:t.styleBindings=o}function v2(n,t,e,s,i){const r=n[e+1],o=null===t;let a=s?Kr(r):Ta(r),l=!1;for(;0!==a&&(!1===l||o);){const c=n[a],u=n[a+1];CW(c,t)&&(l=!0,n[a+1]=s?sx(u):ex(u)),a=s?Kr(u):Ta(u)}l&&(n[e+1]=s?ex(r):sx(r))}function CW(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&Ws(n,t)>=0}const us={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function b2(n){return n.substring(us.key,us.keyEnd)}function xW(n){return n.substring(us.value,us.valueEnd)}function w2(n,t){const e=us.textEnd;return e===t?-1:(t=us.keyEnd=function TW(n,t,e){for(;t32;)t++;return t}(n,us.key=t,e),vp(n,t,e))}function D2(n,t){const e=us.textEnd;let s=us.key=vp(n,t,e);return e===s?-1:(s=us.keyEnd=function LW(n,t,e){let s;for(;t=65&&(-33&s)<=90||s>=48&&s<=57);)t++;return t}(n,s,e),s=S2(n,s,e,58),s=us.value=vp(n,s,e),s=us.valueEnd=function AW(n,t,e){let s=-1,i=-1,r=-1,o=t,a=o;for(;o32&&(a=o),r=i,i=s,s=-33&l}return a}(n,s,e),S2(n,s,e,59))}function M2(n){us.key=0,us.keyEnd=0,us.value=0,us.valueEnd=0,us.textEnd=n.length}function vp(n,t,e){for(;t=0;e=D2(t,e))k2(n,b2(t),xW(t))}function PW(n){Jr(ye,Vo,n,!0)}function Vo(n,t){for(let e=function EW(n){return M2(n),w2(n,vp(n,0,us.textEnd))}(t);e>=0;e=w2(t,e))ye(n,b2(t),!0)}function Qr(n,t,e,s){const i=dt(),r=Ne(),o=or(2);if(r.firstUpdatePass&&E2(r,n,o,s),t!==pe&&Gs(i,o,t)){T2(r,r.data[Os()],i,i[11],n,i[o+1]=function jW(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=Jt(Vi(n)))),n}(t,e),s,o)}}function Jr(n,t,e,s){const i=Ne(),r=or(2);i.firstUpdatePass&&E2(i,null,r,s);const o=dt();if(e!==pe&&Gs(o,r,e)){const a=i.data[Os()];if(A2(a,s)&&!x2(i,r)){let l=s?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=xh(l,e||"")),Sx(i,a,o,e,s)}else!function HW(n,t,e,s,i,r,o,a){i===pe&&(i=Ge);let l=0,c=0,u=0=n.expandoStartIndex}function E2(n,t,e,s){const i=n.data;if(null===i[e+1]){const r=i[Os()],o=x2(n,e);A2(r,s)&&null===t&&!o&&(t=!1),t=function OW(n,t,e,s){const i=Uh(n);let r=s?t.residualClasses:t.residualStyles;if(null===i)0===(s?t.classBindings:t.styleBindings)&&(e=D_(e=Lx(null,n,t,e,s),t.attrs,s),r=null);else{const o=t.directiveStylingLast;if(-1===o||n[o]!==i)if(e=Lx(i,n,t,e,s),null===r){let l=function RW(n,t,e){const s=e?t.classBindings:t.styleBindings;if(0!==Ta(s))return n[Kr(s)]}(n,t,s);void 0!==l&&Array.isArray(l)&&(l=Lx(null,n,t,l[1],s),l=D_(l,t.attrs,s),function NW(n,t,e,s){const i=e?t.classBindings:t.styleBindings;n[Kr(i)]=s}(n,t,s,l))}else r=function FW(n,t,e){let s;const i=t.directiveEnd;for(let r=1+t.directiveStylingLast;r0;){const l=n[i],c=Array.isArray(l),u=c?l[1]:l,h=null===u;let m=e[i+1];m===pe&&(m=h?Ge:void 0);let v=h?cs(m,s):u===s?m:void 0;if(c&&!Sw(v)&&(v=cs(l,s)),Sw(v)&&(a=v,o))return a;const D=n[i+1];i=o?Kr(D):Ta(D)}if(null!==t){let l=r?t.residualClasses:t.residualStyles;null!=l&&(a=cs(l,s))}return a}function Sw(n){return void 0!==n}function A2(n,t){return 0!=(n.flags&(t?16:32))}function VW(n,t=""){const e=dt(),s=Ne(),i=n+22,r=s.firstCreatePass?lp(s,i,1,t,null):s.data[i],o=e[i]=AC(e[11],t);lw(s,e,o,r),di(r,!1)}function I2(n){return Ax("",n,""),I2}function Ax(n,t,e){const s=dt(),i=dp(s,n,t,e);return i!==pe&&La(s,Os(),i),Ax}function P2(n,t,e,s,i){const r=dt(),o=hp(r,n,t,e,s,i);return o!==pe&&La(r,Os(),o),P2}function O2(n,t,e,s,i,r,o){const a=dt(),l=pp(a,n,t,e,s,i,r,o);return l!==pe&&La(a,Os(),l),O2}function R2(n,t,e,s,i,r,o,a,l){const c=dt(),u=fp(c,n,t,e,s,i,r,o,a,l);return u!==pe&&La(c,Os(),u),R2}function N2(n,t,e,s,i,r,o,a,l,c,u){const h=dt(),m=mp(h,n,t,e,s,i,r,o,a,l,c,u);return m!==pe&&La(h,Os(),m),N2}function F2(n,t,e,s,i,r,o,a,l,c,u,h,m){const v=dt(),D=gp(v,n,t,e,s,i,r,o,a,l,c,u,h,m);return D!==pe&&La(v,Os(),D),F2}function Y2(n,t,e,s,i,r,o,a,l,c,u,h,m,v,D){const C=dt(),k=_p(C,n,t,e,s,i,r,o,a,l,c,u,h,m,v,D);return k!==pe&&La(C,Os(),k),Y2}function H2(n,t,e,s,i,r,o,a,l,c,u,h,m,v,D,C,k){const P=dt(),F=yp(P,n,t,e,s,i,r,o,a,l,c,u,h,m,v,D,C,k);return F!==pe&&La(P,Os(),F),H2}function j2(n){const t=dt(),e=up(t,n);return e!==pe&&La(t,Os(),e),j2}function BW(n,t,e){Jr(ye,Vo,dp(dt(),n,t,e),!0)}function UW(n,t,e,s,i){Jr(ye,Vo,hp(dt(),n,t,e,s,i),!0)}function $W(n,t,e,s,i,r,o){Jr(ye,Vo,pp(dt(),n,t,e,s,i,r,o),!0)}function zW(n,t,e,s,i,r,o,a,l){Jr(ye,Vo,fp(dt(),n,t,e,s,i,r,o,a,l),!0)}function WW(n,t,e,s,i,r,o,a,l,c,u){Jr(ye,Vo,mp(dt(),n,t,e,s,i,r,o,a,l,c,u),!0)}function qW(n,t,e,s,i,r,o,a,l,c,u,h,m){Jr(ye,Vo,gp(dt(),n,t,e,s,i,r,o,a,l,c,u,h,m),!0)}function GW(n,t,e,s,i,r,o,a,l,c,u,h,m,v,D){Jr(ye,Vo,_p(dt(),n,t,e,s,i,r,o,a,l,c,u,h,m,v,D),!0)}function KW(n,t,e,s,i,r,o,a,l,c,u,h,m,v,D,C,k){Jr(ye,Vo,yp(dt(),n,t,e,s,i,r,o,a,l,c,u,h,m,v,D,C,k),!0)}function QW(n){Jr(ye,Vo,up(dt(),n),!0)}function JW(n,t,e){jo(dp(dt(),n,t,e))}function XW(n,t,e,s,i){jo(hp(dt(),n,t,e,s,i))}function ZW(n,t,e,s,i,r,o){jo(pp(dt(),n,t,e,s,i,r,o))}function t6(n,t,e,s,i,r,o,a,l){jo(fp(dt(),n,t,e,s,i,r,o,a,l))}function e6(n,t,e,s,i,r,o,a,l,c,u){jo(mp(dt(),n,t,e,s,i,r,o,a,l,c,u))}function n6(n,t,e,s,i,r,o,a,l,c,u,h,m){jo(gp(dt(),n,t,e,s,i,r,o,a,l,c,u,h,m))}function s6(n,t,e,s,i,r,o,a,l,c,u,h,m,v,D){jo(_p(dt(),n,t,e,s,i,r,o,a,l,c,u,h,m,v,D))}function i6(n,t,e,s,i,r,o,a,l,c,u,h,m,v,D,C,k){jo(yp(dt(),n,t,e,s,i,r,o,a,l,c,u,h,m,v,D,C,k))}function r6(n){jo(up(dt(),n))}function V2(n,t,e,s,i){return Qr(n,dp(dt(),t,e,s),i,!1),V2}function B2(n,t,e,s,i,r,o){return Qr(n,hp(dt(),t,e,s,i,r),o,!1),B2}function U2(n,t,e,s,i,r,o,a,l){return Qr(n,pp(dt(),t,e,s,i,r,o,a),l,!1),U2}function $2(n,t,e,s,i,r,o,a,l,c,u){return Qr(n,fp(dt(),t,e,s,i,r,o,a,l,c),u,!1),$2}function z2(n,t,e,s,i,r,o,a,l,c,u,h,m){return Qr(n,mp(dt(),t,e,s,i,r,o,a,l,c,u,h),m,!1),z2}function W2(n,t,e,s,i,r,o,a,l,c,u,h,m,v,D){return Qr(n,gp(dt(),t,e,s,i,r,o,a,l,c,u,h,m,v),D,!1),W2}function q2(n,t,e,s,i,r,o,a,l,c,u,h,m,v,D,C,k){return Qr(n,_p(dt(),t,e,s,i,r,o,a,l,c,u,h,m,v,D,C),k,!1),q2}function G2(n,t,e,s,i,r,o,a,l,c,u,h,m,v,D,C,k,P,F){return Qr(n,yp(dt(),t,e,s,i,r,o,a,l,c,u,h,m,v,D,C,k,P),F,!1),G2}function K2(n,t,e){return Qr(n,up(dt(),t),e,!1),K2}function Q2(n,t,e){const s=dt();if(Gs(s,wa(),t)){Ui(Ne(),Nn(),s,n,t,s[11],e,!0)}return Q2}function J2(n,t,e){const s=dt();if(Gs(s,wa(),t)){const r=Ne(),o=Nn();Ui(r,o,s,n,t,BP(Uh(r.data),o,s),e,!0)}return J2}const zu=void 0;var a6=["en",[["a","p"],["AM","PM"],zu],[["AM","PM"],zu,zu],[["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"]],zu,[["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"]],zu,[["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}",zu,"{1} 'at' {0}",zu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function o6(n){const e=Math.floor(Math.abs(n)),s=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===s?1:5}];let bp={};function fi(n){const t=function l6(n){return n.toLowerCase().replace(/_/g,"-")}(n);let e=Z2(t);if(e)return e;const s=t.split("-")[0];if(e=Z2(s),e)return e;if("en"===s)return a6;throw new at(701,!1)}function X2(n){return fi(n)[gn.PluralCase]}function Z2(n){return n in bp||(bp[n]=xe.ng&&xe.ng.common&&xe.ng.common.locales&&xe.ng.common.locales[n]),bp[n]}var gn;!function(n){n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencyCode=15]="CurrencyCode",n[n.CurrencySymbol=16]="CurrencySymbol",n[n.CurrencyName=17]="CurrencyName",n[n.Currencies=18]="Currencies",n[n.Directionality=19]="Directionality",n[n.PluralCase=20]="PluralCase",n[n.ExtraData=21]="ExtraData"}(gn||(gn={}));const c6=["zero","one","two","few","many"];const wp="en-US",Cw={marker:"element"},xw={marker:"ICU"};var mi;!function(n){n[n.SHIFT=2]="SHIFT",n[n.APPEND_EAGERLY=1]="APPEND_EAGERLY",n[n.COMMENT=2]="COMMENT"}(mi||(mi={}));let tO=wp;function eO(n){ci(n,"Expected localeId to be defined"),"string"==typeof n&&(tO=n.toLowerCase().replace(/_/g,"-"))}function nO(n,t,e){const s=t.insertBeforeIndex,i=Array.isArray(s)?s[0]:s;return null===i?OI(n,0,e):$n(e[i])}function sO(n,t,e,s,i){const r=t.insertBeforeIndex;if(Array.isArray(r)){let o=s,a=null;if(3&t.type||(a=o,o=i),null!==o&&0==(2&t.flags))for(let l=1;l1)for(let e=n.length-2;e>=0;e--){const s=n[e];rO(s)||p6(s,t)&&null===f6(s)&&m6(s,t.index)}}function rO(n){return!(64&n.type)}function p6(n,t){return rO(t)||n.index>t.index}function f6(n){const t=n.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function m6(n,t){const e=n.insertBeforeIndex;Array.isArray(e)?e[0]=t:(NI(nO,sO),n.insertBeforeIndex=t)}function M_(n,t){const e=n.data[t];return null===e||"string"==typeof e?null:e.hasOwnProperty("currentCaseLViewIndex")?e:e.value}function y6(n,t,e){const s=hx(n,e,64,null,null);return iO(t,s),s}function Ew(n,t){const e=t[n.currentCaseLViewIndex];return null===e?e:e<0?~e:e}function oO(n){return n>>>17}function aO(n){return(131070&n)>>>1}let S_=0,C_=0;function cO(n,t,e,s){const i=e[11];let o,r=null;for(let a=0;a>>1,v=t[++a],D=t[++a];_x(i,Yh(m,e),null,null,v,D,null)}else switch(l){case xw:const c=t[++a],u=t[++a];if(null===e[u]){qs(e[u]=a8(i,c),e)}break;case Cw:const h=t[++a],m=t[++a];if(null===e[m]){qs(e[m]=IC(i,h,null),e)}}}}function uO(n,t,e,s,i){for(let r=0;r>>2;switch(3&u){case 1:const m=e[++c],v=e[++c],D=n.data[h];"string"==typeof D?_x(t[11],t[h],null,D,m,l,v):Ui(n,D,t,m,l,t[11],v,!1);break;case 0:const C=t[h];null!==C&&xI(t[11],C,l);break;case 2:M6(n,M_(n,h),t,l);break;case 3:dO(n,M_(n,h),s,t)}}}}else{const l=e[r+1];if(l>0&&3==(3&l)){const u=M_(n,l>>>2);t[u.currentCaseLViewIndex]<0&&dO(n,u,s,t)}}r+=a}}function dO(n,t,e,s){let i=s[t.currentCaseLViewIndex];if(null!==i){let r=S_;i<0&&(i=s[t.currentCaseLViewIndex]=~i,r=-1),uO(n,s,t.update[i],e,r)}}function M6(n,t,e,s){const i=function S6(n,t){let e=n.cases.indexOf(t);if(-1===e)switch(n.type){case 1:{const s=function u6(n,t){const e=X2(t)(parseInt(n,10)),s=c6[e];return void 0!==s?s:"other"}(t,function h6(){return tO}());e=n.cases.indexOf(s),-1===e&&"other"!==s&&(e=n.cases.indexOf("other"));break}case 0:e=n.cases.indexOf("other")}return-1===e?null:e}(t,s);if(Ew(t,e)!==i&&(hO(n,t,e),e[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const o=e[t.anchorIdx];o&&cO(n,t.create[i],e,o)}}function hO(n,t,e){let s=Ew(t,e);if(null!==s){const i=t.remove[s];for(let r=0;r0){const a=Yh(o,e);null!==a&&YI(e[11],a)}else hO(n,M_(n,~o),e)}}}function C6(){const n=[];let e,s,t=-1;function r(a,l){t=0;const c=Ew(a,l);s=null!==c?a.remove[c]:Ge}function o(){if(t0)return e[a];{n.push(t,s);const l=~a;return r(e[1].data[l],e),o()}}return 0===n.length?null:(s=n.pop(),t=n.pop(),o())}return function i(a,l){for(e=l;n.length;)n.pop();return r(a.value,l),o}}const kw=/\ufffd(\d+):?\d*\ufffd/gi,x6=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,E6=/\ufffd(\d+)\ufffd/,fO=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,k6=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,T6=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,L6=/\uE500/g;function I6(n,t,e,s,i,r){const o=Lu(),a=[],l=[],c=[[]];i=function F6(n,t){if(function N6(n){return-1===n}(t))return _O(n);{const e=n.indexOf(`:${t}\ufffd`)+2+t.toString().length,s=n.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return _O(n.substring(e,s))}}(i,r);const u=function A6(n){return n.replace(L6," ")}(i).split(T6);for(let h=0;he.length&&e.push(l)}return{type:s,mainBinding:i,cases:t,values:e}}function Ix(n){if(!n)return[];let t=0;const e=[],s=[],i=/[{}]/g;let r;for(i.lastIndex=0;r=i.exec(n);){const a=r.index;if("}"==r[0]){if(e.pop(),0==e.length){const l=n.substring(t,a);fO.test(l)?s.push(Y6(l)):s.push(l),t=a+1}}else{if(0==e.length){const l=n.substring(t,a);s.push(l),t=a+1}e.push("{")}}const o=n.substring(t);return s.push(o),s}function H6(n,t,e,s,i,r,o,a){const l=[],c=[],u=[];t.cases.push(r),t.create.push(l),t.remove.push(c),t.update.push(u);const m=aI(sI()).getInertBodyElement(o),v=vC(m)||m;return v?vO(n,t,e,s,l,c,u,v,i,a,0):0}function vO(n,t,e,s,i,r,o,a,l,c,u){let h=0,m=a.firstChild;for(;m;){const v=cp(n,e,1,null);switch(m.nodeType){case Node.ELEMENT_NODE:const D=m,C=D.tagName.toLowerCase();if(gC.hasOwnProperty(C)){Px(i,Cw,C,l,v),n.data[v]=C;const N=D.attributes;for(let V=0;V>>mi.SHIFT;let h=n[u];null===h&&(h=n[u]=l?i.createComment(a):AC(i,a)),c&&null!==e&&Hu(i,e,h,s,!1)}})(i,l.create,u,h),Da(!0)}function MO(){Da(!1)}function X6(n,t,e){DO(n,t,e),MO()}function Z6(n,t){const e=Ne();!function O6(n,t,e){const i=Jn().index,r=[];if(n.firstCreatePass&&null===n.data[t]){for(let o=0;o0){const s=n.data[e];uO(n,t,Array.isArray(s)?s:s.update,zr()-C_-1,S_)}S_=0,C_=0}(Ne(),dt(),n+22)}function e9(n,t={}){return function J6(n,t={}){let e=n;if($6.test(n)){const s={},i=[0];e=e.replace(z6,(r,o,a)=>{const l=o||a,c=s[l]||[];if(c.length||(l.split("|").forEach(C=>{const k=C.match(Q6),P=k?parseInt(k[1],10):0,F=K6.test(C);c.push([P,F,C])}),s[l]=c),!c.length)throw new Error(`i18n postprocess: unmatched placeholder - ${l}`);const u=i[i.length-1];let h=0;for(let C=0;Ct.hasOwnProperty(r)?`${i}${t[r]}${l}`:s),e=e.replace(q6,(s,i)=>t.hasOwnProperty(i)?t[i]:s),e=e.replace(G6,(s,i)=>{if(t.hasOwnProperty(i)){const r=t[i];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${s} with key: ${i}`);return r.shift()}return s})),e}(n,t)}function Ox(n,t,e,s,i){if(n=te(n),Array.isArray(n))for(let r=0;r>20;if(ju(n)||!n.multi){const v=new Ro(l,i,Q),D=Nx(a,t,i?u:u+m,h);-1===D?(Kh(Sa(c,o),r,a),Rx(r,n,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),e.push(v),o.push(v)):(e[D]=v,o[D]=v)}else{const v=Nx(a,t,u+m,h),D=Nx(a,t,u,u+m),C=v>=0&&e[v],k=D>=0&&e[D];if(i&&!k||!i&&!C){Kh(Sa(c,o),r,a);const P=function r9(n,t,e,s,i){const r=new Ro(n,e,Q);return r.multi=[],r.index=t,r.componentProviders=0,CO(r,i,s&&!e),r}(i?i9:s9,e.length,i,s,l);!i&&k&&(e[D].providerFactory=P),Rx(r,n,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),e.push(P),o.push(P)}else{Rx(r,n,v>-1?v:D,CO(e[i?D:v],l,!i&&s))}!i&&s&&k&&e[D].componentProviders++}}}function Rx(n,t,e,s){const i=ju(t),r=function H8(n){return!!n.useClass}(t);if(i||r){const l=(r?te(t.useClass):t).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!i&&t.multi){const u=c.indexOf(e);-1===u?c.push(e,[s,l]):c[u+1].push(s,l)}else c.push(e,l)}}}function CO(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Nx(n,t,e,s){for(let i=e;i{e.providersResolver=(s,i)=>function n9(n,t,e){const s=Ne();if(s.firstCreatePass){const i=ji(n);Ox(e,s.data,s.blueprint,i,!0),Ox(t,s.data,s.blueprint,i,!1)}}(s,i?i(n):n,t)}}const xO="ngComponent";class a9{resolveComponentFactory(t){throw function o9(n){const t=Error(`No component factory found for ${Jt(n)}. Did you add it to @NgModule.entryComponents?`);return t[xO]=n,t}(t)}}class Mp{}Mp.NULL=new a9;class gc{}class EO{}class kO{}function Sp(n,t){return new Fe(Ei(n,t))}class Fe{constructor(t){this.nativeElement=t}}function u9(n){return n instanceof Fe?n.nativeElement:n}Fe.__NG_ELEMENT_ID__=function c9(){return Sp(Jn(),dt())};new At("Renderer2Interceptor");class E_{}class Ks{}Ks.__NG_ELEMENT_ID__=()=>function d9(){const n=dt(),e=An(Jn().index,n);return(Us(e)?e:n)[11]}();class Yx{}Yx.\u0275prov=vt({token:Yx,providedIn:"root",factory:()=>null});class Cp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const h9=new Cp("14.0.6"),Hx={};function Tw(n,t,e,s,i=!1){for(;null!==e;){const r=t[e.index];if(null!==r&&s.push($n(r)),xi(r))for(let a=10;a-1&&(PC(t,s),f(e,s))}this._attachedToViewContainer=!1}kI(this._lView[1],this._lView)}onDestroy(t){LP(this._lView[1],this._lView,null,t)}markForCheck(){vx(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){bx(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new at(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function u8(n,t){m_(n,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new at(902,!1);this._appRef=t}}class p9 extends k_{constructor(t){super(t),this._view=t}detectChanges(){HP(this._view)}checkNoChanges(){}get context(){return null}}class jx extends Mp{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=pn(t);return new Vx(e,this.ngModule)}}function TO(n){const t=[];for(let e in n)if(n.hasOwnProperty(e)){const s=n[e];t.push({propName:s,templateName:e})}return t}class m9{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,s){const i=this.injector.get(t,Hx,s);return i!==Hx||e===Hx?i:this.parentInjector.get(t,e,s)}}class Vx extends kO{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function L8(n){return n.map(T8).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return TO(this.componentDef.inputs)}get outputs(){return TO(this.componentDef.outputs)}create(t,e,s,i){var r;let o=(i=i||this.ngModule)instanceof Vu?i:null===(r=i)||void 0===r?void 0:r.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new m9(t,o):t,l=a.get(E_,null);if(null===l)throw new at(407,!1);const c=a.get(Yx,null),u=l.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",m=s?function kz(n,t,e){const s=e===Ls.ShadowDom;return n.selectRootElement(t,s)}(u,s,this.componentDef.encapsulation):IC(l.createRenderer(null,this.componentDef),h,function f9(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?Fg:null}(h)),v=this.componentDef.onPush?288:272,D=function Zz(n,t){return{components:[],scheduler:n||Z$,clean:Qz,playerHandler:t||null,flags:0}}(),C=mx(0,null,null,1,0,null,null,null,null,null),k=mw(null,C,D,v,null,null,l,u,c,a,null);let P,F;qg(k);try{const N=function Jz(n,t,e,s,i,r){const o=e[1];e[22]=n;const l=lp(o,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(yw(l,c,!0),null!==n&&(Wh(i,n,c),null!==l.classes&&YC(i,n,l.classes),null!==l.styles&&jI(i,n,l.styles)));const u=s.createRenderer(n,t),h=mw(e,TP(t),null,t.onPush?32:16,e[22],l,s,u,r||null,null,null);return o.firstCreatePass&&(Kh(Sa(l,e),o,t.type),OP(o,l),RP(l,e.length,1)),_w(e,h),e[22]=h}(m,this.componentDef,k,l,u);if(m)if(s)Wh(u,m,["ng-version",h9.full]);else{const{attrs:V,classes:q}=function A8(n){const t=[],e=[];let s=1,i=2;for(;s0&&YC(u,m,q.join(" "))}if(F=Yg(C,22),void 0!==e){const V=F.projection=[];for(let q=0;qe()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Bx extends EO{constructor(t){super(),this.moduleType=t}create(t){return new LO(this.moduleType,t)}}class v9 extends gc{constructor(t,e,s){super(),this.componentFactoryResolver=new jx(this),this.instance=null;const i=new sP([...t,{provide:gc,useValue:this},{provide:Mp,useValue:this.componentFactoryResolver}],e||zC(),s,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Lw(n,t=null,e=null){return new v9(n,t,e).injector}class Aw{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t.id)){const e=XI(0,t.type),s=e.length>0?Lw([e],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t.id,s)}return this.cachedInjectors.get(t.id)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}function b9(n){n.getStandaloneInjector=t=>t.get(Aw).getOrCreateStandaloneInjector(n)}function T9(n,t,e){const s=Ps()+n,i=dt();return i[s]===pe?Ho(i,s,e?t.call(e):t()):b_(i,s)}function L9(n,t,e,s){return FO(dt(),Ps(),n,t,e,s)}function A9(n,t,e,s,i){return YO(dt(),Ps(),n,t,e,s,i)}function I9(n,t,e,s,i,r){return HO(dt(),Ps(),n,t,e,s,i,r)}function P9(n,t,e,s,i,r,o){return jO(dt(),Ps(),n,t,e,s,i,r,o)}function O9(n,t,e,s,i,r,o,a){const l=Ps()+n,c=dt(),u=ur(c,l,e,s,i,r);return Gs(c,l+4,o)||u?Ho(c,l+5,a?t.call(a,e,s,i,r,o):t(e,s,i,r,o)):b_(c,l+5)}function R9(n,t,e,s,i,r,o,a,l){const c=Ps()+n,u=dt(),h=ur(u,c,e,s,i,r);return Uu(u,c+4,o,a)||h?Ho(u,c+6,l?t.call(l,e,s,i,r,o,a):t(e,s,i,r,o,a)):b_(u,c+6)}function N9(n,t,e,s,i,r,o,a,l,c){const u=Ps()+n,h=dt();let m=ur(h,u,e,s,i,r);return bw(h,u+4,o,a,l)||m?Ho(h,u+7,c?t.call(c,e,s,i,r,o,a,l):t(e,s,i,r,o,a,l)):b_(h,u+7)}function F9(n,t,e,s,i,r,o,a,l,c,u){const h=Ps()+n,m=dt(),v=ur(m,h,e,s,i,r);return ur(m,h+4,o,a,l,c)||v?Ho(m,h+8,u?t.call(u,e,s,i,r,o,a,l,c):t(e,s,i,r,o,a,l,c)):b_(m,h+8)}function Y9(n,t,e,s){return VO(dt(),Ps(),n,t,e,s)}function T_(n,t){const e=n[t];return e===pe?void 0:e}function FO(n,t,e,s,i,r){const o=t+e;return Gs(n,o,i)?Ho(n,o+1,r?s.call(r,i):s(i)):T_(n,o+1)}function YO(n,t,e,s,i,r,o){const a=t+e;return Uu(n,a,i,r)?Ho(n,a+2,o?s.call(o,i,r):s(i,r)):T_(n,a+2)}function HO(n,t,e,s,i,r,o,a){const l=t+e;return bw(n,l,i,r,o)?Ho(n,l+3,a?s.call(a,i,r,o):s(i,r,o)):T_(n,l+3)}function jO(n,t,e,s,i,r,o,a,l){const c=t+e;return ur(n,c,i,r,o,a)?Ho(n,c+4,l?s.call(l,i,r,o,a):s(i,r,o,a)):T_(n,c+4)}function VO(n,t,e,s,i,r){let o=t+e,a=!1;for(let l=0;l=0;e--){const s=t[e];if(n===s.name)return s}}(t,e.pipeRegistry),e.data[i]=s,s.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(i,s.onDestroy)):s=e.data[i];const r=s.factory||(s.factory=ba(s.type)),o=js(Q);try{const a=ft(!1),l=r();return ft(a),function mW(n,t,e,s){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=s}(e,dt(),i,l),l}finally{js(o)}}function V9(n,t,e){const s=n+22,i=dt(),r=sc(i,s);return L_(i,s)?FO(i,Ps(),t,r.transform,e,r):r.transform(e)}function B9(n,t,e,s){const i=n+22,r=dt(),o=sc(r,i);return L_(r,i)?YO(r,Ps(),t,o.transform,e,s,o):o.transform(e,s)}function U9(n,t,e,s,i){const r=n+22,o=dt(),a=sc(o,r);return L_(o,r)?HO(o,Ps(),t,a.transform,e,s,i,a):a.transform(e,s,i)}function $9(n,t,e,s,i,r){const o=n+22,a=dt(),l=sc(a,o);return L_(a,o)?jO(a,Ps(),t,l.transform,e,s,i,r,l):l.transform(e,s,i,r)}function z9(n,t,e){const s=n+22,i=dt(),r=sc(i,s);return L_(i,s)?VO(i,Ps(),t,r.transform,e,r):r.transform.apply(r,e)}function L_(n,t){return n[1].data[t].pure}Aw.\u0275prov=vt({token:Aw,providedIn:"environment",factory:()=>new Aw(rt(Vu))});function $x(n){return t=>{setTimeout(n,void 0,t)}}const Mt=class W9 extends tt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,s){let i=t,r=e||(()=>null),o=s;if(t&&"object"==typeof t){var a,l,c;const h=t;i=null===(a=h.next)||void 0===a?void 0:a.bind(h),r=null===(l=h.error)||void 0===l?void 0:l.bind(h),o=null===(c=h.complete)||void 0===c?void 0:c.bind(h)}this.__isAsync&&(r=$x(r),i&&(i=$x(i)),o&&(o=$x(o)));const u=super.subscribe({next:i,error:r,complete:o});return t instanceof O&&t.add(u),u}};function q9(){return this._results[Bu()]()}class zx{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Bu(),s=zx.prototype;s[e]||(s[e]=q9)}get changes(){return this._changes||(this._changes=new Mt)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const s=this;s.dirty=!1;const i=ws(t);(this._changesDetected=!function dc(n,t,e){if(n.length!==t.length)return!1;for(let s=0;s0;)this.remove(this.length-1)}get(t){const e=UO(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,s){let i,r;"number"==typeof s?i=s:null!=s&&(i=s.index,r=s.injector);const o=t.createEmbeddedView(e||{},r);return this.insert(o,i),o}createComponent(t,e,s,i,r){const o=t&&!Fu(t);let a;if(o)a=e;else{const h=e||{};a=h.index,s=h.injector,i=h.projectableNodes,r=h.environmentInjector||h.ngModuleRef}const l=o?t:new Vx(pn(t)),c=s||this.parentInjector;if(!r&&null==l.ngModule){const m=(o?c:this.parentInjector).get(Vu,null);m&&(r=m)}const u=l.create(c,i,void 0,r);return this.insert(u.hostView,a),u}insert(t,e){const s=t._lView,i=s[1];if(function PS(n){return xi(n[3])}(s)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const h=s[3],m=new BO(h,h[6],h[3]);m.detach(m.indexOf(t))}}const r=this._adjustIndex(e),o=this._lContainer;h8(i,s,o,r);const a=NC(r,o),l=s[11],c=aw(l,o[7]);return null!==c&&function c8(n,t,e,s,i,r){s[0]=i,s[6]=t,m_(n,s,e,1,i,r)}(i,o[6],l,s,c,a),t.attachToViewContainerRef(),d(Wx(o),r,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=UO(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),s=PC(this._lContainer,e);s&&(f(Wx(this._lContainer),e),kI(s[1],s))}detach(t){const e=this._adjustIndex(t,-1),s=PC(this._lContainer,e);return s&&null!=f(Wx(this._lContainer),e)?new k_(s):null}_adjustIndex(t,e=0){return t??this.length+e}};function UO(n){return n[8]}function Wx(n){return n[8]||(n[8]=[])}function $O(n,t){let e;const s=t[n.index];if(xi(s))e=s;else{let i;if(8&n.type)i=$n(s);else{const r=t[11];i=r.createComment("");const o=Ei(n,t);Hu(r,aw(r,o),i,function _8(n,t){return n.nextSibling(t)}(r,o),!1)}t[n.index]=e=FP(s,t,i,n),_w(t,e)}return new BO(e,n,t)}class qx{constructor(t){this.queryList=t,this.matches=null}clone(){return new qx(this.queryList)}setDirty(){this.queryList.setDirty()}}class Gx{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const s=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let r=0;r0)s.push(o[a/2]);else{const c=r[a+1],u=t[-l];for(let h=10;h(null===i&&(i=Xn().compileNgModule(gi,`ng:///${n.name}/\u0275mod.js`,{type:n,bootstrap:ws(t.bootstrap||Ge).map(te),declarations:s.map(te),imports:ws(t.imports||Ge).map(te).map(iR),exports:ws(t.exports||Ge).map(te).map(iR),schemas:t.schemas?ws(t.schemas):null,id:t.id||null}),i.schemas||(i.schemas=[])),i)});let r=null;Object.defineProperty(n,Hi,{get:()=>{if(null===r){const a=Xn();r=a.compileFactory(gi,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,deps:nw(n),target:a.FactoryTarget.NgModule,typeArgumentCount:0})}return r},configurable:!1});let o=null;Object.defineProperty(n,Lh,{get:()=>{if(null===o){const a={name:n.name,type:n,providers:t.providers||Ge,imports:[(t.imports||Ge).map(te),(t.exports||Ge).map(te)]};o=Xn().compileInjector(gi,`ng:///${n.name}/\u0275inj.js`,a)}return o},configurable:!1})})(n,t),void 0!==t.id&&eI(n,t.id),function uq(n,t){A_.push({moduleType:n,ngModule:t})}(n,t)}function kp(n){const t=pn(n)||As(n)||Is(n);return null!==t&&t.standalone}function mq(n,t){const e=ws(t.declarations||Ge),s=Tp(n);e.forEach(i=>{if((i=te(i)).hasOwnProperty(Ah)){sR(pn(i),s)}else!i.hasOwnProperty(Cg)&&!i.hasOwnProperty(xg)&&(i.ngSelectorScope=n)})}function sR(n,t){n.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(Ah)?pn(e):As(e)).filter(e=>!!e),n.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>Is(e)),n.schemas=t.schemas,n.tView=null}function Tp(n){if(XO(n))return function gq(n){const t=ui(n,!0);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const e={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Ea(t.imports).forEach(s=>{const i=Tp(s);i.exported.directives.forEach(r=>e.compilation.directives.add(r)),i.exported.pipes.forEach(r=>e.compilation.pipes.add(r))}),Ea(t.declarations).forEach(s=>{Is(s)?e.compilation.pipes.add(s):e.compilation.directives.add(s)}),Ea(t.exports).forEach(s=>{const i=s;if(XO(i)){const r=Tp(i);r.exported.directives.forEach(o=>{e.compilation.directives.add(o),e.exported.directives.add(o)}),r.exported.pipes.forEach(o=>{e.compilation.pipes.add(o),e.exported.pipes.add(o)})}else Is(i)?e.exported.pipes.add(i):e.exported.directives.add(i)}),t.transitiveCompileScopes=e,e}(n);if(kp(n)){if(null!==(pn(n)||As(n)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([n]),pipes:new Set}};if(null!==Is(n))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([n])}}}throw new Error(`${n.name} does not have a module def (\u0275mod property)`)}function iR(n){return JO(n)?n.ngModule:n}let eE=0;function _q(n,t){let e=null;(function WU(n,t){ZA(t)&&(ep.set(n,t),c_.add(n))})(n,t),aR(n,t),Object.defineProperty(n,Ah,{get:()=>{if(null===e){const s=Xn();if(ZA(t)){const c=[`Component '${n.name}' is not resolved:`];throw t.templateUrl&&c.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&c.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),c.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(c.join("\n"))}const i=function cq(){return Ep}();let r=t.preserveWhitespaces;void 0===r&&(r=null!==i&&void 0!==i.preserveWhitespaces&&i.preserveWhitespaces);let o=t.encapsulation;void 0===o&&(o=null!==i&&void 0!==i.defaultEncapsulation?i.defaultEncapsulation:Ls.Emulated);const a=t.templateUrl||`ng:///${n.name}/template.html`,l={...lR(n,t),typeSourceSpan:s.createParseSourceSpan("Component",n.name,a),template:t.template||"",preserveWhitespaces:r,styles:t.styles||Ge,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:o,interpolation:t.interpolation,viewProviders:t.viewProviders||null,isStandalone:!!t.standalone};eE++;try{if(l.usesInheritance&&cR(n),e=s.compileComponent(gi,a,l),t.standalone){const c=ws(t.imports||Ge),{directiveDefs:u,pipeDefs:h}=function vq(n,t){let e=null,s=null;return{directiveDefs:()=>{if(null===e){e=[pn(n)];const o=new Set;for(const a of t){const l=te(a);if(!o.has(l))if(o.add(l),ui(l)){const c=Tp(l);for(const u of c.exported.directives){const h=pn(u)||As(u);h&&!o.has(u)&&(o.add(u),e.push(h))}}else{const c=pn(l)||As(l);c&&e.push(c)}}}return e},pipeDefs:()=>{if(null===s){s=[];const o=new Set;for(const a of t){const l=te(a);if(!o.has(l))if(o.add(l),ui(l)){const c=Tp(l);for(const u of c.exported.pipes){const h=Is(u);h&&!o.has(u)&&(o.add(u),s.push(h))}}else{const c=Is(l);c&&s.push(c)}}}return s}}}(n,c);e.directiveDefs=u,e.pipeDefs=h,e.dependencies=()=>c.map(te)}}finally{eE--}if(0===eE&&function dq(){if(!Xx){Xx=!0;try{for(let n=A_.length-1;n>=0;n--){const{moduleType:t,ngModule:e}=A_[n];e.declarations&&e.declarations.every(ZO)&&(A_.splice(n,1),mq(t,e))}}finally{Xx=!1}}}(),function bq(n){return void 0!==n.ngSelectorScope}(n)){const c=Tp(n.ngSelectorScope);sR(e,c)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${qe(n)} but is only valid on a component that is standalone.`);e.schemas=t.schemas}else t.standalone&&(e.schemas=[])}return e},configurable:!1})}function rR(n,t){let e=null;aR(n,t||{}),Object.defineProperty(n,Cg,{get:()=>{if(null===e){const s=oR(n,t||{});e=Xn().compileDirective(gi,s.sourceMapUrl,s.metadata)}return e},configurable:!1})}function oR(n,t){const e=n&&n.name,s=`ng:///${e}/\u0275dir.js`,i=Xn(),r=lR(n,t);return r.typeSourceSpan=i.createParseSourceSpan("Directive",e,s),r.usesInheritance&&cR(n),{metadata:r,sourceMapUrl:s}}function aR(n,t){let e=null;Object.defineProperty(n,Hi,{get:()=>{if(null===e){const s=oR(n,t),i=Xn();e=i.compileFactory(gi,`ng:///${n.name}/\u0275fac.js`,{name:s.metadata.name,type:s.metadata.type,typeArgumentCount:0,deps:nw(n),target:i.FactoryTarget.Directive})}return e},configurable:!1})}function wq(n){return Object.getPrototypeOf(n.prototype)===Object.prototype}function lR(n,t){const e=l_(),s=e.ownPropMetadata(n);return{name:n.name,type:n,selector:void 0!==t.selector?t.selector:null,host:t.host||ec,propMetadata:s,inputs:t.inputs||Ge,outputs:t.outputs||Ge,queries:uR(n,s,dR),lifecycle:{usesOnChanges:e.hasLifecycleHook(n,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!wq(n),exportAs:Sq(t.exportAs),providers:t.providers||null,viewQueries:uR(n,s,hR),isStandalone:!!t.standalone}}function cR(n){const t=Object.prototype;let e=Object.getPrototypeOf(n.prototype).constructor;for(;e&&e!==t;)!As(e)&&!pn(e)&&xq(e)&&rR(e,null),e=Object.getPrototypeOf(e)}function Dq(n){return"string"==typeof n?fR(n):te(n)}function Mq(n,t){return{propertyName:n,predicate:Dq(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function uR(n,t,e){const s=[];for(const i in t)if(t.hasOwnProperty(i)){const r=t[i];r.forEach(o=>{if(e(o)){if(!o.selector)throw new Error(`Can't construct a query for the property "${i}" of "${qe(n)}" since the query selector wasn't defined.`);if(r.some(pR))throw new Error("Cannot combine @Input decorators with query decorators");s.push(Mq(i,o))}})}return s}function Sq(n){return void 0===n?null:fR(n)}function dR(n){const t=n.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function hR(n){const t=n.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function pR(n){return"Input"===n.ngMetadataName}function fR(n){return n.split(",").map(t=>t.trim())}const Cq=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function xq(n){const t=l_();if(Cq.some(s=>t.hasLifecycleHook(n,s)))return!0;const e=t.propMetadata(n);for(const s in e){const i=e[s];for(let r=0;rn,void 0,void 0,(n,t)=>rR(n,t)),kt=Ru("Component",(n={})=>({changeDetection:Yi.Default,...n}),hr,void 0,(n,t)=>_q(n,t)),Lp=Ru("Pipe",n=>({pure:!0,...n}),void 0,void 0,(n,t)=>function Eq(n,t){let e=null,s=null;Object.defineProperty(n,Hi,{get:()=>{if(null===s){const i=mR(n,t),r=Xn(i.type);s=r.compileFactory(gi,`ng:///${i.name}/\u0275fac.js`,{name:i.name,type:i.type,typeArgumentCount:0,deps:nw(n),target:r.FactoryTarget.Pipe})}return s},configurable:!1}),Object.defineProperty(n,xg,{get:()=>{if(null===e){const i=mR(n,t);e=Xn(i.type).compilePipe(gi,`ng:///${i.name}/\u0275pipe.js`,i)}return e},configurable:!1})}(n,t)),Y=zs("Input",n=>({bindingPropertyName:n})),Ee=zs("Output",n=>({bindingPropertyName:n})),kq=zs("HostBinding",n=>({hostPropertyName:n})),pr=zs("HostListener",(n,t)=>({eventName:n,args:t})),Yn=Ru("NgModule",n=>n,void 0,void 0,(n,t)=>hq(n,t));function Ow(...n){}const Rw=new At("Application Initializer");class Aa{constructor(t){this.appInits=t,this.resolve=Ow,this.reject=Ow,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,s)=>{this.resolve=e,this.reject=s})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s{i.subscribe({complete:o,error:a})});t.push(r)}}Promise.all(t).then(()=>{e()}).catch(s=>{this.reject(s)}),0===t.length&&e(),this.initialized=!0}}Aa.\u0275fac=function(t){return new(t||Aa)(rt(Rw,8))},Aa.\u0275prov=vt({token:Aa,factory:Aa.\u0275fac,providedIn:"root"});const Ap=new At("AppId",{providedIn:"root",factory:gR});function gR(){return`${nE()}${nE()}${nE()}`}function nE(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const _R=new At("Platform Initializer"),I_=new At("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),yR=new At("appBootstrapListener"),vR=(new At("Application Packages Root URL"),new At("AnimationModuleType"));class _c{log(t){console.log(t)}warn(t){console.warn(t)}}_c.\u0275fac=function(t){return new(t||_c)},_c.\u0275prov=vt({token:_c,factory:_c.\u0275fac,providedIn:"platform"});const Ia=new At("LocaleId",{providedIn:"root",factory:()=>xa(Ia,ge.Optional|ge.SkipSelf)||function Lq(){return typeof $localize<"u"&&$localize.locale||wp}()}),Aq=new At("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});new At("Translations"),new At("TranslationsFormat");var sE;!function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Ignore=2]="Ignore"}(sE||(sE={}));class Iq{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}class Xr{compileModuleSync(t){return new Bx(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const e=this.compileModuleSync(t),i=Ea(ui(t).declarations).reduce((r,o)=>{const a=pn(o);return a&&r.push(new Vx(a)),r},[]);return new Iq(e,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}Xr.\u0275fac=function(t){return new(t||Xr)},Xr.\u0275prov=vt({token:Xr,factory:Xr.\u0275fac,providedIn:"root"});const Nw=new At("compilerOptions");const Rq=Promise.resolve(0);function iE(n){typeof Zone>"u"?Rq.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class ke{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:s=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mt(!1),this.onMicrotaskEmpty=new Mt(!1),this.onStable=new Mt(!1),this.onError=new Mt(!1),typeof Zone>"u")throw new at(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!s&&e,i.shouldCoalesceRunChangeDetection=s,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Nq(){let n=xe.requestAnimationFrame,t=xe.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const s=t[Zone.__symbol__("OriginalDelegate")];s&&(t=s)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Hq(n){const t=()=>{!function Yq(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(xe,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,oE(n),n.isCheckStableRunning=!0,rE(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),oE(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,s,i,r,o,a)=>{try{return DR(n),e.invokeTask(i,r,o,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||n.shouldCoalesceRunChangeDetection)&&t(),MR(n)}},onInvoke:(e,s,i,r,o,a,l)=>{try{return DR(n),e.invoke(i,r,o,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),MR(n)}},onHasTask:(e,s,i,r)=>{e.hasTask(i,r),s===i&&("microTask"==r.change?(n._hasPendingMicrotasks=r.microTask,oE(n),rE(n)):"macroTask"==r.change&&(n.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,s,i,r)=>(e.handleError(i,r),n.runOutsideAngular(()=>n.onError.emit(r)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ke.isInAngularZone())throw new at(909,!1)}static assertNotInAngularZone(){if(ke.isInAngularZone())throw new at(909,!1)}run(t,e,s){return this._inner.run(t,e,s)}runTask(t,e,s,i){const r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,t,Fq,Ow,Ow);try{return r.runTask(o,e,s)}finally{r.cancelTask(o)}}runGuarded(t,e,s){return this._inner.runGuarded(t,e,s)}runOutsideAngular(t){return this._outer.run(t)}}const Fq={};function rE(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function oE(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function DR(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function MR(n){n._nesting--,rE(n)}class jq{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mt,this.onMicrotaskEmpty=new Mt,this.onStable=new Mt,this.onError=new Mt}run(t,e,s){return t.apply(e,s)}runGuarded(t,e,s){return t.apply(e,s)}runOutsideAngular(t){return t()}runTask(t,e,s,i){return t.apply(e,s)}}const SR=new At(""),Fw=new At("");class yc{constructor(t,e,s){this._ngZone=t,this.registry=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,aE||(function Vq(n){aE=n}(s),s.addToWindow(e)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ke.assertNotInAngularZone(),iE(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())iE(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,s){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(r=>r.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:s})}whenStable(t,e,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,e,s){return[]}}yc.\u0275fac=function(t){return new(t||yc)(rt(ke),rt(vc),rt(Fw))},yc.\u0275prov=vt({token:yc,factory:yc.\u0275fac});class vc{constructor(){this._applications=new Map}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){var s,i;return null!==(s=null===(i=aE)||void 0===i?void 0:i.findTestabilityInTree(this,t,e))&&void 0!==s?s:null}}let aE;vc.\u0275fac=function(t){return new(t||vc)},vc.\u0275prov=vt({token:vc,factory:vc.\u0275fac,providedIn:"platform"});let bc=null;const CR=new At("AllowMultipleToken"),lE=new At("PlatformDestroyListeners"),Pa=!1;function Bq(n,t,e){const s=new Bx(e);if(typeof ngJitMode<"u"&&!ngJitMode)return Promise.resolve(s);const i=n.get(Nw,[]).concat(t);if(function lq(n){null!==Ep&&(n.defaultEncapsulation!==Ep.defaultEncapsulation||n.preserveWhitespaces!==Ep.preserveWhitespaces)||(Ep=n)}({defaultEncapsulation:IR(i.map(c=>c.defaultEncapsulation)),preserveWhitespaces:IR(i.map(c=>c.preserveWhitespaces))}),function GU(){return 0===ep.size}())return Promise.resolve(s);const r=function Gq(n){const t=[];return n.forEach(e=>e&&t.push(...e)),t}(i.map(c=>c.providers));if(0===r.length)return Promise.resolve(s);const o=Xn(),l=Fn.create({providers:r}).get(o.ResourceLoader);return zU(c=>Promise.resolve(l.get(c))).then(()=>s)}class xR{constructor(t,e){this.name=t,this.token=e}}function ER(n){const t=n.get(_R,null);t&&t.forEach(e=>e())}function Yw(n,t,e=[]){const s=`Platform: ${t}`,i=new At(s);return(r=[])=>{let o=cE();if(!o||o.injector.get(CR,!1)){const a=[...e,...r,{provide:i,useValue:!0}];n?n(a):function $q(n){if(bc&&!bc.get(CR,!1))throw new at(400,!1);bc=n;const t=n.get(Gu);return ER(n),t}(kR(a,s))}return function Wq(n){const t=cE();if(!t)throw new at(401,!1);return t}()}}function kR(n=[],t){return Fn.create({name:t,providers:[{provide:UC,useValue:"platform"},{provide:lE,useValue:new Set([()=>bc=null])},...n]})}function cE(){var n,t;return null!==(n=null===(t=bc)||void 0===t?void 0:t.get(Gu))&&void 0!==n?n:null}class Gu{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const s=function qq(n,t){let e;return e="noop"===n?new jq:("zone.js"===n?void 0:n)||new ke(t),e}(e?.ngZone,TR(e)),i=[{provide:ke,useValue:s}];return s.run(()=>{const r=Fn.create({providers:i,parent:this.injector,name:t.moduleType.name}),o=t.create(r),a=o.injector.get(sp,null);if(!a)throw new at(402,!1);return s.runOutsideAngular(()=>{const l=s.onError.subscribe({next:c=>{a.handleError(c)}});o.onDestroy(()=>{Hw(this._modules,o),l.unsubscribe()})}),LR(a,s,()=>{const l=o.injector.get(Aa);return l.runInitializers(),l.donePromise.then(()=>(eO(o.injector.get(Ia,wp)||wp),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,e=[]){const s=AR({},e);return Bq(this.injector,s,t).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(t){const e=t.injector.get(Bo);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(s=>e.bootstrap(s));else{if(!t.instance.ngDoBootstrap)throw new at(403,!1);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new at(404,!1);this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e());const t=this._injector.get(lE,null);t&&(t.forEach(e=>e()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}function TR(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}function LR(n,t,e){try{const s=e();return w_(s)?s.catch(i=>{throw t.runOutsideAngular(()=>n.handleError(i)),i}):s}catch(s){throw t.runOutsideAngular(()=>n.handleError(s)),s}}function AR(n,t){return n=Array.isArray(t)?t.reduce(AR,n):{...n,...t}}Gu.\u0275fac=function(t){return new(t||Gu)(rt(Fn))},Gu.\u0275prov=vt({token:Gu,factory:Gu.\u0275fac,providedIn:"platform"});class Bo{constructor(t,e,s){this._zone=t,this._injector=e,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new it(o=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{o.next(this._stable),o.complete()})}),r=new it(o=>{let a;this._zone.runOutsideAngular(()=>{a=this._zone.onStable.subscribe(()=>{ke.assertNotInAngularZone(),iE(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,o.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{ke.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{o.next(!1)}))});return()=>{a.unsubscribe(),l.unsubscribe()}});this.isStable=Ae(i,r.pipe(mb()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,e){const s=t instanceof kO;if(!this._injector.get(Aa).done){!s&&kp(t);throw new at(405,Pa)}let r;r=s?t:this._injector.get(Mp).resolveComponentFactory(t),this.componentTypes.push(r.componentType);const o=function Uq(n){return n.isBoundToModule}(r)?void 0:this._injector.get(gc),a=e||r.selector,l=r.create(Fn.NULL,[],a,o),c=l.location.nativeElement,u=l.injector.get(SR,null);return u?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Hw(this.components,l),u?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new at(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Hw(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(yR,[]).concat(this._bootstrapListeners).forEach(s=>s(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Hw(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new at(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}function Hw(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function IR(n){for(let t=n.length-1;t>=0;t--)if(void 0!==n[t])return n[t]}Bo.\u0275fac=function(t){return new(t||Bo)(rt(ke),rt(Fn),rt(sp))},Bo.\u0275prov=vt({token:Bo,factory:Bo.\u0275fac,providedIn:"root"});let PR=!0,OR=!1;class Uo{}Uo.__NG_ELEMENT_ID__=function Jq(n){return function Xq(n,t,e){if(Oh(n)&&!e){const s=An(n.index,t);return new k_(s,s)}if(47&n.type){const s=t[16];return new k_(s,t)}return null}(Jn(),dt(),16==(16&n))};class YR{constructor(){}supports(t){return v_(t)}create(t){return new i7(t)}}const s7=(n,t)=>t;class i7{constructor(t){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||s7}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,s=this._removalsHead,i=0,r=null;for(;e||s;){const o=!s||e&&e.currentIndex{o=this._trackByFn(i,a),null!==e&&Object.is(e.trackById,o)?(s&&(e=this._verifyReinsertion(e,a,o,i)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,o,i),s=!0),e=e._next,i++}),this.length=i;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,s,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new r7(e,s),r,i),t}_verifyReinsertion(t,e,s,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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)}_reinsertAfter(t,e,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,s),this._addToMoves(t,s),t}_moveAfter(t,e,s){return this._unlink(t),this._insertAfter(t,e,s),this._addToMoves(t,s),t}_addAfter(t,e,s){return this._insertAfter(t,e,s),null===this._additionsTail?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,s){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new HR),this._linkedRecords.put(t),t.currentIndex=s,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,s=t._next;return null===e?this._itHead=s:e._next=s,null===s?this._itTail=e:s._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(null===this._movesTail?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new HR),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}}class r7{constructor(t,e){this.item=t,this.trackById=e,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}}class o7{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let s;for(s=this._head;null!==s;s=s._nextDup)if((null===e||e<=s.currentIndex)&&Object.is(s.trackById,t))return s;return null}remove(t){const e=t._prevDup,s=t._nextDup;return null===e?this._head=s:e._nextDup=s,null===s?this._tail=e:s._prevDup=e,null===this._head}}class HR{constructor(){this.map=new Map}put(t){const e=t.trackById;let s=this.map.get(e);s||(s=new o7,this.map.set(e,s)),s.add(t)}get(t,e){const s=t,i=this.map.get(s);return i?i.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function jR(n,t,e){const s=n.previousIndex;if(null===s)return s;let i=0;return e&&s{if(e&&e.key===i)this._maybeAddToChanges(e,s),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(i,s);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let s=e;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const s=t._prev;return e._next=t,e._prev=s,t._prev=e,s&&(s._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,e);const r=i._prev,o=i._next;return r&&(r._next=o),o&&(o._prev=r),i._next=null,i._prev=null,i}const s=new l7(t);return this._records.set(t,s),s.currentValue=e,this._addToAdditions(s),s}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(s=>e(t[s],s))}}class l7{constructor(t){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}}function BR(){return new fr([new YR])}class fr{constructor(t){this.factories=t}static create(t,e){if(null!=e){const s=e.factories.slice();t=t.concat(s)}return new fr(t)}static extend(t){return{provide:fr,useFactory:e=>fr.create(t,e||BR()),deps:[[fr,new tp,new cr]]}}find(t){const e=this.factories.find(s=>s.supports(t));if(null!=e)return e;throw new at(901,!1)}}function UR(){return new mr([new VR])}fr.\u0275prov=vt({token:fr,providedIn:"root",factory:BR});class mr{constructor(t){this.factories=t}static create(t,e){if(e){const s=e.factories.slice();t=t.concat(s)}return new mr(t)}static extend(t){return{provide:mr,useFactory:e=>mr.create(t,e||UR()),deps:[[mr,new tp,new cr]]}}find(t){const e=this.factories.find(s=>s.supports(t));if(e)return e;throw new at(901,!1)}}mr.\u0275prov=vt({token:mr,providedIn:"root",factory:UR});const c7=[new VR],u7=[new YR],$R=(new fr(u7),new mr(c7),Yw(null,"core",[]));class Qu{constructor(t){}}function Oa(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}Qu.\u0275fac=function(t){return new(t||Qu)(rt(Bo))},Qu.\u0275mod=Dn({type:Qu}),Qu.\u0275inj=hn({});var to;function eo(n){if(":"!=n[0])return[null,n];const t=n.indexOf(":",1);if(-1===t)throw new Error(`Unsupported format "${n}" expecting ":namespace:name"`);return[n.slice(1,t),n.slice(t+1)]}function fE(n){return"ng-container"===eo(n)[1]}function mE(n){return"ng-content"===eo(n)[1]}function zR(n){return null===n?null:eo(n)[0]}function gE(n,t){return n?`:${n}:${t}`:t}!function(n){n[n.RAW_TEXT=0]="RAW_TEXT",n[n.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",n[n.PARSABLE_DATA=2]="PARSABLE_DATA"}(to||(to={}));class we{constructor({closedByChildren:t,implicitNamespacePrefix:e,contentType:s=to.PARSABLE_DATA,closedByParent:i=!1,isVoid:r=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:a=!1}={}){this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,t&&t.length>0&&t.forEach(l=>this.closedByChildren[l]=!0),this.isVoid=r,this.closedByParent=i||r,this.implicitNamespacePrefix=e||null,this.contentType=s,this.ignoreFirstLf=o,this.preventNamespaceInheritance=a}isClosedByChild(t){return this.isVoid||t.toLowerCase()in this.closedByChildren}getContentType(t){if("object"==typeof this.contentType){return(void 0===t?void 0:this.contentType[t])??this.contentType.default}return this.contentType}}let WR,Bw;function _E(n){var t,e;return Bw||(WR=new we,Bw={base:new we({isVoid:!0}),meta:new we({isVoid:!0}),area:new we({isVoid:!0}),embed:new we({isVoid:!0}),link:new we({isVoid:!0}),img:new we({isVoid:!0}),input:new we({isVoid:!0}),param:new we({isVoid:!0}),hr:new we({isVoid:!0}),br:new we({isVoid:!0}),source:new we({isVoid:!0}),track:new we({isVoid:!0}),wbr:new we({isVoid:!0}),p:new we({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new we({closedByChildren:["tbody","tfoot"]}),tbody:new we({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new we({closedByChildren:["tbody"],closedByParent:!0}),tr:new we({closedByChildren:["tr"],closedByParent:!0}),td:new we({closedByChildren:["td","th"],closedByParent:!0}),th:new we({closedByChildren:["td","th"],closedByParent:!0}),col:new we({isVoid:!0}),svg:new we({implicitNamespacePrefix:"svg"}),foreignObject:new we({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new we({implicitNamespacePrefix:"math"}),li:new we({closedByChildren:["li"],closedByParent:!0}),dt:new we({closedByChildren:["dt","dd"]}),dd:new we({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new we({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new we({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new we({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new we({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new we({closedByChildren:["optgroup"],closedByParent:!0}),option:new we({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new we({ignoreFirstLf:!0}),listing:new we({ignoreFirstLf:!0}),style:new we({contentType:to.RAW_TEXT}),script:new we({contentType:to.RAW_TEXT}),title:new we({contentType:{default:to.ESCAPABLE_RAW_TEXT,svg:to.PARSABLE_DATA}}),textarea:new we({contentType:to.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),null!==(t=null!==(e=Bw[n])&&void 0!==e?e:Bw[n.toLowerCase()])&&void 0!==t?t:WR}const qR=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g");class wc{constructor(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}static parse(t){const e=[],s=(l,c)=>{c.notSelectors.length>0&&!c.element&&0==c.classNames.length&&0==c.attrs.length&&(c.element="*"),l.push(c)};let r,i=new wc,o=i,a=!1;for(qR.lastIndex=0;r=qR.exec(t);){if(r[1]){if(a)throw new Error("Nesting :not in a selector is not allowed");a=!0,o=new wc,i.notSelectors.push(o)}const l=r[2];if(l){const u=r[3];"#"===u?o.addAttribute("id",l.slice(1)):"."===u?o.addClassName(l.slice(1)):o.setElement(l)}const c=r[4];if(c&&o.addAttribute(o.unescapeAttribute(c),r[6]),r[7]&&(a=!1,o=i),r[8]){if(a)throw new Error("Multiple selectors in :not are not supported");s(e,i),i=o=new wc}}return s(e,i),e}unescapeAttribute(t){let e="",s=!1;for(let i=0;i0?` class="${this.classNames.join(" ")}"`:"";let s="";for(let i=0;i`:`<${t}${e}${s}>`}getAttrs(){const t=[];return this.classNames.length>0&&t.push("class",this.classNames.join(" ")),t.concat(this.attrs)}addAttribute(t,e=""){this.attrs.push(t,e&&e.toLowerCase()||"")}addClassName(t){this.classNames.push(t.toLowerCase())}toString(){let t=this.element||"";if(this.classNames&&this.classNames.forEach(e=>t+=`.${e}`),this.attrs)for(let e=0;et+=`:not(${e})`),t}}var gr,Ip;!function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(gr||(gr={})),function(n){n[n.OnPush=0]="OnPush",n[n.Default=1]="Default"}(Ip||(Ip={}));const yE={name:"custom-elements"},vE={name:"no-errors-schema"};var zn,Ju;function v7(n){const t=function _7(n){const t=n.classNames&&n.classNames.length?[8,...n.classNames]:[];return[n.element&&"*"!==n.element?n.element:"",...n.attrs,...t]}(n),e=n.notSelectors&&n.notSelectors.length?n.notSelectors.map(s=>function y7(n){const t=n.classNames&&n.classNames.length?[8,...n.classNames]:[];return n.element?[5,n.element,...n.attrs,...t]:n.attrs.length?[3,...n.attrs,...t]:n.classNames&&n.classNames.length?[9,...n.classNames]:[]}(s)):[];return t.concat(...e)}function $w(n){return n?wc.parse(n).map(v7):[]}!function(n){n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL"}(zn||(zn={})),function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Ignore=2]="Ignore"}(Ju||(Ju={}));const b7=/-+([a-z0-9])/g;function GR(n,t){return KR(n,":",t)}function KR(n,t,e){const s=n.indexOf(t);return-1==s?e:[n.slice(0,s).trim(),n.slice(s+1).trim()]}function zw(n){throw new Error(`Internal Error: ${n}`)}function bE(n){let t=[];for(let e=0;e=55296&&s<=56319&&n.length>e+1){const i=n.charCodeAt(e+1);i>=56320&&i<=57343&&(e++,s=(s-55296<<10)+i-56320+65536)}s<=127?t.push(s):s<=2047?t.push(s>>6&31|192,63&s|128):s<=65535?t.push(s>>12|224,s>>6&63|128,63&s|128):s<=2097151&&t.push(s>>18&7|240,s>>12&63|128,s>>6&63|128,63&s|128)}return t}function QR(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(QR).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;if(!n.toString)return"object";const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}const Pp=(()=>typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();class Op{constructor(t){this.digits=t}static zero(){return new Op([0])}static one(){return new Op([1])}clone(){return new Op(this.digits.slice())}add(t){const e=this.clone();return e.addToSelf(t),e}addToSelf(t){const e=Math.max(this.digits.length,t.digits.length);let s=0;for(let i=0;i=10?(this.digits[i]=r-10,s=1):(this.digits[i]=r,s=0)}s>0&&(this.digits[e]=1)}toString(){let t="";for(let e=this.digits.length-1;e>=0;e--)t+=this.digits[e];return t}}class JR{constructor(t){this.powerOfTwos=[t]}getValue(){return this.powerOfTwos[0]}multiplyBy(t){const e=Op.zero();return this.multiplyByAndAddTo(t,e),e}multiplyByAndAddTo(t,e){for(let s=0;0!==t;t>>>=1,s++)if(1&t){const i=this.getMultipliedByPowerOfTwo(s);e.addToSelf(i)}}getMultipliedByPowerOfTwo(t){for(let e=this.powerOfTwos.length;e<=t;e++){const s=this.powerOfTwos[e-1];this.powerOfTwos[e]=s.add(s)}return this.powerOfTwos[t]}}function ZR(n){return function A7(n){const t=bE(n),e=function R7(n,t){const e=n.length+3>>>2,s=[];for(let i=0;i>5]|=128<<24-s%32,e[15+(s+64>>9<<4)]=s;for(let u=0;u>>4).toString(16)+(15&s).toString(16)}return t.toLowerCase()}(function N7(n){return n.reduce((t,e)=>t.concat(function F7(n){let t=[];for(let e=0;e<4;e++)t.push(n>>>8*(3-e)&255);return t}(e)),[])}([r,o,a,l,c]))}(function T7(n){return n.map(t=>t.visit(k7,null))}(n.nodes).join("")+`[${n.meaning}]`)}function wE(n){return n.id||tN(n)}function tN(n){const t=new L7;return sN(n.nodes.map(s=>s.visit(t,null)).join(""),n.meaning)}class eN{visitText(t,e){return t.value}visitContainer(t,e){return`[${t.children.map(s=>s.visit(this)).join(", ")}]`}visitIcu(t,e){const s=Object.keys(t.cases).map(i=>`${i} {${t.cases[i].visit(this)}}`);return`{${t.expression}, ${t.type}, ${s.join(", ")}}`}visitTagPlaceholder(t,e){return t.isVoid?``:`${t.children.map(s=>s.visit(this)).join(", ")}`}visitPlaceholder(t,e){return t.value?`${t.value}`:``}visitIcuPlaceholder(t,e){return`${t.value.visit(this)}`}}const k7=new eN;class L7 extends eN{visitIcu(t,e){let s=Object.keys(t.cases).map(i=>`${i} {${t.cases[i].visit(this)}}`);return`{${t.type}, ${s.join(", ")}}`}}function I7(n,t,e,s){return n<20?[t&e|~t&s,1518500249]:n<40?[t^e^s,1859775393]:n<60?[t&e|t&s|e&s,2400959708]:[t^e^s,3395469782]}function nN(n){const t=bE(n);let e=iN(t,0),s=iN(t,102072);return 0==e&&(0==s||1==s)&&(e^=319790063,s^=-1801410264),[e,s]}function sN(n,t=""){let e=nN(n);if(t){const r=nN(t);e=function P7(n,t){const e=n[0],s=n[1],i=t[0],r=t[1],o=oN(s,r),a=o[0],l=o[1];return[_i(_i(e,i),a),l]}(function O7(n,t){const e=n[0],s=n[1];return[e<>>32-t,s<>>32-t]}(e,1),r)}return function H7(n,t){const e=aN.toThePowerOf(0).multiplyBy(t);return aN.toThePowerOf(4).multiplyByAndAddTo(n,e),e.toString()}(2147483647&e[0],e[1])}function iN(n,t){let i,e=2654435769,s=2654435769;const r=n.length;for(i=0;i+12<=r;i+=12){e=_i(e,Xu(n,i,$o.Little)),s=_i(s,Xu(n,i+4,$o.Little));const o=rN(e,s,t=_i(t,Xu(n,i+8,$o.Little)));e=o[0],s=o[1],t=o[2]}return e=_i(e,Xu(n,i,$o.Little)),s=_i(s,Xu(n,i+4,$o.Little)),t=_i(t,r),rN(e,s,t=_i(t,Xu(n,i+8,$o.Little)<<8))[2]}function rN(n,t,e){return n=Ds(n,t),n=Ds(n,e),n^=e>>>13,t=Ds(t,e),t=Ds(t,n),t^=n<<8,e=Ds(e,n),e=Ds(e,t),e^=t>>>13,n=Ds(n,t),n=Ds(n,e),n^=e>>>12,t=Ds(t,e),t=Ds(t,n),t^=n<<16,e=Ds(e,n),e=Ds(e,t),e^=t>>>5,n=Ds(n,t),n=Ds(n,e),n^=e>>>3,t=Ds(t,e),t=Ds(t,n),t^=n<<10,e=Ds(e,n),e=Ds(e,t),[n,t,e^=t>>>15]}var $o;function _i(n,t){return oN(n,t)[1]}function oN(n,t){const e=(65535&n)+(65535&t),s=(n>>>16)+(t>>>16)+(e>>>16);return[s>>>16,s<<16|65535&e]}function Ds(n,t){const e=(65535&n)-(65535&t);return(n>>16)-(t>>16)+(e>>16)<<16|65535&e}function DE(n,t){return n<>>32-t}function ME(n,t){return t>=n.length?0:n[t]}function Xu(n,t,e){let s=0;if(e===$o.Big)for(let i=0;i<4;i++)s+=ME(n,t+i)<<24-8*i;else for(let i=0;i<4;i++)s+=ME(n,t+i)<<8*i;return s}!function(n){n[n.Little=0]="Little",n[n.Big=1]="Big"}($o||($o={}));const aN=new class E7{constructor(t){this.base=t,this.exponents=[new JR(Op.one())]}toThePowerOf(t){for(let e=this.exponents.length;e<=t;e++){const s=this.exponents[e-1].multiplyBy(this.base);this.exponents[e]=new JR(s)}return this.exponents[t]}}(256);var Ww,no;!function(n){n[n.None=0]="None",n[n.Const=1]="Const"}(Ww||(Ww={}));class P_{constructor(t=Ww.None){this.modifiers=t}hasModifier(t){return 0!=(this.modifiers&t)}}!function(n){n[n.Dynamic=0]="Dynamic",n[n.Bool=1]="Bool",n[n.String=2]="String",n[n.Int=3]="Int",n[n.Number=4]="Number",n[n.Function=5]="Function",n[n.Inferred=6]="Inferred",n[n.None=7]="None"}(no||(no={}));class Ra extends P_{constructor(t,e){super(e),this.name=t}visitType(t,e){return t.visitBuiltinType(this,e)}}class zo extends P_{constructor(t,e,s=null){super(e),this.value=t,this.typeParams=s}visitType(t,e){return t.visitExpressionType(this,e)}}const Zu=new Ra(no.Dynamic),yi=new Ra(no.Inferred),lN=new Ra(no.Bool),Rp=(new Ra(no.Int),new Ra(no.Number)),SE=new Ra(no.String),Dc=(new Ra(no.Function),new Ra(no.None));var td,Wt;function cN(n,t){return null==n||null==t?n==t:n.isEquivalent(t)}function uN(n,t,e){const s=n.length;if(s!==t.length)return!1;for(let i=0;ie.isEquivalent(s))}!function(n){n[n.Minus=0]="Minus",n[n.Plus=1]="Plus"}(td||(td={})),function(n){n[n.Equals=0]="Equals",n[n.NotEquals=1]="NotEquals",n[n.Identical=2]="Identical",n[n.NotIdentical=3]="NotIdentical",n[n.Minus=4]="Minus",n[n.Plus=5]="Plus",n[n.Divide=6]="Divide",n[n.Multiply=7]="Multiply",n[n.Modulo=8]="Modulo",n[n.And=9]="And",n[n.Or=10]="Or",n[n.BitwiseAnd=11]="BitwiseAnd",n[n.Lower=12]="Lower",n[n.LowerEquals=13]="LowerEquals",n[n.Bigger=14]="Bigger",n[n.BiggerEquals=15]="BiggerEquals",n[n.NullishCoalesce=16]="NullishCoalesce"}(Wt||(Wt={}));class In{constructor(t,e){this.type=t||null,this.sourceSpan=e||null}prop(t,e){return new Y_(this,t,null,e)}key(t,e,s){return new tD(this,t,e,s)}callFn(t,e,s){return new ed(this,t,null,e,s)}instantiate(t,e,s){return new Fp(this,t,e,s)}conditional(t,e=null,s){return new Xw(this,t,e,null,s)}equals(t,e){return new Cn(Wt.Equals,this,t,null,e)}notEquals(t,e){return new Cn(Wt.NotEquals,this,t,null,e)}identical(t,e){return new Cn(Wt.Identical,this,t,null,e)}notIdentical(t,e){return new Cn(Wt.NotIdentical,this,t,null,e)}minus(t,e){return new Cn(Wt.Minus,this,t,null,e)}plus(t,e){return new Cn(Wt.Plus,this,t,null,e)}divide(t,e){return new Cn(Wt.Divide,this,t,null,e)}multiply(t,e){return new Cn(Wt.Multiply,this,t,null,e)}modulo(t,e){return new Cn(Wt.Modulo,this,t,null,e)}and(t,e){return new Cn(Wt.And,this,t,null,e)}bitwiseAnd(t,e,s=!0){return new Cn(Wt.BitwiseAnd,this,t,null,e,s)}or(t,e){return new Cn(Wt.Or,this,t,null,e)}lower(t,e){return new Cn(Wt.Lower,this,t,null,e)}lowerEquals(t,e){return new Cn(Wt.LowerEquals,this,t,null,e)}bigger(t,e){return new Cn(Wt.Bigger,this,t,null,e)}biggerEquals(t,e){return new Cn(Wt.BiggerEquals,this,t,null,e)}isBlank(t){return this.equals(j_,t)}nullishCoalesce(t,e){return new Cn(Wt.NullishCoalesce,this,t,null,e)}toStmt(){return new Fa(this,null)}}class Np extends In{constructor(t,e,s){super(e,s),this.name=t}isEquivalent(t){return t instanceof Np&&this.name===t.name}isConstant(){return!1}visitExpression(t,e){return t.visitReadVarExpr(this,e)}set(t){return new qw(this.name,t,null,this.sourceSpan)}}class O_ extends In{constructor(t,e,s){super(e,s),this.expr=t}visitExpression(t,e){return t.visitTypeofExpr(this,e)}isEquivalent(t){return t instanceof O_&&t.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}}class re extends In{constructor(t,e,s){super(e,s),this.node=t}isEquivalent(t){return t instanceof re&&this.node===t.node}isConstant(){return!1}visitExpression(t,e){return t.visitWrappedNodeExpr(this,e)}}class qw extends In{constructor(t,e,s,i){super(s||e.type,i),this.name=t,this.value=e}isEquivalent(t){return t instanceof qw&&this.name===t.name&&this.value.isEquivalent(t.value)}isConstant(){return!1}visitExpression(t,e){return t.visitWriteVarExpr(this,e)}toDeclStmt(t,e){return new Na(this.name,this.value,t,e,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(yi,Wi.Final)}}class Gw extends In{constructor(t,e,s,i,r){super(i||s.type,r),this.receiver=t,this.index=e,this.value=s}isEquivalent(t){return t instanceof Gw&&this.receiver.isEquivalent(t.receiver)&&this.index.isEquivalent(t.index)&&this.value.isEquivalent(t.value)}isConstant(){return!1}visitExpression(t,e){return t.visitWriteKeyExpr(this,e)}}class Kw extends In{constructor(t,e,s,i,r){super(i||s.type,r),this.receiver=t,this.name=e,this.value=s}isEquivalent(t){return t instanceof Kw&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name&&this.value.isEquivalent(t.value)}isConstant(){return!1}visitExpression(t,e){return t.visitWritePropExpr(this,e)}}class ed extends In{constructor(t,e,s,i,r=!1){super(s,i),this.fn=t,this.args=e,this.pure=r}isEquivalent(t){return t instanceof ed&&this.fn.isEquivalent(t.fn)&&zi(this.args,t.args)&&this.pure===t.pure}isConstant(){return!1}visitExpression(t,e){return t.visitInvokeFunctionExpr(this,e)}}class Qw extends In{constructor(t,e,s,i){super(s,i),this.tag=t,this.template=e}isEquivalent(t){return t instanceof Qw&&this.tag.isEquivalent(t.tag)&&uN(this.template.elements,t.template.elements,(e,s)=>e.text===s.text)&&zi(this.template.expressions,t.template.expressions)}isConstant(){return!1}visitExpression(t,e){return t.visitTaggedTemplateExpr(this,e)}}class Fp extends In{constructor(t,e,s,i){super(s,i),this.classExpr=t,this.args=e}isEquivalent(t){return t instanceof Fp&&this.classExpr.isEquivalent(t.classExpr)&&zi(this.args,t.args)}isConstant(){return!1}visitExpression(t,e){return t.visitInstantiateExpr(this,e)}}class _r extends In{constructor(t,e,s){super(e,s),this.value=t}isEquivalent(t){return t instanceof _r&&this.value===t.value}isConstant(){return!0}visitExpression(t,e){return t.visitLiteralExpr(this,e)}}class CE{constructor(t,e){this.elements=t,this.expressions=e}}class xE{constructor(t,e,s){var i;this.text=t,this.sourceSpan=e,this.rawText=null!==(i=s??e?.toString())&&void 0!==i?i:EE(Jw(t))}}class Yp{constructor(t,e){this.text=t,this.sourceSpan=e}}class R_{constructor(t,e,s){this.text=t,this.sourceSpan=e,this.associatedMessage=s}}class hN extends In{constructor(t,e,s,i,r){super(SE,r),this.metaBlock=t,this.messageParts=e,this.placeHolderNames=s,this.expressions=i}isEquivalent(t){return!1}isConstant(){return!1}visitExpression(t,e){return t.visitLocalizedString(this,e)}serializeI18nHead(){let t=this.metaBlock.description||"";return this.metaBlock.meaning&&(t=`${this.metaBlock.meaning}|${t}`),this.metaBlock.customId&&(t=`${t}@@${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(e=>{t=`${t}\u241f${e}`}),pN(t,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(t){var e,s;return null!==(e=null===(s=this.messageParts[t])||void 0===s?void 0:s.sourceSpan)&&void 0!==e?e:this.sourceSpan}getPlaceholderSourceSpan(t){var e,s,i,r;return null!==(e=null!==(s=null===(i=this.placeHolderNames[t])||void 0===i?void 0:i.sourceSpan)&&void 0!==s?s:null===(r=this.expressions[t])||void 0===r?void 0:r.sourceSpan)&&void 0!==e?e:this.sourceSpan}serializeI18nTemplatePart(t){var e;const s=this.placeHolderNames[t-1],i=this.messageParts[t];let r=s.text;return 0===(null===(e=s.associatedMessage)||void 0===e?void 0:e.legacyIds.length)&&(r+=`@@${sN(s.associatedMessage.messageString,s.associatedMessage.meaning)}`),pN(r,i.text,this.getMessagePartSourceSpan(t))}}const Jw=n=>n.replace(/\\/g,"\\\\"),W7=n=>n.replace(/^:/,"\\:"),q7=n=>n.replace(/:/g,"\\:"),EE=n=>n.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function pN(n,t,e){return""===n?{cooked:t,raw:EE(W7(Jw(t))),range:e}:{cooked:`:${n}:${t}`,raw:EE(`:${q7(Jw(n))}:${Jw(t)}`),range:e}}class N_ extends In{constructor(t,e,s=null,i){super(e,i),this.value=t,this.typeParams=s}isEquivalent(t){return t instanceof N_&&this.value.name===t.value.name&&this.value.moduleName===t.value.moduleName&&this.value.runtime===t.value.runtime}isConstant(){return!1}visitExpression(t,e){return t.visitExternalExpr(this,e)}}class Xw extends In{constructor(t,e,s=null,i,r){super(i||e.type,r),this.condition=t,this.falseCase=s,this.trueCase=e}isEquivalent(t){return t instanceof Xw&&this.condition.isEquivalent(t.condition)&&this.trueCase.isEquivalent(t.trueCase)&&cN(this.falseCase,t.falseCase)}isConstant(){return!1}visitExpression(t,e){return t.visitConditionalExpr(this,e)}}class Zw extends In{constructor(t,e){super(lN,e),this.condition=t}isEquivalent(t){return t instanceof Zw&&this.condition.isEquivalent(t.condition)}isConstant(){return!1}visitExpression(t,e){return t.visitNotExpr(this,e)}}class Ti{constructor(t,e=null){this.name=t,this.type=e}isEquivalent(t){return this.name===t.name}}class Hp extends In{constructor(t,e,s,i,r){super(s,i),this.params=t,this.statements=e,this.name=r}isEquivalent(t){return t instanceof Hp&&zi(this.params,t.params)&&zi(this.statements,t.statements)}isConstant(){return!1}visitExpression(t,e){return t.visitFunctionExpr(this,e)}toDeclStmt(t,e){return new nD(t,this.params,this.statements,this.type,e,this.sourceSpan)}}class F_ extends In{constructor(t,e,s,i,r=!0){super(s||Rp,i),this.operator=t,this.expr=e,this.parens=r}isEquivalent(t){return t instanceof F_&&this.operator===t.operator&&this.expr.isEquivalent(t.expr)}isConstant(){return!1}visitExpression(t,e){return t.visitUnaryOperatorExpr(this,e)}}class Cn extends In{constructor(t,e,s,i,r,o=!0){super(i||e.type,r),this.operator=t,this.rhs=s,this.parens=o,this.lhs=e}isEquivalent(t){return t instanceof Cn&&this.operator===t.operator&&this.lhs.isEquivalent(t.lhs)&&this.rhs.isEquivalent(t.rhs)}isConstant(){return!1}visitExpression(t,e){return t.visitBinaryOperatorExpr(this,e)}}class Y_ extends In{constructor(t,e,s,i){super(s,i),this.receiver=t,this.name=e}isEquivalent(t){return t instanceof Y_&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name}isConstant(){return!1}visitExpression(t,e){return t.visitReadPropExpr(this,e)}set(t){return new Kw(this.receiver,this.name,t,null,this.sourceSpan)}}class tD extends In{constructor(t,e,s,i){super(s,i),this.receiver=t,this.index=e}isEquivalent(t){return t instanceof tD&&this.receiver.isEquivalent(t.receiver)&&this.index.isEquivalent(t.index)}isConstant(){return!1}visitExpression(t,e){return t.visitReadKeyExpr(this,e)}set(t){return new Gw(this.receiver,this.index,t,null,this.sourceSpan)}}class jp extends In{constructor(t,e,s){super(e,s),this.entries=t}isConstant(){return this.entries.every(t=>t.isConstant())}isEquivalent(t){return t instanceof jp&&zi(this.entries,t.entries)}visitExpression(t,e){return t.visitLiteralArrayExpr(this,e)}}class kE{constructor(t,e,s){this.key=t,this.value=e,this.quoted=s}isEquivalent(t){return this.key===t.key&&this.value.isEquivalent(t.value)}}class H_ extends In{constructor(t,e,s){super(e,s),this.entries=t,this.valueType=null,e&&(this.valueType=e.valueType)}isEquivalent(t){return t instanceof H_&&zi(this.entries,t.entries)}isConstant(){return this.entries.every(t=>t.value.isConstant())}visitExpression(t,e){return t.visitLiteralMapExpr(this,e)}}const eD=new _r(null,null,null),j_=new _r(null,yi,null);var Wi;!function(n){n[n.None=0]="None",n[n.Final=1]="Final",n[n.Private=2]="Private",n[n.Exported=4]="Exported",n[n.Static=8]="Static"}(Wi||(Wi={}));class LE{constructor(t,e,s){this.text=t,this.multiline=e,this.trailingNewline=s}toString(){return this.multiline?` ${this.text} `:this.text}}class AE extends LE{constructor(t){super("",!0,!0),this.tags=t}toString(){return function Z7(n){if(0===n.length)return"";if(1===n.length&&n[0].tagName&&!n[0].text)return`*${_N(n[0])} `;let t="*\n";for(const e of n)t+=" *",t+=_N(e).replace(/\n/g,"\n * "),t+="\n";return t+=" ",t}(this.tags)}}class Vp{constructor(t=Wi.None,e=null,s){this.modifiers=t,this.sourceSpan=e,this.leadingComments=s}hasModifier(t){return 0!=(this.modifiers&t)}addLeadingComment(t){var e;this.leadingComments=null!==(e=this.leadingComments)&&void 0!==e?e:[],this.leadingComments.push(t)}}class Na extends Vp{constructor(t,e,s,i,r,o){super(i,r,o),this.name=t,this.value=e,this.type=s||e&&e.type||null}isEquivalent(t){return t instanceof Na&&this.name===t.name&&(this.value?!!t.value&&this.value.isEquivalent(t.value):!t.value)}visitStatement(t,e){return t.visitDeclareVarStmt(this,e)}}class nD extends Vp{constructor(t,e,s,i,r,o,a){super(r,o,a),this.name=t,this.params=e,this.statements=s,this.type=i||null}isEquivalent(t){return t instanceof nD&&zi(this.params,t.params)&&zi(this.statements,t.statements)}visitStatement(t,e){return t.visitDeclareFunctionStmt(this,e)}}class Fa extends Vp{constructor(t,e,s){super(Wi.None,e,s),this.expr=t}isEquivalent(t){return t instanceof Fa&&this.expr.isEquivalent(t.expr)}visitStatement(t,e){return t.visitExpressionStmt(this,e)}}class ds extends Vp{constructor(t,e=null,s){super(Wi.None,e,s),this.value=t}isEquivalent(t){return t instanceof ds&&this.value.isEquivalent(t.value)}visitStatement(t,e){return t.visitReturnStmt(this,e)}}class sD extends Vp{constructor(t,e,s=[],i,r){super(Wi.None,i,r),this.condition=t,this.trueCase=e,this.falseCase=s}isEquivalent(t){return t instanceof sD&&this.condition.isEquivalent(t.condition)&&zi(this.trueCase,t.trueCase)&&zi(this.falseCase,t.falseCase)}visitStatement(t,e){return t.visitIfStmt(this,e)}}function fN(n=[]){return new AE(n)}function Ie(n,t,e){return new Np(n,t,e)}function Et(n,t=null,e){return new N_(n,null,t,e)}function Li(n,t,e){return new zo(n,t,e)}function IE(n){return new O_(n)}function Be(n,t,e){return new jp(n,t,e)}function Ai(n,t=null){return new H_(n.map(e=>new kE(e.key,e.value,e.quoted)),t,null)}function mN(n,t){return new Zw(n,t)}function Fs(n,t,e,s,i){return new Hp(n,t,e,s,i)}function iD(n,t,e,s,i){return new sD(n,t,e,s,i)}function PE(n,t,e,s){return new Qw(n,t,e,s)}function J(n,t,e){return new _r(n,t,e)}function gN(n,t,e,s,i){return new hN(n,t,e,s,i)}function OE(n){return n instanceof _r&&null===n.value}function _N(n){let t="";if(n.tagName&&(t+=` @${n.tagName}`),n.text){if(n.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');t+=" "+n.text.replace(/@/g,"\\@")}return t}const yN=Ie(""),vN={};class rD extends In{constructor(t){super(t.type),this.resolved=t,this.original=t}visitExpression(t,e){return e===vN?this.original.visitExpression(t,e):this.resolved.visitExpression(t,e)}isEquivalent(t){return t instanceof rD&&this.resolved.isEquivalent(t.resolved)}isConstant(){return!0}fixup(t){this.resolved=t,this.shared=!0}}class bN{constructor(t=!1){this.isClosureCompilerEnabled=t,this.statements=[],this.literals=new Map,this.literalFactories=new Map,this.nextNameIndex=0}getConstLiteral(t,e){if(t instanceof _r&&!wN(t)||t instanceof rD)return t;const s=this.keyOf(t);let i=this.literals.get(s),r=!1;if(i||(i=new rD(t),this.literals.set(s,i),r=!0),!r&&!i.shared||r&&e){const o=this.freshName();let a,l;this.isClosureCompilerEnabled&&wN(t)?(a=Ie(o).set(new Hp([],[new ds(t)])),l=Ie(o).callFn([])):(a=Ie(o).set(t),l=Ie(o)),this.statements.push(a.toDeclStmt(yi,Wi.Final)),i.fixup(l)}return i}getLiteralFactory(t){if(t instanceof jp){const e=t.entries.map(i=>i.isConstant()?i:yN),s=this.keyOf(Be(e));return this._getLiteralFactory(s,t.entries,i=>Be(i))}{const e=Ai(t.entries.map(i=>({key:i.key,value:i.value.isConstant()?i.value:yN,quoted:i.quoted}))),s=this.keyOf(e);return this._getLiteralFactory(s,t.entries.map(i=>i.value),i=>Ai(i.map((r,o)=>({key:t.entries[o].key,value:r,quoted:t.entries[o].quoted}))))}}_getLiteralFactory(t,e,s){let i=this.literalFactories.get(t);const r=e.filter(o=>!o.isConstant());if(!i){const o=e.map((u,h)=>u.isConstant()?this.getConstLiteral(u,!0):Ie(`a${h}`)),l=Fs(o.filter(sG).map(u=>new Ti(u.name,Zu)),[new ds(s(o))],yi),c=this.freshName();this.statements.push(Ie(c).set(l).toDeclStmt(yi,Wi.Final)),i=Ie(c),this.literalFactories.set(t,i)}return{literalFactory:i,literalFactoryArguments:r}}uniqueName(t){return`${t}${this.nextNameIndex++}`}freshName(){return this.uniqueName("_c")}keyOf(t){return t.visitExpression(new nG,vN)}}class nG{constructor(){this.visitWrappedNodeExpr=Ms,this.visitWriteVarExpr=Ms,this.visitWriteKeyExpr=Ms,this.visitWritePropExpr=Ms,this.visitInvokeFunctionExpr=Ms,this.visitTaggedTemplateExpr=Ms,this.visitInstantiateExpr=Ms,this.visitConditionalExpr=Ms,this.visitNotExpr=Ms,this.visitAssertNotNullExpr=Ms,this.visitCastExpr=Ms,this.visitFunctionExpr=Ms,this.visitUnaryOperatorExpr=Ms,this.visitBinaryOperatorExpr=Ms,this.visitReadPropExpr=Ms,this.visitReadKeyExpr=Ms,this.visitCommaExpr=Ms,this.visitLocalizedString=Ms}visitLiteralExpr(t){return`${"string"==typeof t.value?'"'+t.value+'"':t.value}`}visitLiteralArrayExpr(t,e){return`[${t.entries.map(s=>s.visitExpression(this,e)).join(",")}]`}visitLiteralMapExpr(t,e){return`{${t.entries.map(r=>`${(r=>{const o=r.quoted?'"':"";return`${o}${r.key}${o}`})(r)}:${r.value.visitExpression(this,e)}`).join(",")}`}visitExternalExpr(t){return t.value.moduleName?`EX:${t.value.moduleName}:${t.value.name}`:`EX:${t.value.runtime.name}`}visitReadVarExpr(t){return`VAR:${t.name}`}visitTypeofExpr(t,e){return`TYPEOF:${t.expr.visitExpression(this,e)}`}}function Ms(n){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${n.constructor.name}`)}function sG(n){return n instanceof Np}function wN(n){return n instanceof _r&&"string"==typeof n.value&&n.value.length>=50}const z="@angular/core";class x{}x.NEW_METHOD="factory",x.TRANSFORM_METHOD="transform",x.PATCH_DEPS="patchedDeps",x.core={name:null,moduleName:z},x.namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:z},x.namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:z},x.namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:z},x.element={name:"\u0275\u0275element",moduleName:z},x.elementStart={name:"\u0275\u0275elementStart",moduleName:z},x.elementEnd={name:"\u0275\u0275elementEnd",moduleName:z},x.advance={name:"\u0275\u0275advance",moduleName:z},x.syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:z},x.syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:z},x.attribute={name:"\u0275\u0275attribute",moduleName:z},x.attributeInterpolate1={name:"\u0275\u0275attributeInterpolate1",moduleName:z},x.attributeInterpolate2={name:"\u0275\u0275attributeInterpolate2",moduleName:z},x.attributeInterpolate3={name:"\u0275\u0275attributeInterpolate3",moduleName:z},x.attributeInterpolate4={name:"\u0275\u0275attributeInterpolate4",moduleName:z},x.attributeInterpolate5={name:"\u0275\u0275attributeInterpolate5",moduleName:z},x.attributeInterpolate6={name:"\u0275\u0275attributeInterpolate6",moduleName:z},x.attributeInterpolate7={name:"\u0275\u0275attributeInterpolate7",moduleName:z},x.attributeInterpolate8={name:"\u0275\u0275attributeInterpolate8",moduleName:z},x.attributeInterpolateV={name:"\u0275\u0275attributeInterpolateV",moduleName:z},x.classProp={name:"\u0275\u0275classProp",moduleName:z},x.elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:z},x.elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:z},x.elementContainer={name:"\u0275\u0275elementContainer",moduleName:z},x.styleMap={name:"\u0275\u0275styleMap",moduleName:z},x.styleMapInterpolate1={name:"\u0275\u0275styleMapInterpolate1",moduleName:z},x.styleMapInterpolate2={name:"\u0275\u0275styleMapInterpolate2",moduleName:z},x.styleMapInterpolate3={name:"\u0275\u0275styleMapInterpolate3",moduleName:z},x.styleMapInterpolate4={name:"\u0275\u0275styleMapInterpolate4",moduleName:z},x.styleMapInterpolate5={name:"\u0275\u0275styleMapInterpolate5",moduleName:z},x.styleMapInterpolate6={name:"\u0275\u0275styleMapInterpolate6",moduleName:z},x.styleMapInterpolate7={name:"\u0275\u0275styleMapInterpolate7",moduleName:z},x.styleMapInterpolate8={name:"\u0275\u0275styleMapInterpolate8",moduleName:z},x.styleMapInterpolateV={name:"\u0275\u0275styleMapInterpolateV",moduleName:z},x.classMap={name:"\u0275\u0275classMap",moduleName:z},x.classMapInterpolate1={name:"\u0275\u0275classMapInterpolate1",moduleName:z},x.classMapInterpolate2={name:"\u0275\u0275classMapInterpolate2",moduleName:z},x.classMapInterpolate3={name:"\u0275\u0275classMapInterpolate3",moduleName:z},x.classMapInterpolate4={name:"\u0275\u0275classMapInterpolate4",moduleName:z},x.classMapInterpolate5={name:"\u0275\u0275classMapInterpolate5",moduleName:z},x.classMapInterpolate6={name:"\u0275\u0275classMapInterpolate6",moduleName:z},x.classMapInterpolate7={name:"\u0275\u0275classMapInterpolate7",moduleName:z},x.classMapInterpolate8={name:"\u0275\u0275classMapInterpolate8",moduleName:z},x.classMapInterpolateV={name:"\u0275\u0275classMapInterpolateV",moduleName:z},x.styleProp={name:"\u0275\u0275styleProp",moduleName:z},x.stylePropInterpolate1={name:"\u0275\u0275stylePropInterpolate1",moduleName:z},x.stylePropInterpolate2={name:"\u0275\u0275stylePropInterpolate2",moduleName:z},x.stylePropInterpolate3={name:"\u0275\u0275stylePropInterpolate3",moduleName:z},x.stylePropInterpolate4={name:"\u0275\u0275stylePropInterpolate4",moduleName:z},x.stylePropInterpolate5={name:"\u0275\u0275stylePropInterpolate5",moduleName:z},x.stylePropInterpolate6={name:"\u0275\u0275stylePropInterpolate6",moduleName:z},x.stylePropInterpolate7={name:"\u0275\u0275stylePropInterpolate7",moduleName:z},x.stylePropInterpolate8={name:"\u0275\u0275stylePropInterpolate8",moduleName:z},x.stylePropInterpolateV={name:"\u0275\u0275stylePropInterpolateV",moduleName:z},x.nextContext={name:"\u0275\u0275nextContext",moduleName:z},x.resetView={name:"\u0275\u0275resetView",moduleName:z},x.templateCreate={name:"\u0275\u0275template",moduleName:z},x.text={name:"\u0275\u0275text",moduleName:z},x.enableBindings={name:"\u0275\u0275enableBindings",moduleName:z},x.disableBindings={name:"\u0275\u0275disableBindings",moduleName:z},x.getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:z},x.textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:z},x.textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:z},x.textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:z},x.textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:z},x.textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:z},x.textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:z},x.textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:z},x.textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:z},x.textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:z},x.textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:z},x.restoreView={name:"\u0275\u0275restoreView",moduleName:z},x.pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:z},x.pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:z},x.pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:z},x.pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:z},x.pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:z},x.pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:z},x.pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:z},x.pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:z},x.pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:z},x.pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:z},x.pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:z},x.pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:z},x.pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:z},x.pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:z},x.pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:z},x.hostProperty={name:"\u0275\u0275hostProperty",moduleName:z},x.property={name:"\u0275\u0275property",moduleName:z},x.propertyInterpolate={name:"\u0275\u0275propertyInterpolate",moduleName:z},x.propertyInterpolate1={name:"\u0275\u0275propertyInterpolate1",moduleName:z},x.propertyInterpolate2={name:"\u0275\u0275propertyInterpolate2",moduleName:z},x.propertyInterpolate3={name:"\u0275\u0275propertyInterpolate3",moduleName:z},x.propertyInterpolate4={name:"\u0275\u0275propertyInterpolate4",moduleName:z},x.propertyInterpolate5={name:"\u0275\u0275propertyInterpolate5",moduleName:z},x.propertyInterpolate6={name:"\u0275\u0275propertyInterpolate6",moduleName:z},x.propertyInterpolate7={name:"\u0275\u0275propertyInterpolate7",moduleName:z},x.propertyInterpolate8={name:"\u0275\u0275propertyInterpolate8",moduleName:z},x.propertyInterpolateV={name:"\u0275\u0275propertyInterpolateV",moduleName:z},x.i18n={name:"\u0275\u0275i18n",moduleName:z},x.i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:z},x.i18nExp={name:"\u0275\u0275i18nExp",moduleName:z},x.i18nStart={name:"\u0275\u0275i18nStart",moduleName:z},x.i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:z},x.i18nApply={name:"\u0275\u0275i18nApply",moduleName:z},x.i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:z},x.pipe={name:"\u0275\u0275pipe",moduleName:z},x.projection={name:"\u0275\u0275projection",moduleName:z},x.projectionDef={name:"\u0275\u0275projectionDef",moduleName:z},x.reference={name:"\u0275\u0275reference",moduleName:z},x.inject={name:"\u0275\u0275inject",moduleName:z},x.injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:z},x.directiveInject={name:"\u0275\u0275directiveInject",moduleName:z},x.invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:z},x.invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:z},x.templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:z},x.forwardRef={name:"forwardRef",moduleName:z},x.resolveForwardRef={name:"resolveForwardRef",moduleName:z},x.\u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:z},x.declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:z},x.InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:z},x.resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:z},x.resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:z},x.resolveBody={name:"\u0275\u0275resolveBody",moduleName:z},x.defineComponent={name:"\u0275\u0275defineComponent",moduleName:z},x.declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:z},x.setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:z},x.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:z},x.ViewEncapsulation={name:"ViewEncapsulation",moduleName:z},x.ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:z},x.FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:z},x.declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:z},x.FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:z},x.defineDirective={name:"\u0275\u0275defineDirective",moduleName:z},x.declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:z},x.DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:z},x.InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:z},x.InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:z},x.defineInjector={name:"\u0275\u0275defineInjector",moduleName:z},x.declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:z},x.NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:z},x.ModuleWithProviders={name:"ModuleWithProviders",moduleName:z},x.defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:z},x.declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:z},x.setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:z},x.registerNgModuleType={name:"\u0275\u0275registerNgModuleType",moduleName:z},x.PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:z},x.definePipe={name:"\u0275\u0275definePipe",moduleName:z},x.declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:z},x.declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:z},x.setClassMetadata={name:"\u0275setClassMetadata",moduleName:z},x.queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:z},x.viewQuery={name:"\u0275\u0275viewQuery",moduleName:z},x.loadQuery={name:"\u0275\u0275loadQuery",moduleName:z},x.contentQuery={name:"\u0275\u0275contentQuery",moduleName:z},x.NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:z},x.InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:z},x.CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:z},x.StandaloneFeature={name:"\u0275\u0275StandaloneFeature",moduleName:z},x.ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:z},x.listener={name:"\u0275\u0275listener",moduleName:z},x.getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:z},x.sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:z},x.sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:z},x.sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:z},x.sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:z},x.sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:z},x.sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:z},x.trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:z},x.trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:z};class oG{constructor(t=null){this.file=t,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}addSource(t,e=null){return this.sourcesContent.has(t)||this.sourcesContent.set(t,e),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(t,e,s,i){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=e&&!this.sourcesContent.has(e))throw new Error(`Unknown source file "${e}"`);if(null==t)throw new Error("The column in the generated code must be provided");if(t{t.set(c,u),e.push(c),s.push(this.sourcesContent.get(c)||null)});let i="",r=0,o=0,a=0,l=0;return this.lines.forEach(c=>{r=0,i+=c.map(u=>{let h=oD(u.col0-r);return r=u.col0,null!=u.sourceUrl&&(h+=oD(t.get(u.sourceUrl)-o),o=t.get(u.sourceUrl),h+=oD(u.sourceLine0-a),a=u.sourceLine0,h+=oD(u.sourceCol0-l),l=u.sourceCol0),h}).join(","),i+=";"}),i=i.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:e,sourcesContent:s,mappings:i}}toJsComment(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function aG(n){let t="";const e=bE(n);for(let s=0;s>2),t+=V_((3&i)<<4|(null===r?0:r>>4)),t+=null===r?"=":V_((15&r)<<2|(null===o?0:o>>6)),t+=null===r||null===o?"=":V_(63&o)}return t}(JSON.stringify(this,null,0)):""}}function oD(n){n=n<0?1+(-n<<1):n<<1;let t="";do{let e=31&n;(n>>=5)>0&&(e|=32),t+=V_(e)}while(n>0);return t}function V_(n){if(n<0||n>=64)throw new Error("Can only encode value in the range [0, 63]");return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[n]}const cG=/'|\\|\n|\r|\$/g,uG=/^[$A-Z_][0-9A-Z_$]*$/i;class DN{constructor(t){this.indent=t,this.partsLength=0,this.parts=[],this.srcSpans=[]}}class NE{constructor(t){this._indent=t,this._lines=[new DN(t)]}static createRoot(){return new NE(0)}get _currentLine(){return this._lines[this._lines.length-1]}println(t,e=""){this.print(t||null,e,!0)}lineIsEmpty(){return 0===this._currentLine.parts.length}lineLength(){return this._currentLine.indent*" ".length+this._currentLine.partsLength}print(t,e,s=!1){e.length>0&&(this._currentLine.parts.push(e),this._currentLine.partsLength+=e.length,this._currentLine.srcSpans.push(t&&t.sourceSpan||null)),s&&this._lines.push(new DN(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}toSource(){return this.sourceLines.map(t=>t.parts.length>0?MN(t.indent)+t.parts.join(""):"").join("\n")}toSourceMapGenerator(t,e=0){const s=new oG(t);let i=!1;const r=()=>{i||(s.addSource(t," ").addMapping(0,t,0,0),i=!0)};for(let o=0;o{s.addLine();const l=o.srcSpans,c=o.parts;let u=o.indent*" ".length,h=0;for(;hi)return s.srcSpans[r];i-=o.length}}return null}get sourceLines(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines}}function nd(n,t,e=!0){if(null==n)return null;const s=n.replace(cG,(...r)=>"$"==r[0]?t?"\\$":"$":"\n"==r[0]?"\\n":"\r"==r[0]?"\\r":`\\${r[0]}`);return e||!uG.test(s)?`'${s}'`:s}function MN(n){let t="";for(let e=0;es.value));return t?Fs([],[new ds(e)]):e}function FE(n,t){return{expression:n,forwardRef:t}}function Bp({expression:n,forwardRef:t}){switch(t){case 0:case 1:return n;case 2:return kN(n)}}function kN(n){return Et(x.forwardRef).callFn([Fs([],[new ds(n)])])}var B_,io;function sd(n){const t=Ie("t");let e=null;const s=AN(n)?t:new Cn(Wt.Or,t,n.internalType);let i=null;null!==n.deps?"invalid"!==n.deps&&(i=new Fp(s,LN(n.deps,n.target))):(e=Ie(`\u0275${n.name}_BaseFactory`),i=e.callFn([s]));const r=[];let o=null;function a(c){const u=Ie("r");r.push(u.set(eD).toDeclStmt());const h=null!==i?u.set(i).toStmt():Et(x.invalidFactory).callFn([]).toStmt();return r.push(iD(t,[h],[u.set(c).toStmt()])),u}if(AN(n)){const c=LN(n.delegateDeps,n.target);o=a(new(n.delegateType===B_.Class?Fp:ed)(n.delegate,c))}else o=function vG(n){return void 0!==n.expression}(n)?a(n.expression):i;if(null===o)r.push(Et(x.invalidFactory).callFn([]).toStmt());else if(null!==e){const c=Et(x.getInheritedFactory).callFn([n.internalType]),u=new Cn(Wt.Or,e,e.set(c));r.push(new ds(u.callFn([s])))}else r.push(new ds(o));let l=Fs([new Ti("t",Zu)],r,yi,void 0,`${n.name}_Factory`);return null!==e&&(l=Fs([],[new Na(e.name),new ds(l)]).callFn([],void 0,!0)),{expression:l,statements:[],type:TN(n)}}function TN(n){const t=null!==n.deps&&"invalid"!==n.deps?function _G(n){let t=!1;const e=n.map(s=>{const i=function yG(n){const t=[];return null!==n.attributeNameType&&t.push({key:"attribute",value:n.attributeNameType,quoted:!1}),n.optional&&t.push({key:"optional",value:J(!0),quoted:!1}),n.host&&t.push({key:"host",value:J(!0),quoted:!1}),n.self&&t.push({key:"self",value:J(!0),quoted:!1}),n.skipSelf&&t.push({key:"skipSelf",value:J(!0),quoted:!1}),t.length>0?Ai(t):null}(s);return null!==i?(t=!0,i):J(null)});return t?Li(Be(e)):Dc}(n.deps):Dc;return Li(Et(x.FactoryDeclaration,[aD(n.type.type,n.typeArgumentCount),t]))}function LN(n,t){return n.map((e,s)=>function gG(n,t,e){if(null===n.token)return Et(x.invalidFactoryDep).callFn([J(e)]);if(null===n.attributeNameType){const s=0|(n.self?2:0)|(n.skipSelf?4:0)|(n.host?1:0)|(n.optional?8:0)|(t===io.Pipe?16:0);let i=0!==s||n.optional?J(s):null;const r=[n.token];i&&r.push(i);const o=function bG(n){switch(n){case io.Component:case io.Directive:case io.Pipe:return x.directiveInject;case io.NgModule:case io.Injectable:default:return x.inject}}(t);return Et(o).callFn(r)}return Et(x.injectAttribute).callFn([n.token])}(e,t,s))}function AN(n){return void 0!==n.delegateType}!function(n){n[n.Class=0]="Class",n[n.Function=1]="Function"}(B_||(B_={})),function(n){n[n.Directive=0]="Directive",n[n.Component=1]="Component",n[n.Injectable=2]="Injectable",n[n.Pipe=3]="Pipe",n[n.NgModule=4]="NgModule"}(io||(io={}));class wG{constructor(t,e){this.value=t,this.sourceSpan=e}visit(t){throw new Error("visit() not implemented for Comment")}}class lD{constructor(t,e){this.value=t,this.sourceSpan=e}visit(t){return t.visitText(this)}}class YE{constructor(t,e,s){this.value=t,this.sourceSpan=e,this.i18n=s}visit(t){return t.visitBoundText(this)}}class HE{constructor(t,e,s,i,r,o){this.name=t,this.value=e,this.sourceSpan=s,this.keySpan=i,this.valueSpan=r,this.i18n=o}visit(t){return t.visitTextAttribute(this)}}class cD{constructor(t,e,s,i,r,o,a,l,c){this.name=t,this.type=e,this.securityContext=s,this.value=i,this.unit=r,this.sourceSpan=o,this.keySpan=a,this.valueSpan=l,this.i18n=c}static fromBoundElementProperty(t,e){if(void 0===t.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${t.name}: ${t.sourceSpan}`);return new cD(t.name,t.type,t.securityContext,t.value,t.unit,t.sourceSpan,t.keySpan,t.valueSpan,e)}visit(t){return t.visitBoundAttribute(this)}}class uD{constructor(t,e,s,i,r,o,a,l){this.name=t,this.type=e,this.handler=s,this.target=i,this.phase=r,this.sourceSpan=o,this.handlerSpan=a,this.keySpan=l}static fromParsedEvent(t){const e=0===t.type?t.targetOrPhase:null,s=1===t.type?t.targetOrPhase:null;if(void 0===t.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${t.name}: ${t.sourceSpan}`);return new uD(t.name,t.type,t.handler,e,s,t.sourceSpan,t.handlerSpan,t.keySpan)}visit(t){return t.visitBoundEvent(this)}}class U_{constructor(t,e,s,i,r,o,a,l,c,u){this.name=t,this.attributes=e,this.inputs=s,this.outputs=i,this.children=r,this.references=o,this.sourceSpan=a,this.startSourceSpan=l,this.endSourceSpan=c,this.i18n=u}visit(t){return t.visitElement(this)}}class Ya{constructor(t,e,s,i,r,o,a,l,c,u,h,m){this.tagName=t,this.attributes=e,this.inputs=s,this.outputs=i,this.templateAttrs=r,this.children=o,this.references=a,this.variables=l,this.sourceSpan=c,this.startSourceSpan=u,this.endSourceSpan=h,this.i18n=m}visit(t){return t.visitTemplate(this)}}class DG{constructor(t,e,s,i){this.selector=t,this.attributes=e,this.sourceSpan=s,this.i18n=i,this.name="ng-content"}visit(t){return t.visitContent(this)}}class IN{constructor(t,e,s,i,r){this.name=t,this.value=e,this.sourceSpan=s,this.keySpan=i,this.valueSpan=r}visit(t){return t.visitVariable(this)}}class MG{constructor(t,e,s,i,r){this.name=t,this.value=e,this.sourceSpan=s,this.keySpan=i,this.valueSpan=r}visit(t){return t.visitReference(this)}}class PN{constructor(t,e,s,i){this.vars=t,this.placeholders=e,this.sourceSpan=s,this.i18n=i}visit(t){return t.visitIcu(this)}}function qi(n,t){const e=[];if(n.visit)for(const s of t){n.visit(s)||s.visit(n)}else for(const s of t){const i=s.visit(n);i&&e.push(i)}return e}class Ha{constructor(t,e,s,i,r,o){this.nodes=t,this.placeholders=e,this.placeholderToMessage=s,this.meaning=i,this.description=r,this.customId=o,this.id=this.customId,this.legacyIds=[],this.messageString=function SG(n){const t=new CG;return n.map(s=>s.visit(t)).join("")}(this.nodes),t.length?this.sources=[{filePath:t[0].sourceSpan.start.file.url,startLine:t[0].sourceSpan.start.line+1,startCol:t[0].sourceSpan.start.col+1,endLine:t[t.length-1].sourceSpan.end.line+1,endCol:t[0].sourceSpan.start.col+1}]:this.sources=[]}}class ja{constructor(t,e){this.value=t,this.sourceSpan=e}visit(t,e){return t.visitText(this,e)}}class Va{constructor(t,e){this.children=t,this.sourceSpan=e}visit(t,e){return t.visitContainer(this,e)}}class Up{constructor(t,e,s,i){this.expression=t,this.type=e,this.cases=s,this.sourceSpan=i}visit(t,e){return t.visitIcu(this,e)}}class jE{constructor(t,e,s,i,r,o,a,l,c){this.tag=t,this.attrs=e,this.startName=s,this.closeName=i,this.children=r,this.isVoid=o,this.sourceSpan=a,this.startSourceSpan=l,this.endSourceSpan=c}visit(t,e){return t.visitTagPlaceholder(this,e)}}class Ba{constructor(t,e,s){this.value=t,this.name=e,this.sourceSpan=s}visit(t,e){return t.visitPlaceholder(this,e)}}class $p{constructor(t,e,s){this.value=t,this.name=e,this.sourceSpan=s}visit(t,e){return t.visitIcuPlaceholder(this,e)}}class CG{visitText(t){return t.value}visitContainer(t){return t.children.map(e=>e.visit(this)).join("")}visitIcu(t){const e=Object.keys(t.cases).map(s=>`${s} {${t.cases[s].visit(this)}}`);return`{${t.expressionPlaceholder}, ${t.type}, ${e.join(" ")}}`}visitTagPlaceholder(t){const e=t.children.map(s=>s.visit(this)).join("");return`{$${t.startName}}${e}{$${t.closeName}}`}visitPlaceholder(t){return`{$${t.name}}`}visitIcuPlaceholder(t){return`{$${t.name}}`}}new class xG{visitTag(t){const e=this._serializeAttributes(t.attrs);if(0==t.children.length)return`<${t.name}${e}/>`;const s=t.children.map(i=>i.visit(this));return`<${t.name}${e}>${s.join("")}`}visitText(t){return t.value}visitDeclaration(t){return``}_serializeAttributes(t){const e=Object.keys(t).map(s=>`${s}="${t[s]}"`).join(" ");return e.length>0?" "+e:""}visitDoctype(t){return``}};function UE(n){return n.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}const $E="i18n-";function HN(n){return"i18n"===n||n.startsWith($E)}function W_(n){return n instanceof Ha}function hD(n){return W_(n)&&1===n.nodes.length&&n.nodes[0]instanceof Up}function jG(n){return!!n.i18n}function jN(n){return n.nodes[0]}function pD(n,t=0){return`\ufffd${n}${t>0?`:${t}`:""}\ufffd`}function UG(n=0){let t=n;return()=>t++}function VN(n){const t={};return n.forEach((e,s)=>{t[s]=J(e.length>1?`[${e.join("|")}]`:e[0])}),t}function fD(n,t,...e){const s=n.get(t)||[];s.push(...e),n.set(t,s)}function BN(n,t=0,e=0){const s=t,i=new Map,r=n instanceof Ha?n.nodes.find(o=>o instanceof Va):n;return r&&r.children.filter(o=>o instanceof Ba).forEach((o,a)=>{const l=pD(s+a,e);fD(i,o.name,l)}),i}function zE(n={},t){const e={};return n&&Object.keys(n).length&&Object.keys(n).forEach(s=>e[q_(s,t)]=n[s]),e}function q_(n,t=!0){const e=UE(n);if(!t)return e;const s=e.split("_");if(1===s.length)return n.toLowerCase();let i;/^\d+$/.test(s[s.length-1])&&(i=s.pop());let r=s.shift().toLowerCase();return s.length&&(r+=s.map(o=>o.charAt(0).toUpperCase()+o.slice(1).toLowerCase()).join("")),i?`${r}_${i}`:r}function UN(n){return`MSG_${n}`.toUpperCase()}function $G(n){return new Na(n.name,void 0,yi,void 0,n.sourceSpan)}const zG=/[-.]/,WE="_t",ro="ctx",G_="rf",$N="restoredCtx",QG=new Set([x.element,x.elementStart,x.elementEnd,x.elementContainer,x.elementContainerStart,x.elementContainerEnd,x.i18nExp,x.listener,x.classProp,x.syntheticHostListener,x.hostProperty,x.syntheticHostProperty,x.property,x.propertyInterpolate1,x.propertyInterpolate2,x.propertyInterpolate3,x.propertyInterpolate4,x.propertyInterpolate5,x.propertyInterpolate6,x.propertyInterpolate7,x.propertyInterpolate8,x.propertyInterpolateV,x.attribute,x.attributeInterpolate1,x.attributeInterpolate2,x.attributeInterpolate3,x.attributeInterpolate4,x.attributeInterpolate5,x.attributeInterpolate6,x.attributeInterpolate7,x.attributeInterpolate8,x.attributeInterpolateV,x.styleProp,x.stylePropInterpolate1,x.stylePropInterpolate2,x.stylePropInterpolate3,x.stylePropInterpolate4,x.stylePropInterpolate5,x.stylePropInterpolate6,x.stylePropInterpolate7,x.stylePropInterpolate8,x.stylePropInterpolateV,x.textInterpolate,x.textInterpolate1,x.textInterpolate2,x.textInterpolate3,x.textInterpolate4,x.textInterpolate5,x.textInterpolate6,x.textInterpolate7,x.textInterpolate8,x.textInterpolateV]);function id(n,t,e){return Et(t,null,n).callFn(e,n)}function zN(n,t){let e=null;return()=>(e||(n.push(new Na("_t",void 0,Zu)),e=Ie(t)),e)}function K_(n){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${n.constructor.name}`)}function vr(n){return Array.isArray(n)?Be(n.map(vr)):J(n,yi)}function mD(n,t){return Object.getOwnPropertyNames(n).length>0?function JG(n,t){return Ai(Object.getOwnPropertyNames(n).map(e=>{const s=n[e];let i,r,o,a;return Array.isArray(s)?([r,i]=s,o=e,a=r!==i):([i,r]=GR(e,[e,s]),o=i,a=r!==i&&e.includes(":")),{key:o,quoted:zG.test(o),value:t&&a?Be([vr(r),vr(i)]):vr(r)}}))}(n,t):null}function qE(n){for(;OE(n[n.length-1]);)n.pop();return n}function XG(n,t){if(Array.isArray(n.predicate)){let e=[];return n.predicate.forEach(s=>{const i=s.split(",").map(r=>J(r.trim()));e.push(...i)}),t.getConstLiteral(Be(e),!0)}switch(n.predicate.forwardRef){case 0:case 2:return n.predicate.expression;case 1:return Et(x.resolveForwardRef).callFn([n.predicate.expression])}}class hs{constructor(){this.values=[]}set(t,e){e&&this.values.push({key:t,value:e,quoted:!1})}toLiteralMap(){return Ai(this.values)}}function rd(n){const{expressions:t,strings:e}=n;return 1===t.length&&2===e.length&&""===e[0]&&""===e[1]?1:t.length+e.length}function gD(n){const t=[];let e=null,s=null,i=0;for(const o of n){var r;const a=null!==(r="function"==typeof o.paramsOrFn?o.paramsOrFn():o.paramsOrFn)&&void 0!==r?r:[],l=Array.isArray(a)?a:[a];i<500&&s===o.reference&&QG.has(s)?(e=e.callFn(l,e.sourceSpan),i++):(null!==e&&t.push(e.toStmt()),e=id(o.span,o.reference,l),s=o.reference,i=0)}return null!==e&&t.push(e.toStmt()),t}function WN(n,t){let e=null;const s={name:n.name,type:n.type,internalType:n.internalType,typeArgumentCount:n.typeArgumentCount,deps:[],target:io.Injectable};if(void 0!==n.useClass){const a=n.useClass.expression.isEquivalent(n.internalType);let l;void 0!==n.deps&&(l=n.deps),e=void 0!==l?sd({...s,delegate:n.useClass.expression,delegateDeps:l,delegateType:B_.Class}):a?sd(s):{statements:[],expression:GN(n.type.value,n.useClass.expression,t)}}else e=void 0!==n.useFactory?void 0!==n.deps?sd({...s,delegate:n.useFactory,delegateDeps:n.deps||[],delegateType:B_.Function}):{statements:[],expression:Fs([],[new ds(n.useFactory.callFn([]))])}:void 0!==n.useValue?sd({...s,expression:n.useValue.expression}):void 0!==n.useExisting?sd({...s,expression:Et(x.inject).callFn([n.useExisting.expression])}):{statements:[],expression:GN(n.type.value,n.internalType,t)};const i=n.internalType,r=new hs;return r.set("token",i),r.set("factory",e.expression),null!==n.providedIn.expression.value&&r.set("providedIn",Bp(n.providedIn)),{expression:Et(x.\u0275\u0275defineInjectable).callFn([r.toLiteralMap()],void 0,!0),type:qN(n),statements:e.statements}}function qN(n){return new zo(Et(x.InjectableDeclaration,[aD(n.type.type,n.typeArgumentCount)]))}function GN(n,t,e){if(n.node===t.node)return t.prop("\u0275fac");if(!e)return KN(t);return KN(Et(x.resolveForwardRef).callFn([t]))}function KN(n){return Fs([new Ti("t",Zu)],[new ds(n.prop("\u0275fac").callFn([Ie("t")]))])}const tK=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];class _D{constructor(t,e){this.start=t,this.end=e}static fromArray(t){return t?(function eK(n,t){if(null!=t&&(!Array.isArray(t)||2!=t.length))throw new Error(`Expected '${n}' to be an array, [start, end].`);if(null!=t){const e=t[0],s=t[1];tK.forEach(i=>{if(i.test(e)||i.test(s))throw new Error(`['${e}', '${s}'] contains unusable interpolation symbol.`)})}}("interpolation",t),new _D(t[0],t[1])):br}}const br=new _D("{{","}}"),Cc=123,Wo=125;function ek(n){return n>=9&&n<=32||160==n}function xc(n){return 48<=n&&n<=57}function nk(n){return n>=97&&n<=122||n>=65&&n<=90}function hF(n){return 10===n||13===n}function pF(n){return 48<=n&&n<=55}function sk(n){return 39===n||34===n||96===n}class ld{constructor(t,e,s,i){this.file=t,this.offset=e,this.line=s,this.col=i}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){const e=this.file.content,s=e.length;let i=this.offset,r=this.line,o=this.col;for(;i>0&&t<0;)if(i--,t++,10==e.charCodeAt(i)){r--;const l=e.substring(0,i-1).lastIndexOf(String.fromCharCode(10));o=l>0?i-l:i}else o--;for(;i0;){const a=e.charCodeAt(i);i++,t--,10==a?(r++,o=0):o++}return new ld(this.file,i,r,o)}getContext(t,e){const s=this.file.content;let i=this.offset;if(null!=i){i>s.length-1&&(i=s.length-1);let r=i,o=0,a=0;for(;o0&&(i--,o++,"\n"!=s[i]||++a!=e););for(o=0,a=0;o]${t.after}")`:this.msg}toString(){const t=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${t}`}}let mK=0;function Kp(n){return n.replace(/\W/g,"_")}const fF='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';let DD;function vK(n){var t;return(null===(t=function yK(){if(void 0===DD&&(DD=null,Pp.trustedTypes))try{DD=Pp.trustedTypes.createPolicy("angular#unsafe-jit",{createScript:n=>n})}catch{}return DD}())||void 0===t?void 0:t.createScript(n))||n}function mF(...n){if(!Pp.trustedTypes)return new Function(...n);const s=`(function anonymous(${n.slice(0,-1).join(",")}\n) { ${n[n.length-1]}\n})`,i=Pp.eval(vK(s));return void 0===i.bind?new Function(...n):(i.toString=()=>s,i.bind(Pp))}class bK{evaluateStatements(t,e,s,i){const r=new wK(s),o=NE.createRoot();return e.length>0&&!function DK(n){return n.isEquivalent(J("use strict").toStmt())}(e[0])&&(e=[J("use strict").toStmt(),...e]),r.visitAllStatements(e,o),r.createReturnStmt(o),this.evaluateCode(t,o,r.getArgs(),i)}evaluateCode(t,e,s,i){let r=`"use strict";${e.toSource()}\n//# sourceURL=${t}`;const o=[],a=[];for(const c in s)a.push(s[c]),o.push(c);if(i){const c=mF(...o.concat("return null;")).toString(),u=c.slice(0,c.indexOf("return null;")).split("\n").length-1;r+=`\n${e.toSourceMapGenerator(t,u).toJsComment()}`}const l=mF(...o.concat(r));return this.executeFunction(l,a)}executeFunction(t,e){return t(...e)}}class wK extends class _K extends class dG{constructor(t){this._escapeDollarInStrings=t}printLeadingComments(t,e){if(void 0!==t.leadingComments)for(const s of t.leadingComments)s instanceof AE?e.print(t,`/*${s.toString()}*/`,s.trailingNewline):s.multiline?e.print(t,`/* ${s.text} */`,s.trailingNewline):s.text.split("\n").forEach(i=>{e.println(t,`// ${i}`)})}visitExpressionStmt(t,e){return this.printLeadingComments(t,e),t.expr.visitExpression(this,e),e.println(t,";"),null}visitReturnStmt(t,e){return this.printLeadingComments(t,e),e.print(t,"return "),t.value.visitExpression(this,e),e.println(t,";"),null}visitIfStmt(t,e){this.printLeadingComments(t,e),e.print(t,"if ("),t.condition.visitExpression(this,e),e.print(t,") {");const s=null!=t.falseCase&&t.falseCase.length>0;return t.trueCase.length<=1&&!s?(e.print(t," "),this.visitAllStatements(t.trueCase,e),e.removeEmptyLastLine(),e.print(t," ")):(e.println(),e.incIndent(),this.visitAllStatements(t.trueCase,e),e.decIndent(),s&&(e.println(t,"} else {"),e.incIndent(),this.visitAllStatements(t.falseCase,e),e.decIndent())),e.println(t,"}"),null}visitWriteVarExpr(t,e){const s=e.lineIsEmpty();return s||e.print(t,"("),e.print(t,`${t.name} = `),t.value.visitExpression(this,e),s||e.print(t,")"),null}visitWriteKeyExpr(t,e){const s=e.lineIsEmpty();return s||e.print(t,"("),t.receiver.visitExpression(this,e),e.print(t,"["),t.index.visitExpression(this,e),e.print(t,"] = "),t.value.visitExpression(this,e),s||e.print(t,")"),null}visitWritePropExpr(t,e){const s=e.lineIsEmpty();return s||e.print(t,"("),t.receiver.visitExpression(this,e),e.print(t,`.${t.name} = `),t.value.visitExpression(this,e),s||e.print(t,")"),null}visitInvokeFunctionExpr(t,e){return t.fn.visitExpression(this,e),e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null}visitTaggedTemplateExpr(t,e){t.tag.visitExpression(this,e),e.print(t,"`"+t.template.elements[0].rawText);for(let s=1;s{e.print(t,`${nd(s.key,this._escapeDollarInStrings,s.quoted)}:`),s.value.visitExpression(this,e)},t.entries,e,","),e.print(t,"}"),null}visitCommaExpr(t,e){return e.print(t,"("),this.visitAllExpressions(t.parts,e,","),e.print(t,")"),null}visitAllExpressions(t,e,s){this.visitAllObjects(i=>i.visitExpression(this,e),t,e,s)}visitAllObjects(t,e,s,i){let r=!1;for(let o=0;o0&&(s.lineLength()>80?(s.print(null,i,!0),r||(s.incIndent(),s.incIndent(),r=!0)):s.print(null,i,!1)),t(e[o]);r&&(s.decIndent(),s.decIndent())}visitAllStatements(t,e){t.forEach(s=>s.visitStatement(this,e))}}{constructor(){super(!1)}visitWrappedNodeExpr(t,e){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitDeclareVarStmt(t,e){return e.print(t,`var ${t.name}`),t.value&&(e.print(t," = "),t.value.visitExpression(this,e)),e.println(t,";"),null}visitTaggedTemplateExpr(t,e){const s=t.template.elements;return t.tag.visitExpression(this,e),e.print(t,`(${fF}(`),e.print(t,`[${s.map(i=>nd(i.text,!1)).join(", ")}], `),e.print(t,`[${s.map(i=>nd(i.rawText,!1)).join(", ")}])`),t.template.expressions.forEach(i=>{e.print(t,", "),i.visitExpression(this,e)}),e.print(t,")"),null}visitFunctionExpr(t,e){return e.print(t,`function${t.name?" "+t.name:""}(`),this._visitParams(t.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print(t,"}"),null}visitDeclareFunctionStmt(t,e){return e.print(t,`function ${t.name}(`),this._visitParams(t.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println(t,"}"),null}visitLocalizedString(t,e){e.print(t,`$localize(${fF}(`);const s=[t.serializeI18nHead()];for(let i=1;ind(i.cooked,!1)).join(", ")}], `),e.print(t,`[${s.map(i=>nd(i.raw,!1)).join(", ")}])`),t.expressions.forEach(i=>{e.print(t,", "),i.visitExpression(this,e)}),e.print(t,")"),null}_visitParams(t,e){this.visitAllObjects(s=>e.print(null,s.name),t,e,",")}}{constructor(t){super(),this.refResolver=t,this._evalArgNames=[],this._evalArgValues=[],this._evalExportedVars=[]}createReturnStmt(t){new ds(new H_(this._evalExportedVars.map(s=>new kE(s,Ie(s),!1)))).visitStatement(this,t)}getArgs(){const t={};for(let e=0;e=0?(e="anonymous_"+mK++,t.__anonymousType=e):e=Kp(e),e}({reference:e})||"val";this._evalArgNames.push(`jit_${r}_${i}`)}s.print(t,this._evalArgNames[i])}}function gF(n){const t=new hs;null!==n.providers&&t.set("providers",n.providers),n.imports.length>0&&t.set("imports",Be(n.imports));return{expression:Et(x.defineInjector).callFn([t.toLiteralMap()],void 0,!0),type:_F(n),statements:[]}}function _F(n){return new zo(Et(x.InjectorDeclaration,[new zo(n.type.type)]))}class MK{constructor(t){this.context=t}resolveExternalReference(t){if("@angular/core"!==t.moduleName)throw new Error(`Cannot resolve external reference to ${t.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(t.name))throw new Error(`No value provided for @angular/core symbol '${t.name}'.`);return this.context[t.name]}}var sy,Ec,cd,nn;function SK(n){const{adjacentType:t,internalType:e,bootstrap:s,declarations:i,imports:r,exports:o,schemas:a,containsForwardDecls:l,selectorScopeMode:c,id:u}=n,h=[],m=new hs;if(m.set("type",e),s.length>0&&m.set("bootstrap",so(s,l)),c===sy.Inline)i.length>0&&m.set("declarations",so(i,l)),r.length>0&&m.set("imports",so(r,l)),o.length>0&&m.set("exports",so(o,l));else if(c===sy.SideEffect){const C=function xK(n){const{adjacentType:t,declarations:e,imports:s,exports:i,containsForwardDecls:r}=n,o=new hs;if(e.length>0&&o.set("declarations",so(e,r)),s.length>0&&o.set("imports",so(s,r)),i.length>0&&o.set("exports",so(i,r)),0===Object.keys(o.values).length)return null;const l=function fG(n){return EN("ngJitMode",n)}(new ed(Et(x.setNgModuleScope),[t,o.toLiteralMap()])),c=new Hp([],[l.toStmt()]);return new ed(c,[]).toStmt()}(n);null!==C&&h.push(C)}null!==a&&a.length>0&&m.set("schemas",Be(a.map(C=>C.value))),null!==u&&(m.set("id",u),h.push(Et(x.registerNgModuleType).callFn([t,u]).toStmt()));return{expression:Et(x.defineNgModule).callFn([m.toLiteralMap()],void 0,!0),type:yF(n),statements:h}}function yF({type:n,declarations:t,imports:e,exports:s}){return new zo(Et(x.NgModuleDeclaration,[new zo(n.type),rk(t),rk(e),rk(s)]))}function rk(n){const t=n.map(e=>IE(e.type));return n.length>0?Li(Be(t)):Dc}function vF(n){const t=[];t.push({key:"name",value:J(n.pipeName),quoted:!1}),t.push({key:"type",value:n.type.value,quoted:!1}),t.push({key:"pure",value:J(n.pure),quoted:!1}),n.isStandalone&&t.push({key:"standalone",value:J(!0),quoted:!1});return{expression:Et(x.definePipe).callFn([Ai(t)],void 0,!0),type:bF(n),statements:[]}}function bF(n){return new zo(Et(x.PipeDeclaration,[aD(n.type.type,n.typeArgumentCount),new zo(new _r(n.pipeName)),new zo(new _r(n.isStandalone))]))}!function(n){n[n.Inline=0]="Inline",n[n.SideEffect=1]="SideEffect",n[n.Omit=2]="Omit"}(sy||(sy={})),function(n){n[n.Directive=0]="Directive",n[n.Pipe=1]="Pipe",n[n.NgModule=2]="NgModule"}(Ec||(Ec={}));class ok{constructor(t,e,s,i){this.input=e,this.errLocation=s,this.ctxLocation=i,this.message=`Parser Error: ${t} ${s} [${e}] in ${i}`}}class iy{constructor(t,e){this.start=t,this.end=e}toAbsolute(t){return new oo(t+this.start,t+this.end)}}class ps{constructor(t,e){this.span=t,this.sourceSpan=e}toString(){return"AST"}}class MD extends ps{constructor(t,e,s){super(t,e),this.nameSpan=s}}class wr extends ps{visit(t,e=null){}}class Qp extends ps{visit(t,e=null){return t.visitImplicitReceiver(this,e)}}class ak extends Qp{visit(t,e=null){var s;return null===(s=t.visitThisReceiver)||void 0===s?void 0:s.call(t,this,e)}}class lk extends ps{constructor(t,e,s){super(t,e),this.expressions=s}visit(t,e=null){return t.visitChain(this,e)}}class ck extends ps{constructor(t,e,s,i,r){super(t,e),this.condition=s,this.trueExp=i,this.falseExp=r}visit(t,e=null){return t.visitConditional(this,e)}}class kc extends MD{constructor(t,e,s,i,r){super(t,e,s),this.receiver=i,this.name=r}visit(t,e=null){return t.visitPropertyRead(this,e)}}class uk extends MD{constructor(t,e,s,i,r,o){super(t,e,s),this.receiver=i,this.name=r,this.value=o}visit(t,e=null){return t.visitPropertyWrite(this,e)}}class dk extends MD{constructor(t,e,s,i,r){super(t,e,s),this.receiver=i,this.name=r}visit(t,e=null){return t.visitSafePropertyRead(this,e)}}class SD extends ps{constructor(t,e,s,i){super(t,e),this.receiver=s,this.key=i}visit(t,e=null){return t.visitKeyedRead(this,e)}}class CD extends ps{constructor(t,e,s,i){super(t,e),this.receiver=s,this.key=i}visit(t,e=null){return t.visitSafeKeyedRead(this,e)}}class hk extends ps{constructor(t,e,s,i,r){super(t,e),this.receiver=s,this.key=i,this.value=r}visit(t,e=null){return t.visitKeyedWrite(this,e)}}class xD extends MD{constructor(t,e,s,i,r,o){super(t,e,o),this.exp=s,this.name=i,this.args=r}visit(t,e=null){return t.visitPipe(this,e)}}class Gi extends ps{constructor(t,e,s){super(t,e),this.value=s}visit(t,e=null){return t.visitLiteralPrimitive(this,e)}}class ED extends ps{constructor(t,e,s){super(t,e),this.expressions=s}visit(t,e=null){return t.visitLiteralArray(this,e)}}class pk extends ps{constructor(t,e,s,i){super(t,e),this.keys=s,this.values=i}visit(t,e=null){return t.visitLiteralMap(this,e)}}class vi extends ps{constructor(t,e,s,i){super(t,e),this.strings=s,this.expressions=i}visit(t,e=null){return t.visitInterpolation(this,e)}}class qo extends ps{constructor(t,e,s,i,r){super(t,e),this.operation=s,this.left=i,this.right=r}visit(t,e=null){return t.visitBinary(this,e)}}class qa extends qo{constructor(t,e,s,i,r,o,a){super(t,e,r,o,a),this.operator=s,this.expr=i,this.left=null,this.right=null,this.operation=null}static createMinus(t,e,s){return new qa(t,e,"-",s,"-",new Gi(t,e,0),s)}static createPlus(t,e,s){return new qa(t,e,"+",s,"-",s,new Gi(t,e,0))}visit(t,e=null){return void 0!==t.visitUnary?t.visitUnary(this,e):t.visitBinary(this,e)}}class fk extends ps{constructor(t,e,s){super(t,e),this.expression=s}visit(t,e=null){return t.visitPrefixNot(this,e)}}class mk extends ps{constructor(t,e,s){super(t,e),this.expression=s}visit(t,e=null){return t.visitNonNullAssert(this,e)}}class Jp extends ps{constructor(t,e,s,i,r){super(t,e),this.receiver=s,this.args=i,this.argumentSpan=r}visit(t,e=null){return t.visitCall(this,e)}}class kD extends ps{constructor(t,e,s,i,r){super(t,e),this.receiver=s,this.args=i,this.argumentSpan=r}visit(t,e=null){return t.visitSafeCall(this,e)}}class oo{constructor(t,e){this.start=t,this.end=e}}class Tc extends ps{constructor(t,e,s,i,r){super(new iy(0,null===e?0:e.length),new oo(i,null===e?i:i+e.length)),this.ast=t,this.source=e,this.location=s,this.errors=r}visit(t,e=null){return t.visitASTWithSource?t.visitASTWithSource(this,e):this.ast.visit(t,e)}toString(){return`${this.source} in ${this.location}`}}class gk{constructor(t,e,s){this.sourceSpan=t,this.key=e,this.value=s}}class EK{constructor(t,e,s){this.sourceSpan=t,this.key=e,this.value=s}}class _k{constructor(t,e,s,i,r,o){this.name=t,this.expression=e,this.type=s,this.sourceSpan=i,this.keySpan=r,this.valueSpan=o,this.isLiteral=this.type===cd.LITERAL_ATTR,this.isAnimation=this.type===cd.ANIMATION}}!function(n){n[n.DEFAULT=0]="DEFAULT",n[n.LITERAL_ATTR=1]="LITERAL_ATTR",n[n.ANIMATION=2]="ANIMATION"}(cd||(cd={}));class wF{constructor(t,e,s,i,r,o,a){this.name=t,this.targetOrPhase=e,this.type=s,this.handler=i,this.sourceSpan=r,this.handlerSpan=o,this.keySpan=a}}class AK{constructor(t,e,s,i,r){this.name=t,this.value=e,this.sourceSpan=s,this.keySpan=i,this.valueSpan=r}}class DF{constructor(t,e,s,i,r,o,a,l){this.name=t,this.type=e,this.securityContext=s,this.value=i,this.unit=r,this.sourceSpan=o,this.keySpan=a,this.valueSpan=l}}class yk{}function IK(n,t,e,s,i,r,o){n||(n=new kF(o));const a=function PK(n,t){return function NK(n,t){const e=new HK(n);return t.visit(e)}(n,t)}({createLiteralArrayConverter:h=>m=>Be(m),createLiteralMapConverter:h=>m=>Ai(h.map((D,C)=>({key:D.key,value:m[C],quoted:D.quoted}))),createPipeConverter:h=>{throw new Error(`Illegal State: Actions are not allowed to contain pipes. Pipe: ${h}`)}},e),l=new bk(n,t,s,!1,i,r),c=[];EF(a.visit(l,nn.Statement),c),function FK(n,t,e){for(let s=n-1;s>=0;s--)e.unshift(CF(t,s))}(l.temporaryCount,s,c),l.usesImplicitReceiver&&n.notifyImplicitReceiverUse();const u=c.length-1;if(u>=0){const h=c[u];h instanceof Fa&&(c[u]=new ds(h.expr))}return c}yk.event=Ie("$event");class OK{constructor(t,e){this.stmts=t,this.currValExpr=e}}function MF(n,t,e,s){n||(n=new kF);const i=new bk(n,t,s,!1),r=e.visit(i,nn.Expression),o=SF(i,s);return i.usesImplicitReceiver&&n.notifyImplicitReceiverUse(),new OK(o,r)}function SF(n,t){const e=[];for(let s=0;si.visit(this,e));return new Xp(t.span,t.sourceSpan,s,this._converterFactory.createPipeConverter(t.name,s.length))}visitLiteralArray(t,e){const s=t.expressions.map(i=>i.visit(this,e));return new Xp(t.span,t.sourceSpan,s,this._converterFactory.createLiteralArrayConverter(t.expressions.length))}visitLiteralMap(t,e){const s=t.values.map(i=>i.visit(this,e));return new Xp(t.span,t.sourceSpan,s,this._converterFactory.createLiteralMapConverter(t.keys))}}class bk{constructor(t,e,s,i,r,o){this._localResolver=t,this._implicitReceiver=e,this.bindingId=s,this.supportsInterpolation=i,this.baseSourceSpan=r,this.implicitReceiverAccesses=o,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0,this.usesImplicitReceiver=!1}visitUnary(t,e){let s;switch(t.operator){case"+":s=td.Plus;break;case"-":s=td.Minus;break;default:throw new Error(`Unsupported operator ${t.operator}`)}return bi(e,new F_(s,this._visit(t.expr,nn.Expression),void 0,this.convertSourceSpan(t.span)))}visitBinary(t,e){let s;switch(t.operation){case"+":s=Wt.Plus;break;case"-":s=Wt.Minus;break;case"*":s=Wt.Multiply;break;case"/":s=Wt.Divide;break;case"%":s=Wt.Modulo;break;case"&&":s=Wt.And;break;case"||":s=Wt.Or;break;case"==":s=Wt.Equals;break;case"!=":s=Wt.NotEquals;break;case"===":s=Wt.Identical;break;case"!==":s=Wt.NotIdentical;break;case"<":s=Wt.Lower;break;case">":s=Wt.Bigger;break;case"<=":s=Wt.LowerEquals;break;case">=":s=Wt.BiggerEquals;break;case"??":return this.convertNullishCoalesce(t,e);default:throw new Error(`Unsupported operation ${t.operation}`)}return bi(e,new Cn(s,this._visit(t.left,nn.Expression),this._visit(t.right,nn.Expression),void 0,this.convertSourceSpan(t.span)))}visitChain(t,e){return function YK(n,t){if(n!==nn.Statement)throw new Error(`Expected a statement, but saw ${t}`)}(e,t),this.visitAll(t.expressions,e)}visitConditional(t,e){return bi(e,this._visit(t.condition,nn.Expression).conditional(this._visit(t.trueExp,nn.Expression),this._visit(t.falseExp,nn.Expression),this.convertSourceSpan(t.span)))}visitPipe(t,e){throw new Error(`Illegal state: Pipes should have been converted into functions. Pipe: ${t.name}`)}visitImplicitReceiver(t,e){return xF(e,t),this.usesImplicitReceiver=!0,this._implicitReceiver}visitThisReceiver(t,e){return this.visitImplicitReceiver(t,e)}visitInterpolation(t,e){if(!this.supportsInterpolation)throw new Error("Unexpected interpolation");xF(e,t);let s=[];for(let r=0;r=9&&(s=[Be(s)]),new jK(s)}visitKeyedRead(t,e){const s=this.leftMostSafeNode(t);return s?this.convertSafeAccess(t,s,e):bi(e,this._visit(t.receiver,nn.Expression).key(this._visit(t.key,nn.Expression)))}visitKeyedWrite(t,e){const s=this._visit(t.receiver,nn.Expression),i=this._visit(t.key,nn.Expression),r=this._visit(t.value,nn.Expression);return s===this._implicitReceiver&&this._localResolver.maybeRestoreView(),bi(e,s.key(i).set(r))}visitLiteralArray(t,e){throw new Error("Illegal State: literal arrays should have been converted into functions")}visitLiteralMap(t,e){throw new Error("Illegal State: literal maps should have been converted into functions")}visitLiteralPrimitive(t,e){const s=null===t.value||void 0===t.value||!0===t.value||!0===t.value?yi:void 0;return bi(e,J(t.value,s,this.convertSourceSpan(t.span)))}_getLocal(t,e){var s;return null!==(s=this._localResolver.globals)&&void 0!==s&&s.has(t)&&e instanceof ak?null:this._localResolver.getLocal(t)}visitPrefixNot(t,e){return bi(e,mN(this._visit(t.expression,nn.Expression)))}visitNonNullAssert(t,e){return bi(e,this._visit(t.expression,nn.Expression))}visitPropertyRead(t,e){const s=this.leftMostSafeNode(t);if(s)return this.convertSafeAccess(t,s,e);{let i=null;const r=this.usesImplicitReceiver,o=this._visit(t.receiver,nn.Expression);return o===this._implicitReceiver&&(i=this._getLocal(t.name,t.receiver),i&&(this.usesImplicitReceiver=r,this.addImplicitReceiverAccess(t.name))),null==i&&(i=o.prop(t.name,this.convertSourceSpan(t.span))),bi(e,i)}}visitPropertyWrite(t,e){const s=this._visit(t.receiver,nn.Expression),i=this.usesImplicitReceiver;let r=null;if(s===this._implicitReceiver){const o=this._getLocal(t.name,t.receiver);if(o){if(!(o instanceof Y_)){const a=t.name,l=t.value instanceof kc?t.value.name:void 0;throw new Error(`Cannot assign value "${l}" to template variable "${a}". Template variables are read-only.`)}r=o,this.usesImplicitReceiver=i,this.addImplicitReceiverAccess(t.name)}}return null===r&&(r=s.prop(t.name,this.convertSourceSpan(t.span))),bi(e,r.set(this._visit(t.value,nn.Expression)))}visitSafePropertyRead(t,e){return this.convertSafeAccess(t,this.leftMostSafeNode(t),e)}visitSafeKeyedRead(t,e){return this.convertSafeAccess(t,this.leftMostSafeNode(t),e)}visitAll(t,e){return t.map(s=>this._visit(s,e))}visitCall(t,e){const s=this.leftMostSafeNode(t);if(s)return this.convertSafeAccess(t,s,e);const i=this.visitAll(t.args,nn.Expression);if(t instanceof Xp)return bi(e,t.converter(i));const r=t.receiver;if(r instanceof kc&&r.receiver instanceof Qp&&!(r.receiver instanceof ak)&&"$any"===r.name){if(1!==i.length)throw new Error(`Invalid call to $any, expected 1 argument but received ${i.length||"none"}`);return bi(e,i[0])}return bi(e,this._visit(r,nn.Expression).callFn(i,this.convertSourceSpan(t.span)))}visitSafeCall(t,e){return this.convertSafeAccess(t,this.leftMostSafeNode(t),e)}_visit(t,e){return this._resultMap.get(t)||(this._nodeMap.get(t)||t).visit(this,e)}convertSafeAccess(t,e,s){let r,i=this._visit(e.receiver,nn.Expression);this.needsTemporaryInSafeAccess(e.receiver)&&(r=this.allocateTemporary(),i=r.set(i),this._resultMap.set(e.receiver,r));const o=i.isBlank();e instanceof kD?this._nodeMap.set(e,new Jp(e.span,e.sourceSpan,e.receiver,e.args,e.argumentSpan)):e instanceof CD?this._nodeMap.set(e,new SD(e.span,e.sourceSpan,e.receiver,e.key)):this._nodeMap.set(e,new kc(e.span,e.sourceSpan,e.nameSpan,e.receiver,e.name));const a=this._visit(t,nn.Expression);return this._nodeMap.delete(e),r&&this.releaseTemporary(r),bi(s,o.conditional(eD,a))}convertNullishCoalesce(t,e){const s=this._visit(t.left,nn.Expression),i=this._visit(t.right,nn.Expression),r=this.allocateTemporary();return this.releaseTemporary(r),bi(e,r.set(s).notIdentical(eD).and(r.notIdentical(J(void 0))).conditional(r,i))}leftMostSafeNode(t){const e=(s,i)=>(this._nodeMap.get(i)||i).visit(s);return t.visit({visitUnary:s=>null,visitBinary:s=>null,visitChain:s=>null,visitConditional:s=>null,visitCall(s){return e(this,s.receiver)},visitSafeCall(s){return e(this,s.receiver)||s},visitImplicitReceiver:s=>null,visitThisReceiver:s=>null,visitInterpolation:s=>null,visitKeyedRead(s){return e(this,s.receiver)},visitKeyedWrite:s=>null,visitLiteralArray:s=>null,visitLiteralMap:s=>null,visitLiteralPrimitive:s=>null,visitPipe:s=>null,visitPrefixNot:s=>null,visitNonNullAssert:s=>null,visitPropertyRead(s){return e(this,s.receiver)},visitPropertyWrite:s=>null,visitSafePropertyRead(s){return e(this,s.receiver)||s},visitSafeKeyedRead(s){return e(this,s.receiver)||s}})}needsTemporaryInSafeAccess(t){const e=(i,r)=>r&&(this._nodeMap.get(r)||r).visit(i);return t.visit({visitUnary(i){return e(this,i.expr)},visitBinary(i){return e(this,i.left)||e(this,i.right)},visitChain:i=>!1,visitConditional(i){return e(this,i.condition)||e(this,i.trueExp)||e(this,i.falseExp)},visitCall:i=>!0,visitSafeCall:i=>!0,visitImplicitReceiver:i=>!1,visitThisReceiver:i=>!1,visitInterpolation(i){return((i,r)=>r.some(o=>e(i,o)))(this,i.expressions)},visitKeyedRead:i=>!1,visitKeyedWrite:i=>!1,visitLiteralArray:i=>!0,visitLiteralMap:i=>!0,visitLiteralPrimitive:i=>!1,visitPipe:i=>!0,visitPrefixNot(i){return e(this,i.expression)},visitNonNullAssert(i){return e(this,i.expression)},visitPropertyRead:i=>!1,visitPropertyWrite:i=>!1,visitSafePropertyRead:i=>!1,visitSafeKeyedRead:i=>!1})}allocateTemporary(){const t=this._currentTemporary++;return this.temporaryCount=Math.max(this._currentTemporary,this.temporaryCount),new Np(vk(this.bindingId,t))}releaseTemporary(t){if(this._currentTemporary--,t.name!=vk(this.bindingId,this._currentTemporary))throw new Error(`Temporary ${t.name} released out of order`)}convertSourceSpan(t){if(this.baseSourceSpan){const e=this.baseSourceSpan.start.moveBy(t.start),s=this.baseSourceSpan.start.moveBy(t.end),i=this.baseSourceSpan.fullStart.moveBy(t.start);return new Ss(e,s,i)}return null}addImplicitReceiverAccess(t){this.implicitReceiverAccesses&&this.implicitReceiverAccesses.add(t)}}function EF(n,t){Array.isArray(n)?n.forEach(e=>EF(e,t)):t.push(n)}function wk(){throw new Error("Unsupported operation")}class jK extends In{constructor(t){super(null,null),this.args=t,this.isConstant=wk,this.isEquivalent=wk,this.visitExpression=wk}}class kF{constructor(t){this.globals=t}notifyImplicitReceiverUse(){}maybeRestoreView(){}getLocal(t){return t===yk.event.name?yk.event:null}}class Xp extends Jp{constructor(t,e,s,i){super(t,e,new wr(t,e),s,null),this.converter=i}}class VK{constructor(){this.strictStyling=!0}shimCssText(t,e,s=""){const i=function eQ(n){return n.match(tQ)||[]}(t);return t=function ZK(n){return n.replace(XK,"")}(t),t=this._insertDirectives(t),[this._scopeCssText(t,e,s),...i].join("\n")}_insertDirectives(t){return t=this._insertPolyfillDirectivesInCssText(t),this._insertPolyfillRulesInCssText(t)}_insertPolyfillDirectivesInCssText(t){return t.replace(UK,function(...e){return e[2]+"{"})}_insertPolyfillRulesInCssText(t){return t.replace($K,(...e)=>{const s=e[0].replace(e[1],"").replace(e[2],"");return e[4]+s})}_scopeCssText(t,e,s){const i=this._extractUnscopedRulesFromCssText(t);return t=this._insertPolyfillHostInCssText(t),t=this._convertColonHost(t),t=this._convertColonHostContext(t),t=this._convertShadowDOMSelectors(t),e&&(t=this._scopeSelectors(t,e,s)),(t=t+"\n"+i).trim()}_extractUnscopedRulesFromCssText(t){let s,e="";for(TF.lastIndex=0;null!==(s=TF.exec(t));)e+=s[0].replace(s[2],"").replace(s[1],s[4])+"\n\n";return e}_convertColonHost(t){return t.replace(zK,(e,s,i)=>{if(s){const r=[],o=s.split(",").map(a=>a.trim());for(const a of o){if(!a)break;const l=ud+a.replace(TD,"")+i;r.push(l)}return r.join(",")}return ud+i})}_convertColonHostContext(t){return t.replace(WK,e=>{const s=[[]];let i;for(;i=qK.exec(e);){var r;const o=(null!==(r=i[1])&&void 0!==r?r:"").trim().split(",").map(l=>l.trim()).filter(l=>""!==l),a=s.length;cQ(s,o.length);for(let l=0;lfunction lQ(n,t){const e=ud;Zp.lastIndex=0;const s=Zp.test(t);if(0===n.length)return e+t;const i=[n.pop()||""];for(;n.length>0;){const r=i.length,o=n.pop();for(let a=0;as?`${r}${t}`:`${r}${e}${t}, ${r} ${e}${t}`).join(",")}(o,e)).join(", ")})}_convertShadowDOMSelectors(t){return GK.reduce((e,s)=>e.replace(s," "),t)}_scopeSelectors(t,e,s){return IF(t,i=>{let r=i.selector,o=i.content;return"@"!==i.selector[0]?r=this._scopeSelector(i.selector,e,s,this.strictStyling):i.selector.startsWith("@media")||i.selector.startsWith("@supports")||i.selector.startsWith("@document")||i.selector.startsWith("@layer")?o=this._scopeSelectors(i.content,e,s):(i.selector.startsWith("@font-face")||i.selector.startsWith("@page"))&&(o=this._stripScopingSelectors(i.content)),new Ck(r,o)})}_stripScopingSelectors(t){return IF(t,e=>{const s=e.selector.replace(AF," ").replace(LF," ");return new Ck(s,e.content)})}_scopeSelector(t,e,s,i){return t.split(",").map(r=>r.trim().split(AF)).map(r=>{const[o,...a]=r;return[(c=>this._selectorNeedsScoping(c,e)?i?this._applyStrictSelectorScope(c,e,s):this._applySelectorScope(c,e,s):c)(o),...a].join(" ")}).join(", ")}_selectorNeedsScoping(t,e){return!this._makeScopeMatcher(e).test(t)}_makeScopeMatcher(t){return t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")"+KK,"m")}_applySelectorScope(t,e,s){return this._applySimpleSelectorScope(t,e,s)}_applySimpleSelectorScope(t,e,s){if(Zp.lastIndex=0,Zp.test(t)){const i=this.strictStyling?`[${s}]`:e;return t.replace(LF,(r,o)=>o.replace(/([^:]*)(:*)(.*)/,(a,l,c,u)=>l+i+c+u)).replace(Zp,i+" ")}return e+" "+t}_applyStrictSelectorScope(t,e,s){const r="["+(e=e.replace(/\[is=([^\]]*)\]/g,(C,...k)=>k[0]))+"]",o=C=>{let k=C.trim();if(!k)return"";if(C.indexOf(ud)>-1)k=this._applySimpleSelectorScope(C,e,s);else{const P=C.replace(Zp,"");if(P.length>0){const F=P.match(/([^:]*)(:*)(.*)/);F&&(k=F[1]+r+F[2]+F[3])}}return k},a=new BK(t);let u,l="",c=0;const h=/( |>|\+|~(?!=))\s*/g;let v=!((t=a.content()).indexOf(ud)>-1);for(;null!==(u=h.exec(t));){const C=u[1],k=t.slice(c,u.index).trim();v=v||k.indexOf(ud)>-1,l+=`${v?o(k):k} ${C} `,c=h.lastIndex}const D=t.substring(c);return v=v||D.indexOf(ud)>-1,l+=v?o(D):D,a.restore(l)}_insertPolyfillHostInCssText(t){return t.replace(JK,Dk).replace(QK,TD)}}class BK{constructor(t){this.placeholders=[],this.index=0,t=this._escapeRegexMatches(t,/(\[[^\]]*\])/g),t=this._escapeRegexMatches(t,/(\\.)/g),this._content=t.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(e,s,i)=>{const r=`__ph-${this.index}__`;return this.placeholders.push(i),this.index++,s+r})}restore(t){return t.replace(/__ph-(\d+)__/g,(e,s)=>this.placeholders[+s])}content(){return this._content}_escapeRegexMatches(t,e){return t.replace(e,(s,i)=>{const r=`__ph-${this.index}__`;return this.placeholders.push(i),this.index++,r})}}const UK=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,$K=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,TF=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,TD="-shadowcsshost",Dk="-shadowcsscontext",Mk="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",zK=new RegExp(TD+Mk,"gim"),WK=new RegExp(Dk+Mk,"gim"),qK=new RegExp(Dk+Mk,"im"),ud=TD+"-no-combinator",LF=/-shadowcsshost-no-combinator([^\s]*)/,GK=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],AF=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,KK="([>\\s~+[.,{:][\\s\\S]*)?$",Zp=/-shadowcsshost/gim,QK=/:host/gim,JK=/:host-context/gim,XK=/\/\*[\s\S]*?\*\//g;const tQ=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;const Sk="%BLOCK%",sQ=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,iQ=/%QUOTED%/g,rQ=new Map([["{","}"]]),oQ=new Map([['"','"'],["'","'"]]);class Ck{constructor(t,e){this.selector=t,this.content=e}}function IF(n,t){const e=PF(n,oQ,"%QUOTED%"),s=PF(e.escapedString,rQ,Sk);let i=0,r=0;return s.escapedString.replace(sQ,(...o)=>{const a=o[2];let l="",c=o[4],u="";c&&c.startsWith("{"+Sk)&&(l=s.blocks[i++],c=c.substring(Sk.length+1),u="{");const h=t(new Ck(a,l));return`${o[1]}${h.selector}${o[3]}${u}${h.content}${c}`}).replace(iQ,()=>e.blocks[r++])}class aQ{constructor(t,e){this.escapedString=t,this.blocks=e}}function PF(n,t,e){const s=[],i=[];let l,c,r=0,o=0,a=-1;for(let u=0;ut.charAt(0)+"-"+t.charAt(1)).toLowerCase()}class NF{constructor(t){this._directiveExpr=t,this._hasInitialValues=!1,this.hasBindings=!1,this.hasBindingsWithPipes=!1,this._classMapInput=null,this._styleMapInput=null,this._singleStyleInputs=null,this._singleClassInputs=null,this._lastStylingInput=null,this._firstStylingInput=null,this._stylesIndex=new Map,this._classesIndex=new Map,this._initialStyleValues=[],this._initialClassValues=[]}registerBoundInput(t){let e=null,s=t.name;switch(t.type){case 0:e=this.registerInputBasedOnName(s,t.value,t.sourceSpan);break;case 3:e=this.registerStyleInput(s,!1,t.value,t.sourceSpan,t.unit);break;case 2:e=this.registerClassInput(s,!1,t.value,t.sourceSpan)}return!!e}registerInputBasedOnName(t,e,s){let i=null;const r=t.substring(0,6),o="style"===t||"style."===r||"style!"===r;if(o||!o&&("class"===t||"class."===r||"class!"===r)){const l="."!==t.charAt(5),c=t.slice(l?5:6);i=o?this.registerStyleInput(c,l,e,s):this.registerClassInput(c,l,e,s)}return i}registerStyleInput(t,e,s,i,r){if(HF(s))return null;(function mQ(n){return n.startsWith("--")})(t)||(t=RF(t));const{property:o,hasOverrideFlag:a,suffix:l}=YF(t),c={name:o,suffix:r="string"==typeof r&&0!==r.length?r:l,value:s,sourceSpan:i,hasOverrideFlag:a};return e?this._styleMapInput=c:((this._singleStyleInputs=this._singleStyleInputs||[]).push(c),FF(this._stylesIndex,o)),this._lastStylingInput=c,this._firstStylingInput=this._firstStylingInput||c,this._checkForPipes(s),this.hasBindings=!0,c}registerClassInput(t,e,s,i){if(HF(s))return null;const{property:r,hasOverrideFlag:o}=YF(t),a={name:r,value:s,sourceSpan:i,hasOverrideFlag:o,suffix:null};return e?this._classMapInput=a:((this._singleClassInputs=this._singleClassInputs||[]).push(a),FF(this._classesIndex,r)),this._lastStylingInput=a,this._firstStylingInput=this._firstStylingInput||a,this._checkForPipes(s),this.hasBindings=!0,a}_checkForPipes(t){t instanceof Tc&&t.ast instanceof xD&&(this.hasBindingsWithPipes=!0)}registerStyleAttr(t){this._initialStyleValues=function uQ(n){const t=[];let e=0,s=0,i=0,r=0,o=0,a=null,l=!1;for(;e0,0===i?i=39:39===i&&92!==n.charCodeAt(e-1)&&(i=0);break;case 34:l=l||r>0,0===i?i=34:34===i&&92!==n.charCodeAt(e-1)&&(i=0);break;case 58:!a&&0===s&&0===i&&(a=RF(n.substring(o,e-1).trim()),r=e);break;case 59:if(a&&r>0&&0===s&&0===i){const u=n.substring(r,e-1).trim();t.push(a,l?OF(u):u),o=e,r=0,a=null,l=!1}}if(a&&r){const c=n.slice(r).trim();t.push(a,l?OF(c):c)}return t}(t),this._hasInitialValues=!0}registerClassAttr(t){this._initialClassValues=t.trim().split(/\s+/g),this._hasInitialValues=!0}populateInitialStylingAttrs(t){if(this._initialClassValues.length){t.push(J(1));for(let e=0;e{const l=a(r);return Array.isArray(l)?l:[l]}}]}}_buildSingleInputs(t,e,s,i,r){const o=[];return e.forEach(a=>{const l=o[o.length-1],c=a.value.visit(s);let u=t,h=2;c instanceof vi&&(h+=c.expressions.length,i&&(u=i(c)));const m={sourceSpan:a.sourceSpan,allocateBindingSlots:h,supportsInterpolation:!!i,params:v=>{const D=[];D.push(J(a.name));const C=v(c);return Array.isArray(C)?D.push(...C):D.push(C),!r&&null!==a.suffix&&D.push(J(a.suffix)),D}};l&&l.reference===u?l.calls.push(m):o.push({reference:u,calls:[m]})}),o}_buildClassInputs(t){return this._singleClassInputs?this._buildSingleInputs(x.classProp,this._singleClassInputs,t,null,!0):[]}_buildStyleInputs(t){return this._singleStyleInputs?this._buildSingleInputs(x.styleProp,this._singleStyleInputs,t,fQ,!1):[]}buildUpdateLevelInstructions(t){const e=[];if(this.hasBindings){const s=this.buildStyleMapInstruction(t);s&&e.push(s);const i=this.buildClassMapInstruction(t);i&&e.push(i),e.push(...this._buildStyleInputs(t)),e.push(...this._buildClassInputs(t))}return e}}function FF(n,t){n.has(t)||n.set(t,n.size)}function YF(n){let t=!1;const e=n.indexOf("!important");-1!==e&&(n=e>0?n.substring(0,e):"",t=!0);let s=null,i=n;const r=n.lastIndexOf(".");return r>0&&(s=n.slice(r+1),i=n.substring(0,r)),{property:i,suffix:s,hasOverrideFlag:t}}function fQ(n){switch(rd(n)){case 1:return x.styleProp;case 3:return x.stylePropInterpolate1;case 5:return x.stylePropInterpolate2;case 7:return x.stylePropInterpolate3;case 9:return x.stylePropInterpolate4;case 11:return x.stylePropInterpolate5;case 13:return x.stylePropInterpolate6;case 15:return x.stylePropInterpolate7;case 17:return x.stylePropInterpolate8;default:return x.stylePropInterpolateV}}function HF(n){return n instanceof Tc&&(n=n.ast),n instanceof wr}var Me;!function(n){n[n.Character=0]="Character",n[n.Identifier=1]="Identifier",n[n.PrivateIdentifier=2]="PrivateIdentifier",n[n.Keyword=3]="Keyword",n[n.String=4]="String",n[n.Operator=5]="Operator",n[n.Number=6]="Number",n[n.Error=7]="Error"}(Me||(Me={}));const gQ=["var","let","as","null","undefined","true","false","if","else","this"];class jF{tokenize(t){const e=new BF(t),s=[];let i=e.scanToken();for(;null!=i;)s.push(i),i=e.scanToken();return s}}class Ga{constructor(t,e,s,i,r){this.index=t,this.end=e,this.type=s,this.numValue=i,this.strValue=r}isCharacter(t){return this.type==Me.Character&&this.numValue==t}isNumber(){return this.type==Me.Number}isString(){return this.type==Me.String}isOperator(t){return this.type==Me.Operator&&this.strValue==t}isIdentifier(){return this.type==Me.Identifier}isPrivateIdentifier(){return this.type==Me.PrivateIdentifier}isKeyword(){return this.type==Me.Keyword}isKeywordLet(){return this.type==Me.Keyword&&"let"==this.strValue}isKeywordAs(){return this.type==Me.Keyword&&"as"==this.strValue}isKeywordNull(){return this.type==Me.Keyword&&"null"==this.strValue}isKeywordUndefined(){return this.type==Me.Keyword&&"undefined"==this.strValue}isKeywordTrue(){return this.type==Me.Keyword&&"true"==this.strValue}isKeywordFalse(){return this.type==Me.Keyword&&"false"==this.strValue}isKeywordThis(){return this.type==Me.Keyword&&"this"==this.strValue}isError(){return this.type==Me.Error}toNumber(){return this.type==Me.Number?this.numValue:-1}toString(){switch(this.type){case Me.Character:case Me.Identifier:case Me.Keyword:case Me.Operator:case Me.PrivateIdentifier:case Me.String:case Me.Error:return this.strValue;case Me.Number:return this.numValue.toString();default:return null}}}function VF(n,t,e){return new Ga(n,t,Me.Character,e,String.fromCharCode(e))}function xk(n,t,e){return new Ga(n,t,Me.Operator,0,e)}const Ek=new Ga(-1,-1,Me.Character,0,"");class BF{constructor(t){this.input=t,this.peek=0,this.index=-1,this.length=t.length,this.advance()}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){const t=this.input,e=this.length;let s=this.peek,i=this.index;for(;s<=32;){if(++i>=e){s=0;break}s=t.charCodeAt(i)}if(this.peek=s,this.index=i,i>=e)return null;if(kk(s))return this.scanIdentifier();if(xc(s))return this.scanNumber(i);const r=i;switch(s){case 46:return this.advance(),xc(this.peek)?this.scanNumber(r):VF(r,this.index,46);case 40:case 41:case Cc:case Wo:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(r,s);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case 47:case 37:case 94:return this.scanOperator(r,String.fromCharCode(s));case 63:return this.scanQuestion(r);case 60:case 62:return this.scanComplexOperator(r,String.fromCharCode(s),61,"=");case 33:case 61:return this.scanComplexOperator(r,String.fromCharCode(s),61,"=",61,"=");case 38:return this.scanComplexOperator(r,"&",38,"&");case 124:return this.scanComplexOperator(r,"|",124,"|");case 160:for(;ek(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(s)}]`,0)}scanCharacter(t,e){return this.advance(),VF(t,this.index,e)}scanOperator(t,e){return this.advance(),xk(t,this.index,e)}scanComplexOperator(t,e,s,i,r,o){this.advance();let a=e;return this.peek==s&&(this.advance(),a+=i),null!=r&&this.peek==r&&(this.advance(),a+=o),xk(t,this.index,a)}scanIdentifier(){const t=this.index;for(this.advance();Tk(this.peek);)this.advance();const e=this.input.substring(t,this.index);return gQ.indexOf(e)>-1?function vQ(n,t,e){return new Ga(n,t,Me.Keyword,0,e)}(t,this.index,e):function _Q(n,t,e){return new Ga(n,t,Me.Identifier,0,e)}(t,this.index,e)}scanPrivateIdentifier(){const t=this.index;if(this.advance(),!kk(this.peek))return this.error("Invalid character [#]",-1);for(;Tk(this.peek);)this.advance();const e=this.input.substring(t,this.index);return function yQ(n,t,e){return new Ga(n,t,Me.PrivateIdentifier,0,e)}(t,this.index,e)}scanNumber(t){let e=this.index===t,s=!1;for(this.advance();;){if(!xc(this.peek))if(95===this.peek){if(!xc(this.input.charCodeAt(this.index-1))||!xc(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);s=!0}else if(46===this.peek)e=!1;else{if(!MQ(this.peek))break;if(this.advance(),SQ(this.peek)&&this.advance(),!xc(this.peek))return this.error("Invalid exponent",-1);e=!1}this.advance()}let i=this.input.substring(t,this.index);s&&(i=i.replace(/_/g,""));const r=e?function xQ(n){const t=parseInt(n);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+n);return t}(i):parseFloat(i);return function wQ(n,t,e){return new Ga(n,t,Me.Number,e,"")}(t,this.index,r)}scanString(){const t=this.index,e=this.peek;this.advance();let s="",i=this.index;const r=this.input;for(;this.peek!=e;)if(92==this.peek){let a;if(s+=r.substring(i,this.index),this.advance(),this.peek=this.peek,117==this.peek){const l=r.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(l))return this.error(`Invalid unicode escape [\\u${l}]`,0);a=parseInt(l,16);for(let c=0;c<5;c++)this.advance()}else a=CQ(this.peek),this.advance();s+=String.fromCharCode(a),i=this.index}else{if(0==this.peek)return this.error("Unterminated quote",0);this.advance()}const o=r.substring(i,this.index);return this.advance(),function bQ(n,t,e){return new Ga(n,t,Me.String,0,e)}(t,this.index,s+o)}scanQuestion(t){this.advance();let e="?";return(63===this.peek||46===this.peek)&&(e+=46===this.peek?".":"?",this.advance()),xk(t,this.index,e)}error(t,e){const s=this.index+e;return function DQ(n,t,e){return new Ga(n,t,Me.Error,0,e)}(s,this.index,`Lexer Error: ${t} at column ${s} in expression [${this.input}]`)}}function kk(n){return 97<=n&&n<=122||65<=n&&n<=90||95==n||36==n}function Tk(n){return nk(n)||xc(n)||95==n||36==n}function MQ(n){return 101==n||69==n}function SQ(n){return 45==n||43==n}function CQ(n){switch(n){case 110:return 10;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return n}}class EQ{constructor(t,e,s){this.strings=t,this.expressions=e,this.offsets=s}}class kQ{constructor(t,e,s){this.templateBindings=t,this.warnings=e,this.errors=s}}class UF{constructor(t){this._lexer=t,this.errors=[]}parseAction(t,e,s,i,r=br){this._checkNoInterpolation(t,s,r);const o=this._stripComments(t),a=this._lexer.tokenize(o);let l=1;e&&(l|=2);const c=new ry(t,s,i,a,l,this.errors,0).parseChain();return new Tc(c,t,s,i,this.errors)}parseBinding(t,e,s,i=br){const r=this._parseBindingAst(t,e,s,i);return new Tc(r,t,e,s,this.errors)}checkSimpleExpression(t){const e=new TQ;return t.visit(e),e.errors}parseSimpleBinding(t,e,s,i=br){const r=this._parseBindingAst(t,e,s,i),o=this.checkSimpleExpression(r);return o.length>0&&this._reportError(`Host binding expression cannot contain ${o.join(" ")}`,t,e),new Tc(r,t,e,s,this.errors)}_reportError(t,e,s,i){this.errors.push(new ok(t,e,s,i))}_parseBindingAst(t,e,s,i){this._checkNoInterpolation(t,e,i);const r=this._stripComments(t),o=this._lexer.tokenize(r);return new ry(t,e,s,o,0,this.errors,0).parseChain()}parseTemplateBindings(t,e,s,i,r){const o=this._lexer.tokenize(e);return new ry(e,s,r,o,0,this.errors,0).parseTemplateBindings({source:t,span:new oo(i,i+t.length)})}parseInterpolation(t,e,s,i,r=br){const{strings:o,expressions:a,offsets:l}=this.splitInterpolation(t,e,i,r);if(0===a.length)return null;const c=[];for(let u=0;uu.text),c,t,e,s)}parseInterpolationExpression(t,e,s){const i=this._stripComments(t),r=this._lexer.tokenize(i),o=new ry(t,e,s,r,0,this.errors,0).parseChain();return this.createInterpolationAst(["",""],[o],t,e,s)}createInterpolationAst(t,e,s,i,r){const o=new iy(0,s.length),a=new vi(o,o.toAbsolute(r),t,e);return new Tc(a,s,i,r,this.errors)}splitInterpolation(t,e,s,i=br){const r=[],o=[],a=[],l=s?function LQ(n){let t=new Map,e=0,s=0,i=0;for(;ia+l.length,0);s+=o,e+=o}t.set(s,e),i++}return t}(s):null;let c=0,u=!1,h=!1,{start:m,end:v}=i;for(;c-1)break;r>-1&&o>-1&&this._reportError(`Got interpolation (${s}${i}) where expression was expected`,t,`at column ${r} in`,e)}_getInterpolationEndIndex(t,e,s){for(const i of this._forEachUnquotedChar(t,s)){if(t.startsWith(e,i))return i;if(t.startsWith("//",i))return t.indexOf(e,i)}return-1}*_forEachUnquotedChar(t,e){let s=null,i=0;for(let r=e;r=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:0===this.tokens.length?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(t,e){let s=this.currentEndIndex;if(void 0!==e&&e>this.currentEndIndex&&(s=e),t>s){const i=s;s=t,t=i}return new iy(t,s)}sourceSpan(t,e){const s=`${t}@${this.inputIndex}:${e}`;return this.sourceSpanCache.has(s)||this.sourceSpanCache.set(s,this.span(t,e).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(s)}advance(){this.index++}withContext(t,e){this.context|=t;const s=e();return this.context^=t,s}consumeOptionalCharacter(t){return!!this.next.isCharacter(t)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(t){this.consumeOptionalCharacter(t)||this.error(`Missing expected ${String.fromCharCode(t)}`)}consumeOptionalOperator(t){return!!this.next.isOperator(t)&&(this.advance(),!0)}expectOperator(t){this.consumeOptionalOperator(t)||this.error(`Missing expected operator ${t}`)}prettyPrintToken(t){return t===Ek?"end of input":`token ${t}`}expectIdentifierOrKeyword(){const t=this.next;return t.isIdentifier()||t.isKeyword()?(this.advance(),t.toString()):(t.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(t,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(t)}, expected identifier or keyword`),null)}expectIdentifierOrKeywordOrString(){const t=this.next;return t.isIdentifier()||t.isKeyword()||t.isString()?(this.advance(),t.toString()):(t.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(t,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(t)}, expected identifier, keyword, or string`),"")}parseChain(){const t=[],e=this.inputIndex;for(;this.index":case"<=":case">=":this.advance();const i=this.parseAdditive();e=new qo(this.span(t),this.sourceSpan(t),s,e,i);continue}break}return e}parseAdditive(){const t=this.inputIndex;let e=this.parseMultiplicative();for(;this.next.type==Me.Operator;){const s=this.next.strValue;switch(s){case"+":case"-":this.advance();let i=this.parseMultiplicative();e=new qo(this.span(t),this.sourceSpan(t),s,e,i);continue}break}return e}parseMultiplicative(){const t=this.inputIndex;let e=this.parsePrefix();for(;this.next.type==Me.Operator;){const s=this.next.strValue;switch(s){case"*":case"%":case"/":this.advance();let i=this.parsePrefix();e=new qo(this.span(t),this.sourceSpan(t),s,e,i);continue}break}return e}parsePrefix(){if(this.next.type==Me.Operator){const t=this.inputIndex;let s;switch(this.next.strValue){case"+":return this.advance(),s=this.parsePrefix(),qa.createPlus(this.span(t),this.sourceSpan(t),s);case"-":return this.advance(),s=this.parsePrefix(),qa.createMinus(this.span(t),this.sourceSpan(t),s);case"!":return this.advance(),s=this.parsePrefix(),new fk(this.span(t),this.sourceSpan(t),s)}}return this.parseCallChain()}parseCallChain(){const t=this.inputIndex;let e=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))e=this.parseAccessMember(e,t,!1);else if(this.consumeOptionalOperator("?."))e=this.consumeOptionalCharacter(40)?this.parseCall(e,t,!0):this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(e,t,!0):this.parseAccessMember(e,t,!0);else if(this.consumeOptionalCharacter(91))e=this.parseKeyedReadOrWrite(e,t,!1);else if(this.consumeOptionalCharacter(40))e=this.parseCall(e,t,!1);else{if(!this.consumeOptionalOperator("!"))return e;e=new mk(this.span(t),this.sourceSpan(t),e)}}parsePrimary(){const t=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),e}if(this.next.isKeywordNull())return this.advance(),new Gi(this.span(t),this.sourceSpan(t),null);if(this.next.isKeywordUndefined())return this.advance(),new Gi(this.span(t),this.sourceSpan(t),void 0);if(this.next.isKeywordTrue())return this.advance(),new Gi(this.span(t),this.sourceSpan(t),!0);if(this.next.isKeywordFalse())return this.advance(),new Gi(this.span(t),this.sourceSpan(t),!1);if(this.next.isKeywordThis())return this.advance(),new ak(this.span(t),this.sourceSpan(t));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;const e=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new ED(this.span(t),this.sourceSpan(t),e)}if(this.next.isCharacter(Cc))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new Qp(this.span(t),this.sourceSpan(t)),t,!1);if(this.next.isNumber()){const e=this.next.toNumber();return this.advance(),new Gi(this.span(t),this.sourceSpan(t),e)}if(this.next.isString()){const e=this.next.toString();return this.advance(),new Gi(this.span(t),this.sourceSpan(t),e)}return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new wr(this.span(t),this.sourceSpan(t))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new wr(this.span(t),this.sourceSpan(t))):(this.error(`Unexpected token ${this.next}`),new wr(this.span(t),this.sourceSpan(t)))}parseExpressionList(t){const e=[];do{if(this.next.isCharacter(t))break;e.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return e}parseLiteralMap(){const t=[],e=[],s=this.inputIndex;if(this.expectCharacter(Cc),!this.consumeOptionalCharacter(Wo)){this.rbracesExpected++;do{const i=this.inputIndex,r=this.next.isString(),o=this.expectIdentifierOrKeywordOrString();if(t.push({key:o,quoted:r}),r)this.expectCharacter(58),e.push(this.parsePipe());else if(this.consumeOptionalCharacter(58))e.push(this.parsePipe());else{const a=this.span(i),l=this.sourceSpan(i);e.push(new kc(a,l,l,new Qp(a,l),o))}}while(this.consumeOptionalCharacter(44));this.rbracesExpected--,this.expectCharacter(Wo)}return new pk(this.span(s),this.sourceSpan(s),t,e)}parseAccessMember(t,e,s){const i=this.inputIndex,r=this.withContext(tf.Writable,()=>{var l;const c=null!==(l=this.expectIdentifierOrKeyword())&&void 0!==l?l:"";return 0===c.length&&this.error("Expected identifier for property access",t.span.end),c}),o=this.sourceSpan(i);let a;if(s)this.consumeOptionalAssignment()?(this.error("The '?.' operator cannot be used in the assignment"),a=new wr(this.span(e),this.sourceSpan(e))):a=new dk(this.span(e),this.sourceSpan(e),o,t,r);else if(this.consumeOptionalAssignment()){if(!(1&this.parseFlags))return this.error("Bindings cannot contain assignments"),new wr(this.span(e),this.sourceSpan(e));const l=this.parseConditional();a=new uk(this.span(e),this.sourceSpan(e),o,t,r,l)}else a=new kc(this.span(e),this.sourceSpan(e),o,t,r);return a}parseCall(t,e,s){const i=this.inputIndex;this.rparensExpected++;const r=this.parseCallArguments(),o=this.span(i,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;const a=this.span(e),l=this.sourceSpan(e);return s?new kD(a,l,t,r,o):new Jp(a,l,t,r,o)}consumeOptionalAssignment(){return 2&this.parseFlags&&this.next.isOperator("!")&&this.peek(1).isOperator("=")?(this.advance(),this.advance(),!0):this.consumeOptionalOperator("=")}parseCallArguments(){if(this.next.isCharacter(41))return[];const t=[];do{t.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return t}expectTemplateBindingKey(){let t="",e=!1;const s=this.currentAbsoluteOffset;do{t+=this.expectIdentifierOrKeywordOrString(),e=this.consumeOptionalOperator("-"),e&&(t+="-")}while(e);return{source:t,span:new oo(s,s+t.length)}}parseTemplateBindings(t){const e=[];for(e.push(...this.parseDirectiveKeywordBindings(t));this.index{this.rbracketsExpected++;const i=this.parsePipe();if(i instanceof wr&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),!this.consumeOptionalOperator("="))return s?new CD(this.span(e),this.sourceSpan(e),t,i):new SD(this.span(e),this.sourceSpan(e),t,i);if(!s){const r=this.parseConditional();return new hk(this.span(e),this.sourceSpan(e),t,i,r)}return this.error("The '?.' operator cannot be used in the assignment"),new wr(this.span(e),this.sourceSpan(e))})}parseDirectiveKeywordBindings(t){const e=[];this.consumeOptionalCharacter(58);const s=this.getDirectiveBoundTarget();let i=this.currentAbsoluteOffset;const r=this.parseAsBinding(t);r||(this.consumeStatementTerminator(),i=this.currentAbsoluteOffset);const o=new oo(t.span.start,i);return e.push(new EK(o,t,s)),r&&e.push(r),e}getDirectiveBoundTarget(){if(this.next===Ek||this.peekKeywordAs()||this.peekKeywordLet())return null;const t=this.parsePipe(),{start:e,end:s}=t.span,i=this.input.substring(e,s);return new Tc(t,i,this.location,this.absoluteOffset+e,this.errors)}parseAsBinding(t){if(!this.peekKeywordAs())return null;this.advance();const e=this.expectTemplateBindingKey();this.consumeStatementTerminator();const s=new oo(t.span.start,this.currentAbsoluteOffset);return new gk(s,e,t)}parseLetBinding(){if(!this.peekKeywordLet())return null;const t=this.currentAbsoluteOffset;this.advance();const e=this.expectTemplateBindingKey();let s=null;this.consumeOptionalOperator("=")&&(s=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const i=new oo(t,this.currentAbsoluteOffset);return new gk(i,e,s)}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(t,e=null){this.errors.push(new ok(t,this.input,this.locationText(e),this.location)),this.skip()}locationText(t=null){return null==t&&(t=this.index),tn.visit(r,e)||r.visit(n,e):r=>r.visit(n,e);return t.forEach(r=>{const o=i(r);o&&s.push(o)}),s}const ID={AElig:"\xc6",AMP:"&",amp:"&",Aacute:"\xc1",Abreve:"\u0102",Acirc:"\xc2",Acy:"\u0410",Afr:"\u{1d504}",Agrave:"\xc0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2a53",Aogon:"\u0104",Aopf:"\u{1d538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xc5",angst:"\xc5",Ascr:"\u{1d49c}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xc3",Auml:"\xc4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2ae7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212c",Bscr:"\u212c",bernou:"\u212c",Beta:"\u0392",Bfr:"\u{1d505}",Bopf:"\u{1d539}",Breve:"\u02d8",breve:"\u02d8",Bumpeq:"\u224e",HumpDownHump:"\u224e",bump:"\u224e",CHcy:"\u0427",COPY:"\xa9",copy:"\xa9",Cacute:"\u0106",Cap:"\u22d2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212d",Cfr:"\u212d",Ccaron:"\u010c",Ccedil:"\xc7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010a",Cedilla:"\xb8",cedil:"\xb8",CenterDot:"\xb7",centerdot:"\xb7",middot:"\xb7",Chi:"\u03a7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201d",rdquo:"\u201d",rdquor:"\u201d",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2a74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222f",DoubleContourIntegral:"\u222f",ContourIntegral:"\u222e",conint:"\u222e",oint:"\u222e",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2a2f",Cscr:"\u{1d49e}",Cup:"\u22d3",CupCap:"\u224d",asympeq:"\u224d",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040f",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21a1",Dashv:"\u2ae4",DoubleLeftTee:"\u2ae4",Dcaron:"\u010e",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1d507}",DiacriticalAcute:"\xb4",acute:"\xb4",DiacriticalDot:"\u02d9",dot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",dblac:"\u02dd",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02dc",tilde:"\u02dc",Diamond:"\u22c4",diam:"\u22c4",diamond:"\u22c4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1d53b}",Dot:"\xa8",DoubleDot:"\xa8",die:"\xa8",uml:"\xa8",DotDot:"\u20dc",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21d3",Downarrow:"\u21d3",dArr:"\u21d3",DoubleLeftArrow:"\u21d0",Leftarrow:"\u21d0",lArr:"\u21d0",DoubleLeftRightArrow:"\u21d4",Leftrightarrow:"\u21d4",hArr:"\u21d4",iff:"\u21d4",DoubleLongLeftArrow:"\u27f8",Longleftarrow:"\u27f8",xlArr:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",Longleftrightarrow:"\u27fa",xhArr:"\u27fa",DoubleLongRightArrow:"\u27f9",Longrightarrow:"\u27f9",xrArr:"\u27f9",DoubleRightArrow:"\u21d2",Implies:"\u21d2",Rightarrow:"\u21d2",rArr:"\u21d2",DoubleRightTee:"\u22a8",vDash:"\u22a8",DoubleUpArrow:"\u21d1",Uparrow:"\u21d1",uArr:"\u21d1",DoubleUpDownArrow:"\u21d5",Updownarrow:"\u21d5",vArr:"\u21d5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",duarr:"\u21f5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",leftharpoondown:"\u21bd",lhard:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",rhard:"\u21c1",rightharpoondown:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",top:"\u22a4",DownTeeArrow:"\u21a7",mapstodown:"\u21a7",Dscr:"\u{1d49f}",Dstrok:"\u0110",ENG:"\u014a",ETH:"\xd0",Eacute:"\xc9",Ecaron:"\u011a",Ecirc:"\xca",Ecy:"\u042d",Edot:"\u0116",Efr:"\u{1d508}",Egrave:"\xc8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25fb",EmptyVerySmallSquare:"\u25ab",Eogon:"\u0118",Eopf:"\u{1d53c}",Epsilon:"\u0395",Equal:"\u2a75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21cc",rightleftharpoons:"\u21cc",rlhar:"\u21cc",Escr:"\u2130",expectation:"\u2130",Esim:"\u2a73",Eta:"\u0397",Euml:"\xcb",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1d509}",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",blacksquare:"\u25aa",squarf:"\u25aa",squf:"\u25aa",Fopf:"\u{1d53d}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1d50a}",Gg:"\u22d9",ggg:"\u22d9",Gopf:"\u{1d53e}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22db",gel:"\u22db",gtreqless:"\u22db",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2a7e",geqslant:"\u2a7e",ges:"\u2a7e",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1d4a2}",Gt:"\u226b",NestedGreaterGreater:"\u226b",gg:"\u226b",HARDcy:"\u042a",Hacek:"\u02c7",caron:"\u02c7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210c",Poincareplane:"\u210c",HilbertSpace:"\u210b",Hscr:"\u210b",hamilt:"\u210b",Hopf:"\u210d",quaternions:"\u210d",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224f",bumpe:"\u224f",bumpeq:"\u224f",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xcd",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xcc",Imacr:"\u012a",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222c",Integral:"\u222b",int:"\u222b",Intersection:"\u22c2",bigcap:"\u22c2",xcap:"\u22c2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012e",Iopf:"\u{1d540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xcf",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1d50d}",Jopf:"\u{1d541}",Jscr:"\u{1d4a5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",Kfr:"\u{1d50e}",Kopf:"\u{1d542}",Kscr:"\u{1d4a6}",LJcy:"\u0409",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039b",Lang:"\u27ea",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219e",twoheadleftarrow:"\u219e",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftAngleBracket:"\u27e8",lang:"\u27e8",langle:"\u27e8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21e4",larrb:"\u21e4",LeftArrowRightArrow:"\u21c6",leftrightarrows:"\u21c6",lrarr:"\u21c6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27e6",lobrk:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",dharl:"\u21c3",downharpoonleft:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",lfloor:"\u230a",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294e",LeftTee:"\u22a3",dashv:"\u22a3",LeftTeeArrow:"\u21a4",mapstoleft:"\u21a4",LeftTeeVector:"\u295a",LeftTriangle:"\u22b2",vartriangleleft:"\u22b2",vltri:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",ltrie:"\u22b4",trianglelefteq:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",uharl:"\u21bf",upharpoonleft:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",leftharpoonup:"\u21bc",lharu:"\u21bc",LeftVectorBar:"\u2952",LessEqualGreater:"\u22da",leg:"\u22da",lesseqgtr:"\u22da",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2aa1",LessSlantEqual:"\u2a7d",leqslant:"\u2a7d",les:"\u2a7d",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1d50f}",Ll:"\u22d8",Lleftarrow:"\u21da",lAarr:"\u21da",Lmidot:"\u013f",LongLeftArrow:"\u27f5",longleftarrow:"\u27f5",xlarr:"\u27f5",LongLeftRightArrow:"\u27f7",longleftrightarrow:"\u27f7",xharr:"\u27f7",LongRightArrow:"\u27f6",longrightarrow:"\u27f6",xrarr:"\u27f6",Lopf:"\u{1d543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21b0",lsh:"\u21b0",Lstrok:"\u0141",Lt:"\u226a",NestedLessLess:"\u226a",ll:"\u226a",Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1d510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1d544}",Mu:"\u039c",NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",ZeroWidthSpace:"\u200b",NewLine:"\n",Nfr:"\u{1d511}",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nbsp:"\xa0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2aec",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226f",ngt:"\u226f",ngtr:"\u226f",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",nGtv:"\u226b\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224e\u0338",nbump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",nbumpe:"\u224f\u0338",NotLeftTriangle:"\u22ea",nltri:"\u22ea",ntriangleleft:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",nltrie:"\u22ec",ntrianglelefteq:"\u22ec",NotLess:"\u226e",nless:"\u226e",nlt:"\u226e",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226a\u0338",nLtv:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",npre:"\u2aaf\u0338",npreceq:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",nprcue:"\u22e0",NotReverseElement:"\u220c",notni:"\u220c",notniva:"\u220c",NotRightTriangle:"\u22eb",nrtri:"\u22eb",ntriangleright:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",nrtrie:"\u22ed",ntrianglerighteq:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",nsqsube:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",nsqsupe:"\u22e3",NotSubset:"\u2282\u20d2",nsubset:"\u2282\u20d2",vnsub:"\u2282\u20d2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",nsce:"\u2ab0\u0338",nsucceq:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",nsccue:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",nsupset:"\u2283\u20d2",vnsup:"\u2283\u20d2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1d4a9}",Ntilde:"\xd1",Nu:"\u039d",OElig:"\u0152",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ofr:"\u{1d512}",Ograve:"\xd2",Omacr:"\u014c",Omega:"\u03a9",ohm:"\u03a9",Omicron:"\u039f",Oopf:"\u{1d546}",OpenCurlyDoubleQuote:"\u201c",ldquo:"\u201c",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2a54",Oscr:"\u{1d4aa}",Oslash:"\xd8",Otilde:"\xd5",Otimes:"\u2a37",Ouml:"\xd6",OverBar:"\u203e",oline:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",tbrk:"\u23b4",OverParenthesis:"\u23dc",PartialD:"\u2202",part:"\u2202",Pcy:"\u041f",Pfr:"\u{1d513}",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",plusmn:"\xb1",pm:"\xb1",Popf:"\u2119",primes:"\u2119",Pr:"\u2abb",Precedes:"\u227a",pr:"\u227a",prec:"\u227a",PrecedesEqual:"\u2aaf",pre:"\u2aaf",preceq:"\u2aaf",PrecedesSlantEqual:"\u227c",prcue:"\u227c",preccurlyeq:"\u227c",PrecedesTilde:"\u227e",precsim:"\u227e",prsim:"\u227e",Prime:"\u2033",Product:"\u220f",prod:"\u220f",Proportional:"\u221d",prop:"\u221d",propto:"\u221d",varpropto:"\u221d",vprop:"\u221d",Pscr:"\u{1d4ab}",Psi:"\u03a8",QUOT:'"',quot:'"',Qfr:"\u{1d514}",Qopf:"\u211a",rationals:"\u211a",Qscr:"\u{1d4ac}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xae",circledR:"\xae",reg:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarr:"\u21a0",twoheadrightarrow:"\u21a0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211c",Rfr:"\u211c",real:"\u211c",realpart:"\u211c",ReverseElement:"\u220b",SuchThat:"\u220b",ni:"\u220b",niv:"\u220b",ReverseEquilibrium:"\u21cb",leftrightharpoons:"\u21cb",lrhar:"\u21cb",ReverseUpEquilibrium:"\u296f",duhar:"\u296f",Rho:"\u03a1",RightAngleBracket:"\u27e9",rang:"\u27e9",rangle:"\u27e9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21e5",rarrb:"\u21e5",RightArrowLeftArrow:"\u21c4",rightleftarrows:"\u21c4",rlarr:"\u21c4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27e7",robrk:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",dharr:"\u21c2",downharpoonright:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rfloor:"\u230b",RightTee:"\u22a2",vdash:"\u22a2",RightTeeArrow:"\u21a6",map:"\u21a6",mapsto:"\u21a6",RightTeeVector:"\u295b",RightTriangle:"\u22b3",vartriangleright:"\u22b3",vrtri:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",rtrie:"\u22b5",trianglerighteq:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",uharr:"\u21be",upharpoonright:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",rharu:"\u21c0",rightharpoonup:"\u21c0",RightVectorBar:"\u2953",Ropf:"\u211d",reals:"\u211d",RoundImplies:"\u2970",Rrightarrow:"\u21db",rAarr:"\u21db",Rscr:"\u211b",realine:"\u211b",Rsh:"\u21b1",rsh:"\u21b1",RuleDelayed:"\u29f4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",Sfr:"\u{1d516}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03a3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1d54a}",Sqrt:"\u221a",radic:"\u221a",Square:"\u25a1",squ:"\u25a1",square:"\u25a1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228f",sqsub:"\u228f",sqsubset:"\u228f",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1d4ae}",Star:"\u22c6",sstarf:"\u22c6",Sub:"\u22d0",Subset:"\u22d0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227b",sc:"\u227b",succ:"\u227b",SucceedsEqual:"\u2ab0",sce:"\u2ab0",succeq:"\u2ab0",SucceedsSlantEqual:"\u227d",sccue:"\u227d",succcurlyeq:"\u227d",SucceedsTilde:"\u227f",scsim:"\u227f",succsim:"\u227f",Sum:"\u2211",sum:"\u2211",Sup:"\u22d1",Supset:"\u22d1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xde",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1d517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223c",sim:"\u223c",thicksim:"\u223c",thksim:"\u223c",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1d54b}",TripleDot:"\u20db",tdot:"\u20db",Tscr:"\u{1d4af}",Tstrok:"\u0166",Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1d518}",Ugrave:"\xd9",Umacr:"\u016a",UnderBar:"_",lowbar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",bbrk:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",bigcup:"\u22c3",xcup:"\u22c3",UnionPlus:"\u228e",uplus:"\u228e",Uogon:"\u0172",Uopf:"\u{1d54c}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",udarr:"\u21c5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296e",udhar:"\u296e",UpTee:"\u22a5",bot:"\u22a5",bottom:"\u22a5",perp:"\u22a5",UpTeeArrow:"\u21a5",mapstoup:"\u21a5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",Uring:"\u016e",Uscr:"\u{1d4b0}",Utilde:"\u0168",Uuml:"\xdc",VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdash:"\u22a9",Vdashl:"\u2ae6",Vee:"\u22c1",bigvee:"\u22c1",xvee:"\u22c1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200a",hairsp:"\u200a",Vfr:"\u{1d519}",Vopf:"\u{1d54d}",Vscr:"\u{1d4b1}",Vvdash:"\u22aa",Wcirc:"\u0174",Wedge:"\u22c0",bigwedge:"\u22c0",xwedge:"\u22c0",Wfr:"\u{1d51a}",Wopf:"\u{1d54e}",Wscr:"\u{1d4b2}",Xfr:"\u{1d51b}",Xi:"\u039e",Xopf:"\u{1d54f}",Xscr:"\u{1d4b3}",YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yfr:"\u{1d51c}",Yopf:"\u{1d550}",Yscr:"\u{1d4b4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1d4b5}",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",mstpos:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acirc:"\xe2",acy:"\u0430",aelig:"\xe6",afr:"\u{1d51e}",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",amacr:"\u0101",amalg:"\u2a3f",and:"\u2227",wedge:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",angle:"\u2220",ange:"\u29a4",angmsd:"\u2221",measuredangle:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angzarr:"\u237c",aogon:"\u0105",aopf:"\u{1d552}",apE:"\u2a70",apacir:"\u2a6f",ape:"\u224a",approxeq:"\u224a",apid:"\u224b",apos:"'",aring:"\xe5",ascr:"\u{1d4b6}",ast:"*",midast:"*",atilde:"\xe3",auml:"\xe4",awint:"\u2a11",bNot:"\u2aed",backcong:"\u224c",bcong:"\u224c",backepsilon:"\u03f6",bepsi:"\u03f6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223d",bsim:"\u223d",backsimeq:"\u22cd",bsime:"\u22cd",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23b6",bcy:"\u0431",bdquo:"\u201e",ldquor:"\u201e",bemptyv:"\u29b0",beta:"\u03b2",beth:"\u2136",between:"\u226c",twixt:"\u226c",bfr:"\u{1d51f}",bigcirc:"\u25ef",xcirc:"\u25ef",bigodot:"\u2a00",xodot:"\u2a00",bigoplus:"\u2a01",xoplus:"\u2a01",bigotimes:"\u2a02",xotime:"\u2a02",bigsqcup:"\u2a06",xsqcup:"\u2a06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25bd",xdtri:"\u25bd",bigtriangleup:"\u25b3",xutri:"\u25b3",biguplus:"\u2a04",xuplus:"\u2a04",bkarow:"\u290d",rbarr:"\u290d",blacklozenge:"\u29eb",lozf:"\u29eb",blacktriangle:"\u25b4",utrif:"\u25b4",blacktriangledown:"\u25be",dtrif:"\u25be",blacktriangleleft:"\u25c2",ltrif:"\u25c2",blacktriangleright:"\u25b8",rtrif:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bopf:"\u{1d553}",bowtie:"\u22c8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250c",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxminus:"\u229f",minusb:"\u229f",boxplus:"\u229e",plusb:"\u229e",boxtimes:"\u22a0",timesb:"\u22a0",boxuL:"\u255b",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",brvbar:"\xa6",bscr:"\u{1d4b7}",bsemi:"\u204f",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2aae",cacute:"\u0107",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",ccaps:"\u2a4d",ccaron:"\u010d",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cemptyv:"\u29b2",cent:"\xa2",cfr:"\u{1d520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",cir:"\u25cb",cirE:"\u29c3",circ:"\u02c6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21ba",olarr:"\u21ba",circlearrowright:"\u21bb",orarr:"\u21bb",circledS:"\u24c8",oS:"\u24c8",circledast:"\u229b",oast:"\u229b",circledcirc:"\u229a",ocir:"\u229a",circleddash:"\u229d",odash:"\u229d",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2a6d",copf:"\u{1d554}",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",cscr:"\u{1d4b8}",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",curlyeqprec:"\u22de",cuesc:"\u22df",curlyeqsucc:"\u22df",cularr:"\u21b6",curvearrowleft:"\u21b6",cularrp:"\u293d",cup:"\u222a",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curvearrowright:"\u21b7",curarrm:"\u293c",curlyvee:"\u22ce",cuvee:"\u22ce",curlywedge:"\u22cf",cuwed:"\u22cf",curren:"\xa4",cwint:"\u2231",cylcty:"\u232d",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290f",rBarr:"\u290f",dcaron:"\u010f",dcy:"\u0434",ddarr:"\u21ca",downdownarrows:"\u21ca",ddotseq:"\u2a77",eDDot:"\u2a77",deg:"\xb0",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\u{1d521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03dd",gammad:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",llcorner:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\u{1d555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22a1",sdotb:"\u22a1",drcorn:"\u231f",lrcorner:"\u231f",drcrop:"\u230c",dscr:"\u{1d4b9}",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",triangledown:"\u25bf",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xea",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044d",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1d522}",eg:"\u2a9a",egrave:"\xe8",egs:"\u2a96",eqslantgtr:"\u2a96",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",eqslantless:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1d556}",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",epsiv:"\u03f5",straightepsilon:"\u03f5",varepsilon:"\u03f5",equals:"=",equest:"\u225f",questeq:"\u225f",equivDD:"\u2a78",eqvparsl:"\u29e5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212f",eta:"\u03b7",eth:"\xf0",euml:"\xeb",euro:"\u20ac",excl:"!",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\u{1d523}",filig:"\ufb01",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\u{1d557}",fork:"\u22d4",pitchfork:"\u22d4",forkv:"\u2ad9",fpartint:"\u2a0d",frac12:"\xbd",half:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",sfrown:"\u2322",fscr:"\u{1d4bb}",gEl:"\u2a8c",gtreqqless:"\u2a8c",gacute:"\u01f5",gamma:"\u03b3",gap:"\u2a86",gtrapprox:"\u2a86",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\u{1d524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gneq:"\u2a88",gnsim:"\u22e7",gopf:"\u{1d558}",gscr:"\u210a",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtrdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrarr:"\u2978",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",hardcy:"\u044a",harrcir:"\u2948",harrw:"\u21ad",leftrightsquigarrow:"\u21ad",hbar:"\u210f",hslash:"\u210f",planck:"\u210f",plankv:"\u210f",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22b9",hfr:"\u{1d525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",larrhk:"\u21a9",hookrightarrow:"\u21aa",rarrhk:"\u21aa",hopf:"\u{1d559}",horbar:"\u2015",hscr:"\u{1d4bd}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xed",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexcl:"\xa1",ifr:"\u{1d526}",igrave:"\xec",iiiint:"\u2a0c",qint:"\u2a0c",iiint:"\u222d",tint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",imath:"\u0131",inodot:"\u0131",imof:"\u22b7",imped:"\u01b5",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",intcal:"\u22ba",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iopf:"\u{1d55a}",iota:"\u03b9",iquest:"\xbf",iscr:"\u{1d4be}",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",itilde:"\u0129",iukcy:"\u0456",iuml:"\xef",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1d527}",jmath:"\u0237",jopf:"\u{1d55b}",jscr:"\u{1d4bf}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03ba",kappav:"\u03f0",varkappa:"\u03f0",kcedil:"\u0137",kcy:"\u043a",kfr:"\u{1d528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c",kopf:"\u{1d55c}",kscr:"\u{1d4c0}",lAtail:"\u291b",lBarr:"\u290e",lEg:"\u2a8b",lesseqqgtr:"\u2a8b",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lambda:"\u03bb",langd:"\u2991",lap:"\u2a85",lessapprox:"\u2a85",laquo:"\xab",larrbfs:"\u291f",larrfs:"\u291d",larrlp:"\u21ab",looparrowleft:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",leftarrowtail:"\u21a2",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lcy:"\u043b",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21c7",llarr:"\u21c7",leftthreetimes:"\u22cb",lthree:"\u22cb",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessdot:"\u22d6",ltdot:"\u22d6",lfisht:"\u297c",lfr:"\u{1d529}",lgE:"\u2a91",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lneq:"\u2a87",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",longmapsto:"\u27fc",xmap:"\u27fc",looparrowright:"\u21ac",rarrlp:"\u21ac",lopar:"\u2985",lopf:"\u{1d55d}",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",loz:"\u25ca",lozenge:"\u25ca",lpar:"(",lparlt:"\u2993",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\u{1d4c1}",lsime:"\u2a8d",lsimg:"\u2a8f",lsquor:"\u201a",sbquo:"\u201a",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltri:"\u25c3",triangleleft:"\u25c3",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",mDDot:"\u223a",macr:"\xaf",strns:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",mfr:"\u{1d52a}",mho:"\u2127",micro:"\xb5",midcir:"\u2af0",minus:"\u2212",minusdu:"\u2a2a",mlcp:"\u2adb",models:"\u22a7",mopf:"\u{1d55e}",mscr:"\u{1d4c2}",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nLeftarrow:"\u21cd",nlArr:"\u21cd",nLeftrightarrow:"\u21ce",nhArr:"\u21ce",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nRightarrow:"\u21cf",nrArr:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",nacute:"\u0144",nang:"\u2220\u20d2",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",natur:"\u266e",natural:"\u266e",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",neArr:"\u21d7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1d52b}",nharr:"\u21ae",nleftrightarrow:"\u21ae",nhpar:"\u2af2",nis:"\u22fc",nisd:"\u22fa",njcy:"\u045a",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219a",nleftarrow:"\u219a",nldr:"\u2025",nopf:"\u{1d55f}",not:"\xac",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinvb:"\u22f7",notinvc:"\u22f6",notnivb:"\u22fe",notnivc:"\u22fd",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",nrarr:"\u219b",nrightarrow:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nscr:"\u{1d4c3}",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsubseteqq:"\u2ac5\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupseteqq:"\u2ac6\u0338",ntilde:"\xf1",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22ad",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwnear:"\u2927",oacute:"\xf3",ocirc:"\xf4",ocy:"\u043e",odblac:"\u0151",odiv:"\u2a38",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ofr:"\u{1d52c}",ogon:"\u02db",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",olcir:"\u29be",olcross:"\u29bb",olt:"\u29c0",omacr:"\u014d",omega:"\u03c9",omicron:"\u03bf",omid:"\u29b6",oopf:"\u{1d560}",opar:"\u29b7",operp:"\u29b9",or:"\u2228",vee:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oslash:"\xf8",osol:"\u2298",otilde:"\xf5",otimesas:"\u2a36",ouml:"\xf6",ovbar:"\u233d",para:"\xb6",parsim:"\u2af3",parsl:"\u2afd",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1d52d}",phi:"\u03c6",phiv:"\u03d5",straightphi:"\u03d5",varphi:"\u03d5",phone:"\u260e",pi:"\u03c0",piv:"\u03d6",varpi:"\u03d6",planckh:"\u210e",plus:"+",plusacir:"\u2a23",pluscir:"\u2a22",plusdu:"\u2a25",pluse:"\u2a72",plussim:"\u2a26",plustwo:"\u2a27",pointint:"\u2a15",popf:"\u{1d561}",pound:"\xa3",prE:"\u2ab3",prap:"\u2ab7",precapprox:"\u2ab7",precnapprox:"\u2ab9",prnap:"\u2ab9",precneqq:"\u2ab5",prnE:"\u2ab5",precnsim:"\u22e8",prnsim:"\u22e8",prime:"\u2032",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prurel:"\u22b0",pscr:"\u{1d4c5}",psi:"\u03c8",puncsp:"\u2008",qfr:"\u{1d52e}",qopf:"\u{1d562}",qprime:"\u2057",qscr:"\u{1d4c6}",quatint:"\u2a16",quest:"?",rAtail:"\u291c",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",raemptyv:"\u29b3",rangd:"\u2992",range:"\u29a5",raquo:"\xbb",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",rightarrowtail:"\u21a3",rarrw:"\u219d",rightsquigarrow:"\u219d",ratail:"\u291a",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21b3",rect:"\u25ad",rfisht:"\u297d",rfr:"\u{1d52f}",rharul:"\u296c",rho:"\u03c1",rhov:"\u03f1",varrho:"\u03f1",rightrightarrows:"\u21c9",rrarr:"\u21c9",rightthreetimes:"\u22cc",rthree:"\u22cc",ring:"\u02da",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",ropar:"\u2986",ropf:"\u{1d563}",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rsaquo:"\u203a",rscr:"\u{1d4c7}",rtimes:"\u22ca",rtri:"\u25b9",triangleright:"\u25b9",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",scE:"\u2ab4",scap:"\u2ab8",succapprox:"\u2ab8",scaron:"\u0161",scedil:"\u015f",scirc:"\u015d",scnE:"\u2ab6",succneqq:"\u2ab6",scnap:"\u2aba",succnapprox:"\u2aba",scnsim:"\u22e9",succnsim:"\u22e9",scpolint:"\u2a13",scy:"\u0441",sdot:"\u22c5",sdote:"\u2a66",seArr:"\u21d8",sect:"\xa7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1d530}",sharp:"\u266f",shchcy:"\u0449",shcy:"\u0448",shy:"\xad",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",varsigma:"\u03c2",simdot:"\u2a6a",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",smashp:"\u2a33",smeparsl:"\u29e4",smile:"\u2323",ssmile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\u{1d564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\ufe00",sqcups:"\u2294\ufe00",sscr:"\u{1d4c8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2ac5",subseteqq:"\u2ac5",subdot:"\u2abd",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subsetneqq:"\u2acb",subne:"\u228a",subsetneq:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"\u2ac6",supseteqq:"\u2ac6",supdot:"\u2abe",supdsub:"\u2ad8",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supsetneqq:"\u2acc",supne:"\u228b",supsetneq:"\u228b",supplus:"\u2ac0",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swnwar:"\u292a",szlig:"\xdf",target:"\u2316",tau:"\u03c4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1d531}",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",vartheta:"\u03d1",thorn:"\xfe",times:"\xd7",timesbar:"\u2a31",timesd:"\u2a30",topbot:"\u2336",topcir:"\u2af1",topf:"\u{1d565}",topfork:"\u2ada",tprime:"\u2034",triangle:"\u25b5",utri:"\u25b5",triangleq:"\u225c",trie:"\u225c",tridot:"\u25ec",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\u{1d4c9}",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",uHar:"\u2963",uacute:"\xfa",ubrcy:"\u045e",ubreve:"\u016d",ucirc:"\xfb",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297e",ufr:"\u{1d532}",ugrave:"\xf9",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",uogon:"\u0173",uopf:"\u{1d566}",upsi:"\u03c5",upsilon:"\u03c5",upuparrows:"\u21c8",uuarr:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",uscr:"\u{1d4ca}",utdot:"\u22f0",utilde:"\u0169",uuml:"\xfc",uwangle:"\u29a7",vBar:"\u2ae8",vBarv:"\u2ae9",vangrt:"\u299c",varsubsetneq:"\u228a\ufe00",vsubne:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",vsubnE:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",vsupne:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vsupnE:"\u2acc\ufe00",vcy:"\u0432",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",vfr:"\u{1d533}",vopf:"\u{1d567}",vscr:"\u{1d4cb}",vzigzag:"\u299a",wcirc:"\u0175",wedbar:"\u2a5f",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1d534}",wopf:"\u{1d568}",wscr:"\u{1d4cc}",xfr:"\u{1d535}",xi:"\u03be",xnis:"\u22fb",xopf:"\u{1d569}",xscr:"\u{1d4cd}",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",yen:"\xa5",yfr:"\u{1d536}",yicy:"\u0457",yopf:"\u{1d56a}",yscr:"\u{1d4ce}",yucy:"\u044e",yuml:"\xff",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeta:"\u03b6",zfr:"\u{1d537}",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\u{1d56b}",zscr:"\u{1d4cf}",zwj:"\u200d",zwnj:"\u200c"};ID.ngsp="\ue500";class Lk extends ny{constructor(t,e,s){super(s,t),this.tokenType=e}}class AQ{constructor(t,e,s){this.tokens=t,this.errors=e,this.nonNormalizedIcuExpressions=s}}const PQ=/\r\n?/g;function dy(n){return`Unexpected character "${0===n?"EOF":String.fromCharCode(n)}"`}function WF(n){return`Unknown entity "${n}" - use the "&#;" or "&#x;" syntax`}var PD;!function(n){n.HEX="hexadecimal",n.DEC="decimal"}(PD||(PD={}));class Ak{constructor(t){this.error=t}}class RQ{constructor(t,e,s){this._getTagDefinition=e,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=s.tokenizeExpansionForms||!1,this._interpolationConfig=s.interpolationConfig||br,this._leadingTriviaCodePoints=s.leadingTriviaChars&&s.leadingTriviaChars.map(r=>r.codePointAt(0)||0);const i=s.range||{endPos:t.content.length,startPos:0,startLine:0,startCol:0};this._cursor=s.escapedString?new OD(t,i):new hy(t,i),this._preserveLineEndings=s.preserveLineEndings||!1,this._escapedString=s.escapedString||!1,this._i18nNormalizeLineEndingsInICUs=s.i18nNormalizeLineEndingsInICUs||!1;try{this._cursor.init()}catch(r){this.handleError(r)}}_processCarriageReturns(t){return this._preserveLineEndings?t:t.replace(PQ,"\n")}tokenize(){for(;0!==this._cursor.peek();){const t=this._cursor.clone();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(t):this._attemptCharCode(45)?this._consumeComment(t):this._consumeDocType(t):this._attemptCharCode(47)?this._consumeTagClose(t):this._consumeTagOpen(t):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(e){this.handleError(e)}}this._beginToken(24),this._endToken([])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(function HQ(n){return n!==Wo}(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===Wo){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(t,e=this._cursor.clone()){this._currentTokenStart=e,this._currentTokenType=t}_endToken(t,e){if(null===this._currentTokenStart)throw new Lk("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(e));if(null===this._currentTokenType)throw new Lk("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));const s={type:this._currentTokenType,parts:t,sourceSpan:(e??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(s),this._currentTokenStart=null,this._currentTokenType=null,s}_createError(t,e){this._isInExpansionForm()&&(t+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const s=new Lk(t,this._currentTokenType,e);return this._currentTokenStart=null,this._currentTokenType=null,new Ak(s)}handleError(t){if(t instanceof Ik&&(t=this._createError(t.msg,this._cursor.getSpan(t.cursor))),!(t instanceof Ak))throw t;this.errors.push(t.error)}_attemptCharCode(t){return this._cursor.peek()===t&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(t){return!!function jQ(n,t){return GF(n)===GF(t)}(this._cursor.peek(),t)&&(this._cursor.advance(),!0)}_requireCharCode(t){const e=this._cursor.clone();if(!this._attemptCharCode(t))throw this._createError(dy(this._cursor.peek()),this._cursor.getSpan(e))}_attemptStr(t){const e=t.length;if(this._cursor.charsLeft()this._attemptStr("--\x3e")),this._beginToken(11),this._requireStr("--\x3e"),this._endToken([])}_consumeCdata(t){this._beginToken(12,t),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(t){this._beginToken(18,t);const e=this._cursor.clone();this._attemptUntilChar(62);const s=this._cursor.getChars(e);this._cursor.advance(),this._endToken([s])}_consumePrefixAndName(){const t=this._cursor.clone();let s,e="";for(;58!==this._cursor.peek()&&!NQ(this._cursor.peek());)this._cursor.advance();58===this._cursor.peek()?(e=this._cursor.getChars(t),this._cursor.advance(),s=this._cursor.clone()):s=t,this._requireCharCodeUntilFn(qF,""===e?0:1);return[e,this._cursor.getChars(s)]}_consumeTagOpen(t){let e,s,i;try{if(!nk(this._cursor.peek()))throw this._createError(dy(this._cursor.peek()),this._cursor.getSpan(t));for(i=this._consumeTagOpenStart(t),s=i.parts[0],e=i.parts[1],this._attemptCharCodeUntilFn(Ki);47!==this._cursor.peek()&&62!==this._cursor.peek()&&60!==this._cursor.peek()&&0!==this._cursor.peek();)this._consumeAttributeName(),this._attemptCharCodeUntilFn(Ki),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(Ki),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(Ki);this._consumeTagOpenEnd()}catch(o){if(o instanceof Ak)return void(i?i.type=4:(this._beginToken(5,t),this._endToken(["<"])));throw o}const r=this._getTagDefinition(e).getContentType(s);r===to.RAW_TEXT?this._consumeRawTextWithTagClose(s,e,!1):r===to.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(s,e,!0)}_consumeRawTextWithTagClose(t,e,s){this._consumeRawText(s,()=>!!(this._attemptCharCode(60)&&this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(Ki),this._attemptStrCaseInsensitive(e)))&&(this._attemptCharCodeUntilFn(Ki),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(i=>62===i,3),this._cursor.advance(),this._endToken([t,e])}_consumeTagOpenStart(t){this._beginToken(0,t);const e=this._consumePrefixAndName();return this._endToken(e)}_consumeAttributeName(){const t=this._cursor.peek();if(39===t||34===t)throw this._createError(dy(t),this._cursor.getSpan());this._beginToken(14);const e=this._consumePrefixAndName();this._endToken(e)}_consumeAttributeValue(){if(39===this._cursor.peek()||34===this._cursor.peek()){const e=this._cursor.peek();this._consumeQuote(e);const s=()=>this._cursor.peek()===e;this._consumeWithInterpolation(16,17,s,s),this._consumeQuote(e)}else{const e=()=>qF(this._cursor.peek());this._consumeWithInterpolation(16,17,e,e)}}_consumeQuote(t){this._beginToken(15),this._requireCharCode(t),this._endToken([String.fromCodePoint(t)])}_consumeTagOpenEnd(){const t=this._attemptCharCode(47)?2:1;this._beginToken(t),this._requireCharCode(62),this._endToken([])}_consumeTagClose(t){this._beginToken(3,t),this._attemptCharCodeUntilFn(Ki);const e=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Ki),this._requireCharCode(62),this._endToken(e)}_consumeExpansionFormStart(){this._beginToken(19),this._requireCharCode(Cc),this._endToken([]),this._expansionCaseStack.push(19),this._beginToken(7);const t=this._readUntil(44),e=this._processCarriageReturns(t);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([e]);else{const i=this._endToken([t]);e!==t&&this.nonNormalizedIcuExpressions.push(i)}this._requireCharCode(44),this._attemptCharCodeUntilFn(Ki),this._beginToken(7);const s=this._readUntil(44);this._endToken([s]),this._requireCharCode(44),this._attemptCharCodeUntilFn(Ki)}_consumeExpansionCaseStart(){this._beginToken(20);const t=this._readUntil(Cc).trim();this._endToken([t]),this._attemptCharCodeUntilFn(Ki),this._beginToken(21),this._requireCharCode(Cc),this._endToken([]),this._attemptCharCodeUntilFn(Ki),this._expansionCaseStack.push(21)}_consumeExpansionCaseEnd(){this._beginToken(22),this._requireCharCode(Wo),this._endToken([]),this._attemptCharCodeUntilFn(Ki),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(23),this._requireCharCode(Wo),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(t,e,s,i){this._beginToken(t);const r=[];for(;!s();){const o=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(r.join(""))],o),r.length=0,this._consumeInterpolation(e,o,i),this._beginToken(t)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(r.join(""))]),r.length=0,this._consumeEntity(t),this._beginToken(t)):r.push(this._readChar())}this._inInterpolation=!1,this._endToken([this._processCarriageReturns(r.join(""))])}_consumeInterpolation(t,e,s){const i=[];this._beginToken(t,e),i.push(this._interpolationConfig.start);const r=this._cursor.clone();let o=null,a=!1;for(;0!==this._cursor.peek()&&(null===s||!s());){const l=this._cursor.clone();if(this._isTagStart())return this._cursor=l,i.push(this._getProcessedChars(r,l)),void this._endToken(i);if(null===o){if(this._attemptStr(this._interpolationConfig.end))return i.push(this._getProcessedChars(r,l)),i.push(this._interpolationConfig.end),void this._endToken(i);this._attemptStr("//")&&(a=!0)}const c=this._cursor.peek();this._cursor.advance(),92===c?this._cursor.advance():c===o?o=null:!a&&null===o&&sk(c)&&(o=c)}i.push(this._getProcessedChars(r,this._cursor)),this._endToken(i)}_getProcessedChars(t,e){return this._processCarriageReturns(e.getChars(t))}_isTextEnd(){return!!(this._isTagStart()||0===this._cursor.peek()||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===Wo&&this._isInExpansionCase()))}_isTagStart(){if(60===this._cursor.peek()){const t=this._cursor.clone();t.advance();const e=t.peek();if(97<=e&&e<=122||65<=e&&e<=90||47===e||33===e)return!0}return!1}_readUntil(t){const e=this._cursor.clone();return this._attemptUntilChar(t),this._cursor.getChars(e)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&21===this._expansionCaseStack[this._expansionCaseStack.length-1]}_isInExpansionForm(){return this._expansionCaseStack.length>0&&19===this._expansionCaseStack[this._expansionCaseStack.length-1]}isExpansionFormStart(){if(this._cursor.peek()!==Cc)return!1;if(this._interpolationConfig){const t=this._cursor.clone(),e=this._attemptStr(this._interpolationConfig.start);return this._cursor=t,!e}return!0}}function Ki(n){return!ek(n)||0===n}function qF(n){return ek(n)||62===n||60===n||47===n||39===n||34===n||61===n||0===n}function NQ(n){return(n<97||12257)}function FQ(n){return 59===n||0===n||!function pK(n){return n>=97&&n<=102||n>=65&&n<=70||xc(n)}(n)}function YQ(n){return 59===n||0===n||!nk(n)}function GF(n){return n>=97&&n<=122?n-97+65:n}class hy{constructor(t,e){if(t instanceof hy){this.file=t.file,this.input=t.input,this.end=t.end;const s=t.state;this.state={peek:s.peek,offset:s.offset,line:s.line,column:s.column}}else{if(!e)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=t,this.input=t.content,this.end=e.endPos,this.state={peek:-1,offset:e.startPos,line:e.startLine,column:e.startCol}}}clone(){return new hy(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(t){return this.state.offset-t.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(t,e){let s=t=t||this;if(e)for(;this.diff(t)>0&&-1!==e.indexOf(t.peek());)s===t&&(t=t.clone()),t.advance();const i=this.locationFromCursor(t),r=this.locationFromCursor(this),o=s!==t?this.locationFromCursor(s):i;return new Ss(i,r,o)}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new Ik('Unexpected character "EOF"',this);const e=this.charAt(t.offset);10===e?(t.line++,t.column=0):hF(e)||t.column++,t.offset++,this.updatePeek(t)}updatePeek(t){t.peek=t.offset>=this.end?0:this.charAt(t.offset)}locationFromCursor(t){return new ld(t.file,t.state.offset,t.state.line,t.state.column)}}class OD extends hy{constructor(t,e){t instanceof OD?(super(t),this.internalState={...t.internalState}):(super(t,e),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new OD(this)}getChars(t){const e=t.clone();let s="";for(;e.internalState.offsetthis.internalState.peek;if(92===t())if(this.internalState={...this.state},this.advanceState(this.internalState),110===t())this.state.peek=10;else if(114===t())this.state.peek=13;else if(118===t())this.state.peek=11;else if(116===t())this.state.peek=9;else if(98===t())this.state.peek=8;else if(102===t())this.state.peek=12;else if(117===t())if(this.advanceState(this.internalState),t()===Cc){this.advanceState(this.internalState);const e=this.clone();let s=0;for(;t()!==Wo;)this.advanceState(this.internalState),s++;this.state.peek=this.decodeHexDigits(e,s)}else{const e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(120===t()){this.advanceState(this.internalState);const e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(pF(t())){let e="",s=0,i=this.clone();for(;pF(t())&&s<3;)i=this.clone(),e+=String.fromCodePoint(t()),this.advanceState(this.internalState),s++;this.state.peek=parseInt(e,8),this.internalState=i.internalState}else hF(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(t,e){const s=this.input.slice(t.internalState.offset,t.internalState.offset+e),i=parseInt(s,16);if(isNaN(i))throw t.state=t.internalState,new Ik("Invalid hexadecimal escape sequence",t);return i}}class Ik{constructor(t,e){this.msg=t,this.cursor=e}}class ao extends ny{constructor(t,e,s){super(e,s),this.elementName=t}static create(t,e,s){return new ao(t,e,s)}}class py{constructor(t,e){this.rootNodes=t,this.errors=e}}class Pk{constructor(t,e){this.tokens=t,this.getTagDefinition=e,this._index=-1,this._elementStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;24!==this._peek.type;)0===this._peek.type||4===this._peek.type?this._consumeStartTag(this._advance()):3===this._peek.type?this._consumeEndTag(this._advance()):12===this._peek.type?(this._closeVoidElement(),this._consumeCdata(this._advance())):10===this._peek.type?(this._closeVoidElement(),this._consumeComment(this._advance())):5===this._peek.type||7===this._peek.type||6===this._peek.type?(this._closeVoidElement(),this._consumeText(this._advance())):19===this._peek.type?this._consumeExpansion(this._advance()):this._advance()}_advance(){const t=this._peek;return this._index0)return this.errors=this.errors.concat(r.errors),null;const o=new Ss(t.sourceSpan.start,i.sourceSpan.end,t.sourceSpan.fullStart),a=new Ss(e.sourceSpan.start,i.sourceSpan.end,e.sourceSpan.fullStart);return new $F(t.parts[0],r.rootNodes,o,t.sourceSpan,a)}_collectExpansionExpTokens(t){const e=[],s=[21];for(;;){if((19===this._peek.type||21===this._peek.type)&&s.push(this._peek.type),22===this._peek.type){if(!KF(s,21))return this.errors.push(ao.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(s.pop(),0===s.length)return e}if(23===this._peek.type){if(!KF(s,19))return this.errors.push(ao.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;s.pop()}if(24===this._peek.type)return this.errors.push(ao.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;e.push(this._advance())}}_consumeText(t){const e=[t],s=t.sourceSpan;let i=t.parts[0];if(i.length>0&&"\n"===i[0]){const r=this._getParentElement();null!=r&&0===r.children.length&&this.getTagDefinition(r.name).ignoreFirstLf&&(i=i.substring(1),e[0]={type:t.type,sourceSpan:t.sourceSpan,parts:[i]})}for(;8===this._peek.type||5===this._peek.type||9===this._peek.type;)t=this._advance(),e.push(t),8===t.type?i+=t.parts.join("").replace(/&([^;]+);/g,QF):9===t.type?i+=t.parts[0]:i+=t.parts.join("");if(i.length>0){const r=t.sourceSpan;this._addToParent(new ay(i,new Ss(s.start,r.end,s.fullStart,s.details),e))}}_closeVoidElement(){const t=this._getParentElement();t&&this.getTagDefinition(t.name).isVoid&&this._elementStack.pop()}_consumeStartTag(t){const[e,s]=t.parts,i=[];for(;14===this._peek.type;)i.push(this._consumeAttr(this._advance()));const r=this._getElementFullName(e,s,this._getParentElement());let o=!1;if(2===this._peek.type){this._advance(),o=!0;const h=this.getTagDefinition(r);h.canSelfClose||null!==zR(r)||h.isVoid||this.errors.push(ao.create(r,t.sourceSpan,`Only void and foreign elements can be self closed "${t.parts[1]}"`))}else 1===this._peek.type&&(this._advance(),o=!1);const a=this._peek.sourceSpan.fullStart,l=new Ss(t.sourceSpan.start,a,t.sourceSpan.fullStart),c=new Ss(t.sourceSpan.start,a,t.sourceSpan.fullStart),u=new cy(r,i,[],l,c,void 0);this._pushElement(u),o?this._popElement(r,l):4===t.type&&(this._popElement(r,null),this.errors.push(ao.create(r,l,`Opening tag "${r}" not terminated.`)))}_pushElement(t){const e=this._getParentElement();e&&this.getTagDefinition(e.name).isClosedByChild(t.name)&&this._elementStack.pop(),this._addToParent(t),this._elementStack.push(t)}_consumeEndTag(t){const e=this._getElementFullName(t.parts[0],t.parts[1],this._getParentElement());if(this.getTagDefinition(e).isVoid)this.errors.push(ao.create(e,t.sourceSpan,`Void elements do not have end tags "${t.parts[1]}"`));else if(!this._popElement(e,t.sourceSpan)){const s=`Unexpected closing tag "${e}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(ao.create(e,t.sourceSpan,s))}}_popElement(t,e){let s=!1;for(let i=this._elementStack.length-1;i>=0;i--){const r=this._elementStack[i];if(r.name===t)return r.endSourceSpan=e,r.sourceSpan.end=null!==e?e.end:r.sourceSpan.end,this._elementStack.splice(i,this._elementStack.length-i),!s;this.getTagDefinition(r.name).closedByParent||(s=!0)}return!1}_consumeAttr(t){const e=gE(t.parts[0],t.parts[1]);let s=t.sourceSpan.end;15===this._peek.type&&this._advance();let i="";const r=[];let o,a;if(16===this._peek.type)for(o=this._peek.sourceSpan,a=this._peek.sourceSpan.end;16===this._peek.type||17===this._peek.type||9===this._peek.type;){const u=this._advance();r.push(u),17===u.type?i+=u.parts.join("").replace(/&([^;]+);/g,QF):9===u.type?i+=u.parts[0]:i+=u.parts.join(""),a=s=u.sourceSpan.end}15===this._peek.type&&(s=this._advance().sourceSpan.end);const c=o&&a&&new Ss(o.start,a,o.fullStart);return new AD(e,i,new Ss(t.sourceSpan.start,s,t.sourceSpan.fullStart),t.sourceSpan,c,r.length>0?r:void 0,void 0)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_addToParent(t){const e=this._getParentElement();null!=e?e.children.push(t):this.rootNodes.push(t)}_getElementFullName(t,e,s){if(""===t&&(""===(t=this.getTagDefinition(e).implicitNamespacePrefix||"")&&null!=s)){const i=eo(s.name)[1];this.getTagDefinition(i).preventNamespaceInheritance||(t=zR(s.name))}return gE(t,e)}}function KF(n,t){return n.length>0&&n[n.length-1]===t}function QF(n,t){return void 0!==ID[t]?ID[t]||n:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):n}class JF extends class BQ{constructor(t){this.getTagDefinition=t}parse(t,e,s){const i=function IQ(n,t,e,s={}){const i=new RQ(new ik(n,t),e,s);return i.tokenize(),new AQ(function VQ(n){const t=[];let e;for(let s=0;st.name===XF)}(t.attrs)?new cy(t.name,Le(this,t.attrs),t.children,t.sourceSpan,t.startSourceSpan,t.endSourceSpan,t.i18n):new cy(t.name,t.attrs,function GQ(n,t){const e=[];return t.forEach((s,i)=>{const r={prev:t[i-1],next:t[i+1]},o=s.visit(n,r);o&&e.push(o)}),e}(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan,t.i18n)}visitAttribute(t,e){return t.name!==XF?t:null}visitText(t,e){const s=t.value.match($Q),i=e&&(e.prev instanceof ly||e.next instanceof ly);if(s||i){const r=t.tokens.map(a=>5===a.type?function qQ({type:n,parts:t,sourceSpan:e}){return{type:n,parts:[nY(t[0])],sourceSpan:e}}(a):a),o=nY(t.value);return new ay(o,t.sourceSpan,r,t.i18n)}return null}visitComment(t,e){return t}visitExpansion(t,e){return t}visitExpansionCase(t,e){return t}}function nY(n){return tY(n).replace(zQ," ")}function RD(n,t=!1){return Ai(Object.keys(n).map(e=>({key:e,quoted:t,value:n[e]})))}let ND;function sY(){return ND||(ND={},FD(zn.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),FD(zn.STYLE,["*|style"]),FD(zn.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","track|src","video|poster","video|src"]),FD(zn.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),ND}function FD(n,t){for(const e of t)ND[e.toLowerCase()]=n}const tJ=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|autocomplete,!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,autocomplete,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],Ok={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},eJ=Object.keys(Ok).reduce((n,t)=>(n[Ok[t]]=t,n),{});class iY extends class KQ{}{constructor(){super(),this._schema={},this._eventSchema={},tJ.forEach(t=>{const e={},s=new Set,[i,r]=t.split("|"),o=r.split(","),[a,l]=i.split("^");a.split(",").forEach(u=>{this._schema[u.toLowerCase()]=e,this._eventSchema[u.toLowerCase()]=s});const c=l&&this._schema[l.toLowerCase()];if(c){Object.keys(c).forEach(u=>{e[u]=c[u]});for(const u of this._eventSchema[l.toLowerCase()])s.add(u)}o.forEach(u=>{if(u.length>0)switch(u[0]){case"*":s.add(u.substring(1));break;case"!":e[u.substring(1)]="boolean";break;case"#":e[u.substring(1)]="number";break;case"%":e[u.substring(1)]="object";break;default:e[u]="string"}})})}hasProperty(t,e,s){if(s.some(r=>r.name===vE.name))return!0;if(t.indexOf("-")>-1){if(fE(t)||mE(t))return!1;if(s.some(r=>r.name===yE.name))return!0}return!!(this._schema[t.toLowerCase()]||this._schema.unknown)[e]}hasElement(t,e){return!!(e.some(s=>s.name===vE.name)||t.indexOf("-")>-1&&(fE(t)||mE(t)||e.some(s=>s.name===yE.name)))||!!this._schema[t.toLowerCase()]}securityContext(t,e,s){s&&(e=this.getMappedPropName(e)),t=t.toLowerCase(),e=e.toLowerCase();let i=sY()[t+"|"+e];return i||(i=sY()["*|"+e],i||zn.NONE)}getMappedPropName(t){return Ok[t]||t}getDefaultComponentElementName(){return"ng-component"}validateProperty(t){if(t.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event property '${t}' is disallowed for security reasons, please use (${t.slice(2)})=...\nIf '${t}' is a directive input, make sure the directive is imported by the current module.`}}return{error:!1}}validateAttribute(t){if(t.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event attribute '${t}' is disallowed for security reasons, please use (${t.slice(2)})=...`}}return{error:!1}}allKnownElementNames(){return Object.keys(this._schema)}allKnownAttributesOfElement(t){const e=this._schema[t.toLowerCase()]||this._schema.unknown;return Object.keys(e).map(s=>{var i;return null!==(i=eJ[s])&&void 0!==i?i:s})}allKnownEventsOfElement(t){var e;return Array.from(null!==(e=this._eventSchema[t.toLowerCase()])&&void 0!==e?e:[])}normalizeAnimationStyleProperty(t){return function w7(n){return n.replace(b7,(...t)=>t[1].toUpperCase())}(t)}normalizeAnimationStyleValue(t,e,s){let i="";const r=s.toString().trim();let o=null;if(function nJ(n){switch(n){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(t)&&0!==s&&"0"!==s)if("number"==typeof s)i="px";else{const a=s.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&(o=`Please provide a CSS unit value for ${e}:${s}`)}return{error:o,value:r+i}}}const rY=new Set(["iframe|srcdoc","*|innerhtml","*|outerhtml","embed|src","object|codebase","object|data"]);function oY(n,t){return n=n.toLowerCase(),t=t.toLowerCase(),rY.has(n+"|"+t)||rY.has("*|"+t)}const Rk="animate-";class aJ{constructor(t,e,s,i){this._exprParser=t,this._interpolationConfig=e,this._schemaRegistry=s,this.errors=i}get interpolationConfig(){return this._interpolationConfig}createBoundHostProperties(t,e){const s=[];for(const i of Object.keys(t)){const r=t[i];"string"==typeof r?this.parsePropertyBinding(i,r,!0,e,e.start.offset,void 0,[],s,e):this._reportError(`Value of the host property binding "${i}" needs to be a string representing an expression but got "${r}" (${typeof r})`,e)}return s}createDirectiveHostEventAsts(t,e){const s=[];for(const i of Object.keys(t)){const r=t[i];"string"==typeof r?this.parseEvent(i,r,!1,e,e,[],s,e):this._reportError(`Value of the host listener "${i}" needs to be a string representing an expression but got "${r}" (${typeof r})`,e)}return s}parseInterpolation(t,e,s){const i=e.start.toString(),r=e.fullStart.offset;try{const o=this._exprParser.parseInterpolation(t,i,r,s,this._interpolationConfig);return o&&this._reportExpressionParserErrors(o.errors,e),o}catch(o){return this._reportError(`${o}`,e),this._exprParser.wrapLiteralPrimitive("ERROR",i,r)}}parseInterpolationExpression(t,e){const s=e.start.toString(),i=e.start.offset;try{const r=this._exprParser.parseInterpolationExpression(t,s,i);return r&&this._reportExpressionParserErrors(r.errors,e),r}catch(r){return this._reportError(`${r}`,e),this._exprParser.wrapLiteralPrimitive("ERROR",s,i)}}parseInlineTemplateBinding(t,e,s,i,r,o,a,l){const c=s.start.offset+"*".length,u=this._parseTemplateBindings(t,e,s,c,i);for(const h of u){const m=Lc(s,h.sourceSpan),v=h.key.source,D=Lc(s,h.key.span);if(h instanceof gk){const C=h.value?h.value.source:"$implicit",k=h.value?Lc(s,h.value.span):void 0;a.push(new AK(v,C,m,D,k))}else if(h.value){const C=l?m:s,k=Lc(s,h.value.ast.sourceSpan);this._parsePropertyAst(v,h.value,C,D,k,r,o)}else r.push([v,""]),this.parseLiteralAttr(v,null,D,i,void 0,r,o,D)}}_parseTemplateBindings(t,e,s,i,r){const o=s.start.toString();try{const a=this._exprParser.parseTemplateBindings(t,e,o,i,r);return this._reportExpressionParserErrors(a.errors,s),a.warnings.forEach(l=>{this._reportError(l,s,Wa.WARNING)}),a.templateBindings}catch(a){return this._reportError(`${a}`,s),[]}}parseLiteralAttr(t,e,s,i,r,o,a,l){Nk(t)?(t=t.substring(1),void 0!==l&&(l=Lc(l,new oo(l.start.offset+1,l.end.offset))),e&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',s,Wa.ERROR),this._parseAnimation(t,e,s,i,l,r,o,a)):a.push(new _k(t,this._exprParser.wrapLiteralPrimitive(e,"",i),cd.LITERAL_ATTR,s,l,r))}parsePropertyBinding(t,e,s,i,r,o,a,l,c){0===t.length&&this._reportError("Property name is missing in binding",i);let u=!1;t.startsWith(Rk)?(u=!0,t=t.substring(Rk.length),void 0!==c&&(c=Lc(c,new oo(c.start.offset+Rk.length,c.end.offset)))):Nk(t)&&(u=!0,t=t.substring(1),void 0!==c&&(c=Lc(c,new oo(c.start.offset+1,c.end.offset)))),u?this._parseAnimation(t,e,i,r,c,o,a,l):this._parsePropertyAst(t,this._parseBinding(e,s,o||i,r),i,c,o,a,l)}parsePropertyInterpolation(t,e,s,i,r,o,a,l){const c=this.parseInterpolation(e,i||s,l);return!!c&&(this._parsePropertyAst(t,c,s,a,i,r,o),!0)}_parsePropertyAst(t,e,s,i,r,o,a){o.push([t,e.source]),a.push(new _k(t,e,cd.DEFAULT,s,i,r))}_parseAnimation(t,e,s,i,r,o,a,l){0===t.length&&this._reportError("Animation trigger is missing",s);const c=this._parseBinding(e||"undefined",!1,o||s,i);a.push([t,c.source]),l.push(new _k(t,c,cd.ANIMATION,s,r,o))}_parseBinding(t,e,s,i){const r=(s&&s.start||"(unknown)").toString();try{const o=e?this._exprParser.parseSimpleBinding(t,r,i,this._interpolationConfig):this._exprParser.parseBinding(t,r,i,this._interpolationConfig);return o&&this._reportExpressionParserErrors(o.errors,s),o}catch(o){return this._reportError(`${o}`,s),this._exprParser.wrapLiteralPrimitive("ERROR",r,i)}}createBoundElementProperty(t,e,s=!1,i=!0){if(e.isAnimation)return new DF(e.name,4,zn.NONE,e.expression,null,e.sourceSpan,e.keySpan,e.valueSpan);let o,r=null,a=null;const l=e.name.split(".");let c;if(l.length>1)if("attr"==l[0]){a=l.slice(1).join("."),s||this._validatePropertyOrAttributeName(a,e.sourceSpan,!0),c=Fk(this._schemaRegistry,t,a,!0);const u=a.indexOf(":");if(u>-1){const h=a.substring(0,u),m=a.substring(u+1);a=gE(h,m)}o=1}else"class"==l[0]?(a=l[1],o=2,c=[zn.NONE]):"style"==l[0]&&(r=l.length>2?l[2]:null,a=l[1],o=3,c=[zn.STYLE]);if(null===a){const u=this._schemaRegistry.getMappedPropName(e.name);a=i?u:e.name,c=Fk(this._schemaRegistry,t,u,!1),o=0,s||this._validatePropertyOrAttributeName(u,e.sourceSpan,!1)}return new DF(a,o,c[0],e.expression,r,e.sourceSpan,e.keySpan,e.valueSpan)}parseEvent(t,e,s,i,r,o,a,l){0===t.length&&this._reportError("Event name is missing in binding",i),Nk(t)?(t=t.slice(1),void 0!==l&&(l=Lc(l,new oo(l.start.offset+1,l.end.offset))),this._parseAnimationEvent(t,e,s,i,r,a,l)):this._parseRegularEvent(t,e,s,i,r,o,a,l)}calcPossibleSecurityContexts(t,e,s){const i=this._schemaRegistry.getMappedPropName(e);return Fk(this._schemaRegistry,t,i,s)}_parseAnimationEvent(t,e,s,i,r,o,a){const l=function D7(n,t){return KR(n,".",t)}(t,[t,""]),c=l[0],u=l[1].toLowerCase(),h=this._parseAction(e,s,r);o.push(new wF(c,u,1,h,i,r,a)),0===c.length&&this._reportError("Animation event name is missing in binding",i),u?"start"!==u&&"done"!==u&&this._reportError(`The provided animation output phase value "${u}" for "@${c}" is not supported (use start or done)`,i):this._reportError(`The animation trigger output event (@${c}) is missing its phase value name (start or done are currently supported)`,i)}_parseRegularEvent(t,e,s,i,r,o,a,l){const[c,u]=GR(t,[null,t]),h=this._parseAction(e,s,r);o.push([t,h.source]),a.push(new wF(u,c,0,h,i,r,l))}_parseAction(t,e,s){const i=(s&&s.start||"(unknown").toString(),r=s&&s.start?s.start.offset:0;try{const o=this._exprParser.parseAction(t,e,i,r,this._interpolationConfig);return o&&this._reportExpressionParserErrors(o.errors,s),!o||o.ast instanceof wr?(this._reportError("Empty expressions are not allowed",s),this._exprParser.wrapLiteralPrimitive("ERROR",i,r)):o}catch(o){return this._reportError(`${o}`,s),this._exprParser.wrapLiteralPrimitive("ERROR",i,r)}}_reportError(t,e,s=Wa.ERROR){this.errors.push(new ny(e,t,s))}_reportExpressionParserErrors(t,e){for(const s of t)this._reportError(s.message,e)}_validatePropertyOrAttributeName(t,e,s){const i=s?this._schemaRegistry.validateAttribute(t):this._schemaRegistry.validateProperty(t);i.error&&this._reportError(i.msg,e,Wa.ERROR)}}function Nk(n){return"@"==n[0]}function Fk(n,t,e,s){const i=[];return wc.parse(t).forEach(r=>{const o=r.element?[r.element]:n.allKnownElementNames(),a=new Set(r.notSelectors.filter(c=>c.isElementSelector()).map(c=>c.element)),l=o.filter(c=>!a.has(c));i.push(...l.map(c=>n.securityContext(c,e,s)))}),0===i.length?[zn.NONE]:Array.from(new Set(i)).sort()}function Lc(n,t){const e=t.start-n.start.offset,s=t.end-n.end.offset;return new Ss(n.start.moveBy(e),n.end.moveBy(s),n.fullStart.moveBy(e),n.details)}const cJ=/^([^:/?#]+):/;function lY(n){let t=null,e=null,s=null,i=!1,r="";n.attrs.forEach(l=>{const c=l.name.toLowerCase();"select"==c?t=l.value:"href"==c?e=l.value:"rel"==c?s=l.value:"ngNonBindable"==l.name?i=!0:"ngProjectAs"==l.name&&l.value.length>0&&(r=l.value)}),t=function bJ(n){return null===n||0===n.length?"*":n}(t);const o=n.name.toLowerCase();let a=Pi.OTHER;return mE(o)?a=Pi.NG_CONTENT:"style"==o?a=Pi.STYLE:"script"==o?a=Pi.SCRIPT:"link"==o&&"stylesheet"==s&&(a=Pi.STYLESHEET),new vJ(a,t,e,i,r)}var Pi;!function(n){n[n.NG_CONTENT=0]="NG_CONTENT",n[n.STYLE=1]="STYLE",n[n.STYLESHEET=2]="STYLESHEET",n[n.SCRIPT=3]="SCRIPT",n[n.OTHER=4]="OTHER"}(Pi||(Pi={}));class vJ{constructor(t,e,s,i,r){this.type=t,this.selectAttr=e,this.hrefAttr=s,this.nonBindable=i,this.projectAs=r}}const wJ=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,Ac_BANANA_BOX={start:"[(",end:")]"},Ac_PROPERTY={start:"[",end:"]"},Ac_EVENT={start:"(",end:")"};class SJ{constructor(t,e){this.bindingParser=t,this.options=e,this.errors=[],this.styles=[],this.styleUrls=[],this.ngContentSelectors=[],this.commentNodes=[],this.inI18nBlock=!1}visitElement(t){const e=W_(t.i18n);e&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",t.sourceSpan),this.inI18nBlock=!0);const s=lY(t);if(s.type===Pi.SCRIPT)return null;if(s.type===Pi.STYLE){const k=function TJ(n){return 1===n.children.length&&n.children[0]instanceof ay?n.children[0].value:null}(t);return null!==k&&this.styles.push(k),null}if(s.type===Pi.STYLESHEET&&function lJ(n){if(null==n||0===n.length||"/"==n[0])return!1;const t=n.match(cJ);return null===t||"package"==t[1]||"asset"==t[1]}(s.hrefAttr))return this.styleUrls.push(s.hrefAttr),null;const i=function h7(n){return"ng-template"===eo(n)[1]}(t.name),r=[],o=[],a=[],l=[],c=[],u={},h=[],m=[];let v=!1;for(const k of t.attrs){let P=!1;const F=mY(k.name);let N=!1;if(k.i18n&&(u[k.name]=k.i18n),F.startsWith("*")){v&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",k.sourceSpan),N=!0,v=!0;const V=k.value,q=F.substring("*".length),lt=[],pt=k.valueSpan?k.valueSpan.start.offset:k.sourceSpan.start.offset+k.name.length;this.bindingParser.parseInlineTemplateBinding(q,V,k.sourceSpan,pt,[],h,lt,!0),m.push(...lt.map(Dt=>new IN(Dt.name,Dt.value,Dt.sourceSpan,Dt.keySpan,Dt.valueSpan)))}else P=this.parseAttribute(i,k,[],r,o,a,l);!P&&!N&&c.push(this.visitAttribute(k))}const D=Le(s.nonBindable?xJ:this,t.children);let C;if(s.type===Pi.NG_CONTENT){t.children&&!t.children.every(F=>function EJ(n){return n instanceof ay&&0==n.value.trim().length}(F)||function kJ(n){return n instanceof uy}(F))&&this.reportError(" element cannot have content.",t.sourceSpan);const k=s.selectAttr,P=t.attrs.map(F=>this.visitAttribute(F));C=new DG(k,P,t.sourceSpan,t.i18n),this.ngContentSelectors.push(k)}else if(i){const k=this.extractAttributes(t.name,r,u);C=new Ya(t.name,c,k.bound,o,[],D,l,a,t.sourceSpan,t.startSourceSpan,t.endSourceSpan,t.i18n)}else{const k=this.extractAttributes(t.name,r,u);C=new U_(t.name,c,k.bound,o,D,l,t.sourceSpan,t.startSourceSpan,t.endSourceSpan,t.i18n)}if(v){const k=this.extractAttributes("ng-template",h,u),P=[];k.literal.forEach(q=>P.push(q)),k.bound.forEach(q=>P.push(q));const F=C instanceof U_?{attributes:C.attributes,inputs:C.inputs,outputs:C.outputs}:{attributes:[],inputs:[],outputs:[]},N=i&&e?void 0:t.i18n,V=C instanceof Ya?null:C.name;C=new Ya(V,F.attributes,F.inputs,F.outputs,P,[C],[],m,t.sourceSpan,t.startSourceSpan,t.endSourceSpan,N)}return e&&(this.inI18nBlock=!1),C}visitAttribute(t){return new HE(t.name,t.value,t.sourceSpan,t.keySpan,t.valueSpan,t.i18n)}visitText(t){return this._visitTextWithInterpolation(t.value,t.sourceSpan,t.tokens,t.i18n)}visitExpansion(t){if(!t.i18n)return null;if(!W_(t.i18n))throw new Error(`Invalid type "${t.i18n.constructor}" for "i18n" property of ${t.sourceSpan.toString()}. Expected a "Message"`);const e=t.i18n,s={},i={};return Object.keys(e.placeholders).forEach(r=>{const o=e.placeholders[r];if(r.startsWith("VAR_")){const a=r.trim(),l=this.bindingParser.parseInterpolationExpression(o.text,o.sourceSpan);s[a]=new YE(l,o.sourceSpan)}else i[r]=this._visitTextWithInterpolation(o.text,o.sourceSpan,null)}),new PN(s,i,t.sourceSpan,e)}visitExpansionCase(t){return null}visitComment(t){return this.options.collectCommentNodes&&this.commentNodes.push(new wG(t.value||"",t.sourceSpan)),null}extractAttributes(t,e,s){const i=[],r=[];return e.forEach(o=>{const a=s[o.name];if(o.isLiteral)r.push(new HE(o.name,o.expression.source||"",o.sourceSpan,o.keySpan,o.valueSpan,a));else{const l=this.bindingParser.createBoundElementProperty(t,o,!0,!1);i.push(cD.fromBoundElementProperty(l,a))}}),{bound:i,literal:r}}parseAttribute(t,e,s,i,r,o,a){var l;const c=mY(e.name),u=e.value,h=e.sourceSpan,m=e.valueSpan?e.valueSpan.start.offset:h.start.offset;function v(F,N,V){const q=e.name.length-c.length,lt=F.start.moveBy(N.length+q),pt=lt.moveBy(V.length);return new Ss(lt,pt,lt,V)}const D=c.match(wJ);if(D){if(null!=D[1]){const F=D[7],N=v(h,D[1],F);this.bindingParser.parsePropertyBinding(F,u,!1,h,m,e.valueSpan,s,i,N)}else if(D[2])if(t){const F=D[7],N=v(h,D[2],F);this.parseVariable(F,u,h,N,e.valueSpan,o)}else this.reportError('"let-" is only supported on ng-template elements.',h);else if(D[3]){const F=D[7],N=v(h,D[3],F);this.parseReference(F,u,h,N,e.valueSpan,a)}else if(D[4]){const F=[],N=D[7],V=v(h,D[4],N);this.bindingParser.parseEvent(N,u,!1,h,e.valueSpan||h,s,F,V),Yk(F,r)}else if(D[5]){const F=D[7],N=v(h,D[5],F);this.bindingParser.parsePropertyBinding(F,u,!1,h,m,e.valueSpan,s,i,N),this.parseAssignmentEvent(F,u,h,e.valueSpan,s,r,N)}else if(D[6]){const F=v(h,"",c);this.bindingParser.parseLiteralAttr(c,u,h,m,e.valueSpan,s,i,F)}return!0}let C=null;if(c.startsWith(Ac_BANANA_BOX.start)?C=Ac_BANANA_BOX:c.startsWith(Ac_PROPERTY.start)?C=Ac_PROPERTY:c.startsWith(Ac_EVENT.start)&&(C=Ac_EVENT),null!==C&&c.endsWith(C.end)&&c.length>C.start.length+C.end.length){const F=c.substring(C.start.length,c.length-C.end.length),N=v(h,C.start,F);if(C.start===Ac_BANANA_BOX.start)this.bindingParser.parsePropertyBinding(F,u,!1,h,m,e.valueSpan,s,i,N),this.parseAssignmentEvent(F,u,h,e.valueSpan,s,r,N);else if(C.start===Ac_PROPERTY.start)this.bindingParser.parsePropertyBinding(F,u,!1,h,m,e.valueSpan,s,i,N);else{const V=[];this.bindingParser.parseEvent(F,u,!1,h,e.valueSpan||h,s,V,N),Yk(V,r)}return!0}const k=v(h,"",c);return this.bindingParser.parsePropertyInterpolation(c,u,h,e.valueSpan,s,i,k,null!==(l=e.valueTokens)&&void 0!==l?l:null)}_visitTextWithInterpolation(t,e,s,i){const r=tY(t),o=this.bindingParser.parseInterpolation(r,e,s);return o?new YE(o,e,i):new lD(r,e)}parseVariable(t,e,s,i,r,o){t.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',s):0===t.length&&this.reportError("Variable does not have a name",s),o.push(new IN(t,e,s,i,r))}parseReference(t,e,s,i,r,o){t.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',s):0===t.length?this.reportError("Reference does not have a name",s):o.some(a=>a.name===t)&&this.reportError(`Reference "#${t}" is defined more than once`,s),o.push(new MG(t,e,s,i,r))}parseAssignmentEvent(t,e,s,i,r,o,a){const l=[];this.bindingParser.parseEvent(`${t}Change`,`${e} =$event`,!0,s,i||s,r,l,a),Yk(l,o)}reportError(t,e,s=Wa.ERROR){this.errors.push(new ny(e,t,s))}}const xJ=new class CJ{visitElement(t){const e=lY(t);if(e.type===Pi.SCRIPT||e.type===Pi.STYLE||e.type===Pi.STYLESHEET)return null;const s=Le(this,t.children,null);return new U_(t.name,Le(this,t.attrs),[],[],s,[],t.sourceSpan,t.startSourceSpan,t.endSourceSpan)}visitComment(t){return null}visitAttribute(t){return new HE(t.name,t.value,t.sourceSpan,t.keySpan,t.valueSpan,t.i18n)}visitText(t){return new lD(t.value,t.sourceSpan)}visitExpansion(t){return null}visitExpansionCase(t){return null}};function mY(n){return/^data-/i.test(n)?n.substring(5):n}function Yk(n,t){t.push(...n.map(e=>uD.fromParsedEvent(e)))}var Go;!function(n){n[n.ELEMENT=0]="ELEMENT",n[n.TEMPLATE=1]="TEMPLATE"}(Go||(Go={}));class Hk{constructor(t,e,s=0,i=null,r,o){this.index=t,this.ref=e,this.level=s,this.templateIndex=i,this.meta=r,this.registry=o,this.bindings=new Set,this.placeholders=new Map,this.isEmitted=!1,this._unresolvedCtxCount=0,this._registry=o||function LJ(){return{getUniqueId:UG(),icus:new Map}}(),this.id=this._registry.getUniqueId()}appendTag(t,e,s,i){if(e.isVoid&&i)return;const r=e.isVoid||!i?e.startName:e.closeName,o={type:t,index:s,ctx:this.id,isVoid:e.isVoid,closed:i};fD(this.placeholders,r,o)}get icus(){return this._registry.icus}get isRoot(){return 0===this.level}get isResolved(){return 0===this._unresolvedCtxCount}getSerializedPlaceholders(){const t=new Map;return this.placeholders.forEach((e,s)=>t.set(s,e.map(AJ))),t}appendBinding(t){this.bindings.add(t)}appendIcu(t,e){fD(this._registry.icus,t,e)}appendBoundText(t){BN(t,this.bindings.size,this.id).forEach((s,i)=>fD(this.placeholders,i,...s))}appendTemplate(t,e){this.appendTag(Go.TEMPLATE,t,e,!1),this.appendTag(Go.TEMPLATE,t,e,!0),this._unresolvedCtxCount++}appendElement(t,e,s){this.appendTag(Go.ELEMENT,t,e,s)}appendProjection(t,e){this.appendTag(Go.ELEMENT,t,e,!1),this.appendTag(Go.ELEMENT,t,e,!0)}forkChildContext(t,e,s){return new Hk(t,this.ref,this.level+1,e,s,this._registry)}reconcileChildContext(t){["start","close"].forEach(s=>{const i=t.meta[`${s}Name`],o=(this.placeholders.get(i)||[]).find(gY(this.id,t.templateIndex));o&&(o.ctx=t.id)}),t.placeholders.forEach((s,i)=>{const r=this.placeholders.get(i);if(!r)return void this.placeholders.set(i,s);const o=r.findIndex(gY(t.id,t.templateIndex));if(o>=0){const a=i.startsWith("CLOSE");if(i.endsWith("NG-TEMPLATE"))r.splice(o+(a?0:1),0,...s);else{s[a?s.length-1:0].tmpl=r[o],r.splice(o,1,...s)}}else r.push(...s);this.placeholders.set(i,r)}),this._unresolvedCtxCount--}}function jk(n,t,e,s){return pD(`${s?"/":""}${n}${t}`,e)}function Vk(n,{index:t,ctx:e,isVoid:s},i){return s?jk(n,t,e)+jk(n,t,e,!0):jk(n,t,e,i)}function gY(n,t){return e=>"object"==typeof e&&e.type===Go.TEMPLATE&&e.index===t&&e.ctx===n}function AJ(n){const t=(i,r)=>Vk("#",i,r),e=(i,r)=>Vk("*",i,r);switch(n.type){case Go.ELEMENT:return n.closed?t(n,!0)+(n.tmpl?e(n.tmpl,!0):""):n.tmpl?e(n.tmpl)+t(n)+(n.isVoid?e(n.tmpl,!0):""):t(n);case Go.TEMPLATE:return e(n,n.closed);default:return n}}const PJ=new class IJ{visitText(t){return t.value}visitContainer(t){return t.children.map(e=>e.visit(this)).join("")}visitIcu(t){const e=Object.keys(t.cases).map(i=>`${i} {${t.cases[i].visit(this)}}`);return`{${t.expressionPlaceholder}, ${t.type}, ${e.join(" ")}}`}visitTagPlaceholder(t){return t.isVoid?this.formatPh(t.startName):`${this.formatPh(t.startName)}${t.children.map(e=>e.visit(this)).join("")}${this.formatPh(t.closeName)}`}visitPlaceholder(t){return this.formatPh(t.name)}visitIcuPlaceholder(t,e){return this.formatPh(t.name)}formatPh(t){return`{${q_(t,!1)}}`}};function _Y(n){return n.visit(PJ)}const yY={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"};class OJ{constructor(){this._placeHolderNameCounts={},this._signatureToName={}}getStartTagPlaceholderName(t,e,s){const i=this._hashTag(t,e,s);if(this._signatureToName[i])return this._signatureToName[i];const r=t.toUpperCase(),o=yY[r]||`TAG_${r}`,a=this._generateUniqueName(s?o:`START_${o}`);return this._signatureToName[i]=a,a}getCloseTagPlaceholderName(t){const e=this._hashClosingTag(t);if(this._signatureToName[e])return this._signatureToName[e];const s=t.toUpperCase(),i=yY[s]||`TAG_${s}`,r=this._generateUniqueName(`CLOSE_${i}`);return this._signatureToName[e]=r,r}getPlaceholderName(t,e){const s=t.toUpperCase(),i=`PH: ${s}=${e}`;if(this._signatureToName[i])return this._signatureToName[i];const r=this._generateUniqueName(s);return this._signatureToName[i]=r,r}getUniquePlaceholder(t){return this._generateUniqueName(t.toUpperCase())}_hashTag(t,e,s){return`<${t}`+Object.keys(e).sort().map(a=>` ${a}=${e[a]}`).join("")+(s?"/>":`>`)}_hashClosingTag(t){return this._hashTag(`/${t}`,{},!1)}_generateUniqueName(t){if(!this._placeHolderNameCounts.hasOwnProperty(t))return this._placeHolderNameCounts[t]=1,t;const s=this._placeHolderNameCounts[t];return this._placeHolderNameCounts[t]=s+1,`${t}_${s}`}}const RJ=new UF(new jF);function vY(n){const t=new FJ(RJ,n);return(e,s,i,r,o)=>t.toI18nMessage(e,s,i,r,o)}function NJ(n,t){return t}class FJ{constructor(t,e){this._expressionParser=t,this._interpolationConfig=e}toI18nMessage(t,e="",s="",i="",r){const o={isIcu:1==t.length&&t[0]instanceof ly,icuDepth:0,placeholderRegistry:new OJ,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:r||NJ},a=Le(this,t,o);return new Ha(a,o.placeholderToContent,o.placeholderToMessage,e,s,i)}visitElement(t,e){const s=Le(this,t.children,e),i={};t.attrs.forEach(u=>{i[u.name]=u.value});const r=_E(t.name).isVoid,o=e.placeholderRegistry.getStartTagPlaceholderName(t.name,i,r);e.placeholderToContent[o]={text:t.startSourceSpan.toString(),sourceSpan:t.startSourceSpan};let a="";var l;r||(a=e.placeholderRegistry.getCloseTagPlaceholderName(t.name),e.placeholderToContent[a]={text:``,sourceSpan:null!==(l=t.endSourceSpan)&&void 0!==l?l:t.sourceSpan});const c=new jE(t.name,i,o,a,s,r,t.sourceSpan,t.startSourceSpan,t.endSourceSpan);return e.visitNodeFn(t,c)}visitAttribute(t,e){const s=void 0===t.valueTokens||1===t.valueTokens.length?new ja(t.value,t.valueSpan||t.sourceSpan):this._visitTextWithInterpolation(t.valueTokens,t.valueSpan||t.sourceSpan,e,t.i18n);return e.visitNodeFn(t,s)}visitText(t,e){const s=1===t.tokens.length?new ja(t.value,t.sourceSpan):this._visitTextWithInterpolation(t.tokens,t.sourceSpan,e,t.i18n);return e.visitNodeFn(t,s)}visitComment(t,e){return null}visitExpansion(t,e){e.icuDepth++;const s={},i=new Up(t.switchValue,t.type,s,t.sourceSpan);if(t.cases.forEach(a=>{s[a.value]=new Va(a.expression.map(l=>l.visit(this,e)),a.expSourceSpan)}),e.icuDepth--,e.isIcu||e.icuDepth>0){const a=e.placeholderRegistry.getUniquePlaceholder(`VAR_${t.type}`);return i.expressionPlaceholder=a,e.placeholderToContent[a]={text:t.switchValue,sourceSpan:t.switchValueSourceSpan},e.visitNodeFn(t,i)}const r=e.placeholderRegistry.getPlaceholderName("ICU",t.sourceSpan.toString());e.placeholderToMessage[r]=this.toI18nMessage([t],"","","",void 0);const o=new $p(i,r,t.sourceSpan);return e.visitNodeFn(t,o)}visitExpansionCase(t,e){throw new Error("Unreachable code")}_visitTextWithInterpolation(t,e,s,i){const r=[];let o=!1;for(const a of t)switch(a.type){case 8:case 17:o=!0;const l=a.parts[1],c=BJ(l)||"INTERPOLATION",u=s.placeholderRegistry.getPlaceholderName(c,l);s.placeholderToContent[u]={text:a.parts.join(""),sourceSpan:a.sourceSpan},r.push(new Ba(l,u,a.sourceSpan));break;default:if(a.parts[0].length>0){const h=r[r.length-1];h instanceof ja?(h.value+=a.parts[0],h.sourceSpan=new Ss(h.sourceSpan.start,a.sourceSpan.end,h.sourceSpan.fullStart,h.sourceSpan.details)):r.push(new ja(a.parts[0],a.sourceSpan))}}return o?(function YJ(n,t){if(t instanceof Ha&&(function HJ(n){const t=n.nodes;if(1!==t.length||!(t[0]instanceof Va))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}(t),t=t.nodes[0]),t instanceof Va){!function jJ(n,t){if(n.length!==t.length)throw new Error("The number of i18n message children changed between first and second pass.");if(n.some((e,s)=>t[s].constructor!==e.constructor))throw new Error("The types of the i18n message children changed between first and second pass.")}(t.children,n);for(let e=0;e(n instanceof oy&&(t instanceof $p&&n.i18n instanceof Ha&&(t.previousMessage=n.i18n),n.i18n=t),t);class bY{constructor(t=br,e=!1,s=!1){this.interpolationConfig=t,this.keepI18nAttrs=e,this.enableI18nLegacyMessageIdFormat=s,this.hasI18nMeta=!1,this._errors=[],this._createI18nMessage=vY(this.interpolationConfig)}_generateI18nMessage(t,e="",s){const{meaning:i,description:r,customId:o}=this._parseMetadata(e),a=this._createI18nMessage(t,i,r,o,s);return this._setMessageId(a,e),this._setLegacyIds(a,e),a}visitAllWithErrors(t){const e=t.map(s=>s.visit(this,null));return new py(e,this._errors)}visitElement(t){let e;if(function VG(n){return n.attrs.some(t=>HN(t.name))}(t)){this.hasI18nMeta=!0;const s=[],i={};for(const r of t.attrs)if("i18n"===r.name){const o=t.i18n||r.value;e=this._generateI18nMessage(t.children,o,UJ),0===e.nodes.length&&(e=void 0),t.i18n=e}else if(r.name.startsWith($E)){const o=r.name.slice($E.length);oY(t.name,o)?this._reportError(r,`Translating attribute '${o}' is disallowed for security reasons.`):i[o]=r.value}else s.push(r);if(Object.keys(i).length)for(const r of s){const o=i[r.name];void 0!==o&&r.value&&(r.i18n=this._generateI18nMessage([r],r.i18n||o))}this.keepI18nAttrs||(t.attrs=s)}return Le(this,t.children,e),t}visitExpansion(t,e){let s;const i=t.i18n;if(this.hasI18nMeta=!0,i instanceof $p){const r=i.name;s=this._generateI18nMessage([t],i);jN(s).name=r,null!==e&&(e.placeholderToMessage[r]=s)}else s=this._generateI18nMessage([t],e||i);return t.i18n=s,t}visitText(t){return t}visitAttribute(t){return t}visitComment(t){return t}visitExpansionCase(t){return t}_parseMetadata(t){return"string"==typeof t?function WJ(n=""){let t,e,s;if(n=n.trim()){const i=n.indexOf("@@"),r=n.indexOf("|");let o;[o,t]=i>-1?[n.slice(0,i),n.slice(i+2)]:[n,""],[e,s]=r>-1?[o.slice(0,r),o.slice(r+1)]:["",o]}return{customId:t,meaning:e,description:s}}(t):t instanceof Ha?t:{}}_setMessageId(t,e){t.id||(t.id=e instanceof Ha&&e.id||wE(t))}_setLegacyIds(t,e){if(this.enableI18nLegacyMessageIdFormat)t.legacyIds=[ZR(t),tN(t)];else if("string"!=typeof e){const s=e instanceof Ha?e:e instanceof $p?e.previousMessage:void 0;t.legacyIds=s?s.legacyIds:[]}}_reportError(t,e){this._errors.push(new Ka(t.sourceSpan,e))}}function KJ(n,t,e,s){const i=function XJ(n){return n.nodes.map(t=>t.visit(JJ,null)).join("")}(t),r=[J(i)];Object.keys(s).length&&(r.push(RD(zE(s,!0),!0)),r.push(RD({original_code:Ai(Object.keys(s).map(l=>({key:q_(l),quoted:!0,value:t.placeholders[l]?J(t.placeholders[l].sourceSpan.toString()):J(t.placeholderToMessage[l].nodes.map(c=>c.sourceSpan.toString()).join(""))})))})));const o=e.set(Ie("goog.getMsg").callFn(r)).toConstDecl();o.addLeadingComment(function qJ(n){const t=[];return n.description?t.push({tagName:"desc",text:n.description}):t.push({tagName:"suppress",text:"{msgDescriptions}"}),n.meaning&&t.push({tagName:"meaning",text:n.meaning}),fN(t)}(t));return[o,new Fa(n.set(e))]}const JJ=new class QJ{formatPh(t){return`{$${q_(t)}}`}visitText(t){return t.value}visitContainer(t){return t.children.map(e=>e.visit(this)).join("")}visitIcu(t){return _Y(t)}visitTagPlaceholder(t){return t.isVoid?this.formatPh(t.startName):`${this.formatPh(t.startName)}${t.children.map(e=>e.visit(this)).join("")}${this.formatPh(t.closeName)}`}visitPlaceholder(t){return this.formatPh(t.name)}visitIcuPlaceholder(t,e){return this.formatPh(t.name)}};function ZJ(n,t,e){const{messageParts:s,placeHolders:i}=function eX(n){const t=[],e=new tX(n.placeholderToMessage,t);return n.nodes.forEach(s=>s.visit(e)),function sX(n){const t=[],e=[];n[0]instanceof R_&&t.push(Bk(n[0].sourceSpan.start));for(let s=0;se[c.text]),a=gN(t,s,i,o,r),l=n.set(a);return[new Fa(l)]}class tX{constructor(t,e){this.placeholderToMessage=t,this.pieces=e}visitText(t){if(this.pieces[this.pieces.length-1]instanceof Yp)this.pieces[this.pieces.length-1].text+=t.value;else{const e=new Ss(t.sourceSpan.fullStart,t.sourceSpan.end,t.sourceSpan.fullStart,t.sourceSpan.details);this.pieces.push(new Yp(t.value,e))}}visitContainer(t){t.children.forEach(e=>e.visit(this))}visitIcu(t){this.pieces.push(new Yp(_Y(t),t.sourceSpan))}visitTagPlaceholder(t){var e,s;(this.pieces.push(this.createPlaceholderPiece(t.startName,null!==(e=t.startSourceSpan)&&void 0!==e?e:t.sourceSpan)),t.isVoid)||(t.children.forEach(i=>i.visit(this)),this.pieces.push(this.createPlaceholderPiece(t.closeName,null!==(s=t.endSourceSpan)&&void 0!==s?s:t.sourceSpan)))}visitPlaceholder(t){this.pieces.push(this.createPlaceholderPiece(t.name,t.sourceSpan))}visitIcuPlaceholder(t){this.pieces.push(this.createPlaceholderPiece(t.name,t.sourceSpan,this.placeholderToMessage[t.name]))}createPlaceholderPiece(t,e,s){return new R_(q_(t,!1),e,s)}}function Bk(n){return new Yp("",new Ss(n,n))}const wY=new Set(["$event"]),Uk=new Map([["window",x.resolveWindow],["document",x.resolveDocument],["body",x.resolveBody]]),oX=[" ","\n","\r","\t"];function Ic(n,t){return iD(Ie(G_).bitwiseAnd(J(n),null,!1),t)}function DY(n,t=null,e=null){const{type:s,name:i,target:r,phase:o,handler:a}=n;if(r&&!Uk.has(r))throw new Error(`Unexpected global target '${r}' defined for '${i}' event.\n Supported list of global targets: ${Array.from(Uk.keys())}.`);const l="$event",c=new Set,u=null===e||0===e.bindingLevel?Ie(ro):e.getOrCreateSharedContextVar(0),h=IK(e,u,a,"b",n.handlerSpan,c,wY),m=[],v=e?.variableDeclarations(),D=e?.restoreViewStatement();if(v&&m.push(...v),m.push(...h),D){m.unshift(D);const V=m[m.length-1];V instanceof ds?m[m.length-1]=new ds(id(V.value.sourceSpan,x.resetView,[V.value])):m.push(new Fa(id(null,x.resetView,[])))}const C=1===s?function hG(n,t){return`@${n}.${t}`}(i,o):i,k=t&&Kp(t),P=[];c.has(l)&&P.push(new Ti(l,Zu));const F=Fs(P,m,yi,null,k),N=[J(C),F];return r&&N.push(J(!1),Et(Uk.get(r))),N}class $k{constructor(t,e,s=0,i,r,o,a,l,c,u,h=function aX(){return{prepareStatements:[],constExpressions:[],i18nVarRefsCache:new Map}}()){this.constantPool=t,this.level=s,this.contextName=i,this.i18nContext=r,this.templateIndex=o,this.templateName=a,this._namespace=l,this.i18nUseExternalIds=u,this._constants=h,this._dataIndex=0,this._bindingContext=0,this._prefixCode=[],this._creationCodeFns=[],this._updateCodeFns=[],this._currentIndex=0,this._tempVariables=[],this._nestedTemplateFns=[],this.i18n=null,this._pureFunctionSlots=0,this._bindingSlots=0,this._ngContentReservedSlots=[],this._ngContentSelectorsOffset=0,this._implicitReceiverExpr=null,this.visitReference=K_,this.visitVariable=K_,this.visitTextAttribute=K_,this.visitBoundAttribute=K_,this.visitBoundEvent=K_,this._bindingScope=e.nestedScope(s),this.fileBasedI18nSuffix=c.replace(/[^A-Za-z0-9]/g,"_")+"_",this._valueConverter=new MY(t,()=>this.allocateDataSlot(),m=>this.allocatePureFunctionSlots(m),(m,v,D,C)=>{this._bindingScope.set(this.level,v,C),this.creationInstruction(null,x.pipe,[J(D),J(m)])})}buildTemplateFunction(t,e,s=0,i){this._ngContentSelectorsOffset=s,this._namespace!==x.namespaceHTML&&this.creationInstruction(null,this._namespace),e.forEach(v=>this.registerContextVariables(v));const r=this.i18nContext||W_(i)&&!hD(i)&&!(function yX(n){return 1===n.length&&n[0]instanceof U_}(t)&&t[0].i18n===i),o=Wk(t);if(r&&this.i18nStart(null,i,o),qi(this,t),this._pureFunctionSlots+=this._bindingSlots,this._valueConverter.updatePipeSlotOffsets(this._bindingSlots),this._nestedTemplateFns.forEach(v=>v()),0===this.level&&this._ngContentReservedSlots.length){const v=[];if(this._ngContentReservedSlots.length>1||"*"!==this._ngContentReservedSlots[0]){const D=this._ngContentReservedSlots.map(C=>"*"!==C?$w(C):C);v.push(this.constantPool.getConstLiteral(vr(D),!0))}this.creationInstruction(null,x.projectionDef,v,!0)}r&&this.i18nEnd(null,o);const a=gD(this._creationCodeFns),l=gD(this._updateCodeFns),c=this._bindingScope.viewSnapshotStatements(),u=this._bindingScope.variableDeclarations().concat(this._tempVariables),h=a.length>0?[Ic(1,c.concat(a))]:[],m=l.length>0?[Ic(2,u.concat(l))]:[];return Fs([new Ti(G_,Rp),new Ti(ro,null)],[...this._prefixCode,...h,...m],yi,null,this.templateName)}getLocal(t){return this._bindingScope.get(t)}notifyImplicitReceiverUse(){this._bindingScope.notifyImplicitReceiverUse()}maybeRestoreView(){this._bindingScope.maybeRestoreView()}i18nTranslate(t,e={},s,i){const r=s||this.i18nGenerateMainBlockVar(),a=function bX(n,t,e,s={},i){const r=[$G(t),iD(wX(),KJ(t,n,e,s),ZJ(t,n,zE(s,!1)))];return i&&r.push(new Fa(t.set(i(t)))),r}(t,r,this.i18nGenerateClosureVar(t.id),e,i);return this._constants.prepareStatements.push(...a),r}registerContextVariables(t){const e=this._bindingScope.freshReferenceName(),s=this.level,i=Ie(t.name+e);this._bindingScope.set(s,t.name,i,1,(r,o)=>{let a;if(r.bindingLevel===s)r.isListenerScope()&&r.hasRestoreViewVariable()?(a=Ie($N),r.notifyRestoredViewContextUse()):a=Ie(ro);else{a=r.getSharedContextName(s)||zk(o)}return[i.set(a.prop(t.value||"$implicit")).toConstDecl()]})}i18nAppendBindings(t){t.length>0&&t.forEach(e=>this.i18n.appendBinding(e))}i18nBindProps(t){const e={};return Object.keys(t).forEach(s=>{const i=t[s];if(i instanceof lD)e[s]=J(i.value);else{const r=i.value.visit(this._valueConverter);if(this.allocateBindingSlots(r),r instanceof vi){const{strings:o,expressions:a}=r,{id:l,bindings:c}=this.i18n,u=function BG(n,t=0,e=0){if(!n.length)return"";let s="";const i=n.length-1;for(let r=0;r{if(1===m.length)c[v]=m[0];else{const D=pD(`I18N_EXP_${v}`);c[v]=J(D),l[v]=Be(m)}});let h;(Array.from(a.values()).some(m=>m.length>1)||Object.keys(l).length)&&(h=m=>{const v=[m];return Object.keys(l).length&&v.push(RD(l,!0)),id(null,x.i18nPostprocess,v)}),this.i18nTranslate(s,c,t.ref,h)}}i18nStart(t=null,e,s){const i=this.allocateDataSlot();this.i18n=this.i18nContext?this.i18nContext.forkChildContext(i,this.templateIndex,e):new Hk(i,this.i18nGenerateMainBlockVar(),0,this.templateIndex,e);const{id:r,ref:o}=this.i18n,a=[J(i),this.addToConsts(o)];r>0&&a.push(J(r)),this.creationInstruction(t,s?x.i18n:x.i18nStart,a)}i18nEnd(t=null,e){if(!this.i18n)throw new Error("i18nEnd is executed with no i18n context present");this.i18nContext?(this.i18nContext.reconcileChildContext(this.i18n),this.i18nUpdateRef(this.i18nContext)):this.i18nUpdateRef(this.i18n);const{index:s,bindings:i}=this.i18n;if(i.size){for(const r of i)this.updateInstructionWithAdvance(this.getConstCount()-1,t,x.i18nExp,()=>this.convertPropertyBinding(r));this.updateInstruction(t,x.i18nApply,[J(s)])}e||this.creationInstruction(t,x.i18nEnd),this.i18n=null}i18nAttributesInstruction(t,e,s){let i=!1;const r=[];if(e.forEach(o=>{const a=o.i18n,l=o.value.visit(this._valueConverter);if(this.allocateBindingSlots(l),l instanceof vi){const u=VN(BN(a));r.push(J(o.name),this.i18nTranslate(a,u)),l.expressions.forEach(h=>{i=!0,this.updateInstructionWithAdvance(t,s,x.i18nExp,()=>this.convertPropertyBinding(h))})}}),r.length>0){const o=J(this.allocateDataSlot()),a=this.addToConsts(Be(r));this.creationInstruction(s,x.i18nAttributes,[o,a]),i&&this.updateInstruction(s,x.i18nApply,[o])}}getNamespaceInstruction(t){switch(t){case"math":return x.namespaceMathML;case"svg":return x.namespaceSVG;default:return x.namespaceHTML}}addNamespaceInstruction(t,e){this._namespace=t,this.creationInstruction(e.startSourceSpan,t)}interpolatedUpdateInstruction(t,e,s,i,r,o){this.updateInstructionWithAdvance(e,i.sourceSpan,t,()=>[J(s),...this.getUpdateInstructionArguments(r),...o])}visitContent(t){const e=this.allocateDataSlot(),s=this._ngContentSelectorsOffset+this._ngContentReservedSlots.length,i=[J(e)];this._ngContentReservedSlots.push(t.selector);const r=t.attributes.filter(a=>"select"!==a.name.toLowerCase()),o=this.getAttributeExpressions(t.name,r,[],[]);o.length>0?i.push(J(s),Be(o)):0!==s&&i.push(J(s)),this.creationInstruction(t.sourceSpan,x.projection,i),this.i18n&&this.i18n.appendProjection(t.i18n,e)}visitElement(t){const e=this.allocateDataSlot(),s=new NF(null);let i=!1;const r=W_(t.i18n)&&!hD(t.i18n),o=[],[a,l]=eo(t.name),c=fE(t.name);for(const gt of t.attributes){const{name:Ut,value:$t}=gt;"ngNonBindable"===Ut?i=!0:"style"===Ut?s.registerStyleAttr($t):"class"===Ut?s.registerClassAttr($t):o.push(gt)}const u=[J(e)];c||u.push(J(l));const h=[],m=[];t.inputs.forEach(gt=>{s.registerBoundInput(gt)||(0===gt.type&>.i18n?m.push(gt):h.push(gt))});const v=this.getAttributeExpressions(t.name,o,h,t.outputs,s,[],m);u.push(this.addAttrsToConsts(v));const D=this.prepareRefsArray(t.references);u.push(this.addToConsts(D));const C=this._namespace,k=this.getNamespaceInstruction(a);k!==C&&this.addNamespaceInstruction(k,t),this.i18n&&this.i18n.appendElement(t.i18n,e);const P=!r&&this.i18n?!Wk(t.children):t.children.length>0,F=!s.hasBindingsWithPipes&&0===t.outputs.length&&0===m.length&&!P,N=!F&&Wk(t.children);if(F)this.creationInstruction(t.sourceSpan,c?x.elementContainer:x.element,qE(u));else{var V;if(this.creationInstruction(t.startSourceSpan,c?x.elementContainerStart:x.elementStart,qE(u)),i&&this.creationInstruction(t.startSourceSpan,x.disableBindings),m.length>0)this.i18nAttributesInstruction(e,m,null!==(V=t.startSourceSpan)&&void 0!==V?V:t.sourceSpan);if(t.outputs.length>0)for(const gt of t.outputs)this.creationInstruction(gt.sourceSpan,x.listener,this.prepareListenerParameter(t.name,gt,e));r&&this.i18nStart(t.startSourceSpan,t.i18n,N)}const q=s.buildUpdateLevelInstructions(this._valueConverter),lt=q.length-1;for(let gt=0;gt<=lt;gt++){const Ut=q[gt];this._bindingSlots+=this.processStylingUpdateInstruction(e,Ut)}const pt=J(void 0),Dt=[],yt=[];h.forEach(gt=>{const Ut=gt.type;if(4===Ut){const $t=gt.value.visit(this._valueConverter),Ce=!($t instanceof Gi)||!!$t.value;this.allocateBindingSlots($t),Dt.push({span:gt.sourceSpan,paramsOrFn:jD(()=>Ce?this.convertPropertyBinding($t):pt,CN(gt.name))})}else{if(gt.i18n)return;const $t=gt.value.visit(this._valueConverter);if(void 0!==$t){const Ce=[],[Xt,ht]=eo(gt.name),It=1===Ut,Yt=kY(gt.securityContext,It);if(Yt&&Ce.push(Yt),Xt){const oe=J(Xt);Yt?Ce.push(oe):Ce.push(J(null),oe)}if(this.allocateBindingSlots($t),0===Ut)$t instanceof vi?this.interpolatedUpdateInstruction(xY($t),e,ht,gt,$t,Ce):Dt.push({span:gt.sourceSpan,paramsOrFn:jD(()=>this.convertPropertyBinding($t),ht,Ce)});else if(1===Ut)if($t instanceof vi&&rd($t)>1)this.interpolatedUpdateInstruction(function fX(n){switch(rd(n)){case 3:return x.attributeInterpolate1;case 5:return x.attributeInterpolate2;case 7:return x.attributeInterpolate3;case 9:return x.attributeInterpolate4;case 11:return x.attributeInterpolate5;case 13:return x.attributeInterpolate6;case 15:return x.attributeInterpolate7;case 17:return x.attributeInterpolate8;default:return x.attributeInterpolateV}}($t),e,ht,gt,$t,Ce);else{const oe=$t instanceof vi?$t.expressions[0]:$t;yt.push({span:gt.sourceSpan,paramsOrFn:jD(()=>this.convertPropertyBinding(oe),ht,Ce)})}else this.updateInstructionWithAdvance(e,gt.sourceSpan,x.classProp,()=>[J(e),J(ht),this.convertPropertyBinding($t),...Ce])}}});for(const gt of Dt)this.updateInstructionWithAdvance(e,gt.span,x.property,gt.paramsOrFn);for(const gt of yt)this.updateInstructionWithAdvance(e,gt.span,x.attribute,gt.paramsOrFn);if(qi(this,t.children),!r&&this.i18n&&this.i18n.appendElement(t.i18n,e,!0),!F){var Vt;const gt=null!==(Vt=t.endSourceSpan)&&void 0!==Vt?Vt:t.sourceSpan;r&&this.i18nEnd(gt,N),i&&this.creationInstruction(gt,x.enableBindings),this.creationInstruction(gt,c?x.elementContainerEnd:x.elementEnd)}}visitTemplate(t){const e="ng-template",s=this.allocateDataSlot();this.i18n&&this.i18n.appendTemplate(t.i18n,s);const i=t.tagName?eo(t.tagName)[1]:t.tagName,r=`${this.contextName}${t.tagName?"_"+Kp(t.tagName):""}_${s}`,o=`${r}_Template`,a=[J(s),Ie(o),J(i)],l=this.getAttributeExpressions(e,t.attributes,t.inputs,t.outputs,void 0,t.templateAttrs);if(a.push(this.addAttrsToConsts(l)),t.references&&t.references.length){const h=this.prepareRefsArray(t.references);a.push(this.addToConsts(h)),a.push(Et(x.templateRefExtractor))}const c=new $k(this.constantPool,this._bindingScope,this.level+1,r,this.i18n,s,o,this._namespace,this.fileBasedI18nSuffix,this.i18nUseExternalIds,this._constants);if(this._nestedTemplateFns.push(()=>{const h=c.buildTemplateFunction(t.children,t.variables,this._ngContentReservedSlots.length+this._ngContentSelectorsOffset,t.i18n);this.constantPool.statements.push(h.toDeclStmt(o)),c._ngContentReservedSlots.length&&this._ngContentReservedSlots.push(...c._ngContentReservedSlots)}),this.creationInstruction(t.sourceSpan,x.templateCreate,()=>(a.splice(2,0,J(c.getConstCount()),J(c.getVarCount())),qE(a))),this.templatePropertyBindings(s,t.templateAttrs),i===e){const[h,m]=function x7(n,t){const e=[],s=[];for(const i of n)(t(i)?e:s).push(i);return[e,s]}(t.inputs,jG);var u;if(h.length>0)this.i18nAttributesInstruction(s,h,null!==(u=t.startSourceSpan)&&void 0!==u?u:t.sourceSpan);m.length>0&&this.templatePropertyBindings(s,m);for(const v of t.outputs)this.creationInstruction(v.sourceSpan,x.listener,this.prepareListenerParameter("ng_template",v,s))}}visitBoundText(t){if(this.i18n){const i=t.value.visit(this._valueConverter);return this.allocateBindingSlots(i),void(i instanceof vi&&(this.i18n.appendBoundText(t.i18n),this.i18nAppendBindings(i.expressions)))}const e=this.allocateDataSlot();this.creationInstruction(t.sourceSpan,x.text,[J(e)]);const s=t.value.visit(this._valueConverter);this.allocateBindingSlots(s),s instanceof vi?this.updateInstructionWithAdvance(e,t.sourceSpan,function mX(n){switch(rd(n)){case 1:return x.textInterpolate;case 3:return x.textInterpolate1;case 5:return x.textInterpolate2;case 7:return x.textInterpolate3;case 9:return x.textInterpolate4;case 11:return x.textInterpolate5;case 13:return x.textInterpolate6;case 15:return x.textInterpolate7;case 17:return x.textInterpolate8;default:return x.textInterpolateV}}(s),()=>this.getUpdateInstructionArguments(s)):zw("Text nodes should be interpolated and never bound directly.")}visitText(t){this.i18n||this.creationInstruction(t.sourceSpan,x.text,[J(this.allocateDataSlot()),J(t.value)])}visitIcu(t){let e=!1;this.i18n||(e=!0,this.i18nStart(null,t.i18n,!0));const s=this.i18n,i=this.i18nBindProps(t.vars),r=this.i18nBindProps(t.placeholders),o=t.i18n,a=l=>{const u=zE({...i,...r},!1);return id(null,x.i18nPostprocess,[l,RD(u,!0)])};if(hD(s.meta))this.i18nTranslate(o,{},s.ref,a);else{const l=this.i18nTranslate(o,{},void 0,a);s.appendIcu(jN(o).name,l)}return e&&this.i18nEnd(null,!0),null}allocateDataSlot(){return this._dataIndex++}getConstCount(){return this._dataIndex}getVarCount(){return this._pureFunctionSlots}getConsts(){return this._constants}getNgContentSelectors(){return this._ngContentReservedSlots.length?this.constantPool.getConstLiteral(vr(this._ngContentReservedSlots),!0):null}bindingContext(){return""+this._bindingContext++}templatePropertyBindings(t,e){const s=[];for(const i of e){if(!(i instanceof cD))continue;const r=i.value.visit(this._valueConverter);if(void 0!==r)if(this.allocateBindingSlots(r),r instanceof vi){const o=[];this.interpolatedUpdateInstruction(xY(r),t,i.name,i,r,o)}else s.push({span:i.sourceSpan,paramsOrFn:jD(()=>this.convertPropertyBinding(r),i.name)})}for(const i of s)this.updateInstructionWithAdvance(t,i.span,x.property,i.paramsOrFn)}instructionFn(t,e,s,i,r=!1){t[r?"unshift":"push"]({span:e,reference:s,paramsOrFn:i})}processStylingUpdateInstruction(t,e){let s=0;if(e)for(const i of e.calls)s+=i.allocateBindingSlots,this.updateInstructionWithAdvance(t,i.sourceSpan,e.reference,()=>i.params(r=>i.supportsInterpolation&&r instanceof vi?this.getUpdateInstructionArguments(r):this.convertPropertyBinding(r)));return s}creationInstruction(t,e,s,i){this.instructionFn(this._creationCodeFns,t,e,s||[],i)}updateInstructionWithAdvance(t,e,s,i){this.addAdvanceInstructionIfNecessary(t,e),this.updateInstruction(e,s,i)}updateInstruction(t,e,s){this.instructionFn(this._updateCodeFns,t,e,s||[])}addAdvanceInstructionIfNecessary(t,e){if(t!==this._currentIndex){const s=t-this._currentIndex;if(s<1)throw new Error("advance instruction can only go forwards");this.instructionFn(this._updateCodeFns,e,x.advance,[J(s)]),this._currentIndex=t}}allocatePureFunctionSlots(t){const e=this._pureFunctionSlots;return this._pureFunctionSlots+=t,e}allocateBindingSlots(t){this._bindingSlots+=t instanceof vi?t.expressions.length:1}getImplicitReceiverExpr(){return this._implicitReceiverExpr?this._implicitReceiverExpr:this._implicitReceiverExpr=0===this.level?Ie(ro):this._bindingScope.getOrCreateSharedContextVar(0)}convertPropertyBinding(t){const e=MF(this,this.getImplicitReceiverExpr(),t,this.bindingContext()),s=e.currValExpr;return this._tempVariables.push(...e.stmts),s}getUpdateInstructionArguments(t){const{args:e,stmts:s}=function RK(n,t,e,s){const i=new bk(n,t,s,!0),r=i.visitInterpolation(e,nn.Expression);return i.usesImplicitReceiver&&n.notifyImplicitReceiverUse(),{stmts:SF(i,s),args:r.args}}(this,this.getImplicitReceiverExpr(),t,this.bindingContext());return this._tempVariables.push(...s),e}getAttributeExpressions(t,e,s,i,r,o=[],a=[]){const l=new Set,c=[];let u;for(const m of e)if("ngProjectAs"===m.name&&(u=m),m.i18n){const{i18nVarRefsCache:v}=this._constants;let D;v.has(m.i18n)?D=v.get(m.i18n):(D=this.i18nTranslate(m.i18n),v.set(m.i18n,D)),c.push(J(m.name),D)}else c.push(...CY(m.name),_X(t,m));function h(m,v){"string"==typeof m?l.has(m)||(c.push(...CY(m)),void 0!==v&&c.push(v),l.add(m)):c.push(J(m))}if(u&&c.push(...function pX(n){const t=$w(n.value)[0];return[J(5),vr(t)]}(u)),r&&r.populateInitialStylingAttrs(c),s.length||i.length){const m=c.length;for(let v=0;vh(m.name))),a.length&&(c.push(J(6)),a.forEach(m=>h(m.name))),c}addToConsts(t){if(OE(t))return j_;const e=this._constants.constExpressions;for(let s=0;s0?this.addToConsts(Be(t)):j_}prepareRefsArray(t){if(!t||0===t.length)return j_;return vr(LY(t.map(s=>{const i=this.allocateDataSlot(),r=this._bindingScope.freshReferenceName(),o=this.level,a=Ie(r);return this._bindingScope.set(o,s.name,a,0,(l,c)=>{const u=c>0?[zk(c).toStmt()]:[],h=a.set(Et(x.reference).callFn([J(i)]));return u.concat(h.toConstDecl())},!0),[s.name,s.value]})))}prepareListenerParameter(t,e,s){return()=>{const i=e.name,r=1===e.type?xN(i,e.phase):Kp(i),o=`${this.templateName}_${t}_${r}_${s}_listener`,a=this._bindingScope.nestedScope(this._bindingScope.bindingLevel,wY);return DY(e,o,a)}}}class MY extends class LK{visitImplicitReceiver(t,e){return t}visitThisReceiver(t,e){return t}visitInterpolation(t,e){const s=this.visitAll(t.expressions);return s!==t.expressions?new vi(t.span,t.sourceSpan,t.strings,s):t}visitLiteralPrimitive(t,e){return t}visitPropertyRead(t,e){const s=t.receiver.visit(this);return s!==t.receiver?new kc(t.span,t.sourceSpan,t.nameSpan,s,t.name):t}visitPropertyWrite(t,e){const s=t.receiver.visit(this),i=t.value.visit(this);return s!==t.receiver||i!==t.value?new uk(t.span,t.sourceSpan,t.nameSpan,s,t.name,i):t}visitSafePropertyRead(t,e){const s=t.receiver.visit(this);return s!==t.receiver?new dk(t.span,t.sourceSpan,t.nameSpan,s,t.name):t}visitLiteralArray(t,e){const s=this.visitAll(t.expressions);return s!==t.expressions?new ED(t.span,t.sourceSpan,s):t}visitLiteralMap(t,e){const s=this.visitAll(t.values);return s!==t.values?new pk(t.span,t.sourceSpan,t.keys,s):t}visitUnary(t,e){const s=t.expr.visit(this);if(s!==t.expr)switch(t.operator){case"+":return qa.createPlus(t.span,t.sourceSpan,s);case"-":return qa.createMinus(t.span,t.sourceSpan,s);default:throw new Error(`Unknown unary operator ${t.operator}`)}return t}visitBinary(t,e){const s=t.left.visit(this),i=t.right.visit(this);return s!==t.left||i!==t.right?new qo(t.span,t.sourceSpan,t.operation,s,i):t}visitPrefixNot(t,e){const s=t.expression.visit(this);return s!==t.expression?new fk(t.span,t.sourceSpan,s):t}visitNonNullAssert(t,e){const s=t.expression.visit(this);return s!==t.expression?new mk(t.span,t.sourceSpan,s):t}visitConditional(t,e){const s=t.condition.visit(this),i=t.trueExp.visit(this),r=t.falseExp.visit(this);return s!==t.condition||i!==t.trueExp||r!==t.falseExp?new ck(t.span,t.sourceSpan,s,i,r):t}visitPipe(t,e){const s=t.exp.visit(this),i=this.visitAll(t.args);return s!==t.exp||i!==t.args?new xD(t.span,t.sourceSpan,s,t.name,i,t.nameSpan):t}visitKeyedRead(t,e){const s=t.receiver.visit(this),i=t.key.visit(this);return s!==t.receiver||i!==t.key?new SD(t.span,t.sourceSpan,s,i):t}visitKeyedWrite(t,e){const s=t.receiver.visit(this),i=t.key.visit(this),r=t.value.visit(this);return s!==t.receiver||i!==t.key||r!==t.value?new hk(t.span,t.sourceSpan,s,i,r):t}visitAll(t){const e=[];let s=!1;for(let i=0;i{e.args[1].value+=t})}visitLiteralArray(t,e){return new Xp(t.span,t.sourceSpan,this.visitAll(t.expressions),s=>{const i=Be(s);return SY(this.constantPool,i,this.allocatePureFunctionSlots)})}visitLiteralMap(t,e){return new Xp(t.span,t.sourceSpan,this.visitAll(t.values),s=>{const i=Ai(s.map((r,o)=>({key:t.keys[o].key,value:r,quoted:t.keys[o].quoted})));return SY(this.constantPool,i,this.allocatePureFunctionSlots)})}}const lX=[x.pipeBind1,x.pipeBind2,x.pipeBind3,x.pipeBind4];const uX=[x.pureFunction0,x.pureFunction1,x.pureFunction2,x.pureFunction3,x.pureFunction4,x.pureFunction5,x.pureFunction6,x.pureFunction7,x.pureFunction8];function zk(n){return Et(x.nextContext).callFn(n>1?[J(n)]:[])}function SY(n,t,e){const{literalFactory:s,literalFactoryArguments:i}=n.getLiteralFactory(t),r=e(1+i.length),{identifier:o,isVarLength:a}=function dX(n){const t=uX[n.length];return{identifier:t||x.pureFunctionV,isVarLength:!t}}(i),l=[J(r),s];return a?l.push(Be(i)):l.push(...i),Et(o).callFn(l)}function CY(n){const[t,e]=eo(n),s=J(e);return t?[J(0),J(t),s]:[s]}const ef="$$shared_ctx$$";class YD{constructor(t=0,e=null,s){if(this.bindingLevel=t,this.parent=e,this.globals=s,this.map=new Map,this.referenceNameIndex=0,this.restoreViewVariable=null,this.usesRestoredViewContext=!1,void 0!==s)for(const i of s)this.set(0,i,Ie(i))}static createRootScope(){return new YD}get(t){let e=this;for(;e;){let s=e.map.get(t);if(null!=s)return e!==this&&(s={retrievalLevel:s.retrievalLevel,lhs:s.lhs,declareLocalCallback:s.declareLocalCallback,declare:!1,priority:s.priority},this.map.set(t,s),this.maybeGenerateSharedContextVar(s),this.maybeRestoreView()),s.declareLocalCallback&&!s.declare&&(s.declare=!0),s.lhs;e=e.parent}return 0===this.bindingLevel?null:this.getComponentProperty(t)}set(t,e,s,i=0,r,o){if(this.map.has(e)){if(o)return this;zw(`The name ${e} is already defined in scope to be ${this.map.get(e)}`)}return this.map.set(e,{retrievalLevel:t,lhs:s,declare:!1,declareLocalCallback:r,priority:i}),this}getLocal(t){return this.get(t)}notifyImplicitReceiverUse(){0!==this.bindingLevel&&(this.map.get(ef+0).declare=!0)}nestedScope(t,e){const s=new YD(t,this,e);return t>0&&s.generateSharedContextVar(0),s}getOrCreateSharedContextVar(t){const e=ef+t;return this.map.has(e)||this.generateSharedContextVar(t),this.map.get(e).lhs}getSharedContextName(t){const e=this.map.get(ef+t);return e&&e.declare?e.lhs:null}maybeGenerateSharedContextVar(t){if(1===t.priority&&t.retrievalLevel[e.set(zk(i)).toConstDecl()],declare:!1,priority:2})}getComponentProperty(t){const e=this.map.get(ef+0);return e.declare=!0,this.maybeRestoreView(),e.lhs.prop(t)}maybeRestoreView(){this.isListenerScope()&&(this.parent.restoreViewVariable||(this.parent.restoreViewVariable=Ie(this.parent.freshReferenceName())),this.restoreViewVariable=this.parent.restoreViewVariable)}restoreViewStatement(){if(this.restoreViewVariable){const t=id(null,x.restoreView,[this.restoreViewVariable]);return this.usesRestoredViewContext?Ie($N).set(t).toConstDecl():t.toStmt()}return null}viewSnapshotStatements(){return this.restoreViewVariable?[this.restoreViewVariable.set(id(null,x.getCurrentView,[])).toConstDecl()]:[]}isListenerScope(){return this.parent&&this.parent.bindingLevel===this.bindingLevel}variableDeclarations(){let t=0;return Array.from(this.map.values()).filter(e=>e.declare).sort((e,s)=>s.retrievalLevel-e.retrievalLevel||s.priority-e.priority).reduce((e,s)=>{const i=this.bindingLevel-s.retrievalLevel,r=s.declareLocalCallback(this,i-t);return t=i,e.concat(r)},[])}freshReferenceName(){let t=this;for(;t.parent;)t=t.parent;return"_r"+t.referenceNameIndex++}hasRestoreViewVariable(){return!!this.restoreViewVariable}notifyRestoredViewContextUse(){this.usesRestoredViewContext=!0}}function xY(n){switch(rd(n)){case 1:return x.propertyInterpolate;case 3:return x.propertyInterpolate1;case 5:return x.propertyInterpolate2;case 7:return x.propertyInterpolate3;case 9:return x.propertyInterpolate4;case 11:return x.propertyInterpolate5;case 13:return x.propertyInterpolate6;case 15:return x.propertyInterpolate7;case 17:return x.propertyInterpolate8;default:return x.propertyInterpolateV}}function gX(n,t,e={}){const{interpolationConfig:s,preserveWhitespaces:i,enableI18nLegacyMessageIdFormat:r}=e,o=HD(s),l=(new JF).parse(n,t,{leadingTriviaChars:oX,...e,tokenizeExpansionForms:!0});if(!e.alwaysAttemptHtmlToR3AstConversion&&l.errors&&l.errors.length>0){const N={interpolationConfig:s,preserveWhitespaces:i,errors:l.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return e.collectCommentNodes&&(N.commentNodes=[]),N}let c=l.rootNodes;const u=new bY(s,!i,r),h=u.visitAllWithErrors(c);if(!e.alwaysAttemptHtmlToR3AstConversion&&h.errors&&h.errors.length>0){const N={interpolationConfig:s,preserveWhitespaces:i,errors:h.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return e.collectCommentNodes&&(N.commentNodes=[]),N}c=h.rootNodes,i||(c=Le(new eY,c),u.hasI18nMeta&&(c=Le(new bY(s,!1),c)));const{nodes:m,errors:v,styleUrls:D,styles:C,ngContentSelectors:k,commentNodes:P}=function MJ(n,t,e){const s=new SJ(t,e),o={nodes:Le(s,n),errors:t.errors.concat(s.errors),styleUrls:s.styleUrls,styles:s.styles,ngContentSelectors:s.ngContentSelectors};return e.collectCommentNodes&&(o.commentNodes=s.commentNodes),o}(c,o,{collectCommentNodes:!!e.collectCommentNodes});v.push(...l.errors,...h.errors);const F={interpolationConfig:s,preserveWhitespaces:i,errors:v.length>0?v:null,nodes:m,styleUrls:D,styles:C,ngContentSelectors:k};return e.collectCommentNodes&&(F.commentNodes=P),F}const EY=new iY;function HD(n=br){return new aJ(new UF(new jF),n,EY,[])}function kY(n,t){switch(n){case zn.HTML:return Et(x.sanitizeHtml);case zn.SCRIPT:return Et(x.sanitizeScript);case zn.STYLE:return t?Et(x.sanitizeStyle):null;case zn.URL:return Et(x.sanitizeUrl);case zn.RESOURCE_URL:return Et(x.sanitizeResourceUrl);default:return null}}function _X(n,t){const e=vr(t.value);if(!oY(n,t.name))return e;switch(EY.securityContext(n,t.name,!0)){case zn.HTML:return PE(Et(x.trustConstantHtml),new CE([new xE(t.value)],[]),void 0,t.valueSpan);case zn.RESOURCE_URL:return PE(Et(x.trustConstantResourceUrl),new CE([new xE(t.value)],[]),void 0,t.valueSpan);default:return e}}function vX(n){return n instanceof lD||n instanceof YE||n instanceof PN}function Wk(n){return n.every(vX)}function jD(n,t,e){return()=>{const s=n(),i=Array.isArray(s)?s:[s];return e&&i.push(...e),t&&i.unshift(J(t)),i}}const TY="ngI18nClosureMode";function wX(){return IE(Ie(TY)).notIdentical(J("undefined",SE)).and(Ie(TY))}function LY(n){return n.reduce((t,e)=>{const s=Array.isArray(e)?LY(e):e;return t.concat(s)},[])}const DX=/attr\.([^\]]+)/;function IY(n,t,e){const s=new hs,i=$w(n.selector);return s.set("type",n.internalType),i.length>0&&s.set("selectors",vr(i)),n.queries.length>0&&s.set("contentQueries",function LX(n,t,e){const s=[],i=[],r=zN(i,"_t");for(const a of n){s.push(Et(x.contentQuery).callFn([Ie("dirIndex"),...RY(a,t)]).toStmt());const l=r(),c=Et(x.loadQuery).callFn([]),u=Et(x.queryRefresh).callFn([l.set(c)]),h=Ie(ro).prop(a.propertyName).set(a.first?l.prop("first"):l);i.push(u.and(h).toStmt())}const o=e?`${e}_ContentQueries`:null;return Fs([new Ti(G_,Rp),new Ti(ro,null),new Ti("dirIndex",null)],[Ic(1,s),Ic(2,i)],yi,null,o)}(n.queries,t,n.name)),n.viewQueries.length&&s.set("viewQuery",function IX(n,t,e){const s=[],i=[],r=zN(i,WE);n.forEach(a=>{const l=Et(x.viewQuery).callFn(RY(a,t));s.push(l.toStmt());const c=r(),u=Et(x.loadQuery).callFn([]),h=Et(x.queryRefresh).callFn([c.set(u)]),m=Ie(ro).prop(a.propertyName).set(a.first?c.prop("first"):c);i.push(h.and(m).toStmt())});const o=e?`${e}_Query`:null;return Fs([new Ti(G_,Rp),new Ti(ro,null)],[Ic(1,s),Ic(2,i)],yi,null,o)}(n.viewQueries,t,n.name)),s.set("hostBindings",function PX(n,t,e,s,i,r,o){const a=Ie(ro),l=new NF(a),{styleAttr:c,classAttr:u}=n.specialAttributes;void 0!==c&&l.registerStyleAttr(c),void 0!==u&&l.registerClassAttr(u);const h=[],m=[],v=[],D=t,C=e.createDirectiveHostEventAsts(n.listeners,D);C&&C.length&&h.push(...function NX(n,t){const e=[],s=[],i=[];for(const r of n){let o=r.name&&Kp(r.name);const a=1===r.type?xN(o,r.targetOrPhase):o,l=t&&o?`${t}_${a}_HostBindingHandler`:null,c=DY(uD.fromParsedEvent(r),l);1==r.type?s.push(c):e.push(c)}for(const r of s)i.push({reference:x.syntheticHostListener,paramsOrFn:r,span:null});for(const r of e)i.push({reference:x.listener,paramsOrFn:r,span:null});return i}(C,r));const k=e.createBoundHostProperties(n.properties,D),P=[];let N,F=0;k&&k.forEach(yt=>{l.registerInputBasedOnName(yt.name,yt.expression,D)?F+=2:(P.push(yt),F++)});const V=()=>{if(!N){N=new MY(s,()=>zw("Unexpected node"),Vt=>{const gt=F;return F+=Vt,gt},()=>zw("Unexpected pipe"))}return N},q=[],lt=[],pt=[];for(const yt of P){const Vt=yt.expression.visit(V()),gt=HY(a,Vt),{bindingName:Ut,instruction:$t,isAttribute:Ce}=RX(yt),Xt=e.calcPossibleSecurityContexts(i,Ut,Ce).filter(Yt=>Yt!==zn.NONE);let ht=null;Xt.length&&(ht=2===Xt.length&&Xt.indexOf(zn.URL)>-1&&Xt.indexOf(zn.RESOURCE_URL)>-1?Et(x.sanitizeUrlOrResourceUrl):kY(Xt[0],Ce));const It=[J(Ut),gt.currValExpr];ht&&It.push(ht),v.push(...gt.stmts),$t===x.hostProperty?q.push(It):$t===x.attribute?lt.push(It):$t===x.syntheticHostProperty?pt.push(It):m.push({reference:$t,paramsOrFn:It,span:null})}for(const yt of q)m.push({reference:x.hostProperty,paramsOrFn:yt,span:null});for(const yt of lt)m.push({reference:x.attribute,paramsOrFn:yt,span:null});for(const yt of pt)m.push({reference:x.syntheticHostProperty,paramsOrFn:yt,span:null});const Dt=function TX(n){const t=[];for(let e of Object.getOwnPropertyNames(n)){const s=n[e];t.push(J(e),s)}return t}(n.attributes);if(l.assignHostAttrs(Dt,o),l.hasBindings&&l.buildUpdateLevelInstructions(V()).forEach(yt=>{for(const Vt of yt.calls)F+=Math.max(Vt.allocateBindingSlots-2,0),m.push({reference:yt.reference,paramsOrFn:OX(Vt,a,HY),span:null})}),F&&o.set("hostVars",J(F)),h.length>0||m.length>0){const yt=r?`${r}_HostBindings`:null,Vt=[];return h.length>0&&Vt.push(Ic(1,gD(h))),m.length>0&&Vt.push(Ic(2,v.concat(gD(m)))),Fs([new Ti(G_,Rp),new Ti(ro,null)],Vt,yi,null,yt)}return null}(n.host,n.typeSourceSpan,e,t,n.selector||"",n.name,s)),s.set("inputs",mD(n.inputs,!0)),s.set("outputs",mD(n.outputs)),null!==n.exportAs&&s.set("exportAs",Be(n.exportAs.map(r=>J(r)))),n.isStandalone&&s.set("standalone",J(!0)),s}function PY(n,t){const e=[],s=t.providers,i=t.viewProviders;if(s||i){const r=[s||new jp([])];i&&r.push(i),e.push(Et(x.ProvidersFeature).callFn(r))}t.usesInheritance&&e.push(Et(x.InheritDefinitionFeature)),t.fullInheritance&&e.push(Et(x.CopyDefinitionFeature)),t.lifecycle.usesOnChanges&&e.push(Et(x.NgOnChangesFeature)),t.hasOwnProperty("template")&&t.isStandalone&&e.push(Et(x.StandaloneFeature)),e.length&&n.set("features",Be(e))}function xX(n,t,e){const s=IY(n,t,e);PY(s,n);const i=n.selector&&wc.parse(n.selector),r=i&&i[0];if(r){const P=r.getAttrs();P.length&&s.set("attrs",t.getConstLiteral(Be(P.map(F=>J(null!=F?F:void 0))),!0))}const o=n.name,a=o?`${o}_Template`:null,l=n.changeDetection,c=n.template,u=new $k(t,YD.createRootScope(),0,o,null,null,a,x.namespaceHTML,n.relativeContextFilePath,n.i18nUseExternalIds),h=u.buildTemplateFunction(c.nodes,[]),m=u.getNgContentSelectors();m&&s.set("ngContentSelectors",m),s.set("decls",J(u.getConstCount())),s.set("vars",J(u.getVarCount()));const{constExpressions:v,prepareStatements:D}=u.getConsts();if(v.length>0){let P=Be(v);D.length>0&&(P=Fs([],[...D,new ds(P)])),s.set("consts",P)}if(s.set("template",h),n.declarations.length>0&&s.set("dependencies",function EX(n,t){switch(t){case 0:return n;case 1:return Fs([],[new ds(n)]);case 2:const e=n.prop("map").callFn([Et(x.resolveForwardRef)]);return Fs([],[new ds(e)])}}(Be(n.declarations.map(P=>P.type)),n.declarationListEmitMode)),null===n.encapsulation&&(n.encapsulation=gr.Emulated),n.styles&&n.styles.length){const F=(n.encapsulation==gr.Emulated?function jX(n,t,e){const s=new VK;return n.map(i=>s.shimCssText(i,t,e))}(n.styles,"_ngcontent-%COMP%","_nghost-%COMP%"):n.styles).reduce((N,V)=>(V.trim().length>0&&N.push(t.getConstLiteral(J(V))),N),[]);F.length>0&&s.set("styles",Be(F))}else n.encapsulation===gr.Emulated&&(n.encapsulation=gr.None);n.encapsulation!==gr.Emulated&&s.set("encapsulation",J(n.encapsulation)),null!==n.animations&&s.set("data",Ai([{key:"animation",value:n.animations,quoted:!1}])),null!=l&&l!==Ip.Default&&s.set("changeDetection",J(l));return{expression:Et(x.defineComponent).callFn([s.toLiteralMap()],void 0,!0),type:OY(n),statements:[]}}function OY(n){const t=FY(n);return t.push(qk(n.template.ngContentSelectors)),t.push(Li(J(n.isStandalone))),Li(Et(x.ComponentDeclaration,t))}function RY(n,t){const e=[XG(n,t),J(kX(n))];return n.read&&e.push(n.read),e}function kX(n){return(n.descendants?1:0)|(n.static?2:0)|(n.emitDistinctChangesOnly?4:0)}function AX(n){return Li(J(n))}function NY(n){return Li(Ai(Object.keys(n).map(e=>({key:e,value:J(Array.isArray(n[e])?n[e][0]:n[e]),quoted:!0}))))}function qk(n){return n.length>0?Li(Be(n.map(t=>J(t)))):Dc}function FY(n){const t=null!==n.selector?n.selector.replace(/\n/g,""):null;return[aD(n.type.type,n.typeArgumentCount),null!==t?AX(t):Dc,null!==n.exportAs?qk(n.exportAs):Dc,NY(n.inputs),NY(n.outputs),qk(n.queries.map(e=>e.propertyName))]}function YY(n){const t=FY(n);return t.push(Dc),t.push(Li(J(n.isStandalone))),Li(Et(x.DirectiveDeclaration,t))}function HY(n,t){return MF(null,n,t,"b")}function OX(n,t,e){return n.params(s=>e(t,s).currValExpr)}function RX(n){let e,t=n.name;const s=t.match(DX);return s?(t=s[1],e=x.attribute):n.isAnimation?(t=CN(t),e=x.syntheticHostProperty):e=x.hostProperty,{bindingName:t,instruction:e,isAttribute:!!s}}const FX=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;class my{}class VX{constructor(t=new bK){this.jitEvaluator=t,this.FactoryTarget=io,this.ResourceLoader=my,this.elementSchemaRegistry=new iY}compilePipe(t,e,s){const r=vF({name:s.name,type:Qs(s.type),internalType:new re(s.type),typeArgumentCount:0,deps:null,pipeName:s.pipeName,pure:s.pure,isStandalone:s.isStandalone});return this.jitExpression(r.expression,t,e,[])}compilePipeDeclaration(t,e,s){const i=function tZ(n){var t,e;return{name:n.type.name,type:Qs(n.type),internalType:new re(n.type),typeArgumentCount:0,pipeName:n.name,deps:null,pure:null===(t=n.pure)||void 0===t||t,isStandalone:null!==(e=n.isStandalone)&&void 0!==e&&e}}(s),r=vF(i);return this.jitExpression(r.expression,t,e,[])}compileInjectable(t,e,s){var i;const{expression:r,statements:o}=WN({name:s.name,type:Qs(s.type),internalType:new re(s.type),typeArgumentCount:s.typeArgumentCount,providedIn:qY(s.providedIn),useClass:nf(s,"useClass"),useFactory:WY(s,"useFactory"),useValue:nf(s,"useValue"),useExisting:nf(s,"useExisting"),deps:null===(i=s.deps)||void 0===i?void 0:i.map(GY)},!0);return this.jitExpression(r,t,e,o)}compileInjectableDeclaration(t,e,s){var i;const{expression:r,statements:o}=WN({name:s.type.name,type:Qs(s.type),internalType:new re(s.type),typeArgumentCount:0,providedIn:qY(s.providedIn),useClass:nf(s,"useClass"),useFactory:WY(s,"useFactory"),useValue:nf(s,"useValue"),useExisting:nf(s,"useExisting"),deps:null===(i=s.deps)||void 0===i?void 0:i.map(KY)},!0);return this.jitExpression(r,t,e,o)}compileInjector(t,e,s){const r=gF({name:s.name,type:Qs(s.type),internalType:new re(s.type),providers:s.providers&&s.providers.length>0?new re(s.providers):null,imports:s.imports.map(o=>new re(o))});return this.jitExpression(r.expression,t,e,[])}compileInjectorDeclaration(t,e,s){const i=function eZ(n){return{name:n.type.name,type:Qs(n.type),internalType:new re(n.type),providers:void 0!==n.providers&&n.providers.length>0?new re(n.providers):null,imports:void 0!==n.imports?n.imports.map(t=>new re(t)):[]}}(s),r=gF(i);return this.jitExpression(r.expression,t,e,[])}compileNgModule(t,e,s){const r=SK({type:Qs(s.type),internalType:new re(s.type),adjacentType:new re(s.type),bootstrap:s.bootstrap.map(Qs),declarations:s.declarations.map(Qs),imports:s.imports.map(Qs),exports:s.exports.map(Qs),selectorScopeMode:sy.Inline,containsForwardDecls:!1,schemas:s.schemas?s.schemas.map(Qs):null,id:s.id?new re(s.id):null});return this.jitExpression(r.expression,t,e,[])}compileNgModuleDeclaration(t,e,s){const i=function CK(n){const t=new hs;return t.set("type",new re(n.type)),void 0!==n.bootstrap&&t.set("bootstrap",new re(n.bootstrap)),void 0!==n.declarations&&t.set("declarations",new re(n.declarations)),void 0!==n.imports&&t.set("imports",new re(n.imports)),void 0!==n.exports&&t.set("exports",new re(n.exports)),void 0!==n.schemas&&t.set("schemas",new re(n.schemas)),void 0!==n.id&&t.set("id",new re(n.id)),Et(x.defineNgModule).callFn([t.toLiteralMap()])}(s);return this.jitExpression(i,t,e,[])}compileDirective(t,e,s){const i=UY(s);return this.compileDirectiveFromMeta(t,e,i)}compileDirectiveDeclaration(t,e,s){const r=$Y(s,this.createParseSourceSpan("Directive",s.type.name,e));return this.compileDirectiveFromMeta(t,e,r)}compileDirectiveFromMeta(t,e,s){const i=new bN,o=function CX(n,t,e){const s=IY(n,t,e);return PY(s,n),{expression:Et(x.defineDirective).callFn([s.toLiteralMap()],void 0,!0),type:YY(n),statements:[]}}(s,i,HD());return this.jitExpression(o.expression,t,e,i.statements)}compileComponent(t,e,s){const{template:i,interpolation:r}=zY(s.template,s.name,e,s.preserveWhitespaces,s.interpolation),o={...s,...UY(s),selector:s.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:i,declarations:s.declarations.map(zX),declarationListEmitMode:0,styles:[...s.styles,...i.styles],encapsulation:s.encapsulation,interpolation:r,changeDetection:s.changeDetection,animations:null!=s.animations?new re(s.animations):null,viewProviders:null!=s.viewProviders?new re(s.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0},a=`ng:///${s.name}.js`;return this.compileComponentFromMeta(t,a,o)}compileComponentDeclaration(t,e,s){const r=function $X(n,t,e){var s,i,r,o;const{template:a,interpolation:l}=zY(n.template,n.type.name,e,null!==(s=n.preserveWhitespaces)&&void 0!==s&&s,n.interpolation),c=[];if(n.dependencies)for(const u of n.dependencies)switch(u.kind){case"directive":case"component":c.push(Gk(u));break;case"pipe":c.push(qX(u))}else(n.components||n.directives||n.pipes)&&(n.components&&c.push(...n.components.map(u=>Gk(u,!0))),n.directives&&c.push(...n.directives.map(u=>Gk(u))),n.pipes&&c.push(...function WX(n){return n?Object.keys(n).map(t=>({kind:Ec.Pipe,name:t,type:new re(n[t])})):[]}(n.pipes)));return{...$Y(n,t),template:a,styles:null!==(i=n.styles)&&void 0!==i?i:[],declarations:c,viewProviders:void 0!==n.viewProviders?new re(n.viewProviders):null,animations:void 0!==n.animations?new re(n.animations):null,changeDetection:null!==(r=n.changeDetection)&&void 0!==r?r:Ip.Default,encapsulation:null!==(o=n.encapsulation)&&void 0!==o?o:gr.Emulated,interpolation:l,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0}}(s,this.createParseSourceSpan("Component",s.type.name,e),e);return this.compileComponentFromMeta(t,e,r)}compileComponentFromMeta(t,e,s){const i=new bN,o=xX(s,i,HD(s.interpolation));return this.jitExpression(o.expression,t,e,i.statements)}compileFactory(t,e,s){const i=sd({name:s.name,type:Qs(s.type),internalType:new re(s.type),typeArgumentCount:s.typeArgumentCount,deps:GX(s.deps),target:s.target});return this.jitExpression(i.expression,t,e,i.statements)}compileFactoryDeclaration(t,e,s){const i=sd({name:s.type.name,type:Qs(s.type),internalType:new re(s.type),typeArgumentCount:0,deps:Array.isArray(s.deps)?s.deps.map(KY):s.deps,target:s.target});return this.jitExpression(i.expression,t,e,i.statements)}createParseSourceSpan(t,e,s){return function fK(n,t,e){const i=new ik("",`in ${n} ${t} in ${e}`);return new Ss(new ld(i,-1,-1,-1),new ld(i,-1,-1,-1))}(t,e,s)}jitExpression(t,e,s,i){const r=[...i,new Na("$def",t,void 0,Wi.Exported)];return this.jitEvaluator.evaluateStatements(s,r,new MK(e),!0).$def}}function jY(n){return{...n,predicate:BY(n.predicate),read:n.read?new re(n.read):null,static:n.static,emitDistinctChangesOnly:n.emitDistinctChangesOnly}}function VY(n){var t,e,s,i;return{propertyName:n.propertyName,first:null!==(t=n.first)&&void 0!==t&&t,predicate:BY(n.predicate),descendants:null!==(e=n.descendants)&&void 0!==e&&e,read:n.read?new re(n.read):null,static:null!==(s=n.static)&&void 0!==s&&s,emitDistinctChangesOnly:null===(i=n.emitDistinctChangesOnly)||void 0===i||i}}function BY(n){return Array.isArray(n)?n:FE(new re(n),1)}function UY(n){const t=JY(n.inputs||[]),e=JY(n.outputs||[]),s=n.propMetadata,i={},r={};for(const o in s)s.hasOwnProperty(o)&&s[o].forEach(a=>{XX(a)?i[o]=a.bindingPropertyName?[a.bindingPropertyName,o]:o:ZX(a)&&(r[o]=a.bindingPropertyName||o)});return{...n,typeArgumentCount:0,typeSourceSpan:n.typeSourceSpan,type:Qs(n.type),internalType:new re(n.type),deps:null,host:KX(n.propMetadata,n.typeSourceSpan,n.host),inputs:{...t,...i},outputs:{...e,...r},queries:n.queries.map(jY),providers:null!=n.providers?new re(n.providers):null,viewQueries:n.viewQueries.map(jY),fullInheritance:!1}}function $Y(n,t){var e,s,i,r,o,a,l,c,u;return{name:n.type.name,type:Qs(n.type),typeSourceSpan:t,internalType:new re(n.type),selector:null!==(e=n.selector)&&void 0!==e?e:null,inputs:null!==(s=n.inputs)&&void 0!==s?s:{},outputs:null!==(i=n.outputs)&&void 0!==i?i:{},host:BX(n.host),queries:(null!==(r=n.queries)&&void 0!==r?r:[]).map(VY),viewQueries:(null!==(o=n.viewQueries)&&void 0!==o?o:[]).map(VY),providers:void 0!==n.providers?new re(n.providers):null,exportAs:null!==(a=n.exportAs)&&void 0!==a?a:null,usesInheritance:null!==(l=n.usesInheritance)&&void 0!==l&&l,lifecycle:{usesOnChanges:null!==(c=n.usesOnChanges)&&void 0!==c&&c},deps:null,typeArgumentCount:0,fullInheritance:!1,isStandalone:null!==(u=n.isStandalone)&&void 0!==u&&u}}function BX(n={}){var t,e,s;return{attributes:UX(null!==(t=n.attributes)&&void 0!==t?t:{}),listeners:null!==(e=n.listeners)&&void 0!==e?e:{},properties:null!==(s=n.properties)&&void 0!==s?s:{},specialAttributes:{classAttr:n.classAttribute,styleAttr:n.styleAttribute}}}function UX(n){const t={};for(const e of Object.keys(n))t[e]=new re(n[e]);return t}function zX(n){return{...n,type:new re(n.type)}}function Gk(n,t=null){var e,s,i;return{kind:Ec.Directive,isComponent:t||"component"===n.kind,selector:n.selector,type:new re(n.type),inputs:null!==(e=n.inputs)&&void 0!==e?e:[],outputs:null!==(s=n.outputs)&&void 0!==s?s:[],exportAs:null!==(i=n.exportAs)&&void 0!==i?i:null}}function qX(n){return{kind:Ec.Pipe,name:n.name,type:new re(n.type)}}function zY(n,t,e,s,i){const r=i?_D.fromArray(i):br,o=gX(n,e,{preserveWhitespaces:s,interpolationConfig:r});if(null!==o.errors){const a=o.errors.map(l=>l.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${t}: ${a}`)}return{template:o,interpolation:r}}function nf(n,t){if(n.hasOwnProperty(t))return FE(new re(n[t]),0)}function WY(n,t){if(n.hasOwnProperty(t))return new re(n[t])}function qY(n){return FE("function"==typeof n?new re(n):new _r(n??null),0)}function GX(n){return null==n?null:n.map(GY)}function GY(n){const t=null!=n.attribute,e=null===n.token?null:new re(n.token);return QY(t?new re(n.attribute):e,t,n.host,n.optional,n.self,n.skipSelf)}function KY(n){var t,e,s,i,r;const o=null!==(t=n.attribute)&&void 0!==t&&t;return QY(null===n.token?null:new re(n.token),o,null!==(e=n.host)&&void 0!==e&&e,null!==(s=n.optional)&&void 0!==s&&s,null!==(i=n.self)&&void 0!==i&&i,null!==(r=n.skipSelf)&&void 0!==r&&r)}function QY(n,t,e,s,i,r){return{token:n,attributeNameType:t?J("unknown"):null,host:e,optional:s,self:i,skipSelf:r}}function KX(n,t,e){const s=function YX(n){const t={},e={},s={},i={};for(const r of Object.keys(n)){const o=n[r],a=r.match(FX);if(null===a)switch(r){case"class":if("string"!=typeof o)throw new Error("Class binding must be string");i.classAttr=o;break;case"style":if("string"!=typeof o)throw new Error("Style binding must be string");i.styleAttr=o;break;default:t[r]="string"==typeof o?J(o):o}else if(null!=a[1]){if("string"!=typeof o)throw new Error("Property binding must be string");s[a[1]]=o}else if(null!=a[2]){if("string"!=typeof o)throw new Error("Event binding must be string");e[a[2]]=o}}return{attributes:t,listeners:e,properties:s,specialAttributes:i}}(e||{}),i=function HX(n,t){const e=HD();return e.createDirectiveHostEventAsts(n.listeners,t),e.createBoundHostProperties(n.properties,t),e.errors}(s,t);if(i.length)throw new Error(i.map(r=>r.msg).join("\n"));for(const r in n)n.hasOwnProperty(r)&&n[r].forEach(o=>{QX(o)?s.properties[o.hostPropertyName||r]=pG("this",r):JX(o)&&(s.listeners[o.eventName||r]=`${r}(${(o.args||[]).join(",")})`)});return s}function QX(n){return"HostBinding"===n.ngMetadataName}function JX(n){return"HostListener"===n.ngMetadataName}function XX(n){return"Input"===n.ngMetadataName}function ZX(n){return"Output"===n.ngMetadataName}function JY(n){return n.reduce((t,e)=>{const[s,i]=e.split(",").map(r=>r.trim());return t[s]=i||s,t},{})}new class S7{constructor(t){this.full=t;const e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}}("14.0.6");class XY{constructor({defaultEncapsulation:t=gr.Emulated,useJit:e=!0,jitDevMode:s=!1,missingTranslation:i=null,preserveWhitespaces:r,strictInjectionParameters:o}={}){this.defaultEncapsulation=t,this.useJit=!!e,this.jitDevMode=!!s,this.missingTranslation=i,this.preserveWhitespaces=function sZ(n,t=!1){return null===n?t:n}(function M7(n){return void 0===n?null:n}(r)),this.strictInjectionParameters=!0===o}}var lo;!function(n){n[n.Extract=0]="Extract",n[n.Merge=1]="Merge"}(lo||(lo={}));new class pZ{constructor(){this.closedByParent=!1,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0,this.preventNamespaceInheritance=!1}requireExtraParent(t){return!1}isClosedByChild(t){return!1}getContentType(){return to.PARSABLE_DATA}};var dH;!function(n){n[n.Directive=0]="Directive",n[n.Component=1]="Component",n[n.Injectable=2]="Injectable",n[n.Pipe=3]="Pipe",n[n.NgModule=4]="NgModule"}(dH||(dH={}));!function nZ(n){(n.ng||(n.ng={})).\u0275compilerFacade=new VX}(Pp);let UD=null;function co(){return UD}const Se=new At("DocumentToken");class Pc{historyGo(t){throw new Error("Not implemented")}}Pc.\u0275fac=function(t){return new(t||Pc)},Pc.\u0275prov=vt({token:Pc,factory:function(){return function ftt(){return rt(rf)}()},providedIn:"platform"});const mtt=new At("Location Initialized");class rf extends Pc{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return co().getBaseHref(this._doc)}onPopState(t){const e=co().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=co().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,s){mH()?this._history.pushState(t,e,s):this.location.hash=s}replaceState(t,e,s){mH()?this._history.replaceState(t,e,s):this.location.hash=s}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}function mH(){return!!window.history.pushState}function Zk(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function gH(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length,s=e-("/"===n[e-1]?1:0);return n.slice(0,s)+n.slice(e)}function Qa(n){return n&&"?"!==n[0]?"?"+n:n}rf.\u0275fac=function(t){return new(t||rf)(rt(Se))},rf.\u0275prov=vt({token:rf,factory:function(){return function gtt(){return new rf(rt(Se))}()},providedIn:"platform"});class uo{historyGo(t){throw new Error("Not implemented")}}uo.\u0275fac=function(t){return new(t||uo)},uo.\u0275prov=vt({token:uo,factory:function(){return function _tt(){const n=rt(Se).location;return new pd(rt(Pc),n&&n.origin||"")}()},providedIn:"root"});const _H=new At("appBaseHref");class pd extends uo{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)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.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Zk(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Qa(this._platformLocation.search),s=this._platformLocation.hash;return s&&t?`${e}${s}`:e}pushState(t,e,s,i){const r=this.prepareExternalUrl(s+Qa(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,s,i){const r=this.prepareExternalUrl(s+Qa(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var e,s;null===(e=(s=this._platformLocation).historyGo)||void 0===e||e.call(s,t)}}pd.\u0275fac=function(t){return new(t||pd)(rt(Pc),rt(_H,8))},pd.\u0275prov=vt({token:pd,factory:pd.\u0275fac});class of extends uo{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=Zk(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,s,i){let r=this.prepareExternalUrl(s+Qa(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,s,i){let r=this.prepareExternalUrl(s+Qa(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var e,s;null===(e=(s=this._platformLocation).historyGo)||void 0===e||e.call(s,t)}}of.\u0275fac=function(t){return new(t||of)(rt(Pc),rt(_H,8))},of.\u0275prov=vt({token:of,factory:of.\u0275fac});class Dr{constructor(t){this._subject=new Mt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const e=this._locationStrategy.getBaseHref();this._baseHref=gH(yH(e)),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){var t;null===(t=this._urlChangeSubscription)||void 0===t||t.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+Qa(e))}normalize(t){return Dr.stripTrailingSlash(function vtt(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,yH(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,e="",s=null){this._locationStrategy.pushState(s,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qa(e)),s)}replaceState(t,e="",s=null){this._locationStrategy.replaceState(s,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qa(e)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){var e,s;null===(e=(s=this._locationStrategy).historyGo)||void 0===e||e.call(s,t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})),()=>{const e=this._urlChangeListeners.indexOf(t);var s;(this._urlChangeListeners.splice(e,1),0===this._urlChangeListeners.length)&&(null===(s=this._urlChangeSubscription)||void 0===s||s.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(s=>s(t,e))}subscribe(t,e,s){return this._subject.subscribe({next:t,error:e,complete:s})}}function yH(n){return n.replace(/\/index.html$/,"")}Dr.normalizeQueryParams=Qa,Dr.joinWithSlash=Zk,Dr.stripTrailingSlash=gH,Dr.\u0275fac=function(t){return new(t||Dr)(rt(uo))},Dr.\u0275prov=vt({token:Dr,factory:function(){return function ytt(){return new Dr(rt(uo))}()},providedIn:"root"});const vH={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var vy,fd,Js,fn,Oi,Wn,bH;function $D(n,t){return Sr(fi(n)[gn.DateFormat],t)}function zD(n,t){return Sr(fi(n)[gn.TimeFormat],t)}function WD(n,t){return Sr(fi(n)[gn.DateTimeFormat],t)}function Mr(n,t){const e=fi(n),s=e[gn.NumberSymbols][t];if(typeof s>"u"){if(t===Wn.CurrencyDecimal)return e[gn.NumberSymbols][Wn.Decimal];if(t===Wn.CurrencyGroup)return e[gn.NumberSymbols][Wn.Group]}return s}function tT(n,t){return fi(n)[gn.NumberFormats][t]}!function(n){n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific"}(vy||(vy={})),function(n){n[n.Zero=0]="Zero",n[n.One=1]="One",n[n.Two=2]="Two",n[n.Few=3]="Few",n[n.Many=4]="Many",n[n.Other=5]="Other"}(fd||(fd={})),function(n){n[n.Format=0]="Format",n[n.Standalone=1]="Standalone"}(Js||(Js={})),function(n){n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short"}(fn||(fn={})),function(n){n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full"}(Oi||(Oi={})),function(n){n[n.Decimal=0]="Decimal",n[n.Group=1]="Group",n[n.List=2]="List",n[n.PercentSign=3]="PercentSign",n[n.PlusSign=4]="PlusSign",n[n.MinusSign=5]="MinusSign",n[n.Exponential=6]="Exponential",n[n.SuperscriptingExponent=7]="SuperscriptingExponent",n[n.PerMille=8]="PerMille",n[n.Infinity=9]="Infinity",n[n.NaN=10]="NaN",n[n.TimeSeparator=11]="TimeSeparator",n[n.CurrencyDecimal=12]="CurrencyDecimal",n[n.CurrencyGroup=13]="CurrencyGroup"}(Wn||(Wn={})),function(n){n[n.Sunday=0]="Sunday",n[n.Monday=1]="Monday",n[n.Tuesday=2]="Tuesday",n[n.Wednesday=3]="Wednesday",n[n.Thursday=4]="Thursday",n[n.Friday=5]="Friday",n[n.Saturday=6]="Saturday"}(bH||(bH={}));const xtt=X2;function wH(n){if(!n[gn.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[gn.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Sr(n,t){for(let e=t;e>-1;e--)if(typeof n[e]<"u")return n[e];throw new Error("Locale data API: locale data undefined")}function eT(n){const[t,e]=n.split(":");return{hours:+t,minutes:+e}}function Ttt(n,t,e="en"){const s=function Ctt(n){return fi(n)[gn.Currencies]}(e)[n]||vH[n]||[],i=s[1];return"narrow"===t&&"string"==typeof i?i:s[0]||n}const Itt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,by={},Ptt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{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]*)/;var Ko,Je,Xe;function Ott(n,t,e,s){let i=function Utt(n){if(SH(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[i,r=1,o=1]=n.split("-").map(a=>+a);return qD(i,r-1,o)}const e=parseFloat(n);if(!isNaN(n-e))return new Date(e);let s;if(s=n.match(Itt))return function $tt(n){const t=new Date(0);let e=0,s=0;const i=n[8]?t.setUTCFullYear:t.setFullYear,r=n[8]?t.setUTCHours:t.setHours;n[9]&&(e=Number(n[9]+n[10]),s=Number(n[9]+n[11])),i.call(t,Number(n[1]),Number(n[2])-1,Number(n[3]));const o=Number(n[4]||0)-e,a=Number(n[5]||0)-s,l=Number(n[6]||0),c=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return r.call(t,o,a,l,c),t}(s)}const t=new Date(n);if(!SH(t))throw new Error(`Unable to convert "${n}" into a date`);return t}(n);t=Ja(e,t)||t;let a,o=[];for(;t;){if(a=Ptt.exec(t),!a){o.push(t);break}{o=o.concat(a.slice(1));const u=o.pop();if(!u)break;t=u}}let l=i.getTimezoneOffset();s&&(l=MH(s,l),i=function Btt(n,t,e){const s=e?-1:1,i=n.getTimezoneOffset(),r=MH(t,i);return function Vtt(n,t){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+t),n}(n,s*(r-i))}(i,s,!0));let c="";return o.forEach(u=>{const h=function jtt(n){if(sT[n])return sT[n];let t;switch(n){case"G":case"GG":case"GGG":t=xn(Xe.Eras,fn.Abbreviated);break;case"GGGG":t=xn(Xe.Eras,fn.Wide);break;case"GGGGG":t=xn(Xe.Eras,fn.Narrow);break;case"y":t=os(Je.FullYear,1,0,!1,!0);break;case"yy":t=os(Je.FullYear,2,0,!0,!0);break;case"yyy":t=os(Je.FullYear,3,0,!1,!0);break;case"yyyy":t=os(Je.FullYear,4,0,!1,!0);break;case"Y":t=JD(1);break;case"YY":t=JD(2,!0);break;case"YYY":t=JD(3);break;case"YYYY":t=JD(4);break;case"M":case"L":t=os(Je.Month,1,1);break;case"MM":case"LL":t=os(Je.Month,2,1);break;case"MMM":t=xn(Xe.Months,fn.Abbreviated);break;case"MMMM":t=xn(Xe.Months,fn.Wide);break;case"MMMMM":t=xn(Xe.Months,fn.Narrow);break;case"LLL":t=xn(Xe.Months,fn.Abbreviated,Js.Standalone);break;case"LLLL":t=xn(Xe.Months,fn.Wide,Js.Standalone);break;case"LLLLL":t=xn(Xe.Months,fn.Narrow,Js.Standalone);break;case"w":t=nT(1);break;case"ww":t=nT(2);break;case"W":t=nT(1,!0);break;case"d":t=os(Je.Date,1);break;case"dd":t=os(Je.Date,2);break;case"c":case"cc":t=os(Je.Day,1);break;case"ccc":t=xn(Xe.Days,fn.Abbreviated,Js.Standalone);break;case"cccc":t=xn(Xe.Days,fn.Wide,Js.Standalone);break;case"ccccc":t=xn(Xe.Days,fn.Narrow,Js.Standalone);break;case"cccccc":t=xn(Xe.Days,fn.Short,Js.Standalone);break;case"E":case"EE":case"EEE":t=xn(Xe.Days,fn.Abbreviated);break;case"EEEE":t=xn(Xe.Days,fn.Wide);break;case"EEEEE":t=xn(Xe.Days,fn.Narrow);break;case"EEEEEE":t=xn(Xe.Days,fn.Short);break;case"a":case"aa":case"aaa":t=xn(Xe.DayPeriods,fn.Abbreviated);break;case"aaaa":t=xn(Xe.DayPeriods,fn.Wide);break;case"aaaaa":t=xn(Xe.DayPeriods,fn.Narrow);break;case"b":case"bb":case"bbb":t=xn(Xe.DayPeriods,fn.Abbreviated,Js.Standalone,!0);break;case"bbbb":t=xn(Xe.DayPeriods,fn.Wide,Js.Standalone,!0);break;case"bbbbb":t=xn(Xe.DayPeriods,fn.Narrow,Js.Standalone,!0);break;case"B":case"BB":case"BBB":t=xn(Xe.DayPeriods,fn.Abbreviated,Js.Format,!0);break;case"BBBB":t=xn(Xe.DayPeriods,fn.Wide,Js.Format,!0);break;case"BBBBB":t=xn(Xe.DayPeriods,fn.Narrow,Js.Format,!0);break;case"h":t=os(Je.Hours,1,-12);break;case"hh":t=os(Je.Hours,2,-12);break;case"H":t=os(Je.Hours,1);break;case"HH":t=os(Je.Hours,2);break;case"m":t=os(Je.Minutes,1);break;case"mm":t=os(Je.Minutes,2);break;case"s":t=os(Je.Seconds,1);break;case"ss":t=os(Je.Seconds,2);break;case"S":t=os(Je.FractionalSeconds,1);break;case"SS":t=os(Je.FractionalSeconds,2);break;case"SSS":t=os(Je.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=KD(Ko.Short);break;case"ZZZZZ":t=KD(Ko.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=KD(Ko.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=KD(Ko.Long);break;default:return null}return sT[n]=t,t}(u);c+=h?h(i,e,l):"''"===u?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function qD(n,t,e){const s=new Date(0);return s.setFullYear(n,t,e),s.setHours(0,0,0),s}function Ja(n,t){const e=function btt(n){return fi(n)[gn.LocaleId]}(n);if(by[e]=by[e]||{},by[e][t])return by[e][t];let s="";switch(t){case"shortDate":s=$D(n,Oi.Short);break;case"mediumDate":s=$D(n,Oi.Medium);break;case"longDate":s=$D(n,Oi.Long);break;case"fullDate":s=$D(n,Oi.Full);break;case"shortTime":s=zD(n,Oi.Short);break;case"mediumTime":s=zD(n,Oi.Medium);break;case"longTime":s=zD(n,Oi.Long);break;case"fullTime":s=zD(n,Oi.Full);break;case"short":const i=Ja(n,"shortTime"),r=Ja(n,"shortDate");s=GD(WD(n,Oi.Short),[i,r]);break;case"medium":const o=Ja(n,"mediumTime"),a=Ja(n,"mediumDate");s=GD(WD(n,Oi.Medium),[o,a]);break;case"long":const l=Ja(n,"longTime"),c=Ja(n,"longDate");s=GD(WD(n,Oi.Long),[l,c]);break;case"full":const u=Ja(n,"fullTime"),h=Ja(n,"fullDate");s=GD(WD(n,Oi.Full),[u,h])}return s&&(by[e][t]=s),s}function GD(n,t){return t&&(n=n.replace(/\{([^}]+)}/g,function(e,s){return null!=t&&s in t?t[s]:e})),n}function ho(n,t,e="-",s,i){let r="";(n<0||i&&n<=0)&&(i?n=1-n:(n=-n,r=e));let o=String(n);for(;o.length0||a>-e)&&(a+=e),n===Je.Hours)0===a&&-12===e&&(a=12);else if(n===Je.FractionalSeconds)return function Rtt(n,t){return ho(n,3).substring(0,t)}(a,t);const l=Mr(o,Wn.MinusSign);return ho(a,t,l,s,i)}}function xn(n,t,e=Js.Format,s=!1){return function(i,r){return function Ftt(n,t,e,s,i,r){switch(e){case Xe.Months:return function Mtt(n,t,e){const s=fi(n),r=Sr([s[gn.MonthsFormat],s[gn.MonthsStandalone]],t);return Sr(r,e)}(t,i,s)[n.getMonth()];case Xe.Days:return function Dtt(n,t,e){const s=fi(n),r=Sr([s[gn.DaysFormat],s[gn.DaysStandalone]],t);return Sr(r,e)}(t,i,s)[n.getDay()];case Xe.DayPeriods:const o=n.getHours(),a=n.getMinutes();if(r){const c=function Ett(n){const t=fi(n);return wH(t),(t[gn.ExtraData][2]||[]).map(s=>"string"==typeof s?eT(s):[eT(s[0]),eT(s[1])])}(t),u=function ktt(n,t,e){const s=fi(n);wH(s);const r=Sr([s[gn.ExtraData][0],s[gn.ExtraData][1]],t)||[];return Sr(r,e)||[]}(t,i,s),h=c.findIndex(m=>{if(Array.isArray(m)){const[v,D]=m,C=o>=v.hours&&a>=v.minutes,k=o0?Math.floor(i/60):Math.ceil(i/60);switch(n){case Ko.Short:return(i>=0?"+":"")+ho(o,2,r)+ho(Math.abs(i%60),2,r);case Ko.ShortGMT:return"GMT"+(i>=0?"+":"")+ho(o,1,r);case Ko.Long:return"GMT"+(i>=0?"+":"")+ho(o,2,r)+":"+ho(Math.abs(i%60),2,r);case Ko.Extended:return 0===s?"Z":(i>=0?"+":"")+ho(o,2,r)+":"+ho(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${n}"`)}}}!function(n){n[n.Short=0]="Short",n[n.ShortGMT=1]="ShortGMT",n[n.Long=2]="Long",n[n.Extended=3]="Extended"}(Ko||(Ko={})),function(n){n[n.FullYear=0]="FullYear",n[n.Month=1]="Month",n[n.Date=2]="Date",n[n.Hours=3]="Hours",n[n.Minutes=4]="Minutes",n[n.Seconds=5]="Seconds",n[n.FractionalSeconds=6]="FractionalSeconds",n[n.Day=7]="Day"}(Je||(Je={})),function(n){n[n.DayPeriods=0]="DayPeriods",n[n.Days=1]="Days",n[n.Months=2]="Months",n[n.Eras=3]="Eras"}(Xe||(Xe={}));function DH(n){return qD(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))}function nT(n,t=!1){return function(e,s){let i;if(t){const r=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();i=1+Math.floor((o+r)/7)}else{const r=DH(e),o=function Htt(n){const t=qD(n,0,1).getDay();return qD(n,0,1+(t<=4?4:11)-t)}(r.getFullYear()),a=r.getTime()-o.getTime();i=1+Math.round(a/6048e5)}return ho(i,n,Mr(s,Wn.MinusSign))}}function JD(n,t=!1){return function(e,s){return ho(DH(e).getFullYear(),n,Mr(s,Wn.MinusSign),t)}}const sT={};function MH(n,t){n=n.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?t:e}function SH(n){return n instanceof Date&&!isNaN(n.valueOf())}const ztt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function rT(n,t,e,s,i,r,o=!1){let a="",l=!1;if(isFinite(n)){let c=function Ztt(n){let s,i,r,o,a,t=Math.abs(n)+"",e=0;for((i=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(i<0&&(i=r),i+=+t.slice(r+1),t=t.substring(0,r)):i<0&&(i=t.length),r=0;"0"===t.charAt(r);r++);if(r===(a=t.length))s=[0],i=1;else{for(a--;"0"===t.charAt(a);)a--;for(i-=r,s=[],o=0;r<=a;r++,o++)s[o]=Number(t.charAt(r))}return i>22&&(s=s.splice(0,21),e=i-1,i=1),{digits:s,exponent:e,integerLen:i}}(n);o&&(c=function Xtt(n){if(0===n.digits[0])return n;const t=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(0===t?n.digits.push(0,0):1===t&&n.digits.push(0),n.integerLen+=2),n}(c));let u=t.minInt,h=t.minFrac,m=t.maxFrac;if(r){const F=r.match(ztt);if(null===F)throw new Error(`${r} is not a valid digit info`);const N=F[1],V=F[3],q=F[5];null!=N&&(u=aT(N)),null!=V&&(h=aT(V)),null!=q?m=aT(q):null!=V&&h>m&&(m=h)}!function tet(n,t,e){if(t>e)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${e}).`);let s=n.digits,i=s.length-n.integerLen;const r=Math.min(Math.max(t,i),e);let o=r+n.integerLen,a=s[o];if(o>0){s.splice(Math.max(n.integerLen,o));for(let h=o;h=5)if(o-1<0){for(let h=0;h>o;h--)s.unshift(0),n.integerLen++;s.unshift(1),n.integerLen++}else s[o-1]++;for(;i=c?D.pop():l=!1),m>=10?1:0},0);u&&(s.unshift(u),n.integerLen++)}(c,h,m);let v=c.digits,D=c.integerLen;const C=c.exponent;let k=[];for(l=v.every(F=>!F);D0?k=v.splice(D,v.length):(k=v,v=[0]);const P=[];for(v.length>=t.lgSize&&P.unshift(v.splice(-t.lgSize,v.length).join(""));v.length>t.gSize;)P.unshift(v.splice(-t.gSize,v.length).join(""));v.length&&P.unshift(v.join("")),a=P.join(Mr(e,s)),k.length&&(a+=Mr(e,i)+k.join("")),C&&(a+=Mr(e,Wn.Exponential)+"+"+C)}else a=Mr(e,Wn.Infinity);return a=n<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function Ktt(n,t,e,s,i){const o=oT(tT(t,vy.Currency),Mr(t,Wn.MinusSign));return o.minFrac=function Att(n){let t;const e=vH[n];return e&&(t=e[2]),"number"==typeof t?t:2}(s),o.maxFrac=o.minFrac,rT(n,o,t,Wn.CurrencyGroup,Wn.CurrencyDecimal,i).replace("\xa4",e).replace("\xa4","").trim()}function oT(n,t="-"){const e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},s=n.split(";"),i=s[0],r=s[1],o=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],a=o[0],l=o[1]||"";e.posPre=a.substring(0,a.indexOf("#"));for(let u=0;u-1||(i=e.getPluralCategory(n,s),t.indexOf(i)>-1))return i;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${n}"`)}md.\u0275fac=function(t){return new(t||md)},md.\u0275prov=vt({token:md,factory:function(t){let e=null;return t?e=new t:(s=rt(Ia),e=new af(s)),e;var s},providedIn:"root"});class af extends md{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(xtt(e||this.locale)(t)){case fd.Zero:return"zero";case fd.One:return"one";case fd.Two:return"two";case fd.Few:return"few";case fd.Many:return"many";default:return"other"}}}function kH(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const s=e.indexOf("="),[i,r]=-1==s?[e,""]:[e.slice(0,s),e.slice(s+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}af.\u0275fac=function(t){return new(t||af)(rt(Ia))},af.\u0275prov=vt({token:af,factory:af.\u0275fac});class gd{constructor(t,e,s,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=s,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(v_(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),t.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),t.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Jt(e.item)}`);this._toggleClass(e.item,!0)}),t.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(e=>this._toggleClass(e,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(e=>this._toggleClass(e,!1)):Object.keys(t).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(s=>{e?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}}gd.\u0275fac=function(t){return new(t||gd)(Q(fr),Q(mr),Q(Fe),Q(Ks))},gd.\u0275dir=Nt({type:gd,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}});class _d{constructor(t){this._viewContainerRef=t,this.ngComponentOutlet=null}ngOnChanges(t){const{_viewContainerRef:e,ngComponentOutletNgModule:s,ngComponentOutletNgModuleFactory:i}=this;if(e.clear(),this._componentRef=void 0,this.ngComponentOutlet){const r=this.ngComponentOutletInjector||e.parentInjector;(t.ngComponentOutletNgModule||t.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=s?function y9(n,t){return new LO(n,t??null)}(s,TH(r)):i?i.create(TH(r)):void 0),this._componentRef=e.createComponent(this.ngComponentOutlet,{index:e.length,injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}function TH(n){return n.get(gc).injector}_d.\u0275fac=function(t){return new(t||_d)(Q(Ns))},_d.\u0275dir=Nt({type:_d,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[bs]});class eet{constructor(t,e,s,i){this.$implicit=t,this.ngForOf=e,this.index=s,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class yd{constructor(t,e,s){this._viewContainer=t,this._template=e,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=this._viewContainer;t.forEachOperation((s,i,r)=>{if(null==s.previousIndex)e.createEmbeddedView(this._template,new eet(s.item,this._ngForOf,-1,-1),null===r?void 0:r);else if(null==r)e.remove(null===i?void 0:i);else if(null!==i){const o=e.get(i);e.move(o,r),AH(o,s)}});for(let s=0,i=e.length;s{AH(e.get(s.currentIndex),s)})}static ngTemplateContextGuard(t,e){return!0}}function AH(n,t){n.context.$implicit=t.item}yd.\u0275fac=function(t){return new(t||yd)(Q(Ns),Q(Rs),Q(fr))},yd.\u0275dir=Nt({type:yd,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}});class vd{constructor(t,e){this._viewContainer=t,this._context=new set,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){IH("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){IH("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){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)))}static ngTemplateContextGuard(t,e){return!0}}vd.\u0275fac=function(t){return new(t||vd)(Q(Ns),Q(Rs))},vd.\u0275dir=Nt({type:vd,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}});class set{constructor(){this.$implicit=null,this.ngIf=null}}function IH(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Jt(t)}'.`)}class lT{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}class Xa{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;ethis._setStyle(e.key,null)),t.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),t.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}Md.\u0275fac=function(t){return new(t||Md)(Q(Fe),Q(mr),Q(Ks))},Md.\u0275dir=Nt({type:Md,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}});class Sd{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(t.ngTemplateOutlet||t.ngTemplateOutletInjector){const e=this._viewContainerRef;if(this._viewRef&&e.remove(e.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:s,ngTemplateOutletContext:i,ngTemplateOutletInjector:r}=this;this._viewRef=e.createEmbeddedView(s,i,r?{injector:r}:void 0)}else this._viewRef=null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}Sd.\u0275fac=function(t){return new(t||Sd)(Q(Ns))},Sd.\u0275dir=Nt({type:Sd,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[bs]});function po(n,t){return new at(2100,!1)}const oet=new class ret{createSubscription(t,e){return t.then(e,s=>{throw s})}dispose(t){}},aet=new class iet{createSubscription(t,e){return t.subscribe({next:e,error:s=>{throw s}})}dispose(t){t.unsubscribe()}};class Za{constructor(t){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(t){if(w_(t))return oet;if(s2(t))return aet;throw po()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}Za.\u0275fac=function(t){return new(t||Za)(Q(Uo,16))},Za.\u0275pipe=Vs({name:"async",type:Za,pure:!1});class tl{transform(t){if(null==t)return null;if("string"!=typeof t)throw po();return t.toLowerCase()}}tl.\u0275fac=function(t){return new(t||tl)},tl.\u0275pipe=Vs({name:"lowercase",type:tl,pure:!0});const cet=/(?:[0-9A-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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\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\u09FC\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\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\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-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;class el{transform(t){if(null==t)return null;if("string"!=typeof t)throw po();return t.replace(cet,e=>e[0].toUpperCase()+e.slice(1).toLowerCase())}}el.\u0275fac=function(t){return new(t||el)},el.\u0275pipe=Vs({name:"titlecase",type:el,pure:!0});class nl{transform(t){if(null==t)return null;if("string"!=typeof t)throw po();return t.toUpperCase()}}nl.\u0275fac=function(t){return new(t||nl)},nl.\u0275pipe=Vs({name:"uppercase",type:nl,pure:!0});const uet=new At("DATE_PIPE_DEFAULT_TIMEZONE");class sl{constructor(t,e){this.locale=t,this.defaultTimezone=e}transform(t,e="mediumDate",s,i){if(null==t||""===t||t!=t)return null;try{var r;return Ott(t,e,i||this.locale,null!==(r=s??this.defaultTimezone)&&void 0!==r?r:void 0)}catch(o){throw po(0,o.message)}}}sl.\u0275fac=function(t){return new(t||sl)(Q(Ia,16),Q(uet,24))},sl.\u0275pipe=Vs({name:"date",type:sl,pure:!0});const det=/#/g;class il{constructor(t){this._localization=t}transform(t,e,s){if(null==t)return"";if("object"!=typeof e||null===e)throw po();return e[EH(t,Object.keys(e),this._localization,s)].replace(det,t.toString())}}il.\u0275fac=function(t){return new(t||il)(Q(md,16))},il.\u0275pipe=Vs({name:"i18nPlural",type:il,pure:!0});class rl{transform(t,e){if(null==t)return"";if("object"!=typeof e||"string"!=typeof t)throw po();return e.hasOwnProperty(t)?e[t]:e.hasOwnProperty("other")?e.other:""}}rl.\u0275fac=function(t){return new(t||rl)},rl.\u0275pipe=Vs({name:"i18nSelect",type:rl,pure:!0});class Cd{transform(t){return JSON.stringify(t,null,2)}}Cd.\u0275fac=function(t){return new(t||Cd)},Cd.\u0275pipe=Vs({name:"json",type:Cd,pure:!1});class xd{constructor(t){this.differs=t,this.keyValues=[],this.compareFn=PH}transform(t,e=PH){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const s=this.differ.diff(t),i=e!==this.compareFn;return s&&(this.keyValues=[],s.forEachItem(r=>{this.keyValues.push(function het(n,t){return{key:n,value:t}}(r.key,r.currentValue))})),(s||i)&&(this.keyValues.sort(e),this.compareFn=e),this.keyValues}}function PH(n,t){const e=n.key,s=t.key;if(e===s)return 0;if(void 0===e)return 1;if(void 0===s)return-1;if(null===e)return 1;if(null===s)return-1;if("string"==typeof e&&"string"==typeof s)return enew _et(rt(Se),window)});class _et{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function yet(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const s=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let i=s.currentNode;for(;i;){const r=i.shadowRoot;if(r){const o=r.getElementById(t)||r.querySelector(`[name="${t}"]`);if(o)return o}i=s.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),s=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(s-r[0],i-r[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=OH(this.window.history)||OH(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function OH(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class RH{}class pT extends class vet extends class ptt{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function htt(n){UD||(UD=n)}(new pT)}onAndCancel(t,e,s){return t.addEventListener(e,s,!1),()=>{t.removeEventListener(e,s,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function bet(){return Dy=Dy||document.querySelector("base"),Dy?Dy.getAttribute("href"):null}();return null==e?null:function wet(n){ZD=ZD||document.createElement("a"),ZD.setAttribute("href",n);const t=ZD.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Dy=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return kH(document.cookie,t)}}let ZD,Dy=null;const NH=new At("TRANSITION_ID");const Met=[{provide:Rw,useFactory:function Det(n,t,e){return()=>{e.get(Aa).donePromise.then(()=>{const s=co(),i=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let r=0;rs.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,s){return this._findPluginFor(e).addEventListener(t,e,s)}addGlobalEventListener(t,e,s){return this._findPluginFor(e).addGlobalEventListener(t,e,s)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const s=this._plugins;for(let i=0;i{this._stylesSet.has(s)||(this._stylesSet.add(s),e.add(s))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}Ed.\u0275fac=function(t){return new(t||Ed)},Ed.\u0275prov=vt({token:Ed,factory:Ed.\u0275fac});class Qo extends Ed{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,s){t.forEach(i=>{const r=this._doc.createElement("style");r.textContent=i,s.push(e.appendChild(r))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(FH),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,s)=>{this._addStylesToHost(t,s,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(FH))}}function FH(n){co().remove(n)}Qo.\u0275fac=function(t){return new(t||Qo)(rt(Se))},Qo.\u0275prov=vt({token:Qo,factory:Qo.\u0275fac});const mT={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/",math:"http://www.w3.org/1998/MathML/"},gT=/%COMP%/g,xet="_nghost-%COMP%",Eet="_ngcontent-%COMP%";function t0(n,t,e){for(let s=0;s{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}class dl{constructor(t,e,s){this.eventManager=t,this.sharedStylesHost=e,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new _T(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Ls.Emulated:{let s=this.rendererByCompId.get(e.id);return s||(s=new Aet(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,s)),s.applyToHost(t),s}case 1:case Ls.ShadowDom:return new Iet(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const s=t0(e.id,e.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}dl.\u0275fac=function(t){return new(t||dl)(rt(ul),rt(Qo),rt(Ap))},dl.\u0275prov=vt({token:dl,factory:dl.\u0275fac});class _T{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(mT[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(BH(t)?t.content:t).appendChild(e)}insertBefore(t,e,s){t&&(BH(t)?t.content:t).insertBefore(e,s)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let s="string"==typeof t?document.querySelector(t):t;if(!s)throw new Error(`The selector "${t}" did not match any elements`);return e||(s.textContent=""),s}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,s,i){if(i){e=i+":"+e;const r=mT[i];r?t.setAttributeNS(r,e,s):t.setAttribute(e,s)}else t.setAttribute(e,s)}removeAttribute(t,e,s){if(s){const i=mT[s];i?t.removeAttributeNS(i,e):t.removeAttribute(`${s}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,s,i){i&(ka.DashCase|ka.Important)?t.style.setProperty(e,s,i&ka.Important?"important":""):t.style[e]=s}removeStyle(t,e,s){s&ka.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,s){t[e]=s}setValue(t,e){t.nodeValue=e}listen(t,e,s){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,jH(s)):this.eventManager.addEventListener(t,e,jH(s))}}"@".charCodeAt(0);function BH(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class Aet extends _T{constructor(t,e,s,i){super(t),this.component=s;const r=t0(i+"-"+s.id,s.styles,[]);e.addStyles(r),this.contentAttr=function ket(n){return Eet.replace(gT,n)}(i+"-"+s.id),this.hostAttr=function Tet(n){return xet.replace(gT,n)}(i+"-"+s.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const s=super.createElement(t,e);return super.setAttribute(s,this.contentAttr,""),s}}class Iet extends _T{constructor(t,e,s,i){super(t),this.sharedStylesHost=e,this.hostEl=s,this.shadowRoot=s.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=t0(i.id,i.styles,[]);for(let o=0;othis.removeEventListener(t,e,s)}removeEventListener(t,e,s){return t.removeEventListener(e,s)}}cf.\u0275fac=function(t){return new(t||cf)(rt(Se))},cf.\u0275prov=vt({token:cf,factory:cf.\u0275fac});const UH=["alt","control","meta","shift"],Oet={"\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"},$H={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"},Ret={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};class Cr extends fT{constructor(t){super(t)}supports(t){return null!=Cr.parseEventName(t)}addEventListener(t,e,s){const i=Cr.parseEventName(e),r=Cr.eventCallback(i.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>co().onAndCancel(t,i.domEventName,r))}static parseEventName(t){const e=t.toLowerCase().split("."),s=e.shift();if(0===e.length||"keydown"!==s&&"keyup"!==s)return null;const i=Cr._normalizeKey(e.pop());let r="";if(UH.forEach(a=>{const l=e.indexOf(a);l>-1&&(e.splice(l,1),r+=a+".")}),r+=i,0!=e.length||0===i.length)return null;const o={};return o.domEventName=s,o.fullKey=r,o}static getEventFullKey(t){let e="",s=function Net(n){let t=n.key;if(null==t){if(t=n.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===n.location&&$H.hasOwnProperty(t)&&(t=$H[t]))}return Oet[t]||t}(t);return s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),UH.forEach(i=>{i!=s&&Ret[i](t)&&(e+=i+".")}),e+=s,e}static eventCallback(t,e,s){return i=>{Cr.getEventFullKey(i)===t&&s.runGuarded(()=>e(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}}Cr.\u0275fac=function(t){return new(t||Cr)(rt(Se))},Cr.\u0275prov=vt({token:Cr,factory:Cr.\u0275fac});const vT=[{provide:I_,useValue:dT},{provide:_R,useValue:function Fet(){pT.makeCurrent()},multi:!0},{provide:Se,useFactory:function Het(){return function XU(n){pC=n}(document),document},deps:[]}],zH=(Yw($R,"browser",vT),new At("")),WH=[{provide:Fw,useClass:class Cet{addToWindow(t){xe.getAngularTestability=(s,i=!0)=>{const r=t.findTestabilityInTree(s,i);if(null==r)throw new Error("Could not find testability for element.");return r},xe.getAllAngularTestabilities=()=>t.getAllTestabilities(),xe.getAllAngularRootElements=()=>t.getAllRootElements();xe.frameworkStabilizers||(xe.frameworkStabilizers=[]),xe.frameworkStabilizers.push(s=>{const i=xe.getAllAngularTestabilities();let r=i.length,o=!1;const a=function(l){o=o||l,r--,0==r&&s(o)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,s){if(null==e)return null;return t.getTestability(e)??(s?co().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:SR,useClass:yc,deps:[ke,vc,Fw]},{provide:yc,useClass:yc,deps:[ke,vc,Fw]}],qH=[{provide:UC,useValue:"root"},{provide:sp,useFactory:function Yet(){return new sp},deps:[]},{provide:My,useClass:cf,multi:!0,deps:[Se,ke,I_]},{provide:My,useClass:Cr,multi:!0,deps:[Se]},{provide:dl,useClass:dl,deps:[ul,Qo,Ap]},{provide:E_,useExisting:dl},{provide:Ed,useExisting:Qo},{provide:Qo,useClass:Qo,deps:[Se]},{provide:ul,useClass:ul,deps:[My,ke]},{provide:RH,useClass:lf,deps:[]},[]];class xr{constructor(t){false}static withServerTransition(t){return{ngModule:xr,providers:[{provide:Ap,useValue:t.appId},{provide:NH,useExisting:Ap},Met]}}}xr.\u0275fac=function(t){return new(t||xr)(rt(zH,12))},xr.\u0275mod=Dn({type:xr,exports:[Xs,Qu]}),xr.\u0275inj=hn({providers:[...qH,...WH],imports:[Xs,Qu]});class Sy{constructor(t){this._doc=t,this._dom=co()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce((s,i)=>(i&&s.push(this._getOrCreateElement(i,e)),s),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const s=this.getTag(e);return s?this._setMetaElementAttributes(t,s):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const r=this._parseSelector(t),o=this.getTags(r).filter(a=>this._containsAttributes(t,a))[0];if(void 0!==o)return o}const s=this._dom.createElement("meta");return this._setMetaElementAttributes(t,s),this._doc.getElementsByTagName("head")[0].appendChild(s),s}_setMetaElementAttributes(t,e){return Object.keys(t).forEach(s=>e.setAttribute(this._getMetaKeyMap(s),t[s])),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every(s=>e.getAttribute(this._getMetaKeyMap(s))===t[s])}_getMetaKeyMap(t){return Vet[t]||t}}Sy.\u0275fac=function(t){return new(t||Sy)(rt(Se))},Sy.\u0275prov=vt({token:Sy,factory:function(t){let e=null;return e=t?new t:function jet(){return new Sy(rt(Se))}(),e},providedIn:"root"});const Vet={httpEquiv:"http-equiv"};class uf{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}uf.\u0275fac=function(t){return new(t||uf)(rt(Se))},uf.\u0275prov=vt({token:uf,factory:function(t){let e=null;return e=t?new t:function Bet(){return new uf(rt(Se))}(),e},providedIn:"root"});typeof window<"u"&&window;class hl{constructor(){this.store={},this.onSerializeCallbacks={}}static init(t){const e=new hl;return e.store=t,e}get(t,e){return void 0!==this.store[t]?this.store[t]:e}set(t,e){this.store[t]=e}remove(t){delete this.store[t]}hasKey(t){return this.store.hasOwnProperty(t)}onSerialize(t,e){this.onSerializeCallbacks[t]=e}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}hl.\u0275fac=function(t){return new(t||hl)},hl.\u0275prov=vt({token:hl,factory:hl.\u0275fac});class Cy{}Cy.\u0275fac=function(t){return new(t||Cy)},Cy.\u0275mod=Dn({type:Cy}),Cy.\u0275inj=hn({providers:[{provide:hl,useFactory:function Get(n,t){const e=n.getElementById(t+"-state");let s={};if(e&&e.textContent)try{s=JSON.parse(function qet(n){const t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return n.replace(/&[^;]+;/g,e=>t[e])}(e.textContent))}catch(i){console.warn("Exception while restoring TransferState for app "+t,i)}return hl.init(s)},deps:[Se,Ap]}]});const Qet={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},wT=new At("HammerGestureConfig"),QH=new At("HammerLoader");class df{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const s in this.overrides)e.get(s).set(this.overrides[s]);return e}}df.\u0275fac=function(t){return new(t||df)},df.\u0275prov=vt({token:df,factory:df.\u0275fac});class hf extends fT{constructor(t,e,s,i){super(t),this._config=e,this.console=s,this.loader=i,this._loaderPromise=null}supports(t){return!(!Qet.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader)}addEventListener(t,e,s){const i=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||i.runOutsideAngular(()=>this.loader());let r=!1,o=()=>{r=!0};return i.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?r||(o=this.addEventListener(t,e,s)):o=()=>{}}).catch(()=>{o=()=>{}})),()=>{o()}}return i.runOutsideAngular(()=>{const r=this._config.buildHammer(t),o=function(a){i.runGuarded(function(){s(a)})};return r.on(e,o),()=>{r.off(e,o),"function"==typeof r.destroy&&r.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}hf.\u0275fac=function(t){return new(t||hf)(rt(Se),rt(wT),rt(_c),rt(QH,8))},hf.\u0275prov=vt({token:hf,factory:hf.\u0275fac});class xy{}xy.\u0275fac=function(t){return new(t||xy)},xy.\u0275mod=Dn({type:xy}),xy.\u0275inj=hn({providers:[{provide:My,useClass:hf,multi:!0,deps:[Se,wT,_c,[new cr,QH]]},{provide:wT,useClass:df,deps:[]}]});class pf{}pf.\u0275fac=function(t){return new(t||pf)},pf.\u0275prov=vt({token:pf,factory:function(t){let e=null;return e=t?new(t||pf):rt(ff),e},providedIn:"root"});class ff extends pf{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case Bi.NONE:return e;case Bi.HTML:return No(e,"HTML")?Vi(e):fI(this._doc,String(e)).toString();case Bi.STYLE:return No(e,"Style")?Vi(e):e;case Bi.SCRIPT:if(No(e,"Script"))return Vi(e);throw new Error("unsafe value used in a script context");case Bi.URL:return No(e,"URL")?Vi(e):u_(String(e));case Bi.RESOURCE_URL:if(No(e,"ResourceURL"))return Vi(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return function a$(n){return new e$(n)}(t)}bypassSecurityTrustStyle(t){return function l$(n){return new n$(n)}(t)}bypassSecurityTrustScript(t){return function c$(n){return new s$(n)}(t)}bypassSecurityTrustUrl(t){return function u$(n){return new i$(n)}(t)}bypassSecurityTrustResourceUrl(t){return function d$(n){return new r$(n)}(t)}}ff.\u0275fac=function(t){return new(t||ff)(rt(Se))},ff.\u0275prov=vt({token:ff,factory:function(t){let e=null;return e=t?new t:function Jet(n){return new ff(n.get(Se))}(rt(Fn)),e},providedIn:"root"});new Cp("14.0.6"),new At("ErrorCollector");const Xet=[{provide:Xr,useFactory:()=>new Xr}];function e0(n){for(let t=n.length-1;t>=0;t--)if(void 0!==n[t])return n[t]}function ent(n){const t=[];return n.forEach(e=>e&&t.push(...e)),t}const nnt=Yw($R,"coreDynamic",[{provide:Nw,useValue:{},multi:!0},{provide:class Pq{},useClass:class Zet{constructor(t){const e={useJit:!0,defaultEncapsulation:Ls.Emulated,missingTranslation:sE.Warning};this._defaultOptions=[e,...t]}createCompiler(t=[]){const e=function tnt(n){return{useJit:e0(n.map(t=>t.useJit)),defaultEncapsulation:e0(n.map(t=>t.defaultEncapsulation)),providers:ent(n.map(t=>t.providers)),missingTranslation:e0(n.map(t=>t.missingTranslation)),preserveWhitespaces:e0(n.map(t=>t.preserveWhitespaces))}}(this._defaultOptions.concat(t));return Fn.create([Xet,{provide:XY,useFactory:()=>new XY({useJit:e.useJit,jitDevMode:(OR=!0,PR),defaultEncapsulation:e.defaultEncapsulation,missingTranslation:e.missingTranslation,preserveWhitespaces:e.preserveWhitespaces}),deps:[]},e.providers]).get(Xr)}},deps:[Nw]}]);class kd extends my{get(t){let e,s;const i=new Promise((o,a)=>{e=o,s=a}),r=new XMLHttpRequest;return r.open("GET",t,!0),r.responseType="text",r.onload=function(){const o=r.response||r.responseText;let a=1223===r.status?204:r.status;0===a&&(a=o?200:0),200<=a&&a<=300?e(o):s(`Failed to load ${t}`)},r.onerror=function(){s(`Failed to load ${t}`)},r.send(),i}}kd.\u0275fac=function(){let n;return function(e){return(n||(n=is(kd)))(e||kd)}}(),kd.\u0275prov=vt({token:kd,factory:kd.\u0275fac});const snt=[vT,{provide:Nw,useValue:{providers:[{provide:my,useClass:kd,deps:[]}]},multi:!0},{provide:I_,useValue:dT}];new Cp("14.0.6");const rnt=Yw(nnt,"browserDynamic",snt);function nt(n,t,e,s){var o,i=arguments.length,r=i<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,t,e,s);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(t,e,r):o(t,e))||r);return i>3&&r&&Object.defineProperty(t,e,r),r}Object.create;Object.create;function Ey(...n){if(1===n.length){const t=n[0];if(w(t))return s0(t,null);if(E(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return s0(e.map(s=>t[s]),e)}}if("function"==typeof n[n.length-1]){const t=n.pop();return s0(n=1===n.length&&w(n[0])?n[0]:n,null).pipe(jt(e=>t(...e)))}return s0(n,null)}function s0(n,t){return new it(e=>{const s=n.length;if(0===s)return void e.complete();const i=new Array(s);let r=0,o=0;for(let a=0;a{c||(c=!0,o++),i[a]=u},error:u=>e.error(u),complete:()=>{r++,(r===s||!c)&&(o===s&&e.next(t?t.reduce((u,h,m)=>(u[h]=i[m],u),{}):i),e.complete())}}))}})}class mf{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}mf.\u0275fac=function(t){return new(t||mf)(Q(Ks),Q(Fe))},mf.\u0275dir=Nt({type:mf});class Er extends mf{}Er.\u0275fac=function(){let n;return function(e){return(n||(n=is(Er)))(e||Er)}}(),Er.\u0275dir=Nt({type:Er,features:[sn]});const Zs=new At("NgValueAccessor"),lnt={provide:Zs,useExisting:Ve(()=>pl),multi:!0};class pl extends Er{writeValue(t){this.setProperty("checked",t)}}pl.\u0275fac=function(){let n;return function(e){return(n||(n=is(pl)))(e||pl)}}(),pl.\u0275dir=Nt({type:pl,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&$i("change",function(i){return e.onChange(i.target.checked)})("blur",function(){return e.onTouched()})},features:[We([lnt]),sn]});const cnt={provide:Zs,useExisting:Ve(()=>fl),multi:!0};const dnt=new At("CompositionEventMode");class fl extends mf{constructor(t,e,s){super(t,e),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function unt(){const n=co()?co().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(t){const e=t??"";this.setProperty("value",e)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}fl.\u0275fac=function(t){return new(t||fl)(Q(Ks),Q(Fe),Q(dnt,8))},fl.\u0275dir=Nt({type:fl,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(t,e){1&t&&$i("input",function(i){return e._handleInput(i.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(i){return e._compositionEnd(i.target.value)})},features:[We([cnt]),sn]});function Nc(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function tj(n){return null!=n&&"number"==typeof n.length}const ti=new At("NgValidators"),Fc=new At("NgAsyncValidators"),pnt=/^(?=.{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])?)*$/;class Pt{static min(t){return ej(t)}static max(t){return nj(t)}static required(t){return sj(t)}static requiredTrue(t){return ij(t)}static email(t){return rj(t)}static minLength(t){return oj(t)}static maxLength(t){return aj(t)}static pattern(t){return lj(t)}static nullValidator(t){return null}static compose(t){return fj(t)}static composeAsync(t){return mj(t)}}function ej(n){return t=>{if(Nc(t.value)||Nc(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(Nc(t.value)||Nc(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}function sj(n){return Nc(n.value)?{required:!0}:null}function ij(n){return!0===n.value?null:{required:!0}}function rj(n){return Nc(n.value)||pnt.test(n.value)?null:{email:!0}}function oj(n){return t=>Nc(t.value)||!tj(t.value)?null:t.value.lengthtj(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function lj(n){if(!n)return i0;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),s=>{if(Nc(s.value))return null;const i=s.value;return t.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}function i0(n){return null}function cj(n){return null!=n}function uj(n){const t=w_(n)?dn(n):n;return t}function dj(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function hj(n,t){return t.map(e=>e(n))}function pj(n){return n.map(t=>function fnt(n){return!n.validate}(t)?t:e=>t.validate(e))}function fj(n){if(!n)return null;const t=n.filter(cj);return 0==t.length?null:function(e){return dj(hj(e,t))}}function MT(n){return null!=n?fj(pj(n)):null}function mj(n){if(!n)return null;const t=n.filter(cj);return 0==t.length?null:function(e){return Ey(hj(e,t).map(uj)).pipe(jt(dj))}}function ST(n){return null!=n?mj(pj(n)):null}function gj(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function _j(n){return n._rawValidators}function yj(n){return n._rawAsyncValidators}function CT(n){return n?Array.isArray(n)?n:[n]:[]}function r0(n,t){return Array.isArray(n)?n.includes(t):n===t}function vj(n,t){const e=CT(t);return CT(n).forEach(i=>{r0(e,i)||e.push(i)}),e}function bj(n,t){return CT(t).filter(e=>!r0(n,e))}class wj{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=MT(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=ST(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class wi extends wj{get formDirective(){return null}get path(){return null}}class ml extends wj{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Dj{constructor(t){this._cd=t}get isTouched(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.touched)}get isUntouched(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.untouched)}get isPristine(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.pristine)}get isDirty(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.dirty)}get isValid(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.valid)}get isInvalid(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.invalid)}get isPending(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.pending)}get isSubmitted(){var t;return!(null===(t=this._cd)||void 0===t||!t.submitted)}}class Td extends Dj{constructor(t){super(t)}}Td.\u0275fac=function(t){return new(t||Td)(Q(ml,2))},Td.\u0275dir=Nt({type:Td,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&$u("ng-untouched",e.isUntouched)("ng-touched",e.isTouched)("ng-pristine",e.isPristine)("ng-dirty",e.isDirty)("ng-valid",e.isValid)("ng-invalid",e.isInvalid)("ng-pending",e.isPending)},features:[sn]});class Ld extends Dj{constructor(t){super(t)}}Ld.\u0275fac=function(t){return new(t||Ld)(Q(wi,10))},Ld.\u0275dir=Nt({type:Ld,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&$u("ng-untouched",e.isUntouched)("ng-touched",e.isTouched)("ng-pristine",e.isPristine)("ng-dirty",e.isDirty)("ng-valid",e.isValid)("ng-invalid",e.isInvalid)("ng-pending",e.isPending)("ng-submitted",e.isSubmitted)},features:[sn]});const ky="VALID",a0="INVALID",gf="PENDING",Ty="DISABLED";function TT(n){return(l0(n)?n.validators:n)||null}function Sj(n){return Array.isArray(n)?MT(n):n||null}function LT(n,t){return(l0(t)?t.asyncValidators:n)||null}function Cj(n){return Array.isArray(n)?ST(n):n||null}function l0(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function xj(n,t,e){const s=n.controls;if(!(t?Object.keys(s):s).length)throw new at(1e3,"");if(!s[e])throw new at(1001,"")}function Ej(n,t,e){n._forEachChild((s,i)=>{if(void 0===e[i])throw new at(1002,"")})}class c0{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=Sj(this._rawValidators),this._composedAsyncValidatorFn=Cj(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===ky}get invalid(){return this.status===a0}get pending(){return this.status==gf}get disabled(){return this.status===Ty}get enabled(){return this.status!==Ty}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=Sj(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=Cj(t)}addValidators(t){this.setValidators(vj(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(vj(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(bj(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(bj(t,this._rawAsyncValidators))}hasValidator(t){return r0(this._rawValidators,t)}hasAsyncValidator(t){return r0(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=gf,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Ty,this.errors=null,this._forEachChild(s=>{s.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(s=>s(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=ky,this._forEachChild(s=>{s.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(s=>s(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ky||this.status===gf)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ty:ky}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=gf,this._hasOwnPendingAsyncValidator=!0;const e=uj(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(s=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(s,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((s,i)=>s&&s._find(i),this)}getError(t,e){const s=e?this.get(e):this;return s&&s.errors?s.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Mt,this.statusChanges=new Mt}_calculateStatus(){return this._allControlsDisabled()?Ty:this.errors?a0:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(gf)?gf:this._anyControlsHaveStatus(a0)?a0:ky}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){l0(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){const e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}}class u0 extends c0{constructor(t,e,s){super(TT(e),LT(s,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,s={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,s={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){Ej(this,0,t),Object.keys(t).forEach(s=>{xj(this,!0,s),this.controls[s].setValue(t[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(s=>{const i=this.controls[s];i&&i.patchValue(t[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((s,i)=>{s.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,s)=>(t[s]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,s)=>!!s._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const s=this.controls[e];s&&t(s,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,s]of Object.entries(this.controls))if(this.contains(e)&&t(s))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,s,i)=>((s.enabled||this.disabled)&&(e[i]=s.value),e))}_reduceChildren(t,e){let s=t;return this._forEachChild((i,r)=>{s=e(s,i,r)}),s}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}function d0(n,t){return[...t.path,n]}function Ly(n,t){var e,s;(AT(n,t),t.valueAccessor.writeValue(n.value),n.disabled)&&(null===(e=(s=t.valueAccessor).setDisabledState)||void 0===e||e.call(s,!0));(function Mnt(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&kj(n,t)})})(n,t),function Cnt(n,t){const e=(s,i)=>{t.valueAccessor.writeValue(s),i&&t.viewToModelUpdate(s)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function Snt(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&kj(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function Dnt(n,t){if(t.valueAccessor.setDisabledState){const e=s=>{t.valueAccessor.setDisabledState(s)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function h0(n,t,e=!0){const s=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(s),t.valueAccessor.registerOnTouched(s)),f0(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function p0(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function AT(n,t){const e=_j(n);null!==t.validator?n.setValidators(gj(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const s=yj(n);null!==t.asyncValidator?n.setAsyncValidators(gj(s,t.asyncValidator)):"function"==typeof s&&n.setAsyncValidators([s]);const i=()=>n.updateValueAndValidity();p0(t._rawValidators,i),p0(t._rawAsyncValidators,i)}function f0(n,t){let e=!1;if(null!==n){if(null!==t.validator){const i=_j(n);if(Array.isArray(i)&&i.length>0){const r=i.filter(o=>o!==t.validator);r.length!==i.length&&(e=!0,n.setValidators(r))}}if(null!==t.asyncValidator){const i=yj(n);if(Array.isArray(i)&&i.length>0){const r=i.filter(o=>o!==t.asyncValidator);r.length!==i.length&&(e=!0,n.setAsyncValidators(r))}}}const s=()=>{};return p0(t._rawValidators,s),p0(t._rawAsyncValidators,s),e}function kj(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Tj(n,t){AT(n,t)}function IT(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function Aj(n,t){n._syncPendingControls(),t.forEach(e=>{const s=e.control;"submit"===s.updateOn&&s._pendingChange&&(e.viewToModelUpdate(s._pendingValue),s._pendingChange=!1)})}function PT(n,t){if(!t)return null;let e,s,i;return Array.isArray(t),t.forEach(r=>{r.constructor===fl?e=r:function knt(n){return Object.getPrototypeOf(n.constructor)===Er}(r)?s=r:i=r}),i||s||e||null}const Lnt={provide:wi,useExisting:Ve(()=>gl)},Ay=Promise.resolve(null);class gl extends wi{constructor(t,e){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new Mt,this.form=new u0({},MT(t),ST(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Ay.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Ly(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Ay.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Ay.then(()=>{const e=this._findContainer(t.path),s=new u0({});Tj(s,t),e.registerControl(t.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Ay.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){Ay.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Aj(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}function Ij(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function Pj(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}gl.\u0275fac=function(t){return new(t||gl)(Q(ti,10),Q(Fc,10))},gl.\u0275dir=Nt({type:gl,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&$i("submit",function(i){return e.onSubmit(i)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[We([Lnt]),sn]});const _f=class extends c0{constructor(t=null,e,s){super(TT(e),LT(s,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),l0(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Pj(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(s=>s(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Ij(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ij(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)}_applyFormState(t){Pj(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},Yc=_f;class Ad extends wi{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return d0(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}Ad.\u0275fac=function(){let n;return function(e){return(n||(n=is(Ad)))(e||Ad)}}(),Ad.\u0275dir=Nt({type:Ad,features:[sn]});const Int={provide:wi,useExisting:Ve(()=>Jo)};class Jo extends Ad{constructor(t,e,s){super(),this._parent=t,this._setValidators(e),this._setAsyncValidators(s)}_checkParentType(){!(this._parent instanceof Jo)&&this._parent}}Jo.\u0275fac=function(t){return new(t||Jo)(Q(wi,5),Q(ti,10),Q(Fc,10))},Jo.\u0275dir=Nt({type:Jo,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[We([Int]),sn]});const Pnt={provide:ml,useExisting:Ve(()=>Hc)},Oj=Promise.resolve(null);class Hc extends ml{constructor(t,e,s,i,r){super(),this._changeDetectorRef=r,this.control=new _f,this._registered=!1,this.update=new Mt,this._parent=t,this._setValidators(e),this._setAsyncValidators(s),this.valueAccessor=PT(0,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),IT(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ly(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Oj.then(()=>{var e;this.control.setValue(t,{emitViewToModelChange:!1}),null===(e=this._changeDetectorRef)||void 0===e||e.markForCheck()})}_updateDisabled(t){const e=t.isDisabled.currentValue,s=0!==e&&Oa(e);Oj.then(()=>{var i;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()})}_getPath(t){return this._parent?d0(t,this._parent):[t]}}Hc.\u0275fac=function(t){return new(t||Hc)(Q(wi,9),Q(ti,10),Q(Fc,10),Q(Zs,10),Q(Uo,8))},Hc.\u0275dir=Nt({type:Hc,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[We([Pnt]),sn,bs]});class Id{}Id.\u0275fac=function(t){return new(t||Id)},Id.\u0275dir=Nt({type:Id,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});const Ont={provide:Zs,useExisting:Ve(()=>_l),multi:!0};class _l extends Er{writeValue(t){const e=t??"";this.setProperty("value",e)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}_l.\u0275fac=function(){let n;return function(e){return(n||(n=is(_l)))(e||_l)}}(),_l.\u0275dir=Nt({type:_l,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&$i("input",function(i){return e.onChange(i.target.value)})("blur",function(){return e.onTouched()})},features:[We([Ont]),sn]});const Rnt={provide:Zs,useExisting:Ve(()=>Vc),multi:!0};class jc{}jc.\u0275fac=function(t){return new(t||jc)},jc.\u0275mod=Dn({type:jc}),jc.\u0275inj=hn({});class yf{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)}}yf.\u0275fac=function(t){return new(t||yf)},yf.\u0275prov=vt({token:yf,factory:yf.\u0275fac,providedIn:jc});class Vc extends Er{constructor(t,e,s,i){super(t,e),this._registry=s,this._injector=i,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(ml),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}}Vc.\u0275fac=function(t){return new(t||Vc)(Q(Ks),Q(Fe),Q(yf),Q(Fn))},Vc.\u0275dir=Nt({type:Vc,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&$i("change",function(){return e.onChange()})("blur",function(){return e.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[We([Rnt]),sn]});const Nnt={provide:Zs,useExisting:Ve(()=>yl),multi:!0};class yl extends Er{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}yl.\u0275fac=function(){let n;return function(e){return(n||(n=is(yl)))(e||yl)}}(),yl.\u0275dir=Nt({type:yl,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&$i("change",function(i){return e.onChange(i.target.value)})("input",function(i){return e.onChange(i.target.value)})("blur",function(){return e.onTouched()})},features:[We([Nnt]),sn]});const OT=new At("NgModelWithFormControlWarning"),Fnt={provide:ml,useExisting:Ve(()=>vl)};class vl extends ml{constructor(t,e,s,i){super(),this._ngModelWarningConfig=i,this.update=new Mt,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=PT(0,s)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&h0(e,this,!1),Ly(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}IT(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&h0(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}vl._ngModelWarningSentOnce=!1,vl.\u0275fac=function(t){return new(t||vl)(Q(ti,10),Q(Fc,10),Q(Zs,10),Q(OT,8))},vl.\u0275dir=Nt({type:vl,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[We([Fnt]),sn,bs]});const Ynt={provide:wi,useExisting:Ve(()=>bl)};class bl extends wi{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Mt,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(f0(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Ly(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){h0(t.control||null,t,!1),function Tnt(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,Aj(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,s=this.form.get(t.path);e!==s&&(h0(e||null,t),(n=>n instanceof _f)(s)&&(Ly(s,t),t.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);Tj(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function xnt(n,t){return f0(n,t)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){AT(this.form,this),this._oldForm&&f0(this._oldForm,this)}_checkFormPresent(){this.form}}bl.\u0275fac=function(t){return new(t||bl)(Q(ti,10),Q(Fc,10))},bl.\u0275dir=Nt({type:bl,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&$i("submit",function(i){return e.onSubmit(i)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[We([Ynt]),sn,bs]});const Hnt={provide:wi,useExisting:Ve(()=>wl)};class wl extends Ad{constructor(t,e,s){super(),this._parent=t,this._setValidators(e),this._setAsyncValidators(s)}_checkParentType(){Rj(this._parent)}}wl.\u0275fac=function(t){return new(t||wl)(Q(wi,13),Q(ti,10),Q(Fc,10))},wl.\u0275dir=Nt({type:wl,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[We([Hnt]),sn]});const jnt={provide:wi,useExisting:Ve(()=>Dl)};class Dl extends wi{constructor(t,e,s){super(),this._parent=t,this._setValidators(e),this._setAsyncValidators(s)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return d0(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Rj(this._parent)}}function Rj(n){return!(n instanceof wl||n instanceof bl||n instanceof Dl)}Dl.\u0275fac=function(t){return new(t||Dl)(Q(wi,13),Q(ti,10),Q(Fc,10))},Dl.\u0275dir=Nt({type:Dl,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[We([jnt]),sn]});const Vnt={provide:ml,useExisting:Ve(()=>Ml)};class Ml extends ml{constructor(t,e,s,i,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new Mt,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(s),this.valueAccessor=PT(0,i)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),IT(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return d0(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}Ml._ngModelWarningSentOnce=!1,Ml.\u0275fac=function(t){return new(t||Ml)(Q(wi,13),Q(ti,10),Q(Fc,10),Q(Zs,10),Q(OT,8))},Ml.\u0275dir=Nt({type:Ml,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[We([Vnt]),sn,bs]});const Bnt={provide:Zs,useExisting:Ve(()=>Xo),multi:!0};function Nj(n,t){return null==n?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${n}: ${t}`.slice(0,50))}class Xo extends Er{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const s=Nj(this._getOptionId(t),t);this.setProperty("value",s)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function Unt(n){return n.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}Xo.\u0275fac=function(){let n;return function(e){return(n||(n=is(Xo)))(e||Xo)}}(),Xo.\u0275dir=Nt({type:Xo,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&$i("change",function(i){return e.onChange(i.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[We([Bnt]),sn]});class Pd{constructor(t,e,s){this._element=t,this._renderer=e,this._select=s,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Nj(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}Pd.\u0275fac=function(t){return new(t||Pd)(Q(Fe),Q(Ks),Q(Xo,9))},Pd.\u0275dir=Nt({type:Pd,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});const $nt={provide:Zs,useExisting:Ve(()=>Zo),multi:!0};function Fj(n,t){return null==n?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${n}: ${t}`.slice(0,50))}class Zo extends Er{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const s=t.map(i=>this._getOptionId(i));e=(i,r)=>{i._setSelected(s.indexOf(r.toString())>-1)}}else e=(s,i)=>{s._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const s=[],i=e.selectedOptions;if(void 0!==i){const r=i;for(let o=0;oSl),multi:!0};class Sl extends fo{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=t=>Hj(t),this.createValidator=t=>nj(t)}}Sl.\u0275fac=function(){let n;return function(e){return(n||(n=is(Sl)))(e||Sl)}}(),Sl.\u0275dir=Nt({type:Sl,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&dr("max",e._enabled?e.max:null)},inputs:{max:"max"},features:[We([Wnt]),sn]});const qnt={provide:ti,useExisting:Ve(()=>Cl),multi:!0};class Cl extends fo{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>Hj(t),this.createValidator=t=>ej(t)}}Cl.\u0275fac=function(){let n;return function(e){return(n||(n=is(Cl)))(e||Cl)}}(),Cl.\u0275dir=Nt({type:Cl,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&dr("min",e._enabled?e.min:null)},inputs:{min:"min"},features:[We([qnt]),sn]});const Gnt={provide:ti,useExisting:Ve(()=>ta),multi:!0},Knt={provide:ti,useExisting:Ve(()=>xl),multi:!0};class ta extends fo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Oa,this.createValidator=t=>sj}enabled(t){return t}}ta.\u0275fac=function(){let n;return function(e){return(n||(n=is(ta)))(e||ta)}}(),ta.\u0275dir=Nt({type:ta,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&dr("required",e._enabled?"":null)},inputs:{required:"required"},features:[We([Gnt]),sn]});class xl extends ta{constructor(){super(...arguments),this.createValidator=t=>ij}}xl.\u0275fac=function(){let n;return function(e){return(n||(n=is(xl)))(e||xl)}}(),xl.\u0275dir=Nt({type:xl,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&dr("required",e._enabled?"":null)},features:[We([Knt]),sn]});const Qnt={provide:ti,useExisting:Ve(()=>El),multi:!0};class El extends fo{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=Oa,this.createValidator=t=>rj}enabled(t){return t}}El.\u0275fac=function(){let n;return function(e){return(n||(n=is(El)))(e||El)}}(),El.\u0275dir=Nt({type:El,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[We([Qnt]),sn]});const Jnt={provide:ti,useExisting:Ve(()=>kl),multi:!0};class kl extends fo{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>Yj(t),this.createValidator=t=>oj(t)}}kl.\u0275fac=function(){let n;return function(e){return(n||(n=is(kl)))(e||kl)}}(),kl.\u0275dir=Nt({type:kl,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&dr("minlength",e._enabled?e.minlength:null)},inputs:{minlength:"minlength"},features:[We([Jnt]),sn]});const Xnt={provide:ti,useExisting:Ve(()=>Tl),multi:!0};class Tl extends fo{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>Yj(t),this.createValidator=t=>aj(t)}}Tl.\u0275fac=function(){let n;return function(e){return(n||(n=is(Tl)))(e||Tl)}}(),Tl.\u0275dir=Nt({type:Tl,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&dr("maxlength",e._enabled?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[We([Xnt]),sn]});const Znt={provide:ti,useExisting:Ve(()=>Ll),multi:!0};class Ll extends fo{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>lj(t)}}Ll.\u0275fac=function(){let n;return function(e){return(n||(n=is(Ll)))(e||Ll)}}(),Ll.\u0275dir=Nt({type:Ll,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&dr("pattern",e._enabled?e.pattern:null)},inputs:{pattern:"pattern"},features:[We([Znt]),sn]});class Al{}Al.\u0275fac=function(t){return new(t||Al)},Al.\u0275mod=Dn({type:Al,declarations:[Id,Pd,Od,fl,_l,yl,pl,Xo,Zo,Vc,Td,Ld,ta,kl,Tl,Ll,xl,El,Cl,Sl],imports:[jc],exports:[Id,Pd,Od,fl,_l,yl,pl,Xo,Zo,Vc,Td,Ld,ta,kl,Tl,Ll,xl,El,Cl,Sl]}),Al.\u0275inj=hn({imports:[jc]});class Bc{}Bc.\u0275fac=function(t){return new(t||Bc)},Bc.\u0275mod=Dn({type:Bc,declarations:[Hc,Jo,gl],exports:[Al,Hc,Jo,gl]}),Bc.\u0275inj=hn({imports:[Al]});class kr{static withConfig(t){return{ngModule:kr,providers:[{provide:OT,useValue:t.warnOnNgModelWithFormControl}]}}}kr.\u0275fac=function(t){return new(t||kr)},kr.\u0275mod=Dn({type:kr,declarations:[vl,bl,Ml,wl,Dl],exports:[Al,vl,bl,Ml,wl,Dl]}),kr.\u0275inj=hn({imports:[Al]});class jj extends c0{constructor(t,e,s){super(TT(e),LT(s,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,s={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:s.emitEvent})}removeAt(t,e={}){let s=this._adjustIndex(t);s<0&&(s=0),this.controls[s]&&this.controls[s]._registerOnCollectionChange(()=>{}),this.controls.splice(s,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,s={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),e&&(this.controls.splice(i,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){Ej(this,0,t),t.forEach((s,i)=>{xj(this,!1,i),this.at(i).setValue(s,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((s,i)=>{this.at(i)&&this.at(i).patchValue(s,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((s,i)=>{s.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,s)=>!!s._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,s)=>{t(e,s)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){var e;return null!==(e=this.at(t))&&void 0!==e?e:null}}function Vj(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}class Il{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new Il;return t.useNonNullable=!0,t}group(t,e=null){const s=this._reduceControls(t);let o,i=null,r=null;return null!==e&&(Vj(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,o=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new u0(s,{asyncValidators:r,updateOn:o,validators:i})}control(t,e,s){let i={};return this.useNonNullable?(Vj(e)?i=e:(i.validators=e,i.asyncValidators=s),new _f(t,{...i,nonNullable:!0})):new _f(t,e,s)}array(t,e,s){const i=t.map(r=>this._createControl(r));return new jj(i,e,s)}_reduceControls(t){const e={};return Object.keys(t).forEach(s=>{e[s]=this._createControl(t[s])}),e}_createControl(t){if(t instanceof _f)return t;if(t instanceof c0)return t;if(Array.isArray(t)){const e=t[0],s=t.length>1?t[1]:null,i=t.length>2?t[2]:null;return this.control(e,s,i)}return this.control(t)}}Il.\u0275fac=function(t){return new(t||Il)},Il.\u0275prov=vt({token:Il,factory:Il.\u0275fac,providedIn:kr});class m0{}m0.\u0275fac=function(t){return new(t||m0)},m0.\u0275prov=vt({token:m0,factory:function(){return xa(Il).nonNullable},providedIn:kr});class Zn extends Il{group(t,e=null){return super.group(t,e)}control(t,e,s){return super.control(t,e,s)}array(t,e,s){return super.array(t,e,s)}}Zn.\u0275fac=function(){let n;return function(e){return(n||(n=is(Zn)))(e||Zn)}}(),Zn.\u0275prov=vt({token:Zn,factory:Zn.\u0275fac,providedIn:kr});new Cp("14.0.6");function Bt(...n){let t=n[n.length-1];return Qt(t)?(n.pop(),fe(n,t)):ls(n)}function vf(n,t){return $e(n,t,1)}function as(n,t){return function(s){return s.lift(new tst(n,t))}}class tst{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new est(t,this.predicate,this.thisArg))}}class est extends X{constructor(t,e,s){super(t),this.predicate=e,this.thisArg=s,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(s){return void this.destination.error(s)}e&&this.destination.next(t)}}class Bj{}class Uj{}class mo{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const s=e.indexOf(":");if(s>0){const i=e.slice(0,s),r=i.toLowerCase(),o=e.slice(s+1).trim();this.maybeSetNormalizedName(i,r),this.headers.has(r)?this.headers.get(r).push(o):this.headers.set(r,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let s=t[e];const i=e.toLowerCase();"string"==typeof s&&(s=[s]),s.length>0&&(this.headers.set(i,s),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof mo?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new mo;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof mo?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let s=t.value;if("string"==typeof s&&(s=[s]),0===s.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...s),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let o=this.headers.get(e);if(!o)return;o=o.filter(a=>-1===r.indexOf(a)),0===o.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class nst{encodeKey(t){return $j(t)}encodeValue(t){return $j(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const ist=/%(\d[a-f0-9])/gi,rst={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $j(n){return encodeURIComponent(n).replace(ist,(t,e)=>{var s;return null!==(s=rst[e])&&void 0!==s?s:t})}function g0(n){return`${n}`}class Uc{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new nst,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function sst(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{const r=i.indexOf("="),[o,a]=-1==r?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,r)),t.decodeValue(i.slice(r+1))],l=e.get(o)||[];l.push(a),e.set(o,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const s=t.fromObject[e],i=Array.isArray(s)?s.map(g0):[g0(s)];this.map.set(e,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(s=>{const i=t[s];Array.isArray(i)?i.forEach(r=>{e.push({param:s,value:r,op:"a"})}):e.push({param:s,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(s=>e+"="+this.encoder.encodeValue(s)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Uc({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(g0(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let s=this.map.get(t.param)||[];const i=s.indexOf(g0(t.value));-1!==i&&s.splice(i,1),s.length>0?this.map.set(t.param,s):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class ost{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function zj(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Wj(n){return typeof Blob<"u"&&n instanceof Blob}function qj(n){return typeof FormData<"u"&&n instanceof FormData}class Iy{constructor(t,e,s,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function ast(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==s?s:null,r=i):r=s,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new mo),this.context||(this.context=new ost),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const a=e.indexOf("?"),l=-1===a?"?":am.set(v,t.setHeaders[v]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((m,v)=>m.set(v,t.setParams[v]),u)),new Iy(s,i,o,{params:u,headers:c,context:h,reportProgress:l,responseType:r,withCredentials:a})}}var $c;!function(n){n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User"}($c||($c={}));class RT{constructor(t,e=200,s="OK"){this.headers=t.headers||new mo,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||s,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class NT extends RT{constructor(t={}){super(t),this.type=$c.ResponseHeader}clone(t={}){return new NT({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Py extends RT{constructor(t={}){super(t),this.type=$c.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Py({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class _0 extends RT{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function FT(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}class go{constructor(t){this.handler=t}request(t,e,s={}){let i;if(t instanceof Iy)i=t;else{let a,l;a=s.headers instanceof mo?s.headers:new mo(s.headers),s.params&&(l=s.params instanceof Uc?s.params:new Uc({fromObject:s.params})),i=new Iy(t,e,void 0!==s.body?s.body:null,{headers:a,context:s.context,params:l,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}const r=Bt(i).pipe(vf(a=>this.handler.handle(a)));if(t instanceof Iy||"events"===s.observe)return r;const o=r.pipe(as(a=>a instanceof Py));switch(s.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return o.pipe(jt(a=>{if(null!==a.body&&!(a.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return a.body}));case"blob":return o.pipe(jt(a=>{if(null!==a.body&&!(a.body instanceof Blob))throw new Error("Response is not a Blob.");return a.body}));case"text":return o.pipe(jt(a=>{if(null!==a.body&&"string"!=typeof a.body)throw new Error("Response is not a string.");return a.body}));default:return o.pipe(jt(a=>a.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new Uc).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,s={}){return this.request("PATCH",t,FT(s,e))}post(t,e,s={}){return this.request("POST",t,FT(s,e))}put(t,e,s={}){return this.request("PUT",t,FT(s,e))}}go.\u0275fac=function(t){return new(t||go)(rt(Bj))},go.\u0275prov=vt({token:go,factory:go.\u0275fac});class Gj{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const YT=new At("HTTP_INTERCEPTORS");class bf{intercept(t,e){return e.handle(t)}}bf.\u0275fac=function(t){return new(t||bf)},bf.\u0275prov=vt({token:bf,factory:bf.\u0275fac});let HT,cst=0;class Kj{}class Rd{constructor(t,e){this.callbackMap=t,this.document=e,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+cst++}handle(t){if("JSONP"!==t.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==t.responseType)throw new Error("JSONP requests must use Json response type.");if(t.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new it(e=>{const s=this.nextCallback(),i=t.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${s}$1`),r=this.document.createElement("script");r.src=i;let o=null,a=!1;this.callbackMap[s]=h=>{delete this.callbackMap[s],o=h,a=!0};const l=()=>{r.parentNode&&r.parentNode.removeChild(r),delete this.callbackMap[s]};return r.addEventListener("load",h=>{this.resolvedPromise.then(()=>{l(),a?(e.next(new Py({body:o,status:200,statusText:"OK",url:i})),e.complete()):e.error(new _0({url:i,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),r.addEventListener("error",h=>{l(),e.error(new _0({error:h,status:0,statusText:"JSONP Error",url:i}))}),this.document.body.appendChild(r),e.next({type:$c.Sent}),()=>{a||this.removeListeners(r),l()}})}removeListeners(t){HT||(HT=this.document.implementation.createHTMLDocument()),HT.adoptNode(t)}}Rd.\u0275fac=function(t){return new(t||Rd)(rt(Kj),rt(Se))},Rd.\u0275prov=vt({token:Rd,factory:Rd.\u0275fac});class wf{constructor(t){this.jsonp=t}intercept(t,e){return"JSONP"===t.method?this.jsonp.handle(t):e.handle(t)}}wf.\u0275fac=function(t){return new(t||wf)(rt(Rd))},wf.\u0275prov=vt({token:wf,factory:wf.\u0275fac});const fst=/^\)\]\}',?\n/;class Nd{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new it(e=>{const s=this.xhrFactory.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((m,v)=>s.setRequestHeader(m,v.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const m=t.detectContentTypeHeader();null!==m&&s.setRequestHeader("Content-Type",m)}if(t.responseType){const m=t.responseType.toLowerCase();s.responseType="json"!==m?m:"text"}const i=t.serializeBody();let r=null;const o=()=>{if(null!==r)return r;const m=s.statusText||"OK",v=new mo(s.getAllResponseHeaders()),D=function mst(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(s)||t.url;return r=new NT({headers:v,status:s.status,statusText:m,url:D}),r},a=()=>{let{headers:m,status:v,statusText:D,url:C}=o(),k=null;204!==v&&(k=typeof s.response>"u"?s.responseText:s.response),0===v&&(v=k?200:0);let P=v>=200&&v<300;if("json"===t.responseType&&"string"==typeof k){const F=k;k=k.replace(fst,"");try{k=""!==k?JSON.parse(k):null}catch(N){k=F,P&&(P=!1,k={error:N,text:k})}}P?(e.next(new Py({body:k,headers:m,status:v,statusText:D,url:C||void 0})),e.complete()):e.error(new _0({error:k,headers:m,status:v,statusText:D,url:C||void 0}))},l=m=>{const{url:v}=o(),D=new _0({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});e.error(D)};let c=!1;const u=m=>{c||(e.next(o()),c=!0);let v={type:$c.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(v.total=m.total),"text"===t.responseType&&!!s.responseText&&(v.partialText=s.responseText),e.next(v)},h=m=>{let v={type:$c.UploadProgress,loaded:m.loaded};m.lengthComputable&&(v.total=m.total),e.next(v)};return s.addEventListener("load",a),s.addEventListener("error",l),s.addEventListener("timeout",l),s.addEventListener("abort",l),t.reportProgress&&(s.addEventListener("progress",u),null!==i&&s.upload&&s.upload.addEventListener("progress",h)),s.send(i),e.next({type:$c.Sent}),()=>{s.removeEventListener("error",l),s.removeEventListener("abort",l),s.removeEventListener("load",a),s.removeEventListener("timeout",l),t.reportProgress&&(s.removeEventListener("progress",u),null!==i&&s.upload&&s.upload.removeEventListener("progress",h)),s.readyState!==s.DONE&&s.abort()}})}}Nd.\u0275fac=function(t){return new(t||Nd)(rt(RH))},Nd.\u0275prov=vt({token:Nd,factory:Nd.\u0275fac});const jT=new At("XSRF_COOKIE_NAME"),VT=new At("XSRF_HEADER_NAME");class Qj{}class Df{constructor(t,e,s){this.doc=t,this.platform=e,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=kH(t,this.cookieName),this.lastCookieString=t),this.lastToken}}Df.\u0275fac=function(t){return new(t||Df)(rt(Se),rt(I_),rt(jT))},Df.\u0275prov=vt({token:Df,factory:Df.\u0275fac});class zc{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const s=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||s.startsWith("http://")||s.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null!==i&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}zc.\u0275fac=function(t){return new(t||zc)(rt(Qj),rt(VT))},zc.\u0275prov=vt({token:zc,factory:zc.\u0275fac});class Mf{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const e=this.injector.get(YT,[]);this.chain=e.reduceRight((s,i)=>new Gj(s,i),this.backend)}return this.chain.handle(t)}}Mf.\u0275fac=function(t){return new(t||Mf)(rt(Uj),rt(Fn))},Mf.\u0275prov=vt({token:Mf,factory:Mf.\u0275fac});class ea{static disable(){return{ngModule:ea,providers:[{provide:zc,useClass:bf}]}}static withOptions(t={}){return{ngModule:ea,providers:[t.cookieName?{provide:jT,useValue:t.cookieName}:[],t.headerName?{provide:VT,useValue:t.headerName}:[]]}}}ea.\u0275fac=function(t){return new(t||ea)},ea.\u0275mod=Dn({type:ea}),ea.\u0275inj=hn({providers:[zc,{provide:YT,useExisting:zc,multi:!0},{provide:Qj,useClass:Df},{provide:jT,useValue:"XSRF-TOKEN"},{provide:VT,useValue:"X-XSRF-TOKEN"}]});class Sf{}Sf.\u0275fac=function(t){return new(t||Sf)},Sf.\u0275mod=Dn({type:Sf,imports:[ea]}),Sf.\u0275inj=hn({providers:[go,{provide:Bj,useClass:Mf},Nd,{provide:Uj,useExisting:Nd}],imports:[ea.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]});class Oy{}Oy.\u0275fac=function(t){return new(t||Oy)},Oy.\u0275mod=Dn({type:Oy}),Oy.\u0275inj=hn({providers:[Rd,{provide:Kj,useFactory:function gst(){return"object"==typeof window?window:{}}},{provide:YT,useClass:wf,multi:!0}]});class Qi extends tt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new U;return this._value}next(t){super.next(this._value=t)}}const Jj={};function Xj(...n){let t=null,e=null;return Qt(n[n.length-1])&&(e=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&w(n[0])&&(n=n[0]),ls(n,e).lift(new _st(t))}class _st{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new yst(t,this.resultSelector))}}class yst extends Ke{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Jj),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let s=0;st.schedule(vst,0,{error:n,subscriber:e}):e=>e.error(n))}function vst({error:n,subscriber:t}){t.error(n)}const Ry=(()=>{function n(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return n.prototype=Object.create(Error.prototype),n})();function BT(...n){return function bst(){return Gn(1)}()(Bt(...n))}const Cf=new it(n=>n.complete());function y0(n){return n?function wst(n){return new it(t=>n.schedule(()=>t.complete()))}(n):Cf}function Zj(n){return new it(t=>{let e;try{e=n()}catch(i){return void t.error(i)}return(e?dn(e):y0()).subscribe(t)})}function na(n,t){return"function"==typeof t?e=>e.pipe(na((s,i)=>dn(n(s,i)).pipe(jt((r,o)=>t(s,r,i,o))))):e=>e.lift(new Dst(n))}class Dst{constructor(t){this.project=t}call(t,e){return e.subscribe(new Mst(t,this.project))}}class Mst extends Ke{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const s=this.index++;try{e=this.project(t,s)}catch(i){return void this.destination.error(i)}this._innerSub(e,t,s)}_innerSub(t,e,s){const i=this.innerSubscription;i&&i.unsubscribe();const r=new ue(this,e,s),o=this.destination;o.add(r),this.innerSubscription=ne(this,t,void 0,void 0,r),this.innerSubscription!==r&&o.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,s,i,r){this.destination.next(e)}}const tV=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})();function Wc(n){return t=>0===n?y0():t.lift(new Sst(n))}class Sst{constructor(t){if(this.total=t,this.total<0)throw new tV}call(t,e){return e.subscribe(new Cst(t,this.total))}}class Cst extends X{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,s=++this.count;s<=e&&(this.destination.next(t),s===e&&(this.destination.complete(),this.unsubscribe()))}}function xf(...n){const t=n[n.length-1];return Qt(t)?(n.pop(),e=>BT(n,e,t)):e=>BT(n,e)}function eV(n,t){let e=!1;return arguments.length>=2&&(e=!0),function(i){return i.lift(new xst(n,t,e))}}class xst{constructor(t,e,s=!1){this.accumulator=t,this.seed=e,this.hasSeed=s}call(t,e){return e.subscribe(new Est(t,this.accumulator,this.seed,this.hasSeed))}}class Est extends X{constructor(t,e,s,i){super(t),this.accumulator=e,this._seed=s,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let s;try{s=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=s,this.destination.next(s)}}function Cs(n){return function(e){const s=new kst(n),i=e.lift(s);return s.caught=i}}class kst{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Tst(t,this.selector,this.caught))}}class Tst extends Ke{constructor(t,e,s){super(t),this.selector=e,this.caught=s}error(t){if(!this.isStopped){let e;try{e=this.selector(t,this.caught)}catch(r){return void super.error(r)}this._unsubscribeAndRecycle();const s=new ue(this,void 0,void 0);this.add(s);const i=ne(this,e,void 0,void 0,s);i!==s&&this.add(i)}}}function UT(n){return function(e){return 0===n?y0():e.lift(new Lst(n))}}class Lst{constructor(t){if(this.total=t,this.total<0)throw new tV}call(t,e){return e.subscribe(new Ast(t,this.total))}}class Ast extends X{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,s=this.total,i=this.count++;if(e.length0){const s=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;rt.lift(new Ist(n))}class Ist{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new Pst(t,this.errorFactory))}}class Pst extends X{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function Ost(){return new Ry}function $T(n=null){return t=>t.lift(new Rst(n))}class Rst{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Nst(t,this.defaultValue))}}class Nst extends X{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Fd(n,t){const e=arguments.length>=2;return s=>s.pipe(n?as((i,r)=>n(i,r,s)):xt,Wc(1),e?$T(t):nV(()=>new Ry))}function qc(){}function _n(n,t,e){return function(i){return i.lift(new Yst(n,t,e))}}class Yst{constructor(t,e,s){this.nextOrObserver=t,this.error=e,this.complete=s}call(t,e){return e.subscribe(new Hst(t,this.nextOrObserver,this.error,this.complete))}}class Hst extends X{constructor(t,e,s,i){super(t),this._tapNext=qc,this._tapError=qc,this._tapComplete=qc,this._tapError=s||qc,this._tapComplete=i||qc,M(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||qc,this._tapError=e.error||qc,this._tapComplete=e.complete||qc)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}class Vst{constructor(t){this.value=t}call(t,e){return e.subscribe(new Bst(t,this.value))}}class Bst extends X{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}function zT(n){return t=>t.lift(new Ust(n))}class Ust{constructor(t){this.callback=t}call(t,e){return e.subscribe(new $st(t,this.callback))}}class $st extends X{constructor(t,e){super(t),this.add(new O(e))}}class Ol{constructor(t,e){this.id=t,this.url=e}}class WT extends Ol{constructor(t,e,s="imperative",i=null){super(t,e),this.type=0,this.navigationTrigger=s,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ri extends Ol{constructor(t,e,s){super(t,e),this.urlAfterRedirects=s,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class v0 extends Ol{constructor(t,e,s){super(t,e),this.reason=s,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class sV extends Ol{constructor(t,e,s){super(t,e),this.error=s,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class zst extends Ol{constructor(t,e,s,i){super(t,e),this.urlAfterRedirects=s,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wst extends Ol{constructor(t,e,s,i){super(t,e),this.urlAfterRedirects=s,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qst extends Ol{constructor(t,e,s,i,r){super(t,e),this.urlAfterRedirects=s,this.state=i,this.shouldActivate=r,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Gst extends Ol{constructor(t,e,s,i){super(t,e),this.urlAfterRedirects=s,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kst extends Ol{constructor(t,e,s,i){super(t,e),this.urlAfterRedirects=s,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qst{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Jst{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Xst{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zst{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tit{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class eit{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class iV{constructor(t,e,s){this.routerEvent=t,this.position=e,this.anchor=s,this.type=15}toString(){const t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}}const Te="primary";class sit{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Ef(n){return new sit(n)}const qT="Redirecting to ",rV="ngNavigationCancelingError";function GT(n){const t=Error("NavigationCancelingError: "+(n||""));return t[rV]=!0,t}function rit(n,t,e){const s=e.path.split("/");if(s.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||s.lengths[r]===i)}return n===t}function aV(n){return Array.prototype.concat.apply([],n)}function lV(n){return n.length>0?n[n.length-1]:null}function Ys(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function Gc(n){return Ex(n)?n:w_(n)?dn(Promise.resolve(n)):Bt(n)}const lit={exact:function dV(n,t,e){if(!Hd(n.segments,t.segments)||!b0(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const s in t.children)if(!n.children[s]||!dV(n.children[s],t.children[s],e))return!1;return!0},subset:hV},cV={exact:function cit(n,t){return sa(n,t)},subset:function uit(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>oV(n[e],t[e]))},ignored:()=>!0};function uV(n,t,e){return lit[e.paths](n.root,t.root,e.matrixParams)&&cV[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function hV(n,t,e){return pV(n,t,t.segments,e)}function pV(n,t,e,s){if(n.segments.length>e.length){const i=n.segments.slice(0,e.length);return!(!Hd(i,e)||t.hasChildren()||!b0(i,e,s))}if(n.segments.length===e.length){if(!Hd(n.segments,e)||!b0(n.segments,e,s))return!1;for(const i in t.children)if(!n.children[i]||!hV(n.children[i],t.children[i],s))return!1;return!0}{const i=e.slice(0,n.segments.length),r=e.slice(n.segments.length);return!!(Hd(n.segments,i)&&b0(n.segments,i,s)&&n.children[Te])&&pV(n.children[Te],t,r,s)}}function b0(n,t,e){return t.every((s,i)=>cV[e](n[i].parameters,s.parameters))}class Yd{constructor(t,e,s){this.root=t,this.queryParams=e,this.fragment=s}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ef(this.queryParams)),this._queryParamMap}toString(){return pit.serialize(this)}}class He{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Ys(e,(s,i)=>s.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return w0(this)}}class Ny{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Ef(this.parameters)),this._parameterMap}toString(){return yV(this)}}function Hd(n,t){return n.length===t.length&&n.every((e,s)=>e.path===t[s].path)}class fV{}class mV{parse(t){const e=new Dit(t);return new Yd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Fy(t.root,!0)}`,s=function git(n){const t=Object.keys(n).map(e=>{const s=n[e];return Array.isArray(s)?s.map(i=>`${D0(e)}=${D0(i)}`).join("&"):`${D0(e)}=${D0(s)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams),i="string"==typeof t.fragment?`#${function fit(n){return encodeURI(n)}(t.fragment)}`:"";return`${e}${s}${i}`}}const pit=new mV;function w0(n){return n.segments.map(t=>yV(t)).join("/")}function Fy(n,t){if(!n.hasChildren())return w0(n);if(t){const e=n.children[Te]?Fy(n.children[Te],!1):"",s=[];return Ys(n.children,(i,r)=>{r!==Te&&s.push(`${r}:${Fy(i,!1)}`)}),s.length>0?`${e}(${s.join("//")})`:e}{const e=function hit(n,t){let e=[];return Ys(n.children,(s,i)=>{i===Te&&(e=e.concat(t(s,i)))}),Ys(n.children,(s,i)=>{i!==Te&&(e=e.concat(t(s,i)))}),e}(n,(s,i)=>i===Te?[Fy(n.children[Te],!1)]:[`${i}:${Fy(s,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Te]?`${w0(n)}/${e[0]}`:`${w0(n)}/(${e.join("//")})`}}function gV(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function D0(n){return gV(n).replace(/%3B/gi,";")}function QT(n){return gV(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function M0(n){return decodeURIComponent(n)}function _V(n){return M0(n.replace(/\+/g,"%20"))}function yV(n){return`${QT(n.path)}${function mit(n){return Object.keys(n).map(t=>`;${QT(t)}=${QT(n[t])}`).join("")}(n.parameters)}`}const _it=/^[^\/()?;=#]+/;function S0(n){const t=n.match(_it);return t?t[0]:""}const yit=/^[^=?&#]+/;const bit=/^[^&#]+/;class Dit{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new He([],{}):new He([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let s={};return this.peekStartsWith("(")&&(s=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(s[Te]=new He(t,e)),s}parseSegment(){const t=S0(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new at(4009,false);return this.capture(t),new Ny(M0(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=S0(this.remaining);if(!e)return;this.capture(e);let s="";if(this.consumeOptional("=")){const i=S0(this.remaining);i&&(s=i,this.capture(s))}t[M0(e)]=M0(s)}parseQueryParam(t){const e=function vit(n){const t=n.match(yit);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let s="";if(this.consumeOptional("=")){const o=function wit(n){const t=n.match(bit);return t?t[0]:""}(this.remaining);o&&(s=o,this.capture(s))}const i=_V(e),r=_V(s);if(t.hasOwnProperty(i)){let o=t[i];Array.isArray(o)||(o=[o],t[i]=o),o.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const s=S0(this.remaining),i=this.remaining[s.length];if("/"!==i&&")"!==i&&";"!==i)throw new at(4010,false);let r;s.indexOf(":")>-1?(r=s.slice(0,s.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=Te);const o=this.parseChildren();e[r]=1===Object.keys(o).length?o[Te]:new He([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new at(4011,false)}}class vV{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=JT(t,this._root);return e?e.children.map(s=>s.value):[]}firstChild(t){const e=JT(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=XT(t,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return XT(t,this._root).map(e=>e.value)}}function JT(n,t){if(n===t.value)return t;for(const e of t.children){const s=JT(n,e);if(s)return s}return null}function XT(n,t){if(n===t.value)return[t];for(const e of t.children){const s=XT(n,e);if(s.length)return s.unshift(t),s}return[]}class Rl{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function kf(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class bV extends vV{constructor(t,e){super(t),this.snapshot=e,ZT(this,t)}toString(){return this.snapshot.toString()}}function wV(n,t){const e=function Mit(n,t){const o=new C0([],{},{},"",{},Te,t,null,n.root,-1,{});return new MV("",new Rl(o,[]))}(n,t),s=new Qi([new Ny("",{})]),i=new Qi({}),r=new Qi({}),o=new Qi({}),a=new Qi(""),l=new fs(s,i,o,a,r,Te,t,e.root);return l.snapshot=e.root,new bV(new Rl(l,[]),e)}class fs{constructor(t,e,s,i,r,o,a,l){this.url=t,this.params=e,this.queryParams=s,this.fragment=i,this.data=r,this.outlet=o,this.component=a,this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(jt(t=>Ef(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(jt(t=>Ef(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function DV(n,t="emptyOnly"){const e=n.pathFromRoot;let s=0;if("always"!==t)for(s=e.length-1;s>=1;){const i=e[s],r=e[s-1];if(i.routeConfig&&""===i.routeConfig.path)s--;else{if(r.component)break;s--}}return function Sit(n){return n.reduce((t,e)=>{var s;return{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...null===(s=e.routeConfig)||void 0===s?void 0:s.data,...e._resolvedData}}},{params:{},data:{},resolve:{}})}(e.slice(s))}class C0{constructor(t,e,s,i,r,o,a,l,c,u,h,m){this.url=t,this.params=e,this.queryParams=s,this.fragment=i,this.data=r,this.outlet=o,this.component=a,this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._correctedLastPathIndex=m??u,this._resolve=h}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ef(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ef(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(s=>s.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class MV extends vV{constructor(t,e){super(e),this.url=t,ZT(this,e)}toString(){return SV(this._root)}}function ZT(n,t){t.value._routerState=n,t.children.forEach(e=>ZT(n,e))}function SV(n){const t=n.children.length>0?` { ${n.children.map(SV).join(", ")} } `:"";return`${n.value}${t}`}function t1(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,sa(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),sa(t.params,e.params)||n.params.next(e.params),function oit(n,t){if(n.length!==t.length)return!1;for(let e=0;esa(e.parameters,t[s].parameters))}(n.url,t.url),s=!n.parent!=!t.parent;return e&&!s&&(!n.parent||e1(n.parent,t.parent))}function Yy(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const s=e.value;s._futureSnapshot=t.value;const i=function xit(n,t,e){return t.children.map(s=>{for(const i of e.children)if(n.shouldReuseRoute(s.value,i.value.snapshot))return Yy(n,s,i);return Yy(n,s)})}(n,t,e);return new Rl(s,i)}{if(n.shouldAttach(t.value)){const r=n.retrieve(t.value);if(null!==r){const o=r.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>Yy(n,a)),o}}const s=function Eit(n){return new fs(new Qi(n.url),new Qi(n.params),new Qi(n.queryParams),new Qi(n.fragment),new Qi(n.data),n.outlet,n.component,n)}(t.value),i=t.children.map(r=>Yy(n,r));return new Rl(s,i)}}const n1=!1;function kit(n,t,e,s,i){var r;if(0===e.length)return s1(t.root,t.root,t.root,s,i);const o=function Tit(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new xV(!0,0,n);let t=0,e=!1;const s=n.reduce((i,r,o)=>{if("object"==typeof r&&null!=r){if(r.outlets){const a={};return Ys(r.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...i,{outlets:a}]}if(r.segmentPath)return[...i,r.segmentPath]}return"string"!=typeof r?[...i,r]:0===o?(r.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,r]},[]);return new xV(e,t,s)}(e);if(o.toRoot())return s1(t.root,t.root,new He([],{}),s,i);const l=function a(u){var h;const m=function Lit(n,t,e,s){if(n.isAbsolute)return new i1(t.root,!0,0);if(-1===s){const o=e===t.root;return new i1(e,o,0)}const i=x0(n.commands[0])?0:1;return function Ait(n,t,e){let s=n,i=t,r=e;for(;r>i;){if(r-=i,s=s.parent,!s)throw new at(4005,n1);i=s.segments.length}return new i1(s,!1,i-r)}(e,s+i,n.numberOfDoubleDots)}(o,t,null===(h=n.snapshot)||void 0===h?void 0:h._urlSegment,u),v=m.processChildren?E0(m.segmentGroup,m.index,o.commands):EV(m.segmentGroup,m.index,o.commands);return s1(t.root,m.segmentGroup,v,s,i)}(null===(r=n.snapshot)||void 0===r?void 0:r._lastPathIndex);return l}function x0(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Hy(n){return"object"==typeof n&&null!=n&&n.outlets}function s1(n,t,e,s,i){let r={};if(s&&Ys(s,(a,l)=>{r[l]=Array.isArray(a)?a.map(c=>`${c}`):`${a}`}),n===t)return new Yd(e,r,i);const o=CV(n,t,e);return new Yd(o,r,i)}function CV(n,t,e){const s={};return Ys(n.children,(i,r)=>{s[r]=i===t?e:CV(i,t,e)}),new He(n.segments,s)}class xV{constructor(t,e,s){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=s,t&&s.length>0&&x0(s[0]))throw new at(4003,n1);const i=s.find(Hy);if(i&&i!==lV(s))throw new at(4004,n1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class i1{constructor(t,e,s){this.segmentGroup=t,this.processChildren=e,this.index=s}}function EV(n,t,e){if(n||(n=new He([],{})),0===n.segments.length&&n.hasChildren())return E0(n,t,e);const s=function Pit(n,t,e){let s=0,i=t;const r={match:!1,pathIndex:0,commandIndex:0};for(;i=e.length)return r;const o=n.segments[i],a=e[s];if(Hy(a))break;const l=`${a}`,c=s0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!TV(l,c,o))return r;s+=2}else{if(!TV(l,{},o))return r;s++}i++}return{match:!0,pathIndex:i,commandIndex:s}}(n,t,e),i=e.slice(s.commandIndex);if(s.match&&s.pathIndex{"string"==typeof r&&(r=[r]),null!==r&&(i[o]=EV(n.children[o],t,r))}),Ys(n.children,(r,o)=>{void 0===s[o]&&(i[o]=r)}),new He(n.segments,i)}}function r1(n,t,e){const s=n.segments.slice(0,t);let i=0;for(;i{"string"==typeof e&&(e=[e]),null!==e&&(t[s]=r1(new He([],{}),0,e))}),t}function kV(n){const t={};return Ys(n,(e,s)=>t[s]=`${e}`),t}function TV(n,t,e){return n==e.path&&sa(t,e.parameters)}class Rit{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new jy,this.attachRef=null}}class jy{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const s=this.getOrCreateContext(t);s.outlet=e,this.contexts.set(t,s)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Rit,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}const k0=!1;class Kc{constructor(t,e,s,i,r){this.parentContexts=t,this.location=e,this.changeDetector=i,this.environmentInjector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new Mt,this.deactivateEvents=new Mt,this.attachEvents=new Mt,this.detachEvents=new Mt,this.name=s||Te,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){var t;(null===(t=this.parentContexts.getContext(this.name))||void 0===t?void 0:t.outlet)===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new at(4012,k0);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new at(4012,k0);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new at(4012,k0);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new at(4013,k0);this._activatedRoute=t;const s=this.location,r=t._futureSnapshot.component,o=this.parentContexts.getOrCreateContext(this.name).children,a=new Nit(t,o,s.injector);if(e&&function Fit(n){return!!n.resolveComponentFactory}(e)){const l=e.resolveComponentFactory(r);this.activated=s.createComponent(l,s.length,a)}else{const l=e??this.environmentInjector;this.activated=s.createComponent(r,{index:s.length,injector:a,environmentInjector:l})}this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}Kc.\u0275fac=function(t){return new(t||Kc)(Q(jy),Q(Ns),Ou("name"),Q(Uo),Q(Vu))},Kc.\u0275dir=Nt({type:Kc,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]});class Nit{constructor(t,e,s){this.route=t,this.childContexts=e,this.parent=s}get(t,e){return t===fs?this.route:t===jy?this.childContexts:this.parent.get(t,e)}}class Qc{}function LV(n,t){var e;return n.providers&&!n._injector&&(n._injector=Lw(n.providers,t,`Route: ${n.path}`)),null!==(e=n._injector)&&void 0!==e?e:t}function a1(n){const t=n.children&&n.children.map(a1),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==Te&&(e.component=Qc),e}function Tr(n){return n.outlet||Te}function AV(n,t){const e=n.filter(s=>Tr(s)===t);return e.push(...n.filter(s=>Tr(s)!==t)),e}function IV(n){var t;if(!n)return null;if(null!==(t=n.routeConfig)&&void 0!==t&&t._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){const s=e.routeConfig;if(null!=s&&s._loadedInjector)return s._loadedInjector;if(null!=s&&s._injector)return s._injector}return null}Qc.\u0275fac=function(t){return new(t||Qc)},Qc.\u0275cmp=Ih({type:Qc,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Mw(0,"router-outlet")},dependencies:[Kc],encapsulation:2});class Bit{constructor(t,e,s,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=s,this.forwardEvent=i}activate(t){const e=this.futureState._root,s=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,s,t),t1(this.futureState.root),this.activateChildRoutes(e,s,t)}deactivateChildRoutes(t,e,s){const i=kf(e);t.children.forEach(r=>{const o=r.value.outlet;this.deactivateRoutes(r,i[o],s),delete i[o]}),Ys(i,(r,o)=>{this.deactivateRouteAndItsChildren(r,s)})}deactivateRoutes(t,e,s){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const o=s.getContext(i.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,s);else r&&this.deactivateRouteAndItsChildren(e,s)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const s=e.getContext(t.value.outlet),i=s&&t.value.component?s.children:e,r=kf(t);for(const o of Object.keys(r))this.deactivateRouteAndItsChildren(r[o],i);if(s&&s.outlet){const o=s.outlet.detach(),a=s.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const s=e.getContext(t.value.outlet),i=s&&t.value.component?s.children:e,r=kf(t);for(const o of Object.keys(r))this.deactivateRouteAndItsChildren(r[o],i);s&&s.outlet&&(s.outlet.deactivate(),s.children.onOutletDeactivated(),s.attachRef=null,s.resolver=null,s.route=null)}activateChildRoutes(t,e,s){const i=kf(e);t.children.forEach(r=>{this.activateRoutes(r,i[r.value.outlet],s),this.forwardEvent(new eit(r.value.snapshot))}),t.children.length&&this.forwardEvent(new Zst(t.value.snapshot))}activateRoutes(t,e,s){const i=t.value,r=e?e.value:null;if(t1(i),i===r)if(i.component){const a=s.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,a.children)}else this.activateChildRoutes(t,e,s);else if(i.component){const a=s.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const l=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),t1(l.route.value),this.activateChildRoutes(t,null,a.children)}else{var o;const l=IV(i.snapshot),c=null!==(o=l?.get(Mp))&&void 0!==o?o:null;a.attachRef=null,a.route=i,a.resolver=c,a.injector=l,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,s)}}function T0(n){return"function"==typeof n}function jd(n){return n instanceof Yd}const Vy=Symbol("INITIAL_VALUE");function By(){return na(n=>Xj(n.map(t=>t.pipe(Wc(1),xf(Vy)))).pipe(eV((t,e)=>{let s=!1;return e.reduce((i,r,o)=>i!==Vy?i:(r===Vy&&(s=!0),s||!1!==r&&o!==e.length-1&&!jd(r)?i:r),t)},Vy),as(t=>t!==Vy),jt(t=>jd(t)?t:!0===t),Wc(1)))}const PV={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function L0(n,t,e){var s;if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...PV}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(t.matcher||rit)(e,n,t);if(!r)return{...PV};const o={};Ys(r.posParams,(l,c)=>{o[c]=l.path});const a=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:null!==(s=r.posParams)&&void 0!==s?s:{}}}function A0(n,t,e,s,i="corrected"){if(e.length>0&&function Qit(n,t,e){return e.some(s=>I0(n,t,s)&&Tr(s)!==Te)}(n,e,s)){const o=new He(t,function Kit(n,t,e,s){const i={};i[Te]=s,s._sourceSegment=n,s._segmentIndexShift=t.length;for(const r of e)if(""===r.path&&Tr(r)!==Te){const o=new He([],{});o._sourceSegment=n,o._segmentIndexShift=t.length,i[Tr(r)]=o}return i}(n,t,s,new He(e,n.children)));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function Jit(n,t,e){return e.some(s=>I0(n,t,s))}(n,e,s)){const o=new He(n.segments,function Git(n,t,e,s,i,r){const o={};for(const a of s)if(I0(n,e,a)&&!i[Tr(a)]){const l=new He([],{});l._sourceSegment=n,l._segmentIndexShift="legacy"===r?n.segments.length:t.length,o[Tr(a)]=l}return{...i,...o}}(n,t,e,s,n.children,i));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}const r=new He(n.segments,n.children);return r._sourceSegment=n,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:e}}function I0(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function OV(n,t,e,s){return!!(Tr(n)===s||s!==Te&&I0(t,e,n))&&("**"===n.path||L0(t,n,e).matched)}function RV(n,t,e){return 0===t.length&&!n.children[e]}const P0=!1;class O0{constructor(t){this.segmentGroup=t||null}}class NV{constructor(t){this.urlTree=t}}function Uy(n){return Pl(new O0(n))}function FV(n){return Pl(new NV(n))}class ert{constructor(t,e,s,i,r){this.injector=t,this.configLoader=e,this.urlSerializer=s,this.urlTree=i,this.config=r,this.allowRedirects=!0}apply(){const t=A0(this.urlTree.root,[],[],this.config).segmentGroup,e=new He(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,Te).pipe(jt(r=>this.createUrlTree(l1(r),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Cs(r=>{if(r instanceof NV)return this.allowRedirects=!1,this.match(r.urlTree);throw r instanceof O0?this.noMatchError(r):r}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,Te).pipe(jt(i=>this.createUrlTree(l1(i),t.queryParams,t.fragment))).pipe(Cs(i=>{throw i instanceof O0?this.noMatchError(i):i}))}noMatchError(t){return new at(4002,P0)}createUrlTree(t,e,s){const i=t.segments.length>0?new He([],{[Te]:t}):t;return new Yd(i,e,s)}expandSegmentGroup(t,e,s,i){return 0===s.segments.length&&s.hasChildren()?this.expandChildren(t,e,s).pipe(jt(r=>new He([],r))):this.expandSegment(t,s,e,s.segments,i,!0)}expandChildren(t,e,s){const i=[];for(const r of Object.keys(s.children))"primary"===r?i.unshift(r):i.push(r);return dn(i).pipe(vf(r=>{const o=s.children[r],a=AV(e,r);return this.expandSegmentGroup(t,a,o,r).pipe(jt(l=>({segment:l,outlet:r})))}),eV((r,o)=>(r[o.outlet]=o.segment,r),{}),function Fst(n,t){const e=arguments.length>=2;return s=>s.pipe(n?as((i,r)=>n(i,r,s)):xt,UT(1),e?$T(t):nV(()=>new Ry))}())}expandSegment(t,e,s,i,r,o){return dn(s).pipe(vf(a=>this.expandSegmentAgainstRoute(t,e,s,a,i,r,o).pipe(Cs(c=>{if(c instanceof O0)return Bt(null);throw c}))),Fd(a=>!!a),Cs((a,l)=>{if(a instanceof Ry||"EmptyError"===a.name)return RV(e,i,r)?Bt(new He([],{})):Uy(e);throw a}))}expandSegmentAgainstRoute(t,e,s,i,r,o,a){return OV(i,e,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,s,i,r,o):Uy(e):Uy(e)}expandSegmentAgainstRouteUsingRedirect(t,e,s,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,s,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,s,i,r,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,s,i){const r=this.applyRedirectCommands([],s.redirectTo,{});return s.redirectTo.startsWith("/")?FV(r):this.lineralizeSegments(s,r).pipe($e(o=>{const a=new He(o,{});return this.expandSegment(t,a,e,o,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,s,i,r,o){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=L0(e,i,r);if(!a)return Uy(e);const h=this.applyRedirectCommands(l,i.redirectTo,u);return i.redirectTo.startsWith("/")?FV(h):this.lineralizeSegments(i,h).pipe($e(m=>this.expandSegment(t,e,s,m.concat(c),o,!1)))}matchSegmentAgainstRoute(t,e,s,i,r){if("**"===s.path)return t=LV(s,t),s.loadChildren?(s._loadedRoutes?Bt({routes:s._loadedRoutes,injector:s._loadedInjector}):this.configLoader.loadChildren(t,s)).pipe(jt(h=>(s._loadedRoutes=h.routes,s._loadedInjector=h.injector,new He(i,{})))):Bt(new He(i,{}));const{matched:o,consumedSegments:a,remainingSegments:l}=L0(e,s,i);return o?(t=LV(s,t),this.getChildConfig(t,s,i).pipe($e(u=>{var h;const m=null!==(h=u.injector)&&void 0!==h?h:t,v=u.routes,{segmentGroup:D,slicedSegments:C}=A0(e,a,l,v),k=new He(D.segments,D.children);if(0===C.length&&k.hasChildren())return this.expandChildren(m,v,k).pipe(jt(V=>new He(a,V)));if(0===v.length&&0===C.length)return Bt(new He(a,{}));const P=Tr(s)===r;return this.expandSegment(m,k,v,C,P?Te:r,!0).pipe(jt(N=>new He(a.concat(N.segments),N.children)))}))):Uy(e)}getChildConfig(t,e,s){return e.children?Bt({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?Bt({routes:e._loadedRoutes,injector:e._loadedInjector}):this.runCanLoadGuards(t,e,s).pipe($e(i=>i?this.configLoader.loadChildren(t,e).pipe(_n(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):function Zit(n){return Pl(GT(P0))}())):Bt({routes:[],injector:t})}runCanLoadGuards(t,e,s){const i=e.canLoad;if(!i||0===i.length)return Bt(!0);const r=i.map(o=>{const a=t.get(o),l=function $it(n){return n&&T0(n.canLoad)}(a)?a.canLoad(e,s):a(e,s);return Gc(l)});return Bt(r).pipe(By(),_n(o=>{if(!jd(o))return;const a=GT(qT+this.urlSerializer.serialize(o));throw a.url=o,a}),jt(o=>!0===o))}lineralizeSegments(t,e){let s=[],i=e.root;for(;;){if(s=s.concat(i.segments),0===i.numberOfChildren)return Bt(s);if(i.numberOfChildren>1||!i.children[Te])return t.redirectTo,Pl(new at(4e3,P0));i=i.children[Te]}}applyRedirectCommands(t,e,s){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,s)}applyRedirectCreatreUrlTree(t,e,s,i){const r=this.createSegmentGroup(t,e.root,s,i);return new Yd(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const s={};return Ys(t,(i,r)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);s[r]=e[a]}else s[r]=i}),s}createSegmentGroup(t,e,s,i){const r=this.createSegments(t,e.segments,s,i);let o={};return Ys(e.children,(a,l)=>{o[l]=this.createSegmentGroup(t,a,s,i)}),new He(r,o)}createSegments(t,e,s,i){return e.map(r=>r.path.startsWith(":")?this.findPosParam(t,r,i):this.findOrReturn(r,s))}findPosParam(t,e,s){const i=s[e.path.substring(1)];if(!i)throw new at(4001,P0);return i}findOrReturn(t,e){let s=0;for(const i of e){if(i.path===t.path)return e.splice(s),i;s++}return t}}function l1(n){const t={};for(const s of Object.keys(n.children)){const r=l1(n.children[s]);(r.segments.length>0||r.hasChildren())&&(t[s]=r)}return function nrt(n){if(1===n.numberOfChildren&&n.children[Te]){const t=n.children[Te];return new He(n.segments.concat(t.segments),t.children)}return n}(new He(n.segments,t))}function srt(n,t,e,s){return na(i=>function trt(n,t,e,s,i){return new ert(n,t,e,s,i).apply()}(n,t,e,i.extractedUrl,s).pipe(jt(r=>({...i,urlAfterRedirects:r}))))}class YV{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class R0{constructor(t,e){this.component=t,this.route=e}}function irt(n,t,e){const s=n._root;return $y(s,t?t._root:null,e,[s.value])}function N0(n,t,e){return(IV(t)??e).get(n)}function $y(n,t,e,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const r=kf(t);return n.children.forEach(o=>{(function ort(n,t,e,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const r=n.value,o=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const l=function art(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!Hd(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Hd(n.url,t.url)||!sa(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!e1(n,t)||!sa(n.queryParams,t.queryParams);default:return!e1(n,t)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new YV(s)):(r.data=o.data,r._resolvedData=o._resolvedData),r.component?$y(n,t,a?a.children:null,s,i):$y(n,t,e,s,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new R0(a.outlet.component,o))}else o&&zy(t,a,i),i.canActivateChecks.push(new YV(s)),r.component?$y(n,null,a?a.children:null,s,i):$y(n,null,e,s,i);return i})(o,r[o.value.outlet],e,s.concat([o.value]),i),delete r[o.value.outlet]}),Ys(r,(o,a)=>zy(o,e.getContext(a),i)),i}function zy(n,t,e){const s=kf(n),i=n.value;Ys(s,(r,o)=>{i.component?zy(r,t?t.children.getContext(o):null,e):zy(r,t,e)}),i.component&&t&&t.outlet&&t.outlet.isActivated?e.canDeactivateChecks.push(new R0(t.outlet.component,i)):e.canDeactivateChecks.push(new R0(null,i))}function lrt(n,t){return $e(e=>{const{targetSnapshot:s,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:o}}=e;return 0===o.length&&0===r.length?Bt({...e,guardsResult:!0}):function crt(n,t,e,s){return dn(n).pipe($e(i=>function mrt(n,t,e,s,i){const r=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!r||0===r.length)return Bt(!0);return Bt(r.map(a=>{const l=N0(a,t,i);return Gc(function qit(n){return n&&T0(n.canDeactivate)}(l)?l.canDeactivate(n,t,e,s):l(n,t,e,s)).pipe(Fd())})).pipe(By())}(i.component,i.route,e,t,s)),Fd(i=>!0!==i,!0))}(o,s,i,n).pipe($e(a=>a&&function Uit(n){return"boolean"==typeof n}(a)?function urt(n,t,e,s){return dn(t).pipe(vf(i=>BT(function hrt(n,t){return null!==n&&t&&t(new Xst(n)),Bt(!0)}(i.route.parent,s),function drt(n,t){return null!==n&&t&&t(new tit(n)),Bt(!0)}(i.route,s),function frt(n,t,e){const s=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(o=>function rrt(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(o)).filter(o=>null!==o).map(o=>Zj(()=>Bt(o.guards.map(l=>{const c=N0(l,o.node,e);return Gc(function Wit(n){return n&&T0(n.canActivateChild)}(c)?c.canActivateChild(s,n):c(s,n)).pipe(Fd())})).pipe(By())));return Bt(r).pipe(By())}(n,i.path,e),function prt(n,t,e){const s=t.routeConfig?t.routeConfig.canActivate:null;if(!s||0===s.length)return Bt(!0);const i=s.map(r=>Zj(()=>{const o=N0(r,t,e);return Gc(function zit(n){return n&&T0(n.canActivate)}(o)?o.canActivate(t,n):o(t,n)).pipe(Fd())}));return Bt(i).pipe(By())}(n,i.route,e))),Fd(i=>!0!==i,!0))}(s,r,n,t):Bt(a)),jt(a=>({...e,guardsResult:a})))})}class grt{}function HV(n){return new it(t=>t.error(n))}class yrt{constructor(t,e,s,i,r,o){this.rootComponentType=t,this.config=e,this.urlTree=s,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}recognize(){const t=A0(this.urlTree.root,[],[],this.config.filter(o=>void 0===o.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Te);if(null===e)return null;const s=new C0([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Te,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Rl(s,e),r=new MV(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(t){const e=t.value,s=DV(e,this.paramsInheritanceStrategy);e.params=Object.freeze(s.params),e.data=Object.freeze(s.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,e,s){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,s)}processChildren(t,e){const s=[];for(const r of Object.keys(e.children)){const o=e.children[r],a=AV(t,r),l=this.processSegmentGroup(a,o,r);if(null===l)return null;s.push(...l)}const i=jV(s);return function vrt(n){n.sort((t,e)=>t.value.outlet===Te?-1:e.value.outlet===Te?1:t.value.outlet.localeCompare(e.value.outlet))}(i),i}processSegment(t,e,s,i){for(const r of t){const o=this.processSegmentAgainstRoute(r,e,s,i);if(null!==o)return o}return RV(e,s,i)?[]:null}processSegmentAgainstRoute(t,e,s,i){if(t.redirectTo||!OV(t,e,s,i))return null;let r,o=[],a=[];if("**"===t.path){var l,c;const P=s.length>0?lV(s).parameters:{},F=BV(e)+s.length;r=new C0(s,P,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$V(t),Tr(t),null!==(l=null!==(c=t.component)&&void 0!==c?c:t._loadedComponent)&&void 0!==l?l:null,t,VV(e),F,zV(t),F)}else{var u,h;const P=L0(e,t,s);if(!P.matched)return null;o=P.consumedSegments,a=P.remainingSegments;const F=BV(e)+o.length;r=new C0(o,P.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$V(t),Tr(t),null!==(u=null!==(h=t.component)&&void 0!==h?h:t._loadedComponent)&&void 0!==u?u:null,t,VV(e),F,zV(t),F)}const m=function brt(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(t),{segmentGroup:v,slicedSegments:D}=A0(e,o,a,m.filter(P=>void 0===P.redirectTo),this.relativeLinkResolution);if(0===D.length&&v.hasChildren()){const P=this.processChildren(m,v);return null===P?null:[new Rl(r,P)]}if(0===m.length&&0===D.length)return[new Rl(r,[])];const C=Tr(t)===i,k=this.processSegment(m,v,D,C?Te:i);return null===k?null:[new Rl(r,k)]}}function wrt(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function jV(n){const t=[],e=new Set;for(const s of n){if(!wrt(s)){t.push(s);continue}const i=t.find(r=>s.value.routeConfig===r.value.routeConfig);void 0!==i?(i.children.push(...s.children),e.add(i)):t.push(s)}for(const s of e){const i=jV(s.children);t.push(new Rl(s.value,i))}return t.filter(s=>!e.has(s))}function VV(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function BV(n){var t;let e=n,s=null!==(t=e._segmentIndexShift)&&void 0!==t?t:0;for(;e._sourceSegment;){var i;e=e._sourceSegment,s+=null!==(i=e._segmentIndexShift)&&void 0!==i?i:0}return s-1}function $V(n){return n.data||{}}function zV(n){return n.resolve||{}}function Drt(n,t,e,s,i){return $e(r=>function _rt(n,t,e,s,i="emptyOnly",r="legacy"){try{const o=new yrt(n,t,e,s,i,r).recognize();return null===o?HV(new grt):Bt(o)}catch(o){return HV(o)}}(n,t,r.urlAfterRedirects,e(r.urlAfterRedirects),s,i).pipe(jt(o=>({...r,targetSnapshot:o}))))}const u1=Symbol("RouteTitle");function Mrt(n,t){return $e(e=>{const{targetSnapshot:s,guards:{canActivateChecks:i}}=e;if(!i.length)return Bt(e);let r=0;return dn(i).pipe(vf(o=>function Srt(n,t,e,s){const i=n.routeConfig,r=n._resolve;return void 0!==i?.title&&!WV(i)&&(r[u1]=i.title),function Crt(n,t,e,s){const i=function xrt(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===i.length)return Bt({});const r={};return dn(i).pipe($e(o=>function Ert(n,t,e,s){const i=N0(n,t,s);return i.resolve?Gc(i.resolve(t,e)):Gc(i(t,e))}(n[o],t,e,s).pipe(Fd(),_n(a=>{r[o]=a}))),UT(1),function jst(n){return t=>t.lift(new Vst(n))}(r),Cs(o=>o instanceof Ry?Cf:Pl(o)))}(r,n,t,s).pipe(jt(o=>(n._resolvedData=o,n.data=DV(n,e).resolve,i&&WV(i)&&(n.data[u1]=i.title),null)))}(o.route,s,n,t)),_n(()=>r++),UT(1),$e(o=>r===i.length?Bt(e):Cf))})}function WV(n){return"string"==typeof n.title||null===n.title}function d1(n){return na(t=>{const e=n(t);return e?dn(e).pipe(jt(()=>t)):Bt(t)})}class Lrt extends class Trt{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const h1=new At("ROUTES");class Jc{constructor(t,e){this.injector=t,this.compiler=e,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return Bt(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const e=Gc(t.loadComponent()).pipe(_n(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),zT(()=>{this.componentLoaders.delete(t)})),s=new Zt(e,()=>new tt).pipe(ri());return this.componentLoaders.set(t,s),s}loadChildren(t,e){if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return Bt({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);const i=this.loadModuleFactoryOrRoutes(e.loadChildren).pipe(jt(o=>{this.onLoadEndListener&&this.onLoadEndListener(e);let a,l,c=!1;Array.isArray(o)?(l=o,c=!0):(a=o.create(t).injector,l=aV(a.get(h1,[],ge.Self|ge.Optional)));const u=l.map(a1);return{routes:u,injector:a}}),zT(()=>{this.childrenLoaders.delete(e)})),r=new Zt(i,()=>new tt).pipe(ri());return this.childrenLoaders.set(e,r),r}loadModuleFactoryOrRoutes(t){return Gc(t()).pipe($e(e=>e instanceof EO||Array.isArray(e)?Bt(e):dn(this.compiler.compileModuleAsync(e))))}}Jc.\u0275fac=function(t){return new(t||Jc)(rt(Fn),rt(Xr))},Jc.\u0275prov=vt({token:Jc,factory:Jc.\u0275fac});class Irt{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Prt(n){throw n}function Ort(n,t,e){return t.parse("/")}const Rrt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Nrt={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};class se{constructor(t,e,s,i,r,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=s,this.location=i,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new tt,this.errorHandler=Prt,this.malformedUriErrorHandler=Ort,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>Bt(void 0),this.urlHandlingStrategy=new Irt,this.routeReuseStrategy=new Lrt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace";this.configLoader=r.get(Jc),this.configLoader.onLoadEndListener=h=>this.triggerEvent(new Jst(h)),this.configLoader.onLoadStartListener=h=>this.triggerEvent(new Qst(h)),this.ngModule=r.get(gc),this.console=r.get(_c);const u=r.get(ke);this.isNgZoneEnabled=u instanceof ke&&ke.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=function ait(){return new Yd(new He([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=wV(this.currentUrlTree,this.rootComponentType),this.transitions=new Qi({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const e=this.events;return t.pipe(as(s=>0!==s.id),jt(s=>({...s,extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),na(s=>{let i=!1,r=!1;return Bt(s).pipe(_n(o=>{this.currentNavigation={id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),na(o=>{const a=this.browserUrlTree.toString(),l=!this.navigated||o.extractedUrl.toString()!==a||a!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||l)&&this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return KV(o.source)&&(this.browserUrlTree=o.extractedUrl),Bt(o).pipe(na(u=>{const h=this.transitions.getValue();return e.next(new WT(u.id,this.serializeUrl(u.extractedUrl),u.source,u.restoredState)),h!==this.transitions.getValue()?Cf:Promise.resolve(u)}),srt(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),_n(u=>{this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects}}),Drt(this.rootComponentType,this.config,u=>this.serializeUrl(u),this.paramsInheritanceStrategy,this.relativeLinkResolution),_n(u=>{if("eager"===this.urlUpdateStrategy){if(!u.extras.skipLocationChange){const m=this.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);this.setBrowserUrl(m,u)}this.browserUrlTree=u.urlAfterRedirects}const h=new zst(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);e.next(h)}));if(l&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:h,extractedUrl:m,source:v,restoredState:D,extras:C}=o,k=new WT(h,this.serializeUrl(m),v,D);e.next(k);const P=wV(m,this.rootComponentType).snapshot;return Bt({...o,targetSnapshot:P,urlAfterRedirects:m,extras:{...C,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=o.rawUrl,o.resolve(null),Cf}),_n(o=>{const a=new Wst(o.id,this.serializeUrl(o.extractedUrl),this.serializeUrl(o.urlAfterRedirects),o.targetSnapshot);this.triggerEvent(a)}),jt(o=>({...o,guards:irt(o.targetSnapshot,o.currentSnapshot,this.rootContexts)})),lrt(this.ngModule.injector,o=>this.triggerEvent(o)),_n(o=>{if(jd(o.guardsResult)){const l=GT(`Redirecting to "${this.serializeUrl(o.guardsResult)}"`);throw l.url=o.guardsResult,l}const a=new qst(o.id,this.serializeUrl(o.extractedUrl),this.serializeUrl(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.triggerEvent(a)}),as(o=>!!o.guardsResult||(this.restoreHistory(o),this.cancelNavigationTransition(o,""),!1)),d1(o=>{if(o.guards.canActivateChecks.length)return Bt(o).pipe(_n(a=>{const l=new Gst(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),na(a=>{let l=!1;return Bt(a).pipe(Mrt(this.paramsInheritanceStrategy,this.ngModule.injector),_n({next:()=>l=!0,complete:()=>{l||(this.restoreHistory(a),this.cancelNavigationTransition(a,"At least one route resolver didn't emit any value."))}}))}),_n(a=>{const l=new Kst(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}))}),d1(o=>{const a=l=>{var c;const u=[];null!==(c=l.routeConfig)&&void 0!==c&&c.loadComponent&&!l.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(l.routeConfig).pipe(_n(h=>{l.component=h}),jt(()=>{})));for(const h of l.children)u.push(...a(h));return u};return Xj(a(o.targetSnapshot.root)).pipe($T(),Wc(1))}),d1(()=>this.afterPreactivation()),jt(o=>{const a=function Cit(n,t,e){const s=Yy(n,t._root,e?e._root:void 0);return new bV(s,t)}(this.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return{...o,targetRouterState:a}}),_n(o=>{this.currentUrlTree=o.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),this.routerState=o.targetRouterState,"deferred"===this.urlUpdateStrategy&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o),this.browserUrlTree=o.urlAfterRedirects)}),((n,t,e)=>jt(s=>(new Bit(t,s.targetRouterState,s.currentRouterState,e).activate(n),s)))(this.rootContexts,this.routeReuseStrategy,o=>this.triggerEvent(o)),_n({next(){i=!0},complete(){i=!0}}),zT(()=>{var o;if(!i&&!r){const a=`Navigation ID ${s.id} is not equal to the current navigation id ${this.navigationId}`;this.cancelNavigationTransition(s,a)}(null===(o=this.currentNavigation)||void 0===o?void 0:o.id)===s.id&&(this.currentNavigation=null)}),Cs(o=>{if(r=!0,function iit(n){return n&&n[rV]}(o)){const a=jd(o.url);a||(this.navigated=!0,this.restoreHistory(s,!0));const l=new v0(s.id,this.serializeUrl(s.extractedUrl),o.message);if(e.next(l),a){const c=this.urlHandlingStrategy.merge(o.url,this.rawUrlTree),u={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||KV(s.source)};this.scheduleNavigation(c,"imperative",null,u,{resolve:s.resolve,reject:s.reject,promise:s.promise})}else s.resolve(!1)}else{this.restoreHistory(s,!0);const a=new sV(s.id,this.serializeUrl(s.extractedUrl),o);e.next(a);try{s.resolve(this.errorHandler(o))}catch(l){s.reject(l)}}return Cf}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}setTransition(t){this.transitions.next({...this.transitions.value,...t})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e="popstate"===t.type?"popstate":"hashchange";"popstate"===e&&setTimeout(()=>{var s;const i={replaceUrl:!0},r=null!==(s=t.state)&&void 0!==s&&s.navigationId?t.state:null;if(r){const a={...r};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(i.state=a)}const o=this.parseUrl(t.url);this.scheduleNavigation(o,e,r,i)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){this.config=t.map(a1),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:s,queryParams:i,fragment:r,queryParamsHandling:o,preserveFragment:a}=e,l=s||this.routerState.root,c=a?this.currentUrlTree.fragment:r;let u=null;switch(o){case"merge":u={...this.currentUrlTree.queryParams,...i};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}return null!==u&&(u=this.removeEmptyProps(u)),kit(l,this.currentUrlTree,t,u,c??null)}navigateByUrl(t,e={skipLocationChange:!1}){const s=jd(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function Frt(n){for(let t=0;t{const i=t[s];return null!=i&&(e[s]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{var e;this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new Ri(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,null===(e=this.titleStrategy)||void 0===e||e.updateTitle(this.routerState.snapshot),t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,e,s,i,r){if(this.disposed)return Promise.resolve(!1);let o,a,l;r?(o=r.resolve,a=r.reject,l=r.promise):l=new Promise((v,D)=>{o=v,a=D});const c=++this.navigationId;let u;if("computed"===this.canceledNavigationResolution)if(0===this.currentPageId&&(s=this.location.getState()),s&&s.\u0275routerPageId)u=s.\u0275routerPageId;else if(i.replaceUrl||i.skipLocationChange){var h;u=null!==(h=this.browserPageId)&&void 0!==h?h:0}else{var m;u=(null!==(m=this.browserPageId)&&void 0!==m?m:0)+1}else u=0;return this.setTransition({id:c,targetPageId:u,source:e,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:o,reject:a,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(v=>Promise.reject(v))}setBrowserUrl(t,e){const s=this.urlSerializer.serialize(t),i={...e.extras.state,...this.generateNgRouterState(e.id,e.targetPageId)};this.location.isCurrentPathEqualTo(s)||e.extras.replaceUrl?this.location.replaceState(s,"",i):this.location.go(s,"",i)}restoreHistory(t,e=!1){if("computed"===this.canceledNavigationResolution){var s,i;const r=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)||0===r?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===r&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const s=new v0(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(s),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:e}:{navigationId:t}}}function KV(n){return"imperative"!==n}se.\u0275fac=function(t){JC()},se.\u0275prov=vt({token:se,factory:se.\u0275fac});class ia{constructor(t,e,s,i,r){this.router=t,this.route=e,this.tabIndexAttribute=s,this.renderer=i,this.el=r,this.commands=null,this.onChanges=new tt,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){if(null!=this.tabIndexAttribute)return;const e=this.renderer,s=this.el.nativeElement;null!==t?e.setAttribute(s,"tabindex",t):e.removeAttribute(s,"tabindex")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const t={skipLocationChange:Oa(this.skipLocationChange),replaceUrl:Oa(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Oa(this.preserveFragment)})}}ia.\u0275fac=function(t){return new(t||ia)(Q(se),Q(fs),Ou("tabindex"),Q(Ks),Q(Fe))},ia.\u0275dir=Nt({type:ia,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&$i("click",function(){return e.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[bs]});class ra{constructor(t,e,s){this.router=t,this.route=e,this.locationStrategy=s,this.commands=null,this.href=null,this.onChanges=new tt,this.subscription=t.events.subscribe(i=>{i instanceof Ri&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:null}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,s,i,r){if(0!==t||e||s||i||r||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const o={skipLocationChange:Oa(this.skipLocationChange),replaceUrl:Oa(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Oa(this.preserveFragment)})}}ra.\u0275fac=function(t){return new(t||ra)(Q(se),Q(fs),Q(uo))},ra.\u0275dir=Nt({type:ra,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&$i("click",function(i){return e.onClick(i.button,i.ctrlKey,i.shiftKey,i.altKey,i.metaKey)}),2&t&&dr("target",e.target)("href",e.href,bC)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[bs]});class Vd{constructor(t,e,s,i,r,o){this.router=t,this.element=e,this.renderer=s,this.cdr=i,this.link=r,this.linkWithHref=o,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Mt,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Ri&&this.update()})}ngAfterContentInit(){Bt(this.links.changes,this.linksWithHrefs.changes,Bt(null)).pipe(Gn()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(s=>!!s).map(s=>s.onChanges);this.linkInputChangesSubscription=dn(e).pipe(Gn()).subscribe(s=>{this.isActive!==this.isLinkActive(this.router)(s)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(s=>!!s)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))})}isLinkActive(t){const e=function Yrt(n){return!!n.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>!!s.urlTree&&t.isActive(s.urlTree,e)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}Vd.\u0275fac=function(t){return new(t||Vd)(Q(se),Q(Fe),Q(Ks),Q(Uo),Q(ia,8),Q(ra,8))},Vd.\u0275dir=Nt({type:Vd,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,s){if(1&t&&(xp(s,ia,5),xp(s,ra,5)),2&t){let i;Wu(i=qu())&&(e.links=i),Wu(i=qu())&&(e.linksWithHrefs=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[bs]});class QV{buildTitle(t){let e,s=t.root;for(;void 0!==s;){var i;e=null!==(i=this.getResolvedTitleForRoute(s))&&void 0!==i?i:e,s=s.children.find(r=>r.outlet===Te)}return e}getResolvedTitleForRoute(t){return t.data[u1]}}class Tf extends QV{constructor(t){super(),this.title=t}updateTitle(t){const e=this.buildTitle(t);void 0!==e&&this.title.setTitle(e)}}Tf.\u0275fac=function(t){return new(t||Tf)(rt(uf))},Tf.\u0275prov=vt({token:Tf,factory:Tf.\u0275fac,providedIn:"root"});class JV{}class Wy{preload(t,e){return e().pipe(Cs(()=>Bt(null)))}}Wy.\u0275fac=function(t){return new(t||Wy)},Wy.\u0275prov=vt({token:Wy,factory:Wy.\u0275fac,providedIn:"root"});class qy{preload(t,e){return Bt(null)}}qy.\u0275fac=function(t){return new(t||qy)},qy.\u0275prov=vt({token:qy,factory:qy.\u0275fac,providedIn:"root"});class Bd{constructor(t,e,s,i,r){this.router=t,this.injector=s,this.preloadingStrategy=i,this.loader=r}setUpPreloading(){this.subscription=this.router.events.pipe(as(t=>t instanceof Ri),vf(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const s=[];for(const a of e){var i,r;a.providers&&!a._injector&&(a._injector=Lw(a.providers,t,`Route: ${a.path}`));const l=null!==(i=a._injector)&&void 0!==i?i:t,c=null!==(r=a._loadedInjector)&&void 0!==r?r:l;if(a.loadChildren&&!a._loadedRoutes||a.loadComponent&&!a._loadedComponent)s.push(this.preloadConfig(l,a));else if(a.children||a._loadedRoutes){var o;s.push(this.processRoutes(c,null!==(o=a.children)&&void 0!==o?o:a._loadedRoutes))}}return dn(s).pipe(Gn())}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>{let s;s=e.loadChildren&&void 0===e.canLoad?this.loader.loadChildren(t,e):Bt(null);const i=s.pipe($e(r=>{var o;return null===r?Bt(void 0):(e._loadedRoutes=r.routes,e._loadedInjector=r.injector,this.processRoutes(null!==(o=r.injector)&&void 0!==o?o:t,r.routes))}));if(e.loadComponent&&!e._loadedComponent){return dn([i,this.loader.loadComponent(e)]).pipe(Gn())}return i})}}Bd.\u0275fac=function(t){return new(t||Bd)(rt(se),rt(Xr),rt(Vu),rt(JV),rt(Jc))},Bd.\u0275prov=vt({token:Bd,factory:Bd.\u0275fac});const XV=new At("");class Gy{constructor(t,e,s={}){this.router=t,this.viewportScroller=e,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof WT?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ri&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof iV&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new iV(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}Gy.\u0275fac=function(t){JC()},Gy.\u0275prov=vt({token:Gy,factory:Gy.\u0275fac});const p1=new At("ROUTER_CONFIGURATION",{providedIn:"root",factory:()=>({})}),ZV=new At("ROUTER_FORROOT_GUARD"),tB=new At(""),Hrt=[Dr,{provide:fV,useClass:mV},{provide:se,useFactory:function zrt(n,t,e,s,i,r,o={},a,l,c,u){const h=new se(null,n,t,e,s,i,aV(r));return c&&(h.urlHandlingStrategy=c),u&&(h.routeReuseStrategy=u),h.titleStrategy=l??a,function Wrt(n,t){n.errorHandler&&(t.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(t.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(t.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(t.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(t.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(t.canceledNavigationResolution=n.canceledNavigationResolution)}(o,h),h},deps:[fV,jy,Dr,Fn,Xr,h1,p1,Tf,[QV,new cr],[class Art{},new cr],[class krt{},new cr]]},jy,{provide:fs,useFactory:function qrt(n){return n.routerState.root},deps:[se]},Jc];function jrt(){return new xR("Router",se)}class En{constructor(t,e){}static forRoot(t,e){return{ngModule:En,providers:[Hrt,[],eB(t),{provide:ZV,useFactory:$rt,deps:[[se,new cr,new tp]]},{provide:p1,useValue:e||{}},null!=e&&e.useHash?{provide:uo,useClass:of}:{provide:uo,useClass:pd},{provide:XV,useFactory:()=>{const n=xa(se),t=xa(hT),e=xa(p1);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Gy(n,t,e)}},null!=e&&e.preloadingStrategy?tot(e.preloadingStrategy):[],{provide:xR,multi:!0,useFactory:jrt},null!=e&&e.initialNavigation?Krt(e):[],[{provide:nB,useFactory:Grt},{provide:yR,multi:!0,useExisting:nB}]]}}static forChild(t){return{ngModule:En,providers:[eB(t)]}}}function $rt(n){return"guarded"}function eB(n){return[{provide:lC,multi:!0,useValue:n},{provide:h1,multi:!0,useValue:n}]}function Grt(){const n=xa(Fn);return t=>{var e,s;const i=n.get(Bo);if(t!==i.components[0])return;const r=n.get(se),o=n.get(sB);null===n.get(f1,null,ge.Optional)&&r.initialNavigation(),null===(e=n.get(tB,null,ge.Optional))||void 0===e||e.setUpPreloading(),null===(s=n.get(XV,null,ge.Optional))||void 0===s||s.init(),r.resetRootComponentType(i.componentTypes[0]),o.next(),o.complete()}}En.\u0275fac=function(t){return new(t||En)(rt(ZV,8),rt(se,8))},En.\u0275mod=Dn({type:En,declarations:[Kc,ia,ra,Vd,Qc],exports:[Kc,ia,ra,Vd,Qc]}),En.\u0275inj=hn({});const nB=new At("");function Krt(n){return["disabled"===n.initialNavigation?[{provide:Rw,multi:!0,useFactory:()=>{const n=xa(se);return()=>{n.setUpLocationChangeListener()}}},{provide:f1,useValue:"disabled"}]:[],"enabledBlocking"===n.initialNavigation?[{provide:f1,useValue:"enabledBlocking"},{provide:Rw,multi:!0,deps:[Fn],useFactory:n=>{const t=n.get(mtt,Promise.resolve(null));let e=!1;return()=>t.then(()=>new Promise(i=>{const r=n.get(se),o=n.get(sB);(function s(i){const r=n.get(se);r.events.pipe(as(o=>o instanceof Ri||o instanceof v0||o instanceof sV),jt(o=>{if(o instanceof Ri)return!0;const a=r.navigationId!==o.id,l=o instanceof v0&&-1!==o.reason.indexOf(qT);return!(!a&&!l)&&null}),as(o=>null!==o),Wc(1)).subscribe(()=>{i()})})(()=>{i(!0),e=!0}),r.afterPreactivation=()=>(i(!0),e||o.closed?Bt(void 0):o),r.initialNavigation()}))}}]:[]]}const sB=new At("",{factory:()=>new tt});const f1=new At("");function tot(n){return[Bd,{provide:tB,useExisting:Bd},{provide:JV,useExisting:n}]}new Cp("14.0.6");let Lf=class{constructor(){}ngOnInit(){}};Lf.ctorParameters=()=>[],Lf=nt([kt({selector:"ue-not-found",template:'
\n
\n
\n\n
\n\t
\n\t\t
\n\t\t\t

Page Not Found

\n\t\t\tThe page you requested was not found. Please check your link and try again.\n\t\t\t
\n\t\t\t
\n\t\t
\t\n\t
\n
\n\n\t\n',styles:[""]})],Lf);const Af="#logo-container img {\n\twidth: 130px;\n\theight: 39px;\n\tmargin: 10px;\n\tfloat: left;\n}\n\n#loginButton {\n\tdisplay: inline-block;\n\tpadding: 12px 25px;\n\tline-height: 20px;\n\tcolor: rgb(255, 255, 255);\n\ttext-align: center;\n\tvertical-align: middle;\n\tbackground-repeat: repeat-x;\n\tbackground-color: rgb(38, 174, 144);\n\tborder-radius: 5px;\n\tbox-shadow: 0px -2px 0px rgba(0, 0, 0, 0.1) inset;\n\tfont-size: 12px;\n\ttext-transform: uppercase;\n\tfont-weight: bold;\n}\n\n.navbar-default {\n\ttext-transform: uppercase;\n\tbackground-color: #fff;\n\tfont-size: 1em;\n}\n\n.navbar-nav {\n\tmargin: 5px;\n}\n\n.navbar-text {\n\tmargin-top: 20px;\n\tmargin-bottom: 20px;\n}\n\n@media (max-width : 767px){\n\t.navbar.navbar-default.navbar-fixed-top .container{\n\t\ttext-align: center;\n\t}\n\t.navbar.navbar-default.navbar-fixed-top .container p{\n\t\tclear: both;\n\t}\n\t.navbar.navbar-default.navbar-fixed-top .container img{\n\t\tclear: both;\n\t\tfloat: none!important;\n\t}\n\t\n\t.navfull {\n\t\toverflow: hidden;\n\t\tmax-height: 0px;\n\t\ttransition: max-height .5s ease-in-out;\n\t}\t\n\n\t.navbar-text {\n\t\tmargin-top: 0px;\n\t\tmargin-bottom: 5px;\n\t}\n\t\n\t#navsmallbutton{\n\t\tdisplay : block!important;\n\t}\n\n}\n\n@media (min-width : 767px){\n\t.navfull {\n\t\tdisplay: block!important;\n\t\tvisibility: visible;\n\t}\t\t\n}\n\n.showNavbar {\n\tdisplay: block!important;\n\tmax-height: 500px;\n}\n\n#navsmallbutton {\n\tposition: fixed;\n\ttop:10px;\n\tleft : 10px;\n\tz-index: 9999;\n\tbackground-color: #F5F5F5;\n\tdisplay:none;\n}\n\n.slideDown {\n margin-top: 60px;\n\ttransition: margin-top .5s ease-in-out;\n}\n\n.marginTop220 {\n\tmargin-top: 220px;\n}\n\n.form-signin {\n\tmargin-top:50px;\n\tmax-width: 350px;\n\tmargin: 0 auto;\n}\n\n.dropdown-menu {\n\tfont-size: .8em;\n}\n\n/*\n *\n * Common Form CSS\n *\n */\n\n.ueGenericLogin {\n\t/*border-radius: 0;*/\n\tbackground-color: #fff;\n\tbox-shadow: 3px 3px 10px 3px rgba(0,0,0,0.2);\n}\n\n.buttonFullWidth{\n\twidth: 100%;\n}\n\n.messageBlockNatural {\n\tbackground-color: #F3F7FC;\n\tcolor: #55606F;\n}\n\n.alert {\n\ttext-align: left;\n}\n\n.help-block {\n\tfont-size: 0.8em;\n}\n\n.mainArea {\n\tmargin-top: 150px;\n}\n\ninput:-webkit-autofill {\n\t-webkit-box-shadow: 0 0 0 1000px white inset;\n\tbackground-color: white !important;\n}\n\n.ueSubmitButton, .ueTextInput, .input-group-addon, .messageBlockNatural {\n\tborder-radius: 4px !important;\n}\n\n.input-group-addon {\n\tborder-top-right-radius: 0 !important;\n\tborder-bottom-right-radius: 0 !important;\n}\n\n.ueTextInput {\n\tborder-top-left-radius: 0 !important;\n\tborder-bottom-left-radius: 0 !important;\n}\n\nspan i.fa {\n\tmin-width: 14px;\n}";let Xc=class{constructor(){this.themeId="",this.resellerLogoUrl="",this.privacyPolicyUrl="",this.supportEmail="",this.helpUrl="",this.hidePoweredBy=!1,this.prodUrl="",this.sandboxUrl="",this.resellerSuffix="",typeof themeId<"u"&&(this.themeId=themeId),typeof resellerLogoUrl<"u"&&resellerLogoUrl&&(this.resellerLogoUrl=resellerLogoUrl),typeof privacyPolicyUrl<"u"&&(this.privacyPolicyUrl=privacyPolicyUrl),typeof supportEmail<"u"&&(this.supportEmail=supportEmail),typeof helpUrl<"u"&&helpUrl&&(this.helpUrl=helpUrl),typeof hidePoweredBy<"u"&&(this.hidePoweredBy=this.parseBoolean(hidePoweredBy)),typeof prodUrl<"u"&&(this.prodUrl=prodUrl),typeof sandboxUrl<"u"&&(this.sandboxUrl=sandboxUrl),typeof resellerSuffix<"u"&&(this.resellerSuffix=resellerSuffix)}parseBoolean(t){let e=!1;return!0===t&&(e=!0),"true"===t&&(e=!0),"1"===t&&(e=!0),e}};Xc.ctorParameters=()=>[],Xc=nt([rs()],Xc);let Zc=class{constructor(){}setHref(t){window.location.href=t}open(t){window.open(t)}createObjectURL(t){return window.URL.createObjectURL(t)}get locationOrigin(){let t="";return t=window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""),t}};Zc.ctorParameters=()=>[],Zc=nt([rs()],Zc);let Ky=class{constructor(){this.localStorageSupported=!0,this.checkLocalStorage()}get devSessionExpiration(){return this.localStorageSupported?new Date(window.localStorage.devSessionExpiration):this._devSessionExpiration}set devSessionExpiration(t){this.localStorageSupported?window.localStorage.devSessionExpiration=t:this._devSessionExpiration=t}checkLocalStorage(){try{window.localStorage.test="test"}catch{this.localStorageSupported=!1}}};Ky.ctorParameters=()=>[],Ky=nt([rs()],Ky);let oa=class{constructor(t){this.localStorage=t,this.maxTime=this.minutes(10),this.warningTime=this.minutes(.5),this.countdownOpen=!1}get devSessionWarning(){return new Date(this.localStorage.devSessionExpiration.getTime()-this.warningTime)}get devSessionExpiration(){return this.localStorage.devSessionExpiration}resetDevSessionExpiration(){const t=new Date;this.localStorage.devSessionExpiration=new Date(t.getTime()+this.maxTime)}expireDevSession(){const t=new Date;this.localStorage.devSessionExpiration=new Date(t.getTime()-1e4)}startInterval(t){this.interval=setInterval(t,1e3)}stopInterval(){this.expireDevSession(),this.interval&&clearInterval(this.interval)}minutes(t){return 60*t*1e3}};oa.ctorParameters=()=>[{type:Ky}],oa=nt([rs()],oa);let xs=class{constructor(t,e,s,i){this.http=t,this.ueWindowService=e,this.sessionTimeoutService=s,this.router=i,this.authHeader=new mo,this.csrf="",typeof csrf<"u"&&this.setCsrfToken(csrf)}handleSessionWhenPolling(t){t||this.sessionTimeoutService.resetDevSessionExpiration()}get(t,e=!1){return this.http.get(t,{headers:this.authHeader}).pipe(_n(()=>this.handleSessionWhenPolling(e)),Cs(s=>this.handleError(s)))}post(t,e,s=!1){return this.http.post(t,e,{headers:this.authHeader}).pipe(_n(()=>this.handleSessionWhenPolling(s)),Cs(i=>this.handleError(i)))}put(t,e,s=!1){return this.http.put(t,e,{headers:this.authHeader}).pipe(_n(()=>this.handleSessionWhenPolling(s)),Cs(i=>this.handleError(i)))}patch(t,e,s=!1){return this.http.patch(t,e,{headers:this.authHeader}).pipe(_n(()=>this.handleSessionWhenPolling(s)),Cs(i=>this.handleError(i)))}delete(t,e=!1){return this.http.delete(t,{headers:this.authHeader}).pipe(_n(()=>this.handleSessionWhenPolling(e)),Cs(s=>this.handleError(s)))}handleError(t){let e;403===t.status&&this.http.get("/api/DVPRTLFE/developers/keep_alive",{headers:this.getAuthHeader()}).subscribe(s=>Pl(e),s=>(this.router.navigate(["/login"],{queryParams:{accessDenied:!0}}),Pl(s)));try{e=JSON.parse(t._body)}catch{e={errorcode:t.status,error:t.statusText}}return Pl(e)}logoutUser(){this.ueWindowService.setHref("/_developer/app/login?timeout=1")}setCsrfToken(t){this.csrf=t,this.authHeader=(new mo).set("CSRF-Token",this.csrf)}removeCsrfToken(){this.csrf="",this.authHeader.delete("CSRF-Token")}getAuthHeader(){return this.authHeader}};xs.ctorParameters=()=>[{type:go},{type:Zc},{type:oa},{type:se}],xs=nt([rs()],xs);var iot=I(9769);let kn=class{constructor(t,e){this.ueHttp=t,this.sessionTimeoutService=e,this.baseUrl="/api/DVPRTLFE",this.url=`${this.baseUrl}/developers`,this.isLoggedIn=!1,this.permissions=[]}login(t){return this.ueHttp.post(this.url+"/login",t).pipe(_n(e=>{this.ueHttp.setCsrfToken(e.csrf)}))}logout(){return this.ueHttp.get(this.url+"/logout").pipe(_n(()=>{this.ueHttp.removeCsrfToken(),this.sessionTimeoutService.stopInterval(),this.isLoggedIn=!1}),Cs(()=>{throw this.ueHttp.removeCsrfToken(),this.sessionTimeoutService.stopInterval(),this.isLoggedIn=!1,{error:"Logout error"}}))}register(t){return this.ueHttp.post(this.url+"/register",t).pipe(_n(e=>{this.ueHttp.setCsrfToken(e.csrf)}))}registerCompany(t){return this.ueHttp.post(this.url+"/register-company",t)}forgotPW(t){return this.ueHttp.post(this.url+"/forgot_password",t)}resetPW(t){return this.ueHttp.post(this.url+"/password_reset",t)}getPermissions(){return this.ueHttp.get(this.url+"/user-permissions").pipe(_n(t=>{this.permissions=t}))}checkPermissions(t){const e=this.ueHttp.csrf,s=iot(e+t);return-1!==this.permissions.indexOf(s)}};kn.ctorParameters=()=>[{type:xs},{type:oa}],kn=nt([rs()],kn);let Qy=class{constructor(t,e,s){this.router=t,this.ueTheme=e,this.authService=s,this.showNavbar=!1}ngOnInit(){this.authService.isInvitation?this.title="Developer Activation":this.router.events.subscribe(t=>{t instanceof Ri&&this.getTitle(t.url)})}getTitle(t){switch(t.split("?")[0]){case"/login":default:this.title="Developer Log In";break;case"/lostpassword":case"/resetpassword":this.title="Reset Password";break;case"/register":this.title="Register"}}get showHelpLink(){return"disabled"!==this.ueTheme.helpUrl}get helpLink(){return this.ueTheme.helpUrl}get logoUrl(){return this.ueTheme.resellerLogoUrl}};Qy.ctorParameters=()=>[{type:se},{type:Xc},{type:kn}],Qy=nt([kt({selector:"ue-log-in",template:'\n\n\x3c!-- Mobile Navbar --\x3e\n\n\n
\n\t
\n\t\t \n\t
\n
\n',styles:[Af]})],Qy);let If=class{constructor(t,e,s){this.router=t,this.authService=e,this.ueTheme=s,this.navTabs=[],this.alertModalContent={header:"",body:""},this.baseUrl="/api/DVPRTLFE/developers",this.dropdownMenuOptions=[{label:"Edit User Profile",command:()=>this.router.navigate(["/profile/user"])},{label:"Change Password",command:()=>this.router.navigate(["/profile/change-password"])},{label:"divider"},{label:"Sign Out",command:()=>this.logout()}]}ngOnInit(){this.authService.getPermissions().subscribe(t=>{this.buildNavTabs()})}buildNavTabs(){if(this.navTabs=[{label:"Dashboard",icon:"fa fa-fw fa-tachometer",route:["/dashboard"]}],this.authService.checkPermissions("profile_view")){const r={label:"Company Profile",icon:"fa fa-fw fa-user-circle-o",route:["/profile/company"]};this.navTabs.push(r)}if(this.authService.checkPermissions("endpoints_view")){const r={label:"API Endpoints",icon:"fa fa-fw fa-list",route:["/endpoints"]};this.navTabs.push(r)}if(this.authService.checkPermissions("devices_view")){const r={label:"Devices",icon:"fa fa-fw fa-sitemap",route:["/devices"]};this.navTabs.push(r)}if(this.authService.checkPermissions("servers_view")){const r={label:"Device Servers",icon:"fa fa-fw fa-database",route:["/servers"]};this.navTabs.push(r)}const t={label:"Users",icon:"fa fa-fw fa-users",children:[]},e=this.authService.checkPermissions("members_view"),s=this.authService.checkPermissions("invites_view");if(e){const r={route:["/users/members"],label:"Members"};t.children.push(r)}if(s){const r={route:["/users/invites"],label:"Invites"};t.children.push(r)}(e||s)&&this.navTabs.push(t);this.navTabs.push({label:"Request Test Account",icon:"fa fa-fw fa-server",route:["/request-test-account"]})}logout(){this.authService.logout().subscribe(t=>{this.router.navigate(["/login"],{queryParams:{loggedOut:!0}})},t=>{this.openModal("Logout Error!","There was an issue logging you out. Please check to confirm that you are actually logged in. If the issue persists, please contact Customer Support.")})}openModal(t,e){this.alertModalContent.header=t,this.alertModalContent.body=e,this.alertModal.open()}closeModal(){this.alertModalContent.header="",this.alertModalContent.body="",this.alertModal.close()}get supportEmail(){return this.ueTheme.supportEmail}get privacyPolicyUrl(){return this.ueTheme.privacyPolicyUrl}get hidePoweredBy(){return this.ueTheme.hidePoweredBy}};function Lr(n){return null!=n&&"false"!=`${n}`}function Ud(n,t=0){return function oot(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function Es(n){return n instanceof Fe?n.nativeElement:n}If.ctorParameters=()=>[{type:se},{type:kn},{type:Xc}],If.propDecorators={alertModal:[{type:bt,args:["alertModal",{static:!0}]}]},If=nt([kt({selector:"ue-console",template:'\n\n\n\n
\n\t
\n\t\t\n\t
\n
\n\n\n\n\n\t\n\t\t

{{alertModalContent.header}}

\n\t
\n\t\n\t\t{{alertModalContent.body}}\n\t\n\t\n\t\tClose\n\t\n
\n\n'})],If);Object.prototype.toString;function m1(n,t,e,s){return M(e)&&(s=e,e=void 0),s?m1(n,t,e).pipe(jt(i=>w(i)?s(...i):s(i))):new it(i=>{iB(n,t,function r(o){arguments.length>1?i.next(Array.prototype.slice.call(arguments)):i.next(o)},i,e)})}function iB(n,t,e,s,i){let r;if(function uot(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const o=n;n.addEventListener(t,e,i),r=()=>o.removeEventListener(t,e,i)}else if(function cot(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const o=n;n.on(t,e),r=()=>o.off(t,e)}else if(function lot(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const o=n;n.addListener(t,e),r=()=>o.removeListener(t,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let o=0,a=n.length;oDate.now();class _o extends Jy{constructor(t,e=Jy.now){super(t,()=>_o.delegate&&_o.delegate!==this?_o.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,s){return _o.delegate&&_o.delegate!==this?_o.delegate.schedule(t,e,s):super.schedule(t,e,s)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let s;this.active=!0;do{if(s=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,s){for(;t=e.shift();)t.unsubscribe();throw s}}}const rB=new class pot extends _o{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let s,i=-1,r=e.length;t=t||e.shift();do{if(s=t.execute(t.state,t.delay))break}while(++i0?super.requestAsyncId(t,e,s):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,s=0){if(null!==s&&s>0||null===s&&this.delay>0)return super.recycleAsyncId(t,e,s);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});let fot=1;const mot=Promise.resolve(),Y0={};function oB(n){return n in Y0&&(delete Y0[n],!0)}const aB={setImmediate(n){const t=fot++;return Y0[t]=!0,mot.then(()=>oB(t)&&n()),t},clearImmediate(n){oB(n)}};const yot=new class _ot extends _o{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let s,i=-1,r=e.length;t=t||e.shift();do{if(s=t.execute(t.state,t.delay))break}while(++i0?super.requestAsyncId(t,e,s):(t.actions.push(this),t.scheduled||(t.scheduled=aB.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,s=0){if(null!==s&&s>0||null===s&&this.delay>0)return super.recycleAsyncId(t,e,s);0===t.actions.length&&(aB.clearImmediate(e),t.scheduled=void 0)}});function lB(n){return!!n&&(n instanceof it||"function"==typeof n.lift&&"function"==typeof n.subscribe)}function Xy(n,t){return e=>e.lift(new vot(n,t))}class vot{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new bot(t,this.compare,this.keySelector))}}class bot extends X{constructor(t,e,s){super(t),this.keySelector=s,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:i}=this;e=i?i(t):t}catch(i){return this.destination.error(i)}let s=!1;if(this.hasKey)try{const{compare:i}=this;s=i(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;s||(this.key=e,this.destination.next(t))}}const Zy=new _o(F0);class Dot{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new Mot(t,this.durationSelector))}}class Mot extends Ke{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:i}=this;e=i(t)}catch(i){return this.destination.error(i)}const s=ne(this,e);!s||s.closed?this.clearThrottle():this.add(this.throttled=s)}}clearThrottle(){const{value:t,hasValue:e,throttled:s}=this;s&&(this.remove(s),this.throttled=null,s.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,s,i){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function g1(n){return!w(n)&&n-parseFloat(n)+1>=0}function Cot(n){const{index:t,period:e,subscriber:s}=n;if(s.next(t),!s.closed){if(-1===e)return s.complete();n.index=t+1,this.schedule(n,e)}}function _1(n,t=Zy){return function wot(n){return function(e){return e.lift(new Dot(n))}}(()=>function Sot(n=0,t,e){let s=-1;return g1(t)?s=Number(t)<1?1:Number(t):Qt(t)&&(e=t),Qt(e)||(e=Zy),new it(i=>{const r=g1(n)?n:+n-e.now();return e.schedule(Cot,r,{index:0,period:s,subscriber:i})})}(n,t))}function tu(n){return t=>t.lift(new xot(n))}class xot{constructor(t){this.notifier=t}call(t,e){const s=new Eot(t),i=ne(s,this.notifier);return i&&!s.seenValue?(s.add(i),e.subscribe(s)):s}}class Eot extends Ke{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,s,i,r){this.seenValue=!0,this.complete()}notifyComplete(){}}class Tot{call(t,e){return e.subscribe(new Lot(t))}}class Lot extends X{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}const Pot=new class Iot extends _o{}(class Aot extends F0{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,s=0){return null!==s&&s>0||null===s&&this.delay>0?super.requestAsyncId(t,e,s):t.flush(this)}});var cB;!function(n){n.NEXT="N",n.ERROR="E",n.COMPLETE="C"}(cB||(cB={}));class Ar{constructor(t,e,s){this.kind=t,this.value=e,this.error=s,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,s){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return s&&s()}}accept(t,e,s){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,s)}toObservable(){switch(this.kind){case"N":return Bt(this.value);case"E":return Pl(this.error);case"C":return y0()}throw new Error("unexpected notification kind value")}static createNext(t){return typeof t<"u"?new Ar("N",t):Ar.undefinedValueNotification}static createError(t){return new Ar("E",void 0,t)}static createComplete(){return Ar.completeNotification}}Ar.completeNotification=new Ar("C"),Ar.undefinedValueNotification=new Ar("N",void 0);class H0 extends X{constructor(t,e,s=0){super(t),this.scheduler=e,this.delay=s}static dispatch(t){const{notification:e,destination:s}=t;e.observe(s),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(H0.dispatch,this.delay,new Rot(t,this.destination)))}_next(t){this.scheduleMessage(Ar.createNext(t))}_error(t){this.scheduleMessage(Ar.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(Ar.createComplete()),this.unsubscribe()}}class Rot{constructor(t,e){this.notification=t,this.destination=e}}class uB extends tt{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,s){super(),this.scheduler=s,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new Not(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,s=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=s.length;let o;if(this.closed)throw new U;if(this.isStopped||this.hasError?o=O.EMPTY:(this.observers.push(t),o=new B(this,t)),i&&t.add(t=new H0(t,i)),e)for(let a=0;ae&&(o=Math.max(o,r-e)),o>0&&i.splice(0,o),i}}class Not{constructor(t,e){this.time=t,this.value=e}}function Fot(n,t,e){let s;return s=n&&"object"==typeof n?n:{bufferSize:n,windowTime:t,refCount:!1,scheduler:e},i=>i.lift(function Yot({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:e,scheduler:s}){let i,o,r=0,a=!1,l=!1;return function(u){r++,(!i||a)&&(a=!1,i=new uB(n,t,s),o=u.subscribe({next(m){i.next(m)},error(m){a=!0,i.error(m)},complete(){l=!0,o=void 0,i.complete()}}));const h=i.subscribe(this);this.add(()=>{r--,h.unsubscribe(),o&&!l&&e&&0===r&&(o.unsubscribe(),o=void 0,i=void 0)})}}(s))}let y1;try{y1=typeof Intl<"u"&&Intl.v8BreakIterator}catch{y1=!1}class yo{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function get(n){return n===dT}(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&&!y1)&&typeof CSS<"u"&&!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}}yo.\u0275fac=function(t){return new(t||yo)(rt(I_))},yo.\u0275prov=vt({token:yo,factory:yo.\u0275fac,providedIn:"root"});class Fl{}Fl.\u0275fac=function(t){return new(t||Fl)},Fl.\u0275mod=Dn({type:Fl}),Fl.\u0275inj=hn({});let tv,j0,$d,v1;function ev(n){return function Hot(){if(null==tv&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>tv=!0}))}finally{tv=tv||!1}return tv}()?n:!!n.capture}function nv(){if("object"!=typeof document||!document)return 0;if(null==j0){const n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),s=e.style;s.width="2px",s.height="1px",n.appendChild(e),document.body.appendChild(n),j0=0,0===n.scrollLeft&&(n.scrollLeft=1,j0=0===n.scrollLeft?1:2),n.remove()}return j0}function b1(n){if(function Vot(){if(null==v1){const n=typeof document<"u"?document.head:null;v1=!(!n||!n.createShadowRoot&&!n.attachShadow)}return v1}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Yl(n){return n.composedPath?n.composedPath()[0]:n.target}const Uot=new At("cdk-dir-doc",{providedIn:"root",factory:function $ot(){return xa(Se)}});const zot=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function hB(n){var t;const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&null!==(t=navigator)&&void 0!==t&&t.language?zot.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}class aa{constructor(t){if(this.value="ltr",this.change=new Mt,t){const e=t.body?t.body.dir:null,s=t.documentElement?t.documentElement.dir:null;this.value=hB(e||s||"ltr")}}ngOnDestroy(){this.change.complete()}}aa.\u0275fac=function(t){return new(t||aa)(rt(Uot,8))},aa.\u0275prov=vt({token:aa,factory:aa.\u0275fac,providedIn:"root"});class zd{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new Mt}get dir(){return this._dir}set dir(t){const e=this._dir;this._dir=hB(t),this._rawDir=t,e!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}zd.\u0275fac=function(t){return new(t||zd)},zd.\u0275dir=Nt({type:zd,selectors:[["","dir",""]],hostVars:1,hostBindings:function(t,e){2&t&&dr("dir",e._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[We([{provide:aa,useExisting:zd}])]});class Hl{}Hl.\u0275fac=function(t){return new(t||Hl)},Hl.\u0275mod=Dn({type:Hl,declarations:[zd],exports:[zd]}),Hl.\u0275inj=hn({});class Got extends class Wot{}{constructor(t){super(),this._data=t}connect(){return lB(this._data)?this._data:Bt(this._data)}disconnect(){}}class sv{constructor(){this._listeners=[]}notify(t,e){for(let s of this._listeners)s(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}sv.\u0275fac=function(t){return new(t||sv)},sv.\u0275prov=vt({token:sv,factory:sv.\u0275fac,providedIn:"root"});const pB=new At("_ViewRepeater"),Qot=["contentWrapper"],fB=new At("VIRTUAL_SCROLL_STRATEGY");class Xot{constructor(t,e,s){this._scrolledIndexChange=new tt,this.scrolledIndexChange=this._scrolledIndexChange.pipe(Xy()),this._viewport=null,this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=s}attach(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(t,e,s){this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=s,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(t,e){this._viewport&&this._viewport.scrollToOffset(t*this._itemSize,e)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const t=this._viewport.getRenderedRange(),e={start:t.start,end:t.end},s=this._viewport.getViewportSize(),i=this._viewport.getDataLength();let r=this._viewport.measureScrollOffset(),o=this._itemSize>0?r/this._itemSize:0;if(e.end>i){const l=Math.ceil(s/this._itemSize),c=Math.max(0,Math.min(o,i-l));o!=c&&(o=c,r=c*this._itemSize,e.start=Math.floor(o)),e.end=Math.max(0,Math.min(i,e.start+l))}const a=r-e.start*this._itemSize;if(a0&&(e.end=Math.min(i,e.end+c),e.start=Math.max(0,Math.floor(o-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(this._itemSize*e.start),this._scrolledIndexChange.next(Math.floor(o))}}class Wd{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Xot(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=Ud(t)}get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=Ud(t)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=Ud(t)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}Wd.\u0275fac=function(t){return new(t||Wd)},Wd.\u0275dir=Nt({type:Wd,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[We([{provide:fB,useFactory:function Zot(n){return n._scrollStrategy},deps:[Ve(()=>Wd)]}]),bs]});class eu{constructor(t,e,s){this._ngZone=t,this._platform=e,this._scrolled=new tt,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new it(e=>{this._globalSubscription||this._addGlobalListener();const s=t>0?this._scrolled.pipe(_1(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Bt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const s=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(as(i=>!i||s.indexOf(i)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((s,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let s=Es(e),i=t.getElementRef().nativeElement;do{if(s==i)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>m1(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}eu.\u0275fac=function(t){return new(t||eu)(rt(ke),rt(yo),rt(Se,8))},eu.\u0275prov=vt({token:eu,factory:eu.\u0275fac,providedIn:"root"});class nu{constructor(t,e,s,i){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=s,this.dir=i,this._destroyed=new tt,this._elementScrolled=new it(r=>this.ngZone.runOutsideAngular(()=>m1(this.elementRef.nativeElement,"scroll").pipe(tu(this._destroyed)).subscribe(r)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,s=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=s?t.end:t.start),null==t.right&&(t.right=s?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),s&&0!=nv()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==nv()?t.left=t.right:1==nv()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;!function jot(){if(null==$d){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return $d=!1,$d;if("scrollBehavior"in document.documentElement.style)$d=!0;else{const n=Element.prototype.scrollTo;$d=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return $d}()?(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left)):e.scrollTo(t)}measureScrollOffset(t){const e="left",s="right",i=this.elementRef.nativeElement;if("top"==t)return i.scrollTop;if("bottom"==t)return i.scrollHeight-i.clientHeight-i.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==t?t=r?s:e:"end"==t&&(t=r?e:s),r&&2==nv()?t==e?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:r&&1==nv()?t==e?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:t==e?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}}nu.\u0275fac=function(t){return new(t||nu)(Q(Fe),Q(eu),Q(ke),Q(aa,8))},nu.\u0275dir=Nt({type:nu,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]});class qd{constructor(t,e,s){this._platform=t,this._change=new tt,this._changeListener=i=>{this._change.next(i)},this._document=s,e.runOutsideAngular(()=>{if(t.isBrowser){const i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:s}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+s,right:t.left+e,height:s,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),s=t.documentElement,i=s.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||s.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||s.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(_1(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}qd.\u0275fac=function(t){return new(t||qd)(rt(yo),rt(ke),rt(Se,8))},qd.\u0275prov=vt({token:qd,factory:qd.\u0275fac,providedIn:"root"});const sat=typeof requestAnimationFrame<"u"?rB:yot;class su extends nu{constructor(t,e,s,i,r,o,a){super(t,o,s,r),this.elementRef=t,this._changeDetectorRef=e,this._scrollStrategy=i,this._detachedSubject=new tt,this._renderedRangeSubject=new tt,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new it(l=>this._scrollStrategy.scrolledIndexChange.subscribe(c=>Promise.resolve().then(()=>this.ngZone.run(()=>l.next(c))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=O.EMPTY,this._viewportChanges=a.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(t){this._appendOnly=Lr(t)}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe(xf(null),_1(0,sat)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(t){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe(tu(this._detachedSubject)).subscribe(e=>{const s=e.length;s!==this._dataLength&&(this._dataLength=s,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){(function nat(n,t){return n.start==t.start&&n.end==t.end})(this._renderedRange,t)||(this.appendOnly&&(t={start:0,end:Math.max(this._renderedRange.end,t.end)}),this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,e="to-start"){const s=this.dir&&"rtl"==this.dir.value,i="horizontal"==this.orientation,r=i?"X":"Y";let a=`translate${r}(${Number((i&&s?-1:1)*t)}px)`;this._renderedContentOffset=t,"to-end"===e&&(a+=` translate${r}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=a&&(this._renderedContentTransform=a,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(t,e="auto"){const s={behavior:e};"horizontal"===this.orientation?s.start=t:s.top=t,this.scrollTo(s)}scrollToIndex(t,e="auto"){this._scrollStrategy.scrollToIndex(t,e)}measureScrollOffset(t){return t?super.measureScrollOffset(t):super.measureScrollOffset("horizontal"===this.orientation?"start":"top")}measureRenderedContentSize(){const t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const t=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?t.clientWidth:t.clientHeight}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const e of t)e()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}function mB(n,t,e){const s=e;if(!s.getBoundingClientRect)return 0;const i=s.getBoundingClientRect();return"horizontal"===n?"start"===t?i.left:i.right:"start"===t?i.top:i.bottom}su.\u0275fac=function(t){return new(t||su)(Q(Fe),Q(Uo),Q(ke),Q(fB,8),Q(aa,8),Q(eu),Q(qd))},su.\u0275cmp=Ih({type:su,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,e){if(1&t&&qO(Qot,7),2&t){let s;Wu(s=qu())&&(e._contentWrapper=s.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,e){2&t&&$u("cdk-virtual-scroll-orientation-horizontal","horizontal"===e.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==e.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[We([{provide:nu,useExisting:su}]),sn],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(t,e){1&t&&(l2(),ww(0,"div",0,1),c2(2),Dw(),Mw(3,"div",2)),2&t&&(WI(3),Tx("width",e._totalContentWidth)("height",e._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});class Of{constructor(t,e,s,i,r,o){this._viewContainerRef=t,this._template=e,this._differs=s,this._viewRepeater=i,this._viewport=r,this.viewChange=new tt,this._dataSourceChanges=new tt,this.dataStream=this._dataSourceChanges.pipe(xf(null),function kot(){return n=>n.lift(new Tot)}(),na(([a,l])=>this._changeDataSource(a,l)),Fot(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new tt,this.dataStream.subscribe(a=>{this._data=a,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(tu(this._destroyed)).subscribe(a=>{this._renderedRange=a,o.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){this._cdkVirtualForOf=t,function qot(n){return n&&"function"==typeof n.connect}(t)?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new Got(lB(t)?t:Array.from(t||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(t){this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?(e,s)=>t(e+(this._renderedRange?this._renderedRange.start:0),s):void 0}set cdkVirtualForTemplate(t){t&&(this._needsUpdate=!0,this._template=t)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(t){this._viewRepeater.viewCacheSize=Ud(t)}measureRangeSize(t,e){if(t.start>=t.end)return 0;t.start-1;a--){const l=this._viewContainerRef.get(a+s);if(l&&l.rootNodes.length){o=l.rootNodes[l.rootNodes.length-1];break}}return r&&o?mB(e,"end",o)-mB(e,"start",r):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((t,e)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(t,e):e)),this._needsUpdate=!0)}_changeDataSource(t,e){return t&&t.disconnect(this),this._needsUpdate=!0,e?e.connect(this):Bt()}_updateContext(){const t=this._data.length;let e=this._viewContainerRef.length;for(;e--;){const s=this._viewContainerRef.get(e);s.context.index=this._renderedRange.start+e,s.context.count=t,this._updateComputedContextProperties(s.context),s.detectChanges()}}_applyChanges(t){this._viewRepeater.applyChanges(t,this._viewContainerRef,(i,r,o)=>this._getEmbeddedViewArgs(i,o),i=>i.item),t.forEachIdentityChange(i=>{this._viewContainerRef.get(i.currentIndex).context.$implicit=i.item});const e=this._data.length;let s=this._viewContainerRef.length;for(;s--;){const i=this._viewContainerRef.get(s);i.context.index=this._renderedRange.start+s,i.context.count=e,this._updateComputedContextProperties(i.context)}}_updateComputedContextProperties(t){t.first=0===t.index,t.last=t.index===t.count-1,t.even=t.index%2==0,t.odd=!t.even}_getEmbeddedViewArgs(t,e){return{templateRef:this._template,context:{$implicit:t.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:e}}}Of.\u0275fac=function(t){return new(t||Of)(Q(Ns),Q(Rs),Q(fr),Q(pB),Q(su,4),Q(ke))},Of.\u0275dir=Nt({type:Of,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[We([{provide:pB,useClass:class Kot{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,s,i,r){t.forEachOperation((o,a,l)=>{let c,u;if(null==o.previousIndex){const m=()=>s(o,a,l);c=this._insertView(m,l,e,i(o)),u=c?1:0}else null==l?(this._detachAndCacheView(a,e),u=3):(c=this._moveView(a,l,e,i(o)),u=2);var h;r&&r({context:null===(h=c)||void 0===h?void 0:h.context,operation:u,record:o})})}detach(){for(const t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,e,s,i){const r=this._insertViewFromCache(e,s);if(r)return void(r.context.$implicit=i);const o=t();return s.createEmbeddedView(o.templateRef,o.context,o.index)}_detachAndCacheView(t,e){const s=e.detach(t);this._maybeCacheView(s,e)}_moveView(t,e,s,i){const r=s.get(t);return s.move(r,e),r.context.$implicit=i,r}_maybeCacheView(t,e){if(this._viewCache.lengththis.total&&this.destination.next(t)}}function gB(n,t=Zy){return e=>e.lift(new hat(n,t))}class hat{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new pat(t,this.dueTime,this.scheduler))}}class pat extends X{constructor(t,e,s){super(t),this.dueTime=e,this.scheduler=s,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(fat,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function fat(n){n.debouncedNext()}class Gd{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}}Gd.\u0275fac=function(t){return new(t||Gd)},Gd.\u0275prov=vt({token:Gd,factory:Gd.\u0275fac,providedIn:"root"});class Kd{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Es(t);return new it(s=>{const r=this._observeElement(e).subscribe(s);return()=>{r.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new tt,s=this._mutationObserverFactory.create(i=>e.next(i));s&&s.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:s,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:s}=this._observedElements.get(t);e&&e.disconnect(),s.complete(),this._observedElements.delete(t)}}}Kd.\u0275fac=function(t){return new(t||Kd)(rt(Gd))},Kd.\u0275prov=vt({token:Kd,factory:Kd.\u0275fac,providedIn:"root"});class Rf{constructor(t,e,s){this._contentObserver=t,this._elementRef=e,this._ngZone=s,this.event=new Mt,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Lr(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Ud(t),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(gB(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}Rf.\u0275fac=function(t){return new(t||Rf)(Q(Kd),Q(Fe),Q(ke))},Rf.\u0275dir=Nt({type:Rf,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});class Qd{}Qd.\u0275fac=function(t){return new(t||Qd)},Qd.\u0275mod=Dn({type:Qd,declarations:[Rf],exports:[Rf]}),Qd.\u0275inj=hn({providers:[Gd]});function V0(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const yB="cdk-describedby-message-container",vB="cdk-describedby-message",B0="cdk-describedby-host";let _at=0;const la=new Map;let Ji=null;class rv{constructor(t){this._document=t}describe(t,e,s){if(!this._canBeDescribed(t,e))return;const i=w1(e,s);"string"!=typeof e?(bB(e),la.set(i,{messageElement:e,referenceCount:0})):la.has(i)||this._createMessageElement(e,s),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}removeDescription(t,e,s){if(!e||!this._isElementNode(t))return;const i=w1(e,s);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),"string"==typeof e){const r=la.get(i);r&&0===r.referenceCount&&this._deleteMessageElement(i)}Ji&&0===Ji.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll(`[${B0}]`);for(let e=0;e0!=s.indexOf(vB));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const s=la.get(e);(function mat(n,t,e){const s=V0(n,t);s.some(i=>i.trim()==e.trim())||(s.push(e.trim()),n.setAttribute(t,s.join(" ")))})(t,"aria-describedby",s.messageElement.id),t.setAttribute(B0,""),s.referenceCount++}_removeMessageReference(t,e){const s=la.get(e);s.referenceCount--,function gat(n,t,e){const i=V0(n,t).filter(r=>r!=e.trim());i.length?n.setAttribute(t,i.join(" ")):n.removeAttribute(t)}(t,"aria-describedby",s.messageElement.id),t.removeAttribute(B0)}_isElementDescribedByMessage(t,e){const s=V0(t,"aria-describedby"),i=la.get(e),r=i&&i.messageElement.id;return!!r&&-1!=s.indexOf(r)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const s=null==e?"":`${e}`.trim(),i=t.getAttribute("aria-label");return!!s&&(!i||i.trim()!==s)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}function w1(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function bB(n){n.id||(n.id=`${vB}-${_at++}`)}rv.\u0275fac=function(t){return new(t||rv)(rt(Se))},rv.\u0275prov=vt({token:rv,factory:rv.\u0275fac,providedIn:"root"});class Jd{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function vat(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function yat(n){try{return n.frameElement}catch{return null}}(function Eat(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(t));if(e&&(-1===DB(e)||!this.isVisible(e)))return!1;let s=t.nodeName.toLowerCase(),i=DB(t);return t.hasAttribute("contenteditable")?-1!==i:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function Cat(n){let t=n.nodeName.toLowerCase(),e="input"===t&&n.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(t))&&("audio"===s?!!t.hasAttribute("controls")&&-1!==i:"video"===s?-1!==i&&(null!==i||(this._platform.FIREFOX||t.hasAttribute("controls"))):t.tabIndex>=0)}isFocusable(t,e){return function xat(n){return!function wat(n){return function Mat(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function bat(n){let t=n.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(n)||function Dat(n){return function Sat(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||wB(n))}(t)&&!this.isDisabled(t)&&(e?.ignoreVisibility||this.isVisible(t))}}function wB(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let t=n.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function DB(n){if(!wB(n))return null;const t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}Jd.\u0275fac=function(t){return new(t||Jd)(rt(yo))},Jd.\u0275prov=vt({token:Jd,factory:Jd.\u0275fac,providedIn:"root"});class MB{constructor(t,e,s,i,r=!1){this._element=t,this._checker=e,this._ngZone=s,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.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)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const s=this._getFirstTabbableElement(e);return s?.focus(t),!!s}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let s=0;s=0;s--){const i=e[s].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[s]):null;if(i)return i}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Wc(1)).subscribe(t)}}class Nf{constructor(t,e,s){this._checker=t,this._ngZone=e,this._document=s}create(t,e=!1){return new MB(t,this._checker,this._ngZone,this._document,e)}}Nf.\u0275fac=function(t){return new(t||Nf)(rt(Jd),rt(ke),rt(Se))},Nf.\u0275prov=vt({token:Nf,factory:Nf.\u0275fac,providedIn:"root"});class Ff{constructor(t,e,s){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=Lr(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=Lr(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=function Bot(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}(),this.focusTrap.focusInitialElementWhenReady()}}Ff.\u0275fac=function(t){return new(t||Ff)(Q(Fe),Q(Nf),Q(Se))},Ff.\u0275dir=Nt({type:Ff,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[bs]});class kat extends MB{constructor(t,e,s,i,r,o,a){super(t,e,s,i,a.defer),this._focusTrapManager=r,this._inertStrategy=o,this._focusTrapManager.register(this)}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}const Tat=new At("FOCUS_TRAP_INERT_STRATEGY");class Lat{constructor(){this._listener=null}preventFocus(t){this._listener&&t._document.removeEventListener("focus",this._listener,!0),this._listener=e=>this._trapFocus(t,e),t._ngZone.runOutsideAngular(()=>{t._document.addEventListener("focus",this._listener,!0)})}allowFocus(t){!this._listener||(t._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(t,e){var s;const i=e.target,r=t._element;i&&!r.contains(i)&&(null===(s=i.closest)||void 0===s||!s.call(i,"div.cdk-overlay-pane"))&&setTimeout(()=>{t.enabled&&!r.contains(t._document.activeElement)&&t.focusFirstTabbableElement()})}}class Yf{constructor(){this._focusTrapStack=[]}register(t){this._focusTrapStack=this._focusTrapStack.filter(s=>s!==t);let e=this._focusTrapStack;e.length&&e[e.length-1]._disable(),e.push(t),t._enable()}deregister(t){t._disable();const e=this._focusTrapStack,s=e.indexOf(t);-1!==s&&(e.splice(s,1),e.length&&e[e.length-1]._enable())}}Yf.\u0275fac=function(t){return new(t||Yf)},Yf.\u0275prov=vt({token:Yf,factory:Yf.\u0275fac,providedIn:"root"});class ov{constructor(t,e,s,i,r){this._checker=t,this._ngZone=e,this._focusTrapManager=s,this._document=i,this._inertStrategy=r||new Lat}create(t,e={defer:!1}){let s;return s="boolean"==typeof e?{defer:e}:e,new kat(t,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,s)}}function SB(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function CB(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}ov.\u0275fac=function(t){return new(t||ov)(rt(Jd),rt(ke),rt(Yf),rt(Se),rt(Tat,8))},ov.\u0275prov=vt({token:ov,factory:ov.\u0275fac,providedIn:"root"});const Aat=new At("cdk-input-modality-detector-options"),Iat={ignoreKeys:[18,17,224,91,16]},Hf=ev({passive:!0,capture:!0});class jf{constructor(t,e,s,i){this._platform=t,this._mostRecentTarget=null,this._modality=new Qi(null),this._lastTouchMs=0,this._onKeydown=r=>{var o,a;null!==(o=this._options)&&void 0!==o&&null!==(a=o.ignoreKeys)&&void 0!==a&&a.some(l=>l===r.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Yl(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(SB(r)?"keyboard":"mouse"),this._mostRecentTarget=Yl(r))},this._onTouchstart=r=>{CB(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Yl(r))},this._options={...Iat,...i},this.modalityDetected=this._modality.pipe(function cat(n){return t=>t.lift(new uat(n))}(1)),this.modalityChanged=this.modalityDetected.pipe(Xy()),t.isBrowser&&e.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,Hf),s.addEventListener("mousedown",this._onMousedown,Hf),s.addEventListener("touchstart",this._onTouchstart,Hf)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Hf),document.removeEventListener("mousedown",this._onMousedown,Hf),document.removeEventListener("touchstart",this._onTouchstart,Hf))}}jf.\u0275fac=function(t){return new(t||jf)(rt(yo),rt(ke),rt(Se),rt(Aat,8))},jf.\u0275prov=vt({token:jf,factory:jf.\u0275fac,providedIn:"root"});const Pat=new At("liveAnnouncerElement",{providedIn:"root",factory:function Oat(){return null}});const Rat=new At("LIVE_ANNOUNCER_DEFAULT_OPTIONS");class Vf{constructor(t,e,s,i){this._ngZone=e,this._defaultOptions=i,this._document=s,this._liveElement=t||this._createLiveElement()}announce(t,...e){const s=this._defaultOptions;let i,r;return 1===e.length&&"number"==typeof e[0]?r=e[0]:[i,r]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=s&&s.politeness?s.politeness:"polite"),null==r&&s&&(r=s.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(o=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,o(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var t;clearTimeout(this._previousTimeout),null===(t=this._liveElement)||void 0===t||t.remove(),this._liveElement=null}_createLiveElement(){const t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),s=this._document.createElement("div");for(let i=0;ithis._contentObserver.observe(this._elementRef).subscribe(()=>{const e=this._elementRef.nativeElement.textContent;e!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(e,this._politeness),this._previousAnnouncedText=e)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}Bf.\u0275fac=function(t){return new(t||Bf)(Q(Fe),Q(Vf),Q(Kd),Q(ke))},Bf.\u0275dir=Nt({type:Bf,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]});const Nat=new At("cdk-focus-monitor-default-options"),U0=ev({passive:!0,capture:!0});class Uf{constructor(t,e,s,i,r){this._ngZone=t,this._platform=e,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new tt,this._rootNodeFocusAndBlurListener=o=>{const a=Yl(o),l="focus"===o.type?this._onFocus:this._onBlur;for(let c=a;c;c=c.parentElement)l.call(this,o,c)},this._document=i,this._detectionMode=r?.detectionMode||0}monitor(t,e=!1){const s=Es(t);if(!this._platform.isBrowser||1!==s.nodeType)return Bt(null);const i=b1(s)||this._getDocument(),r=this._elementInfo.get(s);if(r)return e&&(r.checkChildren=!0),r.subject;const o={checkChildren:e,subject:new tt,rootNode:i};return this._elementInfo.set(s,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=Es(t),s=this._elementInfo.get(e);s&&(s.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(s))}focusVia(t,e,s){const i=Es(t);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([o,a])=>this._originChanged(o,e,a)):(this._setOrigin(e),"function"==typeof i.focus&&i.focus(s))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!(null==t||!t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,e){t.classList.toggle("cdk-focused",!!e),t.classList.toggle("cdk-touch-focused","touch"===e),t.classList.toggle("cdk-keyboard-focused","keyboard"===e),t.classList.toggle("cdk-mouse-focused","mouse"===e),t.classList.toggle("cdk-program-focused","program"===e)}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction="touch"===t&&e,0===this._detectionMode){clearTimeout(this._originTimeoutId);const s=this._originFromTouchInteraction?650:1;this._originTimeoutId=setTimeout(()=>this._origin=null,s)}})}_onFocus(t,e){const s=this._elementInfo.get(e),i=Yl(t);!s||!s.checkChildren&&e!==i||this._originChanged(e,this._getFocusOrigin(i),s)}_onBlur(t,e){const s=this._elementInfo.get(e);!s||s.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(s.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,s=this._rootNodeFocusListenerCount.get(e)||0;s||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,U0),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,U0)}),this._rootNodeFocusListenerCount.set(e,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(tu(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,!0)}))}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const s=this._rootNodeFocusListenerCount.get(e);s>1?this._rootNodeFocusListenerCount.set(e,s-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,U0),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,U0),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,s){this._setClasses(t,e),this._emitOrigin(s.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((s,i)=>{(i===t||s.checkChildren&&i.contains(t))&&e.push([i,s])}),e}}Uf.\u0275fac=function(t){return new(t||Uf)(rt(ke),rt(yo),rt(jf),rt(Se,8),rt(Nat,8))},Uf.\u0275prov=vt({token:Uf,factory:Uf.\u0275fac,providedIn:"root"});class $f{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new Mt}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>this.cdkFocusChange.emit(e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}$f.\u0275fac=function(t){return new(t||$f)(Q(Fe),Q(Uf))},$f.\u0275dir=Nt({type:$f,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}});const EB="cdk-high-contrast-black-on-white",kB="cdk-high-contrast-white-on-black",D1="cdk-high-contrast-active";class zf{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,s=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(s&&s.backgroundColor||"").replace(/ /g,"");switch(t.remove(),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(D1),t.remove(EB),t.remove(kB),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add(D1),t.add(EB)):2===e&&(t.add(D1),t.add(kB))}}}zf.\u0275fac=function(t){return new(t||zf)(rt(yo),rt(Se))},zf.\u0275prov=vt({token:zf,factory:zf.\u0275fac,providedIn:"root"});class av{constructor(t){t._applyBodyHighContrastModeCssClasses()}}function Yat(n){const{subscriber:t,counter:e,period:s}=n;t.next(e),this.schedule({subscriber:t,counter:e+1,period:s},s)}function M1(n,t,e){for(let s in t)if(t.hasOwnProperty(s)){const i=t[s];i?n.setProperty(s,i,null!=e&&e.has(s)?"important":""):n.removeProperty(s)}return n}function Wf(n,t){const e=t?"":"none";M1(n.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function TB(n,t,e){M1(n.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}function $0(n,t){return t&&"none"!=t?n+" "+t:n}function LB(n){const t=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*t}function S1(n,t){return n.getPropertyValue(t).split(",").map(s=>s.trim())}function C1(n){const t=n.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function x1(n,t,e){const{top:s,bottom:i,left:r,right:o}=n;return e>=s&&e<=i&&t>=r&&t<=o}function lv(n,t,e){n.top+=t,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function AB(n,t,e,s){const{top:i,right:r,bottom:o,left:a,width:l,height:c}=n,u=l*t,h=c*t;return s>i-h&&sa-u&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:C1(e)})})}handleScroll(t){const e=Yl(t),s=this.positions.get(e);if(!s)return null;const i=s.scrollPosition;let r,o;if(e===this._document){const c=this._viewportRuler.getViewportScrollPosition();r=c.top,o=c.left}else r=e.scrollTop,o=e.scrollLeft;const a=i.top-r,l=i.left-o;return this.positions.forEach((c,u)=>{c.clientRect&&e!==u&&e.contains(u)&&lv(c.clientRect,a,l)}),i.top=r,i.left=o,{top:a,left:l}}}function PB(n){const t=n.cloneNode(!0),e=t.querySelectorAll("[id]"),s=n.nodeName.toLowerCase();t.removeAttribute("id");for(let i=0;i{if(this.beforeStarted.next(),this._handles.length){const l=this._handles.find(c=>a.target&&(a.target===c||c.contains(a.target)));l&&!this._disabledHandles.has(l)&&!this.disabled&&this._initializeDragSequence(l,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{const l=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging){if(Math.abs(l.x-this._pickupPositionOnPage.x)+Math.abs(l.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const v=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),D=this._dropContainer;if(!v)return void this._endDragSequence(a);(!D||!D.isDragging()&&!D.isReceiving())&&(a.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(a)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),a.preventDefault();const c=this._getConstrainedPointerPosition(l);if(this._hasMoved=!0,this._lastKnownPointerPosition=l,this._updatePointerDirectionDelta(c),this._dropContainer)this._updateActiveDropContainer(c,l);else{const u=this._activeTransform;u.x=c.x-this._pickupPositionOnPage.x+this._passiveTransform.x,u.y=c.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(u.x,u.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:c,event:a,distance:this._getDragDistance(c),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>{this._endDragSequence(a)},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new IB(s,r),o.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=Lr(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(s=>Wf(s,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(s=>Es(s)),this._handles.forEach(s=>Wf(s,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(s=>{this._handles.indexOf(s)>-1&&e.add(s)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Es(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,YB),e.addEventListener("touchstart",this._pointerDown,FB)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Es(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){var t,e;(this._removeRootElementListeners(this._rootElement),this.isDragging())&&(null===(e=this._rootElement)||void 0===e||e.remove());null===(t=this._anchor)||void 0===t||t.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),Wf(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),Wf(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var t,e;null===(t=this._preview)||void 0===t||t.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var t,e;null===(t=this._placeholder)||void 0===t||t.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){cv(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const s=this._rootElement,i=s.parentNode,r=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();i.insertBefore(o,s),this._initialTransform=s.style.transform||"",this._preview=this._createPreviewElement(),TB(s,!1,E1),this._document.body.appendChild(i.replaceChild(r,s)),this._getPreviewInsertionPoint(i,a).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const s=this.isDragging(),i=cv(e),r=!i&&0!==e.button,o=this._rootElement,a=Yl(e),l=!i&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),c=i?CB(e):SB(e);if(a&&a.draggable&&"mousedown"===e.type&&e.preventDefault(),s||r||l||c)return;if(this._handles.length){const m=o.style;this._rootElementTapHighlight=m.webkitTapHighlightColor||"",m.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(m=>this._updateOnScroll(m)),this._boundaryElement&&(this._boundaryRect=C1(this._boundaryElement));const u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const h=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:h.x,y:h.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){TB(this._rootElement,!0,E1),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,s=e.getItemIndex(this),i=this._getPointerPositionOnPage(t),r=this._getDragDistance(i),o=e._isOverContainer(i.x,i.y);this.ended.next({source:this,distance:r,dropPoint:i}),this.dropped.next({item:this,currentIndex:s,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:r,dropPoint:i}),e.drop(this,s,this._initialIndex,this._initialContainer,o,r,i),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:s,y:i}){let r=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=r,this._dropContainer.enter(this,t,e,r===this._initialContainer&&r.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:r,currentIndex:r.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(s,i),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,s=t?t.template:null;let i;if(s&&t){const r=t.matchSize?this._rootElement.getBoundingClientRect():null,o=t.viewContainer.createEmbeddedView(s,t.context);o.detectChanges(),i=jB(o,this._document),this._previewRef=o,t.matchSize?VB(i,r):i.style.transform=z0(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const r=this._rootElement;i=PB(r),VB(i,r.getBoundingClientRect()),this._initialTransform&&(i.style.transform=this._initialTransform)}return M1(i.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},E1),Wf(i,!1),i.classList.add("cdk-drag-preview"),i.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(r=>i.classList.add(r)):i.classList.add(e)),i}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function Hat(n){const t=getComputedStyle(n),e=S1(t,"transition-property"),s=e.find(a=>"transform"===a||"all"===a);if(!s)return 0;const i=e.indexOf(s),r=S1(t,"transition-duration"),o=S1(t,"transition-delay");return LB(r[i])+LB(o[i])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(s=>{const i=o=>{var a;(!o||Yl(o)===this._preview&&"transform"===o.propertyName)&&(null===(a=this._preview)||void 0===a||a.removeEventListener("transitionend",i),s(),clearTimeout(r))},r=setTimeout(i,1.5*e);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let s;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),s=jB(this._placeholderRef,this._document)):s=PB(this._rootElement),s.classList.add("cdk-drag-placeholder"),s}_getPointerPositionInElement(t,e){const s=this._rootElement.getBoundingClientRect(),i=t===this._rootElement?null:t,r=i?i.getBoundingClientRect():s,o=cv(e)?e.targetTouches[0]:e,a=this._getViewportScrollPosition(),l=o.pageX-r.left-a.left,c=o.pageY-r.top-a.top;return{x:r.left-s.left+l,y:r.top-s.top+c}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),s=cv(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,i=s.pageX-e.left,r=s.pageY-e.top;if(this._ownerSVGElement){const o=this._ownerSVGElement.getScreenCTM();if(o){const a=this._ownerSVGElement.createSVGPoint();return a.x=i,a.y=r,a.matrixTransform(o.inverse())}}return{x:i,y:r}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:s,y:i}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?i=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(s=this._pickupPositionOnPage.x),this._boundaryRect){const{x:r,y:o}=this._pickupPositionInElement,a=this._boundaryRect,l=this._previewRect,c=a.top+o,u=a.bottom-(l.height-o);s=HB(s,a.left+r,a.right-(l.width-r)),i=HB(i,c,u)}return{x:s,y:i}}_updatePointerDirectionDelta(t){const{x:e,y:s}=t,i=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-r.x),a=Math.abs(s-r.y);return o>this._config.pointerDirectionChangeThreshold&&(i.x=e>r.x?1:-1,r.x=e),a>this._config.pointerDirectionChangeThreshold&&(i.y=s>r.y?1:-1,r.y=s),i}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,Wf(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,YB),t.removeEventListener("touchstart",this._pointerDown,FB)}_applyRootElementTransform(t,e){const s=z0(t,e),i=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=i.transform&&"none"!=i.transform?i.transform:""),i.transform=$0(s,this._initialTransform)}_applyPreviewTransform(t,e){var s;const i=null!==(s=this._previewTemplate)&&void 0!==s&&s.template?void 0:this._initialTransform,r=z0(t,e);this._preview.style.transform=$0(r,i)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const s=this._boundaryElement.getBoundingClientRect(),i=this._rootElement.getBoundingClientRect();if(0===s.width&&0===s.height||0===i.width&&0===i.height)return;const r=s.left-i.left,o=i.right-s.right,a=s.top-i.top,l=i.bottom-s.bottom;s.width>i.width?(r>0&&(t+=r),o>0&&(t-=o)):t=0,s.height>i.height?(a>0&&(e+=a),l>0&&(e-=l)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:cv(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const s=Yl(t);this._boundaryRect&&s!==this._boundaryElement&&s.contains(this._boundaryElement)&&lv(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=b1(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const s=this._previewContainer||"global";if("parent"===s)return t;if("global"===s){const i=this._document;return e||i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body}return Es(s)}}function z0(n,t){return`translate3d(${Math.round(n)}px, ${Math.round(t)}px, 0)`}function HB(n,t,e){return Math.max(t,Math.min(e,n))}function cv(n){return"t"===n.type[0]}function jB(n,t){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const s=t.createElement("div");return e.forEach(i=>s.appendChild(i)),s}function VB(n,t){n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.transform=z0(t.left,t.top)}function BB(n,t,e){const s=uv(t,n.length-1),i=uv(e,n.length-1);if(s===i)return;const r=n[s],o=i!0,this.sortPredicate=()=>!0,this.beforeStarted=new tt,this.entered=new tt,this.exited=new tt,this.dropped=new tt,this.sorted=new tt,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=O.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new tt,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function Fat(n=0,t=Zy){return(!g1(n)||n<0)&&(n=0),(!t||"function"!=typeof t.schedule)&&(t=Zy),new it(e=>(e.add(t.schedule(Yat,n,{subscriber:e,counter:0,period:n})),e))}(0,rB).pipe(tu(this._stopScrollTimers)).subscribe(()=>{const o=this._scrollNode,a=this.autoScrollStep;1===this._verticalScrollDirection?o.scrollBy(0,-a):2===this._verticalScrollDirection&&o.scrollBy(0,a),1===this._horizontalScrollDirection?o.scrollBy(-a,0):2===this._horizontalScrollDirection&&o.scrollBy(a,0)})},this.element=Es(t),this._document=s,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new IB(s,r)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,s,i){let r;this._draggingStarted(),null==i?(r=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===r&&(r=this._getItemIndexFromPointerPosition(t,e,s))):r=i;const o=this._activeDraggables,a=o.indexOf(t),l=t.getPlaceholderElement();let c=o[r];if(c===t&&(c=o[r+1]),!c&&(null==r||-1===r||r-1&&o.splice(a,1),c&&!this._dragDropRegistry.isDragging(c)){const u=c.getRootElement();u.parentElement.insertBefore(l,u),o.splice(r,0,t)}else Es(this.element).appendChild(l),o.push(t);l.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,s,i,r,o,a){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:s,container:this,previousContainer:i,isPointerOverContainer:r,distance:o,dropPoint:a})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(s=>s._withDropContainer(this)),this.isDragging()&&(e.filter(i=>i.isDragging()).every(i=>-1===t.indexOf(i))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=Es(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(s=>s.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,s,i){if(this.sortingDisabled||!this._clientRect||!AB(this._clientRect,.05,e,s))return;const r=this._itemPositions,o=this._getItemIndexFromPointerPosition(t,e,s,i);if(-1===o&&r.length>0)return;const a="horizontal"===this._orientation,l=r.findIndex(k=>k.drag===t),c=r[o],u=r[l].clientRect,h=c.clientRect,m=l>o?1:-1,v=this._getItemOffsetPx(u,h,m),D=this._getSiblingOffsetPx(l,r,m),C=r.slice();BB(r,l,o),this.sorted.next({previousIndex:l,currentIndex:o,container:this,item:t}),r.forEach((k,P)=>{if(C[P]===k)return;const F=k.drag===t,N=F?v:D,V=F?t.getPlaceholderElement():k.drag.getRootElement();k.offset+=N,a?(V.style.transform=$0(`translate3d(${Math.round(k.offset)}px, 0, 0)`,k.initialTransform),lv(k.clientRect,0,N)):(V.style.transform=$0(`translate3d(0, ${Math.round(k.offset)}px, 0)`,k.initialTransform),lv(k.clientRect,N,0))}),this._previousSwap.overlaps=x1(h,e,s),this._previousSwap.drag=c.drag,this._previousSwap.delta=a?i.x:i.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let s,i=0,r=0;if(this._parentPositions.positions.forEach((o,a)=>{a===this._document||!o.clientRect||s||AB(o.clientRect,.05,t,e)&&([i,r]=function zat(n,t,e,s){const i=zB(t,s),r=WB(t,e);let o=0,a=0;if(i){const l=n.scrollTop;1===i?l>0&&(o=1):n.scrollHeight-l>n.clientHeight&&(o=2)}if(r){const l=n.scrollLeft;1===r?l>0&&(a=1):n.scrollWidth-l>n.clientWidth&&(a=2)}return[o,a]}(a,o.clientRect,t,e),(i||r)&&(s=a))}),!i&&!r){const{width:o,height:a}=this._viewportRuler.getViewportSize(),l={width:o,height:a,top:0,right:o,bottom:a,left:0};i=zB(l,e),r=WB(l,t),s=window}s&&(i!==this._verticalScrollDirection||r!==this._horizontalScrollDirection||s!==this._scrollNode)&&(this._verticalScrollDirection=i,this._horizontalScrollDirection=r,this._scrollNode=s,(i||r)&&s?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=Es(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=Es(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const s=e.getVisibleElement();return{drag:e,offset:0,initialTransform:s.style.transform||"",clientRect:C1(s)}}).sort((e,s)=>t?e.clientRect.left-s.clientRect.left:e.clientRect.top-s.clientRect.top)}_reset(){this._isDragging=!1;const t=Es(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{const s=e.getRootElement();if(s){var i;const r=null===(i=this._itemPositions.find(o=>o.drag===e))||void 0===i?void 0:i.initialTransform;s.style.transform=r||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(t,e,s){const i="horizontal"===this._orientation,r=e[t].clientRect,o=e[t+-1*s];let a=r[i?"width":"height"]*s;if(o){const l=i?"left":"top",c=i?"right":"bottom";-1===s?a-=o.clientRect[l]-r[c]:a+=r[l]-o.clientRect[c]}return a}_getItemOffsetPx(t,e,s){const i="horizontal"===this._orientation;let r=i?e.left-t.left:e.top-t.top;return-1===s&&(r+=i?e.width-t.width:e.height-t.height),r}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const s=this._itemPositions,i="horizontal"===this._orientation;if(s[0].drag!==this._activeDraggables[0]){const o=s[s.length-1].clientRect;return i?t>=o.right:e>=o.bottom}{const o=s[0].clientRect;return i?t<=o.left:e<=o.top}}_getItemIndexFromPointerPosition(t,e,s,i){const r="horizontal"===this._orientation,o=this._itemPositions.findIndex(({drag:a,clientRect:l})=>{if(a===t)return!1;if(i){const c=r?i.x:i.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&c===this._previousSwap.delta)return!1}return r?e>=Math.floor(l.left)&&e=Math.floor(l.top)&&si._canReceive(t,e,s))}_canReceive(t,e,s){if(!this._clientRect||!x1(this._clientRect,e,s)||!this.enterPredicate(t,this))return!1;const i=this._getShadowRoot().elementFromPoint(e,s);if(!i)return!1;const r=Es(this.element);return i===r||r.contains(i)}_startReceiving(t,e){const s=this._activeSiblings;!s.has(t)&&e.every(i=>this.enterPredicate(i,this)||this._draggables.indexOf(i)>-1)&&(s.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:s})=>{lv(s,e.top,e.left)}),this._itemPositions.forEach(({drag:s})=>{this._dragDropRegistry.isDragging(s)&&s._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=b1(Es(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function zB(n,t){const{top:e,bottom:s,height:i}=n,r=.05*i;return t>=e-r&&t<=e+r?1:t>=s-r&&t<=s+r?2:0}function WB(n,t){const{left:e,right:s,width:i}=n,r=.05*i;return t>=e-r&&t<=e+r?1:t>=s-r&&t<=s+r?2:0}const W0=ev({passive:!1,capture:!0});class qf{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new tt,this.pointerUp=new tt,this.scroll=new tt,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,W0)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,W0)}startDragging(t,e){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const s=e.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:i=>this.pointerUp.next(i),options:!0}).set("scroll",{handler:i=>this.scroll.next(i),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:W0}),s||this._globalListeners.set("mousemove",{handler:i=>this.pointerMove.next(i),options:W0}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((i,r)=>{this._document.addEventListener(r,i.handler,i.options)})})}}stopDragging(t){const e=this._activeDragInstances.indexOf(t);e>-1&&(this._activeDragInstances.splice(e,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}scrolled(t){const e=[this.scroll];return t&&t!==this._document&&e.push(new it(s=>this._ngZone.runOutsideAngular(()=>{const r=o=>{this._activeDragInstances.length&&s.next(o)};return t.addEventListener("scroll",r,!0),()=>{t.removeEventListener("scroll",r,!0)}}))),Ae(...e)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}qf.\u0275fac=function(t){return new(t||qf)(rt(ke),rt(Se))},qf.\u0275prov=vt({token:qf,factory:qf.\u0275fac,providedIn:"root"});const Wat={dragStartThreshold:5,pointerDirectionChangeThreshold:5};class iu{constructor(t,e,s,i){this._document=t,this._ngZone=e,this._viewportRuler=s,this._dragDropRegistry=i}createDrag(t,e=Wat){return new Bat(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new $at(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}iu.\u0275fac=function(t){return new(t||iu)(rt(Se),rt(ke),rt(qd),rt(qf))},iu.\u0275prov=vt({token:iu,factory:iu.\u0275fac,providedIn:"root"});const k1=new At("CDK_DRAG_PARENT"),T1=new At("CdkDropListGroup");class Xd{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Lr(t)}ngOnDestroy(){this._items.clear()}}Xd.\u0275fac=function(t){return new(t||Xd)},Xd.\u0275dir=Nt({type:Xd,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],features:[We([{provide:T1,useExisting:Xd}])]});const L1=new At("CDK_DRAG_CONFIG");let qat=0;const qB=new At("CdkDropList");class Xi{constructor(t,e,s,i,r,o,a){this.element=t,this._changeDetectorRef=s,this._scrollDispatcher=i,this._dir=r,this._group=o,this._destroyed=new tt,this.connectedTo=[],this.id="cdk-drop-list-"+qat++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new Mt,this.entered=new Mt,this.exited=new Mt,this.sorted=new Mt,this._unsortedItems=new Set,this._dropListRef=e.createDropList(t),this._dropListRef.data=this,a&&this._assignDefaults(a),this._dropListRef.enterPredicate=(l,c)=>this.enterPredicate(l.data,c.data),this._dropListRef.sortPredicate=(l,c,u)=>this.sortPredicate(l,c.data,u.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),Xi._dropLists.push(this),o&&o._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=Lr(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,e)=>t._dragRef.getVisibleElement().compareDocumentPosition(e._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const t=Xi._dropLists.indexOf(this);t>-1&&Xi._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(t){this._dir&&this._dir.change.pipe(xf(this._dir.value),tu(this._destroyed)).subscribe(e=>t.withDirection(e)),t.beforeStarted.subscribe(()=>{const e=function aot(n){return Array.isArray(n)?n:[n]}(this.connectedTo).map(s=>{if("string"==typeof s){return Xi._dropLists.find(r=>r.id===s)}return s});if(this._group&&this._group._items.forEach(s=>{-1===e.indexOf(s)&&e.push(s)}),!this._scrollableParentsResolved){const s=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(i=>i.getElementRef().nativeElement);this._dropListRef.withScrollableParents(s),this._scrollableParentsResolved=!0}t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.sortingDisabled=Lr(this.sortingDisabled),t.autoScrollDisabled=Lr(this.autoScrollDisabled),t.autoScrollStep=Ud(this.autoScrollStep,2),t.connectedTo(e.filter(s=>s&&s!==this).map(s=>s._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(e=>{this.entered.emit({container:this,item:e.item.data,currentIndex:e.currentIndex})}),t.exited.subscribe(e=>{this.exited.emit({container:this,item:e.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(e=>{this.sorted.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,container:this,item:e.item.data})}),t.dropped.subscribe(e=>{this.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,item:e.item.data,isPointerOverContainer:e.isPointerOverContainer,distance:e.distance,dropPoint:e.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(t){const{lockAxis:e,draggingDisabled:s,sortingDisabled:i,listAutoScrollDisabled:r,listOrientation:o}=t;this.disabled=s??!1,this.sortingDisabled=i??!1,this.autoScrollDisabled=r??!1,this.orientation=o||"vertical",e&&(this.lockAxis=e)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}Xi._dropLists=[],Xi.\u0275fac=function(t){return new(t||Xi)(Q(Fe),Q(iu),Q(Uo),Q(eu),Q(aa,8),Q(T1,12),Q(L1,8))},Xi.\u0275dir=Nt({type:Xi,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(dr("id",e.id),$u("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[We([{provide:T1,useValue:void 0},{provide:qB,useExisting:Xi}])]});const A1=new At("CdkDragHandle");class Zd{constructor(t,e){this.element=t,this._stateChanges=new tt,this._disabled=!1,this._parentDrag=e}get disabled(){return this._disabled}set disabled(t){this._disabled=Lr(t),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}Zd.\u0275fac=function(t){return new(t||Zd)(Q(Fe),Q(k1,12))},Zd.\u0275dir=Nt({type:Zd,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},features:[We([{provide:A1,useExisting:Zd}])]});const GB=new At("CdkDragPlaceholder");class th{constructor(t){this.templateRef=t}}th.\u0275fac=function(t){return new(t||th)(Q(Rs))},th.\u0275dir=Nt({type:th,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[We([{provide:GB,useExisting:th}])]});const KB=new At("CdkDragPreview");class eh{constructor(t){this.templateRef=t,this._matchSize=!1}get matchSize(){return this._matchSize}set matchSize(t){this._matchSize=Lr(t)}}eh.\u0275fac=function(t){return new(t||eh)(Q(Rs))},eh.\u0275dir=Nt({type:eh,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:"matchSize"},features:[We([{provide:KB,useExisting:eh}])]});class Zi{constructor(t,e,s,i,r,o,a,l,c,u,h){this.element=t,this.dropContainer=e,this._ngZone=i,this._viewContainerRef=r,this._dir=a,this._changeDetectorRef=c,this._selfHandle=u,this._parentDrag=h,this._destroyed=new tt,this.started=new Mt,this.released=new Mt,this.ended=new Mt,this.entered=new Mt,this.exited=new Mt,this.dropped=new Mt,this.moved=new it(m=>{const v=this._dragRef.moved.pipe(jt(D=>({source:this,pointerPosition:D.pointerPosition,event:D.event,delta:D.delta,distance:D.distance}))).subscribe(m);return()=>{v.unsubscribe()}}),this._dragRef=l.createDrag(t,{dragStartThreshold:o&&null!=o.dragStartThreshold?o.dragStartThreshold:5,pointerDirectionChangeThreshold:o&&null!=o.pointerDirectionChangeThreshold?o.pointerDirectionChangeThreshold:5,zIndex:o?.zIndex}),this._dragRef.data=this,Zi._dragInstances.push(this),o&&this._assignDefaults(o),e&&(this._dragRef._withDropContainer(e._dropListRef),e.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=Lr(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Wc(1),tu(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(t){const e=t.rootElementSelector,s=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const t=Zi._dragInstances.indexOf(this);t>-1&&Zi._dragInstances.splice(t,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const t=this.element.nativeElement;let e=t;var s;this.rootElementSelector&&(e=void 0!==t.closest?t.closest(this.rootElementSelector):null===(s=t.parentElement)||void 0===s?void 0:s.closest(this.rootElementSelector));this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;return t?"string"==typeof t?this.element.nativeElement.closest(t):Es(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,s=this.dragStartDelay,i=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,r=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof s&&s?s:Ud(s),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(i).withPreviewTemplate(r).withPreviewContainer(this.previewContainer||"global"),e&&t.withDirection(e.value)}}),t.beforeStarted.pipe(Wc(1)).subscribe(()=>{if(this._parentDrag)return void t.withParent(this._parentDrag._dragRef);let e=this.element.nativeElement.parentElement;for(;e;){if(e.classList.contains("cdk-drag")){var s;t.withParent((null===(s=Zi._dragInstances.find(i=>i.element.nativeElement===e))||void 0===s?void 0:s._dragRef)||null);break}e=e.parentElement}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(e=>{this.ended.emit({source:this,distance:e.distance,dropPoint:e.dropPoint}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(e=>{this.entered.emit({container:e.container.data,item:this,currentIndex:e.currentIndex})}),t.exited.subscribe(e=>{this.exited.emit({container:e.container.data,item:this})}),t.dropped.subscribe(e=>{this.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:this,distance:e.distance,dropPoint:e.dropPoint})})}_assignDefaults(t){const{lockAxis:e,dragStartDelay:s,constrainPosition:i,previewClass:r,boundaryElement:o,draggingDisabled:a,rootElementSelector:l,previewContainer:c}=t;this.disabled=a??!1,this.dragStartDelay=s||0,e&&(this.lockAxis=e),i&&(this.constrainPosition=i),r&&(this.previewClass=r),o&&(this.boundaryElement=o),l&&(this.rootElementSelector=l),c&&(this.previewContainer=c)}_setupHandlesListener(){this._handles.changes.pipe(xf(this._handles),_n(t=>{const e=t.filter(s=>s._parentDrag===this).map(s=>s.element);this._selfHandle&&this.rootElementSelector&&e.push(this.element),this._dragRef.withHandles(e)}),na(t=>Ae(...t.map(e=>e._stateChanges.pipe(xf(e))))),tu(this._destroyed)).subscribe(t=>{const e=this._dragRef,s=t.element.nativeElement;t.disabled?e.disableHandle(s):e.enableHandle(s)})}}Zi._dragInstances=[],Zi.\u0275fac=function(t){return new(t||Zi)(Q(Fe),Q(qB,12),Q(Se),Q(ke),Q(Ns),Q(L1,8),Q(aa,8),Q(iu),Q(Uo),Q(A1,10),Q(k1,12))},Zi.\u0275dir=Nt({type:Zi,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,s){if(1&t&&(xp(s,KB,5),xp(s,GB,5),xp(s,A1,5)),2&t){let i;Wu(i=qu())&&(e._previewTemplate=i.first),Wu(i=qu())&&(e._placeholderTemplate=i.first),Wu(i=qu())&&(e._handles=i)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&$u("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[We([{provide:k1,useExisting:Zi}]),bs]});class Gf{}Gf.\u0275fac=function(t){return new(t||Gf)},Gf.\u0275mod=Dn({type:Gf,declarations:[Xi,Xd,Zi,Zd,eh,th],exports:[vo,Xi,Xd,Zi,Zd,eh,th]}),Gf.\u0275inj=hn({providers:[iu],imports:[vo]});let nh=class{constructor(t,e){this.renderer=t,this.el=e,this.positionError={x:-5,y:0},this.getMenuItems=new Mt,this.visible=!1,this.position={x:0,y:0}}ngAfterViewInit(){this.renderer.listen("body","click",t=>{this.hide()})}onClick(t){t&&t(this.target)}show(t,e){this.getMenuItems.emit(e),this.visible=!0,this.target=e,this.calculatePosition(t)}hide(){this.visible=!1}calculatePosition(t){let e=this.el.nativeElement.getBoundingClientRect();this.position.x=t.pageX-(e.left+window.pageXOffset-document.documentElement.clientLeft)+this.positionError.x,this.position.y=t.pageY-(e.top+window.pageYOffset-document.documentElement.clientTop)+this.positionError.y}};nh.ctorParameters=()=>[{type:Ks},{type:Fe}],nh.propDecorators={menuItems:[{type:Y}],positionError:[{type:Y}],getMenuItems:[{type:Ee}]},nh=nt([kt({selector:"ue-context-menu",template:''})],nh);let sh=class{constructor(t){this.el=t}onContextMenu(t){t.preventDefault(),this.ueContextMenu.show(t,this.ueContextMenuSubject)}};sh.ctorParameters=()=>[{type:Fe}],sh.propDecorators={ueContextMenu:[{type:Y}],ueContextMenuSubject:[{type:Y}],onContextMenu:[{type:pr,args:["contextmenu",["$event"]]}]},sh=nt([hr({selector:"[ueContextMenu]"})],sh);let dv=class{};dv=nt([Yn({imports:[Xs],declarations:[nh,sh],exports:[nh,sh]})],dv);let Pn=class{constructor(){}ngOnInit(){}closeAlert(){delete this.alert}newAlert(t,e,s){this.alert={},this.alert.title=t,this.alert.message=e,this.alert.contextClass=s}setErrorAlert(t){let e,s,i;switch(t.errorcode){case 400:case 401:case 403:case 404:case 405:case 409:case 451:case 429:e="Warning!",i="warning",s=t.error;break;case 500:e="Error!",i="danger",s=t.error;break;default:e="Error!",i="danger",s="Unable to parse error, please contact support"}this.newAlert(e,s,i)}};Pn.ctorParameters=()=>[],Pn.propDecorators={alert:[{type:Y}]},Pn=nt([kt({selector:"ue-alert",template:'
\n\t\n\t\n\t{{alert.title}}:\n\t\n\t\n\t\n\t{{alert.message}}\n\n
',styles:["\n\t\t.alert {\n\t\t\tmargin-bottom: 10px;\n\t\t}\n\t"]})],Pn);let q0=class{};q0=nt([Yn({imports:[Xs],declarations:[Pn],exports:[Pn]})],q0);let Kf=class{constructor(){this.type="button",this.onClick=new Mt}ngOnInit(){}};Kf.ctorParameters=()=>[],Kf.propDecorators={btnClass:[{type:Y}],icon:[{type:Y}],type:[{type:Y}],disabled:[{type:Y}],noLabel:[{type:Y}],onClick:[{type:Ee}]},Kf=nt([kt({selector:"ue-button",template:'\n\t\n\t\n\t',styles:["\n\t\t.btn-label{\n\t\t\tleft: -13px;\n\t\t\tborder-radius: 2px 0 0 2px;\n\t\t}\n\t"]})],Kf);var I1;let hv=I1=class{constructor(){this.onToggle=new Mt}toggle(t){this.disabled||(this.isChecked=t,this._onChange&&this._onChange(t),this.onToggle.emit(t))}setCustomPosition(){return"centered"===this.customPosition?"centered":""}writeValue(t){this.isChecked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(){}setDisabledState(t){this.disabled=t}};hv.propDecorators={customPosition:[{type:Y,args:["customPosition"]}],readonly:[{type:Y}],onToggle:[{type:Ee}],isChecked:[{type:Y}],reqDifferent:[{type:Y}],label:[{type:Y,args:["label"]}]},hv=I1=nt([kt({selector:"ue-checkbox",template:'\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t',providers:[{provide:Zs,multi:!0,useExisting:I1}],styles:["/*\n * custom position for checkbox uses classes\n */\n.checkbox.centered {\n\tpadding-left: 0px;\n}\n.checkbox i.centered {\n\tposition: relative;\n\ttop: 0;\n\tmargin: 0 auto;\n}\n.not-allowed {\n\tcursor: not-allowed;\n\tcolor: lightgray;\n}\n.smart-form .checkbox input:disabled:checked+i {\n\tborder-color: lightgray;\n}\n.smart-form .checkbox input:disabled+i:after {\n color: lightgray;\n}\n.smart-form .checkbox input:disabled+i {\n\tborder-color: lightgray;\n}\n.smart-form .checkbox input:disabled+i {\n color: lightgray;\n}"]})],hv);let Qf=class{constructor(t){this.viewContainer=t}ngOnInit(){this.viewContainer.createEmbeddedView(this.externalTemplate,{$implicit:this.item})}};Qf.ctorParameters=()=>[{type:Ns}],Qf.propDecorators={item:[{type:Y}],externalTemplate:[{type:Y}]},Qf=nt([hr({selector:"[ueTemplateWrapper]"})],Qf);let pv=class{};pv=nt([Yn({imports:[Xs],declarations:[Kf,hv,Qf],exports:[Kf,hv,Qf]})],pv);let ih=class{constructor(t){this.template=t}getType(){return this.type?this.type:this.name}};ih.ctorParameters=()=>[{type:Rs}],ih.propDecorators={type:[{type:Y}],name:[{type:Y,args:["ueTemplate"]}]},ih=nt([hr({selector:"[ueTemplate]"})],ih);let rh=class{constructor(){}ngOnInit(){this.sortField||(this.sortField=this.field),this.clickable="false"!==this.clickable}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"header":this.headerTemplate=t.template;break;case"body":default:this.bodyTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"filter":this.filterTemplate=t.template;break;case"editor":this.editorTemplate=t.template}})}};rh.ctorParameters=()=>[],rh.propDecorators={header:[{type:Y}],field:[{type:Y}],sortField:[{type:Y}],clickable:[{type:Y}],colStyle:[{type:Y}],templates:[{type:Kb,args:[ih]}],template:[{type:Nu,args:[Rs,{static:!0}]}]},rh=nt([kt({selector:"ue-column",template:""})],rh);let Jf=class{constructor(t){this.viewContainer=t}ngOnInit(){this.viewContainer.createEmbeddedView(this.column.bodyTemplate,{$implicit:this.column,rowData:this.rowData,rowIndex:this.rowIndex})}};Jf.ctorParameters=()=>[{type:Ns}],Jf.propDecorators={column:[{type:Y}],rowData:[{type:Y}],rowIndex:[{type:Y}]},Jf=nt([kt({selector:"ue-columnBodyTemplateLoader",template:""})],Jf);let ca=class{constructor(){this.sort=new Mt,this.onRowSelect=new Mt,this.updateCheckedRows=new Mt}ngOnChanges(t){t.selectedColumns&&t.selectedColumns.previousValue&&this.cols&&this.updateColsToRender(),t.value&&this.updateDataToRender(t.value.currentValue)}ngAfterContentInit(){this.updateColsToRender()}updateColsToRender(){this.colsToRender=[];const t=this.cols.toArray();this.selectedColumns?this.selectedColumns.forEach(e=>{if(!e)return;const s=t.filter(function(i){return i.field===e});this.colsToRender.push(s[0])}):this.colsToRender=t}updateDataToRender(t){this.dataToRender=t}resolveFieldData(t,e){if(t&&e){if(-1==e.indexOf("."))return t[e];{const s=e.split(".");let i=t;for(let r=0,o=s.length;re):[],this.updateCheckedRows.emit(this.checkedRows))}isRowChecked(t){if(this.checkedRows)return-1!==this.checkedRows.indexOf(t)}areAllRowsChecked(){if(this.checkedRows)return this.value.length===this.checkedRows.length&&this.checkedRows.length>0}};ca.ctorParameters=()=>[],ca.propDecorators={selectedColumns:[{type:Y}],value:[{type:Y}],checkedRows:[{type:Y}],sortField:[{type:Y}],sortDir:[{type:Y}],menuItemsSelected:[{type:Y}],menuItemsAll:[{type:Y}],contextMenuRef:[{type:Y}],gettingData:[{type:Y}],message:[{type:Y}],highlightIndexArray:[{type:Y}],sort:[{type:Ee}],onRowSelect:[{type:Ee}],updateCheckedRows:[{type:Ee}],cols:[{type:Kb,args:[rh]}]},ca=nt([kt({selector:"ue-table",template:'
\n\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\n
\n',styles:["table.dataTable {\n\tborder-bottom: 0px;\n}\n.wrapper {\n height: 100%;\n overflow: visible;\n}"]})],ca);let Xf=class{constructor(t){this.dt=t}ngOnInit(){this.getNoDataMessage()}getNoDataMessage(){this.dt.message?this.message=this.dt.message:this.message="No Data Found"}requestHighlight(t){if(void 0!==this.highlightIndexArray&&-1!==this.highlightIndexArray.indexOf(t))return!0}};Xf.ctorParameters=()=>[{type:ca,decorators:[{type:Xh,args:[Ve(()=>ca)]}]}],Xf.propDecorators={columns:[{type:Y,args:["ueTableBody"]}],highlightIndexArray:[{type:Y}]},Xf=nt([kt({selector:"tbody.ueTableBody",template:'\n\t\x3c!-- with context menu --\x3e\n\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t{{dt.resolveFieldData(rowData, col.field)}}\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\x3c!-- without context menu --\x3e\n\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t{{dt.resolveFieldData(rowData, col.field)}}\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n\n\n\t\n\t\t
\n\t\t\t\n\t\t\tInfo! \n\t\t\tNo data found\n\t\t\tGetting data\n\t\t
\n\t\n\n'})],Xf);let Zf=class{constructor(t){this.dt=t}};Zf.ctorParameters=()=>[{type:ca,decorators:[{type:Xh,args:[Ve(()=>ca)]}]}],Zf.propDecorators={columns:[{type:Y,args:["ueColumnHeaders"]}]},Zf=nt([kt({selector:"tr.ueColumnHeaders",template:'\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t{{col.header}}\n\t\t\t\n\t\t\t\n\t\t\t\t{{col.header}}\n\t\t\t\n\t\t\n\t'})],Zf);let fv=class{constructor(t){this.renderer=t,this.selectAllRows=new Mt,this.isChecked=!1,this.panelOpen=!1}ngOnInit(){}ngOnDestroy(){this.unbindDocumentClickListener()}toggle(t){this.isChecked="boolean"==typeof t?t:!this.isChecked,this.selectAllRows.emit(this.isChecked)}show(){this.panelOpen=!0,this.bindDocumentClickListener()}hide(){this.panelOpen=!1}onClick(t){this.itemClick=!0,t&&t(),this.hide()}onMouseClick(){this.selfClick=!0,this.itemClick||(this.panelOpen?this.hide():this.show())}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen("body","click",()=>{!this.selfClick&&!this.itemClick&&(this.hide(),this.unbindDocumentClickListener()),this.selfClick=!1,this.itemClick=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}};fv.ctorParameters=()=>[{type:Ks}],fv.propDecorators={menuItemsSelected:[{type:Y}],menuItemsAll:[{type:Y}],selectAllRows:[{type:Ee}],isChecked:[{type:Y}]},fv=nt([kt({selector:"ue-table-dropdown",template:'
\n\t\n\t\n\t\n
',styles:[""]})],fv);let G0=class{};G0=nt([Yn({imports:[Xs,dv,pv],declarations:[ca,Xf,ih,rh,Jf,Zf,fv],exports:[ca,Xf,ih,rh,Jf,Zf,nh,sh]})],G0);let mv=class{constructor(t){this.elementRef=t}ngAfterViewInit(){setTimeout(()=>{this.elementRef.nativeElement.focus()},100)}};mv.ctorParameters=()=>[{type:Fe}],mv=nt([hr({selector:"[ueFocusMe]"})],mv);var qt=I(5439);let K0=class{transform(t,e){let s=t;return"0000-00-00 00:00:00"===t?"-":(qt&&(s=t?qt(t,"YYYY-MM-DD HH:mm:ss").format(e):"-"),s)}};K0=nt([Lp({name:"ueDate"})],K0);var rlt=I(8734),gv=I.n(rlt);const olt=[{brand:"American Express",pregs:[/^3(4|7)/],mask:[/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,/\d/]},{brand:"Visa",pregs:[/^4/],mask:[/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]},{brand:"MasterCard",pregs:[/^5(1|2|5)/,/^22/],mask:[/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]},{brand:"Diners Club",pregs:[/^30(1|2|3|4|5)/,/^36/],mask:[/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/]}];let Q0=class{constructor(){this.dateMask=[/[0-1]/,/\d/,"/",/[0-3]/,/\d/,"/",/\d/,/\d/,/\d/,/\d/],this.moneyMask=gv()({prefix:"$",suffix:"",requireDecimal:!0}),this.percentMask=gv()({prefix:"",suffix:"%",requireDecimal:!0}),this.quantityMask=gv()({prefix:""}),this.negativeQuantityMask=gv()({prefix:"",allowNegative:!0}),this.expirationMask=[/[0-1]/,/\d/,"/",/\d/,/\d/],this.cvcMask=[/\d/,/\d/,/\d/,/\d/],this.phoneMask=["+",/\d/," ","(",/\d/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]}getQuantityMask(t){return gv()(t)}getZipMask(t){let e;return e="number"==typeof t?t.toString():t,e.length<6?[/\d/,/\d/,/\d/,/\d/,/\d/,/\d/]:[/\d/,/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]}getCreditCardMask(t){let e;e="number"==typeof t?t.toString():t;let s=[/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/];return olt.forEach(i=>{i.pregs.forEach(r=>{r.test(e)&&(s=i.mask)})}),s}};Q0.ctorParameters=()=>[],Q0=nt([rs()],Q0);var P1;let oh=P1=class{constructor(){this.suggestionLookup=new Yc,this.suggestions=[],this.disableSuggestions=!1,this.showDropdown=!0,this.highlightedIndex=0,this.onSelect=new Mt,this.onCompleteMethod=new Mt,this.onFocus=new Mt,this.onBlur=new Mt,this.debounceTime=200,this.placeholder="",this.iconRight=!1,this.iconClick=new Mt,this.forceSelectionError=new Mt,this.multiLookup=!1,this.cancelIcon=!1,this._onChange=t=>{},this.onTouched=()=>{}}ngOnInit(){this.suggestions=[],this.suggestionLookup.valueChanges.pipe(gB(this.debounceTime),Xy()).subscribe(t=>{this.suggestionLookup.disabled||this._onChange(t),this.onTouched(),this.highlightedIndex=0,this.onCompleteMethod.emit(t)})}writeValue(t){this.selectedSuggestion=t,this.suggestionLookup.patchValue(this.selectedSuggestion,{emitEvent:!1})}registerOnChange(t){this._onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.suggestionLookup.disable(t)}resetField(){this.suggestionLookup.patchValue(""),this.updateInputDisplay("",!1)}handleKeys(t){this.disableSuggestions=!1,"ArrowDown"===t.key&&this.highlightedIndex0&&(t.preventDefault(),this.highlightedIndex--,this.handleArrowKeys()),"Enter"===t.key&&(!0!==this.disableEnter?(this.multiLookup||t.target.blur(),this.selectDropdownOption(),this.suggestions.length<1&&this.onSelect.emit(this.suggestionLookup.value)):this.onSelect.emit(this.suggestionLookup.value))}handleArrowKeys(){this.suggestions.length>0&&(this.selectedSuggestion=this.suggestions[this.highlightedIndex],this.updateInputDisplay(this.selectedSuggestion,!1))}selectDropdownOption(){const t=this.suggestions[this.highlightedIndex];t&&!this.multiLookup?(this.selectedSuggestion=t,this.updateInputDisplay(this.selectedSuggestion),this.showDropdown=!1,this.disableSuggestions=!0,this.onSelect.emit(this.selectedSuggestion),this._onChange(this.selectedSuggestion)):t&&this.multiLookup&&(this.selectedSuggestion=t,this.updateInputDisplay(this.selectedSuggestion,!0),this.suggestions=[])}updateInputDisplay(t,e){let s;if("string"==typeof t?s=t:this.objectKey&&(s=t[this.objectKey]),this.multiLookup){const i=this.suggestionLookup.value?this.suggestionLookup.value:"",r=i.split(" ");if(r.pop(),r.push(s),i.length<1)return this.suggestionLookup.patchValue("",{emitEvent:!1}),this._onChange(""),this.onSelect.emit("");this.suggestionLookup.patchValue(r.join(" "),{emitEvent:!1}),this._onChange(this.suggestionLookup.value),e&&this.onSelect.emit(s)}else this.suggestionLookup.patchValue(s,{emitEvent:!1})}blur(){this.onBlur.emit(),this.forceSelection&&this.selectDropdownOption(),setTimeout(()=>{this.showDropdown=!1},200)}focus(){this.showDropdown=!0,this.onFocus.emit(this.suggestionLookup.value)}};oh.ctorParameters=()=>[],oh.propDecorators={suggestions:[{type:Y}],disableEnter:[{type:Y}],onSelect:[{type:Ee,args:["onSelect"]}],suggestionTemplate:[{type:Nu,args:[Rs,{static:!0}]}],onCompleteMethod:[{type:Ee}],onFocus:[{type:Ee}],onBlur:[{type:Ee}],debounceTime:[{type:Y}],placeholder:[{type:Y}],inputStyles:[{type:Y}],inputClasses:[{type:Y}],typeaheadSelectClasses:[{type:Y}],debugDropdown:[{type:Y}],dropdownStyles:[{type:Y}],dropdownClasses:[{type:Y}],objectKey:[{type:Y}],icon:[{type:Y}],iconRight:[{type:Y}],iconClick:[{type:Ee}],hasError:[{type:Y}],forceSelection:[{type:Y}],forceSelectionError:[{type:Ee}],multiLookup:[{type:Y}],cancelIcon:[{type:Y}],maxlength:[{type:Y}],inputEl:[{type:bt,args:["inputEl"]}]},oh=P1=nt([kt({selector:"ue-typeahead",template:'\n\t\n\t\n\t\n\n\n
\n\t
\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t
\n
\n\n
\n\t
    \n\t\t\n\t\t
  • \n\t\t\t\n\t\t\t\t{{objectKey ? suggestion[objectKey] : suggestion}}\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t
  • \n\t
\n
',providers:[{provide:Zs,multi:!0,useExisting:P1}],styles:[".highlight {\n\tbackground-color: #006DBB !important;\n\tcolor: white;\n}\n\n.add-custom-li {\n\tbackground: #073A59;\n\tcolor: #fff;\n\tborder-bottom-left-radius: 6px;\n\tborder-bottom-right-radius: 6px;\n}\n\n.suggestions {\n\tposition: absolute;\n\tbackground-color: #fff;\n\tborder: 1px solid rgba(0, 0, 0, 0.2);\n\tborder-radius: 6px;\n\tz-index: 904;\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n font-size: 1.1em;\n left: 0;\n right: 0;\n margin-left: 12px;\n margin-right: 12px;\n}\n\n.no_border_style {\n background-color: transparent;\n border: none;\n padding: 0;\n font-weight: 100;\n cursor: text;\n}\n\nul {\n\tpadding-left: 0px;\n\tmargin-bottom: 0px;\n}\n\nul li {\n padding: 5px 10px;\n}\n\n.error-border-bottom {\n\tborder-bottom: 1px solid #b94a48;\n\tbackground-color: #FFF9CB;\n}\n\n.hasLabel {\n\tmargin-top: -16px;\n}\n\n.cancel-button {\n\tposition: absolute;\n\ttop: 10px;\n\tright: 3em;\n\ttransition: all .2s ease-in;\n\t-webkit-transition: all .2s ease-in;\n}\n\n.invoice-options-input {\n\tborder-radius: 5px !important;\n}\n\ndiv.invoice-options-select > input {\n\tborder-radius: 0 5px 5px 0 !important;\n}\n\ndiv.invoice-options-select > span {\n\tborder-radius: 5px 0 0 5px !important;\n}\n\n.no_border_style_invoice {\n background-color: transparent;\n border: none;\n padding: 0;\n font-weight: 100;\n cursor: text;\n}\n\n.no_border_style_invoice:hover {\n\tborder-bottom: 1px solid #3276b1;\n}\n\n.ng-float-label {\n\twidth: 100%;\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding: 21px 10px 6px;\n\tmargin: 0;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n}\n\n.ng-float-label-empty {\n\tpadding: 13px 10px 13px;\n\tcolor: #42779d;\n}\n\n.ue-float-match {\n\theight: 43px;\n width: 100%;\n border-radius: 5px;\n border: 1px solid #cdcdcd;\n padding-left: 10px;\n color: #3b729e;\n}"]})],oh);var O1;let tm=O1=class{constructor(){this.onCompleteMethod=new Mt,this.suggestions=[],this.selectControl=new Yc,this.typeaheadControl=new Yc,this._onChange=t=>{},this._onTouched=()=>{}}set initialNameValue(t){this.typeaheadControl.patchValue(t,{emitEvent:!1})}writeValue(t){this.selectControl.patchValue(t,{emitEvent:!1})}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.selectControl.disable(t)}onSelect(t){if(!this.valueKey)return console.error("Must provide valueKey as input to Typeahead Select component");t?this._onChange(t[this.valueKey]):this._onChange(null),this._onTouched()}onFocus(){this.selectControl.untouched&&this.onCompleteMethod.emit("")}onBlur(){this.selectControl.markAsTouched(),this._onTouched()}forceSelectionError(){this._onChange("")}getIcon(){return this.noIcon?null:"glyphicon glyphicon-lock"}};tm.ctorParameters=()=>[],tm.propDecorators={onCompleteMethod:[{type:Ee}],suggestions:[{type:Y}],placeholder:[{type:Y}],hasError:[{type:Y}],valueKey:[{type:Y}],nameKey:[{type:Y}],initialNameValue:[{type:Y,args:["initialNameValue"]}],typeaheadSelectClasses:[{type:Y}],noIcon:[{type:Y}],inputStyles:[{type:Y}],dropdownStyles:[{type:Y}],inputClasses:[{type:Y}],dropdownClasses:[{type:Y}]},tm=O1=nt([kt({selector:"ue-typeahead-select",template:'\n',providers:[{provide:Zs,multi:!0,useExisting:O1}],styles:[""]})],tm);let em=class{constructor(){this.closeButton=!1,this.clickClose=new Mt}};em.ctorParameters=()=>[],em.propDecorators={title:[{type:Y}],titleIcon:[{type:Y}],closeButton:[{type:Y}],clickClose:[{type:Ee}]},em=nt([kt({selector:"ue-section-title",template:'\n\t\t
\n\t\t\t
\n\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t\t{{title}}\n\t\t\t\t\t\n\t\t\t\t

\n\t\t\t
\n\t\t
\n\t'})],em);class QB{}const jl="*";function nm(n,t){return{type:7,name:n,definitions:t,options:{}}}function ru(n,t=null){return{type:4,styles:t,timings:n}}function JB(n,t=null){return{type:2,steps:n,options:t}}function bo(n){return{type:6,styles:n,offset:null}}function Vl(n,t,e){return{type:0,name:n,styles:t,options:e}}function ou(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function XB(n){Promise.resolve(null).then(n)}class _v{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){XB(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(s=>s()),e.length=0}}class ZB{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,s=0,i=0;const r=this.players.length;0==r?XB(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++e==r&&this._onFinish()}),o.onDestroy(()=>{++s==r&&this._onDestroy()}),o.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(s=>{const i=s.totalTime?Math.min(1,e/s.totalTime):1;s.setPosition(i)})}getPosition(){const t=this.players.reduce((e,s)=>null===e||s.totalTime>e.totalTime?s:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(s=>s()),e.length=0}}let sm=class{constructor(t,e){this.el=t,this.renderer=e,this.panelVisible=!1,this.optionsToDisplay=[],this.selectItemEvent=new Mt}ngOnInit(){this.optionsToDisplay=this.options}ngAfterViewInit(){this.container=this.containerViewChild.nativeElement,this.panel=this.panelViewChild.nativeElement}ngOnDestroy(){this.unbindDocumentClickListener()}onMouseclick(){this.selfClick=!0,this.itemClick||(this.panelVisible?this.hide():this.show(this.panel))}show(t){this.options&&this.options.length&&(this.panelVisible=!0,t.style.zIndex=1e3),this.bindDocumentClickListener()}hide(){this.panelVisible=!1}onItemClick(t){t.command&&t.command()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen("body","click",()=>{!this.selfClick&&!this.itemClick&&(this.panelVisible=!1,this.unbindDocumentClickListener()),this.selfClick=!1,this.itemClick=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}isDivider(t){return"divider"===t.label}};sm.ctorParameters=()=>[{type:Fe},{type:Ks}],sm.propDecorators={options:[{type:Y}],pullRight:[{type:Y}],btnLabel:[{type:Y}],btnClass:[{type:Y}],btnIcon:[{type:Y}],maxHeight:[{type:Y}],customMarginTop:[{type:Y}],selectItemEvent:[{type:Ee}],containerViewChild:[{type:bt,args:["container",{static:!0}]}],panelViewChild:[{type:bt,args:["panel",{static:!0}]}],template:[{type:Nu,args:[Rs,{static:!0}]}]},sm=nt([kt({selector:"ue-dropdown-menu",template:'
\n\t\n\t{{btnLabel}}\n\t\n\t\n\t
\n
\n
    \n
  • \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t{{option.label}}\n\t\t\t\t\t\n \x3c!-- --\x3e\n
  • \n
\n
\n
\n
',animations:[nm("panelState",[Vl("hidden",bo({opacity:0})),Vl("visible",bo({opacity:1})),ou("visible => hidden",ru("400ms ease-in")),ou("hidden => visible",ru("400ms ease-out"))])],styles:[".ue-dropdown {\n display: inline-block;\n position: relative;\n vertical-align: middle;\n}\n\n.ue-dropdown .ue-dropdown-item-empty {\n text-indent: -9999px; \n}\n\n.ue-dropdown .ue-dropdown-panel {\n min-width: 100%;\n}\n\n.ue-dropdown-panel {\n position: absolute;\n height: auto;\n\tbackground-color: white;\n\tbackground-clip: padding-box;\n\tpadding: 4px;\n\tmargin-top: 2px;\n\tborder: 1px solid rgba(0,0,0,.15);\n\tborder-radius: 2px;\n\tbox-shadow: 0 6px 12px rgba(0,0,0,.175);\n\t-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);\n}\n\n.ue-dropdown-panel.pull-right {\n\tright: 0;\n\tleft: auto;\n}\n\n.ue-dropdown-panel .ue-dropdown-items-wrapper {\n overflow: auto;\n}\n\n.ue-dropdown-panel .ue-dropdown-item {\n font-weight: normal;\n border: 0 none;\n cursor: pointer;\n text-align: left;\n\tborder-radius: 4px;\n}\n\n.ue-dropdown-item>span {\n margin: 3px 0;\n\tdisplay: block;\n\tpadding: 3px 20px;\n\tclear: both;\n\tfont-weight: 400;\n\tline-height: 1.42857143;\n\twhite-space: nowrap;\n}\n\n.ue-dropdown-item:hover {\n\tcolor: #fff;\n\tbackground-color: #3276b1;\n}\n\n.ue-dropdown-panel .ue-dropdown-list {\n padding-left: 0;\n border: 0 none;\n\tmargin: 0;\n}"]})],sm);let im=class{constructor(t){this.viewContainer=t}ngOnInit(){this.viewContainer.createEmbeddedView(this.template,{$implicit:this.template})}};im.ctorParameters=()=>[{type:Ns}],im.propDecorators={template:[{type:Y}]},im=nt([kt({selector:"ue-buttonTemplateLoader",template:""})],im);class N1{constructor(){}static stringToNumber(t){let e=null;return""===t?e=null:"string"==typeof t?(e=t.replace(/[^\d\.]+/g,""),"."==e&&(e="0"),e=Number(e)):"number"==typeof t&&(e=t),e}static rejectWhitespace(t){let e=null;return""===t?e=null:"number"==typeof t?e=t.toString().replace(/\s/g,""):"string"==typeof t&&(e=t.replace(/\s/g,"")),e}static onlyAllowNumber(t){let e=null;return""===t?e=null:"number"==typeof t?e=t.toString().replace(/\D/g,""):"string"==typeof t&&(e=t.replace(/\D/g,"")),e}}let wo=class{constructor(){this.paginationArray=[],this.goToValueControl=new Yc,this.paginationObject={},this.goToPage=new Mt}updatePaginationLength(t){this.paginationObject.length=t}updatePaginationObject(t,e,s){this.paginationObject.limit=Number(t),this.paginationObject.offset=Number(e),this.paginationObject.total=Number(s),this.pagination(t,e,s)}clickPage(t){this.goToPage.emit(t)}clickGo(){let t=this.goToValueControl.value;const e=this.paginationObject.limit;let i=!1;e*(t-1)===this.paginationObject.offset&&(i=!0);const r={active:i,disabled:!1,limit:e,offset:e*(t-1)};r.offset>=this.paginationObject.total&&(r.offset=this.paginationObject.total-this.paginationObject.total%r.limit),this.goToPage.emit(r)}getCurrentPage(t,e){this.currentPage=t/e+1}addNextLast(t,e){return this.paginationArray.concat([{text:"Next",limit:t,offset:this.currentPage*t,active:!1,disabled:!1},{text:"Last",limit:t,offset:(e-1)*t,active:!1,disabled:!1}])}pagination(t,e,s){this.paginationArray=[],t=Number(t),e=Number(e),s=Number(s);const i=Math.ceil(s/t);if(this.getCurrentPage(e,t),1!==i)if(this.paginationArray=[{text:"First",limit:t,offset:0,active:!1,disabled:!1},{text:"Previous",limit:t,offset:(this.currentPage-2)*t,active:!1,disabled:!1}],1===this.currentPage){if(this.paginationArray[0].disabled=!0,this.paginationArray[1].disabled=!0,i>1)for(let r=1;r<=(i<3?i:3);r++)this.paginationArray.push({text:r,limit:t,offset:(r-1)*t,active:this.currentPage===r,disabled:!1});this.paginationArray=this.addNextLast(t,i)}else if(1!==this.currentPage&&this.currentPage!==i){if(this.currentPage>i)return this.paginationArray=this.addNextLast(t,i),this.paginationArray[1].disabled=!0,void(this.paginationArray[2].disabled=!0);for(let r=this.currentPage<3?1:this.currentPage-2;r<=(this.currentPage+2>i?i:this.currentPage+2);r++)this.paginationArray.push({text:r,limit:t,offset:(r-1)*t,active:this.currentPage===r,disabled:!1});this.paginationArray=this.addNextLast(t,i)}else if(this.currentPage===i){for(let r=2===i?1:i-2;r<=(2===i?2:i);r++)this.paginationArray.push({text:r,limit:t,offset:(r-1)*t,active:this.currentPage===r});this.paginationArray.push({text:"Next",disabled:!0,active:!1},{text:"Last",disabled:!0,active:!1})}}sanitizePageNum(){let t=N1.stringToNumber(N1.onlyAllowNumber(this.goToValueControl.value));this.goToValueControl.patchValue(t)}};wo.ctorParameters=()=>[],wo.propDecorators={paginationObject:[{type:Y}],goToPage:[{type:Ee}]},wo=nt([kt({selector:"ue-pagination",template:'
\n\t
\n\t\tShowing {{paginationObject.offset + 1}} to {{paginationObject.offset + paginationObject.length}} of {{paginationObject.total}} entries.\n\t
\n\t
\n\t\t
\n\t\t\t
\n\t\t\t\t
    \n\t\t\t\t\t
  • \n\t\t\t\t\t\t{{page.text}}\n\t\t\t\t\t
  • \n\t\t\t\t\t
  • \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
  • \n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t
\n
\n',styles:[""]})],wo);let yv=class{constructor(){this.callBack=new Mt,this.onOpen=new Mt,this.onClose=new Mt,this.hideCloseButton=!1,this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.closeBtnLabel="Close",this.isOpen=!1}open(){this.ueModal.open(),this.isOpen=!0}close(){this.ueModal.close(),this.isOpen=!1,this.onClose.emit()}};yv.propDecorators={ueModal:[{type:bt,args:["ueModal",{static:!0}]}],header:[{type:Y}],body:[{type:Y}],warning:[{type:Y}],icon:[{type:Y}],btnClass:[{type:Y}],buttonLabel:[{type:Y}],callBack:[{type:Ee}],onOpen:[{type:Ee}],onClose:[{type:Ee}],hideCloseButton:[{type:Y}],closeOnEscape:[{type:Y}],closeOnOutsideClick:[{type:Y}],closeBtnLabel:[{type:Y}]},yv=nt([kt({selector:"ue-confirm-modal",template:'\n\t\n\t\t

{{header}}

\n\t
\n\t\n\n\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\tWarning: {{warning}}\n\t\t\t
\n\t\t
\n\n\t
\n\t\n\t\t{{closeBtnLabel}}\n\t\t\n\t\t\t{{buttonLabel}}\n\t\t\n\t\n
',styles:[".ellipsis {\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n\n.red-text {\n\tcolor: red;\n}"]})],yv);let rm=class{constructor(t){this.ref=t,this.saveColumns=new Mt,this.availableFields=[],this.columnsChanged=!1,this.openedCount=0,this.showColumnScroll=!1,this.showFieldScroll=!1}onResize(){this.checkScrollWidth()}onDropSuccess(t){t.previousContainer===t.container?BB(t.container.data,t.previousIndex,t.currentIndex):function Uat(n,t,e,s){const i=uv(e,n.length-1),r=uv(s,t.length);n.length&&t.splice(r,0,n.splice(i,1)[0])}(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex),this.columnsChanged=!0,this.alert.closeAlert(),this.checkScrollWidth()}checkScrollWidth(){this.ref.detectChanges();const t=this.columnContainer.nativeElement;this.showColumnScroll=t.scrollWidth>t.offsetWidth;const e=this.fieldContainer.nativeElement;this.showFieldScroll=e.scrollWidth>e.offsetWidth}scrollLeft(t){this[t].nativeElement.scrollLeft-=100}scrollRight(t){this[t].nativeElement.scrollLeft+=100}onSaveColumns(t){const e=this.tableColumns.map(s=>s.field);0!==e.length?(this.saveColumns.emit({save:t,tableColumns:e}),this.openedCount=0):this.alert.newAlert("Error!","Please save at least one column.","danger")}ngOnChanges(t){t.tableColumns&&t.tableColumns.previousValue&&this.getAvailableFields()}onOpen(){this.modalState="visible",0===this.openedCount&&(this.initialColumns=this.tableColumns.filter(()=>!0),this.getAvailableFields(),this.checkScrollWidth()),this.openedCount++}onClose(){this.modalState="hidden",this.columnsChanged=!1,this.alert.closeAlert(),this.openedCount>0&&(this.tableColumns=this.initialColumns.filter(()=>!0),this.getAvailableFields())}open(){this.customizeTableModal.open()}close(){this.customizeTableModal.close()}getAvailableFields(){this.availableFields=this.allFields.filter(t=>{if(-1===this.tableColumns.indexOf(t))return!0})}resetToDefault(){const t=[];this.defaultColumns.forEach(e=>{this.allFields.forEach(s=>{e===s.field&&t.push(s)})}),this.tableColumns=t,this.getAvailableFields(),this.columnsChanged=!0}};rm.ctorParameters=()=>[{type:Uo}],rm.propDecorators={allFields:[{type:Y}],tableColumns:[{type:Y}],defaultColumns:[{type:Y}],saveColumns:[{type:Ee}],customizeTableModal:[{type:bt,args:["customizeTableModal",{static:!0}]}],alert:[{type:bt,args:[Pn,{static:!0}]}],columnContainer:[{type:bt,args:["columnContainer",{static:!0}]}],fieldContainer:[{type:bt,args:["fieldContainer",{static:!0}]}],onResize:[{type:pr,args:["window:resize",["$event"]]}]},rm=nt([kt({selector:"ue-customize-table-modal",template:'\n\t\t\n\t\t\t

Customize Table

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\tCurrent Fields\n\t\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{{column.label}}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t\n\t\t\t\tAvailable Fields\n\t\t\t\t

To view more columns, please drag to the Current Fields section

\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{{field.label}}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t\t\n\t\t\tCancel\n\t\t\tReset Default\n\t\t\t\x3c!-- Apply --\x3e\n\t\t\tSave\n\t\t\n
\n',animations:[nm("modalState",[Vl("hidden",bo({opacity:0,transform:"translateX(-100%)"})),Vl("visible",bo({opacity:1,transform:"translateX(0)"})),ou("* => visible",ru("200ms ease-out"))])],providers:[{provide:L1,useValue:{zIndex:1051}}],styles:[".drag-container {\n width: 100%;\n vertical-align: top;\n overflow: scroll;\n}\n\n.drag-list {\n min-height: 60px;\n background: white;\n white-space: nowrap;\n padding: 10px 0;\n}\n\n.drag-box {\n padding: 10px;\n border: solid 1px #ccc;\n border-right: none;\n color: rgba(0, 0, 0, 0.87);\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n cursor: move;\n background: white;\n}\n\n.drag-box > i {\n margin-right: 10px;\n}\n\n.cdk-drag-preview {\n box-sizing: border-box;\n border-radius: 4px;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n\n.cdk-drag-placeholder {\n opacity: 0;\n}\n\n.drag-box:first-child {\n border-radius: 4px 0 0 4px;\n}\n\n.drag-box:last-child {\n border-right: solid 1px #ccc;\n border-radius: 0 4px 4px 0;\n}\n\n.drag-box:only-child {\n border-right: solid 1px #ccc;\n border-radius: 4px;\n}\n\n.cdk-drag-animating {\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.drag-list.cdk-drop-list-dragging .drag-box:not(.cdk-drag-placeholder) {\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.scrollArrowContainer {\n font-size: 25px;\n cursor: pointer;\n}\n\n.scrollArrowHidden {\n visibility: hidden;\n cursor: default;\n}\n\n.scrollArrowContainer:first-child {\n margin-right: 15px;\n}\n\n.scrollArrowContainer:last-child {\n margin-left: 15px;\n}\n\n.scrollWrapper {\n display: flex;\n align-items: center;\n}"]})],rm);let om=class{constructor(){this.supportEmail="support@USAePay.com",this.privacyPolicyUrl="https://usaepay.info/privacy-policy/",this.hidePoweredBy=!1}ngOnInit(){}reportBug(){const t=window.location.href;window.open("https://fs9.formsite.com/usaepaydev/bugreport/index.html?url="+t,"_blank")}isReseller(){return-1!==window.location.href.indexOf("reseller")}};om.ctorParameters=()=>[],om.propDecorators={supportEmail:[{type:Y,args:["supportEmail"]}],privacyPolicyUrl:[{type:Y,args:["privacyPolicyUrl"]}],hidePoweredBy:[{type:Y,args:["hidePoweredBy"]}]},om=nt([kt({selector:"ue-footer",template:'
\n\t\n
\n\n \n \n

License Agreement

\n Last revised : 07/18/2016\n
\n \n \n
\n\t\t\t\n
\n
\n \n \n Close\n \n
\n\n'})],om);let am=class{constructor(){this.open=!1,this.cancelIcon=!1,this.getFilterSuggestions=new Mt,this.updateFilter=new Mt}ngOnInit(){this.isEmpty(this.formControlRef.value)||(this.open=!0)}handleButtonClick(){this.open?this.open&&this.isEmpty(this.formControlRef.value)?(this.open=!1,this.formControlRef.reset(),this.updateFilter.emit()):this.updateFilter.emit():this.open=!0}isEmpty(t){return""===t||null==t}};am.ctorParameters=()=>[],am.propDecorators={formControlRef:[{type:Y}],suggestions:[{type:Y}],disableEnter:[{type:Y}],dropdownClasses:[{type:Y}],cancelIcon:[{type:Y}],getFilterSuggestions:[{type:Ee}],updateFilter:[{type:Ee}],typeahead:[{type:bt,args:[oh,{static:!0}]}]},am=nt([kt({selector:"ue-table-filter",template:'
\n\t
\n\t\t\n\t\t\t
  • \n\t\t\t\t\n\t\t\t\t\tSearch For:\n\t\t\t\t\n\t\t\t
  • \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{suggestion}}\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t
    \n\t\n
    ',styles:[".table-filter {\n\tdisplay: inline-block;\n\tposition: relative;\n}\n\n.filterInput {\n\twidth: 0px;\n\tdisplay: inline-block;\n\ttransition: width 1s;\n\t-webkit-transition: width 1s;\n\theight: 32px;\n margin-right: -6px;\n\toverflow: hidden;\n\tvertical-align: bottom;\n}\n\n.open {\n\twidth: 250px;\n}\n\n.width13 {\n\twidth: 13px;\n}\n\n@media screen and (max-width: 430px) {\n\t.open {\n\t\twidth: 140px;\n\t}\n}"]})],am);let vv=class{constructor(t){this.http=t}getProfile(){const t=this.baseUrl+"/profile";return this.http.get(t)}getExploreResellerList(){const t=this.baseUrl+"/explore-resellers";return this.http.get(t)}exploreReseller(t){return this.http.post(this.baseUrl+"/explore/"+t,null)}getCompanyList(){return this.http.get(`${this.baseUrl}/companies`)}getCompanyProfile(){return this.http.get(`${this.baseUrl}/profile`).pipe(_n(t=>{this.currentCompanyProfile=t}))}checkoutCompany(t){return this.http.post(`${this.baseUrl}/explore`,{member_key:t})}};vv.ctorParameters=()=>[{type:xs}],vv=nt([rs()],vv);let lm=class{constructor(t){this.headerService=t,this.resellerList=[],this.companyList=[],this.companyOptions=[],this.hasError=!1,this.resellerOptions=[]}ngOnInit(){this.headerService.baseUrl=this.url,this.isReseller()?(this.getResellerName(),this.getResellerList()):this.isDeveloper()&&(this.getCompanyName(),this.getCompanyList()),this.resellerId&&this.findLogoPath()}findLogoPath(){"monitor"===this.resellerId?this.logoPath="url(/images/logo.png)":this.logoPath="url(/img/reseller-logos/"+this.resellerId+".png)"}clickHamburger(){-1!==document.body.className.indexOf("hidden-menu")?document.body.className=document.body.className.replace(/hidden-menu\b/,""):document.body.className+=" hidden-menu"}getResellerName(){this.headerService.getProfile().subscribe(t=>{this.reseller=t.company},t=>{this.handleError(t)})}getResellerList(){this.headerService.getExploreResellerList().subscribe(t=>{this.resellerList=t,this.resellerMenuDropdown()},t=>{this.handleError(t)})}isReseller(){return-1!==window.location.href.indexOf("reseller")}resellerMenuDropdown(){for(let t=0;t{}}):this.resellerOptions.push({label:this.resellerList[t].company,command:()=>{this.headerService.exploreReseller(this.resellerList[t].reseller_key).subscribe(e=>{window.location.search=""},e=>{this.handleError(e)})}})}isDeveloper(){return-1!==window.location.href.indexOf("developer")}getCompanyName(){this.headerService.getCompanyProfile().subscribe(t=>{this.company=t.company},t=>{this.handleError(t)})}getCompanyList(){this.headerService.getCompanyList().subscribe(t=>{this.companyList=t.data,this.companyMenuDropdown()},t=>{this.handleError(t)})}companyMenuDropdown(){for(let t=0;t{this.headerService.checkoutCompany(this.companyList[t].key).subscribe(e=>{window.location.search=""},e=>{this.handleError(e)})}})}handleError(t){this.hasError=!0,this.httpError=t}};lm.ctorParameters=()=>[{type:vv}],lm.propDecorators={dropdownMenuOptions:[{type:Y}],resellerId:[{type:Y}],url:[{type:Y}]},lm=nt([kt({selector:"ue-header",template:'\x3c!-- HEADER --\x3e\n',styles:["#fontIcon{\n font-size:35px !important;\n margin:5px !important;\n}"]})],lm);let cm=class{constructor(t,e){this.ngZone=t,this.router=e,this.setBodyClass(),window.onresize=s=>{t.run(()=>{this.setBodyClass()})}}ngOnInit(){}ngAfterViewInit(){const e=this.router.url.split("/")[1];this.childTabs.forEach(s=>{const i=s.nativeElement.getAttribute("data-route"),r=s.nativeElement.getAttribute("data-index");if(i){const o=i.split("/")[1];e===o&&setTimeout(()=>{this.open=parseInt(r,10)})}})}findState(t){return this.open===t?"open":this.open!==t?"closed":void 0}click(t){this.open!==t?this.open=t:this.open=-1}setBodyClass(){this.getOuterWidth()<980?-1===document.body.className.indexOf("mobile-view-activated")&&(document.body.className+=" mobile-view-activated",document.body.className=document.body.className.replace(/minified\b/,"")):(document.body.className=document.body.className.replace(/mobile-view-activated\b/,""),document.body.className=document.body.className.replace(/hidden-menu\b/,""))}minify(){-1!==document.body.className.indexOf("minified")?document.body.className=document.body.className.replace(/minified\b/,""):document.body.className+=" minified"}getOuterWidth(){return window.outerWidth}};cm.ctorParameters=()=>[{type:ke},{type:se}],cm.propDecorators={navTabs:[{type:Y}],childTabs:[{type:cC,args:["tabs"]}]},cm=nt([kt({selector:"ue-navbar",template:'\n',animations:[nm("slideState",[Vl("open",bo({height:"*",paddingTop:"7px",paddingBottom:"7px"})),Vl("closed",bo({height:"0",paddingTop:"0px",paddingBottom:"0px"})),ou("closed => open",[ru(".3s ease")]),ou("open => closed",[ru(".3s ease")])])],styles:[".nav-item-child-indent {\n\tpadding: 6px 17px 6px 43px !important;\n}\n\n.nav-item-child-hide {\n\tdisplay: block; \n\toverflow: hidden;\n}\n\n.um {\n\tfont-size: 8px;\n}"]})],cm);let J0=class{constructor(){}ngOnInit(){}};J0.ctorParameters=()=>[],J0=nt([kt({selector:"ue-terms",template:'\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\n
    \n\t\t\t

    USA ePay \n\t\t\tGateway License / User Agreement
    \n\t\t\tversion 1. rev. 10

    \n\t\t\tTransaction Processing \n\t\t\tTerms
    \n\t\t\t

    \n\t\t\tYour Capacity and Related Matters. By accepting the terms and \n\t\t\tconditions of this Agreement, You represent and warrant that (a) You \n\t\t\tare 18 years of age or older, (b) all information You have provided \n\t\t\tto USAePay is true and correct in all respects, and (c) You will \n\t\t\tupdate USAePay by e-mail with any changes to information You have \n\t\t\tpreviously supplied. You further represent and warrant that You have \n\t\t\tthe legal authority to accept the terms and conditions of this \n\t\t\tAgreement on behalf of Your company and that such acceptance will be \n\t\t\tbinding on Your company.
    \n                          \n\t\t\t
    \n\t\t\tThis Agreement is entered by USAePay Transaction Processing Terms & Software License Agreement \n\t\t\t(herein after referred to as the "Agreement") by and between Gor \n\t\t\tCorporation, whose principal place of business is 1833 Victory Blvd, Glendale, CA 91201 (hereinafter referred to as "USAePay"), \n\t\t\tand "Merchant," whose name, complete address, business organization \n\t\t\tand type of business are stated in records stored by USAePay for \n\t\t\t"Merchant". USAePay is a \n\t\t\tsubsidiary of GorCorp, Inc., a California corporation whose \n\t\t\tprincipal place of business is in Los Angeles, California. For \n\t\t\tpurposes of this Agreement the corporate entities USAePay and Gor, \n\t\t\tInc. shall be synonymous. In consideration of the premises set forth \n\t\t\therein, USAePay and Merchant hereby agree as follows:
    \n\t\t\t
    \n\t\t\t1. USAePay agrees to perform transaction processing services \n\t\t\tfor Merchant. This includes the acceptance and authorization of \n\t\t\ttransactions forwarded from Merchant in a timely manner, the \n\t\t\tsubsequent transmission of
    \n\t\t\ttransactions to the processing network and the detailed reporting of \n\t\t\tthose transactions via Merchant\'s web-based Merchant Menu.
    \n\t\t\t
    \n\t\t\t2. By signing the Agreement, Merchant understands and agrees \n\t\t\tthat the USAePay Transaction Processing Services require additional \n\t\t\tcharges, as indicated below under Schedule of Fees, to be billed \n\t\t\tdirectly by USAePay or by registered resellers to the Merchant and payable pursuant to \n\t\t\tparagraphs 14 and 16 listed below.
    \n\t\t\t
    \n\t\t\t3. By signing this document, Merchant will indemnify, \n\t\t\tprotect, defend and hold USAePay, affiliates and / or subsidiaries \n\t\t\tand all of its or their officers, agents and / or employees, \n\t\t\tharmless from and against any and all claims, losses, demands, \n\t\t\tactions, expenses, damages, liability, and / or causes of action, \n\t\t\tincluding (without limitation) attorneys\' fees, other costs of \n\t\t\tdefense and / or collection fees, which in any way result directly \n\t\t\tor indirectly from:
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\t

    a. \n\t\t\t\t\t\tMerchant breach of this Agreement or any warranty or \n\t\t\t\t\t\trepresentation made to USAePay;

    \n\t\t\t\t\t\tb. Any damage or \n\t\t\t\t\t\tloss caused by negligence, fraud, dishonesty or willful \n\t\t\t\t\t\tbehavior by Merchant or any of Merchant employees or \n\t\t\t\t\t\tagents;
    \n\t\t\t\t\t\tc. Any contention, \n\t\t\t\t\t\twhether well-founded, baseless or otherwise, that \n\t\t\t\t\t\tMerchant violated the law or any rule or regulation;
    \n\t\t\t\t\t\td. Any damages \n\t\t\t\t\t\tresulting from or related to any failure or delay of \n\t\t\t\t\t\tUSAePay in providing Transaction Processing services \n\t\t\t\t\t\tunder this Agreement; or
    \n\t\t\t\t\t\te. Any delays in \n\t\t\t\t\t\tthe performance of services hereunder or for any failure \n\t\t\t\t\t\tto perform same hereunder if such delays are due to \n\t\t\t\t\t\tstrikes, inclement weather, acts of God, or other causes \n\t\t\t\t\t\tbeyond USAePay\ufffds reasonable control. USAePay will not be \n\t\t\t\t\t\tliable for performance of services where delayed by war, \n\t\t\t\t\t\triots, embargoes, strikes, or acts of it\'s vendors and \n\t\t\t\t\t\tsuppliers, concealed acts of workmen (whether of USAePay \n\t\t\t\t\t\tor others), or accidents. The indemnifications provided \n\t\t\t\t\t\tfor in this Article shall survive any termination of \n\t\t\t\t\t\tthis Agreement.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t4. Merchant warrants to USAePay all of the following:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. That all \n\t\t\t\t\t\trepresentations and statements made by Merchant in this \n\t\t\t\t\t\tAgreement, or in any other document relating hereto, by \n\t\t\t\t\t\tMerchant or on Merchant\'s behalf are true, accurate and \n\t\t\t\t\t\tcomplete in all material respects. Merchant hereby \n\t\t\t\t\t\tauthorizes USAePay to investigate and confirm the \n\t\t\t\t\t\tinformation herein. For this purpose, USAePay may \n\t\t\t\t\t\tutilize credit bureau / reporting agencies and / or its \n\t\t\t\t\t\town agents. Upon Merchant\'s request, USAePay will \n\t\t\t\t\t\tprovide Merchant with a copy of the results of
    b. That \n\t\t\t\t\t\tMerchant is engaged in the lawful business shown on the \n\t\t\t\t\t\tAgreement which includes the sale of merchandise and / \n\t\t\t\t\t\tor services, and is duly licensed to conduct such \n\t\t\t\t\t\tbusiness under the laws of the state, county and city in \n\t\t\t\t\t\twhich Merchant is located.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t5. USAePay shall not be liable for the individual merit and \n\t\t\tlegitimacy of orders forwarded from Merchant. This liability shall \n\t\t\tremain the Merchant\'s.
    \n\t\t\t
    \n\t\t\t6. USAePay shall in no event be liable to Merchant or \n\t\t\tPurchaser (Purchaser is any customer, client, member or entity who \n\t\t\telects to buy goods or services from Merchant) for any indirect, \n\t\t\tspecial or consequential damages or lost profits arising out of or \n\t\t\trelated to this Agreement, the performance or breach thereof, or the \n\t\t\taccuracy or correctness of the data being passed to and from \n\t\t\tMerchant, even if USAePay and/or Merchant has been advised of the \n\t\t\tpossibility thereof.
    \n\t\t\t
    \n\t\t\t7. Any claim or legal action arising out of disputes, \n\t\t\tfailures, misrepresentations, malfunctions, or defects shall be \n\t\t\twaived. In no event shall USAePay\'s liability to Merchant exceed the \n\t\t\ttotal amount Merchant paid to USAePay hereunder. Merchant agrees \n\t\t\tthat any cause or action arising out of or relating to this \n\t\t\tAgreement must commence within one (1) year after the cause of \n\t\t\taction arose; otherwise, such cause of action is permanently barred. \n\t\t\tJurisdiction of any legal proceeding arising hereby shall be Los \n\t\t\tAngeles, California, United States of America.
    \n\t\t\t
    \n\t\t\t8. Merchant agrees, as a company and/or as an individual, to \n\t\t\tdefend, indemnify, and hold harmless USAePay from any and all claims \n\t\t\tresulting from Merchant\'s use of any services contemplated under \n\t\t\tthis Agreement, which cause damage to Merchant or any other party.
    \n\t\t\t
    \n\t\t\t9. USAePay shall not be responsible or liable for \n\t\t\tunauthorized access of facilities or to Merchant\'s data or programs \n\t\t\tdue to accident, illegal or fraudulent means or devices.
    \n\t\t\t
    \n\t\t\t10. USAePay shall retain full ownership of all data submitted \n\t\t\tby either Merchant or Purchaser through the USAePay Payment Gateway \n\t\t\t(Payment Gateway refers to the electronic systems through which a \n\t\t\tMerchant may pass payment information to USAePay) including, but not \n\t\t\tlimited to name, mailing & shipping address, card verification value \n\t\t\t2, email address, phone number, dollar amount of purchase, type of \n\t\t\tpurchase and description of purchase.

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. USAePay \n\t\t\t\t\t\tPrivacy Obligation
    \n\t\t\t\t\t\tUSAePay will collect, retain, and disclose information \n\t\t\t\t\t\tand data collected from You and your customers \n\t\t\t\t\t\t(including data associated with the USAePay Services) in \n\t\t\t\t\t\taccordance with USAePay\'s then current privacy policy \n\t\t\t\t\t\tavailable at\n\t\t\t\t\t\t\n\t\t\t\t\t\thttp://www.usaepay.com/privacy.htm or such other \n\t\t\t\t\t\tlocation as specified by USAePay. You hereby consent, as \n\t\t\t\t\t\ta condition of Your enrollment in and use of the USAePay \n\t\t\t\t\t\tServices, to the collection, use, processing and \n\t\t\t\t\t\ttransfer of personal data as described in this paragraph \n\t\t\t\t\t\tand USAePay\'s privacy policies. You understand that \n\t\t\t\t\t\tUSAePay will collect and hold personal or non-public \n\t\t\t\t\t\tinformation about You and Your customers, including but \n\t\t\t\t\t\tnot limited to: Your name, address, telephone number and \n\t\t\t\t\t\te-mail address for the purpose of considering \n\t\t\t\t\t\teligibility for the USAePay Services as well Your \n\t\t\t\t\t\tcustomers\' names, mailing & shipping addresses, email \n\t\t\t\t\t\taddresses, phone number, dollar amount of purchases, \n\t\t\t\t\t\ttypes of purchases and descriptions of purchases for the \n\t\t\t\t\t\tpurpose of providing You with the USAePay Services \n\t\t\t\t\t\t("Data"). You also understand and agree that USAePay may \n\t\t\t\t\t\tobtain various consumer reports regarding You from third \n\t\t\t\t\t\tparties, run a credit check or obtain other personal or \n\t\t\t\t\t\tcredit information about You. You further understand and \n\t\t\t\t\t\tagree that USAePay, its suppliers and/or their \n\t\t\t\t\t\tagents/contractors may transfer Data among themselves as \n\t\t\t\t\t\tnecessary for the purpose of the provision and \n\t\t\t\t\t\tmanagement of the USAePay Services, and that USAePay may \n\t\t\t\t\t\tfurther transfer Data to third parties assisting USAePay \n\t\t\t\t\t\tin evaluating Your eligibility for, provision of, \n\t\t\t\t\t\tadministration and management of the USAePay Services, \n\t\t\t\t\t\tas well as under circumstances described in USAePay\'s \n\t\t\t\t\t\tprivacy policies, as they may be published on the \n\t\t\t\t\t\tUSAePay web site and changed from time to time by \n\t\t\t\t\t\tUSAePay.
    b. Data Retention
    \n\t\t\t\t\t\tYou are solely responsible for compiling and retaining \n\t\t\t\t\t\tpermanent records of all Transactions and other Data for \n\t\t\t\t\t\tYour reference. Upon the termination of this Agreement, \n\t\t\t\t\t\tUSAePay shall have no obligation to store, retain, \n\t\t\t\t\t\treport or otherwise provide any copies of or access to \n\t\t\t\t\t\tany records of Transactions or other Data collected or \n\t\t\t\t\t\tprocessed by USAePay.
    c. 3rd Party / \n\t\t\t\t\t\tMerchant Obligations
    \n\t\t\t\t\t\t
    You are solely responsible for the security of data \n\t\t\t\t\t\tresiding on server(s) owned or operated by You, or a \n\t\t\t\t\t\tthird party designated by You (e.g., a web hosting \n\t\t\t\t\t\tcompany, processor, or other service provider), \n\t\t\t\t\t\tincluding credit card numbers. You shall comply with all \n\t\t\t\t\t\tapplicable laws and regulations governing the \n\t\t\t\t\t\tcollection, retention and use by You of credit card and \n\t\t\t\t\t\tother financial information. You agree to provide notice \n\t\t\t\t\t\tto your customers on Your web site that discloses how \n\t\t\t\t\t\tand why personal and financial information is collected \n\t\t\t\t\t\tand used, including uses governed by this Agreement. \n\t\t\t\t\t\tNothing in this Agreement shall prevent or restrict You \n\t\t\t\t\t\tfrom using any information You collect or receive \n\t\t\t\t\t\tindependent of Your performance under this Agreement.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t
    \n\t\t\t11. Merchant agrees that USAePay\'s services shall only be \n\t\t\tperformed for lawful purposes. Any transaction or transmission, \n\t\t\twhich violates any Federal, State, or local laws, is expressly \n\t\t\tprohibited.
    \n\t\t\t
    \n\t\t\t12. Merchant understands that Merchant may not process orders \n\t\t\ton behalf of any other entity or individual and that the use of the \n\t\t\tTransaction processing services is provided herein as a service \n\t\t\tlicense for a single Merchant account. Any attempt to use the \n\t\t\tTransaction Processing services provided herein for more than one \n\t\t\tMerchant account without additional service licenses may result in \n\t\t\tadditional fees and charges and/or the revocation of the service \n\t\t\tlicense and termination of this Agreement. This service license is \n\t\t\ttransferable and may be sold, traded, assumed or otherwise \n\t\t\ttransferred to other individual or entity with the express written \n\t\t\tconsent of USAePay.
    \n\t\t\t
    \n\t\t\t13. This Agreement may be amended by USAePay at any time upon \n\t\t\twritten or electronic notice to Merchant of not less than ten (10) \n\t\t\tdays prior to the effective date of such amendment, except for \n\t\t\tservice fee or other fee increases, exclusive of those increases \n\t\t\tlisted in Section 17, of which will be upon thirty (30) days\' \n\t\t\tnotice.
    \n\t\t\t
    \n\t\t\t14. Merchant hereby authorizes USAePay to either initiate \n\t\t\ttransaction entries to Merchant\'s depository account number or other \n\t\t\tbusiness financial account for the monthly charges required as \n\t\t\tlisted under Schedule of Fees. This billing will occur on the last \n\t\t\tday of each month regardless of the number of days in which services \n\t\t\twere actually performed for that month. Merchant agrees that in the \n\t\t\tevent of non-payment Merchant\'s processing services may be placed on \n\t\t\thold and a non-payment fee of $25.00 will be incurred for each \n\t\t\tunsuccessful attempt to bill Merchant by either ACH debit or credit \n\t\t\tcard charge. Service will be restored immediately upon payment in \n\t\t\tfull of past due charges and fees. Merchant agrees to pay all costs \n\t\t\tand expenses of whatever nature, including attorneys\' fees and other \n\t\t\tlegal expenses, incurred by or on behalf of USAePay in connection \n\t\t\twith the collection of all unpaid charges and fees.
    \n\t\t\t
    \n\t\t\t15. Merchant agrees not to change its type of business, without the express written consent of USAePay.
    \n\t\t\t
    \n\t\t\t16. The Merchant will be considered in default when past due \n\t\t\tcharges have not been paid for 30 days and will be subject to an \n\t\t\tinterest charge of 1.5% per month on the outstanding balance.
    \n\t\t\t
    \n\t\t\t17. Merchant may terminate monthly service with 30 days \n\t\t\twritten notice and only a request in writing relieves Merchant from \n\t\t\tthe obligation to pay charges at the conclusion of thirty days from \n\t\t\tdate of receipt of notice. USAePay reserves the right to cancel \n\t\t\tMerchant\'s Transaction Processing account at any time for any \n\t\t\treason.
    \n\t\t\t
    \n\t\t\t18. If any provision in this Agreement is invalid, such \n\t\t\tinvalidity shall not affect the validity of the remaining provisions \n\t\t\tof this Agreement and Merchant and USAePay agree to substitute for \n\t\t\tthe invalid provision a valid provision which most closely \n\t\t\tapproximates the effect and intent of the invalid provision.
    \n                                    \n\t\t\t

    \n\t\t\t
    \n\t\t\t

    *Schedule of Fees\n\t\t\t
    \n\t\t\t
    \n\t\t\t
    You shall pay to \n\t\t\tUSAePay the fees set forth in the Fee Schedule provided to You by \n\t\t\tUSAePay and/or, if applicable, a Merchant Service Provider (the \n\t\t\t"Fees"). The Fee Schedule is hereby incorporated into the terms of \n\t\t\tthis Agreement by reference. If the amount(s) of one or more of the \n\t\t\tFees is more than zero, USAePay shall bill and collect such Fee(s) \n\t\t\tfrom You. If the amount(s) of one or more Fees listed in the Fee \n\t\t\tSchedule is zero or blank, USAePay shall not charge, bill, or \n\t\t\tcollect from You any such Fees. Notwithstanding the foregoing, a \n\t\t\tMerchant Service Provider may charge, bill, and collect such Fees \n\t\t\tfrom You, in the amounts stated in and in accordance with the terms \n\t\t\tand conditions of the agreement between You and such Merchant \n\t\t\tService Provider. Notwithstanding the foregoing, if Your \n\t\t\trelationship with a Merchant Service Provider that sold you the \n\t\t\tUSAePay Services expires or terminates and such Merchant Service \n\t\t\tProvider was billing You for certain Fees, then You may continue \n\t\t\tusing the USAePay Services. If You elect to continue using the \n\t\t\tUSAePay services, You acknowledge and agree that USAePay may begin \n\t\t\tto bill You for such Fees in the amounts that the Merchant Service \n\t\t\tProvider had been charging You and pursuant to the terms and \n\t\t\tconditions set forth below.
    \n\t\t\t
    \n\t\t\tYou will remit any and all amounts that are payable to USAePay under \n\t\t\tthis Agreement on a monthly basis, and the first payment shall be \n\t\t\tdue on the first day of the month immediately following the \n\t\t\tEffective Date. Unless otherwise specified herein, Fees and payments \n\t\t\tfor any subsequent time periods shall be due on the first day of the \n\t\t\tmonth. You hereby authorize USAePay to initiate transaction entries \n\t\t\tto Your depositories account or, if USAePay is unable is unable to \n\t\t\tcollect owing amounts from Your depository account, to charge Your \n\t\t\tcredit card, the numbers of which are to be provided to USAePay by \n\t\t\tYou (directly or through a Merchant Service Provider) on or before \n\t\t\tthe Effective Date, for any and all amounts owing to USAePay under \n\t\t\tthis Agreement. If Your depositories account number or credit card \n\t\t\tnumber changes, You shall promptly provide USAePay with written \n\t\t\tnotice of the change and the new number(s). If You fail to provide \n\t\t\tUSAePay with accurate current depositories account or credit card \n\t\t\tnumbers, USAePay may discontinue its performance of the USAePay \n\t\t\tServices for You until such information is provided to USAePay or \n\t\t\tterminate this Agreement. You acknowledge that any change in account \n\t\t\tinformation may not be effective until the billing month following \n\t\t\tthe second month in which USAePay receives such notice.
    \n\t\t\t
    \n\t\t\tMonthly Gateway Fee assessed the first of every month.
    \n\t\t\t- This fee is dependent on the reseller of USAePay. USAePay is not \n\t\t\tresponsible for the amount of this fee if merchant is not an \ufffdin \n\t\t\thouse\ufffd account.
    \n\t\t\t
    \n\t\t\t1. Initial Setup Cost.
    \n\t\t\t
    Fee is set by the reseller of USAePay\'s services.
    \n\t\t\t
    \n\t\t\t2. Annual Security Assessment and Audit Fee of $79.95.
    \n\t\t\t
    Fee is debited directly out of merchant\'s account every year on \n\t\t\tthe 18th of February. The Annual Security Fee is always billed in arrears. Example: The Fee Charged in February 2017 is covering 2016 year of service. The security assessment and \n\t\t\taudit fee covers all requirement for Visa\xae PCI/CISP, MasterCard\xae SDP, & \n\t\t\tAmerican Express CID, Discover DISC. This fee can be prorated if the account is cancelled before July 1st of the current year. In this case we will charge only 50% of the total amount which is $39.95. If the account is cancelled after July 1st, we charge full amount of $79.95.
    \n\t\t\t
    \n\t\t\t3. Fees for non-payment of services

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. NSF \n\t\t\t\t\t\t(non-sufficient funds) fee ($10.00) is charged the following \n\t\t\t\t\t\tmonth of billing cycle for services. Double NSF will \n\t\t\t\t\t\tresult in temporary closure of account until payment of \n\t\t\t\t\t\tbalance (including re-activation fee) is complete.\n\t\t\t\t\t\t
    b. \n\t\t\t\t\t\tRe-Activation ($25.00) fee is charged if an account is ever \n\t\t\t\t\t\tterminated temporarily due to NSF and/or merchants own \n\t\t\t\t\t\tfree will.
    \n\t\t\t
    \n\t\t\t

    4. Settlement account \n\t\t\tchange fee: $15.95 per occurrence.
    \n   
    \n\t\t\t5. Merchant DBA name change fee: $15.95 per occurrence.
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t
    *Fee Schedules subject \n\t\t\tto change without notice.
    \n                           \n\t\t\t

    \n\t\t\t
    \n\t\t\t

    USAePay Software \n\t\t\tLicense Agreement
    \n\t\t\t

    \n\t\t\t1. Grant of Software License:
    \n\t\t\t
    Upon installation/setup of the USAePay software and service (the \n\t\t\t"Software") or by using it for any purpose, you accept all the terms \n\t\t\tand conditions of this License. Please read this License in its \n\t\t\tentirety carefully before using the Software. Subject to your \n\t\t\tacceptance of the terms of this License, USAePay hereby grants to \n\t\t\tyou, the Licensee, a nonexclusive license to use the Software for \n\t\t\tsending and/or receiving payment authorizations for delivery and \n\t\t\tprocessing through an authorized payment gateway.
    \n\t\t\t
    \n\t\t\t2. Limitations:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Copyright \n\t\t\t\t\t\tProtection.
    \n\t\t\t\t\t\tThe Software is owned or licensed by USAePay and is \n\t\t\t\t\t\tsubject to protection under the copyright, patent and \n\t\t\t\t\t\ttrademark laws of the United States and other countries. \n\t\t\t\t\t\tYou may not remove any of the copyright notices, USAePay \n\t\t\t\t\t\tidentifiers, or other proprietary labels, or modify, \n\t\t\t\t\t\treverse engineer, decompile, or disassemble the binary \n\t\t\t\t\t\tcomponents of the Software.
    b. Single \n\t\t\t\t\t\tProduct.
    \n\t\t\t\t\t\tThe Software is licensed as a single product and it may \n\t\t\t\t\t\tnot be separated into its component files nor shall its \n\t\t\t\t\t\tcomponent files be used for any purpose other than as \n\t\t\t\t\t\tset forth in Section 1.
    c. \n\t\t\t\t\t\tDistribution and Copying.
    \n\t\t\t\t\t\tYou may not distribute the Software or incorporate the \n\t\t\t\t\t\tSoftware or any portion of it into any other products or \n\t\t\t\t\t\tsoftware or create derivative works from it without the \n\t\t\t\t\t\tprior written consent of USAePay.
    d. Changes \n\t\t\t\t\t\tand Updates.
    \n\t\t\t\t\t\t
    USAePay may, in its discretion, issue updates, \n\t\t\t\t\t\tcorrections, and new releases (a "Change") to the \n\t\t\t\t\t\tSoftware. USAePay is not responsible for any damages \n\t\t\t\t\t\tsuffered as a result of such Change. If USAePay chooses \n\t\t\t\t\t\tto issue a Change, the terms of this License shall apply \n\t\t\t\t\t\tto such Change and the same shall be treated as Software \n\t\t\t\t\t\thereunder. Changes may require that you agree to \n\t\t\t\t\t\tadditional or revised terms and conditions as a \n\t\t\t\t\t\tcondition of continued use of the Software. Unless \n\t\t\t\t\t\totherwise agreed to by USAePay in writing, USAePay shall \n\t\t\t\t\t\thave no obligation to provide Changes, maintenance, or \n\t\t\t\t\t\tsupport to you or any person to whom you provide access \n\t\t\t\t\t\tto the Software.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t3. Government Use:
    \n\t\t\t
    Use, duplication or disclosure by or on behalf of U.S. \n\t\t\tGovernment entities is subject to restrictions set forth in \n\t\t\tsubparagraphs (a) through (d) of the Commercial Computer-Restricted \n\t\t\tRights clause at FAR 52.227-19 when applicable, or in subparagraph \n\t\t\t(c)(1)(ii) of the Rights in Technical Data and Computer Software \n\t\t\tclause at DFARS 252.227-7013, and in similar clauses in the NASA AR \n\t\t\tSupplement. The contractor/manufacturer is USAePay, 5900 Wilshire Blvd, Suite 2700, Los Angeles, CA 90036. USA.
    \n\t\t\t
    \n\t\t\t4. Restrictions on Export:
    \n\t\t\t
    You may not setup, download or otherwise export or re-export the \n\t\t\tSoftware or any of its components, data, code or technology except \n\t\t\tin full compliance with all United States and other applicable laws \n\t\t\tand regulations. In particular, but without limitation, none of the \n\t\t\tSoftware or its components, data, code or technology may be
    \n\t\t\tdownloaded or otherwise exported or re-exported.

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. into (or to \n\t\t\t\t\t\ta national resident of) Cuba, Iraq, Libya, Sudan, North \n\t\t\t\t\t\tKorea, Iran, or Syria, Indonesia, Romania, Malaysia or
    b. to anyone on \n\t\t\t\t\t\tthe U.S. Treasury Department\'s list of Specially \n\t\t\t\t\t\tDesignated nationals or the U.S. Commerce Department\'s \n\t\t\t\t\t\tTable of Deny Orders. By downloading the Software, you \n\t\t\t\t\t\tare agreeing to the preceding terms and are representing \n\t\t\t\t\t\tand warranting that you are not located in, under the \n\t\t\t\t\t\tcontrol of, or a national or resident of any such \n\t\t\t\t\t\tcountry or on any such list.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t5. Limited Warranty:
    \n\t\t\t
    USAePay warrants that if the Software is inoperable or \n\t\t\tdefective, it will make commercially reasonable efforts to make \n\t\t\tavailable to you at no charge a replacement copy of the Software. \n\t\t\tUSAePay and its vendors disclaim all other warranties, expressed or \n\t\t\timplied, written or oral, including but not limited to those of \n\t\t\tmerchantability, fitness for a particular purpose, and infringement.\n\t\t\t
    \n\t\t\t
    \n\t\t\t6. Limitation of Damages:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Except for a \n\t\t\t\t\t\tbreach by you of your obligations under Sections 2(a), \n\t\t\t\t\t\t(b), and (c), the parties hereto, and their vendors (and \n\t\t\t\t\t\tany officers, directors, employees and agents of the \n\t\t\t\t\t\tparties, and their vendors) shall not be liable for any \n\t\t\t\t\t\tconsequential, incidental or indirect damages.
    b. Except for \n\t\t\t\t\t\tclaims arising from criminal or willful misconduct, the \n\t\t\t\t\t\tparties agree to waive any claim to seek punitive or \n\t\t\t\t\t\texemplary damages.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t7. Termination:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Either party \n\t\t\t\t\t\tmay terminate this License on 30 days written notice for \n\t\t\t\t\t\tmaterial breach by the other party of its obligations \n\t\t\t\t\t\thereunder unless such breach is cured within such 30-day \n\t\t\t\t\t\tperiod.
    b. In addition \n\t\t\t\t\t\tto your termination right under paragraph (a) you may \n\t\t\t\t\t\tterminate this license on 10 days written notice. \n\t\t\t\t\t\t
    c. In addition \n\t\t\t\t\t\tto USAePay\'s termination right under paragraph (a), \n\t\t\t\t\t\tUSAePay may terminate this license as provided in \n\t\t\t\t\t\tSection 11.
    d. Upon \n\t\t\t\t\t\ttermination of this License, you will return or destroy \n\t\t\t\t\t\tall copies of the Software in your possession. \n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t8. Notices:
    \n\t\t\t
    All notices shall be given electronically, with notices to you \n\t\t\tbeing sent to the electronic mail address which you furnish at the \n\t\t\ttime you install the Software and notices to USAePay going to legal@USAePay.com.
    \n\t\t\t
    \n\t\t\t9. Trademarks:
    \n\t\t\t
    "USAePay", the USAePay logo, "Gor Corporation", the Gor \n\t\t\tCorporation logo are trademarks of Gor Corporation. USAePay grants \n\t\t\tyou a limited, non-exclusive license to use those trademarks in \n\t\t\tdisplaying payment options on your web site and in promotional \n\t\t\tdocumentation.
    \n\t\t\t
    \n\t\t\t10. No Agency:
    \n\t\t\t
    Without USAePay\'s written consent, you will not represent that \n\t\t\tyou are an agent of USAePay, or that you have been endorsed or \n\t\t\tcertified by USAePay.
    \n\t\t\t
    \n\t\t\t11. Infringement Indemnity:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. USAePay \n\t\t\t\t\t\thereby agrees to indemnify you against any loss or \n\t\t\t\t\t\tdamage, including attorneys\' fees and costs of \n\t\t\t\t\t\tlitigation, arising from a claim that the Software \n\t\t\t\t\t\tinfringes a patent, copyright, trademark or other \n\t\t\t\t\t\tintellectual property right of any other person.
    \n 
    b. You hereby \n\t\t\t\t\t\tagree to indemnify USAePay against any loss or damage, \n\t\t\t\t\t\tincluding attorneys\' fees and costs of litigation, \n\t\t\t\t\t\tarising from a claim that the Software infringes a \n\t\t\t\t\t\tpatent, copyright, trademark or other intellectual \n\t\t\t\t\t\tproperty right resulting from:
    \n 
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    i. \n\t\t\t\t\t\t\t\t\tyour use of the Software for purposes other \n\t\t\t\t\t\t\t\t\tthan making use of a payment service \n\t\t\t\t\t\t\t\t\tauthorized by USAePay; or
    ii. \n\t\t\t\t\t\t\t\t\tan unauthorized modification of the Software \n\t\t\t\t\t\t\t\t\tby you, provided, however, that the \n\t\t\t\t\t\t\t\t\tforegoing indemnification obligation applies \n\t\t\t\t\t\t\t\t\tonly to such a claim that would have been \n\t\t\t\t\t\t\t\t\tavoided in the absence of such use or \n\t\t\t\t\t\t\t\t\tmodification.
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    c. In the event \n\t\t\t\t\t\ta party (the "Indemnified Party") becomes aware of a \n\t\t\t\t\t\tclaim described in Sections 10 (a) or (b) for which it \n\t\t\t\t\t\tmay seek indemnification, the Indemnified Party shall \n\t\t\t\t\t\tpromptly give the other party (the "Indemnifying Party") \n\t\t\t\t\t\tnotice of the claim and permit the Indemnifying Party to \n\t\t\t\t\t\tassume the defense of the claim. The Indemnified Party \n\t\t\t\t\t\tshall have the right to participate in the defense at \n\t\t\t\t\t\tits expense.
    d. USAePay \n\t\t\t\t\t\tshall have no obligation to indemnify you with respect \n\t\t\t\t\t\tto any claim to extent it is based on:
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    i. \n\t\t\t\t\t\t\t\t\tthe use of the Software for a purpose other \n\t\t\t\t\t\t\t\t\tthan using a payment service authorized by \n\t\t\t\t\t\t\t\t\tUSAePay;
    ii. \n\t\t\t\t\t\t\t\t\tThe use of the Software in combination with \n\t\t\t\t\t\t\t\t\tother products, equipment, devices or \n\t\t\t\t\t\t\t\t\tsoftware where such combination is likely to \n\t\t\t\t\t\t\t\t\tinfringe or infringes the rights of a third \n\t\t\t\t\t\t\t\t\tparty; or
    \n\t\t\t\t\t\t\t\t\tiii. The alteration or modification of the \n\t\t\t\t\t\t\t\t\tbinary elements of the Software by or for \n\t\t\t\t\t\t\t\t\tyou if such infringement charge would have \n\t\t\t\t\t\t\t\t\tbeen avoided in the absence of such \n\t\t\t\t\t\t\t\t\talteration or modification.
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    e. If the \n\t\t\t\t\t\tSoftware or any component of the Software becomes, or in \n\t\t\t\t\t\tUSAePay\'s opinion is likely to become, the subject of a \n\t\t\t\t\t\tclaim of infringement, then you shall permit USAePay, at \n\t\t\t\t\t\tits option and expense, either:
    \n 
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    i. \n\t\t\t\t\t\t\t\t\tto procure for you the right to continue \n\t\t\t\t\t\t\t\t\tusing the Software as permitted in this \n\t\t\t\t\t\t\t\t\tAgreement, or
    ii. \n\t\t\t\t\t\t\t\t\tTo replace or modify Software or the \n\t\t\t\t\t\t\t\t\tinfringing component of the
    \n\t\t\t\t\t\t\t\t\tSoftware so that it becomes non-infringing. \n\t\t\t\t\t\t\t\t\tIf, after the using commercially reasonable \n\t\t\t\t\t\t\t\t\tefforts USAePay is unable to cure the \n\t\t\t\t\t\t\t\t\tinfringement, either party may terminate \n\t\t\t\t\t\t\t\t\tthis Agreement on written notice to the \n\t\t\t\t\t\t\t\t\tother.
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t\t

    12. Payment Terms:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. It is the \n\t\t\t\t\t\tLicensee\'s understanding they will be charged the rates \n\t\t\t\t\t\tand fees for their use of the Software as set forth in \n\t\t\t\t\t\ttheir Agreement at the time of sale.
    b. If the \n\t\t\t\t\t\tLicensee fails to stay current with the payment terms as \n\t\t\t\t\t\tdescribed in 12 (a), USAePay reserves the right to \n\t\t\t\t\t\tdiscontinue use of the Software by Licensee until paid \n\t\t\t\t\t\tin full.
    \n\t\t\t
    \n\t\t\t

    13. Acceptable Use \n\t\t\tPolicy:
    \n\t\t\t
    Merchant will not engage in Net Abuse, that can be defined as \n\t\t\t(but is not limited to):

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Sending any \n\t\t\t\t\t\tkind of unsolicited or unwelcome email to a substantial \n\t\t\t\t\t\tnumber of network users, anywhere on the Internet.
    b. Posting a \n\t\t\t\t\t\tsingle article or substantially similar articles to an \n\t\t\t\t\t\texcessive number of newsgroups or mailing lists (i.e., \n\t\t\t\t\t\t20 or more).
    c. Repeated or \n\t\t\t\t\t\tdeliberate posting of articles that are off-topic \n\t\t\t\t\t\taccording to the charter of that newsgroup or mail list.
    d. Posting \n\t\t\t\t\t\tcommercial advertising in almost any conference or \n\t\t\t\t\t\tnewsgroup, unless it is specifically permitted within \n\t\t\t\t\t\tthat group. I understand that USAePay investigates all \n\t\t\t\t\t\treported occurrences of net abuse, and will take action \n\t\t\t\t\t\taccording to the circumstances and severity of the \n\t\t\t\t\t\tabuse. For first offenders, USAePay will normally issue \n\t\t\t\t\t\ta warning, and take necessary action to minimize any \n\t\t\t\t\t\tdamage. Depending on the severity of the breach of this \n\t\t\t\t\t\tpolicy, USAePay may immediately take any of the \n\t\t\t\t\t\tfollowing actions:
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    i. \n\t\t\t\t\t\t\t\t\tImmediate suspension of your account, \n\t\t\t\t\t\t\t\t\thalting all processing of credit card and/or \n\t\t\t\t\t\t\t\t\tACH transactions.
    ii. \n\t\t\t\t\t\t\t\t\tPossible termination of account. USAePay \n\t\t\t\t\t\t\t\t\twill not tolerate Net Abuse of any kind.
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t\t

    14. Agreement Provisions:
    \n\t\t\t
    This License constitutes the entire Agreement between you and \n\t\t\tUSAePay pertaining to the subject matter hereof, and supersedes in \n\t\t\ttheir entirety any and all written or oral Agreements pertaining to \n\t\t\tthe Software and its use between the parties.

    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Publicity
    \n\t\t\t\t\t\tThe parties may work together to issue publicity and \n\t\t\t\t\t\tgeneral marketing communications concerning their \n\t\t\t\t\t\trelationship and other mutually agreed-upon matters, \n\t\t\t\t\t\tprovided, however, that neither party will have any \n\t\t\t\t\t\tobligation to do so. In addition, neither party will \n\t\t\t\t\t\tissue such publicity and general marketing \n\t\t\t\t\t\tcommunications concerning this relationship without the \n\t\t\t\t\t\tprior written consent of the other party (not to be \n\t\t\t\t\t\tunreasonably withheld or delayed).
    b. Non-exclusivity
    \n\t\t\t\t\t\tEach party acknowledges and agrees that the rights \n\t\t\t\t\t\tgranted to the other party in this Agreement are \n\t\t\t\t\t\tnon-exclusive, and that, without limiting the generality \n\t\t\t\t\t\tof the foregoing, nothing in this Agreement shall be \n\t\t\t\t\t\tdeemed or construed to prohibit either party from \n\t\t\t\t\t\tparticipating in similar business arrangements as those \n\t\t\t\t\t\tdescribed herein.
    c. Severability; \n\t\t\t\t\t\tHeadings
    \n\t\t\t\t\t\tIf any provision of this Agreement is held to be invalid \n\t\t\t\t\t\tor unenforceable for any reason, the remaining \n\t\t\t\t\t\tprovisions will continue in full force without being \n\t\t\t\t\t\timpaired or invalidated in any way. The parties agree to \n\t\t\t\t\t\treplace any invalid provision with a valid provision, \n\t\t\t\t\t\twhich most closely approximates the intent and economic \n\t\t\t\t\t\teffect of the invalid provision. Headings are used for \n\t\t\t\t\t\tconvenience of reference only and in no way define, \n\t\t\t\t\t\tlimit, construe or describe the scope or extent of any \n\t\t\t\t\t\tsection, or in any way affect this Agreement.
    d. Waiver
    \n\t\t\t\t\t\t
    The failure of any party to insist on or enforce \n\t\t\t\t\t\tstrict performance of any provision of this Agreement or \n\t\t\t\t\t\tto exercise any right or remedy under this Agreement or \n\t\t\t\t\t\tapplicable law will not be construed as a waiver or \n\t\t\t\t\t\trelinquishment to any extent of the right to assert or \n\t\t\t\t\t\trely upon any such provision, right or remedy in that or \n\t\t\t\t\t\tany other instance; rather, the same will be and remain \n\t\t\t\t\t\tin full force and effect. Waiver by either party of a \n\t\t\t\t\t\tbreach of any provision contained herein must be in \n\t\t\t\t\t\twriting, and no such waiver will be construed as a \n\t\t\t\t\t\twaiver of any other and/or succeeding breach of such \n\t\t\t\t\t\tprovision or a waiver of the provision itself.
    e. Dispute Resolution
    \n\t\t\t\t\t\tAny dispute or claim arising out of or relating to this \n\t\t\t\t\t\tAgreement, except claims involving intellectual property \n\t\t\t\t\t\tand claims for indemnification, will be resolved by \n\t\t\t\t\t\tbinding arbitration. The arbitration of any dispute or \n\t\t\t\t\t\tclaim shall be conducted in accordance with the American \n\t\t\t\t\t\tArbitration Association ("AAA") rules, as modified by \n\t\t\t\t\t\tthis Agreement, and will take place in Los Angeles, \n\t\t\t\t\t\tCalifornia, USA, unless the Parties mutually agree to \n\t\t\t\t\t\thold the proceedings elsewhere. This Agreement evidences \n\t\t\t\t\t\ta transaction in interstate commerce and this \n\t\t\t\t\t\tarbitration provision will be interpreted and enforced \n\t\t\t\t\t\tin accordance with the Federal Arbitration Act and \n\t\t\t\t\t\tfederal arbitration law. An arbitrator may not award \n\t\t\t\t\t\trelief in excess of or contrary to what this Agreement \n\t\t\t\t\t\tprovides or order consolidation or arbitration on a \n\t\t\t\t\t\tclass wide or representative basis, except that the \n\t\t\t\t\t\tarbitrator may award on an individual basis damages \n\t\t\t\t\t\trequired by statute and may order injunctive or \n\t\t\t\t\t\tdeclaratory relief pursuant to an applicable consumer \n\t\t\t\t\t\tprotection statute. Any arbitration shall be \n\t\t\t\t\t\tconfidential, and neither Party may disclose the \n\t\t\t\t\t\texistence, content or results of any arbitration, except \n\t\t\t\t\t\tas may be required by law or for purposes of enforcement \n\t\t\t\t\t\tof the arbitration award. Judgment on any arbitration \n\t\t\t\t\t\taward may be entered in any court having proper \n\t\t\t\t\t\tjurisdiction. All administrative fees and expenses will \n\t\t\t\t\t\tbe divided equally between the Parties, but each Party \n\t\t\t\t\t\twill bear the expense of its own counsel, experts, \n\t\t\t\t\t\twitnesses and preparation and presentation of evidence \n\t\t\t\t\t\tat the arbitration. IF FOR ANY REASON THIS ARBITRATION \n\t\t\t\t\t\tCLAUSE IS DEEMED INAPPLICABLE OR INVALID, THE PARTIES \n\t\t\t\t\t\tWAIVE, TO THE FULLEST EXTENT ALLOWED BY LAW, ANY RIGHT \n\t\t\t\t\t\tTO PURSUE ANY CLAIMS ON A CLASS OR CONSOLIDATED BASIS OR \n\t\t\t\t\t\tIN A REPRESENTATIVE CAPACITY. No action, regardless of \n\t\t\t\t\t\tform, arising out of or in conjunction with the subject \n\t\t\t\t\t\tmatter of this Agreement, except for claims involving \n\t\t\t\t\t\tintellectual property and claims for indemnification, \n\t\t\t\t\t\tmay be brought by either Party more than one (1) year \n\t\t\t\t\t\tafter the cause of action arose.
    \n\t\t\t
    \n\t\t\t

    15. Governing Law:
    \n\t\t\t
    This License Agreement shall be governed by the laws of the \n\t\t\tState of California, United States of America.
    \n\t\t\t
    \n\t\t\t16. Malicious Attempts:
    \n\t\t\t
    Any malicious attempts taken on any entity of the USAePay \n\t\t\twebsite or software will result in immediate termination of account \n\t\t\tas well an assessed malice fee for any and all damages.
    \n\t\t\t
    \n\t\t\t

    \n\t\t\tLast revised : 03/09/2010
    \n\t\t\tversion 1. rev. 10.
    \n 

    '})],J0);let um=class{constructor(){this.showNews=!1}ngOnInit(){}};um.ctorParameters=()=>[],um.propDecorators={articles:[{type:Y,args:["articles"]}]},um=nt([kt({selector:"ue-newsfeed",template:'
    \n\t
    \n\t\t

    \n\t\t\t\n\t\t\t\t\n\t\t\t\tNewsfeed\n\t\t\t\n\t\t

    \n\t
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t\t\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    {{ showNews ? \'Hide Older\' : \'View Older\'}}
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'})],um);let bv=class{constructor(){}ngOnInit(){}};bv.ctorParameters=()=>[],bv.propDecorators={article:[{type:Y,args:["article"]}],last:[{type:Y,args:["last"]}]},bv=nt([kt({selector:"ue-article",template:'
    \n\t
    \n\t\t
    \n\t\t\t

    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{{article?.posted}}\n\t\t\t\t\n\t\t\t

    \n\t\t\t

    \n\t\t\t\t{{article?.title}}\n\t\t\t

    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'})],bv);let dm=class{constructor(){this.changeTab=new Mt}ngOnInit(){}clickTab(t){this.changeTab.emit(t),this.showTab=t}tabHighlight(t){if(this.highlightTabs)return-1!==this.highlightTabs.indexOf(t)}};dm.ctorParameters=()=>[],dm.propDecorators={tabs:[{type:Y}],showTab:[{type:Y}],changeTab:[{type:Ee}],highlightTabs:[{type:Y}]},dm=nt([kt({selector:"ue-nav-tabs",template:'\n',styles:[""]})],dm);let au=class{constructor(t,e,s){this.el=t,this.renderer=e,this.ngControl=s,this.error=!1,this.renderer.addClass(this.el.nativeElement,"mobile-center"),this.renderer.addClass(this.el.nativeElement,"input_lg"),this.renderer.addClass(this.el.nativeElement,"font-light")}ngOnInit(){!this.ngControl||((""===this.ngControl.control.value||null===this.ngControl.control.value)&&this.renderer.addClass(this.el.nativeElement,"empty"),this.controlSubscription=this.ngControl.control.valueChanges.subscribe(t=>{""===t||null===t?this.renderer.addClass(this.el.nativeElement,"empty"):this.renderer.removeClass(this.el.nativeElement,"empty")}))}ngAfterViewInit(){this.readonly&&this.el.nativeElement.setAttribute("readonly",!0)}ngOnDestroy(){this.controlSubscription&&this.controlSubscription.unsubscribe()}};au.ctorParameters=()=>[{type:Fe},{type:Ks},{type:ml,decorators:[{type:cr},{type:Zh}]}],au.propDecorators={label:[{type:Y}],errorMessage:[{type:Y}],note:[{type:Y}],greyout:[{type:Y}],readonly:[{type:Y}],disabled:[{type:Y}],reqDifferent:[{type:Y}],error:[{type:kq,args:["class.error"]},{type:Y}]},au=nt([hr({selector:"[ueFloatInput]"})],au);let hm=class{constructor(){}};hm.ctorParameters=()=>[],hm.propDecorators={inputDirective:[{type:Nu,args:[au,{static:!0}]}]},hm=nt([kt({selector:"ue-float-input-container",template:'
    \n\t\n\t\n\tNote: {{inputDirective.note}}\n\t
    * {{inputDirective.errorMessage}}
    \n
    \n',styles:["div.error {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n}\n\n"]})],hm);var F1;let pm=F1=class{constructor(){this.error=!1,this.valueChange=new Mt,this.isDisabled=!1,this.isEmpty=!0}ngOnChanges(t){t.value&&this.checkIfEmpty(t.value.currentValue)}inputChange(t){this.checkIfEmpty(t),this.valueChange.emit(t),this._onChange&&this._onChange(t)}inputBlur(){this._onTouch&&this._onTouch()}checkIfEmpty(t){this.isEmpty=""===t}writeValue(t){this.checkIfEmpty(t),this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouch=t}setDisabledState(t){this.isDisabled=t}};pm.ctorParameters=()=>[],pm.propDecorators={label:[{type:Y}],value:[{type:Y}],inputClass:[{type:Y}],error:[{type:Y}],errorMessage:[{type:Y}],note:[{type:Y}],readonly:[{type:Y}],valueChange:[{type:Ee}],reqDifferent:[{type:Y}]},pm=F1=nt([kt({selector:"ue-float-label-select",template:'
    \n\t
    \n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tNote: {{note}}\n\t\t* {{errorMessage}}\n\t
    \n
    ',providers:[{provide:Zs,multi:!0,useExisting:F1}],styles:[".ng-float-label-control {\n\theight: 43px;\n\tbackground-color: #fff;\n\tborder: 1px solid #cdcdcd;\n\tborder-radius: 5px;\n margin-bottom: 1.5em;\n\tposition: relative;\n}\n\nselect {\n\twidth: 100%;\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding: 21px 10px 6px;\n\tmargin: 0;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n}\n\nselect.empty {\n\tpadding: 13px 10px 13px;\n\tcolor: #42779d;\n}\n\nlabel {\n\tposition: absolute;\n font-weight: normal;\n opacity: 1;\n top: 2px;\n left: 12px;\n\tcolor: #3c7299;\n font-size: 0.85em;\n transition: 0.5s all ease;\n -webkit-transition: 0.5s all ease;\n}\n\nlabel.empty {\n\topacity: 0 !important;\n top: 20px;\n left: 12px;\n animation: none;\n -webkit-animation: none;\n}\n\n.ng-float-label-control.error {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n\tmargin-bottom: 40px;\n\tbackground-color: #fff0f0 !important;\n\tborder-color: #A90329;\n}\n\n.disabled div, select {\n\tcolor: black;\n}\n\nspan.icon {\n\tposition: absolute;\n top: 25%;\n right: 3%;\n color: #3c7299;\n font-size: 1.1em;\n}\n"]})],pm);(class Flt{constructor(){}static passwordMatch(t){return t.controls.password_confirm&&t.controls.password?t.controls.password_confirm.value===t.controls.password.value?null:{passwordmismatch:!0}:null}static passwordLetterOrNum(){return t=>{if(null===t.value||0===t.value.length)return null;const e=/\w*[a-zA-Z]\w*/.test(t.value),s=/\w*\d\w*/.test(t.value);return e&&s?null:{noletterornumber:!0}}}static validEmail(){return t=>{const e=t.value;if(!e)return null;const s=e.split(/[ ,;]+/);let i="";return s.forEach(r=>{this.emailRegex.test(r)||(i+=r+" ")}),0===i.length?null:{invalidEmail:!0}}}static multipleEmails(){return t=>null===t.value||0===t.value.length||/^[\W]*([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4}[\W]*,{1}[\W]*)*([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4})[\W]*$/.test(t.value)?null:{error:!0}}static streetAddress(){return t=>null===t.value||0===t.value.length||/^\s*\S+(?:\s+\S+){2}/.test(t.value)?null:{error:!0}}static lettersAndNum(){return t=>null!==t.value&&0!==t.value.length&&/[^A-Za-z0-9 ]+/g.test(t.value)?{error:!0}:null}static numOnly(){return t=>null===t.value||0===t.value.length||/[0-9]/.test(t.value)?null:{error:!0}}static noSymbols(){return t=>null===t.value||0===t.value.length||/^[_A-z0-9]*((-|\s)*[_A-z0-9])*$/.test(t.value)?null:{error:!0}}static minValue(t){return e=>this.sanitizeNum(e.value)this.sanitizeNum(e.value)>t?{error:!0}:null}static isBetween(t,e){return s=>this.sanitizeNum(s.value)e?{error:!0}:null}static sanitizeNum(t){let e;return e="string"==typeof t?t&&t.replace(/[^\d\.-]+/g,""):t,"."===e&&(e=0),e}static validateIPs(){return t=>{if(t.value){if(null===t.value||0===t.value.length||Array.isArray(t.value))return null;const e=t.value.split(/[ ,;]+/);let s="";for(let i=0;i()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;let Y1=class{constructor(){this.name="date"}transform(t,...e){return t}};Y1=nt([Lp({name:"date",pure:!1})],Y1);let Bl=class{constructor(){this.receivedResponse=!1,this.marginOverride=!1,this.isOpened=!1,this.fadeOut=!1}ngOnDestroy(){document.body.className=document.body.className.replace(/modal-open\b/,"")}startModal(t,e=500){this.resetValues(),setTimeout(()=>{this.receivedResponse||(this.isOpened=!0,this.title=t)},e)}updateTitle(t){this.title=t}updateModal(t,e){if(this.receivedResponse=!0,this.isOpened){let s,i,r,o;"success"===t&&(s="fa-check",i="txt-success",r="stroke-success",o="Success!"),"error"===t&&(s="fa-times",i="txt-error",r="stroke-error",o="Error!"),this.updateResponse({icon:s,color:i,stroke:r,title:o,message:e})}}open(...t){this.isOpened||(this.isOpened=!0,window.setTimeout(()=>this.progressModal.nativeElement.focus(),0),document.body.className+=" modal-open")}close(...t){!this.isOpened||(this.isOpened=!1,document.body.className=document.body.className.replace(/modal-open\b/,""))}updateResponse(t){this.updateValues(t),setTimeout(()=>{this.fadeOut=!0},2e3),setTimeout(()=>{this.close(),this.resetValues(),this.fadeOut=!1},2500)}updateValues(t){this.icon=t.icon,this.color=t.color,this.stroke=t.stroke,this.title=t.title,this.message=t.message}resetValues(){this.icon="",this.color="",this.stroke="",this.title="",this.message="",this.receivedResponse=!1}preventClosing(t){t.stopPropagation()}};Bl.ctorParameters=()=>[],Bl.propDecorators={icon:[{type:Y}],color:[{type:Y}],stroke:[{type:Y}],title:[{type:Y}],message:[{type:Y}],receivedResponse:[{type:Y}],marginOverride:[{type:Y}],progressModal:[{type:bt,args:["progressModal",{static:!0}]}]},Bl=nt([kt({selector:"ue-progress-modal",template:'\n\n\n\t\n',styles:[".modal-backdrop {\n\tz-index: 1100;\n}\n\n.modal {\n\tz-index: 1200;\n}\n\n.hide_element {\n\tdisplay: none\n}\n\n.closed_status {\n\tmax-height: 0;\n\ttransition: max-height .7s ease-in-out;\n\ttransition-delay: 1s;\n\toverflow: hidden;\n}\n\n.closed_status.slidedown {\n\tmax-height: 200px;\n}\n\n.progress_chart {\n\tanimation: fadein .5s;\n\t-webkit-animation: fadein .5s;\n\t-moz-animation: fadein .5s;\n}\n\n.fadeOut {\n\topacity: 0 !important;\n\ttransition: opacity .5s ease;\n}\n\n@keyframes fadein {\n\tfrom {opacity: 0;}\n\tto {opacity: 1;}\n}\n\n@-webkit-keyframes fadein {\n\tfrom {opacity: 0;}\n\tto {opacity: 1;}\n}\n"]})],Bl);let fm=class{constructor(){this.index=0,this.updateTime=new Mt,this.hour=12,this.min="00",this.ampm="PM",this.clock=this.updateClock(),this.showTime=!1,this.time=[{batch:"",value:""}]}ngOnInit(){this.makeClock();const t=new Date;let i,e=t.getHours(),s=t.getMinutes();this.timeData.value?(this.hour=this.timeData.value.split(":",2)[0],this.min=this.timeData.value.split(":",2)[1].split(" ",1)[0],this.ampm=this.timeData.value.split(":",2)[1].split(" ",2)[1],this.updateClock(),this.makeClock()):(i=e>=12?"PM":"AM",e=e>12?e-12:e,s<10&&(s="0"+s),this.hour=e,this.min=s,this.ampm=i,this.updateClock(),this.makeClock())}clickedOutside(t){this.showTime=!1}showTimePicker(t){this.allowClick(t),this.showTime=!this.showTime}allowClick(t){t.preventDefault(),t.stopPropagation()}hideTimePicker(){this.showTime=!this.showTime}updateClock(){this.clock=this.hour+":"+this.min+" "+this.ampm}hourCountUp(){this.hour>11?(this.hour=1,this.updateClock()):(this.hour++,this.updateClock()),this.makeClock()}hourCountDown(){this.hour<=1?(this.hour=12,this.updateClock()):(this.hour--,this.updateClock()),this.makeClock()}minCountUp(){this.min>=59?(this.min="0",this.hour++,this.hour>11&&(this.hour=1),this.updateClock()):(this.min++,this.updateClock()),this.min<10&&(this.min="0"+this.min,this.updateClock()),this.makeClock()}minCountDown(){this.min<1?(this.min=59,this.hour--,this.updateClock()):(this.min--,this.updateClock()),this.min<10&&(this.min="0"+this.min,this.updateClock()),this.makeClock()}ampmSet(){"PM"===this.ampm?(this.ampm="AM",this.updateClock()):(this.ampm="PM",this.updateClock()),this.makeClock()}disableInput(t){(t||window.event).preventDefault()}validate(t){const e=t||window.event;let s=e.keyCode||e.which;if(s=String.fromCharCode(s),!/[0-9]/.test(s)){if("Backspace"===e.key||"Delete"===e.key)return this.clock=this.hour+":"+this.min+" "+this.ampm,!0;e.preventDefault()}}hrLimit(t){t>12?(this.hour=12,this.updateClock()):this.updateClock(),this.makeClock()}minLimit(t){1===t.length?(this.min="0"+this.min,this.updateClock()):0===this.min.indexOf("0")&&t.length>2?(this.min=this.min.slice(1),this.updateClock()):t>59||60===t?(this.min="00",this.updateClock()):this.updateClock(),this.makeClock()}sendData(){this.makeClock()}makeClock(){return this.updateTime.emit({time:this.clock,index:this.index})}};fm.ctorParameters=()=>[],fm.propDecorators={index:[{type:Y}],timeData:[{type:Y}],updateTime:[{type:Ee}],clickedOutside:[{type:pr,args:["document:click",["$event"]]}]},fm=nt([kt({selector:"ue-time-picker",template:'
    \n',styles:['/* time library */\n\n.timeDiv {\n\twidth:60px;\n\t\n}\n\n.timepicker {\n\twidth:180px;\n}\n\n.timeClass{\n\twidth: 55px;\n\tfloat:left;\n}\n\n.colonDiv{\n\twidth:2px;\n\tfloat:left;\n\tmargin-top: 22px;\n font-size: 22px;\n\tpadding-left: 4px;\n}\n\n.pointer {\n\tfont-size:16px;\n\tcolor:#3c7299;\n}\n\n.timeInput {\n\twidth: 30px !important;\n border-radius: 5px;\n text-align: center; \n}\n\n/* The container
    - needed to position the dropdown content */\n\n.dropdown {\n position: relative;\n display: inline-block;\n}\n\n/* Dropdown Content (Hidden by Default) */\n\n.dropdown-content {\n display: block;\n position: absolute;\n background-color: white;\n\tmin-width: 180px;\n\theight: 100px;\n\tborder-radius: 4px;\n\tborder: 0.5px solid lightgrey;\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n z-index: 100;\n}\n\n/* Links inside the dropdown */\n\n.dropdown-content a {\n color: black;\n padding: 12px 16px;\n text-decoration: none;\n display: block;\n}\n\n/* Change color of dropdown links on hover */\n\n.dropdown-content a:hover {background-color: #ddd}\n\n/* Show the dropdown menu on hover */\n\n.dropdown:hover .dropdown-content {\n display: block;\n}\n\n/* Change the background color of the dropdown button when the dropdown content is shown */\n\n.dropdown:hover .dropbtn {\n background-color: #3e8e41;\n}\n\n.arrow_box {\n\tposition: relative;\n\tbackground: white;\n}\n\n.arrow_box:after, .arrow_box:before {\n\tbottom: 100%;\n\tleft: 50%;\n\tborder: 0.5px solid lightgrey;\n\tcontent: " ";\n\theight: 0;\n\twidth: 0;\n\tposition: absolute;\n\tpointer-events: none;\n}\n\n.arrow_box:after {\n\tborder-color: rgba(0, 0, 0, 0);\n\tborder-bottom-color: white;\n\tborder-width: 10px;\n\tmargin-left: -10px;\n}\n\n.arrow_box:before {\n\tborder-color: rgba(245, 245, 245, 0);\n\tborder-bottom-color: #f5f5f5;\n\tborder-width: 16px;\n\tmargin-left: -16px;\n}']})],fm);const Blt={linear:n=>n,easeInQuad:n=>n*n,easeOutQuad:n=>n*(2-n),easeInOutQuad:n=>n<.5?2*n*n:(4-2*n)*n-1,easeInCubic:n=>n*n*n,easeOutCubic:n=>--n*n*n+1,easeInOutCubic:n=>n<.5?4*n*n*n:(n-1)*(2*n-2)*(2*n-2)+1,easeInQuart:n=>n*n*n*n,easeOutQuart:n=>1- --n*n*n*n,easeInOutQuart:n=>n<.5?8*n*n*n*n:1-8*--n*n*n*n,easeInQuint:n=>n*n*n*n*n,easeOutQuint:n=>1+--n*n*n*n*n,easeInOutQuint:n=>n<.5?16*n*n*n*n*n:1+16*--n*n*n*n*n},Ult_easeInOutCubic="easeInOutCubic";let mm=class{constructor(t,e,s,i,r){this.renderer=t,this.elementRef=e,this.routerLink=s,this.routerLinkWithHref=i,this.router=r,this.scrollTarget="",this.ueScrollOffset=75,this.ueScrollDuration=500,this.ueScrollEasingFunction=Ult_easeInOutCubic,this.clicked=!1}set ueScrollTo(t){this.scrollTarget=t}ngAfterViewInit(){(this.routerLink||this.routerLinkWithHref)&&(this.routerSubscription=this.router.events.pipe(as(t=>t instanceof Ri)).subscribe(t=>{this.clicked&&(this.clicked=!1,this.scrollTo())})),this.renderer.setStyle(this.elementRef.nativeElement,"cursor","pointer")}ngOnDestroy(){this.routerSubscription&&this.routerSubscription.unsubscribe()}scrollTo(){const t=document.getElementById(this.scrollTarget);t?function $lt(n,t=0,e=200,s="easeInOutCubic",i){const r=window.pageYOffset,o="now"in window.performance?performance.now():(new Date).getTime(),a=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight),l=window.innerHeight||document.documentElement.clientHeight||document.getElementsByTagName("body")[0].clientHeight,c="number"==typeof n?n:n.offsetTop,u=Math.round(a-c.99999?i&&i():requestAnimationFrame(h)}()}(t,this.ueScrollOffset,this.ueScrollDuration,this.ueScrollEasingFunction):this.clicked=!0}};mm.ctorParameters=()=>[{type:Ks},{type:Fe},{type:ia,decorators:[{type:cr},{type:Zh}]},{type:ra,decorators:[{type:cr},{type:Zh}]},{type:se}],mm.propDecorators={ueScrollTo:[{type:Y}],ueScrollOffset:[{type:Y}],ueScrollDuration:[{type:Y}],ueScrollEasingFunction:[{type:Y}],scrollTo:[{type:pr,args:["click"]}]},mm=nt([hr({selector:"[ueScrollTo]"})],mm);let gm=class{constructor(){this.inFocus=new uB(1)}getWindowInnerHeight(){return window.innerHeight}};gm.ctorParameters=()=>[],gm=nt([rs()],gm);let _m=class{constructor(t,e){this.elemRef=t,this.scrollSpyService=e}set ueElemScrollSpy(t){this.spyId=t}get inFocus(){return this.scrollSpyService.inFocus}get elementRect(){return this.elemRef.nativeElement.getBoundingClientRect()}get windowInnerHeight(){return this.scrollSpyService.getWindowInnerHeight()}ngOnInit(){}ngOnDestroy(){this.inFocus.next(null)}onWindowScroll(){const t=this.elementRect.top,e=this.elementRect.bottom,s=.5*this.windowInnerHeight;t[{type:Fe},{type:gm}],_m.propDecorators={ueElemScrollSpy:[{type:Y}],onWindowScroll:[{type:pr,args:["window:scroll"]}]},_m=nt([hr({selector:"[ueElemScrollSpy]"})],_m);let ym=class{constructor(t,e,s){this.scrollSpyService=t,this.elementRef=e,this.renderer=s,this.spyId=""}set ueScrollSpyActive(t){this.spyId=t}ngOnInit(){this.scrollSpyService.inFocus.pipe(Xy()).subscribe(t=>{t===this.spyId?this.renderer.addClass(this.elementRef.nativeElement,"active"):this.renderer.removeClass(this.elementRef.nativeElement,"active")})}};var H1;ym.ctorParameters=()=>[{type:gm},{type:Fe},{type:Ks}],ym.propDecorators={ueScrollSpyActive:[{type:Y}]},ym=nt([hr({selector:"[ueScrollSpyActive]"})],ym);let t3=H1=class{static forRoot(){return{ngModule:H1,providers:[gm]}}};t3=H1=nt([Yn({imports:[Xs],declarations:[_m,ym],exports:[_m,ym]})],t3);let vm=class{transform(t){return Object.keys(t).map(e=>({key:e,val:t[e]}))}};vm=nt([Lp({name:"objectloop"})],vm);let bm=class{constructor(){this.customText=""}ngOnInit(){}};var j1;bm.ctorParameters=()=>[],bm.propDecorators={customText:[{type:Y}]},bm=nt([kt({selector:"ue-loader",template:'
    \n\t
    \n\t\t\n\t\t\t\n\t\t\n\t\t

    {{customText ? customText : \'Loading...\'}}

    \n\t
    \n
    \n
    ',styles:[".loading-message {\n padding-top: 150px;\n}\n\n.app-loading {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n}\n\n.app-loading .spinner {\n height: 100px;\n width: 100px;\n -webkit-animation: rotate 2s linear infinite;\n animation: rotate 2s linear infinite;\n transform-origin: center center;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n}\n\n.app-loading .spinner .path {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n -webkit-animation: dash 1.5s ease-in-out infinite;\n animation: dash 1.5s ease-in-out infinite;\n stroke-linecap: round;\n stroke: #ddd;\n}\n\n@-webkit-keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@-webkit-keyframes dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n }\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n }\n}\n\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n }\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n }\n}\n\n/* Might need to use this if error */\n\n/* .cover {\n position:fixed;\n padding:0;\n margin:0;\n top:0;\n left:0;\n z-index:100 !important;\n width: 100%;\n height: 100%;\n background:rgba(255,255,255,0.5);\n} */\n\n.tabCover {\n position:absolute;\n /* padding-top:100px; */\n margin:0;\n left:0;\n z-index:100 !important;\n width: 100%;\n height: 60%;\n background-color:white !important;\n /* background:rgba(255,255,255,0.5); */\n}\n\n@-webkit-keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n\n@keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n"]})],bm);let wm=j1=class{constructor(){this.type="text",this.error=!1,this.isEmpty=!0,this.isDisabled=!1}inputChange(t){this.checkIfEmpty(t),this._onChange(t)}checkIfEmpty(t){this.isEmpty=!t}writeValue(t){this.checkIfEmpty(t),this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouch=t}setDisabledState(t){this.isDisabled=t}};wm.ctorParameters=()=>[],wm.propDecorators={type:[{type:Y}],label:[{type:Y}],value:[{type:Y}],placeholder:[{type:Y}],inputClass:[{type:Y}],error:[{type:Y}],errorMessage:[{type:Y}],maxlength:[{type:Y}],greyout:[{type:Y}],inputDirective:[{type:Nu,args:[au,{static:!0}]}]},wm=j1=nt([kt({selector:"ue-float-label",template:'\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t* {{errorMessage}}\n\t\t\t
    \n\t\t
    \n\t',providers:[{provide:Zs,multi:!0,useExisting:j1}],styles:["span.error {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n}\n\ninput.disabled {\n\tcolor: black;\n\tbackground-color: #dddddd;\n}\n\n"]})],wm);let X0=class{transform(t,e){let s="";return s=e||"-",t||s}};X0=nt([Lp({name:"uePlaceholder"})],X0);let Dm=class{constructor(t){this.el=t,this.tooltipPosition="right",this.tooltipEvent="hover",this.appendTo="body",this.zindex=5e3}onMouseEnter(t){"hover"===this.tooltipEvent&&(this.textToRender=this.text,this.show())}onMouseLeave(t){("hover"===this.tooltipEvent||"click"===this.tooltipEvent)&&this.hide(),this.clickedText&&"hover"===this.tooltipEvent&&(this.textToRender=this.text)}onClick(t){"click"===this.tooltipEvent&&!this.container&&(this.textToRender=this.text,this.show()),this.clickedText&&"hover"===this.tooltipEvent&&(this.hide(),this.textToRender=this.clickedText,this.show())}onFocus(t){"focus"===this.tooltipEvent&&(this.textToRender=this.text,this.show())}onBlur(t){"focus"===this.tooltipEvent&&this.hide()}show(){if(!this.text||this.disabled)return;this.create();const t="body"!==this.appendTo?{left:0,top:0}:this.getOffset(this.el.nativeElement),e=t.top,s=t.left;let i,r;switch(this.container.style.display="block",this.tooltipPosition){case"right":i=s+this.getOuterWidth(this.el.nativeElement),r=e+(this.getOuterHeight(this.el.nativeElement)-this.getOuterHeight(this.container))/2;break;case"modal-right":i=s+this.getOuterWidth(this.el.nativeElement),r=e+(this.getOuterHeight(this.el.nativeElement)-this.getOuterHeight(this.container))/1,this.container.style.position="fixed";break;case"left":i=s-this.getOuterWidth(this.container),r=e+(this.getOuterHeight(this.el.nativeElement)-this.getOuterHeight(this.container))/2;break;case"top":i=s+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/2,r=e-this.getOuterHeight(this.container);break;case"top-large":i=s+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/1,r=e-this.getOuterHeight(this.container)-20;break;case"modal-top":i=s+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/2,r=e-this.getOuterHeight(this.container),this.container.style.position="fixed";break;case"bottom":i=s+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/2,r=e+this.getOuterHeight(this.el.nativeElement)}this.container.style.left=i+"px",this.container.style.top=r+"px",this.fadeIn(this.container,250),this.container.style.zIndex=++this.zindex}hide(){this.ngOnDestroy()}create(){let t="ue-tooltip ue-tooltip-"+this.tooltipPosition;this.container=document.createElement("div"),this.tooltipStyleClass&&(t+=" "+this.tooltipStyleClass),this.container.className=t;const e=document.createElement("div");e.className="ue-tooltip-arrow",this.container.appendChild(e);const s=document.createElement("div");this.tooltipColor&&(s.style["background-color"]=this.tooltipColor),this.tooltipTextColor&&(s.style.color=this.tooltipTextColor),s.className="ue-tooltip-text",s.appendChild(document.createTextNode(this.textToRender)),this.container.appendChild(s),"body"===this.appendTo?document.body.appendChild(this.container):"target"===this.appendTo?this.appendChild(this.container,this.el.nativeElement):this.appendChild(this.container,this.appendTo)}ngOnDestroy(){this.container&&this.container.parentElement&&("body"===this.appendTo?document.body.removeChild(this.container):"target"===this.appendTo?this.el.nativeElement.removeChild(this.container):this.removeChild(this.container,this.appendTo)),this.container=null}fadeIn(t,e){t.style.opacity=0;let s=+new Date,i=0;const r=function(){i=+t.style.opacity+((new Date).getTime()-s)/e,t.style.opacity=i,s=+new Date,+i<1&&(window.requestAnimationFrame&&requestAnimationFrame(r)||setTimeout(r,16))};r()}getOuterWidth(t,e){let s=t.offsetWidth;if(e){const i=getComputedStyle(t);s+=parseFloat(i.marginLeft)+parseFloat(i.marginRight)}return s}getOuterHeight(t,e){let s=t.offsetHeight;if(e){const i=getComputedStyle(t);s+=parseFloat(i.marginTop)+parseFloat(i.marginBottom)}return s}getOffset(t){let e=t.offsetLeft,s=t.offsetTop;for(;t=t.offsetParent;)e+=t.offsetLeft,s+=t.offsetTop;return{left:e,top:s}}appendChild(t,e){if(this.isElement(e))e.appendChild(t);else{if(!e.el||!e.el.nativeElement)throw"Cannot append "+e+" to "+t;e.el.nativeElement.appendChild(t)}}removeChild(t,e){if(this.isElement(e))e.removeChild(t);else{if(!e.el||!e.el.nativeElement)throw"Cannot remove "+t+" from "+e;e.el.nativeElement.removeChild(t)}}isElement(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName}};Dm.ctorParameters=()=>[{type:Fe}],Dm.propDecorators={text:[{type:Y,args:["ueTooltip"]}],tooltipPosition:[{type:Y}],tooltipEvent:[{type:Y}],appendTo:[{type:Y}],clickedText:[{type:Y}],tooltipStyleClass:[{type:Y}],tooltipColor:[{type:Y}],tooltipTextColor:[{type:Y}],disabled:[{type:Y,args:["tooltipDisabled"]}],onMouseEnter:[{type:pr,args:["mouseenter",["$event"]]}],onMouseLeave:[{type:pr,args:["mouseleave",["$event"]]}],onClick:[{type:pr,args:["click",["$event"]]}],onFocus:[{type:pr,args:["focus",["$event"]]}],onBlur:[{type:pr,args:["blur",["$event"]]}]},Dm=nt([hr({selector:"[ueTooltip]"})],Dm);let Mm=class{constructor(){}ngOnInit(){}buildStyle(t){return Object.assign({},t,this.addStyle)}};Mm.ctorParameters=()=>[],Mm.propDecorators={backgroundColor:[{type:Y}],textColor:[{type:Y}],pillClass:[{type:Y}],addStyle:[{type:Y}]},Mm=nt([kt({selector:"ue-pill",template:"\n \n\n"})],Mm);var V1;let Sm=V1=class{constructor(){this.error=!1,this.isDisabled=!1,this.isEmpty=!0,this._onChange=t=>{},this._onTouch=()=>{}}checkIfEmpty(t){this.isEmpty=!t}writeValue(t){this.checkIfEmpty(t),this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouch=t}inputChange(t){this.checkIfEmpty(t),this._onChange(t)}setDisabledState(t){this.isDisabled=t}};Sm.ctorParameters=()=>[],Sm.propDecorators={label:[{type:Y}],value:[{type:Y}],placeholder:[{type:Y}],error:[{type:Y}],errorMessage:[{type:Y}],inputClass:[{type:Y}],note:[{type:Y}]},Sm=V1=nt([kt({selector:"ue-float-textarea",template:'
    \n\t
    \n\t\t\n\t\t\n\t\t\n\t\t
    Note: {{note}}
    \n\t\t* {{errorMessage}}\n\t
    \n
    ',providers:[{provide:Zs,useExisting:Ve(()=>V1),multi:!0}],styles:["textarea {\n\tborder-radius: 5px !important;\n}\n\nspan.error {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n}\n\n.disabled {\n\tcolor: black;\n\tbackground-color: #dddddd;\n}\n\n.max-width-100 textarea {\n\tmax-width: 100%;\n}"]})],Sm);let Cm=class{constructor(){}ngOnInit(){}};Cm.ctorParameters=()=>[],Cm.propDecorators={onText:[{type:Y}],offText:[{type:Y}],label:[{type:Y}]},Cm=nt([kt({selector:"ue-toggle",template:'
    \n\t\n
    ',styles:[""]})],Cm);let xm=class{constructor(){this.methodName="payment method",this.icon="um um-blank-card",this.active=!1}ngOnInit(){}};xm.ctorParameters=()=>[],xm.propDecorators={methodName:[{type:Y,args:["methodName"]}],icon:[{type:Y,args:["icon"]}],active:[{type:Y,args:["active"]}]},xm=nt([kt({selector:"ue-payment-method",template:'\n',styles:[""]})],xm);let Z0=class{transform(t){let e=t,s=Math.floor(e/86400);e%=86400;let i=Math.floor(e/3600);e%=3600;let r=Math.floor(e/60);return e%=60,s>0?`${s}d ${i}h ${r}m ${e}s`:i>0?`${i}h ${r}m ${e}s`:r>0?`${r}m ${e}s`:`${e}s`}};Z0=nt([Lp({name:"ueSeconds"})],Z0);const nct={ranges:[{name:"Today",value:{start:qt(),end:qt()}},{name:"Last 7 days",value:{start:qt().subtract(6,"days"),end:qt()}},{name:"Year to date",value:{start:qt().startOf("year"),end:qt()}},{name:"Previous month",value:{start:qt().subtract(1,"month").startOf("month"),end:qt().subtract(1,"month").endOf("month")}},{name:"Quarter 1",value:{start:1===qt().quarter()?qt().startOf("quarter").subtract(1,"year"):qt().startOf("year"),end:1===qt().quarter()?qt().endOf("quarter").subtract(1,"year"):qt().month("March").date(31)}},{name:"Quarter 2",value:{start:qt().quarter()<=2?qt().month("April").date(1).subtract(1,"year"):qt().month("April").date(1),end:qt().quarter()<=2?qt().month("June").date(30).subtract(1,"year"):qt().month("June").date(30)}},{name:"Quarter 3",value:{start:qt().quarter()<=3?qt().month("July").date(1).subtract(1,"year"):qt().month("July").date(1),end:qt().quarter()<=3?qt().month("September").date(30).subtract(1,"year"):qt().month("September").date(30)}},{name:"Quarter 4",value:{start:qt().quarter()<=4?qt().month("October").date(1).subtract(1,"year"):qt().month("October").date(1),end:qt().quarter()<=4?qt().month("December").date(31).subtract(1,"year"):qt().month("December").date(31)}}]};let Em=class{constructor(t){this.elem=t,this.rangeSelected=new Mt,this.dropdownEnable=!0,this.areOldDatesStored=!1,this.enableApplyButton=!1,this.format="MM/DD/YYYY",this.presets=nct.ranges,this.preset="custom"}handleOutsideClick(t){let e=t.target;const s=this.elem.nativeElement;if(s.compareDocumentPosition){if(s.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)return this.storeOldDates(),this.toggleCalendars(!0)}else if(s.contains){if(s.contains(e))return this.storeOldDates(),this.toggleCalendars(!0)}else do{if(e===s)return this.storeOldDates(),this.toggleCalendars(!0);e=e.parentNode}while(e);this.showCalendars&&(this.isAutoApply()||this.restoreOldDates(),this.toggleCalendars(!1))}ngOnInit(){this.validateMinMaxDates(),this.now=qt(),this.fromDate||this.setFromDate(this.options.startDate),this.toDate||this.setToDate(this.options.endDate),this.updateCalendar()}clickDatePicker(){this.toggleCalendars(!0),this.ngOnInit()}toggleCalendars(t){this.showCalendars=t,t||(this.areOldDatesStored=!1,this.updateCalendar())}updateCalendar(){const t=this.fromDate||this.tempFromDate,e=this.toDate||this.tempToDate;let s=qt(t,this.format);this.fromMonth=s.get("month"),this.fromYear=s.get("year"),s=qt(e,this.format),this.toMonth=s.get("month"),this.toYear=s.get("year")}getPositionClass(){let t="open-left";return"right"===this.options.position&&(t="open-right"),"center"===this.options.position&&!this.options.singleCalendar&&(t="open-center"),t}validateMinMaxDates(){this.options&&(this.options.minDate&&!this.options.maxDate&&(this.options.minDate=this.getMoment(this.options.minDate)),!this.options.minDate&&this.options.maxDate&&(this.options.maxDate=this.getMoment(this.options.maxDate)),this.options.minDate&&this.options.maxDate&&(this.options.minDate=this.getMoment(this.options.minDate),this.options.maxDate=this.getMoment(this.options.maxDate),this.options.maxDate.isBefore(this.options.minDate,"date")&&(this.options.minDate="",this.options.maxDate="",console.warn("supplied minDate is after maxDate. Discarding options for minDate and maxDate"))),this.options.minDate&&"00:00"===this.options.minDate.format("HH:mm")&&this.options.minDate.set({hour:0,minutes:0,seconds:0}),this.options.maxDate&&"00:00"===this.options.maxDate.format("HH:mm")&&this.options.maxDate.set({hour:23,minutes:59,seconds:59}))}setFromDate(t){t?this.fromDate=this.getActualFromDate(t):(this.fromDate="",this.tempFromDate=this.getActualFromDate(t))}getActualFromDate(t){let e;return(e=this.getValidateMoment(t))?this.getValidateFromDate(e):this.getValidateFromDate(qt())}getValidateFromDate(t){return this.options.minDate&&this.options.maxDate&&t.isSameOrAfter(this.options.minDate,"date")&&t.isSameOrBefore(this.options.maxDate,"date")||this.options.minDate&&!this.options.maxDate&&t.isAfter(this.options.minDate,"date")?t:this.options.minDate?this.options.minDate.clone():qt()}setToDate(t){t?this.toDate=this.getActualToDate(t):(this.toDate="",this.tempToDate=this.getActualToDate(t))}getActualToDate(t){let e;return(e=this.getValidateMoment(t))?this.getValidateToDate(e):this.getValidateToDate(qt())}getValidateToDate(t){return this.options.maxDate&&t.isSameOrAfter(this.fromDate,"date"),t.isSameOrBefore(this.options.maxDate,"date")?t:this.options.maxDate?this.options.maxDate.clone():qt()}dateChanged(t){const e=t.day,s=t.isLeft;s?(this.fromDate=e,e.isAfter(this.toDate,"date")&&(this.toDate=this.fromDate.clone())):(this.toDate=e,e.isBefore(this.fromDate,"date")&&(this.fromDate=this.toDate.clone())),this.isAutoApply()?(this.options.singleCalendar||!s)&&(this.toggleCalendars(!1),this.emitRangeSelected()):this.options.singleCalendar&&(this.enableApplyButton=!0),this.fromDate&&this.toDate?this.enableApplyButton=!0:this.enableApplyButton=!1,this.fromMonth=this.fromDate?this.fromDate.get("month"):this.fromMonth,this.toMonth=this.toDate?this.toDate.get("month"):this.toMonth}emitRangeSelected(){let t={};t=this.options.singleCalendar?{start:this.getMoment(this.fromDate)}:{start:this.getMoment(this.fromDate),end:this.getMoment(this.toDate)},this.rangeSelected.emit(t)}getMoment(t){return qt(t,this.format)}getValidateMoment(t){let e=null;return qt(t,this.format,!0).isValid()&&(e=qt(t,this.format,!0)),e}formatFromDate(t){t.target.value!==this.fromDate.format(this.format)&&this.dateChanged({day:t.target.value?this.getMoment(t.target.value):qt(),isLeft:!0})}formatToDate(t){t.target.value!==this.toDate.format(this.format)&&this.dateChanged({day:t.target.value?this.getMoment(t.target.value):qt(),isLeft:!1})}monthChanged(t){let e;t.isLeft?(e=qt([this.fromYear,this.fromMonth]).add(t.value,"months"),this.fromMonth=e.get("month"),this.fromYear=e.get("year")):(e=qt([this.toYear,this.toMonth]).add(t.value,"months"),this.toMonth=e.get("month"),this.toYear=e.get("year"))}yearChanged(t){let e;t.isLeft?(e=qt([this.fromYear,this.fromMonth]).add(t.value,"year"),this.fromMonth=e.get("month"),this.fromYear=e.get("year")):(e=qt([this.toYear,this.toMonth]).add(t.value,"year"),this.toMonth=e.get("month"),this.toYear=e.get("year"))}monthYearChanged(t){const e=qt(t.value,"M/YYYY").get("month"),s=qt(t.value,"M/YYYY").get("year");t.isLeft?(this.fromMonth=e,this.fromYear=s):(this.toMonth=e,this.toYear=s)}storeOldDates(){this.areOldDatesStored||(this.oldFromDate=this.fromDate,this.oldToDate=this.toDate,this.areOldDatesStored=!0)}restoreOldDates(){this.fromDate=this.oldFromDate,this.toDate=this.oldToDate}apply(){this.toggleCalendars(!1),this.emitRangeSelected()}cancel(){this.restoreOldDates(),this.toggleCalendars(!1)}validatePredefinedRanges(t){return t.filter(e=>!(e.value.start.isAfter(e.value.end,"date")||this.options.minDate&&e.value.start.isBefore(this.options.minDate,this.options.format)||this.options.maxDate&&e.value.end.isAfter(this.options.maxDate,this.options.format)))}applyPredefinedRange(t){this.presets.forEach(e=>{e.name===t&&(this.fromDate=e.value.start,this.setToDate(e.value.end),this.toggleCalendars(!1),this.emitRangeSelected())})}isAutoApply(){return!!this.options.singleCalendar||this.options.autoApply}dateRangeString(){let t;t=qt(this.fromDate._d).format("ll H")===this.now.format("ll H")?qt(this.options.startDate).format("MMM D, 'YY"):qt(this.fromDate).format("MMM D, 'YY");return`${t} - ${qt(this.toDate).format("MMM D, 'YY")}`}};Em.ctorParameters=()=>[{type:Fe}],Em.propDecorators={options:[{type:Y}],datePickerClass:[{type:Y}],rangeSelected:[{type:Ee}],dropdownEnable:[{type:Y}],handleOutsideClick:[{type:pr,args:["document:mousedown",["$event"]]},{type:pr,args:["document:mouseup",["$event"]]}]},Em=nt([kt({selector:"ue-datepicker",template:'\n \n {{options.displayDatesInside ? dateRangeString() : \'Select Date\'}}\n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n
    ',styles:['.daterangepicker-wrapper {\n position: relative;\n border: none;\n}\n\n.daterangepicker {\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;\n font-size: 12px;\n position: absolute;\n top: 44px;\n background: #fff;\n z-index: 3000;\n border-radius: 4px;\n box-shadow: 0px 2px 2px 2px #ddd;\n border: 1px solid #aaa;\n padding: 10px;\n}\n\n.daterangepicker.open-right {\n right: 0;\n}\n\n.daterangepicker.open-left {\n left: 0;\n}\n\n.daterangepicker.open-center {\n right: -50%;\n}\n\n.daterangepicker.tooltip-chevron:before {\n content: \'\';\n height: 0px;\n width: 0px;\n border: 10px solid transparent;\n position: absolute;\n border-bottom-color: #aaa;\n top: -20px;\n}\n\n.daterangepicker.tooltip-chevron:after {\n content: \'\';\n height: 0px;\n width: 0px;\n border: 9px solid transparent;\n position: absolute;\n border-bottom-color: #fff;\n top: -18px;\n}\n\n.daterangepicker.open-left.tooltip-chevron:before {\n left: 10px;\n}\n\n.daterangepicker.open-left.tooltip-chevron:after {\n left: 11px;\n}\n\n.daterangepicker.open-right.tooltip-chevron:before {\n right: 10px;\n}\n\n.daterangepicker.open-right.tooltip-chevron:after {\n right: 11px;\n}\n\n.daterangepicker.open-center.tooltip-chevron:before {\n left: 50%\n}\n\n.daterangepicker.open-center.tooltip-chevron:after {\n left: 50%;\n}\n\n@media (min-width: 550px) {\n .daterangepicker {\n width: 550px;\n }\n}\n\n@media (max-width: 550px) {\n .daterangepicker {\n width: 270px;\n }\n .text-center .pull-right {\n float: none !important;\n }\n .col-md-6 {\n width: 100% !important;\n }\n .col-md-10 {\n width: 100% !important;\n }\n .ranges>div {\n display: none;\n }\n}\n\n.daterangepicker.singledatepicker {\n width: 300px;\n}\n\n.daterangepicker div[class*="col-md-"],\n.daterangepicker span[class*="col-md-"] {\n padding: 0 15px 0 5px;\n}\n\n.hidden {\n display: none !important;\n visibility: false !important;\n}\n\n.daterangepicker .calendar {\n margin: 4px;\n float: left;\n border-radius: 4px !important;\n padding: 0 5px 0 5px;\n}\n\n.applyBtn {\n margin: 4px;\n}\n\n.daterangepicker .flush {\n padding: 0 !important;\n margin: 0 !important;\n}\n\n.daterangepicker .flussh {\n padding: 0 !important;\n}\n\n.daterangepicker .flush-bottom {\n padding-bottom: 0 !important;\n}\n\n.daterangepicker .flush-left {\n padding-left: 0 !important;\n}\n\n.daterangepicker .flush-right {\n padding-right: 0 !important;\n}\n\n.daterangepicker .nudge-half--left {\n padding-left: 4px !important;\n}\n\n.daterangepicker .nudge-half--right {\n padding-right: 4px !important;\n}\n\n.daterangepicker .nudge-top {\n top: 5px;\n}\n\n.daterangepicker .push-bottom {\n margin-bottom: 10px;\n}\n\n.daterangepicker th {\n margin: 1px !important;\n padding: 1px !important;\n text-align: center;\n border-radius: 4px !important;\n}\n\n.daterangepicker td {\n font-size: 14px;\n height: 20px;\n width: 20px;\n text-align: center;\n margin: 1px !important;\n padding: 3px !important;\n border-radius: 4px !important;\n white-space: nowrap;\n text-align: center;\n}\n\n.daterangepicker .btn.btn-flat {\n border: none;\n background: transparent;\n margin: 3px !important;\n padding: 1px !important;\n}\n\n.daterangepicker .off {\n color: #666;\n opacity: 0.7;\n}\n\n.daterangepicker table {\n border-spacing: 0;\n border-collapse: collapse;\n}\n\n.daterangepicker td,\n.daterangepicker th {\n padding: 0;\n}\n\n.daterangepicker .clickable {\n cursor: pointer;\n}\n\n.daterangepicker .clickable-link {\n color: #337ab7;\n}\n\n.daterangepicker .clickable.disabled {\n pointer-events: none;\n color: #AAA;\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.ranges {\n padding: 5px 0;\n}\n\n.ranges .clickable {\n margin-top: 8px !important;\n}\n\n.daterangepicker label {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\n\n.daterangepicker .form-control {\n margin: 5px;\n}\n\n.daterangepicker .bootstrap-flush {\n margin: 0 !important;\n padding: 0 !important;\n}\n\n.daterangepicker .time-picker span {\n padding-left: 4px;\n padding-right: 4px;\n}\n\n.daterangepicker .time-picker .time-breadcrumb {\n position: relative;\n top: 22px;\n font-weight: bolder;\n font-size: 0.8em;\n}\n\n.daterangepicker .col-md-1,\n.daterangepicker .col-md-2,\n.daterangepicker .col-md-3,\n.daterangepicker .col-md-4,\n.daterangepicker .col-md-5,\n.daterangepicker .col-md-6,\n.daterangepicker .col-md-7,\n.daterangepicker .col-md-8,\n.daterangepicker .col-md-9,\n.daterangepicker .col-md-10,\n.daterangepicker .col-md-11,\n.daterangepicker .col-md-12 {\n position: relative;\n float: left;\n}\n\n.daterangepicker .col-md-12 {\n width: 100%;\n}\n\n.daterangepicker .col-md-11 {\n width: 91.66666667%;\n}\n\n.daterangepicker .col-md-10 {\n width: 83.33333333%;\n}\n\n.daterangepicker .col-md-9 {\n width: 75%;\n}\n\n.daterangepicker .col-md-8 {\n width: 66.66666667%;\n}\n\n.daterangepicker .col-md-7 {\n width: 58.33333333%;\n}\n\n.daterangepicker .col-md-6 {\n width: 50%;\n}\n\n.daterangepicker .col-md-5 {\n width: 41.66666667%;\n}\n\n.daterangepicker .col-md-4 {\n width: 33.33333333%;\n}\n\n.daterangepicker .col-md-3 {\n width: 25%;\n}\n\n.daterangepicker .col-md-2 {\n width: 16.66666667%;\n}\n\n.daterangepicker .col-md-1 {\n width: 8.33333333%;\n}\n\n.daterangepicker .col-md-offset-4 {\n margin-left: 33.333333333%;\n}\n\n.daterangepicker table {\n background-color: transparent;\n}\n\n.daterangepicker .table {\n width: 100%;\n max-width: 100%;\n margin-bottom: 20px;\n}\n\n.daterangepicker .table>thead>tr>th,\n.daterangepicker .table>tbody>tr>th,\n.daterangepicker .table>tfoot>tr>th,\n.daterangepicker .table>thead>tr>td,\n.daterangepicker .table>tbody>tr>td,\n.daterangepicker .table>tfoot>tr>td {\n padding: 8px;\n line-height: 1.42857143;\n vertical-align: top;\n border-top: 1px solid #ddd;\n}\n\n.daterangepicker .table>thead>tr>th {\n vertical-align: bottom;\n border-bottom: 2px solid #ddd;\n}\n\n.daterangepicker .table>caption+thead>tr:first-child>th,\n.daterangepicker .table>colgroup+thead>tr:first-child>th,\n.daterangepicker .table>thead:first-child>tr:first-child>th,\n.daterangepicker .table>caption+thead>tr:first-child>td,\n.daterangepicker .table>colgroup+thead>tr:first-child>td,\n.daterangepicker .table>thead:first-child>tr:first-child>td {\n border-top: 0;\n}\n\n.daterangepicker .table>tbody+tbody {\n border-top: 2px solid #ddd;\n}\n\n.daterangepicker .table .table {\n background-color: #fff;\n}\n\n.daterangepicker .table-condensed>thead>tr>th,\n.daterangepicker .table-condensed>tbody>tr>th,\n.daterangepicker .table-condensed>tfoot>tr>th,\n.daterangepicker .table-condensed>thead>tr>td,\n.daterangepicker .table-condensed>tbody>tr>td,\n.daterangepicker .table-condensed>tfoot>tr>td {\n padding: 5px;\n}\n\n.daterangepicker .table-bordered {\n border: 1px solid #ddd;\n}\n\n.daterangepicker .table-bordered>thead>tr>th,\n.daterangepicker .table-bordered>tbody>tr>th,\n.daterangepicker .table-bordered>tfoot>tr>th,\n.daterangepicker .table-bordered>thead>tr>td,\n.daterangepicker .table-bordered>tbody>tr>td,\n.daterangepicker .table-bordered>tfoot>tr>td {\n border: 1px solid #ddd;\n}\n\n.daterangepicker .table-bordered>thead>tr>th,\n.daterangepicker .table-bordered>thead>tr>td {\n border-bottom-width: 2px;\n}\n\n.daterangepicker .table>thead>tr>td.active,\n.daterangepicker .table>tbody>tr>td.active,\n.daterangepicker .table>tfoot>tr>td.active,\n.daterangepicker .table>thead>tr>th.active,\n.daterangepicker .table>tbody>tr>th.active,\n.daterangepicker .table>tfoot>tr>th.active,\n.daterangepicker .table>thead>tr.active>td,\n.daterangepicker .table>tbody>tr.active>td,\n.daterangepicker .table>tfoot>tr.active>td,\n.daterangepicker .table>thead>tr.active>th,\n.daterangepicker .table>tbody>tr.active>th,\n.daterangepicker .table>tfoot>tr.active>th {\n background-color: #357ebd !important;\n}\n\n.daterangepicker .table-hover>tbody>tr>td.active:hover,\n.daterangepicker .table-hover>tbody>tr>th.active:hover,\n.daterangepicker .table-hover>tbody>tr.active:hover>td,\n.daterangepicker .table-hover>tbody>tr:hover>.active,\n.daterangepicker .table-hover>tbody>tr.active:hover>th {\n background-color: #f0f0f0;\n}\n\n.daterangepicker .table>tbody>tr>td.active.dateClicked {\n background-color: #357ebd !important;\n}\n\n.daterangepicker .table>thead>tr>td.info,\n.daterangepicker .table>tbody>tr>td.info,\n.daterangepicker .table>tfoot>tr>td.info,\n.daterangepicker .table>thead>tr>th.info,\n.daterangepicker .table>tbody>tr>th.info,\n.daterangepicker .table>tfoot>tr>th.info,\n.daterangepicker .table>thead>tr.info>td,\n.daterangepicker .table>tbody>tr.info>td,\n.daterangepicker .table>tfoot>tr.info>td,\n.daterangepicker .table>thead>tr.info>th,\n.daterangepicker .table>tbody>tr.info>th,\n.daterangepicker .table>tfoot>tr.info>th {\n background-color: #d9edf7;\n}\n\n.daterangepicker .table-hover>tbody>tr>td.info:hover,\n.daterangepicker .table-hover>tbody>tr>th.info:hover,\n.daterangepicker .table-hover>tbody>tr.info:hover>td,\n.daterangepicker .table-hover>tbody>tr:hover>.info,\n.daterangepicker .table-hover>tbody>tr.info:hover>th {\n background-color: #c4e3f3;\n}\n\n.daterangepicker .form-control {\n display: block;\n width: 100%;\n height: 34px;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n background-color: #fff;\n background-image: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n\n.daterangepicker .form-control:focus {\n border-color: #66afe9;\n outline: 0;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);\n}\n\n.daterangepicker .form-control::-moz-placeholder {\n color: #999;\n opacity: 1;\n}\n\n.daterangepicker .form-control:-ms-input-placeholder {\n color: #999;\n}\n\n.daterangepicker .form-control::-webkit-input-placeholder {\n color: #999;\n}\n\n.daterangepicker .form-control[disabled],\n.daterangepicker .form-control[readonly],\nfieldset[disabled] .form-control {\n background-color: #eee;\n opacity: 1;\n}\n\n.daterangepicker .form-control[disabled],\nfieldset[disabled] .form-control {\n cursor: not-allowed;\n}\n\n.daterangepicker .btn {\n display: inline-block;\n margin-bottom: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n touch-action: manipulation;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n\n.daterangepicker .btn:focus,\n.daterangepicker .btn:active:focus,\n.daterangepicker .btn.active:focus,\n.daterangepicker .btn.focus,\n.daterangepicker .btn:active.focus,\n.daterangepicker .btn.active.focus {\n outline: thin dotted;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n\n.daterangepicker .btn:hover,\n.daterangepicker .btn:focus,\n.daterangepicker .btn.focus {\n color: #333;\n text-decoration: none;\n}\n\n.daterangepicker .btn:active,\n.daterangepicker .btn.active {\n background-image: none;\n outline: 0;\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n\n.daterangepicker .btn.disabled,\n.daterangepicker .btn[disabled],\nfieldset[disabled] .btn {\n pointer-events: none;\n cursor: not-allowed;\n filter: alpha(opacity=65);\n box-shadow: none;\n opacity: .65;\n}\n\n.daterangepicker .btn-default {\n color: #333;\n background-color: #fff;\n border-color: #ccc;\n}\n\n.daterangepicker .btn-default:hover,\n.daterangepicker .btn-default:focus,\n.daterangepicker .btn-default.focus,\n.daterangepicker .btn-default:active,\n.daterangepicker .btn-default.active,\n.daterangepicker .open>.dropdown-toggle.btn-default {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n\n.daterangepicker .btn-default:active,\n.daterangepicker .btn-default.active,\n.daterangepicker .open>.dropdown-toggle.btn-default {\n background-image: none;\n}\n\n.daterangepicker .btn-default.disabled,\n.daterangepicker .btn-default[disabled],\n.daterangepicker fieldset[disabled] .btn-default,\n.daterangepicker .btn-default.disabled:hover,\n.daterangepicker .btn-default[disabled]:hover,\n.daterangepicker fieldset[disabled] .btn-default:hover,\n.daterangepicker .btn-default.disabled:focus,\n.daterangepicker .btn-default[disabled]:focus,\n.daterangepicker fieldset[disabled] .btn-default:focus,\n.daterangepicker .btn-default.disabled.focus,\n.daterangepicker .btn-default[disabled].focus,\n.daterangepicker fieldset[disabled] .btn-default.focus,\n.daterangepicker .btn-default.disabled:active,\n.daterangepicker .btn-default[disabled]:active,\n.daterangepicker fieldset[disabled] .btn-default:active,\n.daterangepicker .btn-default.disabled.active,\n.daterangepicker .btn-default[disabled].active,\n.daterangepicker fieldset[disabled] .btn-default.active {\n background-color: #fff;\n border-color: #ccc;\n}\n\n.daterangepicker .btn-default .badge {\n color: #fff;\n background-color: #333;\n}\n\n.daterangepicker .btn-success {\n color: #fff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n\n.daterangepicker .btn-success:hover,\n.daterangepicker .btn-success:focus,\n.daterangepicker .btn-success.focus,\n.daterangepicker .btn-success:active,\n.daterangepicker .btn-success.active,\n.daterangepicker .open>.dropdown-toggle.btn-success {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n\n.daterangepicker .btn-success:active,\n.daterangepicker .btn-success.active,\n.daterangepicker .open>.dropdown-toggle.btn-success {\n background-image: none;\n}\n\n.daterangepicker .btn-success.disabled,\n.daterangepicker .btn-success[disabled],\n.daterangepicker fieldset[disabled] .btn-success,\n.daterangepicker .btn-success.disabled:hover,\n.daterangepicker .btn-success[disabled]:hover,\n.daterangepicker fieldset[disabled] .btn-success:hover,\n.daterangepicker .btn-success.disabled:focus,\n.daterangepicker .btn-success[disabled]:focus,\n.daterangepicker fieldset[disabled] .btn-success:focus,\n.daterangepicker .btn-success.disabled.focus,\n.daterangepicker .btn-success[disabled].focus,\n.daterangepicker fieldset[disabled] .btn-success.focus,\n.daterangepicker .btn-success.disabled:active,\n.daterangepicker .btn-success[disabled]:active,\n.daterangepicker fieldset[disabled] .btn-success:active,\n.daterangepicker .btn-success.disabled.active,\n.daterangepicker .btn-success[disabled].active,\n.daterangepicker fieldset[disabled] .btn-success.active {\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n\n.daterangepicker .btn-success .badge {\n color: #5cb85c;\n background-color: #fff;\n}\n\n.daterangepicker .btn {\n outline: none;\n}\n\n.dateRangePicker-input {\n border: none;\n border-bottom: 1px solid #3276b1;\n}\n\n.select-dropdown {\n height: 30px;\n background-color: #fff;\n width: 120px;\n position: relative;\n}\n\n.select-dropdown select {\n width: 100%;\n position: absolute;\n left: 13px;\n cursor: pointer;\n right: 0;\n background-color: transparent;\n border: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n z-index: 2;\n color: grey;\n}\n\ni {\n position: absolute;\n right: 3px;\n top: 9px;\n z-index: 1;\n font-size: 15px;\n}']})],Em);const ms=(0,I(6503).extendMoment)(qt);let km=class{constructor(){this.singleCalendar=!1,this.dateChanged=new Mt,this.monthChanged=new Mt,this.monthYearChanged=new Mt,this.monthsShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],this.weekList=[],this.monthYear="",this.monthYearList=[],this.hiddenMonthYearList=[]}get monthText(){return this.monthsShort[this.month]}getWeekNumbers(t){let e;return e=Array.from(t.by("day")).map(i=>ms(i).week()),e}getWeeksRange(t,e,s){const i=[];for(let r=0;r0&&o0&&o!==t[r-1])a=ms([e,s]).week(o).day(0),l=ms([e,s]).week(o).day(6);else{if(0!==r)continue;a=ms([e,s]).week(o).day(0),l=ms([e,s]).week(o).day(6)}const c=ms().range(a,l);i.push(c)}return i}createCalendarGridData(){const t=this.year,e=this.month;this.monthYear=this.month+1+"/"+this.year,this.hiddenMonthYearList.push({value:this.monthYear,display:ms(this.monthYear,"M/YYYY").format("MMM YYYY")});const s=ms([t,e]),i=ms(s).startOf("month"),r=ms(s).endOf("month"),o=ms().range(i,r);let a=[];a=this.getWeeksRange(this.getWeekNumbers(o),t,e);const l=[];a.map(c=>{Array.from(o.by("day"));const h=Array.from(c.by("day"));l.push(h)}),this.weekList=l}ngOnInit(){this.clickedFromDate=this.selectedFromDate,this.clickedToDate=this.selectedToDate,this.generateMonthYearList()}ngOnChanges(t){this.createCalendarGridData()}generateMonthYearList(){const t=ms(),e=t.add(1,"months").format("M/YYYY");this.monthYearList.push({value:e,display:ms(e,"M/YYYY").format("MMM YYYY")});for(let s=1;s<=24;s++){const i=t.subtract(1,"months").format("M/YYYY");this.monthYearList.push({value:i,display:ms(i,"M/YYYY").format("MMM YYYY")})}}isDisabled(t){return t.isBefore(ms(this.minDate,this.format))||t.isAfter(ms(this.maxDate,this.format))||t.isBefore(ms(this.selectedFromDate,this.format))&&!this.isLeft}isDateAvailable(t){return!(t.get("month")!==this.month||this.inactiveBeforeStart&&t.isBefore(this.selectedFromDate,"date"))}isSelectedDate(t){if(t.get("month")===this.month&&t.isSame(this.selectedFromDate,"date")||t.get("month")===this.month&&t.isSameOrAfter(this.selectedFromDate,"date")&&t.isSameOrBefore(this.selectedToDate,"date"))return!0}dateSelected(t){this.isLeft?this.selectedFromDate=t:this.selectedToDate=t,this.dateChanged.emit({day:t,isLeft:this.isLeft})}dateClicked(t){return!!(this.isLeft&&t.isSame(this.selectedFromDate,"date")||!this.isLeft&&t.isSame(this.selectedToDate,"date"))}monthSelected(t){this.monthChanged.emit({value:t,isLeft:this.isLeft})}monthYearSelected(){this.monthYearChanged.emit({value:this.monthYear,isLeft:this.isLeft})}};km.ctorParameters=()=>[],km.propDecorators={month:[{type:Y}],year:[{type:Y}],selectedFromDate:[{type:Y}],selectedToDate:[{type:Y}],isLeft:[{type:Y}],format:[{type:Y}],minDate:[{type:Y}],maxDate:[{type:Y}],inactiveBeforeStart:[{type:Y}],singleCalendar:[{type:Y}],dateChanged:[{type:Ee}],monthChanged:[{type:Ee}],monthYearChanged:[{type:Ee}]},km=nt([kt({selector:"ue-calendar",template:'
    \n \n \n \n \n \n \n
    \n \n \n \n \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    SuMoTuWeThFrSa
    \n {{ day.format(\'D\') }}\n
    \n
    \n\n',styles:[".dateClicked {\n background-color: #357ebd !important;\n color: white !important;\n}\n\n.clickable.disabled {\n pointer-events: none;\n color: #AAA;\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.select-dropdown select {\n width: 100%;\n position: absolute;\n left: 10px;\n top: 3px;\n cursor: pointer;\n right: 0;\n background-color: transparent;\n border: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n font-weight: 600;\n}"]})],km);let tM=class{};tM=nt([kt({selector:"modal-header",template:""})],tM);let eM=class{};eM=nt([kt({selector:"modal-content",template:""})],eM);let nM=class{};nM=nt([kt({selector:"modal-footer",template:""})],nM);let ah=class{constructor(){this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.hideCloseButton=!1,this.backdrop=!0,this.onOpen=new Mt(!1),this.onClose=new Mt(!1),this.onSubmit=new Mt(!1),this.isOpened=!1,this.createBackDrop()}ngOnDestroy(){document.body.className=document.body.className.replace(/modal-open\b/,""),this.backdropElement&&this.backdropElement.parentNode===document.body&&document.body.removeChild(this.backdropElement)}open(...t){this.isOpened||(this.isOpened=!0,this.onOpen.emit(t),document.body.appendChild(this.backdropElement),window.setTimeout(()=>this.modalRoot.nativeElement.focus(),0),document.body.className+=" modal-open")}close(...t){!this.isOpened||(this.isOpened=!1,this.onClose.emit(t),this.backdropElement&&this.backdropElement.parentNode===document.body&&document.body.removeChild(this.backdropElement),document.body.className=document.body.className.replace(/modal-open\b/,""))}preventClosing(t){t.stopPropagation()}createBackDrop(){this.backdropElement=document.createElement("div"),this.backdropElement.classList.add("fade"),this.backdropElement.classList.add("in"),this.backdrop&&this.backdropElement.classList.add("modal-backdrop")}};ah.ctorParameters=()=>[],ah.propDecorators={modalClass:[{type:Y}],closeOnEscape:[{type:Y}],closeOnOutsideClick:[{type:Y}],title:[{type:Y}],hideCloseButton:[{type:Y}],cancelButtonLabel:[{type:Y}],submitButtonLabel:[{type:Y}],backdrop:[{type:Y}],onOpen:[{type:Ee}],onClose:[{type:Ee}],onSubmit:[{type:Ee}],modalRoot:[{type:bt,args:["modalRoot",{static:!0}]}]},ah=nt([kt({selector:"modal",template:'\n\t\t\n\t'})],ah);let Tm=class{constructor(t,e){this.router=t,this.activatedRoute=e,this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.hideCloseButton=!1,this.backdrop=!0,this.onOpen=new Mt(!1),this.onClose=new Mt(!1),this.onSubmit=new Mt(!1),this.isOpened=!1,this.createBackDrop()}ngOnInit(){this.open()}ngOnDestroy(){document.body.className=document.body.className.replace(/modal-open\b/,""),this.backdropElement&&this.backdropElement.parentNode===document.body&&document.body.removeChild(this.backdropElement)}open(...t){this.isOpened||(this.isOpened=!0,this.onOpen.emit(t),document.body.appendChild(this.backdropElement),window.setTimeout(()=>this.modalRoot.nativeElement.focus(),0),document.body.className+=" modal-open")}close(...t){if(this.isOpened)if(this.isOpened=!1,this.onClose.emit(t),document.body.className=document.body.className.replace(/modal-open\b/,""),this.cancelUrl){let e={};this.cancelUrlExtras&&(this.cancelUrlExtras.relative&&(e.relativeTo=this.activatedRoute),e=Object.assign(e,this.cancelUrlExtras)),this.router.navigate(this.cancelUrl,e)}else window.history.back()}preventClosing(t){t.stopPropagation()}createBackDrop(){this.backdropElement=document.createElement("div"),this.backdropElement.classList.add("fade"),this.backdropElement.classList.add("in"),this.backdrop&&this.backdropElement.classList.add("modal-backdrop")}};Tm.ctorParameters=()=>[{type:se},{type:fs}],Tm.propDecorators={cancelUrl:[{type:Y}],cancelUrlExtras:[{type:Y}],modalClass:[{type:Y}],closeOnEscape:[{type:Y}],closeOnOutsideClick:[{type:Y}],title:[{type:Y}],hideCloseButton:[{type:Y}],cancelButtonLabel:[{type:Y}],submitButtonLabel:[{type:Y}],backdrop:[{type:Y}],onOpen:[{type:Ee}],onClose:[{type:Ee}],onSubmit:[{type:Ee}],modalRoot:[{type:bt,args:["modalRoot",{static:!0}]}]},Tm=nt([kt({selector:"route-modal",template:'\n\t\t\n\t'})],Tm);let sM=class{};sM=nt([Yn({imports:[Xs],declarations:[ah,Tm,tM,eM,nM],exports:[ah,Tm,tM,eM,nM]})],sM);let Lm=class{constructor(){this.data={}}ngOnInit(){}detail(){window.location.href=this.detailRoute}};Lm.ctorParameters=()=>[],Lm.propDecorators={data:[{type:Y}],type:[{type:Y}],title:[{type:Y}],expandable:[{type:Y}],detailRoute:[{type:Y}]},Lm=nt([kt({selector:"ue-dashboard-card",template:'
    \n\t
    \n\t\t
    {{title}}
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

     {{data.val}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

     {{data.val}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\n
    \n\t
    \n\t\t
    {{title}}
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t

    {{data.key}}

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
     
    \n\t\t\t\t

    {{data.val}}

    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\n',styles:[".container {\n\tcolor: #888;\n}\n#content {\n\tbackground-color: #fafafa;\n}\n.row {\n\tmargin: 0\n}\nh1 {\n\tmargin: 0px 0px 3px 0px\n}\n/* header */\n.merchant-header span {\n\tmargin-left: 5px;\n\tpadding: 2px 5px 2px 4px;\n}\n/* navbar */\n.merchant-navbar {\n\tborder: 1px solid lavender;\n\tborder-radius: 3px;\n\tmargin-top: 3px;\n\tbackground-color: whitesmoke;\n\tmargin-bottom: 10px\n}\n.merchant-navbar ul {\n\twidth:100%;\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tmargin: 0;\n\tpadding: 5px 10px;\n}\n.merchant-navbar ul li {\n\tdisplay: block;\n\tflex: 0 1 auto;\n\tlist-style-type: none;\n\tpadding: 0 15px;\n\tfont-size: 17px\n}\n.card-container {\n\tpadding: 0;\n\tmargin: 0\n}\n.left-section {\n\tpadding: 0 10px 0 0;\n\tjustify-content: space-between\n}\n.right-section {\n\tpadding: 0;\n}\n.fa {\n\tcolor: #02395A\n}\n/* cards */\n.card {\n\tborder: 1px solid lavender;\n border-radius: 6px;\n min-height: 50px;\n padding: 15px 25px 10px 15px;\n box-shadow: 3px 3px 3px lightgrey;\n\tmargin: 4px;\n background-color: white;\n min-width: 405px;\n}\n.card-title {\n\tmargin: 0;\n\tfont-size: 14px;\n\tmargin-bottom:1px;\n\tcolor: black;\n}\n.card-title-nomargin {\n\tmargin: 0;\n\tpadding: 0px 5px 2px 4px;\n\tfont-size: 12px;\n\tcolor: black;\n}\n.card-navbar {\n\tfont-size: 12px;\n\tcolor: dimgray;\n}\n.card-navbar-selected {\n\tborder-bottom: 2px solid steelblue;\n}\n.card-footer {\n\tpadding-top: 10px;\n\ttext-align: center;\n\tcolor: grey;\n\tcursor: pointer;\n\tborder-top: 1px solid gainsboro;\n\tmargin: 10px 0;\n font-weight: 700;\n}\n.card-footer:hover {\n\tcolor: #888\n}\n/* users list */\n.user-list-container {\n\tpadding: 0 10px;\n}\n.user-list-container ul {\n\tpadding: 0;\n}\n.user-list-container ul li {\n\tpadding: 2px 4px; \n}\n.user-list-container ul li:hover {\n\tborder-bottom:1px solid lightgrey;\n}\n.user-list-icons {\n\tdisplay: none;\n}\n.user-list li:hover .user-list-icons {\n\tdisplay: inline-block \n}\n.list-title {\n\tcolor: #02395A\n}\n/* table */\ntable {\n\tborder-collapse: collapse;\n\tborder-spacing: 0\n}\nthead tr {\n\tbackground-color: white;\n}\nthead tr th {\n\tcolor: dimgray;\n\tpadding: 0;\n}\ntd {\n\tpadding: 4px 5px !important;\n}\n.table-label {\n\tborder-bottom: 1px solid gainsboro;\n\tpadding: 4px 12px;\n\tmargin-bottom:5px;\n\tcolor: #02395A;\n}\n.frequency-row {\n\theight: 36px !important;\n\tcolor: dimgray;\n\tbackground-color: whitesmoke;\n\tpadding: 0 !important;\n\tvertical-align: top;\n\tbox-sizing: border-box;\n}\n/* misc */\n/* \n\tmr = margin right\n\tmb = margin bottom\n\tmlr = margin left right \n\tplr = padding left right \n*/\n.trow { background: white; \n border-radius: 5px;}\n.trow:nth-child(even) { background: whitesmoke; }\n.m0 {\n\tmargin: 0;\n}\n.mt10 {\n\tmargin-top: 10px;\n}\n.mr10 {\n\tmargin-right: 10px;\n}\n.mb10 {\n\tmargin-bottom: 10px;\n}\n.mb20 {\n\tmargin-bottom: 20px;\n}\n.mlr10 {\n\tmargin-left: 10px;\n\tmargin-right: 10px;\n}\n.p0 {\n\tpadding: 0\n}\n.pl10 {\n\tpadding-left: 10px;\n}\n.plr10 {\n\tpadding-left: 10px;\n\tpadding-right: 10px;\n}\n.plr5 {\n\tpadding-left: 5px;\n\tpadding-right: 5px;\n}\n.qty-bold {\n\t-webkit-text-decoration: bold;\n\t text-decoration: bold;\n\tfont-size: 17px;\n}\n.background {\n\tbackground-color: #fafafa;\n\twidth:100%\n}\n.edit {\n position:relative;\n top:-20px;\n left:350px;\n font-size:16px;\n color:black;\n}"]})],Lm);let iM=class{constructor(){}ngOnInit(){}};iM.ctorParameters=()=>[],iM=nt([kt({selector:"ue-dashboard-card-square",template:"",styles:[""]})],iM);let rM=class{transform(t){const e=Number(t);if(e<1)return"<1 minute left";let s=Math.floor(e/60);const i=e%60;let r="";return s<1?r=i+(i<2?" minute ":" minutes ")+"left":(s=i<30?s:Math.ceil(e/60),r=s+(s<2?" hour ":" hours ")+"left"),r}};rM=nt([Lp({name:"ueTimeleft"})],rM);let ua=class{};ua=nt([Yn({imports:[Xs,kr,Bc,pv,sM,G0,dv,En,q0,Gf],declarations:[mv,K0,wo,yv,oh,tm,em,sm,im,rm,lm,cm,om,J0,am,wm,pm,um,bv,X0,Dm,Mm,Bl,Sm,au,hm,Cm,dm,Y1,fm,xm,mm,Z0,vm,Em,km,bm,Lm,iM,vm,rM],providers:[Q0,vv],exports:[Xs,Bc,kr,sM,G0,dv,pv,mv,K0,wo,yv,oh,tm,em,sm,im,rm,lm,cm,om,am,wm,pm,um,q0,X0,Dm,Mm,Bl,Sm,au,hm,Cm,dm,fm,xm,mm,Z0,vm,Em,km,bm,vm,Lm,rM]})],ua);function e3(n){return new at(3e3,!1)}function B1(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function lu(n){switch(n.length){case 0:return new _v;case 1:return n[0];default:return new ZB(n)}}function n3(n,t,e,s,i=new Map,r=new Map){const o=[],a=[];let l=-1,c=null;if(s.forEach(u=>{const h=u.get("offset"),m=h==l,v=m&&c||new Map;u.forEach((D,C)=>{let k=C,P=D;if("offset"!==C)switch(k=t.normalizePropertyName(k,o),P){case"!":P=i.get(C);break;case jl:P=r.get(C);break;default:P=t.normalizeStyleValue(C,k,P,o)}v.set(k,P)}),m||a.push(v),c=v,l=h}),o.length)throw function Ict(n){return new at(3502,!1)}();return a}function U1(n,t,e,s){switch(t){case"start":n.onStart(()=>s(e&&$1(e,"start",n)));break;case"done":n.onDone(()=>s(e&&$1(e,"done",n)));break;case"destroy":n.onDestroy(()=>s(e&&$1(e,"destroy",n)))}}function $1(n,t,e){const s=e.totalTime,i=!!e.disabled,r=z1(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,s??n.totalTime,i),o=n._data;return null!=o&&(r._data=o),r}function z1(n,t,e,s,i="",r=0,o){return{element:n,triggerName:t,fromState:e,toState:s,phaseName:i,totalTime:r,disabled:!!o}}function tr(n,t,e){let s=n.get(t);return s||n.set(t,s=e),s}function s3(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let W1=(n,t)=>!1,i3=(n,t,e)=>[],r3=null;function q1(n){const t=n.parentNode||n.host;return t===r3?null:t}(B1()||typeof Element<"u")&&(function $ct(){return typeof window<"u"&&typeof window.document<"u"}()?(r3=(()=>document.documentElement)(),W1=(n,t)=>{for(;t;){if(t===n)return!0;t=q1(t)}return!1}):W1=(n,t)=>n.contains(t),i3=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const s=n.querySelector(t);return s?[s]:[]});let lh=null,o3=!1;function Wct(n){lh||(lh=function qct(){return typeof document<"u"?document.body:null}()||{},o3=!!lh.style&&"WebkitAppearance"in lh.style);let t=!0;return lh.style&&!function zct(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in lh.style,!t&&o3&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in lh.style)),t}const a3=W1,l3=i3;class ch{validateStyleProperty(t){return Wct(t)}matchesElement(t,e){return!1}containsElement(t,e){return a3(t,e)}getParentElement(t){return q1(t)}query(t,e,s){return l3(t,e,s)}computeStyle(t,e,s){return s||""}animate(t,e,s,i,r,o=[],a){return new _v(s,i)}}ch.\u0275fac=function(t){return new(t||ch)},ch.\u0275prov=vt({token:ch,factory:ch.\u0275fac});class oM{}oM.NOOP=new ch;const G1="ng-enter",aM="ng-leave",lM="ng-trigger",cM=".ng-trigger",u3="ng-animating",K1=".ng-animating";function cu(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Q1(parseFloat(t[1]),t[2])}function Q1(n,t){return"s"===t?1e3*n:n}function uM(n,t,e){return n.hasOwnProperty("duration")?n:function Qct(n,t,e){const s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let i,r=0,o="";if("string"==typeof n){const a=n.match(s);if(null===a)return t.push(e3()),{duration:0,delay:0,easing:""};i=Q1(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(r=Q1(parseFloat(l),a[4]));const c=a[5];c&&(o=c)}else i=n;if(!e){let a=!1,l=t.length;i<0&&(t.push(function uct(){return new at(3100,!1)}()),a=!0),r<0&&(t.push(function dct(){return new at(3101,!1)}()),a=!0),a&&t.splice(l,0,e3())}return{duration:i,delay:r,easing:o}}(n,t,e)}function wv(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function d3(n){const t=new Map;return Object.keys(n).forEach(e=>{const s=n[e];t.set(e,s)}),t}function uu(n,t=new Map,e){if(e)for(let[s,i]of e)t.set(s,i);for(let[s,i]of n)t.set(s,i);return t}function p3(n,t,e){return e?t+":"+e+";":""}function f3(n){let t="";for(let e=0;e{const r=X1(i);e&&!e.has(i)&&e.set(i,n.style[r]),n.style[r]=s}),B1()&&f3(n))}function uh(n,t){n.style&&(t.forEach((e,s)=>{const i=X1(s);n.style[i]=""}),B1()&&f3(n))}function Dv(n){return Array.isArray(n)?1==n.length?n[0]:JB(n):n}function Xct(n,t,e){const s=t.params||{},i=m3(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||e.push(function hct(n){return new at(3001,!1)}())})}const J1=new RegExp("{{\\s*(.+?)\\s*}}","g");function m3(n){let t=[];if("string"==typeof n){let e;for(;e=J1.exec(n);)t.push(e[1]);J1.lastIndex=0}return t}function dM(n,t,e){const s=n.toString(),i=s.replace(J1,(r,o)=>{let a=t[o];return null==a&&(e.push(function pct(n){return new at(3003,!1)}()),a=""),a.toString()});return i==s?n:i}function hM(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const Zct=/-+([a-z0-9])/g;function X1(n){return n.replace(Zct,(...t)=>t[1].toUpperCase())}function tut(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function er(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function fct(n){return new at(3004,!1)}(t.type)}}function g3(n,t){return window.getComputedStyle(n)[t]}function out(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(s=>function aut(n,t,e){if(":"==n[0]){const l=function lut(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,s)=>parseFloat(s)>parseFloat(e);case":decrement":return(e,s)=>parseFloat(s) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return e.push(function Ect(n){return new at(3015,!1)}()),t;const i=s[1],r=s[2],o=s[3];t.push(_3(i,o));const a="*"==i&&"*"==o;"<"==r[0]&&!a&&t.push(_3(o,i))}(s,e,t)):e.push(n),e}const gM=new Set(["true","1"]),_M=new Set(["false","0"]);function _3(n,t){const e=gM.has(n)||_M.has(n),s=gM.has(t)||_M.has(t);return(i,r)=>{let o="*"==n||n==i,a="*"==t||t==r;return!o&&e&&"boolean"==typeof i&&(o=i?gM.has(n):_M.has(n)),!a&&s&&"boolean"==typeof r&&(a=r?gM.has(t):_M.has(t)),o&&a}}const y3=":self",cut=new RegExp("s*:selfs*,?","g");function Z1(n,t,e,s){return new uut(n).build(t,e,s)}class uut{constructor(t){this._driver=t}build(t,e,s){const i=new put(e);return this._resetContextStyleTimingState(i),er(this,Dv(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let s=e.queryCount=0,i=e.depCount=0;const r=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push(function gct(){return new at(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,r.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);s+=l.queryCount,i+=l.depCount,o.push(l)}else e.errors.push(function _ct(){return new at(3007,!1)}())}),{type:7,name:t.name,states:r,transitions:o,queryCount:s,depCount:i,options:null}}visitState(t,e){const s=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(s.containsDynamicStyles){const r=new Set,o=i||{};if(s.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{m3(l).forEach(c=>{o.hasOwnProperty(c)||r.add(c)})})}),r.size){hM(r.values());e.errors.push(function yct(n,t){return new at(3008,!1)}(t.name))}}return{type:0,name:t.name,style:s,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const s=er(this,Dv(t.animation),e);return{type:1,matchers:out(t.expr,e.errors),animation:s,queryCount:e.queryCount,depCount:e.depCount,options:dh(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(s=>er(this,s,e)),options:dh(t.options)}}visitGroup(t,e){const s=e.currentTime;let i=0;const r=t.steps.map(o=>{e.currentTime=s;const a=er(this,o,e);return i=Math.max(i,e.currentTime),a});return e.currentTime=i,{type:3,steps:r,options:dh(t.options)}}visitAnimate(t,e){const s=function mut(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n){return tL(uM(n,t).duration,0,"")}const e=n;if(e.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=tL(0,0,"");return r.dynamic=!0,r.strValue=e,r}const i=uM(e,t);return tL(i.duration,i.delay,i.easing)}(t.timings,e.errors);e.currentAnimateTimings=s;let i,r=t.styles?t.styles:bo({});if(5==r.type)i=this.visitKeyframes(r,e);else{let o=t.styles,a=!1;if(!o){a=!0;const c={};s.easing&&(c.easing=s.easing),o=bo(c)}e.currentTime+=s.duration+s.delay;const l=this.visitStyle(o,e);l.isEmptyStep=a,i=l}return e.currentAnimateTimings=null,{type:4,timings:s,style:i,options:null}}visitStyle(t,e){const s=this._makeStyleAst(t,e);return this._validateStyleAst(s,e),s}_makeStyleAst(t,e){const s=[],i=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of i)"string"==typeof a?a===jl?s.push(a):e.errors.push(new at(3002,!1)):s.push(d3(a));let r=!1,o=null;return s.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!r))for(let l of a.values())if(l.toString().indexOf("{{")>=0){r=!0;break}}),{type:6,styles:s,easing:o,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const s=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;s&&r>0&&(r-=s.duration+s.delay),t.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let h=!0;u&&(r!=i&&r>=u.startTime&&i<=u.endTime&&(e.errors.push(function bct(n,t,e,s,i){return new at(3010,!1)}(0,u.startTime,u.endTime)),h=!1),r=u.startTime),h&&c.set(l,{startTime:r,endTime:i}),e.options&&Xct(a,e.options,e.errors)})})}visitKeyframes(t,e){const s={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function wct(){return new at(3011,!1)}()),s;let r=0;const o=[];let a=!1,l=!1,c=0;const u=t.steps.map(P=>{const F=this._makeStyleAst(P,e);let N=null!=F.offset?F.offset:function fut(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const s=e;t=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(F.styles),V=0;return null!=N&&(r++,V=F.offset=N),l=l||V<0||V>1,a=a||V0&&r{const N=m>0?F==v?1:m*F:o[F],V=N*k;e.currentTime=D+C.delay+V,C.duration=V,this._validateStyleAst(P,e),P.offset=N,s.styles.push(P)}),s}visitReference(t,e){return{type:8,animation:er(this,Dv(t.animation),e),options:dh(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:dh(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:dh(t.options)}}visitQuery(t,e){const s=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,o]=function dut(n){const t=!!n.split(/\s*,\s*/).find(e=>e==y3);return t&&(n=n.replace(cut,"")),n=n.replace(/@\*/g,cM).replace(/@\w+/g,e=>cM+"-"+e.slice(1)).replace(/:animating/g,K1),[n,t]}(t.selector);e.currentQuerySelector=s.length?s+" "+r:r,tr(e.collectedStyles,e.currentQuerySelector,new Map);const a=er(this,Dv(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=s,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:a,originalSelector:t.selector,options:dh(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function Cct(){return new at(3013,!1)}());const s="full"===t.timings?{duration:0,delay:0,easing:"full"}:uM(t.timings,e.errors,!0);return{type:12,animation:er(this,Dv(t.animation),e),timings:s,options:null}}}class put{constructor(t){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=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function dh(n){return n?(n=wv(n)).params&&(n.params=function hut(n){return n?wv(n):null}(n.params)):n={},n}function tL(n,t,e){return{duration:n,delay:t,easing:e}}function eL(n,t,e,s,i,r,o=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:o,subTimeline:a}}class yM{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let s=this._map.get(t);s||this._map.set(t,s=[]),s.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const yut=new RegExp(":enter","g"),but=new RegExp(":leave","g");function nL(n,t,e,s,i,r=new Map,o=new Map,a,l,c=[]){return(new wut).buildKeyframes(n,t,e,s,i,r,o,a,l,c)}class wut{buildKeyframes(t,e,s,i,r,o,a,l,c,u=[]){c=c||new yM;const h=new sL(t,e,c,i,r,u,[]);h.options=l;const m=l.delay?cu(l.delay):0;h.currentTimeline.delayNextStep(m),h.currentTimeline.setStyles([o],null,h.errors,l),er(this,s,h);const v=h.timelines.filter(D=>D.containsAnimation());if(v.length&&a.size){let D;for(let C=v.length-1;C>=0;C--){const k=v[C];if(k.element===e){D=k;break}}D&&!D.allowOnlyTimelineStyles()&&D.setStyles([a],null,h.errors,l)}return v.length?v.map(D=>D.buildKeyframes()):[eL(e,[],[],[],0,m,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const s=e.subInstructions.get(e.element);if(s){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(s,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const s=e.createSubContext(t.options);s.transformIntoNewTimeline(),this.visitReference(t.animation,s),e.transformIntoNewTimeline(s.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,s){let r=e.currentTimeline.currentTime;const o=null!=s.duration?cu(s.duration):null,a=null!=s.delay?cu(s.delay):null;return 0!==o&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,o,a);r=Math.max(r,c.duration+c.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),er(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const s=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=vM);const o=cu(r.delay);i.delayNextStep(o)}t.steps.length&&(t.steps.forEach(o=>er(this,o,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const s=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?cu(t.options.delay):0;t.steps.forEach(o=>{const a=e.createSubContext(t.options);r&&a.delayNextStep(r),er(this,o,a),i=Math.max(i,a.currentTimeline.currentTime),s.push(a.currentTimeline)}),s.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const s=t.strValue;return uM(e.params?dM(s,e.params,e.errors):s,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const s=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;s.delay&&(e.incrementTime(s.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(s.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const s=e.currentTimeline,i=e.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?s.applyEmptyStep(r):s.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const s=e.currentAnimateTimings,i=e.currentTimeline.duration,r=s.duration,a=e.createSubContext().currentTimeline;a.easing=s.easing,t.styles.forEach(l=>{const c=l.offset||0;a.forwardTime(c*r),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const s=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?cu(i.delay):0;r&&(6===e.previousNode.type||0==s&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=vM);let o=s;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const h=e.createSubContext(t.options,c);r&&h.delayNextStep(r),c===e.element&&(l=h.currentTimeline),er(this,t.animation,h),h.currentTimeline.applyStylesToKeyframe();const m=h.currentTimeline.currentTime;o=Math.max(o,m)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const s=e.parentContext,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),a=o*(e.currentQueryTotal-1);let l=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=s.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const h=u.currentTime;er(this,t.animation,e),e.previousNode=t,s.currentStaggerTime=i.currentTime-h+(i.startTime-s.currentTimeline.startTime)}}const vM={};class sL{constructor(t,e,s,i,r,o,a,l){this._driver=t,this.element=e,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=vM,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new bM(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const s=t;let i=this.options;null!=s.duration&&(i.duration=cu(s.duration)),null!=s.delay&&(i.delay=cu(s.delay));const r=s.params;if(r){let o=i.params;o||(o=this.options.params={}),Object.keys(r).forEach(a=>{(!e||!o.hasOwnProperty(a))&&(o[a]=dM(r[a],o,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const s=t.params={};Object.keys(e).forEach(i=>{s[i]=e[i]})}}return t}createSubContext(t=null,e,s){const i=e||this.element,r=new sL(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=vM,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,s){const i={duration:e??t.duration,delay:this.currentTimeline.currentTime+(s??0)+t.delay,easing:""},r=new Dut(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,s,i,r,o){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(yut,"."+this._enterClassName)).replace(but,"."+this._leaveClassName);const l=1!=s;let c=this._driver.query(this.element,t,l);0!==s&&(c=s<0?c.slice(c.length+s,c.length):c.slice(0,s)),a.push(...c)}return!r&&0==a.length&&o.push(function xct(n){return new at(3014,!1)}()),a}}class bM{constructor(t,e,s,i){this._driver=t,this.element=e,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new bM(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,s]of this._globalTimelineStyles)this._backFill.set(e,s||jl),this._currentKeyframe.set(e,jl);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,s,i){e&&this._previousKeyframe.set("easing",e);const r=i&&i.params||{},o=function Mut(n,t){const e=new Map;let s;return n.forEach(i=>{if("*"===i){s=s||t.keys();for(let r of s)e.set(r,jl)}else uu(i,e)}),e}(t,this._globalTimelineStyles);for(let[a,l]of o){const c=dM(l,r,s);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)||jl),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,s)=>{const i=this._styleSummary.get(s);(!i||e.time>i.time)&&this._updateStyle(s,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,s=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,l)=>{const c=uu(a,new Map,this._backFill);c.forEach((u,h)=>{"!"===u?t.add(h):u===jl&&e.add(h)}),s||c.set("offset",l/this.duration),i.push(c)});const r=t.size?hM(t.values()):[],o=e.size?hM(e.values()):[];if(s){const a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return eL(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}}class Dut extends bM{constructor(t,e,s,i,r,o,a=!1){super(t,e,o.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],o=s+e,a=e/o,l=uu(t[0]);l.set("offset",0),r.push(l);const c=uu(t[0]);c.set("offset",b3(a)),r.push(c);const u=t.length-1;for(let h=1;h<=u;h++){let m=uu(t[h]);const D=e+m.get("offset")*s;m.set("offset",b3(D/o)),r.push(m)}s=o,e=0,i="",t=r}return eL(this.element,t,this.preStyleProps,this.postStyleProps,s,e,i,!0)}}function b3(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class iL{}const Sut=new Set(["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"]);class Cut extends iL{normalizePropertyName(t,e){return X1(t)}normalizeStyleValue(t,e,s,i){let r="";const o=s.toString().trim();if(Sut.has(e)&&0!==s&&"0"!==s)if("number"==typeof s)r="px";else{const a=s.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function mct(n,t){return new at(3005,!1)}())}return o+r}}function w3(n,t,e,s,i,r,o,a,l,c,u,h,m){return{type:0,element:n,triggerName:t,isRemovalTransition:i,fromState:e,fromStyles:r,toState:s,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:m}}const rL={};class D3{constructor(t,e,s){this._triggerName=t,this.ast=e,this._stateStyles=s}match(t,e,s,i){return function xut(n,t,e,s,i){return n.some(r=>r(t,e,s,i))}(this.ast.matchers,t,e,s,i)}buildStyles(t,e,s){let i=this._stateStyles.get("*");return void 0!==t&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(e,s):new Map}build(t,e,s,i,r,o,a,l,c,u){var h;const m=[],v=this.ast.options&&this.ast.options.params||rL,D=a&&a.params||rL,C=this.buildStyles(s,D,m),k=l&&l.params||rL,P=this.buildStyles(i,k,m),F=new Set,N=new Map,V=new Map,q="void"===i,lt={params:Eut(k,v),delay:null===(h=this.ast.options)||void 0===h?void 0:h.delay},pt=u?[]:nL(t,e,this.ast.animation,r,o,C,P,lt,c,m);let Dt=0;if(pt.forEach(Vt=>{Dt=Math.max(Vt.duration+Vt.delay,Dt)}),m.length)return w3(e,this._triggerName,s,i,q,C,P,[],[],N,V,Dt,m);pt.forEach(Vt=>{const gt=Vt.element,Ut=tr(N,gt,new Set);Vt.preStyleProps.forEach(Ce=>Ut.add(Ce));const $t=tr(V,gt,new Set);Vt.postStyleProps.forEach(Ce=>$t.add(Ce)),gt!==e&&F.add(gt)});const yt=hM(F.values());return w3(e,this._triggerName,s,i,q,C,P,pt,yt,N,V,Dt)}}function Eut(n,t){const e=wv(t);for(const s in n)n.hasOwnProperty(s)&&null!=n[s]&&(e[s]=n[s]);return e}class kut{constructor(t,e,s){this.styles=t,this.defaultParams=e,this.normalizer=s}buildStyles(t,e){const s=new Map,i=wv(this.defaultParams);return Object.keys(t).forEach(r=>{const o=t[r];null!==o&&(i[r]=o)}),this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((o,a)=>{o&&(o=dM(o,i,e));const l=this.normalizer.normalizePropertyName(a,e);o=this.normalizer.normalizeStyleValue(a,l,o,e),s.set(l,o)})}),s}}class Lut{constructor(t,e,s){this.name=t,this.ast=e,this._normalizer=s,this.transitionFactories=[],this.states=new Map,e.states.forEach(i=>{const r=i.options&&i.options.params||{};this.states.set(i.name,new kut(i.style,r,s))}),M3(this.states,"true","1"),M3(this.states,"false","0"),e.transitions.forEach(i=>{this.transitionFactories.push(new D3(t,i,this.states))}),this.fallbackTransition=function Aut(n,t,e){return new D3(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,s,i){return this.transitionFactories.find(o=>o.match(t,e,s,i))||null}matchStyles(t,e,s){return this.fallbackTransition.buildStyles(t,e,s)}}function M3(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const Iut=new yM;class Put{constructor(t,e,s){this.bodyNode=t,this._driver=e,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const s=[],i=[],r=Z1(this._driver,e,s,i);if(s.length)throw function Pct(n){return new at(3503,!1)}();i.length,this._animations.set(t,r)}_buildPlayer(t,e,s){const i=t.element,r=n3(this._driver,this._normalizer,0,t.keyframes,e,s);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,s={}){const i=[],r=this._animations.get(t);let o;const a=new Map;if(r?(o=nL(this._driver,e,r,G1,aM,new Map,new Map,s,Iut,i),o.forEach(u=>{const h=tr(a,u.element,new Map);u.postStyleProps.forEach(m=>h.set(m,null))})):(i.push(function Oct(){return new at(3300,!1)}()),o=[]),i.length)throw function Rct(n){return new at(3504,!1)}();a.forEach((u,h)=>{u.forEach((m,v)=>{u.set(v,this._driver.computeStyle(h,v,jl))})});const c=lu(o.map(u=>{const h=a.get(u.element);return this._buildPlayer(u,new Map,h)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const s=this.players.indexOf(e);s>=0&&this.players.splice(s,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function Nct(n){return new at(3301,!1)}();return e}listen(t,e,s,i){const r=z1(e,"","","");return U1(this._getPlayer(t),s,r,i),()=>{}}command(t,e,s,i){if("register"==s)return void this.register(t,i[0]);if("create"==s){const o=i[0]||{};return void this.create(t,e,o)}const r=this._getPlayer(t);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const S3="ng-animate-queued",oL="ng-animate-disabled",Yut=[],C3={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Hut={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ir="__ng_removed";class aL{constructor(t,e=""){this.namespaceId=e;const s=t&&t.hasOwnProperty("value"),i=s?t.value:t;if(this.value=function Uut(n){return n??null}(i),s){const r=wv(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const s=this.options.params;Object.keys(e).forEach(i=>{null==s[i]&&(s[i]=e[i])})}}}const Mv="void",lL=new aL(Mv);class jut{constructor(t,e,s){this.id=t,this.hostElement=e,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Pr(e,this._hostClassName)}listen(t,e,s,i){if(!this._triggers.has(e))throw function Fct(n,t){return new at(3302,!1)}();if(null==s||0==s.length)throw function Yct(n){return new at(3303,!1)}();if(!function $ut(n){return"start"==n||"done"==n}(s))throw function Hct(n,t){return new at(3400,!1)}();const r=tr(this._elementListeners,t,[]),o={name:e,phase:s,callback:i};r.push(o);const a=tr(this._engine.statesByElement,t,new Map);return a.has(e)||(Pr(t,lM),Pr(t,lM+"-"+e),a.set(e,lL)),()=>{this._engine.afterFlush(()=>{const l=r.indexOf(o);l>=0&&r.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function jct(n){return new at(3401,!1)}();return e}trigger(t,e,s,i=!0){const r=this._getTrigger(e),o=new cL(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(Pr(t,lM),Pr(t,lM+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new aL(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=lL),c.value!==Mv&&l.value===c.value){if(!function qut(n,t){const e=Object.keys(n),s=Object.keys(t);if(e.length!=s.length)return!1;for(let i=0;i{uh(t,k),da(t,P)})}return}const m=tr(this._engine.playersByElement,t,[]);m.forEach(C=>{C.namespaceId==this.id&&C.triggerName==e&&C.queued&&C.destroy()});let v=r.matchTransition(l.value,c.value,t,c.params),D=!1;if(!v){if(!i)return;v=r.fallbackTransition,D=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:v,fromState:l,toState:c,player:o,isFallbackTransition:D}),D||(Pr(t,S3),o.onStart(()=>{Am(t,S3)})),o.onDone(()=>{let C=this.players.indexOf(o);C>=0&&this.players.splice(C,1);const k=this._engine.playersByElement.get(t);if(k){let P=k.indexOf(o);P>=0&&k.splice(P,1)}}),this.players.push(o),m.push(o),o}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,s)=>{this._elementListeners.set(s,e.filter(i=>i.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(s=>s.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const s=this._engine.driver.query(t,cM,!0);s.forEach(i=>{if(i[Ir])return;const r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(o=>o.triggerLeaveAnimation(i,e,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(t,e,s,i){const r=this._engine.statesByElement.get(t),o=new Map;if(r){const a=[];if(r.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,Mv,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),s&&lu(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),s=this._engine.statesByElement.get(t);if(e&&s){const i=new Set;e.forEach(r=>{const o=r.name;if(i.has(o))return;i.add(o);const l=this._triggers.get(o).fallbackTransition,c=s.get(o)||lL,u=new aL(Mv),h=new cL(this.id,o,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:o,transition:l,fromState:c,toState:u,player:h,isFallbackTransition:!0})})}}removeNode(t,e){const s=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(s.totalAnimations){const r=s.players.length?s.playersByQueriedElement.get(t):[];if(r&&r.length)i=!0;else{let o=t;for(;o=o.parentNode;)if(s.statesByElement.get(o)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)s.markElementAsRemoved(this.id,t,!1,e);else{const r=t[Ir];(!r||r===C3)&&(s.afterFlush(()=>this.clearElementCache(t)),s.destroyInnerAnimations(t),s._onRemovalComplete(t,e))}}insertNode(t,e){Pr(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(s=>{const i=s.player;if(i.destroyed)return;const r=s.element,o=this._elementListeners.get(r);o&&o.forEach(a=>{if(a.name==s.triggerName){const l=z1(r,s.triggerName,s.fromState.value,s.toState.value);l._data=t,U1(s.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(s)}),this._queue=[],e.sort((s,i)=>{const r=s.transition.ast.depCount,o=i.transition.ast.depCount;return 0==r||0==o?r-o:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(s=>s.element===t)||e,e}}class Vut{constructor(t,e,s){this.bodyNode=t,this.driver=e,this._normalizer=s,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=(i,r)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(s=>{s.queued&&t.push(s)})}),t}createNamespace(t,e){const s=new jut(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(s,e):(this.newHostElements.set(e,s),this.collectEnterElement(e)),this._namespaceLookup[t]=s}_balanceNamespaceList(t,e){const s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let o=!1,a=this.driver.getParentElement(e);for(;a;){const l=i.get(a);if(l){const c=s.indexOf(l);s.splice(c+1,0,t),o=!0;break}a=this.driver.getParentElement(a)}o||s.unshift(t)}else s.push(t);return i.set(e,t),t}register(t,e){let s=this._namespaceLookup[t];return s||(s=this.createNamespace(t,e)),s}registerTrigger(t,e,s){let i=this._namespaceLookup[t];i&&i.register(e,s)&&this.totalAnimations++}destroy(t,e){if(!t)return;const s=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(s.hostElement),delete this._namespaceLookup[t];const i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>s.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,s=this.statesByElement.get(t);if(s)for(let i of s.values())if(i.namespaceId){const r=this._fetchNamespace(i.namespaceId);r&&e.add(r)}return e}trigger(t,e,s,i){if(wM(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,s,i),!0}return!1}insertNode(t,e,s,i){if(!wM(e))return;const r=e[Ir];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){const o=this._fetchNamespace(t);o&&o.insertNode(e,s)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Pr(t,oL)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Am(t,oL))}removeNode(t,e,s,i){if(wM(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),s){const o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,s,i,r){this.collectedLeaveElements.push(e),e[Ir]={namespaceId:t,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(t,e,s,i,r){return wM(e)?this._fetchNamespace(t).listen(e,s,i,r):()=>{}}_buildInstruction(t,e,s,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,s,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,cM,!0);e.forEach(s=>this.destroyActiveAnimationsForElement(s)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,K1,!0),e.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return lu(this.players).onDone(()=>t());t()})}processLeaveNode(t){var e;const s=t[Ir];if(s&&s.setForRemoval){if(t[Ir]=C3,s.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(s.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,s.setForRemoval)}null!==(e=t.classList)&&void 0!==e&&e.contains(oL)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){const s=this._whenQuietFns;this._whenQuietFns=[],e.length?lu(e).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(t){throw function Vct(n){return new at(3402,!1)}()}_flushAnimations(t,e){const s=new yM,i=[],r=new Map,o=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(ht=>{u.add(ht);const It=this.driver.query(ht,".ng-animate-queued",!0);for(let Yt=0;Yt{const Yt=G1+C++;D.set(It,Yt),ht.forEach(oe=>Pr(oe,Yt))});const k=[],P=new Set,F=new Set;for(let ht=0;htP.add(oe)):F.add(It))}const N=new Map,V=k3(m,Array.from(P));V.forEach((ht,It)=>{const Yt=aM+C++;N.set(It,Yt),ht.forEach(oe=>Pr(oe,Yt))}),t.push(()=>{v.forEach((ht,It)=>{const Yt=D.get(It);ht.forEach(oe=>Am(oe,Yt))}),V.forEach((ht,It)=>{const Yt=N.get(It);ht.forEach(oe=>Am(oe,Yt))}),k.forEach(ht=>{this.processLeaveNode(ht)})});const q=[],lt=[];for(let ht=this._namespaceList.length-1;ht>=0;ht--)this._namespaceList[ht].drainQueuedTransitions(e).forEach(Yt=>{const oe=Yt.player,vn=Yt.element;if(q.push(oe),this.collectedEnterElements.length){const ii=vn[Ir];if(ii&&ii.setForMove){if(ii.previousTriggersValues&&ii.previousTriggersValues.has(Yt.triggerName)){const Ch=ii.previousTriggersValues.get(Yt.triggerName),Yr=this.statesByElement.get(Yt.element);if(Yr&&Yr.has(Yt.triggerName)){const dS=Yr.get(Yt.triggerName);dS.value=Ch,Yr.set(Yt.triggerName,dS)}}return void oe.destroy()}}const Hs=!h||!this.driver.containsElement(h,vn),_s=N.get(vn),Fi=D.get(vn),bn=this._buildInstruction(Yt,s,Fi,_s,Hs);if(bn.errors&&bn.errors.length)return void lt.push(bn);if(Hs)return oe.onStart(()=>uh(vn,bn.fromStyles)),oe.onDestroy(()=>da(vn,bn.toStyles)),void i.push(oe);if(Yt.isFallbackTransition)return oe.onStart(()=>uh(vn,bn.fromStyles)),oe.onDestroy(()=>da(vn,bn.toStyles)),void i.push(oe);const _g=[];bn.timelines.forEach(ii=>{ii.stretchStartingKeyframe=!0,this.disabledNodes.has(ii.element)||_g.push(ii)}),bn.timelines=_g,s.append(vn,bn.timelines);const nwt={instruction:bn,player:oe,element:vn};o.push(nwt),bn.queriedElements.forEach(ii=>tr(a,ii,[]).push(oe)),bn.preStyleProps.forEach((ii,Ch)=>{if(ii.size){let Yr=l.get(Ch);Yr||l.set(Ch,Yr=new Set),ii.forEach((dS,SA)=>Yr.add(SA))}}),bn.postStyleProps.forEach((ii,Ch)=>{let Yr=c.get(Ch);Yr||c.set(Ch,Yr=new Set),ii.forEach((dS,SA)=>Yr.add(SA))})});if(lt.length){const ht=[];lt.forEach(It=>{ht.push(function Bct(n,t){return new at(3505,!1)}(It.triggerName,It.errors))}),q.forEach(It=>It.destroy()),this.reportError(ht)}const pt=new Map,Dt=new Map;o.forEach(ht=>{const It=ht.element;s.has(It)&&(Dt.set(It,It),this._beforeAnimationBuild(ht.player.namespaceId,ht.instruction,pt))}),i.forEach(ht=>{const It=ht.element;this._getPreviousPlayers(It,!1,ht.namespaceId,ht.triggerName,null).forEach(oe=>{tr(pt,It,[]).push(oe),oe.destroy()})});const yt=k.filter(ht=>L3(ht,l,c)),Vt=new Map;E3(Vt,this.driver,F,c,jl).forEach(ht=>{L3(ht,l,c)&&yt.push(ht)});const Ut=new Map;v.forEach((ht,It)=>{E3(Ut,this.driver,new Set(ht),l,"!")}),yt.forEach(ht=>{var It,Yt;const oe=Vt.get(ht),vn=Ut.get(ht);Vt.set(ht,new Map([...Array.from(null!==(It=oe?.entries())&&void 0!==It?It:[]),...Array.from(null!==(Yt=vn?.entries())&&void 0!==Yt?Yt:[])]))});const $t=[],Ce=[],Xt={};o.forEach(ht=>{const{element:It,player:Yt,instruction:oe}=ht;if(s.has(It)){if(u.has(It))return Yt.onDestroy(()=>da(It,oe.toStyles)),Yt.disabled=!0,Yt.overrideTotalTime(oe.totalTime),void i.push(Yt);let vn=Xt;if(Dt.size>1){let _s=It;const Fi=[];for(;_s=_s.parentNode;){const bn=Dt.get(_s);if(bn){vn=bn;break}Fi.push(_s)}Fi.forEach(bn=>Dt.set(bn,vn))}const Hs=this._buildAnimation(Yt.namespaceId,oe,pt,r,Ut,Vt);if(Yt.setRealPlayer(Hs),vn===Xt)$t.push(Yt);else{const _s=this.playersByElement.get(vn);_s&&_s.length&&(Yt.parentPlayer=lu(_s)),i.push(Yt)}}else uh(It,oe.fromStyles),Yt.onDestroy(()=>da(It,oe.toStyles)),Ce.push(Yt),u.has(It)&&i.push(Yt)}),Ce.forEach(ht=>{const It=r.get(ht.element);if(It&&It.length){const Yt=lu(It);ht.setRealPlayer(Yt)}}),i.forEach(ht=>{ht.parentPlayer?ht.syncPlayerEvents(ht.parentPlayer):ht.destroy()});for(let ht=0;ht!Hs.destroyed);vn.length?zut(this,It,vn):this.processLeaveNode(It)}return k.length=0,$t.forEach(ht=>{this.players.push(ht),ht.onDone(()=>{ht.destroy();const It=this.players.indexOf(ht);this.players.splice(It,1)}),ht.play()}),$t}elementContainsData(t,e){let s=!1;const i=e[Ir];return i&&i.setForRemoval&&(s=!0),this.playersByElement.has(e)&&(s=!0),this.playersByQueriedElement.has(e)&&(s=!0),this.statesByElement.has(e)&&(s=!0),this._fetchNamespace(t).elementContainsData(e)||s}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,s,i,r){let o=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(o=a)}else{const a=this.playersByElement.get(t);if(a){const l=!r||r==Mv;a.forEach(c=>{c.queued||!l&&c.triggerName!=i||o.push(c)})}}return(s||i)&&(o=o.filter(a=>!(s&&s!=a.namespaceId||i&&i!=a.triggerName))),o}_beforeAnimationBuild(t,e,s){const i=e.triggerName,r=e.element,o=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:i;for(const l of e.timelines){const c=l.element,u=c!==r,h=tr(s,c,[]);this._getPreviousPlayers(c,u,o,a,e.toState).forEach(v=>{const D=v.getRealPlayer();D.beforeDestroy&&D.beforeDestroy(),v.destroy(),h.push(v)})}uh(r,e.fromStyles)}_buildAnimation(t,e,s,i,r,o){const a=e.triggerName,l=e.element,c=[],u=new Set,h=new Set,m=e.timelines.map(D=>{const C=D.element;u.add(C);const k=C[Ir];if(k&&k.removedBeforeQueried)return new _v(D.duration,D.delay);const P=C!==l,F=function Wut(n){const t=[];return T3(n,t),t}((s.get(C)||Yut).map(pt=>pt.getRealPlayer())).filter(pt=>{const Dt=pt;return!!Dt.element&&Dt.element===C}),N=r.get(C),V=o.get(C),q=n3(this.driver,this._normalizer,0,D.keyframes,N,V),lt=this._buildPlayer(D,q,F);if(D.subTimeline&&i&&h.add(C),P){const pt=new cL(t,a,C);pt.setRealPlayer(lt),c.push(pt)}return lt});c.forEach(D=>{tr(this.playersByQueriedElement,D.element,[]).push(D),D.onDone(()=>function But(n,t,e){let s=n.get(t);if(s){if(s.length){const i=s.indexOf(e);s.splice(i,1)}0==s.length&&n.delete(t)}return s}(this.playersByQueriedElement,D.element,D))}),u.forEach(D=>Pr(D,u3));const v=lu(m);return v.onDestroy(()=>{u.forEach(D=>Am(D,u3)),da(l,e.toStyles)}),h.forEach(D=>{tr(i,D,[]).push(v)}),v}_buildPlayer(t,e,s){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,s):new _v(t.duration,t.delay)}}class cL{constructor(t,e,s){this.namespaceId=t,this.triggerName=e,this.element=s,this._player=new _v,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,s)=>{e.forEach(i=>U1(t,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){tr(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function wM(n){return n&&1===n.nodeType}function x3(n,t){const e=n.style.display;return n.style.display=t??"none",e}function E3(n,t,e,s,i){const r=[];e.forEach(l=>r.push(x3(l)));const o=[];s.forEach((l,c)=>{const u=new Map;l.forEach(h=>{const m=t.computeStyle(c,h,i);u.set(h,m),(!m||0==m.length)&&(c[Ir]=Hut,o.push(c))}),n.set(c,u)});let a=0;return e.forEach(l=>x3(l,r[a++])),o}function k3(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const i=new Set(t),r=new Map;function o(a){if(!a)return 1;let l=r.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:i.has(c)?1:o(c),r.set(a,l),l}return t.forEach(a=>{const l=o(a);1!==l&&e.get(l).push(a)}),e}function Pr(n,t){var e;null===(e=n.classList)||void 0===e||e.add(t)}function Am(n,t){var e;null===(e=n.classList)||void 0===e||e.remove(t)}function zut(n,t,e){lu(e).onDone(()=>n.processLeaveNode(t))}function T3(n,t){for(let e=0;ei.add(r)):t.set(n,s),e.delete(n),!0}class DM{constructor(t,e,s){this.bodyNode=t,this._driver=e,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(i,r)=>{},this._transitionEngine=new Vut(t,e,s),this._timelineEngine=new Put(t,e,s),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(t,e,s,i,r){const o=t+"-"+i;let a=this._triggerCache[o];if(!a){const l=[],c=[],u=Z1(this._driver,r,l,c);if(l.length)throw function Act(n,t){return new at(3404,!1)}();c.length,a=function Tut(n,t,e){return new Lut(n,t,e)}(i,u,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,i,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,s,i){this._transitionEngine.insertNode(t,e,s,i)}onRemove(t,e,s,i){this._transitionEngine.removeNode(t,e,i||!1,s)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,s,i){if("@"==s.charAt(0)){const[r,o]=s3(s),a=i;this._timelineEngine.command(r,e,o,a)}else this._transitionEngine.trigger(t,e,s,i)}listen(t,e,s,i,r){if("@"==s.charAt(0)){const[o,a]=s3(s);return this._timelineEngine.listen(o,e,a,r)}return this._transitionEngine.listen(t,e,s,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}class Im{constructor(t,e,s){this._element=t,this._startStyles=e,this._endStyles=s,this._state=0;let i=Im.initialStylesByElement.get(t);i||Im.initialStylesByElement.set(t,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&da(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(da(this._element,this._initialStyles),this._endStyles&&(da(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Im.initialStylesByElement.delete(this._element),this._startStyles&&(uh(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(uh(this._element,this._endStyles),this._endStyles=null),da(this._element,this._initialStyles),this._state=3)}}function uL(n){let t=null;return n.forEach((e,s)=>{(function Kut(n){return"display"===n||"position"===n})(s)&&(t=t||new Map,t.set(s,e))}),t}Im.initialStylesByElement=new WeakMap;class A3{constructor(t,e,s,i){this.element=t,this.keyframes=e,this.options=s,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(s=>{e.push(Object.fromEntries(s))}),e}_triggerWebAnimation(t,e,s){return t.animate(this._convertKeyframesToObject(e),s)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{"offset"!==i&&t.set(i,this._finished?s:g3(this.element,i))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(s=>s()),e.length=0}}class Qut{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return a3(t,e)}getParentElement(t){return q1(t)}query(t,e,s){return l3(t,e,s)}computeStyle(t,e,s){return window.getComputedStyle(t)[e]}animate(t,e,s,i,r,o=[]){const l={duration:s,delay:i,fill:0==i?"both":"forwards"};r&&(l.easing=r);const c=new Map,u=o.filter(v=>v instanceof A3);(function eut(n,t){return 0===n||0===t})(s,i)&&u.forEach(v=>{v.currentSnapshot.forEach((D,C)=>c.set(C,D))});let h=function Jct(n){return n.length?n[0]instanceof Map?n:n.map(t=>d3(t)):[]}(e).map(v=>uu(v));h=function nut(n,t,e){if(e.size&&t.length){let s=t[0],i=[];if(e.forEach((r,o)=>{s.has(o)||i.push(o),s.set(o,r)}),i.length)for(let r=1;ro.set(a,g3(n,a)))}}return t}(t,h,c);const m=function Gut(n,t){let e=null,s=null;return Array.isArray(t)&&t.length?(e=uL(t[0]),t.length>1&&(s=uL(t[t.length-1]))):t instanceof Map&&(e=uL(t)),e||s?new Im(n,e,s):null}(t,h);return new A3(t,h,l,m)}}class Pm extends QB{constructor(t,e){super(),this._nextAnimationId=0;const s={id:"0",encapsulation:Ls.None,styles:[],data:{animation:[]}};this._renderer=t.createRenderer(e.body,s)}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(t)?JB(t):t;return I3(this._renderer,null,e,"register",[s]),new Jut(e,this._renderer)}}Pm.\u0275fac=function(t){return new(t||Pm)(rt(E_),rt(Se))},Pm.\u0275prov=vt({token:Pm,factory:Pm.\u0275fac});class Jut extends class plt{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Xut(this._id,t,e||{},this._renderer)}}class Xut{constructor(t,e,s,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",s)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return I3(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function I3(n,t,e,s,i){return n.setProperty(t,`@@${e}:${s}`,i)}const P3="@.disabled";class Om{constructor(t,e,s){this.delegate=t,this.engine=e,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(i,r)=>{const o=r?.parentNode(i);o&&r.removeChild(o,i)}}createRenderer(t,e){const i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let c=this._rendererCache.get(i);return c||(c=new O3("",i,this.engine),this._rendererCache.set(i,c)),c}const r=e.id,o=e.id+"-"+this._currentId;this._currentId++,this.engine.register(o,t);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(r,o,t,c.name,c)};return e.data.animation.forEach(a),new Zut(this,o,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,s){t>=0&&te(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(i=>{const[r,o]=i;r(o)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,s]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}Om.\u0275fac=function(t){return new(t||Om)(rt(E_),rt(DM),rt(ke))},Om.\u0275prov=vt({token:Om,factory:Om.\u0275fac});class O3{constructor(t,e,s){this.namespaceId=t,this.delegate=e,this.engine=s,this.destroyNode=this.delegate.destroyNode?i=>e.destroyNode(i):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,s,i=!0){this.delegate.insertBefore(t,e,s),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,s){this.engine.onRemove(this.namespaceId,e,this.delegate,s)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,s,i){this.delegate.setAttribute(t,e,s,i)}removeAttribute(t,e,s){this.delegate.removeAttribute(t,e,s)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,s,i){this.delegate.setStyle(t,e,s,i)}removeStyle(t,e,s){this.delegate.removeStyle(t,e,s)}setProperty(t,e,s){"@"==e.charAt(0)&&e==P3?this.disableAnimations(t,!!s):this.delegate.setProperty(t,e,s)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,s){return this.delegate.listen(t,e,s)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Zut extends O3{constructor(t,e,s,i){super(e,s,i),this.factory=t,this.namespaceId=e}setProperty(t,e,s){"@"==e.charAt(0)?"."==e.charAt(1)&&e==P3?(s=void 0===s||!!s,this.disableAnimations(t,s)):this.engine.process(this.namespaceId,t,e.slice(1),s):this.delegate.setProperty(t,e,s)}listen(t,e,s){if("@"==e.charAt(0)){const i=function tdt(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let r=e.slice(1),o="";return"@"!=r.charAt(0)&&([r,o]=function edt(n){const t=n.indexOf("."),e=n.substring(0,t),s=n.slice(t+1);return[e,s]}(r)),this.engine.listen(this.namespaceId,i,r,o,a=>{const l=a._data||-1;this.factory.scheduleListenerCallback(l,s,a)})}return this.delegate.listen(t,e,s)}}class Rm extends DM{constructor(t,e,s,i){super(t.body,e,s)}ngOnDestroy(){this.flush()}}Rm.\u0275fac=function(t){return new(t||Rm)(rt(Se),rt(oM),rt(iL),rt(Bo))},Rm.\u0275prov=vt({token:Rm,factory:Rm.\u0275fac});const R3=[{provide:QB,useClass:Pm},{provide:iL,useFactory:function ndt(){return new Cut}},{provide:DM,useClass:Rm},{provide:E_,useFactory:function sdt(n,t,e){return new Om(n,t,e)},deps:[dl,DM,ke]}],N3=[{provide:oM,useFactory:()=>new Qut},{provide:vR,useValue:"BrowserAnimations"},...R3],F3=[{provide:oM,useClass:ch},{provide:vR,useValue:"NoopAnimations"},...R3];class du{static withConfig(t){return{ngModule:du,providers:t.disableAnimations?F3:N3}}}du.\u0275fac=function(t){return new(t||du)},du.\u0275mod=Dn({type:du,exports:[xr]}),du.\u0275inj=hn({providers:N3,imports:[xr]});class Sv{}Sv.\u0275fac=function(t){return new(t||Sv)},Sv.\u0275mod=Dn({type:Sv,exports:[xr]}),Sv.\u0275inj=hn({providers:F3,imports:[xr]});let Do=class{constructor(t,e,s,i){this.authService=t,this.http=e,this.router=s,this.ueHttp=i,this.url="/api/DVPRTLFE/developers/keep_alive"}canActivate(){return this.authService.isLoggedIn?Bt(!0):this.http.get(this.url,{headers:this.ueHttp.getAuthHeader()}).pipe(jt(t=>(this.authService.isLoggedIn=!0,!0)),Cs(t=>(this.logout(),Bt(!1))))}logout(){this.authService.logout().subscribe(t=>{this.router.navigate(["/login"],{queryParams:{accessDenied:!0}})},t=>{this.router.navigate(["/login"],{queryParams:{accessDenied:!0}})})}};Do.ctorParameters=()=>[{type:kn},{type:go},{type:se},{type:xs}],Do=nt([rs()],Do);let Cv=class{constructor(t,e,s,i){this.authService=t,this.http=e,this.router=s,this.ueHttp=i,this.url="/api/DVPRTLFE/developers/keep_alive"}canActivate(t,e){return this.checkInvite(e),this.http.get(this.url,{headers:this.ueHttp.getAuthHeader()}).pipe(jt(s=>{if(!this.authService.isInvitation)return this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"]),!1;this.goToInvite(e.url)}),Cs(()=>Bt(!0)))}checkInvite(t){t.url.includes("/invitation")?this.authService.isInvitation=!0:this.authService.isInvitation=!1}goToInvite(t){this.authService.logout().subscribe(e=>{this.router.navigate([t])},e=>{this.router.navigate([t])})}};Cv.ctorParameters=()=>[{type:kn},{type:go},{type:se},{type:xs}],Cv=nt([rs()],Cv);let ha=class{constructor(t,e){this.authService=t,this.router=e}canActivate(t,e){return this.authService.permissions.length>0?Bt(this.pickRoute(t.url[0].path)):this.authService.getPermissions().pipe(jt(s=>this.pickRoute(t.url[0].path),s=>Bt(this.pickRoute("err"))))}isAllowed(t){switch(t){case"members":return this.authService.checkPermissions("members_view");case"invites":return this.authService.checkPermissions("invites_view");case"servers":return this.authService.checkPermissions("servers_view");case"devices":return this.authService.checkPermissions("devices_view");case"company":return this.authService.checkPermissions("profile_view");case"endpoints":return this.authService.checkPermissions("endpoints_view");case"err":return!1}}pickRoute(t){return!!this.isAllowed(t)||(this.router.navigate(["not-found"]),!1)}};ha.ctorParameters=()=>[{type:kn},{type:se}],ha=nt([rs()],ha);let Ul=class{constructor(){}newAlert(t,e,s){this.alert={},this.alert.title=t,this.alert.message=e,this.alert.type=s}};Ul.ctorParameters=()=>[],Ul=nt([kt({selector:"ue-log-in-alert",template:'
    \n\t

    {{alert.title}}

    \n\t{{alert.message}}\n
    ',styles:[".alert-danger {\n\tcolor: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1 !important;\n}\n\n.alert {\n\tpadding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n}"]})],Ul);let hu=class{constructor(t,e,s,i){this.formBuilder=t,this.authService=e,this.router=s,this.route=i,this.showRegister=!0,this.loginMsg="Login to your account"}ngOnInit(){this.isInvitation=this.authService.isInvitation,this.showLogin=!this.isInvitation,this.key=this.router.url.split("/")[2],this.loginForm=this.formBuilder.group({username:["",Pt.required],password:["",Pt.required],invite_token:[""]}),this.loginForm.patchValue({invite_token:this.key});const t=this.route.snapshot.queryParams;Object.keys(t).length>0&&(this.router.navigate(["/login"],{replaceUrl:!0}),this.displayAlert(t))}displayAlert(t){t.accessDenied?this.alert.newAlert("Error","Access to page denied","danger"):t.loggedOut?this.alert.newAlert("Success","User logged out","success"):t.timeout?this.alert.newAlert("Warning","You have been logged out","warning"):t.error&&this.alert.newAlert("Error","You have been logged out","danger"),this.route.snapshot.queryParams.passwordChange&&(this.router.navigate(["/login"]),this.alert.newAlert("Success","New password set successfully.","success"))}goLogin(){this.showLogin=!0,this.showRegister=!1,this.loginMsg="Confirm Account"}goBack(){this.showLogin=!1,this.showRegister=!0,this.loginMsg="Login to your account"}register(){this.isInvitation?this.router.navigate(["/invitation/"+this.key+"/register"]):this.router.navigate(["/register"])}submitForm(){if(this.loginForm.invalid)return this.alert.newAlert("Login Error","Please fill in all required fields","danger");this.isInvitation&&45!==this.loginForm.get("invite_token").value.length?this.alert.newAlert("Login Error!","Invalid Activation Token","danger"):this.authService.login(this.loginForm.value).subscribe(t=>{"no_company"===t.state?this.router.navigate(["/register-company"]):(this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"]))},t=>{if(1===t.errorcode)this.alert.newAlert("Password/Username Incorrect","Please remember that usernames and passwords are case-sensitive.","danger");else this.alert.newAlert("Error!",t.error,"danger")})}};hu.ctorParameters=()=>[{type:Zn},{type:kn},{type:se},{type:fs}],hu.propDecorators={alert:[{type:bt,args:[Ul,{static:!0}]}]},hu=nt([kt({selector:"ue-log-in-form",template:'\n\x3c!-- form method --\x3e\n
    \n\n\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t
    \n\t\t
    \n\t\t\n\t\t

    \n\t\t\tForgot Password?
    \n\t\t\tSend new password please!\n\t\t

    \n\t\t
    \n\t
    \n
    \n',styles:["",Af]})],hu);let pu=class{constructor(t,e,s){this.fb=t,this.authService=e,this.router=s,this.validationError=!1,this.moreInfo=!1}ngOnInit(){this.isInvitation=this.authService.isInvitation,this.inviteKey=this.router.url.split("/")[2],this.registerForm=this.fb.group({email:["",Pt.required],password:["",Pt.required],password_confirm:["",Pt.required],contact:["",Pt.required],company:["",Pt.required],invite_token:[""]},{validator:this.passwordMatch}),this.registerForm.patchValue({invite_token:this.inviteKey})}passwordMatch(t){return t.controls.password_confirm.value===t.controls.password.value?null:{error:!0}}register(){if(this.registerForm.invalid){this.validationError=!0;const e=this.registerForm.errors&&this.registerForm.errors.error?"Passwords do not match!":"Please fill in all required fields.";this.alert.newAlert("Registration Error!",e,"danger")}else this.isInvitation&&45!==this.registerForm.get("invite_token").value.length?this.alert.newAlert("Registration Error!","Invalid Activation Token","danger"):(this.registerForm.markAsPristine(),this.authService.register(this.registerForm.value).subscribe(t=>{this.isInvitation?(this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"])):this.router.navigate(["/register-company"])},t=>{this.alert.newAlert("Error!",t.error,"danger")}))}goBack(){this.isInvitation?this.router.navigate([`/invitation/${this.inviteKey}/verify`]):this.router.navigate(["/login"])}};pu.ctorParameters=()=>[{type:Zn},{type:kn},{type:se}],pu.propDecorators={alert:[{type:bt,args:[Ul,{static:!0}]}]},pu=nt([kt({selector:"ue-register-form",template:'\n\n
    \n\t

    In order to access some of our developer tools and to stay informed with the latest API and other scripts, you must register for a Developer\'s Account with us. Registration is free.

    \n\t

    If you already have a developer\'s account, login here.

    \n
    \n\n\x3c!-- form method --\x3e\n
    \n\n\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t\n\t\t\n\n\t
    \n
    \n',styles:[".size {\n font-size:10px\n}",Af]})],pu);let Nm=class{constructor(t,e,s){this.formBuilder=t,this.router=e,this.authService=s,this.response=!1}ngOnInit(){this.lostPasswordForm=this.formBuilder.group({email:["",Pt.required]})}submitForm(){if(this.lostPasswordForm.invalid)return this.validationError=!0,void this.alert.newAlert("Error!","Please enter your email.","danger");this.authService.forgotPW(this.lostPasswordForm.value).subscribe(t=>{this.response=!0,this.alert.newAlert("Success!","Check your email for a link to reset your password. If it doesn't appear within a few minutes, check your spam folder.","success")},t=>{this.alert.newAlert("Error!",t.error,"danger")})}};Nm.ctorParameters=()=>[{type:Zn},{type:se},{type:kn}],Nm.propDecorators={alert:[{type:bt,args:[Ul,{static:!0}]}]},Nm=nt([kt({selector:"ue-lost-password",template:'\n\n
    \n\tUse the form below to request a password reset. An email containing a link to reset your password will be sent to the email address on file.\n
    \n\n\n\n\n\x3c!-- form method --\x3e\n
    \n\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t* Please enter your email!\n\t\t
    \n\t\t\n\t\t\n\t\t\n\t\t\tCancel\n\t\t\n\t\t\n\t
    \n
    \n',styles:["",Af]})],Nm);let Fm=class{constructor(t,e,s,i){this.formBuilder=t,this.route=e,this.router=s,this.authService=i,this.validationError=!1}ngOnInit(){const t=this.route.queryParams._value.authcode?this.route.queryParams._value.authcode:"";this.resetPasswordForm=this.formBuilder.group({authcode:[t,[Pt.required]],email:["",[Pt.required]],password:["",[Pt.required,Pt.minLength(6)]],password_confirm:["",[Pt.required,Pt.minLength(6)]]},{validator:this.passwordMatch})}passwordMatch(t){return t.controls.password_confirm.value===t.controls.password.value?null:{error:!0}}submitForm(){return this.resetPasswordForm.get("authcode").invalid?(this.validationError=!0,void this.alert.newAlert("Error!","Please obtain a valid authorization code before you continue.","danger")):this.resetPasswordForm.invalid?(this.validationError=!0,void this.alert.newAlert("Error!","Please enter all required fields.","danger")):void this.authService.resetPW(this.resetPasswordForm.value).subscribe(t=>{this.router.navigate(["/login"],{queryParams:{passwordChange:!0}})},t=>{this.alert.newAlert("Error!",t.error,"danger")})}};Fm.ctorParameters=()=>[{type:Zn},{type:fs},{type:se},{type:kn}],Fm.propDecorators={alert:[{type:bt,args:[Ul,{static:!0}]}]},Fm=nt([kt({selector:"ue-reset-password",template:'\n\n
    \n\tUse the form below to reset your password. If you are unable to reset your password, click here to start over.\n
    \n\n\x3c!-- form method --\x3e\n
    \n\t\n\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t* Please enter your email!\n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t* Please enter a valid password!\n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t* Passwords do not match!\n\t\t
    \n\t\t\n\t\t\n\t\t\n\t\t\tCancel\n\t\t\n\t\t\n\t
    \n
    ',styles:["",Af]})],Fm);let xv=class{constructor(t,e,s,i,r){this.authService=t,this.router=e,this.ueHttp=s,this.http=i,this.sessionTimeoutService=r,this.secondsLeft=0}ngOnInit(){this.sessionTimeoutService.resetDevSessionExpiration(),this.sessionTimeoutService.startInterval(()=>this.onInterval())}onInterval(){const t=new Date,e=this.sessionTimeoutService.devSessionWarning,s=this.sessionTimeoutService.devSessionExpiration;this.secondsLeft=this.calculateSecondsLeft(t,s),t>e?this.openWarningModal():this.closeWarningModal(),t>s&&this.logout()}openWarningModal(){this.modal.isOpened||(this.sessionTimeoutService.countdownOpen=!0,this.modal.open())}closeWarningModal(){this.modal.isOpened&&(this.sessionTimeoutService.countdownOpen=!1,this.modal.close())}extendSession(){this.http.get("/api/DVPRTLFE/developers/keep_alive",{headers:this.ueHttp.getAuthHeader()}).subscribe(t=>{this.closeWarningModal(),this.sessionTimeoutService.resetDevSessionExpiration()},t=>{this.router.navigate(["/login"],{queryParams:{accessDenied:!0}})})}logout(){this.authService.logout().subscribe(t=>{this.router.navigate(["/login"],{queryParams:{timeout:!0}})},t=>{this.router.navigate(["/login"],{queryParams:{timeout:!0}})})}calculateSecondsLeft(t,e){const s=t.getTime();let r=e.getTime()-s;return r<0&&(r=0),Math.floor(r/1e3)}};xv.ctorParameters=()=>[{type:kn},{type:se},{type:xs},{type:go},{type:oa}],xv.propDecorators={modal:[{type:bt,args:[ah,{static:!0}]}],alert:[{type:bt,args:[Pn,{static:!0}]}]},xv=nt([kt({selector:"ue-session-timeout",template:'\n\n\n\t\n\t\t

    Session Timeout Warning

    \n\t
    \n\t\n\t\t

    Your sesssion will expire in {{secondsLeft}} seconds.

    \n\t
    \n\t\n\t\tSign Out\n\t\tExtend Session\n\t\n',styles:[""]})],xv);let Ym=class{constructor(t,e,s){this.fb=t,this.authService=e,this.router=s,this.validationError=!1}ngOnInit(){this.initRegisterForm()}initRegisterForm(){this.registerForm=this.fb.group({contact:["",Pt.required],company:["",Pt.required],address1:[""],address2:[""],city:[""],state:[""],zip:[""],country:[""],phone:[""]})}register(){if(this.registerForm.invalid){this.validationError=!0;const e=this.registerForm.errors&&this.registerForm.errors.error?"Passwords do not match!":"Please fill in all required fields.";this.alert.newAlert("Login Error!",e,"danger")}else this.registerForm.markAsPristine(),this.authService.registerCompany(this.registerForm.value).subscribe(t=>{this.router.navigate(["/dashboard"])},t=>{this.alert.newAlert("Error!",t.error,"danger")})}};Ym.ctorParameters=()=>[{type:Zn},{type:kn},{type:se}],Ym.propDecorators={alert:[{type:bt,args:[Ul,{static:!0}]}]},Ym=nt([kt({selector:"ue-register-company-form",template:'\n\n
    \n\t

    You currently do not belong to any company, please create a developer company.

    \n
    \n\n\x3c!-- form method --\x3e\n
    \n\n\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n
    \n \n
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n
    \n \n
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n
    \n \n
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n
    \n \n
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\n\t\t\n\t\t\n\n\t
    \n
    \n',styles:["",Af]})],Ym);let Hm=class{constructor(t){this.ueHttp=t,this.baseUrl="/api/v2/developers/labels"}getLabels(){return this.ueHttp.get(this.baseUrl+"?limit=1000")}addLabel(t){return this.ueHttp.post(this.baseUrl,t)}updateLabel(t,e){return this.ueHttp.put(this.baseUrl+"/"+t,e)}removeLabel(t){return this.ueHttp.delete(this.baseUrl+"/"+t)}};Hm.ctorParameters=()=>[{type:xs}],Hm=nt([rs()],Hm);let dL=class{};dL=nt([Yn({imports:[En,ua,du],declarations:[Lf,Qy,If,hu,pu,Nm,Fm,Ul,xv,Ym],exports:[Lf,hu,pu],providers:[kn,xs,Do,Cv,Zc,Ky,oa,Xc,ha,Hm]})],dL);const Y3=typeof window>"u"?function(n){return n()}:window.requestAnimationFrame;function H3(n,t,e){const s=e||(o=>Array.prototype.slice.call(o));let i=!1,r=[];return function(...o){r=s(o),i||(i=!0,Y3.call(window,()=>{i=!1,n.apply(t,r)}))}}const hL=n=>"start"===n?"left":"end"===n?"right":"center",ei=(n,t,e)=>"start"===n?t:"end"===n?e:(t+e)/2;function $l(){}const bdt=function(){let n=0;return function(){return n++}}();function Ze(n){return null===n||typeof n>"u"}function Tn(n){if(Array.isArray&&Array.isArray(n))return!0;const t=Object.prototype.toString.call(n);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)}function Ue(n){return null!==n&&"[object Object]"===Object.prototype.toString.call(n)}const ts=n=>("number"==typeof n||n instanceof Number)&&isFinite(+n);function Or(n,t){return ts(n)?n:t}function ve(n,t){return typeof n>"u"?t:n}const j3=(n,t)=>"string"==typeof n&&n.endsWith("%")?parseFloat(n)/100*t:+n;function Ln(n,t,e){if(n&&"function"==typeof n.call)return n.apply(e,t)}function ln(n,t,e,s){let i,r,o;if(Tn(n))if(r=n.length,s)for(i=r-1;i>=0;i--)t.call(e,n[i],i);else for(i=0;ie;)n=n[t.substr(e,s-e)],e=s+1,s=B3(t,e);return n}function pL(n){return n.charAt(0).toUpperCase()+n.slice(1)}const Rr=n=>typeof n<"u",fu=n=>"function"==typeof n,U3=(n,t)=>{if(n.size!==t.size)return!1;for(const e of n)if(!t.has(e))return!1;return!0};const Hn=Math.PI,yn=2*Hn,Edt=yn+Hn,xM=Number.POSITIVE_INFINITY,kdt=Hn/180,qn=Hn/2,Tv=Hn/4,$3=2*Hn/3,Nr=Math.log10,pa=Math.sign;function z3(n){const t=Math.round(n);n=Av(n,t,n/1e3)?t:n;const e=Math.pow(10,Math.floor(Nr(n))),s=n/e;return(s<=1?1:s<=2?2:s<=5?5:10)*e}function Lv(n){return!isNaN(parseFloat(n))&&isFinite(n)}function Av(n,t,e){return Math.abs(n-t)l&&c=Math.min(t,e)-s&&n<=Math.max(t,e)+s}const EM=n=>0===n||1===n,K3=(n,t,e)=>-Math.pow(2,10*(n-=1))*Math.sin((n-t)*yn/e),Q3=(n,t,e)=>Math.pow(2,-10*n)*Math.sin((n-t)*yn/e)+1,Pv={linear:n=>n,easeInQuad:n=>n*n,easeOutQuad:n=>-n*(n-2),easeInOutQuad:n=>(n/=.5)<1?.5*n*n:-.5*(--n*(n-2)-1),easeInCubic:n=>n*n*n,easeOutCubic:n=>(n-=1)*n*n+1,easeInOutCubic:n=>(n/=.5)<1?.5*n*n*n:.5*((n-=2)*n*n+2),easeInQuart:n=>n*n*n*n,easeOutQuart:n=>-((n-=1)*n*n*n-1),easeInOutQuart:n=>(n/=.5)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2),easeInQuint:n=>n*n*n*n*n,easeOutQuint:n=>(n-=1)*n*n*n*n+1,easeInOutQuint:n=>(n/=.5)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2),easeInSine:n=>1-Math.cos(n*qn),easeOutSine:n=>Math.sin(n*qn),easeInOutSine:n=>-.5*(Math.cos(Hn*n)-1),easeInExpo:n=>0===n?0:Math.pow(2,10*(n-1)),easeOutExpo:n=>1===n?1:1-Math.pow(2,-10*n),easeInOutExpo:n=>EM(n)?n:n<.5?.5*Math.pow(2,10*(2*n-1)):.5*(2-Math.pow(2,-10*(2*n-1))),easeInCirc:n=>n>=1?n:-(Math.sqrt(1-n*n)-1),easeOutCirc:n=>Math.sqrt(1-(n-=1)*n),easeInOutCirc:n=>(n/=.5)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1),easeInElastic:n=>EM(n)?n:K3(n,.075,.3),easeOutElastic:n=>EM(n)?n:Q3(n,.075,.3),easeInOutElastic:n=>EM(n)?n:n<.5?.5*K3(2*n,.1125,.45):.5+.5*Q3(2*n-1,.1125,.45),easeInBack:n=>n*n*(2.70158*n-1.70158),easeOutBack:n=>(n-=1)*n*(2.70158*n+1.70158)+1,easeInOutBack(n){let t=1.70158;return(n/=.5)<1?n*n*((1+(t*=1.525))*n-t)*.5:.5*((n-=2)*n*((1+(t*=1.525))*n+t)+2)},easeInBounce:n=>1-Pv.easeOutBounce(1-n),easeOutBounce:n=>n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375,easeInOutBounce:n=>n<.5?.5*Pv.easeInBounce(2*n):.5*Pv.easeOutBounce(2*n-1)+.5},Fr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},gL="0123456789ABCDEF",Pdt=n=>gL[15&n],Odt=n=>gL[(240&n)>>4]+gL[15&n],kM=n=>(240&n)>>4==(15&n);function Fdt(n){var t=function Rdt(n){return kM(n.r)&&kM(n.g)&&kM(n.b)&&kM(n.a)}(n)?Pdt:Odt;return n&&"#"+t(n.r)+t(n.g)+t(n.b)+(n.a<255?t(n.a):"")}function Ov(n){return n+.5|0}const TM=(n,t,e)=>Math.max(Math.min(n,e),t);function Rv(n){return TM(Ov(2.55*n),0,255)}function Nv(n){return TM(Ov(255*n),0,255)}function _L(n){return TM(Ov(n/2.55)/100,0,1)}function J3(n){return TM(Ov(100*n),0,100)}const Ydt=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Vdt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function X3(n,t,e){const s=t*Math.min(e,1-e),i=(r,o=(r+n/30)%12)=>e-s*Math.max(Math.min(o-3,9-o,1),-1);return[i(0),i(8),i(4)]}function Bdt(n,t,e){const s=(i,r=(i+n/60)%6)=>e-e*t*Math.max(Math.min(r,4-r,1),0);return[s(5),s(3),s(1)]}function Udt(n,t,e){const s=X3(n,1,.5);let i;for(t+e>1&&(i=1/(t+e),t*=i,e*=i),i=0;i<3;i++)s[i]*=1-t-e,s[i]+=t;return s}function yL(n){const e=n.r/255,s=n.g/255,i=n.b/255,r=Math.max(e,s,i),o=Math.min(e,s,i),a=(r+o)/2;let l,c,u;return r!==o&&(u=r-o,c=a>.5?u/(2-r-o):u/(r+o),l=r===e?(s-i)/u+(s>16&255,r>>8&255,255&r]}return n}(),LM.transparent=[0,0,0,0]);const t=LM[n.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}function AM(n,t,e){if(n){let s=yL(n);s[t]=Math.max(0,Math.min(s[t]+s[t]*e,0===t?360:1)),s=bL(s),n.r=s[0],n.g=s[1],n.b=s[2]}}function n5(n,t){return n&&Object.assign(t||{},n)}function s5(n){var t={r:0,g:0,b:0,a:255};return Array.isArray(n)?n.length>=3&&(t={r:n[0],g:n[1],b:n[2],a:255},n.length>3&&(t.a=Nv(n[3]))):(t=n5(n,{r:0,g:0,b:0,a:1})).a=Nv(t.a),t}function Jdt(n){return"r"===n.charAt(0)?function Hdt(n){const t=Ydt.exec(n);let s,i,r,e=255;if(t){if(t[7]!==s){const o=+t[7];e=255&(t[8]?Rv(o):255*o)}return s=+t[1],i=+t[3],r=+t[5],s=255&(t[2]?Rv(s):s),i=255&(t[4]?Rv(i):i),r=255&(t[6]?Rv(r):r),{r:s,g:i,b:r,a:e}}}(n):Wdt(n)}class IM{constructor(t){if(t instanceof IM)return t;const e=typeof t;let s;"object"===e?s=s5(t):"string"===e&&(s=function Ndt(n){var e,t=n.length;return"#"===n[0]&&(4===t||5===t?e={r:255&17*Fr[n[1]],g:255&17*Fr[n[2]],b:255&17*Fr[n[3]],a:5===t?17*Fr[n[4]]:255}:(7===t||9===t)&&(e={r:Fr[n[1]]<<4|Fr[n[2]],g:Fr[n[3]]<<4|Fr[n[4]],b:Fr[n[5]]<<4|Fr[n[6]],a:9===t?Fr[n[7]]<<4|Fr[n[8]]:255})),e}(t)||Qdt(t)||Jdt(t)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var t=n5(this._rgb);return t&&(t.a=_L(t.a)),t}set rgb(t){this._rgb=s5(t)}rgbString(){return this._valid?function jdt(n){return n&&(n.a<255?`rgba(${n.r}, ${n.g}, ${n.b}, ${_L(n.a)})`:`rgb(${n.r}, ${n.g}, ${n.b})`)}(this._rgb):this._rgb}hexString(){return this._valid?Fdt(this._rgb):this._rgb}hslString(){return this._valid?function Gdt(n){if(!n)return;const t=yL(n),e=t[0],s=J3(t[1]),i=J3(t[2]);return n.a<255?`hsla(${e}, ${s}%, ${i}%, ${_L(n.a)})`:`hsl(${e}, ${s}%, ${i}%)`}(this._rgb):this._rgb}mix(t,e){const s=this;if(t){const i=s.rgb,r=t.rgb;let o;const a=e===o?.5:e,l=2*a-1,c=i.a-r.a,u=((l*c==-1?l:(l+c)/(1+l*c))+1)/2;o=1-u,i.r=255&u*i.r+o*r.r+.5,i.g=255&u*i.g+o*r.g+.5,i.b=255&u*i.b+o*r.b+.5,i.a=a*i.a+(1-a)*r.a,s.rgb=i}return s}clone(){return new IM(this.rgb)}alpha(t){return this._rgb.a=Nv(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=Ov(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return AM(this._rgb,2,t),this}darken(t){return AM(this._rgb,2,-t),this}saturate(t){return AM(this._rgb,1,t),this}desaturate(t){return AM(this._rgb,1,-t),this}rotate(t){return function qdt(n,t){var e=yL(n);e[0]=Z3(e[0]+t),e=bL(e),n.r=e[0],n.g=e[1],n.b=e[2]}(this._rgb,t),this}}function i5(n){return new IM(n)}const r5=n=>n instanceof CanvasGradient||n instanceof CanvasPattern;function o5(n){return r5(n)?n:i5(n)}function wL(n){return r5(n)?n:i5(n).saturate(.5).darken(.1).hexString()}const ph=Object.create(null),DL=Object.create(null);function Fv(n,t){if(!t)return n;const e=t.split(".");for(let s=0,i=e.length;se.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,s)=>wL(s.backgroundColor),this.hoverBorderColor=(e,s)=>wL(s.borderColor),this.hoverColor=(e,s)=>wL(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return ML(this,t,e)}get(t){return Fv(this,t)}describe(t,e){return ML(DL,t,e)}override(t,e){return ML(ph,t,e)}route(t,e,s,i){const r=Fv(this,t),o=Fv(this,s),a="_"+e;Object.defineProperties(r,{[a]:{value:r[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],c=o[i];return Ue(l)?Object.assign({},c,l):ve(l,c)},set(l){this[a]=l}}})}}({_scriptable:n=>!n.startsWith("on"),_indexable:n=>"events"!==n,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function PM(n,t,e,s,i){let r=t[i];return r||(r=t[i]=n.measureText(i).width,e.push(i)),r>s&&(s=r),s}function tht(n,t,e,s){let i=(s=s||{}).data=s.data||{},r=s.garbageCollect=s.garbageCollect||[];s.font!==t&&(i=s.data={},r=s.garbageCollect=[],s.font=t),n.save(),n.font=t;let o=0;const a=e.length;let l,c,u,h,m;for(l=0;le.length){for(l=0;l0&&n.stroke()}}function mh(n,t,e){return e=e||.5,!t||n&&n.x>t.left-e&&n.xt.top-e&&n.y0&&""!==r.strokeColor;let l,c;for(n.save(),n.font=i.string,function sht(n,t){t.translation&&n.translate(t.translation[0],t.translation[1]),Ze(t.rotation)||n.rotate(t.rotation),t.color&&(n.fillStyle=t.color),t.textAlign&&(n.textAlign=t.textAlign),t.textBaseline&&(n.textBaseline=t.textBaseline)}(n,r),l=0;l+n||0;function SL(n,t){const e={},s=Ue(t),i=s?Object.keys(t):t,r=Ue(n)?s?o=>ve(n[o],n[t[o]]):o=>n[o]:()=>n;for(const o of i)e[o]=lht(r(o));return e}function l5(n){return SL(n,{top:"y",right:"x",bottom:"y",left:"x"})}function jm(n){return SL(n,["topLeft","topRight","bottomLeft","bottomRight"])}function ni(n){const t=l5(n);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function gs(n,t){n=n||{},t=t||je.font;let e=ve(n.size,t.size);"string"==typeof e&&(e=parseInt(e,10));let s=ve(n.style,t.style);s&&!(""+s).match(oht)&&(console.warn('Invalid font style specified: "'+s+'"'),s="");const i={family:ve(n.family,t.family),lineHeight:aht(ve(n.lineHeight,t.lineHeight),e),size:e,style:s,weight:ve(n.weight,t.weight),string:""};return i.string=function Zdt(n){return!n||Ze(n.size)||Ze(n.family)?null:(n.style?n.style+" ":"")+(n.weight?n.weight+" ":"")+n.size+"px "+n.family}(i),i}function Yv(n,t,e,s){let r,o,a,i=!0;for(r=0,o=n.length;rn[o]1;)r=i+s>>1,e(r)?i=r:s=r;return{lo:i,hi:s}}const Wl=(n,t,e)=>CL(n,e,s=>n[s][t]CL(n,e,s=>n[s][t]>=e);const c5=["push","pop","shift","splice","unshift"];function u5(n,t){const e=n._chartjs;if(!e)return;const s=e.listeners,i=s.indexOf(t);-1!==i&&s.splice(i,1),!(s.length>0)&&(c5.forEach(r=>{delete n[r]}),delete n._chartjs)}function d5(n){const t=new Set;let e,s;for(e=0,s=n.length;en[0])){Rr(s)||(s=g5("_fallback",n));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:n,_rootScopes:e,_fallback:s,_getTarget:i,override:o=>xL([o,...n],t,e,s)};return new Proxy(r,{deleteProperty:(o,a)=>(delete o[a],delete o._keys,delete n[0][a],!0),get:(o,a)=>p5(o,a,()=>function bht(n,t,e,s){let i;for(const r of t)if(i=g5(pht(r,n),e),Rr(i))return EL(n,i)?kL(e,s,n,i):i}(a,t,n,o)),getOwnPropertyDescriptor:(o,a)=>Reflect.getOwnPropertyDescriptor(o._scopes[0],a),getPrototypeOf:()=>Reflect.getPrototypeOf(n[0]),has:(o,a)=>_5(o).includes(a),ownKeys:o=>_5(o),set(o,a,l){const c=o._storage||(o._storage=i());return o[a]=c[a]=l,delete o._keys,!0}})}function Vm(n,t,e,s){const i={_cacheable:!1,_proxy:n,_context:t,_subProxy:e,_stack:new Set,_descriptors:h5(n,s),setContext:r=>Vm(n,r,e,s),override:r=>Vm(n.override(r),t,e,s)};return new Proxy(i,{deleteProperty:(r,o)=>(delete r[o],delete n[o],!0),get:(r,o,a)=>p5(r,o,()=>function fht(n,t,e){const{_proxy:s,_context:i,_subProxy:r,_descriptors:o}=n;let a=s[t];return fu(a)&&o.isScriptable(t)&&(a=function mht(n,t,e,s){const{_proxy:i,_context:r,_subProxy:o,_stack:a}=e;if(a.has(n))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+n);return a.add(n),t=t(r,o||s),a.delete(n),EL(n,t)&&(t=kL(i._scopes,i,n,t)),t}(t,a,n,e)),Tn(a)&&a.length&&(a=function ght(n,t,e,s){const{_proxy:i,_context:r,_subProxy:o,_descriptors:a}=e;if(Rr(r.index)&&s(n))t=t[r.index%t.length];else if(Ue(t[0])){const l=t,c=i._scopes.filter(u=>u!==l);t=[];for(const u of l){const h=kL(c,i,n,u);t.push(Vm(h,r,o&&o[n],a))}}return t}(t,a,n,o.isIndexable)),EL(t,a)&&(a=Vm(a,i,r&&r[t],o)),a}(r,o,a)),getOwnPropertyDescriptor:(r,o)=>r._descriptors.allKeys?Reflect.has(n,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(n,o),getPrototypeOf:()=>Reflect.getPrototypeOf(n),has:(r,o)=>Reflect.has(n,o),ownKeys:()=>Reflect.ownKeys(n),set:(r,o,a)=>(n[o]=a,delete r[o],!0)})}function h5(n,t={scriptable:!0,indexable:!0}){const{_scriptable:e=t.scriptable,_indexable:s=t.indexable,_allKeys:i=t.allKeys}=n;return{allKeys:i,scriptable:e,indexable:s,isScriptable:fu(e)?e:()=>e,isIndexable:fu(s)?s:()=>s}}const pht=(n,t)=>n?n+pL(t):t,EL=(n,t)=>Ue(t)&&"adapters"!==n&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function p5(n,t,e){if(Object.prototype.hasOwnProperty.call(n,t))return n[t];const s=e();return n[t]=s,s}function f5(n,t,e){return fu(n)?n(t,e):n}const _ht=(n,t)=>!0===n?t:"string"==typeof n?hh(t,n):void 0;function yht(n,t,e,s,i){for(const r of t){const o=_ht(e,r);if(o){n.add(o);const a=f5(o._fallback,e,i);if(Rr(a)&&a!==e&&a!==s)return a}else if(!1===o&&Rr(s)&&e!==s)return null}return!1}function kL(n,t,e,s){const i=t._rootScopes,r=f5(t._fallback,e,s),o=[...n,...i],a=new Set;a.add(s);let l=m5(a,o,e,r||e,s);return!(null===l||Rr(r)&&r!==e&&(l=m5(a,o,r,l,s),null===l))&&xL(Array.from(a),[""],i,r,()=>function vht(n,t,e){const s=n._getTarget();t in s||(s[t]={});const i=s[t];return Tn(i)&&Ue(e)?e:i}(t,e,s))}function m5(n,t,e,s,i){for(;e;)e=yht(n,t,e,s,i);return e}function g5(n,t){for(const e of t){if(!e)continue;const s=e[n];if(Rr(s))return s}}function _5(n){let t=n._keys;return t||(t=n._keys=function wht(n){const t=new Set;for(const e of n)for(const s of Object.keys(e).filter(i=>!i.startsWith("_")))t.add(s);return Array.from(t)}(n._scopes)),t}const Dht=Number.EPSILON||1e-14,Bm=(n,t)=>t"x"===n?"y":"x";function Mht(n,t,e,s){const i=n.skip?t:n,r=t,o=e.skip?t:e,a=mL(r,i),l=mL(o,r);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const h=s*c,m=s*u;return{previous:{x:r.x-h*(o.x-i.x),y:r.y-h*(o.y-i.y)},next:{x:r.x+m*(o.x-i.x),y:r.y+m*(o.y-i.y)}}}function xht(n,t="x"){const e=y5(t),s=n.length,i=Array(s).fill(0),r=Array(s);let o,a,l,c=Bm(n,0);for(o=0;o!c.skip)),"monotone"===t.cubicInterpolationMode)xht(n,i);else{let c=s?n[n.length-1]:n[0];for(r=0,o=n.length;rwindow.getComputedStyle(n,null);const Lht=["top","right","bottom","left"];function _h(n,t,e){const s={};e=e?"-"+e:"";for(let i=0;i<4;i++){const r=Lht[i];s[r]=parseFloat(n[t+"-"+r+e])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}function b5(n,t){const{canvas:e,currentDevicePixelRatio:s}=t,i=jM(e),r="border-box"===i.boxSizing,o=_h(i,"padding"),a=_h(i,"border","width"),{x:l,y:c,box:u}=function Iht(n,t){const e=n.native||n,s=e.touches,i=s&&s.length?s[0]:e,{offsetX:r,offsetY:o}=i;let l,c,a=!1;if(((n,t,e)=>(n>0||t>0)&&(!e||!e.shadowRoot))(r,o,e.target))l=r,c=o;else{const u=t.getBoundingClientRect();l=i.clientX-u.left,c=i.clientY-u.top,a=!0}return{x:l,y:c,box:a}}(n,e),h=o.left+(u&&a.left),m=o.top+(u&&a.top);let{width:v,height:D}=t;return r&&(v-=o.width+a.width,D-=o.height+a.height),{x:Math.round((l-h)/v*e.width/s),y:Math.round((c-m)/D*e.height/s)}}const LL=n=>Math.round(10*n)/10;function Oht(n,t,e,s){const i=jM(n),r=_h(i,"margin"),o=HM(i.maxWidth,n,"clientWidth")||xM,a=HM(i.maxHeight,n,"clientHeight")||xM,l=function Pht(n,t,e){let s,i;if(void 0===t||void 0===e){const r=TL(n);if(r){const o=r.getBoundingClientRect(),a=jM(r),l=_h(a,"border","width"),c=_h(a,"padding");t=o.width-c.width-l.width,e=o.height-c.height-l.height,s=HM(a.maxWidth,r,"clientWidth"),i=HM(a.maxHeight,r,"clientHeight")}else t=n.clientWidth,e=n.clientHeight}return{width:t,height:e,maxWidth:s||xM,maxHeight:i||xM}}(n,t,e);let{width:c,height:u}=l;if("content-box"===i.boxSizing){const h=_h(i,"border","width"),m=_h(i,"padding");c-=m.width+h.width,u-=m.height+h.height}return c=Math.max(0,c-r.width),u=Math.max(0,s?Math.floor(c/s):u-r.height),c=LL(Math.min(c,o,l.maxWidth)),u=LL(Math.min(u,a,l.maxHeight)),c&&!u&&(u=LL(c/2)),{width:c,height:u}}function w5(n,t,e){const s=t||1,i=Math.floor(n.height*s),r=Math.floor(n.width*s);n.height=i/s,n.width=r/s;const o=n.canvas;return o.style&&(e||!o.style.height&&!o.style.width)&&(o.style.height=`${n.height}px`,o.style.width=`${n.width}px`),(n.currentDevicePixelRatio!==s||o.height!==i||o.width!==r)&&(n.currentDevicePixelRatio=s,o.height=i,o.width=r,n.ctx.setTransform(s,0,0,s,0,0),!0)}const Rht=function(){let n=!1;try{const t={get passive(){return n=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return n}();function D5(n,t){const e=function Tht(n,t){return jM(n).getPropertyValue(t)}(n,t),s=e&&e.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function yh(n,t,e,s){return{x:n.x+e*(t.x-n.x),y:n.y+e*(t.y-n.y)}}function Nht(n,t,e,s){return{x:n.x+e*(t.x-n.x),y:"middle"===s?e<.5?n.y:t.y:"after"===s?e<1?n.y:t.y:e>0?t.y:n.y}}function Fht(n,t,e,s){const i={x:n.cp2x,y:n.cp2y},r={x:t.cp1x,y:t.cp1y},o=yh(n,i,e),a=yh(i,r,e),l=yh(r,t,e),c=yh(o,a,e),u=yh(a,l,e);return yh(c,u,e)}const M5=new Map;function Hv(n,t,e){return function Yht(n,t){t=t||{};const e=n+JSON.stringify(t);let s=M5.get(e);return s||(s=new Intl.NumberFormat(n,t),M5.set(e,s)),s}(t,e).format(n)}function Um(n,t,e){return n?function(n,t){return{x:e=>n+n+t-e,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,s)=>e-s,leftForLtr:(e,s)=>e-s}}(t,e):{x:n=>n,setWidth(n){},textAlign:n=>n,xPlus:(n,t)=>n+t,leftForLtr:(n,t)=>n}}function S5(n,t){let e,s;("ltr"===t||"rtl"===t)&&(e=n.canvas.style,s=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",t,"important"),n.prevTextDirection=s)}function C5(n,t){void 0!==t&&(delete n.prevTextDirection,n.canvas.style.setProperty("direction",t[0],t[1]))}function x5(n){return"angle"===n?{between:Iv,compare:Adt,normalize:nr}:{between:zl,compare:(t,e)=>t-e,normalize:t=>t}}function E5({start:n,end:t,count:e,loop:s,style:i}){return{start:n%e,end:t%e,loop:s&&(t-n+1)%e==0,style:i}}function k5(n,t,e){if(!e)return[n];const{property:s,start:i,end:r}=e,o=t.length,{compare:a,between:l,normalize:c}=x5(s),{start:u,end:h,loop:m,style:v}=function Vht(n,t,e){const{property:s,start:i,end:r}=e,{between:o,normalize:a}=x5(s),l=t.length;let m,v,{start:c,end:u,loop:h}=n;if(h){for(c+=l,u+=l,m=0,v=l;mC||l(i,N,P)&&0!==a(i,N),pt=()=>!C||0===a(r,P)||l(r,N,P);for(let Dt=u,yt=u;Dt<=h;++Dt)F=t[Dt%o],!F.skip&&(P=c(F[s]),P!==N&&(C=l(P,i,r),null===k&<()&&(k=0===a(P,i)?Dt:yt),null!==k&&pt()&&(D.push(E5({start:k,end:Dt,loop:m,count:o,style:v})),k=null),yt=Dt,N=P));return null!==k&&D.push(E5({start:k,end:h,loop:m,count:o,style:v})),D}function T5(n,t){const e=[],s=n.segments;for(let i=0;ia({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(s-e.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=Y3.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((s,i)=>{if(!s.running||!s.items.length)return;const r=s.items;let l,o=r.length-1,a=!1;for(;o>=0;--o)l=r[o],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(t),a=!0):(r[o]=r[r.length-1],r.pop());a&&(i.draw(),this._notify(i,s,t,"progress")),r.length||(s.running=!1,this._notify(i,s,t,"complete"),s.initial=!1),e+=r.length}),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let s=e.get(t);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,s)),s}listen(t,e,s){this._getAnims(t).listeners[e].push(s)}add(t,e){!e||!e.length||this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);!e||(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((s,i)=>Math.max(s,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!(!e||!e.running||!e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const s=e.items;let i=s.length-1;for(;i>=0;--i)s[i].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}};const I5="transparent",Ght={boolean:(n,t,e)=>e>.5?t:n,color(n,t,e){const s=o5(n||I5),i=s.valid&&o5(t||I5);return i&&i.valid?i.mix(s,e).hexString():t},number:(n,t,e)=>n+(t-n)*e};class Kht{constructor(t,e,s,i){const r=e[s];i=Yv([t.to,i,r,t.from]);const o=Yv([t.from,r,i]);this._active=!0,this._fn=t.fn||Ght[t.type||typeof o],this._easing=Pv[t.easing]||Pv.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=s,this._from=o,this._to=i,this._promises=void 0}active(){return this._active}update(t,e,s){if(this._active){this._notify(!1);const i=this._target[this._prop],r=s-this._start,o=this._duration-r;this._start=s,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=r,this._loop=!!t.loop,this._to=Yv([t.to,e,i,t.from]),this._from=Yv([t.from,i,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,s=this._duration,i=this._prop,r=this._from,o=this._loop,a=this._to;let l;if(this._active=r!==a&&(o||e1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(r,a,l))}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,s)=>{t.push({res:e,rej:s})})}_notify(t){const e=t?"res":"rej",s=this._promises||[];for(let i=0;i"onProgress"!==n&&"onComplete"!==n&&"fn"!==n}),je.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),je.describe("animations",{_fallback:"animation"}),je.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:n=>0|n}}}});class P5{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!Ue(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach(s=>{const i=t[s];if(!Ue(i))return;const r={};for(const o of Xht)r[o]=i[o];(Tn(i.properties)&&i.properties||[s]).forEach(o=>{(o===s||!e.has(o))&&e.set(o,r)})})}_animateOptions(t,e){const s=e.options,i=function tpt(n,t){if(!t)return;let e=n.options;if(!e)return void(n.options=t);return e.$shared&&(n.options=e=Object.assign({},e,{$shared:!1,$animations:{}})),e}(t,s);if(!i)return[];const r=this._createAnimations(i,s);return s.$shared&&function Zht(n,t){const e=[],s=Object.keys(t);for(let i=0;i{t.options=s},()=>{}),r}_createAnimations(t,e){const s=this._properties,i=[],r=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let l;for(l=o.length-1;l>=0;--l){const c=o[l];if("$"===c.charAt(0))continue;if("options"===c){i.push(...this._animateOptions(t,e));continue}const u=e[c];let h=r[c];const m=s.get(c);if(h){if(m&&h.active()){h.update(m,u,a);continue}h.cancel()}m&&m.duration?(r[c]=h=new Kht(m,t,c,u),i.push(h)):t[c]=u}return i}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const s=this._createAnimations(t,e);return s.length?(ql.add(this._chart,s),!0):void 0}}function O5(n,t){const e=n&&n.options||{},s=e.reverse,i=void 0===e.min?t:0,r=void 0===e.max?t:0;return{start:s?r:i,end:s?i:r}}function R5(n,t){const e=[],s=n._getSortedDatasetMetas(t);let i,r;for(i=0,r=s.length;i0||!e&&r<0)return i.index}return null}function H5(n,t){const{chart:e,_cachedMeta:s}=n,i=e._stacks||(e._stacks={}),{iScale:r,vScale:o,index:a}=s,l=r.axis,c=o.axis,u=function ipt(n,t,e){return`${n.id}.${t.id}.${e.stack||e.type}`}(r,o,s),h=t.length;let m;for(let v=0;ve[s].axis===t).shift()}function jv(n,t){const e=n.controller.index,s=n.vScale&&n.vScale.axis;if(s){t=t||n._parsed;for(const i of t){const r=i._stacks;if(!r||void 0===r[s]||void 0===r[s][e])return;delete r[s][e]}}}const IL=n=>"reset"===n||"none"===n,j5=(n,t)=>t?n:Object.assign({},n);class fa{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=F5(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&jv(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,s=this.getDataset(),i=(h,m,v,D)=>"x"===h?m:"r"===h?D:v,r=e.xAxisID=ve(s.xAxisID,AL(t,"x")),o=e.yAxisID=ve(s.yAxisID,AL(t,"y")),a=e.rAxisID=ve(s.rAxisID,AL(t,"r")),l=e.indexAxis,c=e.iAxisID=i(l,r,o,a),u=e.vAxisID=i(l,o,r,a);e.xScale=this.getScaleForId(r),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&u5(this._data,this),t._stacked&&jv(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),s=this._data;if(Ue(e))this._data=function spt(n){const t=Object.keys(n),e=new Array(t.length);let s,i,r;for(s=0,i=t.length;s{const s="_onData"+pL(e),i=n[e];Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value(...r){const o=i.apply(this,r);return n._chartjs.listeners.forEach(a=>{"function"==typeof a[s]&&a[s](...r)}),o}})}))}(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,s=this.getDataset();let i=!1;this._dataCheck();const r=e._stacked;e._stacked=F5(e.vScale,e),e.stack!==s.stack&&(i=!0,jv(e),e.stack=s.stack),this._resyncElements(t),(i||r!==e._stacked)&&H5(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),s=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:s,_data:i}=this,{iScale:r,_stacked:o}=s,a=r.axis;let u,h,m,l=0===t&&e===i.length||s._sorted,c=t>0&&s._parsed[t-1];if(!1===this._parsing)s._parsed=i,s._sorted=!0,m=i;else{m=Tn(i[t])?this.parseArrayData(s,i,t,e):Ue(i[t])?this.parseObjectData(s,i,t,e):this.parsePrimitiveData(s,i,t,e);const v=()=>null===h[a]||c&&h[a]n&&!t.hidden&&t._stacked&&{keys:R5(e,!0),values:null})(e,s,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=function rpt(n){const{min:t,max:e,minDefined:s,maxDefined:i}=n.getUserBounds();return{min:s?t:Number.NEGATIVE_INFINITY,max:i?e:Number.POSITIVE_INFINITY}}(a);let m,v;function D(){v=i[m];const C=v[a.axis];return!ts(v[t.axis])||u>C||h=0;--m)if(!D()){this.updateRangeFromParsed(c,t,v,l);break}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,s=[];let i,r,o;for(i=0,r=e.length;i=0&&tthis.getContext(s,i),h);return C.$shared&&(C.$shared=l,r[o]=Object.freeze(j5(C,l))),C}_resolveAnimations(t,e,s){const i=this.chart,r=this._cachedDataOpts,o=`animation-${e}`,a=r[o];if(a)return a;let l;if(!1!==i.options.animation){const u=this.chart.config,h=u.datasetAnimationScopeKeys(this._type,e),m=u.getOptionScopes(this.getDataset(),h);l=u.createResolver(m,this.getContext(t,s,e))}const c=new P5(i,l&&l.animations);return l&&l._cacheable&&(r[o]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||IL(t)||this.chart._animationsDisabled}updateElement(t,e,s,i){IL(i)?Object.assign(t,s):this._resolveAnimations(e,i).update(t,s)}updateSharedOptions(t,e,s){t&&!IL(e)&&this._resolveAnimations(void 0,e).update(t,s)}_setStyle(t,e,s,i){t.active=i;const r=this.getStyle(e,i);this._resolveAnimations(e,s,i).update(t,{options:!i&&this.getSharedOptions(r)||r})}removeHoverStyle(t,e,s){this._setStyle(t,s,"active",!1)}setHoverStyle(t,e,s){this._setStyle(t,s,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const i=s.length,r=e.length,o=Math.min(r,i);o&&this.parse(0,o),r>i?this._insertElements(i,r-i,t):r{for(c.length+=e,a=c.length-1;a>=o;a--)c[a]=c[a-e]};for(l(r),a=t;ai-r))}return n._cache.$bar}(t,n.type);let i,r,o,a,s=t._length;const l=()=>{32767===o||-32768===o||(Rr(a)&&(s=Math.min(s,Math.abs(o-a)||s)),a=o)};for(i=0,r=e.length;iMath.abs(a)&&(l=a,c=o),t[e.axis]=c,t._custom={barStart:l,barEnd:c,start:i,end:r,min:o,max:a}}(n,t,e,s):t[e.axis]=e.parse(n,s),t}function B5(n,t,e,s){const i=n.iScale,r=n.vScale,o=i.getLabels(),a=i===r,l=[];let c,u,h,m;for(c=e,u=e+s;cn.x,e="left",s="right"):(t=n.base=e?1:-1)}(D,e,o)*r,u===o&&(k-=D/2),v=k+D),k===e.getPixelForValue(o)){const P=pa(D)*e.getLineWidthForValue(o)/2;k+=P,D-=P}return{size:D,base:k,head:v,center:v+D/2}}_calculateBarIndexPixels(t,e){const s=e.scale,i=this.options,r=i.skipNull,o=ve(i.maxBarThickness,1/0);let a,l;if(e.grouped){const c=r?this._getStackCount(t):e.stackCount,u="flex"===i.barThickness?function ppt(n,t,e,s){const i=t.pixels,r=i[n];let o=n>0?i[n-1]:null,a=n=0;--s)e=Math.max(e,t[s].size(this.resolveDataElementOptions(s))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:s,yScale:i}=e,r=this.getParsed(t),o=s.getLabelForValue(r.x),a=i.getLabelForValue(r.y),l=r._custom;return{label:e.label,value:"("+o+", "+a+(l?", "+l:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,s,i){const r="reset"===i,{iScale:o,vScale:a}=this._cachedMeta,l=this.resolveDataElementOptions(e,i),c=this.getSharedOptions(l),u=this.includeOptions(i,c),h=o.axis,m=a.axis;for(let v=e;v""}}}};class vh extends fa{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const s=this.getDataset().data,i=this._cachedMeta;if(!1===this._parsing)i._parsed=s;else{let o,a,r=l=>+s[l];if(Ue(s[t])){const{key:l="value"}=this._parsing;r=c=>+hh(s[c],l)}for(o=t,a=t+e;o"string"==typeof n&&n.endsWith("%")?parseFloat(n)/100:n/t)(this.options.cutout,a),1),c=this._getRingWeight(this.index),{circumference:u,rotation:h}=this._getRotationExtents(),{ratioX:m,ratioY:v,offsetX:D,offsetY:C}=function bpt(n,t,e){let s=1,i=1,r=0,o=0;if(tIv(N,a,l,!0)?1:Math.max(V,V*e,q,q*e),D=(N,V,q)=>Iv(N,a,l,!0)?-1:Math.min(V,V*e,q,q*e),C=v(0,c,h),k=v(qn,u,m),P=D(Hn,c,h),F=D(Hn+qn,u,m);s=(C-P)/2,i=(k-F)/2,r=-(C+P)/2,o=-(k+F)/2}return{ratioX:s,ratioY:i,offsetX:r,offsetY:o}}(h,u,l),k=(s.width-o)/m,P=(s.height-o)/v,F=Math.max(Math.min(k,P)/2,0),N=j3(this.options.radius,F),q=(N-Math.max(N*l,0))/this._getVisibleDatasetWeightTotal();this.offsetX=D*N,this.offsetY=C*N,i.total=this.calculateTotal(),this.outerRadius=N-q*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-q*c,0),this.updateElements(r,0,r.length,t)}_circumference(t,e){const s=this.options,i=this._cachedMeta,r=this._getCircumference();return e&&s.animation.animateRotate||!this.chart.getDataVisibility(t)||null===i._parsed[t]||i.data[t].hidden?0:this.calculateCircumference(i._parsed[t]*r/yn)}updateElements(t,e,s,i){const r="reset"===i,o=this.chart,a=o.chartArea,c=o.options.animation,u=(a.left+a.right)/2,h=(a.top+a.bottom)/2,m=r&&c.animateScale,v=m?0:this.innerRadius,D=m?0:this.outerRadius,C=this.resolveDataElementOptions(e,i),k=this.getSharedOptions(C),P=this.includeOptions(i,k);let N,F=this._getRotation();for(N=0;N0&&!isNaN(t)?yn*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,s=this.chart,i=s.data.labels||[],r=Hv(e._parsed[t],s.options.locale);return{label:i[t]||"",value:r}}getMaxBorderWidth(t){let e=0;const s=this.chart;let i,r,o,a,l;if(!t)for(i=0,r=s.data.datasets.length;i"spacing"!==n,_indexable:n=>"spacing"!==n},vh.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const t=n.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:e}}=n.legend.options;return t.labels.map((s,i)=>{const o=n.getDatasetMeta(0).controller.getStyle(i);return{text:s,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:e,hidden:!n.getDataVisibility(i),index:i}})}return[]}},onClick(n,t,e){e.chart.toggleDataVisibility(t.index),e.chart.update()}},tooltip:{callbacks:{title:()=>"",label(n){let t=n.label;const e=": "+n.formattedValue;return Tn(t)?(t=t.slice(),t[0]+=e):t+=e,t}}}}};class $m extends fa{initialize(){this.enableOptionSharing=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:s,data:i=[],_dataset:r}=e,o=this.chart._animationsDisabled;let{start:a,count:l}=function wpt(n,t,e){const s=t.length;let i=0,r=s;if(n._sorted){const{iScale:o,_parsed:a}=n,l=o.axis,{min:c,max:u,minDefined:h,maxDefined:m}=o.getUserBounds();h&&(i=ks(Math.min(Wl(a,o.axis,c).lo,e?s:Wl(t,l,o.getPixelForValue(c)).lo),0,s-1)),r=m?ks(Math.max(Wl(a,o.axis,u).hi+1,e?0:Wl(t,l,o.getPixelForValue(u)).hi+1),i,s)-i:s-i}return{start:i,count:r}}(e,i,o);this._drawStart=a,this._drawCount=l,function Dpt(n){const{xScale:t,yScale:e,_scaleRanges:s}=n,i={xmin:t.min,xmax:t.max,ymin:e.min,ymax:e.max};if(!s)return n._scaleRanges=i,!0;const r=s.xmin!==t.min||s.xmax!==t.max||s.ymin!==e.min||s.ymax!==e.max;return Object.assign(s,i),r}(e)&&(a=0,l=i.length),s._chart=this.chart,s._datasetIndex=this.index,s._decimated=!!r._decimated,s.points=i;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(s,void 0,{animated:!o,options:c},t),this.updateElements(i,a,l,t)}updateElements(t,e,s,i){const r="reset"===i,{iScale:o,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,u=this.resolveDataElementOptions(e,i),h=this.getSharedOptions(u),m=this.includeOptions(i,h),v=o.axis,D=a.axis,{spanGaps:C,segment:k}=this.options,P=Lv(C)?C:Number.POSITIVE_INFINITY,F=this.chart._animationsDisabled||r||"none"===i;let N=e>0&&this.getParsed(e-1);for(let V=e;V0&<[v]-N[v]>P,k&&(pt.parsed=lt,pt.raw=c.data[V]),m&&(pt.options=h||this.resolveDataElementOptions(V,q.active?"active":i)),F||this.updateElement(q,V,pt,i),N=lt}this.updateSharedOptions(h,i,u)}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,s=e.options&&e.options.borderWidth||0,i=t.data||[];if(!i.length)return s;const r=i[0].size(this.resolveDataElementOptions(0)),o=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(s,r,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}$m.id="line",$m.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},$m.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Uv extends fa{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,s=this.chart,i=s.data.labels||[],r=Hv(e._parsed[t].r,s.options.locale);return{label:i[t]||"",value:r}}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}_updateRadius(){const t=this.chart,e=t.chartArea,s=t.options,i=Math.min(e.right-e.left,e.bottom-e.top),r=Math.max(i/2,0),a=(r-Math.max(s.cutoutPercentage?r/100*s.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=r-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,e,s,i){const r="reset"===i,o=this.chart,a=this.getDataset(),c=o.options.animation,u=this._cachedMeta.rScale,h=u.xCenter,m=u.yCenter,v=u.getIndexAngle(0)-.5*Hn;let C,D=v;const k=360/this.countVisibleElements();for(C=0;C{!isNaN(t.data[r])&&this.chart.getDataVisibility(r)&&s++}),s}_computeAngle(t,e,s){return this.chart.getDataVisibility(t)?Mo(this.resolveDataElementOptions(t,e).angle||s):0}}Uv.id="polarArea",Uv.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},Uv.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const t=n.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:e}}=n.legend.options;return t.labels.map((s,i)=>{const o=n.getDatasetMeta(0).controller.getStyle(i);return{text:s,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:e,hidden:!n.getDataVisibility(i),index:i}})}return[]}},onClick(n,t,e){e.chart.toggleDataVisibility(t.index),e.chart.update()}},tooltip:{callbacks:{title:()=>"",label:n=>n.chart.data.labels[n.dataIndex]+": "+n.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class VM extends vh{}VM.id="pie",VM.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class $v extends fa{getLabelAndValue(t){const e=this._cachedMeta.vScale,s=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(s[e.axis])}}update(t){const e=this._cachedMeta,s=e.dataset,i=e.data||[],r=e.iScale.getLabels();if(s.points=i,"resize"!==t){const o=this.resolveDatasetElementOptions(t);this.options.showLine||(o.borderWidth=0);const a={_loop:!0,_fullLoop:r.length===i.length,options:o};this.updateElement(s,void 0,a,t)}this.updateElements(i,0,i.length,t)}updateElements(t,e,s,i){const r=this.getDataset(),o=this._cachedMeta.rScale,a="reset"===i;for(let l=e;l"",label:n=>"("+n.label+", "+n.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function bh(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class OL{constructor(t){this.options=t||{}}formats(){return bh()}parse(t,e){return bh()}format(t,e){return bh()}add(t,e,s){return bh()}diff(t,e,s){return bh()}startOf(t,e,s){return bh()}endOf(t,e){return bh()}}OL.override=function(n){Object.assign(OL.prototype,n)};var Spt={_date:OL};function Wv(n,t){return"native"in n?{x:n.x,y:n.y}:b5(n,t)}function xpt(n,t,e,s){const{controller:i,data:r,_sorted:o}=n,a=i._cachedMeta.iScale;if(a&&t===a.axis&&"r"!==t&&o&&r.length){const l=a._reversePixels?uht:Wl;if(!s)return l(r,t,e);if(i._sharedOptions){const c=r[0],u="function"==typeof c.getRange&&c.getRange(t);if(u){const h=l(r,t,e-u),m=l(r,t,e+u);return{lo:h.lo,hi:m.hi}}}}return{lo:0,hi:r.length-1}}function RL(n,t,e,s,i){const r=n.getSortedVisibleDatasetMetas(),o=e[t];for(let a=0,l=r.length;a{c[a](i[o],s)&&r.push({element:c,datasetIndex:u,index:h}),c.inRange(i.x,i.y,s)&&(l=!0)}),e.intersect&&!l?[]:r}var Lpt={modes:{index(n,t,e,s){const i=Wv(t,n),r=e.axis||"x",o=e.intersect?NL(n,i,r,s):FL(n,i,r,!1,s),a=[];return o.length?(n.getSortedVisibleDatasetMetas().forEach(l=>{const c=o[0].index,u=l.data[c];u&&!u.skip&&a.push({element:u,datasetIndex:l.index,index:c})}),a):[]},dataset(n,t,e,s){const i=Wv(t,n),r=e.axis||"xy";let o=e.intersect?NL(n,i,r,s):FL(n,i,r,!1,s);if(o.length>0){const a=o[0].datasetIndex,l=n.getDatasetMeta(a).data;o=[];for(let c=0;cNL(n,Wv(t,n),e.axis||"xy",s),nearest:(n,t,e,s)=>FL(n,Wv(t,n),e.axis||"xy",e.intersect,s),x:(n,t,e,s)=>z5(n,t,{axis:"x",intersect:e.intersect},s),y:(n,t,e,s)=>z5(n,t,{axis:"y",intersect:e.intersect},s)}};const W5=["left","top","right","bottom"];function qv(n,t){return n.filter(e=>e.pos===t)}function q5(n,t){return n.filter(e=>-1===W5.indexOf(e.pos)&&e.box.axis===t)}function Gv(n,t){return n.sort((e,s)=>{const i=t?s:e,r=t?e:s;return i.weight===r.weight?i.index-r.index:i.weight-r.weight})}function Ppt(n,t){const e=function Ipt(n){const t={};for(const e of n){const{stack:s,pos:i,stackWeight:r}=e;if(!s||!W5.includes(i))continue;const o=t[s]||(t[s]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=r}return t}(n),{vBoxMaxWidth:s,hBoxMaxHeight:i}=t;let r,o,a;for(r=0,o=n.length;r{r[o]=Math.max(t[o],e[o])}),r}(n?["left","right"]:["top","bottom"])}function Kv(n,t,e,s){const i=[];let r,o,a,l,c,u;for(r=0,o=n.length,c=0;rc.box.fullSize),!0),s=Gv(qv(t,"left"),!0),i=Gv(qv(t,"right")),r=Gv(qv(t,"top"),!0),o=Gv(qv(t,"bottom")),a=q5(t,"x"),l=q5(t,"y");return{fullSize:e,leftAndTop:s.concat(r),rightAndBottom:i.concat(l).concat(o).concat(a),chartArea:qv(t,"chartArea"),vertical:s.concat(i).concat(l),horizontal:r.concat(o).concat(a)}}(n.boxes),l=a.vertical,c=a.horizontal;ln(n.boxes,C=>{"function"==typeof C.beforeLayout&&C.beforeLayout()});const u=l.reduce((C,k)=>k.box.options&&!1===k.box.options.display?C:C+1,0)||1,h=Object.freeze({outerWidth:t,outerHeight:e,padding:i,availableWidth:r,availableHeight:o,vBoxMaxWidth:r/2/u,hBoxMaxHeight:o/2}),m=Object.assign({},i);K5(m,ni(s));const v=Object.assign({maxPadding:m,w:r,h:o,x:i.left,y:i.top},i),D=Ppt(l.concat(c),h);Kv(a.fullSize,v,h,D),Kv(l,v,h,D),Kv(c,v,h,D)&&Kv(l,v,h,D),function Npt(n){const t=n.maxPadding;function e(s){const i=Math.max(t[s]-n[s],0);return n[s]+=i,i}n.y+=e("top"),n.x+=e("left"),e("right"),e("bottom")}(v),Q5(a.leftAndTop,v,h,D),v.x+=v.w,v.y+=v.h,Q5(a.rightAndBottom,v,h,D),n.chartArea={left:v.left,top:v.top,right:v.left+v.w,bottom:v.top+v.h,height:v.h,width:v.w},ln(a.chartArea,C=>{const k=C.box;Object.assign(k,n.chartArea),k.update(v.w,v.h,{left:0,top:0,right:0,bottom:0})})}};class J5{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,s){}removeEventListener(t,e,s){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,s,i){return e=Math.max(0,e||t.width),s=s||t.height,{width:e,height:Math.max(0,i?Math.floor(e/i):s)}}isAttached(t){return!0}updateConfig(t){}}class Ypt extends J5{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const UM="$chartjs",Hpt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},X5=n=>null===n||""===n;const Z5=!!Rht&&{passive:!0};function Bpt(n,t,e){n.canvas.removeEventListener(t,e,Z5)}function $M(n,t){for(const e of n)if(e===t||e.contains(t))return!0}function $pt(n,t,e){const s=n.canvas,i=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||$M(a.addedNodes,s),o=o&&!$M(a.removedNodes,s);o&&e()});return i.observe(document,{childList:!0,subtree:!0}),i}function zpt(n,t,e){const s=n.canvas,i=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||$M(a.removedNodes,s),o=o&&!$M(a.addedNodes,s);o&&e()});return i.observe(document,{childList:!0,subtree:!0}),i}const Qv=new Map;let t4=0;function e4(){const n=window.devicePixelRatio;n!==t4&&(t4=n,Qv.forEach((t,e)=>{e.currentDevicePixelRatio!==n&&t()}))}function Gpt(n,t,e){const s=n.canvas,i=s&&TL(s);if(!i)return;const r=H3((a,l)=>{const c=i.clientWidth;e(a,l),c{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;0===c&&0===u||r(c,u)});return o.observe(i),function Wpt(n,t){Qv.size||window.addEventListener("resize",e4),Qv.set(n,t)}(n,r),o}function YL(n,t,e){e&&e.disconnect(),"resize"===t&&function qpt(n){Qv.delete(n),Qv.size||window.removeEventListener("resize",e4)}(n)}function Kpt(n,t,e){const s=n.canvas,i=H3(r=>{null!==n.ctx&&e(function Upt(n,t){const e=Hpt[n.type]||n.type,{x:s,y:i}=b5(n,t);return{type:e,chart:t,native:n,x:void 0!==s?s:null,y:void 0!==i?i:null}}(r,n))},n,r=>{const o=r[0];return[o,o.offsetX,o.offsetY]});return function Vpt(n,t,e){n.addEventListener(t,e,Z5)}(s,t,i),i}class Qpt extends J5{acquireContext(t,e){const s=t&&t.getContext&&t.getContext("2d");return s&&s.canvas===t?(function jpt(n,t){const e=n.style,s=n.getAttribute("height"),i=n.getAttribute("width");if(n[UM]={initial:{height:s,width:i,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",X5(i)){const r=D5(n,"width");void 0!==r&&(n.width=r)}if(X5(s))if(""===n.style.height)n.height=n.width/(t||2);else{const r=D5(n,"height");void 0!==r&&(n.height=r)}return n}(t,e),s):null}releaseContext(t){const e=t.canvas;if(!e[UM])return!1;const s=e[UM].initial;["height","width"].forEach(r=>{const o=s[r];Ze(o)?e.removeAttribute(r):e.setAttribute(r,o)});const i=s.style||{};return Object.keys(i).forEach(r=>{e.style[r]=i[r]}),e.width=e.width,delete e[UM],!0}addEventListener(t,e,s){this.removeEventListener(t,e);const i=t.$proxies||(t.$proxies={}),o={attach:$pt,detach:zpt,resize:Gpt}[e]||Kpt;i[e]=o(t,e,s)}removeEventListener(t,e){const s=t.$proxies||(t.$proxies={}),i=s[e];i&&(({attach:YL,detach:YL,resize:YL}[e]||Bpt)(t,e,i),s[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,s,i){return Oht(t,e,s,i)}isAttached(t){const e=TL(t);return!(!e||!e.isConnected)}}class So{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){const{x:e,y:s}=this.getProps(["x","y"],t);return{x:e,y:s}}hasValue(){return Lv(this.x)&&Lv(this.y)}getProps(t,e){const s=this.$animations;if(!e||!s)return this;const i={};return t.forEach(r=>{i[r]=s[r]&&s[r].active()?s[r]._to:this[r]}),i}}So.defaults={},So.defaultRoutes=void 0;const n4={values:n=>Tn(n)?n:""+n,numeric(n,t,e){if(0===n)return"0";const s=this.chart.options.locale;let i,r=n;if(e.length>1){const c=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),r=function Xpt(n,t){let e=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(e)>=1&&n!==Math.floor(n)&&(e=n-Math.floor(n)),e}(n,e)}const o=Nr(Math.abs(r)),a=Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Hv(n,s,l)},logarithmic(n,t,e){if(0===n)return"0";const s=n/Math.pow(10,Math.floor(Nr(n)));return 1===s||2===s||5===s?n4.numeric.call(this,n,t,e):""}};var zM={formatters:n4};function Zpt(n,t){const e=n.options.ticks,s=e.maxTicksLimit||function tft(n){const t=n.options.offset,e=n._tickSize(),s=n._length/e+(t?0:1),i=n._maxLength/e;return Math.floor(Math.min(s,i))}(n),i=e.major.enabled?function nft(n){const t=[];let e,s;for(e=0,s=n.length;es)return function sft(n,t,e,s){let o,i=0,r=e[0];for(s=Math.ceil(s),o=0;oi-r).pop(),t}(s);for(let o=0,a=r.length-1;oi)return l}return Math.max(i,1)}(i,t,s);if(r>0){let u,h;const m=r>1?Math.round((a-o)/(r-1)):null;for(WM(t,l,c,Ze(m)?0:o-m,o),u=0,h=r-1;ut.lineWidth,tickColor:(n,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:zM.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),je.route("scale.ticks","color","","color"),je.route("scale.grid","color","","borderColor"),je.route("scale.grid","borderColor","","borderColor"),je.route("scale.title","color","","color"),je.describe("scale",{_fallback:!1,_scriptable:n=>!n.startsWith("before")&&!n.startsWith("after")&&"callback"!==n&&"parser"!==n,_indexable:n=>"borderDash"!==n&&"tickBorderDash"!==n}),je.describe("scales",{_fallback:"scale"}),je.describe("scale.ticks",{_scriptable:n=>"backdropPadding"!==n&&"callback"!==n,_indexable:n=>"backdropPadding"!==n});const s4=(n,t,e)=>"top"===t||"left"===t?n[t]+e:n[t]-e;function i4(n,t){const e=[],s=n.length/t,i=n.length;let r=0;for(;ro+a)))return l}function Jv(n){return n.drawTicks?n.tickLength:0}function r4(n,t){if(!n.display)return 0;const e=gs(n.font,t),s=ni(n.padding);return(Tn(n.text)?n.text.length:1)*e.lineHeight+s.height}function uft(n,t,e){let s=hL(n);return(e&&"right"!==t||!e&&"right"===t)&&(s=(n=>"left"===n?"right":"right"===n?"left":n)(s)),s}class wh extends So{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:s,_suggestedMax:i}=this;return t=Or(t,Number.POSITIVE_INFINITY),e=Or(e,Number.NEGATIVE_INFINITY),s=Or(s,Number.POSITIVE_INFINITY),i=Or(i,Number.NEGATIVE_INFINITY),{min:Or(t,s),max:Or(e,i),minDefined:ts(t),maxDefined:ts(e)}}getMinMax(t){let o,{min:e,max:s,minDefined:i,maxDefined:r}=this.getUserBounds();if(i&&r)return{min:e,max:s};const a=this.getMatchingVisibleMetas();for(let l=0,c=a.length;ls?s:e,s=i&&e>s?e:s,{min:Or(e,Or(s,e)),max:Or(s,Or(e,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ln(this.options.beforeUpdate,[this])}update(t,e,s){const{beginAtZero:i,grace:r,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function cht(n,t,e){const{min:s,max:i}=n,r=j3(t,(i-s)/2),o=(a,l)=>e&&0===a?0:a+l;return{min:o(s,-Math.abs(r)),max:o(i,r)}}(this,r,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=r||s<=1||!this.isHorizontal())return void(this.labelRotation=i);const u=this._getLabelSizes(),h=u.widest.width,m=u.highest.height,v=ks(this.chart.width-h,0,this.maxWidth);a=t.offset?this.maxWidth/s:v/(s-1),h+6>a&&(a=v/(s-(t.offset?.5:1)),l=this.maxHeight-Jv(t.grid)-e.padding-r4(t.title,this.chart.options.font),c=Math.sqrt(h*h+m*m),o=fL(Math.min(Math.asin(ks((u.highest.height+6)/a,-1,1)),Math.asin(ks(l/c,-1,1))-Math.asin(ks(m/c,-1,1)))),o=Math.max(i,Math.min(r,o))),this.labelRotation=o}afterCalculateLabelRotation(){Ln(this.options.afterCalculateLabelRotation,[this])}beforeFit(){Ln(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:s,title:i,grid:r}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const l=r4(i,e.options.font);if(a?(t.width=this.maxWidth,t.height=Jv(r)+l):(t.height=this.maxHeight,t.width=Jv(r)+l),s.display&&this.ticks.length){const{first:c,last:u,widest:h,highest:m}=this._getLabelSizes(),v=2*s.padding,D=Mo(this.labelRotation),C=Math.cos(D),k=Math.sin(D);if(a){const P=s.mirror?0:k*h.width+C*m.height;t.height=Math.min(this.maxHeight,t.height+P+v)}else{const P=s.mirror?0:C*h.width+k*m.height;t.width=Math.min(this.maxWidth,t.width+P+v)}this._calculatePadding(c,u,k,C)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,s,i){const{ticks:{align:r,padding:o},position:a}=this.options,l=0!==this.labelRotation,c="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let m=0,v=0;l?c?(m=i*t.width,v=s*e.height):(m=s*t.height,v=i*e.width):"start"===r?v=e.width:"end"===r?m=t.width:(m=t.width/2,v=e.width/2),this.paddingLeft=Math.max((m-u+o)*this.width/(this.width-u),0),this.paddingRight=Math.max((v-h+o)*this.width/(this.width-h),0)}else{let u=e.height/2,h=t.height/2;"start"===r?(u=0,h=t.height):"end"===r&&(u=e.height,h=0),this.paddingTop=u+o,this.paddingBottom=h+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Ln(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,s;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,s=t.length;e{const s=e.gc,i=s.length/2;let r;if(i>t){for(r=0;r({width:r[pt]||0,height:o[pt]||0});return{first:lt(0),last:lt(e-1),widest:lt(V),highest:lt(q),widths:r,heights:o}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return function Idt(n){return ks(n,-32768,32767)}(this._alignToPixels?fh(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ta*i?a/s:l/i:l*i0}_computeGridLineItems(t){const e=this.axis,s=this.chart,i=this.options,{grid:r,position:o}=i,a=r.offset,l=this.isHorizontal(),u=this.ticks.length+(a?1:0),h=Jv(r),m=[],v=r.setContext(this.getContext()),D=v.drawBorder?v.borderWidth:0,C=D/2,k=function(Xt){return fh(s,Xt,D)};let P,F,N,V,q,lt,pt,Dt,yt,Vt,gt,Ut;if("top"===o)P=k(this.bottom),lt=this.bottom-h,Dt=P-C,Vt=k(t.top)+C,Ut=t.bottom;else if("bottom"===o)P=k(this.top),Vt=t.top,Ut=k(t.bottom)-C,lt=P+C,Dt=this.top+h;else if("left"===o)P=k(this.right),q=this.right-h,pt=P-C,yt=k(t.left)+C,gt=t.right;else if("right"===o)P=k(this.left),yt=t.left,gt=k(t.right)-C,q=P+C,pt=this.left+h;else if("x"===e){if("center"===o)P=k((t.top+t.bottom)/2+.5);else if(Ue(o)){const Xt=Object.keys(o)[0],ht=o[Xt];P=k(this.chart.scales[Xt].getPixelForValue(ht))}Vt=t.top,Ut=t.bottom,lt=P+C,Dt=lt+h}else if("y"===e){if("center"===o)P=k((t.left+t.right)/2);else if(Ue(o)){const Xt=Object.keys(o)[0],ht=o[Xt];P=k(this.chart.scales[Xt].getPixelForValue(ht))}q=P-C,pt=q-h,yt=t.left,gt=t.right}const $t=ve(i.ticks.maxTicksLimit,u),Ce=Math.max(1,Math.ceil(u/$t));for(F=0;Fr.value===t);return i>=0?e.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const e=this.options.grid,s=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let r,o;const a=(l,c,u)=>{!u.width||!u.color||(s.save(),s.lineWidth=u.width,s.strokeStyle=u.color,s.setLineDash(u.borderDash||[]),s.lineDashOffset=u.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(e.display)for(r=0,o=i.length;r{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:s+1,draw:()=>{this.drawBorder()}},{z:e,draw:i=>{this.drawLabels(i)}}]:[{z:e,draw:i=>{this.draw(i)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",i=[];let r,o;for(r=0,o=e.length;r{const s=e.split("."),i=s.pop(),r=[n].concat(s).join("."),o=t[e].split("."),a=o.pop(),l=o.join(".");je.route(r,i,l,a)})}(t,n.defaultRoutes),n.descriptors&&je.describe(t,n.descriptors)}(t,o,s),this.override&&je.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,s=t.id,i=this.scope;s in e&&delete e[s],i&&s in je[i]&&(delete je[i][s],this.override&&delete ph[s])}}var Gl=new class mft{constructor(){this.controllers=new qM(fa,"datasets",!0),this.elements=new qM(So,"elements"),this.plugins=new qM(Object,"plugins"),this.scales=new qM(wh,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,s){[...e].forEach(i=>{const r=s||this._getRegistryForType(i);s||r.isForType(i)||r===this.plugins&&i.id?this._exec(t,r,i):ln(i,o=>{const a=s||this._getRegistryForType(o);this._exec(t,a,o)})})}_exec(t,e,s){const i=pL(t);Ln(s["before"+i],[],s),e[t](s),Ln(s["after"+i],[],s)}_getRegistryForType(t){for(let e=0;er.filter(a=>!o.some(l=>a.plugin.id===l.plugin.id));this._notify(i(e,s),t,"stop"),this._notify(i(s,e),t,"start")}}function yft(n,t){return t||!1!==n?!0===n?{}:n:null}function bft(n,t,e,s){const i=n.pluginScopeKeys(t),r=n.getOptionScopes(e,i);return n.createResolver(r,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function HL(n,t){const e=je.datasets[n]||{};return((t.datasets||{})[n]||{}).indexAxis||t.indexAxis||e.indexAxis||"x"}function jL(n,t){return"x"===n||"y"===n?n:t.axis||function Mft(n){return"top"===n||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0}(t.position)||n.charAt(0).toLowerCase()}function o4(n){const t=n.options||(n.options={});t.plugins=ve(t.plugins,{}),t.scales=function Sft(n,t){const e=ph[n.type]||{scales:{}},s=t.scales||{},i=HL(n.type,t),r=Object.create(null),o=Object.create(null);return Object.keys(s).forEach(a=>{const l=s[a];if(!Ue(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=jL(a,l),u=function Dft(n,t){return n===t?"_index_":"_value_"}(c,i),h=e.scales||{};r[c]=r[c]||a,o[a]=kv(Object.create(null),[{axis:c},l,h[c],h[u]])}),n.data.datasets.forEach(a=>{const l=a.type||n.type,c=a.indexAxis||HL(l,t),h=(ph[l]||{}).scales||{};Object.keys(h).forEach(m=>{const v=function wft(n,t){let e=n;return"_index_"===n?e=t:"_value_"===n&&(e="x"===t?"y":"x"),e}(m,c),D=a[v+"AxisID"]||r[v]||v;o[D]=o[D]||Object.create(null),kv(o[D],[{axis:v},s[D],h[m]])})}),Object.keys(o).forEach(a=>{const l=o[a];kv(l,[je.scales[l.type],je.scale])}),o}(n,t)}function a4(n){return(n=n||{}).datasets=n.datasets||[],n.labels=n.labels||[],n}const l4=new Map,c4=new Set;function GM(n,t){let e=l4.get(n);return e||(e=t(),l4.set(n,e),c4.add(e)),e}const Xv=(n,t,e)=>{const s=hh(t,e);void 0!==s&&n.add(s)};class xft{constructor(t){this._config=function Cft(n){return(n=n||{}).data=a4(n.data),o4(n),n}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=a4(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),o4(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return GM(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return GM(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return GM(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){const e=t.id;return GM(`${this.type}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const s=this._scopeCache;let i=s.get(t);return(!i||e)&&(i=new Map,s.set(t,i)),i}getOptionScopes(t,e,s){const{options:i,type:r}=this,o=this._cachedScopes(t,s),a=o.get(e);if(a)return a;const l=new Set;e.forEach(u=>{t&&(l.add(t),u.forEach(h=>Xv(l,t,h))),u.forEach(h=>Xv(l,i,h)),u.forEach(h=>Xv(l,ph[r]||{},h)),u.forEach(h=>Xv(l,je,h)),u.forEach(h=>Xv(l,DL,h))});const c=Array.from(l);return 0===c.length&&c.push(Object.create(null)),c4.has(e)&&o.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,ph[e]||{},je.datasets[e]||{},{type:e},je,DL]}resolveNamedOptions(t,e,s,i=[""]){const r={$shared:!0},{resolver:o,subPrefixes:a}=u4(this._resolverCache,t,i);let l=o;if(function kft(n,t){const{isScriptable:e,isIndexable:s}=h5(n);for(const i of t){const r=e(i),o=s(i),a=(o||r)&&n[i];if(r&&(fu(a)||Eft(a))||o&&Tn(a))return!0}return!1}(o,e)){r.$shared=!1;l=Vm(o,s=fu(s)?s():s,this.createResolver(t,s,a))}for(const c of e)r[c]=l[c];return r}createResolver(t,e,s=[""],i){const{resolver:r}=u4(this._resolverCache,t,s);return Ue(e)?Vm(r,e,void 0,i):r}}function u4(n,t,e){let s=n.get(t);s||(s=new Map,n.set(t,s));const i=e.join();let r=s.get(i);return r||(r={resolver:xL(t,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},s.set(i,r)),r}const Eft=n=>Ue(n)&&Object.getOwnPropertyNames(n).reduce((t,e)=>t||fu(n[e]),!1);const Lft=["top","bottom","left","right","chartArea"];function d4(n,t){return"top"===n||"bottom"===n||-1===Lft.indexOf(n)&&"x"===t}function h4(n,t){return function(e,s){return e[n]===s[n]?e[t]-s[t]:e[n]-s[n]}}function p4(n){const t=n.chart,e=t.options.animation;t.notifyPlugins("afterRender"),Ln(e&&e.onComplete,[n],t)}function Aft(n){const t=n.chart,e=t.options.animation;Ln(e&&e.onProgress,[n],t)}function f4(n){return v5()&&"string"==typeof n?n=document.getElementById(n):n&&n.length&&(n=n[0]),n&&n.canvas&&(n=n.canvas),n}const KM={},m4=n=>{const t=f4(n);return Object.values(KM).filter(e=>e.canvas===t).pop()};function Ift(n,t,e){const s=Object.keys(n);for(const i of s){const r=+i;if(r>=t){const o=n[i];delete n[i],(e>0||r>t)&&(n[r+e]=o)}}}class Zv{constructor(t,e){const s=this.config=new xft(e),i=f4(t),r=m4(i);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas can be reused.");const o=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||function Jpt(n){return!v5()||typeof OffscreenCanvas<"u"&&n instanceof OffscreenCanvas?Ypt:Qpt}(i)),this.platform.updateConfig(s);const a=this.platform.acquireContext(i,o.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;this.id=bdt(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new gft,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function ydt(n,t){let e;return function(...s){return t?(clearTimeout(e),e=setTimeout(n,t,s)):n.apply(this,s),t}}(h=>this.update(h),o.resizeDelay||0),this._dataChanges=[],KM[this.id]=this,a&&l?(ql.listen(this,"complete",p4),ql.listen(this,"progress",Aft),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:s,height:i,_aspectRatio:r}=this;return Ze(t)?e&&r?r:i?s/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():w5(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return a5(this.canvas,this.ctx),this}stop(){return ql.stop(this),this}resize(t,e){ql.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const s=this.options,i=this.canvas,r=s.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(i,t,e,r),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,w5(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),Ln(s.onResize,[this,o],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){ln(this.options.scales||{},(s,i)=>{s.id=i})}buildOrUpdateScales(){const t=this.options,e=t.scales,s=this.scales,i=Object.keys(s).reduce((o,a)=>(o[a]=!1,o),{});let r=[];e&&(r=r.concat(Object.keys(e).map(o=>{const a=e[o],l=jL(o,a),c="r"===l,u="x"===l;return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),ln(r,o=>{const a=o.options,l=a.id,c=jL(l,a),u=ve(a.type,o.dtype);(void 0===a.position||d4(a.position,c)!==d4(o.dposition))&&(a.position=o.dposition),i[l]=!0;let h=null;if(l in s&&s[l].type===u)h=s[l];else{h=new(Gl.getScale(u))({id:l,type:u,ctx:this.ctx,chart:this}),s[h.id]=h}h.init(a,t)}),ln(i,(o,a)=>{o||delete s[a]}),ln(s,o=>{si.configure(this,o,o.options),si.addBox(this,o)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,s=t.length;if(t.sort((i,r)=>i.index-r.index),s>e){for(let i=e;ie.length&&delete this._stacks,t.forEach((s,i)=>{0===e.filter(r=>r===s._dataset).length&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let s,i;for(this._removeUnreferencedMetasets(),s=0,i=e.length;s{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const s=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(h4("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){ln(this.scales,t=>{si.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),s=new Set(t.events);(!U3(e,s)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:s,start:i,count:r}of e){Ift(t,i,"_removeElements"===s?-r:r)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,s=r=>new Set(t.filter(o=>o[0]===r).map((o,a)=>a+","+o.splice(1).join(","))),i=s(0);for(let r=1;rr.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;si.update(this,this.width,this.height,t);const e=this.chartArea,s=e.width<=0||e.height<=0;this._layers=[],ln(this.boxes,i=>{s&&"chartArea"===i.position||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,r)=>{i._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let e=0,s=this.data.datasets.length;e=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,s=t._clip,i=!s.disabled,r=this.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(i&&RM(e,{left:!1===s.left?0:r.left-s.left,right:!1===s.right?this.width:r.right+s.right,top:!1===s.top?0:r.top-s.top,bottom:!1===s.bottom?this.height:r.bottom+s.bottom}),t.controller.draw(),i&&NM(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}getElementsAtEventForMode(t,e,s,i){const r=Lpt.modes[e];return"function"==typeof r?r(this,t,s,i):[]}getDatasetMeta(t){const e=this.data.datasets[t],s=this._metasets;let i=s.filter(r=>r&&r._dataset===e).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},s.push(i)),i}getContext(){return this.$context||(this.$context=mu(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const s=this.getDatasetMeta(t);return"boolean"==typeof s.hidden?!s.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,s){const i=s?"show":"hide",r=this.getDatasetMeta(t),o=r.controller._resolveAnimations(void 0,i);Rr(e)?(r.data[e].hidden=!s,this.update()):(this.setDatasetVisibility(t,s),o.update(r,{visible:s}),this.update(a=>a.datasetIndex===t?i:void 0))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),ql.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,r,o),t[r]=o},i=(r,o,a)=>{r.offsetX=o,r.offsetY=a,this._eventHandler(r)};ln(this.options.events,r=>s(r,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,s=(l,c)=>{e.addEventListener(this,l,c),t[l]=c},i=(l,c)=>{t[l]&&(e.removeEventListener(this,l,c),delete t[l])},r=(l,c)=>{this.canvas&&this.resize(l,c)};let o;const a=()=>{i("attach",a),this.attached=!0,this.resize(),s("resize",r),s("detach",o)};o=()=>{this.attached=!1,i("resize",r),this._stop(),this._resize(0,0),s("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){ln(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},ln(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,s){const i=s?"set":"remove";let r,o,a,l;for("dataset"===e&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+i+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(r);if(!a)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:a.data[o],index:o}});!SM(s,e)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,e))}notifyPlugins(t,e,s){return this._plugins.notify(this,t,e,s)}_updateHoverStyles(t,e,s){const i=this.options.hover,r=(l,c)=>l.filter(u=>!c.some(h=>u.datasetIndex===h.datasetIndex&&u.index===h.index)),o=r(e,t),a=s?t:r(t,e);o.length&&this.updateHoverStyle(o,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(t,e){const s={event:t,replay:e,cancelable:!0,inChartArea:mh(t,this.chartArea,this._minPadding)},i=o=>(o.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",s,i))return;const r=this._handleEvent(t,e,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,i),(r||s.changed)&&this.render(),this}_handleEvent(t,e,s){const{_active:i=[],options:r}=this,o=e,a=this._getActiveElements(t,i,s,o),l=function xdt(n){return"mouseup"===n.type||"click"===n.type||"contextmenu"===n.type}(t),c=function Pft(n,t,e,s){return e&&"mouseout"!==n.type?s?t:n:null}(t,this._lastEvent,s,l);s&&(this._lastEvent=null,Ln(r.onHover,[t,a,this],this),l&&Ln(r.onClick,[t,a,this],this));const u=!SM(a,i);return(u||e)&&(this._active=a,this._updateHoverStyles(a,i,e)),this._lastEvent=c,u}_getActiveElements(t,e,s,i){if("mouseout"===t.type)return[];if(!s)return e;const r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,i)}}const g4=()=>ln(Zv.instances,n=>n._plugins.invalidate()),gu=!0;function _4(n,t,e){const{startAngle:s,pixelMargin:i,x:r,y:o,outerRadius:a,innerRadius:l}=t;let c=i/a;n.beginPath(),n.arc(r,o,a,s-c,e+c),l>i?(c=i/l,n.arc(r,o,l,e+c,s-c,!0)):n.arc(r,o,i,e+qn,s-qn),n.closePath(),n.clip()}function Rft(n,t,e,s){const i=function Oft(n){return SL(n,["outerStart","outerEnd","innerStart","innerEnd"])}(n.options.borderRadius),r=(e-t)/2,o=Math.min(r,s*t/2),a=l=>{const c=(e-Math.min(r,l))*s/2;return ks(l,0,Math.min(r,c))};return{outerStart:a(i.outerStart),outerEnd:a(i.outerEnd),innerStart:ks(i.innerStart,0,o),innerEnd:ks(i.innerEnd,0,o)}}function zm(n,t,e,s){return{x:e+n*Math.cos(t),y:s+n*Math.sin(t)}}function VL(n,t,e,s,i){const{x:r,y:o,startAngle:a,pixelMargin:l,innerRadius:c}=t,u=Math.max(t.outerRadius+s+e-l,0),h=c>0?c+s+e+l:0;let m=0;const v=i-a;if(s){const Yt=((c>0?c-s:0)+(u>0?u-s:0))/2;m=(v-(0!==Yt?v*Yt/(Yt+s):v))/2}const C=(v-Math.max(.001,v*u-e/Hn)/u)/2,k=a+C+m,P=i-C-m,{outerStart:F,outerEnd:N,innerStart:V,innerEnd:q}=Rft(t,h,u,P-k),lt=u-F,pt=u-N,Dt=k+F/lt,yt=P-N/pt,Vt=h+V,gt=h+q,Ut=k+V/Vt,$t=P-q/gt;if(n.beginPath(),n.arc(r,o,u,Dt,yt),N>0){const ht=zm(pt,yt,r,o);n.arc(ht.x,ht.y,N,yt,P+qn)}const Ce=zm(gt,P,r,o);if(n.lineTo(Ce.x,Ce.y),q>0){const ht=zm(gt,$t,r,o);n.arc(ht.x,ht.y,q,P+qn,$t+Math.PI)}if(n.arc(r,o,h,P-q/h,k+V/h,!0),V>0){const ht=zm(Vt,Ut,r,o);n.arc(ht.x,ht.y,V,Ut+Math.PI,k-qn)}const Xt=zm(lt,k,r,o);if(n.lineTo(Xt.x,Xt.y),F>0){const ht=zm(lt,Dt,r,o);n.arc(ht.x,ht.y,F,k-qn,Dt)}n.closePath()}function Yft(n,t,e,s,i){const{options:r}=t,{borderWidth:o,borderJoinStyle:a}=r,l="inner"===r.borderAlign;!o||(l?(n.lineWidth=2*o,n.lineJoin=a||"round"):(n.lineWidth=o,n.lineJoin=a||"bevel"),t.fullCircles&&function Fft(n,t,e){const{x:s,y:i,startAngle:r,pixelMargin:o,fullCircles:a}=t,l=Math.max(t.outerRadius-o,0),c=t.innerRadius+o;let u;for(e&&_4(n,t,r+yn),n.beginPath(),n.arc(s,i,c,r+yn,r,!0),u=0;u{Gl.add(...n),g4()}},unregister:{enumerable:gu,value:(...n)=>{Gl.remove(...n),g4()}}});class tb extends So{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,s){const i=this.getProps(["x","y"],s),{angle:r,distance:o}=G3(i,{x:t,y:e}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:u,circumference:h}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),m=this.options.spacing/2,D=ve(h,l-a)>=yn||Iv(r,a,l),C=zl(o,c+m,u+m);return D&&C}getCenterPoint(t){const{x:e,y:s,startAngle:i,endAngle:r,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:l,spacing:c}=this.options,u=(i+r)/2,h=(o+a+c+l)/2;return{x:e+Math.cos(u)*h,y:s+Math.sin(u)*h}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:s}=this,i=(e.offset||0)/2,r=(e.spacing||0)/2;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=s>yn?Math.floor(s/yn):0,0===s||this.innerRadius<0||this.outerRadius<0)return;t.save();let o=0;if(i){o=i/2;const l=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(l)*o,Math.sin(l)*o),this.circumference>=Hn&&(o=i)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const a=function Nft(n,t,e,s){const{fullCircles:i,startAngle:r,circumference:o}=t;let a=t.endAngle;if(i){VL(n,t,e,s,r+yn);for(let l=0;la&&r>a;return{count:s,start:l,loop:t.loop,ilen:c(o+(c?a-V:V))%r,N=()=>{C!==k&&(n.lineTo(u,k),n.lineTo(u,C),n.lineTo(u,P))};for(l&&(v=i[F(0)],n.moveTo(v.x,v.y)),m=0;m<=a;++m){if(v=i[F(m)],v.skip)continue;const V=v.x,q=v.y,lt=0|V;lt===D?(qk&&(k=q),u=(h*u+V)/++h):(N(),n.lineTo(V,q),D=lt,h=0,C=k=q),P=q}N()}function BL(n){const t=n.options,e=t.borderDash&&t.borderDash.length;return n._decimated||n._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||e?Vft:Bft}tb.id="arc",tb.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},tb.defaultRoutes={backgroundColor:"backgroundColor"};const Wft="function"==typeof Path2D;function qft(n,t,e,s){Wft&&!t.options.segment?function $ft(n,t,e,s){let i=t._path;i||(i=t._path=new Path2D,t.path(i,e,s)&&i.closePath()),y4(n,t.options),n.stroke(i)}(n,t,e,s):function zft(n,t,e,s){const{segments:i,options:r}=t,o=BL(t);for(const a of i)y4(n,r,a.style),n.beginPath(),o(n,t,a,{start:e,end:e+s-1})&&n.closePath(),n.stroke()}(n,t,e,s)}class Kl extends So{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const s=this.options;if((s.tension||"monotone"===s.cubicInterpolationMode)&&!s.stepped&&!this._pointsUpdated){const i=s.spanGaps?this._loop:this._fullLoop;kht(this._points,s,t,i,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function $ht(n,t){const e=n.points,s=n.options.spanGaps,i=e.length;if(!i)return[];const r=!!n._loop,{start:o,end:a}=function Bht(n,t,e,s){let i=0,r=t-1;if(e&&!s)for(;ii&&n[r%t].skip;)r--;return r%=t,{start:i,end:r}}(e,i,r,s);return L5(n,!0===s?[{start:o,end:a,loop:r}]:function Uht(n,t,e,s){const i=n.length,r=[];let l,o=t,a=n[t];for(l=t+1;l<=e;++l){const c=n[l%i];c.skip||c.stop?a.skip||(s=!1,r.push({start:t%i,end:(l-1)%i,loop:s}),t=o=c.stop?l:null):(o=l,a.skip&&(t=l)),a=c}return null!==o&&r.push({start:t%i,end:o%i,loop:s}),r}(e,o,a"borderDash"!==n&&"fill"!==n};class eb extends So{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,s){const i=this.options,{x:r,y:o}=this.getProps(["x","y"],s);return Math.pow(t-r,2)+Math.pow(e-o,2)=e)&&i):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}class S4{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,s){const{x:i,y:r,radius:o}=this;return e=e||{start:0,end:yn},t.arc(i,r,o,e.end,e.start,!0),!s.bounds}interpolate(t){const{x:e,y:s,radius:i}=this,r=t.angle;return{x:e+Math.cos(r)*i,y:s+Math.sin(r)*i,angle:r}}}function cmt(n){return(n.scale||{}).getPointPositionForValue?function lmt(n){const{scale:t,fill:e}=n,s=t.options,i=t.getLabels().length,r=[],o=s.reverse?t.max:t.min,a=s.reverse?t.min:t.max;let l,c,u;if(u="start"===e?o:"end"===e?a:Ue(e)?e.value:t.getBaseValue(),s.grid.circular)return c=t.getPointPositionForValue(0,o),new S4({x:c.x,y:c.y,radius:t.getDistanceFromCenterForValue(u)});for(l=0;ln;t--){const s=e[t];if(!isNaN(s.x)&&!isNaN(s.y))break}return t}function pmt(n,t,e){const s=[];for(let i=0;i{a=C4(o,a,i);const l=i[o],c=i[a];null!==s?(r.push({x:l.x,y:s}),r.push({x:c.x,y:s})):null!==e&&(r.push({x:e,y:l.y}),r.push({x:e,y:c.y}))}),r}(n,t),e.length?new Kl({points:e,options:{tension:0},_loop:s,_fullLoop:s}):null}function gmt(n,t,e){let i=n[t].fill;const r=[t];let o;if(!e)return i;for(;!1!==i&&-1===r.indexOf(i);){if(!ts(i))return i;if(o=n[i],!o)return!1;if(o.visible)return i;r.push(i),i=o.fill}return!1}function E4(n,t,e){n.beginPath(),t.path(n),n.lineTo(t.last().x,e),n.lineTo(t.first().x,e),n.closePath(),n.clip()}function zL(n,t,e,s){if(s)return;let i=t[n],r=e[n];return"angle"===n&&(i=nr(i),r=nr(r)),{property:n,start:i,end:r}}function k4(n,t,e,s){return n&&t?s(n[e],t[e]):n?n[e]:t?t[e]:0}function ymt(n,t,e){const{top:s,bottom:i}=t.chart.chartArea,{property:r,start:o,end:a}=e||{};"x"===r&&(n.beginPath(),n.rect(o,s,a-o,i-s),n.clip())}function T4(n,t,e,s){const i=t.interpolate(e,s);i&&n.lineTo(i.x,i.y)}function L4(n,t){const{line:e,target:s,property:i,color:r,scale:o}=t,a=function _mt(n,t,e){const s=n.segments,i=n.points,r=t.points,o=[];for(const a of s){let{start:l,end:c}=a;c=C4(l,c,i);const u=zL(e,i[l],i[c],a.loop);if(!t.segments){o.push({source:a,target:u,start:i[l],end:i[c]});continue}const h=T5(t,u);for(const m of h){const v=zL(e,r[m.start],r[m.end],m.loop),D=k5(a,i,v);for(const C of D)o.push({source:C,target:m,start:{[e]:k4(u,v,"start",Math.max)},end:{[e]:k4(u,v,"end",Math.min)}})}}return o}(e,s,i);for(const{source:l,target:c,start:u,end:h}of a){const{style:{backgroundColor:m=r}={}}=l,v=!0!==s;n.save(),n.fillStyle=m,ymt(n,o,v&&zL(i,u,h)),n.beginPath();const D=!!e.pathSegment(n,l);let C;if(v){D?n.closePath():T4(n,s,h,i);const k=!!s.pathSegment(n,c,{move:D,reverse:!0});C=D&&k,C||T4(n,s,u,i)}n.closePath(),n.fill(C?"evenodd":"nonzero"),n.restore()}}function WL(n,t,e){const s=mmt(t),{line:i,scale:r,axis:o}=t,a=i.options,l=a.fill,c=a.backgroundColor,{above:u=c,below:h=c}=l||{};s&&i.points.length&&(RM(n,e),function vmt(n,t){const{line:e,target:s,above:i,below:r,area:o,scale:a}=t,l=e._loop?"angle":t.axis;n.save(),"x"===l&&r!==i&&(E4(n,s,o.top),L4(n,{line:e,target:s,color:i,scale:a,property:l}),n.restore(),n.save(),E4(n,s,o.bottom)),L4(n,{line:e,target:s,color:r,scale:a,property:l}),n.restore()}(n,{line:i,target:s,above:u,below:h,area:e,scale:r,axis:o}),NM(n))}var A4={id:"filler",afterDatasetsUpdate(n,t,e){const s=(n.data.datasets||[]).length,i=[];let r,o,a,l;for(o=0;o=0;--o){const a=i[o].$filler;!a||(a.line.updateControlPoints(r,a.axis),s&&WL(n.ctx,a,r))}},beforeDatasetsDraw(n,t,e){if("beforeDatasetsDraw"!==e.drawTime)return;const s=n.getSortedVisibleDatasetMetas();for(let i=s.length-1;i>=0;--i){const r=s[i].$filler;r&&WL(n.ctx,r,n.chartArea)}},beforeDatasetDraw(n,t,e){const s=t.meta.$filler;!s||!1===s.fill||"beforeDatasetDraw"!==e.drawTime||WL(n.ctx,s,n.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const I4=(n,t)=>{let{boxHeight:e=t,boxWidth:s=t}=n;return n.usePointStyle&&(e=Math.min(e,t),s=Math.min(s,t)),{boxWidth:s,boxHeight:e,itemHeight:Math.max(t,e)}};class P4 extends So{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,s){this.maxWidth=t,this.maxHeight=e,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=Ln(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(s=>t.filter(s,this.chart.data))),t.sort&&(e=e.sort((s,i)=>t.sort(s,i,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const s=t.labels,i=gs(s.font),r=i.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=I4(s,r);let c,u;e.font=i.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(o,r,a,l)+10):(u=this.maxHeight,c=this._fitCols(o,r,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,e,s,i){const{ctx:r,maxWidth:o,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=i+a;let h=t;r.textAlign="left",r.textBaseline="middle";let m=-1,v=-u;return this.legendItems.forEach((D,C)=>{const k=s+e/2+r.measureText(D.text).width;(0===C||c[c.length-1]+k+2*a>o)&&(h+=u,c[c.length-(C>0?0:1)]=0,v+=u,m++),l[C]={left:0,top:v,row:m,width:k,height:i},c[c.length-1]+=k+a}),h}_fitCols(t,e,s,i){const{ctx:r,maxHeight:o,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=o-t;let h=a,m=0,v=0,D=0,C=0;return this.legendItems.forEach((k,P)=>{const F=s+e/2+r.measureText(k.text).width;P>0&&v+i+2*a>u&&(h+=m+a,c.push({width:m,height:v}),D+=m+a,C++,m=v=0),l[P]={left:D,top:v,col:C,width:F,height:i},m=Math.max(m,F),v+=i+a}),h+=m,c.push({width:m,height:v}),h}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:s,labels:{padding:i},rtl:r}}=this,o=Um(r,this.left,this.width);if(this.isHorizontal()){let a=0,l=ei(s,this.left+i,this.right-this.lineWidths[a]);for(const c of e)a!==c.row&&(a=c.row,l=ei(s,this.left+i,this.right-this.lineWidths[a])),c.top+=this.top+t+i,c.left=o.leftForLtr(o.x(l),c.width),l+=c.width+i}else{let a=0,l=ei(s,this.top+t+i,this.bottom-this.columnSizes[a].height);for(const c of e)c.col!==a&&(a=c.col,l=ei(s,this.top+t+i,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+i,c.left=o.leftForLtr(o.x(c.left),c.width),l+=c.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;RM(t,this),this._draw(),NM(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:s,ctx:i}=this,{align:r,labels:o}=t,a=je.color,l=Um(t.rtl,this.left,this.width),c=gs(o.font),{color:u,padding:h}=o,m=c.size,v=m/2;let D;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:C,boxHeight:k,itemHeight:P}=I4(o,m),V=this.isHorizontal(),q=this._computeTitleHeight();D=V?{x:ei(r,this.left+h,this.right-s[0]),y:this.top+h+q,line:0}:{x:this.left+h,y:ei(r,this.top+q+h,this.bottom-e[0].height),line:0},S5(this.ctx,t.textDirection);const lt=P+h;this.legendItems.forEach((pt,Dt)=>{i.strokeStyle=pt.fontColor||u,i.fillStyle=pt.fontColor||u;const yt=i.measureText(pt.text).width,Vt=l.textAlign(pt.textAlign||(pt.textAlign=o.textAlign)),gt=C+v+yt;let Ut=D.x,$t=D.y;l.setWidth(this.width),V?Dt>0&&Ut+gt+h>this.right&&($t=D.y+=lt,D.line++,Ut=D.x=ei(r,this.left+h,this.right-s[D.line])):Dt>0&&$t+lt>this.bottom&&(Ut=D.x=Ut+e[D.line].width+h,D.line++,$t=D.y=ei(r,this.top+q+h,this.bottom-e[D.line].height));(function(pt,Dt,yt){if(isNaN(C)||C<=0||isNaN(k)||k<0)return;i.save();const Vt=ve(yt.lineWidth,1);if(i.fillStyle=ve(yt.fillStyle,a),i.lineCap=ve(yt.lineCap,"butt"),i.lineDashOffset=ve(yt.lineDashOffset,0),i.lineJoin=ve(yt.lineJoin,"miter"),i.lineWidth=Vt,i.strokeStyle=ve(yt.strokeStyle,a),i.setLineDash(ve(yt.lineDash,[])),o.usePointStyle){const gt={radius:C*Math.SQRT2/2,pointStyle:yt.pointStyle,rotation:yt.rotation,borderWidth:Vt},Ut=l.xPlus(pt,C/2);OM(i,gt,Ut,Dt+v)}else{const gt=Dt+Math.max((m-k)/2,0),Ut=l.leftForLtr(pt,C),$t=jm(yt.borderRadius);i.beginPath(),Object.values($t).some(Ce=>0!==Ce)?FM(i,{x:Ut,y:gt,w:C,h:k,radius:$t}):i.rect(Ut,gt,C,k),i.fill(),0!==Vt&&i.stroke()}i.restore()})(l.x(Ut),$t,pt),Ut=((n,t,e,s)=>n===(s?"left":"right")?e:"center"===n?(t+e)/2:t)(Vt,Ut+C+v,V?Ut+gt:this.right,t.rtl),function(pt,Dt,yt){gh(i,yt.text,pt,Dt+P/2,c,{strikethrough:yt.hidden,textAlign:l.textAlign(yt.textAlign)})}(l.x(Ut),$t,pt),V?D.x+=gt+h:D.y+=lt}),C5(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,s=gs(e.font),i=ni(e.padding);if(!e.display)return;const r=Um(t.rtl,this.left,this.width),o=this.ctx,a=e.position,l=s.size/2,c=i.top+l;let u,h=this.left,m=this.width;if(this.isHorizontal())m=Math.max(...this.lineWidths),u=this.top+c,h=ei(t.align,h,this.right-m);else{const D=this.columnSizes.reduce((C,k)=>Math.max(C,k.height),0);u=c+ei(t.align,this.top,this.bottom-D-t.labels.padding-this._computeTitleHeight())}const v=ei(a,h,h+m);o.textAlign=r.textAlign(hL(a)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=s.string,gh(o,e.text,v,u,s)}_computeTitleHeight(){const t=this.options.title,e=gs(t.font),s=ni(t.padding);return t.display?e.lineHeight+s.height:0}_getLegendItemAt(t,e){let s,i,r;if(zl(t,this.left,this.right)&&zl(e,this.top,this.bottom))for(r=this.legendHitBoxes,s=0;snull!==n&&null!==t&&n.datasetIndex===t.datasetIndex&&n.index===t.index)(i,s);i&&!r&&Ln(e.onLeave,[t,i,this],this),this._hoveredItem=s,s&&!r&&Ln(e.onHover,[t,s,this],this)}else s&&Ln(e.onClick,[t,s,this],this)}}var O4={id:"legend",_element:P4,start(n,t,e){const s=n.legend=new P4({ctx:n.ctx,options:e,chart:n});si.configure(n,s,e),si.addBox(n,s)},stop(n){si.removeBox(n,n.legend),delete n.legend},beforeUpdate(n,t,e){const s=n.legend;si.configure(n,s,e),s.options=e},afterUpdate(n){const t=n.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(n,t){t.replay||n.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(n,t,e){const s=t.datasetIndex,i=e.chart;i.isDatasetVisible(s)?(i.hide(s),t.hidden=!0):(i.show(s),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:n=>n.chart.options.color,boxWidth:40,padding:10,generateLabels(n){const t=n.data.datasets,{labels:{usePointStyle:e,pointStyle:s,textAlign:i,color:r}}=n.legend.options;return n._getSortedDatasetMetas().map(o=>{const a=o.controller.getStyle(e?0:void 0),l=ni(a.borderWidth);return{text:t[o.index].label,fillStyle:a.backgroundColor,fontColor:r,hidden:!o.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:a.borderColor,pointStyle:s||a.pointStyle,rotation:a.rotation,textAlign:i||a.textAlign,borderRadius:0,datasetIndex:o.index}},this)}},title:{color:n=>n.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:n=>!n.startsWith("on"),labels:{_scriptable:n=>!["generateLabels","filter","sort"].includes(n)}}};class qL extends So{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const s=this.options;if(this.left=0,this.top=0,!s.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const i=Tn(s.text)?s.text.length:1;this._padding=ni(s.padding);const r=i*gs(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:s,bottom:i,right:r,options:o}=this,a=o.align;let c,u,h,l=0;return this.isHorizontal()?(u=ei(a,s,r),h=e+t,c=r-s):("left"===o.position?(u=s+t,h=ei(a,i,e),l=-.5*Hn):(u=r-t,h=ei(a,e,i),l=.5*Hn),c=i-e),{titleX:u,titleY:h,maxWidth:c,rotation:l}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const s=gs(e.font),r=s.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(r);gh(t,e.text,0,0,s,{color:e.color,maxWidth:l,rotation:c,textAlign:hL(e.align),textBaseline:"middle",translation:[o,a]})}}var R4={id:"title",_element:qL,start(n,t,e){!function Dmt(n,t){const e=new qL({ctx:n.ctx,options:t,chart:n});si.configure(n,e,t),si.addBox(n,e),n.titleBlock=e}(n,e)},stop(n){const t=n.titleBlock;si.removeBox(n,t),delete n.titleBlock},beforeUpdate(n,t,e){const s=n.titleBlock;si.configure(n,s,e),s.options=e},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const sb={average(n){if(!n.length)return!1;let t,e,s=0,i=0,r=0;for(t=0,e=n.length;t-1?n.split("\n"):n}function Smt(n,t){const{element:e,datasetIndex:s,index:i}=t,r=n.getDatasetMeta(s).controller,{label:o,value:a}=r.getLabelAndValue(i);return{chart:n,label:o,parsed:r.getParsed(i),raw:n.data.datasets[s].data[i],formattedValue:a,dataset:r.getDataset(),dataIndex:i,datasetIndex:s,element:e}}function N4(n,t){const e=n.chart.ctx,{body:s,footer:i,title:r}=n,{boxWidth:o,boxHeight:a}=t,l=gs(t.bodyFont),c=gs(t.titleFont),u=gs(t.footerFont),h=r.length,m=i.length,v=s.length,D=ni(t.padding);let C=D.height,k=0,P=s.reduce((V,q)=>V+q.before.length+q.lines.length+q.after.length,0);if(P+=n.beforeBody.length+n.afterBody.length,h&&(C+=h*c.lineHeight+(h-1)*t.titleSpacing+t.titleMarginBottom),P){C+=v*(t.displayColors?Math.max(a,l.lineHeight):l.lineHeight)+(P-v)*l.lineHeight+(P-1)*t.bodySpacing}m&&(C+=t.footerMarginTop+m*u.lineHeight+(m-1)*t.footerSpacing);let F=0;const N=function(V){k=Math.max(k,e.measureText(V).width+F)};return e.save(),e.font=c.string,ln(n.title,N),e.font=l.string,ln(n.beforeBody.concat(n.afterBody),N),F=t.displayColors?o+2+t.boxPadding:0,ln(s,V=>{ln(V.before,N),ln(V.lines,N),ln(V.after,N)}),F=0,e.font=u.string,ln(n.footer,N),e.restore(),k+=D.width,{width:k,height:C}}function Emt(n,t,e,s){const{x:i,width:r}=e,{width:o,chartArea:{left:a,right:l}}=n;let c="center";return"center"===s?c=i<=(a+l)/2?"left":"right":i<=r/2?c="left":i>=o-r/2&&(c="right"),function xmt(n,t,e,s){const{x:i,width:r}=s,o=e.caretSize+e.caretPadding;if("left"===n&&i+r+o>t.width||"right"===n&&i-r-o<0)return!0}(c,n,t,e)&&(c="center"),c}function F4(n,t,e){const s=e.yAlign||t.yAlign||function Cmt(n,t){const{y:e,height:s}=t;return en.height-s/2?"bottom":"center"}(n,e);return{xAlign:e.xAlign||t.xAlign||Emt(n,t,e,s),yAlign:s}}function Y4(n,t,e,s){const{caretSize:i,caretPadding:r,cornerRadius:o}=n,{xAlign:a,yAlign:l}=e,c=i+r,{topLeft:u,topRight:h,bottomLeft:m,bottomRight:v}=jm(o);let D=function kmt(n,t){let{x:e,width:s}=n;return"right"===t?e-=s:"center"===t&&(e-=s/2),e}(t,a);const C=function Tmt(n,t,e){let{y:s,height:i}=n;return"top"===t?s+=e:s-="bottom"===t?i+e:i/2,s}(t,l,c);return"center"===l?"left"===a?D+=c:"right"===a&&(D-=c):"left"===a?D-=Math.max(u,m)+i:"right"===a&&(D+=Math.max(h,v)+i),{x:ks(D,0,s.width-t.width),y:ks(C,0,s.height-t.height)}}function JM(n,t,e){const s=ni(e.padding);return"center"===t?n.x+n.width/2:"right"===t?n.x+n.width-s.right:n.x+s.left}function H4(n){return ma([],Ql(n))}function j4(n,t){const e=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return e?n.override(e):n}class GL extends So{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,s=this.options.setContext(this.getContext()),i=s.enabled&&e.options.animation&&s.animations,r=new P5(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=function Lmt(n,t,e){return mu(n,{tooltip:t,tooltipItems:e,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,e){const{callbacks:s}=e,i=s.beforeTitle.apply(this,[t]),r=s.title.apply(this,[t]),o=s.afterTitle.apply(this,[t]);let a=[];return a=ma(a,Ql(i)),a=ma(a,Ql(r)),a=ma(a,Ql(o)),a}getBeforeBody(t,e){return H4(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:s}=e,i=[];return ln(t,r=>{const o={before:[],lines:[],after:[]},a=j4(s,r);ma(o.before,Ql(a.beforeLabel.call(this,r))),ma(o.lines,a.label.call(this,r)),ma(o.after,Ql(a.afterLabel.call(this,r))),i.push(o)}),i}getAfterBody(t,e){return H4(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:s}=e,i=s.beforeFooter.apply(this,[t]),r=s.footer.apply(this,[t]),o=s.afterFooter.apply(this,[t]);let a=[];return a=ma(a,Ql(i)),a=ma(a,Ql(r)),a=ma(a,Ql(o)),a}_createItems(t){const e=this._active,s=this.chart.data,i=[],r=[],o=[];let l,c,a=[];for(l=0,c=e.length;lt.filter(u,h,m,s))),t.itemSort&&(a=a.sort((u,h)=>t.itemSort(u,h,s))),ln(a,u=>{const h=j4(t.callbacks,u);i.push(h.labelColor.call(this,u)),r.push(h.labelPointStyle.call(this,u)),o.push(h.labelTextColor.call(this,u))}),this.labelColors=i,this.labelPointStyles=r,this.labelTextColors=o,this.dataPoints=a,a}update(t,e){const s=this.options.setContext(this.getContext()),i=this._active;let r,o=[];if(i.length){const a=sb[s.position].call(this,i,this._eventPosition);o=this._createItems(s),this.title=this.getTitle(o,s),this.beforeBody=this.getBeforeBody(o,s),this.body=this.getBody(o,s),this.afterBody=this.getAfterBody(o,s),this.footer=this.getFooter(o,s);const l=this._size=N4(this,s),c=Object.assign({},a,l),u=F4(this.chart,s,c),h=Y4(s,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,r={opacity:1,x:h.x,y:h.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}else 0!==this.opacity&&(r={opacity:0});this._tooltipItems=o,this.$context=void 0,r&&this._resolveAnimations().update(this,r),t&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,s,i){const r=this.getCaretPosition(t,s,i);e.lineTo(r.x1,r.y1),e.lineTo(r.x2,r.y2),e.lineTo(r.x3,r.y3)}getCaretPosition(t,e,s){const{xAlign:i,yAlign:r}=this,{caretSize:o,cornerRadius:a}=s,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:h}=jm(a),{x:m,y:v}=t,{width:D,height:C}=e;let k,P,F,N,V,q;return"center"===r?(V=v+C/2,"left"===i?(k=m,P=k-o,N=V+o,q=V-o):(k=m+D,P=k+o,N=V-o,q=V+o),F=k):(P="left"===i?m+Math.max(l,u)+o:"right"===i?m+D-Math.max(c,h)-o:this.caretX,"top"===r?(N=v,V=N-o,k=P-o,F=P+o):(N=v+C,V=N+o,k=P+o,F=P-o),q=N),{x1:k,x2:P,x3:F,y1:N,y2:V,y3:q}}drawTitle(t,e,s){const i=this.title,r=i.length;let o,a,l;if(r){const c=Um(s.rtl,this.x,this.width);for(t.x=JM(this,s.titleAlign,s),e.textAlign=c.textAlign(s.titleAlign),e.textBaseline="middle",o=gs(s.titleFont),a=s.titleSpacing,e.fillStyle=s.titleColor,e.font=o.string,l=0;l0!==N)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,FM(t,{x:k,y:C,w:c,h:l,radius:F}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),FM(t,{x:P,y:C+1,w:c-2,h:l-2,radius:F}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(k,C,c,l),t.strokeRect(k,C,c,l),t.fillStyle=o.backgroundColor,t.fillRect(P,C+1,c-2,l-2))}t.fillStyle=this.labelTextColors[s]}drawBody(t,e,s){const{body:i}=this,{bodySpacing:r,bodyAlign:o,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=s,h=gs(s.bodyFont);let m=h.lineHeight,v=0;const D=Um(s.rtl,this.x,this.width),C=function(Dt){e.fillText(Dt,D.x(t.x+v),t.y+m/2),t.y+=m+r},k=D.textAlign(o);let P,F,N,V,q,lt,pt;for(e.textAlign=o,e.textBaseline="middle",e.font=h.string,t.x=JM(this,k,s),e.fillStyle=s.bodyColor,ln(this.beforeBody,C),v=a&&"right"!==k?"center"===o?c/2+u:c+2+u:0,V=0,lt=i.length;V0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,s=this.$animations,i=s&&s.x,r=s&&s.y;if(i||r){const o=sb[t.position].call(this,this._active,this._eventPosition);if(!o)return;const a=this._size=N4(this,t),l=Object.assign({},o,this._size),c=F4(e,t,l),u=Y4(t,l,c,e);(i._to!==u.x||r._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,u))}}draw(t){const e=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(e);const i={width:this.width,height:this.height},r={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const o=ni(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=s,this.drawBackground(r,t,i,e),S5(t,e.textDirection),r.y+=o.top,this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),C5(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const s=this._active,i=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),r=!SM(s,i),o=this._positionChanged(i,e);(r||o)&&(this._active=i,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,s=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,r=this._active||[],o=this._getActiveElements(t,r,e,s),a=this._positionChanged(o,t),l=e||!SM(o,r)||a;return l&&(this._active=o,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,s,i){const r=this.options;if("mouseout"===t.type)return[];if(!i)return e;const o=this.chart.getElementsAtEventForMode(t,r.mode,r,s);return r.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:s,caretY:i,options:r}=this,o=sb[r.position].call(this,t,e);return!1!==o&&(s!==o.x||i!==o.y)}}GL.positioners=sb;var V4={id:"tooltip",_element:GL,positioners:sb,afterInit(n,t,e){e&&(n.tooltip=new GL({chart:n,options:e}))},beforeUpdate(n,t,e){n.tooltip&&n.tooltip.initialize(e)},reset(n,t,e){n.tooltip&&n.tooltip.initialize(e)},afterDraw(n){const t=n.tooltip,e={tooltip:t};!1!==n.notifyPlugins("beforeTooltipDraw",e)&&(t&&t.draw(n.ctx),n.notifyPlugins("afterTooltipDraw",e))},afterEvent(n,t){if(n.tooltip){const e=t.replay;n.tooltip.handleEvent(t.event,e,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(n,t)=>t.bodyFont.size,boxWidth:(n,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:$l,title(n){if(n.length>0){const t=n[0],e=t.chart.data.labels,s=e?e.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(s>0&&t.dataIndex"filter"!==n&&"itemSort"!==n&&"external"!==n,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function Pmt(n,t,e,s){const i=n.indexOf(t);if(-1===i)return((n,t,e,s)=>("string"==typeof t?(e=n.push(t)-1,s.unshift({index:e,label:t})):isNaN(t)&&(e=null),e))(n,t,e,s);return i!==n.lastIndexOf(t)?e:i}class ib extends wh{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const s=this.getLabels();for(const{index:i,label:r}of e)s[i]===r&&s.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(Ze(t))return null;const s=this.getLabels();return((n,t)=>null===n?null:ks(Math.round(n),0,t))(e=isFinite(e)&&s[e]===t?e:Pmt(s,t,ve(e,t),this._addedLabels),s.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:s,max:i}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(s=0),e||(i=this.getLabels().length-1)),this.min=s,this.max=i}buildTicks(){const t=this.min,e=this.max,s=this.options.offset,i=[];let r=this.getLabels();r=0===t&&e===r.length-1?r:r.slice(t,e+1),this._valueRange=Math.max(r.length-(s?0:1),1),this._startValue=this.min-(s?.5:0);for(let o=t;o<=e;o++)i.push({value:o});return i}getLabelForValue(t){const e=this.getLabels();return t>=0&&te.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function Rmt(n,t){const e=[],{bounds:i,step:r,min:o,max:a,precision:l,count:c,maxTicks:u,maxDigits:h,includeBounds:m}=n,v=r||1,D=u-1,{min:C,max:k}=t,P=!Ze(o),F=!Ze(a),N=!Ze(c),V=(k-C)/(h+1);let lt,pt,Dt,yt,q=z3((k-C)/D/v)*v;if(q<1e-14&&!P&&!F)return[{value:C},{value:k}];yt=Math.ceil(k/q)-Math.floor(C/q),yt>D&&(q=z3(yt*q/D/v)*v),Ze(l)||(lt=Math.pow(10,l),q=Math.ceil(q*lt)/lt),"ticks"===i?(pt=Math.floor(C/q)*q,Dt=Math.ceil(k/q)*q):(pt=C,Dt=k),P&&F&&r&&function Ldt(n,t){const e=Math.round(n);return e-t<=n&&e+t>=n}((a-o)/r,q/1e3)?(yt=Math.round(Math.min((a-o)/q,u)),q=(a-o)/yt,pt=o,Dt=a):N?(pt=P?o:pt,Dt=F?a:Dt,yt=c-1,q=(Dt-pt)/yt):(yt=(Dt-pt)/q,yt=Av(yt,Math.round(yt),q/1e3)?Math.round(yt):Math.ceil(yt));const Vt=Math.max(q3(q),q3(pt));lt=Math.pow(10,Ze(l)?Vt:l),pt=Math.round(pt*lt)/lt,Dt=Math.round(Dt*lt)/lt;let gt=0;for(P&&(m&&pt!==o?(e.push({value:o}),pti=e?i:l,a=l=>r=s?r:l;if(t){const l=pa(i),c=pa(r);l<0&&c<0?a(0):l>0&&c>0&&o(0)}if(i===r){let l=1;(r>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(.05*r)),a(r+l),t||o(i-l)}this.min=i,this.max=r}getTickLimit(){const t=this.options.ticks;let i,{maxTicksLimit:e,stepSize:s}=t;return s?(i=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),e=e||11),e&&(i=Math.min(e,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let s=this.getTickLimit();s=Math.max(2,s);const o=Rmt({maxTicks:s,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&W3(o,this,"value"),t.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const t=this.ticks;let e=this.min,s=this.max;if(super.configure(),this.options.offset&&t.length){const i=(s-e)/Math.max(t.length-1,1)/2;e-=i,s+=i}this._startValue=e,this._endValue=s,this._valueRange=s-e}getLabelForValue(t){return Hv(t,this.chart.options.locale,this.options.ticks.format)}}class ZM extends XM{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=ts(t)?t:0,this.max=ts(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,s=Mo(this.options.ticks.minRotation),i=(t?Math.sin(s):Math.cos(s))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,r.lineHeight/i))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}function U4(n){return n/Math.pow(10,Math.floor(Nr(n)))==1}ZM.id="linear",ZM.defaults={ticks:{callback:zM.formatters.numeric}};class KL extends wh{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const s=XM.prototype.parse.apply(this,[t,e]);if(0!==s)return ts(s)&&s>0?s:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=ts(t)?Math.max(0,t):null,this.max=ts(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let s=this.min,i=this.max;const r=l=>s=t?s:l,o=l=>i=e?i:l,a=(l,c)=>Math.pow(10,Math.floor(Nr(l))+c);s===i&&(s<=0?(r(1),o(10)):(r(a(s,-1)),o(a(i,1)))),s<=0&&r(a(i,-1)),i<=0&&o(a(s,1)),this._zero&&this.min!==this._suggestedMin&&s===a(this.min,0)&&r(a(s,-1)),this.min=s,this.max=i}buildTicks(){const t=this.options,s=function Nmt(n,t){const e=Math.floor(Nr(t.max)),s=Math.ceil(t.max/Math.pow(10,e)),i=[];let r=Or(n.min,Math.pow(10,Math.floor(Nr(t.min)))),o=Math.floor(Nr(r)),a=Math.floor(r/Math.pow(10,o)),l=o<0?Math.pow(10,Math.abs(o)):1;do{i.push({value:r,major:U4(r)}),++a,10===a&&(a=1,++o,l=o>=0?1:l),r=Math.round(a*Math.pow(10,o)*l)/l}while(oi?{start:t-e,end:t}:{start:t,end:t+e}}function Ymt(n){const t={l:n.left+n._padding.left,r:n.right-n._padding.right,t:n.top+n._padding.top,b:n.bottom-n._padding.bottom},e=Object.assign({},t),s=[],i=[],r=n._pointLabels.length,o=n.options.pointLabels,a=o.centerPointLabels?Hn/r:0;for(let l=0;lt.r&&(a=(s.end-t.r)/r,n.r=Math.max(n.r,t.r+a)),i.startt.b&&(l=(i.end-t.b)/o,n.b=Math.max(n.b,t.b+l))}function Vmt(n){return 0===n||180===n?"center":n<180?"left":"right"}function Bmt(n,t,e){return"right"===e?n-=t:"center"===e&&(n-=t/2),n}function Umt(n,t,e){return 90===e||270===e?n-=t/2:(e>270||e<90)&&(n-=t),n}function z4(n,t,e,s){const{ctx:i}=n;if(e)i.arc(n.xCenter,n.yCenter,t,0,yn);else{let r=n.getPointPosition(0,t);i.moveTo(r.x,r.y);for(let o=1;o{const i=Ln(this.options.pointLabels.callback,[e,s],this);return i||0===i?i:""}).filter((e,s)=>this.chart.getDataVisibility(s))}fit(){const t=this.options;t.display&&t.pointLabels.display?Ymt(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,s,i){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((s-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,s,i))}getIndexAngle(t){return nr(t*(yn/(this._pointLabels.length||1))+Mo(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(Ze(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(Ze(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t=0;i--){const r=s.setContext(n.getPointLabelContext(i)),o=gs(r.font),{x:a,y:l,textAlign:c,left:u,top:h,right:m,bottom:v}=n._pointLabelItems[i],{backdropColor:D}=r;if(!Ze(D)){const C=ni(r.backdropPadding);e.fillStyle=D,e.fillRect(u-C.left,h-C.top,m-u+C.width,v-h+C.height)}gh(e,n._pointLabels[i],a,l+o.lineHeight/2,o,{color:r.color,textAlign:c,textBaseline:"middle"})}}(this,r),i.display&&this.ticks.forEach((c,u)=>{if(0!==u){a=this.getDistanceFromCenterForValue(c.value);!function zmt(n,t,e,s){const i=n.ctx,r=t.circular,{color:o,lineWidth:a}=t;!r&&!s||!o||!a||e<0||(i.save(),i.strokeStyle=o,i.lineWidth=a,i.setLineDash(t.borderDash),i.lineDashOffset=t.borderDashOffset,i.beginPath(),z4(n,e,r,s),i.closePath(),i.stroke(),i.restore())}(this,i.setContext(this.getContext(u-1)),a,r)}}),s.display){for(t.save(),o=r-1;o>=0;o--){const c=s.setContext(this.getPointLabelContext(o)),{color:u,lineWidth:h}=c;!h||!u||(t.lineWidth=h,t.strokeStyle=u,t.setLineDash(c.borderDash),t.lineDashOffset=c.borderDashOffset,a=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),l=this.getPointPosition(o,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,s=e.ticks;if(!s.display)return;const i=this.getIndexAngle(0);let r,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,l)=>{if(0===l&&!e.reverse)return;const c=s.setContext(this.getContext(l)),u=gs(c.font);if(r=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=u.string,o=t.measureText(a.label).width,t.fillStyle=c.backdropColor;const h=ni(c.backdropPadding);t.fillRect(-o/2-h.left,-r-u.size/2-h.top,o+h.width,u.size+h.height)}gh(t,a.label,0,-r,u,{color:c.color})}),t.restore()}drawTitle(){}}Wm.id="radialLinear",Wm.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:zM.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:n=>n,padding:5,centerPointLabels:!1}},Wm.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Wm.descriptors={angleLines:{_fallback:"grid"}};const tS={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Ni=Object.keys(tS);function qmt(n,t){return n-t}function W4(n,t){if(Ze(t))return null;const e=n._adapter,{parser:s,round:i,isoWeekday:r}=n._parseOpts;let o=t;return"function"==typeof s&&(o=s(o)),ts(o)||(o="string"==typeof s?e.parse(o,s):e.parse(o)),null===o?null:(i&&(o="week"!==i||!Lv(r)&&!0!==r?e.startOf(o,i):e.startOf(o,"isoWeek",r)),+o)}function q4(n,t,e,s){const i=Ni.length;for(let r=Ni.indexOf(n);r=t?e[s]:e[i]]=!0}}else n[t]=!0}function K4(n,t,e){const s=[],i={},r=t.length;let o,a;for(o=0;o=0&&(t[l].major=!0);return t}(n,s,i,e):s}class rb extends wh{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const s=t.time||(t.time={}),i=this._adapter=new Spt._date(t.adapters.date);kv(s.displayFormats,i.formats()),this._parseOpts={parser:s.parser,round:s.round,isoWeekday:s.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:W4(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,s=t.time.unit||"day";let{min:i,max:r,minDefined:o,maxDefined:a}=this.getUserBounds();function l(c){!o&&!isNaN(c.min)&&(i=Math.min(i,c.min)),!a&&!isNaN(c.max)&&(r=Math.max(r,c.max))}(!o||!a)&&(l(this._getLabelBounds()),("ticks"!==t.bounds||"labels"!==t.ticks.source)&&l(this.getMinMax(!1))),i=ts(i)&&!isNaN(i)?i:+e.startOf(Date.now(),s),r=ts(r)&&!isNaN(r)?r:+e.endOf(Date.now(),s)+1,this.min=Math.min(i,r-1),this.max=Math.max(i+1,r)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],s=t[t.length-1]),{min:e,max:s}}buildTicks(){const t=this.options,e=t.time,s=t.ticks,i="labels"===s.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const r=this.min,a=function dht(n,t,e){let s=0,i=n.length;for(;ss&&n[i-1]>e;)i--;return s>0||i=Ni.indexOf(e);r--){const o=Ni[r];if(tS[o].common&&n._adapter.diff(i,s,o)>=t-1)return o}return Ni[e?Ni.indexOf(e):0]}(this,a.length,e.minUnit,this.min,this.max)),this._majorUnit=s.major.enabled&&"year"!==this._unit?function Kmt(n){for(let t=Ni.indexOf(n)+1,e=Ni.length;t1e5*a)throw new Error(e+" and "+s+" are too far apart with stepSize of "+a+" "+o);const D="data"===i.ticks.source&&this.getDataTimestamps();for(m=h,v=0;mC-k).map(C=>+C)}getLabelForValue(t){const e=this._adapter,s=this.options.time;return s.tooltipFormat?e.format(t,s.tooltipFormat):e.format(t,s.displayFormats.datetime)}_tickFormatFunction(t,e,s,i){const r=this.options,o=r.time.displayFormats,a=this._unit,l=this._majorUnit,c=a&&o[a],u=l&&o[l],h=s[e],m=l&&u&&h&&h.major,v=this._adapter.format(t,i||(m?u:c)),D=r.ticks.callback;return D?Ln(D,[v,e,s],this):v}generateTickLabels(t){let e,s,i;for(e=0,s=t.length;e0?a:1}getDataTimestamps(){let e,s,t=this._cache.data||[];if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(e=0,s=i.length;e=n[s].pos&&t<=n[i].pos&&({lo:s,hi:i}=Wl(n,"pos",t)),({pos:r,time:a}=n[s]),({pos:o,time:l}=n[i])):(t>=n[s].time&&t<=n[i].time&&({lo:s,hi:i}=Wl(n,"time",t)),({time:r,pos:a}=n[s]),({time:o,pos:l}=n[i]));const c=o-r;return c?a+(l-a)*(t-r)/c:a}rb.id="time",rb.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class nS extends rb{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=eS(e,this.min),this._tableRange=eS(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:s}=this,i=[],r=[];let o,a,l,c,u;for(o=0,a=t.length;o=e&&c<=s&&i.push(c);if(i.length<2)return[{time:e,pos:0},{time:s,pos:1}];for(o=0,a=i.length;o-1};const dgt=function ugt(n,t){var e=this.__data__,s=iS(e,n);return s<0?(++this.size,e.push([n,t])):e[s][1]=t,this};function qm(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t-1&&n%1==0&&n<=9007199254740991};const iA=function wyt(n){return null!=n&&hU(n.length)&&!JL(n)};const Myt=function Dyt(n){return lb(n)&&iA(n)};const Cyt=function Syt(){return!1};var pU="object"==typeof exports&&exports&&!exports.nodeType&&exports,fU=pU&&"object"==typeof module&&module&&!module.nodeType&&module,mU=fU&&fU.exports===pU?Gm.Buffer:void 0;const gU=(mU?mU.isBuffer:void 0)||Cyt;var Lyt=Function.prototype,Ayt=Object.prototype,_U=Lyt.toString,Iyt=Ayt.hasOwnProperty,Pyt=_U.call(Object);const Ryt=function Oyt(n){if(!lb(n)||"[object Object]"!=aS(n))return!1;var t=lU(n);if(null===t)return!0;var e=Iyt.call(t,"constructor")&&t.constructor;return"function"==typeof e&&e instanceof e&&_U.call(e)==Pyt};var On={};On["[object Float32Array]"]=On["[object Float64Array]"]=On["[object Int8Array]"]=On["[object Int16Array]"]=On["[object Int32Array]"]=On["[object Uint8Array]"]=On["[object Uint8ClampedArray]"]=On["[object Uint16Array]"]=On["[object Uint32Array]"]=!0,On["[object Arguments]"]=On["[object Array]"]=On["[object ArrayBuffer]"]=On["[object Boolean]"]=On["[object DataView]"]=On["[object Date]"]=On["[object Error]"]=On["[object Function]"]=On["[object Map]"]=On["[object Number]"]=On["[object Object]"]=On["[object RegExp]"]=On["[object Set]"]=On["[object String]"]=On["[object WeakMap]"]=!1;const avt=function ovt(n){return lb(n)&&hU(n.length)&&!!On[aS(n)]};const cvt=function lvt(n){return function(t){return n(t)}};var yU="object"==typeof exports&&exports&&!exports.nodeType&&exports,cb=yU&&"object"==typeof module&&module&&!module.nodeType&&module,rA=cb&&cb.exports===yU&&Q4.process,dvt=function(){try{return cb&&cb.require&&cb.require("util").types||rA&&rA.binding&&rA.binding("util")}catch{}}();var bU=dvt&&dvt.isTypedArray;const wU=bU?cvt(bU):avt;const oA=function pvt(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]};var mvt=Object.prototype.hasOwnProperty;const _vt=function gvt(n,t,e){var s=n[t];(!mvt.call(n,t)||!sS(s,e)||void 0===e&&!(t in n))&&tA(n,t,e)};const vvt=function yvt(n,t,e,s){var i=!e;e||(e={});for(var r=-1,o=t.length;++r-1&&n%1==0&&n0){if(++t>=800)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}(Kvt);const ebt=tbt;const sbt=function nbt(n,t){return ebt(zvt(n,t,CU),n+"")};const rbt=function ibt(n,t,e){if(!Dh(e))return!1;var s=typeof t;return!!("number"==s?iA(e)&&DU(t,e.length):"string"==s&&t in e)&&sS(e[t],n)};var abt=function obt(n){return sbt(function(t,e){var s=-1,i=e.length,r=i>1?e[i-1]:void 0,o=i>2?e[2]:void 0;for(r=n.length>3&&"function"==typeof r?(i--,r):void 0,o&&rbt(e[0],e[1],o)&&(r=i<3?void 0:r,i=1),t=Object(t);++sthis.themeChanged(i)))}ngOnChanges(t){const e=["type"],s=Object.getOwnPropertyNames(t);if(s.some(i=>e.includes(i))||s.every(i=>t[i].isFirstChange()))this.render();else{const i=this.getChartConfiguration();this.chart&&(Object.assign(this.chart.config.data,i.data),Object.assign(this.chart.config.plugins,i.plugins),Object.assign(this.chart.config.options,i.options)),this.update()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(t=>t.unsubscribe())}render(){return this.chart&&this.chart.destroy(),this.zone.runOutsideAngular(()=>this.chart=new Zv(this.ctx,this.getChartConfiguration()))}update(t){this.chart&&this.zone.runOutsideAngular(()=>{var e;return null===(e=this.chart)||void 0===e?void 0:e.update(t)})}hideDataset(t,e){this.chart&&(this.chart.getDatasetMeta(t).hidden=e,this.update())}isDatasetHidden(t){var e,s;return null===(e=this.chart)||void 0===e||null===(s=e.getDatasetMeta(t))||void 0===s?void 0:s.hidden}toBase64Image(){var t;return null===(t=this.chart)||void 0===t?void 0:t.toBase64Image()}themeChanged(t){this.themeOverrides=t,this.chart&&(Object.assign(this.chart.config.options,this.getChartOptions()),this.update())}getChartOptions(){return EU({onHover:(t,e)=>{this.chartHover.observed&&e&&!e.length||this.zone.run(()=>this.chartHover.emit({event:t,active:e}))},onClick:(t,e)=>{!this.chartClick.observed||this.zone.run(()=>this.chartClick.emit({event:t,active:e}))}},this.themeOverrides,this.options,{plugins:{legend:{display:this.legend}}})}getChartConfiguration(){return{type:this.type,data:this.getChartData(),plugins:this.plugins,options:this.getChartOptions()}}getChartData(){return this.data?this.data:{labels:this.labels||[],datasets:this.datasets||[]}}}Zm.\u0275fac=function(t){return new(t||Zm)(Q(Fe),Q(ke),Q(Xm))},Zm.\u0275dir=Nt({type:Zm,selectors:[["canvas","baseChart",""]],inputs:{type:"type",legend:"legend",data:"data",options:"options",plugins:"plugins",labels:"labels",datasets:"datasets"},outputs:{chartClick:"chartClick",chartHover:"chartHover"},exportAs:["base-chart"],features:[bs]});const lbt=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]],cbt={datasets:{line:{backgroundColor:n=>Di(Mi(n.datasetIndex),.4),borderColor:n=>Di(Mi(n.datasetIndex),1),pointBackgroundColor:n=>Di(Mi(n.datasetIndex),1),pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:n=>Di(Mi(n.datasetIndex),.8)},bar:{backgroundColor:n=>Di(Mi(n.datasetIndex),.6),borderColor:n=>Di(Mi(n.datasetIndex),1),hoverBackgroundColor:n=>Di(Mi(n.datasetIndex),.8),hoverBorderColor:n=>Di(Mi(n.datasetIndex),1)},get radar(){return this.line},doughnut:{backgroundColor:n=>Di(Mi(n.dataIndex),.6),borderColor:"#fff",hoverBackgroundColor:n=>Di(Mi(n.dataIndex),1),hoverBorderColor:n=>Di(Mi(n.dataIndex),1)},get pie(){return this.doughnut},polarArea:{backgroundColor:n=>Di(Mi(n.dataIndex),.6),borderColor:n=>Di(Mi(n.dataIndex),1),hoverBackgroundColor:n=>Di(Mi(n.dataIndex),.8),hoverBorderColor:n=>Di(Mi(n.dataIndex),1)},get bubble(){return this.doughnut},get scatter(){return this.doughnut},get area(){return this.polarArea}}};function Di(n,t){return"rgba("+n.concat(t).join(",")+")"}function aA(n,t){return Math.floor(Math.random()*(t-n+1))+n}function Mi(n=0){return lbt[n]||function ubt(){return[aA(0,255),aA(0,255),aA(0,255)]}()}Zv.register(R4,V4,A4,O4,$m,Kl,eb,ZM,ib,Vv,nb,vh,tb,$v,Wm,VM,Uv,Bv,zv,nS);class Mh{}Mh.\u0275fac=function(t){return new(t||Mh)},Mh.\u0275prov=vt({token:Mh,factory:Mh.\u0275fac,providedIn:"root"});class yu{constructor(t){null!=t&&t.plugins&&Zv.register(...t?.plugins);const e=EU(cbt,t?.defaults||{});je.set(e)}static forRoot(t){return{ngModule:yu,providers:[{provide:Mh,useValue:t}]}}}yu.\u0275fac=function(t){return new(t||yu)(rt(Mh,8))},yu.\u0275mod=Dn({type:yu,declarations:[Zm],exports:[Zm]}),yu.\u0275inj=hn({imports:[[]]});let ub=class{constructor(t,e){this.ueHttp=t,this.ueTheme=e}getNews(){return this.ueHttp.get("/api/DVPRTLFE/developers/news")}getDeviceSummary(){return this.ueHttp.get("/api/DVPRTLFE/developers/device_dashboard")}};ub.ctorParameters=()=>[{type:xs},{type:Xc}],ub=nt([rs()],ub);let tg=class{constructor(t,e,s){this.dashboardService=t,this.router=e,this.changeDetectorRef=s,this.loading=!1,this.summaryData={},this.activeDeviceIndex=-1,this.deviceCount={count:0,color:"black",label:this.summaryData.total_devices>1?"Devices":"Device"},this.activeApplianceIndex=-1,this.applianceCount={count:0,color:"black",label:this.summaryData.total_servers>1?"Appliances":"Appliance"},this.doughnutChartType="doughnut",this.deviceChartData={labels:[],datasets:[]},this.deviceChartColors=["#52d052","#fb4336","#DBA448","#285984"],this.deviceChartOptions={responsive:!0,maintainAspectRatio:!1,plugins:{title:{display:!1},legend:{position:"right",align:"start",labels:{boxWidth:10,padding:5},onClick:null,onHover:(i,r)=>{this.updateDeviceCount(r.index)}},tooltip:{enabled:!1}},hover:{mode:"nearest",intersect:!0},onHover:(i,r)=>{r.length>0&&this.activeDeviceIndex!==r[0].index?this.updateDeviceCount(r[0].index):0===r.length&&-1!==this.activeDeviceIndex&&(this.activeDeviceIndex=-1,this.deviceCount={count:this.summaryData.total_devices,color:"black",label:this.summaryData.total_devices>1?"Devices":"Device"},this.changeDetectorRef.detectChanges())}},this.applianceChartData={labels:[],datasets:[]},this.applianceChartColors=["#52d052","#fb4336"],this.applianceChartOptions={responsive:!0,maintainAspectRatio:!1,plugins:{title:{display:!1},legend:{position:"right",align:"start",labels:{boxWidth:10,padding:5},onClick:null,onHover:(i,r)=>{this.updateApplianceCount(r.index)}},tooltip:{enabled:!1}},hover:{mode:"nearest",intersect:!0},onHover:(i,r)=>{r.length>0&&this.activeApplianceIndex!==r[0].index?this.updateApplianceCount(r[0].index):0===r.length&&-1!==this.activeApplianceIndex&&(this.activeApplianceIndex=-1,this.applianceCount={count:this.summaryData.total_servers,color:"black",label:this.summaryData.total_servers>1?"Appliances":"Appliance"},this.changeDetectorRef.detectChanges())}}}ngOnInit(){this.getNews(),this.getDeviceSummary()}getNews(){this.dashboardService.getNews().subscribe(t=>{this.articles=t.data},t=>{this.alert.newAlert("Error!",t.error,"danger")})}getDeviceSummary(){this.loading=!0,this.dashboardService.getDeviceSummary().subscribe(t=>{this.summaryData=t,this.handleSummaryData(),this.loading=!1},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.loading=!1})}handleSummaryData(){this.deviceChartData.datasets.push({data:[this.summaryData.devices_online,this.summaryData.devices_offline,this.summaryData.devices_pairing,this.summaryData.devices_processing],backgroundColor:this.deviceChartColors,hoverBackgroundColor:this.deviceChartColors,hoverBorderColor:this.deviceChartColors}),this.deviceChartData.labels=[`Online - ${this.summaryData.devices_online}`,`Offline - ${this.summaryData.devices_offline}`,`Pairing - ${this.summaryData.devices_pairing}`,`Processing - ${this.summaryData.devices_processing}`],this.applianceChartData.datasets.push({data:[this.summaryData.servers_online,this.summaryData.servers_offline],backgroundColor:this.applianceChartColors,hoverBackgroundColor:this.applianceChartColors,hoverBorderColor:this.applianceChartColors}),this.applianceChartData.labels=[`Online - ${this.summaryData.servers_online}`,`Offline - ${this.summaryData.servers_offline}`],this.deviceCount.count=this.summaryData.total_devices,this.applianceCount.count=this.summaryData.total_servers}updateDeviceCount(t){this.activeDeviceIndex=t;const e=this.deviceChartData.labels[t];this.deviceCount={count:this.deviceChartData.datasets[0].data[t],color:this.deviceChartColors[t],label:e.replace(/\s\-.*/,"")},this.changeDetectorRef.detectChanges()}updateApplianceCount(t){this.activeApplianceIndex=t;const e=this.applianceChartData.labels[t];this.applianceCount={count:this.applianceChartData.datasets[0].data[t],color:this.applianceChartColors[t],label:e.replace(/\s\-.*/,"")},this.changeDetectorRef.detectChanges()}onRowSelect(t){this.router.navigate(["servers",t.key])}};tg.ctorParameters=()=>[{type:ub},{type:se},{type:Uo}],tg.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}]},tg=nt([kt({selector:"ue-dashboard",template:'
    \n\n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n\n\t\n\n\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t Device Summary\n\t\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t

    {{deviceCount.count}}

    \n\t\t\t\t\t\t

    {{deviceCount.label}}

    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t Appliance Summary\n\t\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t

    {{applianceCount.count}}

    \n\t\t\t\t\t\t

    {{applianceCount.label}}

    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Appliance Table

    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t
    \n\n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n\n
    ',styles:["h1, h2, h3, h4, h5 {\n\tmargin: 0;\n}\n\n.widget-container {\n\tmax-width: 1300px;\n}\n\n.dash-card {\n\tborder-width: 1px;\n\tborder-style: solid;\n\tborder-color: #C2C2C2;\n\tmargin-bottom: 20px;\n}\n\n.dash-card-no-border {\n\tmargin-bottom: 20px;\n\twidth: 100%;\n}\n\n.dash-card-header {\n\twidth: 100%; \n\theight: 34px;\n\tborder-bottom-width: 1px;\n\tborder-bottom-style: solid;\n\tborder-bottom-color: #C2C2C2;\n\tpadding-left: 10px;\n\tcolor: #333;\n\tbackground: #fafafa;\n}\n\n.dash-card-no-border > .dash-card-header {\n\tborder-width: 1px;\n\tborder-style: solid;\n\tborder-color: #C2C2C2;\n}\n\n.dash-card-header strong{\n\tfont-size: 14px; \n\tline-height: 34px; \n\tletter-spacing: 0;\n}\n\n.dash-card-body {\n\tposition: relative;\n\tborder-top-width: 1px;\n\tborder-top-style: solid;\n\tborder-top-color: #e3e3e3;\n}\n\n.dash-card-loading {\n\tcolor: lightgrey;\n\ttext-align: center;\n\tpadding: 20px;\n}\n\n.chartCount {\n\tposition: absolute;\n\tbottom: 10px;\n\tright: 10px;\n\ttext-align: right;\n}\n\n@media only screen and (min-width: 768px) {\n\t.dash-card {\n\t\twidth: 100%;\n\t}\n\n\t.dash-card-body {\n\t\theight: 198px;\n\t\toverflow-y: scroll;\n\t}\n\n\t#applianceSummary {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t}\n}\n"]})],tg);const pbt=[{path:"",component:tg}];let lA=class{};lA=nt([Yn({imports:[En.forChild(pbt)],exports:[En]})],lA);let cA=class{};cA=nt([Yn({imports:[ua,lA,yu],declarations:[tg],providers:[ub]})],cA);let eg=class{constructor(t,e,s){this.ueHttp=t,this.router=e,this.ueTheme=s,this.baseUrl="/api/DVPRTLFE/developers",this.url=`${this.baseUrl}/endpoints`,this.queryParams={limit:0,offset:0,total:0}}getEndpoints(t){let e=this.url;return t&&(e+="?"+t),this.ueHttp.get(e)}getEndpointDetails(t){return this.ueHttp.get(this.url+"/"+t)}saveEndpoint(t,e){return this.ueHttp.put(this.url+"/"+t,e)}deleteEndpoint(t){return this.ueHttp.delete(this.url+"/"+t)}createEndpoint(t){return this.ueHttp.post(this.url,t)}createDocsUrl(t){let e=this.ueTheme.helpUrl;return"SOAP"===t.typename?e+="/developer/soap-api/":e+="/developer/rest-api/",e}getHelpUrl(){return this.ueTheme.helpUrl}getProdUrl(){return this.ueTheme.prodUrl}getSandboxUrl(){return this.ueTheme.sandboxUrl}getResellerSuffix(){return this.ueTheme.resellerSuffix}};eg.ctorParameters=()=>[{type:xs},{type:se},{type:Xc}],eg=nt([rs()],eg);let ng=class{constructor(t,e,s,i){this.endpointsService=t,this.router=e,this.route=s,this.authService=i,this.endpoints=[],this.canEdit=this.authService.checkPermissions("endpoints_edit"),this.canCreate=this.authService.checkPermissions("endpoints_create"),this.canDelete=this.authService.checkPermissions("endpoints_delete"),this.contextMenuItems=[]}ngOnInit(){this.getEndpoints(),this.buildContextMenu(),this.routerEventsSubscription=this.router.events.pipe(as(t=>t instanceof Ri&&(0===this.route.children.length||0===this.endpoints.length))).subscribe(t=>{const e=this.route.snapshot.queryParams;"true"===e.isNew&&(this.alert.newAlert("Success","Endpoint created","success"),this.router.navigate(["endpoints"],{replaceUrl:!0})),"true"===e.updated?(this.alert.newAlert("Success","Endpoint information has been successfully saved","success"),this.router.navigate(["endpoints"],{replaceUrl:!0})):(this.endpointsService.queryParams.limit=e.limit,this.endpointsService.queryParams.offset=e.offset,this.getEndpoints())})}getEndpoints(){let t="";for(const e in this.endpointsService.queryParams)this.endpointsService.queryParams[e]&&(t+=[e]+"="+this.endpointsService.queryParams[e]+"&");this.endpointsService.getEndpoints(t).subscribe(e=>{this.endpoints=e.data,this.updatePaginationObject(e)},e=>{this.alert.newAlert("Error!",e.error,"danger")})}buildContextMenu(){if(this.contextMenuItems=[],this.canEdit){const t={icon:"fa fa-edit",label:"Edit",command:e=>{this.onRowSelect(e)}};this.contextMenuItems.push(t)}else{const t={icon:"fa fa-list",label:"Details",command:e=>{this.onRowSelect(e)}};this.contextMenuItems.push(t)}if(this.canDelete){const t={icon:"glyphicon glyphicon-trash",label:"Delete",command:e=>{this.contextMenuTarget=e,this.confirmDeletionModal.open()}};this.contextMenuItems.push(t)}}onRowSelect(t){this.router.navigate(["/endpoints",t.key])}makeNewEndpoint(){this.router.navigate(["/endpoints","new"])}deleteEndpoint(t){this.endpointsService.deleteEndpoint(t.key).subscribe(e=>{this.alert.newAlert("Success","Deleted endpoint","success"),this.getEndpoints(),this.confirmDeletionModal.close()},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.confirmDeletionModal.close()})}goToPage(t){t.active||t.disabled||(this.endpointsService.queryParams.limit=t.limit,this.endpointsService.queryParams.offset=t.offset,this.updateQueryString())}updateQueryString(){const t={};for(const e in this.endpointsService.queryParams)this.endpointsService.queryParams[e]&&(t[e]=this.endpointsService.queryParams[e]);this.router.navigate(["/endpoints"],{queryParams:t})}updatePaginationObject(t){this.paginationComponent.updatePaginationObject(t.limit,t.offset,t.total),this.paginationComponent.updatePaginationLength(t.data.length)}updatePaginationTotal(t){this.paginationComponent.paginationObject.total+=t,this.paginationComponent.paginationObject.length+=t}ngOnDestroy(){this.routerEventsSubscription.unsubscribe()}createDocsUrl(t){return this.endpointsService.createDocsUrl(t)}openExternalLink(t,e){e.stopPropagation(),window.open(t)}showDocsColumn(){return!this.endpointsService.getHelpUrl().includes("disabled")}parseRateLimit(t){return"-1"===t?"Unlimited":t}parseDate(t){return"0000-00-00 00:00:00"===t?"1900-01-01 01:00:01":t}};ng.ctorParameters=()=>[{type:eg},{type:se},{type:fs},{type:kn}],ng.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}],paginationComponent:[{type:bt,args:[wo,{static:!0}]}],confirmDeletionModal:[{type:bt,args:["confirmDeletionModal",{static:!0}]}]},ng=nt([kt({selector:"ue-endpoints-list",template:'
    \n\t
    \n\t\t\n\t
    \n\t\n\t
    \n\t\tNew Endpoint\n\t
    \n
    \n\n\n\n
    \n\t
    \n\t\t\n\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{endpoint.typename + \' \' + endpoint.apiver}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{parseRateLimit(endpoint.ratelimit_daily)}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{parseRateLimit(endpoint.ratelimit)}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t {{parseDate(endpoint.created) | ueDate:\'MM/DD/YYYY\'}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\tSOAP docs\n\t\t\t\t\tREST docs\n\t\t\t\t\n\t\t\t\n\t\t\n
    \n
    \n\n\n\n\n\n\n\n',styles:[""]})],ng);let sg=class{constructor(t,e,s,i,r,o){this.route=t,this.endpointsService=e,this.formBuilder=s,this.router=i,this.window=r,this.authService=o,this.isNew=!1,this.isLoading=!1,this.canEdit=this.authService.checkPermissions("endpoints_edit"),this.canDelete=this.authService.checkPermissions("endpoints_delete"),this.showErrors=!1}ngOnInit(){this.myModal.open(),this.initForm();const t=this.route.snapshot.params;"new"===t.key?this.isNew=!0:(this.isNew=!1,this.isLoading=!0,this.endpointsService.getEndpointDetails(t.key).subscribe(e=>{this.isLoading=!1,this.endpointForm.patchValue(e)},e=>{this.isLoading=!1,this.alert.newAlert("Error!",e.error,"danger")}))}ngOnDestroy(){this.endpointFormSubscription&&this.endpointFormSubscription.unsubscribe()}initForm(){this.endpointForm=this.formBuilder.group({apitype:["",Pt.required],apiver:["",Pt.required],phone:["",[Pt.required,Pt.maxLength(32)]],title:["",[Pt.required,Pt.maxLength(32)]],version:["",[Pt.required,Pt.maxLength(32)]],typename:["",Pt.required],endpointkey:[""],key:[""],ratelimit_daily:[""],ratelimit:[""]}),this.endpointFormSubscription=this.endpointForm.get("typename").valueChanges.subscribe(t=>{let e="";"REST"===t&&(e="2"),this.isNew&&this.endpointForm.get("apiver").reset(e),this.isNew&&"REST"===t&&this.endpointForm.patchValue({apitype:"rest"})}),this.canEdit||this.endpointForm.disable()}sanitizeVersion(){this.endpointForm.patchValue({version:N1.rejectWhitespace(this.endpointForm.value.version)})}saveChanges(t){if(this.alert.closeAlert(),this.showErrors=!1,this.endpointForm.invalid)return this.showErrors=!0,this.alert.newAlert("Invalid Form!","The form is invalid. Please fill in all required fields.","danger");if(this.isNew)this.endpointsService.createEndpoint(this.endpointForm.value).subscribe(e=>{t?this.router.navigate(["/endpoints"],{queryParams:{isNew:!0}}):(this.isNew=!1,this.endpointForm.patchValue({endpointkey:e.endpointkey,key:e.key}),this.router.navigate(["/endpoints",e.key],{replaceUrl:!0}),this.endpointForm.markAsPristine(),this.alert.newAlert("Success!","New endpoint has been created","success"))},e=>{this.alert.newAlert("Error!",e.error,"danger")});else{const e=this.getUpdatedControls(this.endpointForm);this.endpointForm.markAsPristine(),this.endpointsService.saveEndpoint(this.endpointForm.get("key").value,e).subscribe(s=>{this.alert.newAlert("Success!","Endpoint information has been successfully saved","success"),t&&this.router.navigate(["/endpoints"],{queryParams:{updated:!0}})},s=>{this.alert.newAlert("Error!",s.error,"danger")})}}getUpdatedControls(t){const e={};for(const s in t.controls)t.controls[s].dirty&&(e[s]=t.controls[s].value);return e}confirmDelete(){this.confirmDeletionModal.open()}deleteEndpoint(){this.endpointsService.deleteEndpoint(this.endpointForm.get("key").value).subscribe(t=>{this.myModal.close()},t=>{this.alert.newAlert("Error!",t.error,"danger")})}createUrl(t){let e=this.endpointsService.getSandboxUrl();this.isNew&&(t.endpointkey="YOURKEY");const s=this.endpointsService.getResellerSuffix();return"SOAP"===t.typename?e+=`/soap/gate/${t.endpointkey}/${s}.wsdl`:e+=`/api/${t.endpointkey}`,e}getProdUrl(t){let e=this.endpointsService.getProdUrl();const s=this.endpointsService.getResellerSuffix();return"SOAP"===t.typename?e+=`/soap/gate/${t.endpointkey}/${s}.wsdl`:e+=`/api/${t.endpointkey}`,e}onCloseModal(){this.endpointForm.pristine?this.isNewAppWindow()?this.router.navigate(["/endpoints"]):this.myModal.close():this.confirmAbandonModal.isOpen?this.router.navigate(["/endpoints"]):this.confirmAbandonModal.open()}isNewAppWindow(){return 1===this.router.navigationId}onCopy(t){const e=document.createElement("input");document.body.appendChild(e);const s=document.getElementById(t);e.value=s.textContent,e.select(),document.execCommand("copy"),e.remove()}detectBrowser(){return document.queryCommandSupported("copy")}createDocsUrl(t){return this.endpointsService.createDocsUrl(t)}showDocs(){return!this.endpointsService.getHelpUrl().includes("disabled")}};sg.ctorParameters=()=>[{type:fs},{type:eg},{type:Zn},{type:se},{type:Zc},{type:kn}],sg.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}],myModal:[{type:bt,args:["myModal",{static:!0}]}],confirmDeletionModal:[{type:bt,args:["confirmDeletionModal",{static:!0}]}],confirmAbandonModal:[{type:bt,args:["confirmAbandonModal",{static:!0}]}]},sg=nt([kt({selector:"ue-endpoint-details",template:'\n\t\n\t\t

    New Endpoint

    \n\t\t

    \n\t\t\tAPI Endpoint: {{endpointForm.get(\'typename\').value}} - {{endpointForm.get(\'apiver\').value}}\n\t\t

    \n\t\t

    \n\t\t\t\n\t\t\t\tSandbox WSDL Key:\n\t\t\t\t{{createUrl(endpointForm.value)}}\n\t\t\t\t \n\t\t\t\t
    \n\t\t\t\tProduction WSDL Key:\n\t\t\t\t{{getProdUrl(endpointForm.value)}} \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tRate Limit: \n\t\t\t\t{{endpointForm.get(\'ratelimit_daily\').value}}/day, {{endpointForm.get(\'ratelimit\').value}}/min\n\t\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\tDocs: \n\t\t\t\t\t{{createDocsUrl(endpointForm.value)}}\n\t\t\t\t
    \n\t\t\t\n\t\t\t\n\t\t\t\tSandbox Base URL:\n\t\t\t\t{{createUrl(endpointForm.value)}} \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tProduction Base URL:\n\t\t\t\t{{getProdUrl(endpointForm.value)}}\n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tRate Limit: \n\t\t\t\t{{endpointForm.get(\'ratelimit_daily\').value}}/day, {{endpointForm.get(\'ratelimit\').value}}/min\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tDocs: \n\t\t\t\t\t{{createDocsUrl(endpointForm.value)}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t

    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t
    \n\t
    \n\t\n\t\tDelete\n\t\tClose\n\t\tApply\n\t\tSave\n\t\n
    \n\n\n\n\n\n\n',animations:[nm("slideDown",[Vl("void",bo({height:"0",overflow:"hidden"})),ou("void => *",ru("200ms ease-out"))])],styles:[".fa-clipboard {\n\tcursor: pointer;\n}"]})],sg);const ybt=[{path:"",component:ng,children:[{path:":key",component:sg}]}];let uA=class{};uA=nt([Yn({imports:[En.forChild(ybt)],exports:[En]})],uA);let dA=class{};dA=nt([Yn({imports:[ua,uA],declarations:[ng,sg],providers:[eg]})],dA);let Sh=class{constructor(t){this.http=t,this.baseUrl="/api/DVPRTLFE/developers",this.profileUrl="/api/DVPRTLFE/developers/profile"}getProfile(){return this.http.get(`${this.baseUrl}/profile`)}updateProfile(t){return this.http.put(this.profileUrl,t)}getUser(){return this.http.get(`${this.baseUrl}/user-profile`)}updateUser(t){return this.http.put(`${this.baseUrl}/user-profile`,t)}changePassword(t){return this.http.post(this.baseUrl+"/change_password",t)}leaveCompany(t){const e={member_key:t};return this.http.post(`${this.baseUrl}/leave`,e)}getCompanyList(){return this.http.get(`${this.baseUrl}/companies`)}checkoutCompany(t){return this.http.post(`${this.baseUrl}/explore`,{member_key:t})}};Sh.ctorParameters=()=>[{type:xs}],Sh=nt([rs()],Sh);class kU{constructor(t){if(t)for(const e in t)t.hasOwnProperty(e)&&(this[e]=t[e])}}let ig=class{constructor(t,e,s,i){this.formBuilder=t,this.profileService=e,this.router=s,this.authService=i,this.validationError=!1,this.canEdit=this.authService.checkPermissions("profile_edit")}ngOnInit(){this.profileService.getProfile().subscribe(t=>{this.profile=new kU(t),this.initForm()},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.profile=new kU(null),this.initForm()})}initForm(){const t=this.profile;this.profileForm=this.formBuilder.group({company:[t.company,Pt.required],contact:[t.contact,Pt.required],address1:[t.address1],address2:[t.address2],city:[t.city],state:[t.state],zip:[t.zip],country:[t.country],phone:[t.phone]}),this.canEdit||this.profileForm.disable()}saveProfile(){if(this.profileForm.invalid)return this.validationError=!0,void this.alert.newAlert("Invalid Form!","The form is invalid. Please fill in all required fields.","danger");const t={};for(const e in this.profileForm.controls)this.profileForm.get(e).value!==this.profile[e]&&(t[e]=this.profileForm.controls[e].value);this.profileForm.markAsPristine(),this.profileService.updateProfile(t).subscribe(e=>{this.alert.newAlert("Success!","Profile information has been successfully saved","success"),this.profile=this.profileForm.value},e=>{this.validationError=!0,this.alert.newAlert("Error!",e.error,"danger")})}};ig.ctorParameters=()=>[{type:Zn},{type:Sh},{type:se},{type:kn}],ig.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}]},ig=nt([kt({selector:"ue-company-profile",template:'\n\n\n
    \n\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\n\t\t
    \n\t\t
    \t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\tSave\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t
    \n
    \n',styles:["input.empty {\n\tpadding-top: 14px;\n}"]})],ig);let rg=class{constructor(t,e){this.formBuilder=t,this.profileService=e,this.validationError=!1}ngOnInit(){this.changePWForm=this.formBuilder.group({current_password:["",Pt.required],password:["",[Pt.required,Pt.minLength(6)]],password_confirm:["",[Pt.required,Pt.minLength(6)]]},{validator:this.passwordMatch})}passwordMatch(t){return t.controls.password_confirm.value===t.controls.password.value?null:{error:!0}}changePassword(){if(this.changePWForm.invalid)return this.alert.newAlert("Invalid Form!","Please fill in all required fields","danger"),void(this.validationError=!0);this.changePWForm.markAsPristine(),this.profileService.changePassword(this.changePWForm.value).subscribe(t=>{this.alert.newAlert("Success!","Your password has been successfully changed!","success")},t=>{this.alert.newAlert("Error!",t.error,"danger")})}};rg.ctorParameters=()=>[{type:Zn},{type:Sh}],rg.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}]},rg=nt([kt({selector:"ue-change-password",template:'\n\n\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\tChange Password\n\t
    \n
    ',styles:[""]})],rg);class TU{constructor(t){if(t)for(const e in t)t.hasOwnProperty(e)&&(this[e]=t[e])}}let og=class{constructor(t,e,s,i,r,o){this.formBuilder=t,this.profileService=e,this.authService=s,this.router=i,this.sessionTimeoutService=r,this.ueHttp=o,this.validationError=!1,this.memberships=[]}ngOnInit(){this.getUser(),this.getProfile(),this.getMemberships()}getUser(){this.profileService.getUser().subscribe(t=>{this.user=new TU(t),this.initForms()},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.user=new TU(null),this.initForms()})}getProfile(){this.profileService.getProfile().subscribe(t=>{this.currentCompany=t.company},t=>{this.alert.newAlert("Error!",t.error,"danger")})}getMemberships(){this.profileService.getCompanyList().subscribe(t=>{this.memberships=t.data},t=>{this.alert.newAlert("Error!",t.error,"danger")})}initForms(){const t=this.user;this.updateUserForm=this.formBuilder.group({contact:[t.contact,Pt.required],email:[t.email,[Pt.required,Pt.email]],company:[t.company,[Pt.required]]})}updateUser(){if(this.updateUserForm.invalid)return this.alert.newAlert("Invalid Form!","Please fill in all required fields","danger"),void(this.validationError=!0);this.updateUserForm.markAsPristine(),this.profileService.updateUser(this.updateUserForm.value).subscribe(t=>{this.alert.newAlert("Success!","Your user profile has been successfully updated!","success")},t=>{this.alert.newAlert("Error!",t.error,"danger")})}clickLeaveCompany(t){this.leaveCompanyTarget=t,1===this.memberships.length?this.confirmLeaveLastMembershipModal.open():t.company===this.currentCompany?this.confirmLeaveCurrentMembershipModal.open():this.confirmDeletionModal.open()}leaveCompany(t){this.confirmDeletionModal.close(),this.profileService.leaveCompany(this.leaveCompanyTarget.key).subscribe(e=>{this.alert.newAlert("Success!",`You have been successfully removed from ${this.leaveCompanyTarget.company}`,"success"),t?this.logout():this.refreshPage()},e=>{this.alert.newAlert("Error!",e.error,"danger")})}refreshPage(){window.location.reload()}logout(){this.authService.logout().subscribe(t=>{this.router.navigate(["/login"],{queryParams:{loggedOut:!0}})},t=>{this.router.navigate(["/login"],{queryParams:{loggedOut:!0}})})}};og.ctorParameters=()=>[{type:Zn},{type:Sh},{type:kn},{type:se},{type:oa},{type:xs}],og.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}],confirmDeletionModal:[{type:bt,args:["confirmDeletionModal",{static:!0}]}],confirmLeaveLastMembershipModal:[{type:bt,args:["confirmLeaveLastMembershipModal",{static:!0}]}],confirmLeaveCurrentMembershipModal:[{type:bt,args:["confirmLeaveCurrentMembershipModal",{static:!0}]}]},og=nt([kt({selector:"ue-user-profile",template:'\n\n\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tUpdate User\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t
    \n\t\t

    Your Memberships

    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    {{membership.company}}

    \n\t\t\t\t\tLeave\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\n\n\n\n\n\n\n\n',styles:["hr {\n\tmargin: 0;\n}\n\n.company-tab {\n\tpadding: 10px 10px 10px 10px;\n\tmargin-bottom: 1.5em;\n\theight: 43px;\n\twidth: 100%;\n}\n\n.company-tab > p {\n\tfont-size: 15px\n}\n\n@media (max-width: 992px) {\n\t.align-top {\n\t\tmargin-top:35px;\n\t}\n}\n\n@media (min-width: 992px) {\n\t.align-top {\n\t\ttop: -36px;\n\t}\n}"]})],og);const Cbt=[{path:"company",canActivate:[ha],component:ig},{path:"user",component:og},{path:"change-password",component:rg}];let hA=class{};hA=nt([Yn({imports:[En.forChild(Cbt)],exports:[En]})],hA);let pA=class{};pA=nt([Yn({imports:[ua,hA],declarations:[ig,rg,og],providers:[Sh]})],pA);let db=class{constructor(t){this.ueHttp=t,this.baseUrl="/api/DVPRTLFE",this.url=`${this.baseUrl}/developers`}requestAccount(t){return this.ueHttp.post(this.url+"/request_test_account",t)}};db.ctorParameters=()=>[{type:xs}],db=nt([rs()],db);let ag=class{constructor(t,e){this.formBuilder=t,this.requestService=e,this.validationError=!1}ngOnInit(){this.requestForm=this.formBuilder.group({username:["",Pt.required],name:["",Pt.required],company:["",Pt.required],email:["",Pt.required]})}submitForm(){if(this.requestForm.invalid)return this.validationError=!0,this.alert.newAlert("Invalid Form!","Please fill in all required fields","danger");this.requestForm.markAsPristine(),this.requestService.requestAccount(this.requestForm.value).subscribe(t=>{this.alert.newAlert("Success!","Your request has been succesfully submitted. Please allow 1-2 business days for the test account to be created.","success")},t=>{this.validationError=!0,this.alert.newAlert("Error!",t.error,"danger")})}};ag.ctorParameters=()=>[{type:Zn},{type:db}],ag.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}]},ag=nt([kt({selector:"ue-request-test-account",template:'\n\n
    \n\t
    \n\t\t
    \n\t\t\t If your client, the merchant, has not yet set up a live gateway account, a sandbox account will allow you to develop your\n\t\t\tapplication without delay. The sandbox environment exactly mimics the Merchant Console (live account) so that you can expect\n\t\t\tthe same results once your account is live. The only work required to make the switch is to replace your sandbox source keys\n\t\t\twith the live ones. The Test Mode on our live servers is extremely limited and unfriendly in terms of developing an application.\n\t\t\tIt does not generate any fake approval codes other than TESTMD and it does not store a transaction record. A sandbox account\n\t\t\twill generate approval codes, return all of the variables you request and store a transaction record from which reports can\n\t\t\tbe generated.\n\t\t
    \n\t
    \n\t\n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\tSubmit Request\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\t\n',styles:[""]})],ag);const kbt=[{path:"",component:ag}];let fA=class{};fA=nt([Yn({imports:[En.forChild(kbt)],exports:[En]})],fA);let mA=class{};mA=nt([Yn({imports:[fA,ua],declarations:[ag],providers:[db]})],mA);let vu=class{constructor(t){this.ueHttp=t,this.emitProgressModal=new Mt,this.baseUrl="/api/DVPRTLFE/developers",this.url=`${this.baseUrl}/devices`,this.filterColumns=["@apikey_masked","@devicekey_masked","@merchant_company","@name","@label","@device_type","@make","@model","@revision","@serial","@server_key","@status","@env","@device_ip","@isPairing","@isBadkey","@isOffline","@isOnline"],this.queryParams={filters:"",limit:0,offset:0,total:0,sort:"name",sortDir:"desc",refresh:!1}}getAllDevices(t){let e=this.url;return t&&(e+="?"+t),this.ueHttp.get(e)}getDevice(t,e){return this.ueHttp.get(this.url+"/"+t,e)}saveNewDevice(t){return this.ueHttp.post(this.url,t)}saveDevice(t){return this.ueHttp.put(this.url+"/"+t.key,t)}refreshList(t,e){let s=this.url;return t&&(s+="?"+t),this.queryParams.refresh=!1,this.ueHttp.get(s,e)}refreshDevice(t,e){return this.getDevice(t+"?refresh=true",e)}resetDevice(t){return this.ueHttp.post(this.url+"/"+t+"/reset",null)}updateDevice(t){return t.notify_update_next=!0,this.ueHttp.put(this.url+"/"+t.key,t)}deleteDevice(t,e){const s=e?"?hard_delete=true":"";return this.ueHttp.delete(this.url+"/"+t+s)}assignBranding(t,e){return this.ueHttp.put(this.url+"/"+t+"/branding",{brand:e})}bulkResetDevices(t){return Ey(t.map(s=>this.ueHttp.post(this.url+"/"+s+"/reset",null).pipe(Cs(i=>Bt(i)))))}bulkUpdateDevices(t){return Ey(t.map(s=>(s.notify_update_next=!0,this.ueHttp.put(this.url+"/"+s.key,s).pipe(Cs(i=>Bt(i))))))}bulkDeleteDevices(t,e){return Ey(t.map(i=>{const r=e?"?hard_delete=true":"";return this.ueHttp.delete(this.url+"/"+i+r).pipe(Cs(o=>Bt(o)))}))}getStatusColor(t){switch(t){case"waiting for device pairing":return"#DDA53E";case"paired":return"#C79121";case"connected":return"#55915B";case"updating terminal":return"#498BBE";case"processing transaction":return"#3c7299";case"offline":default:return"";case"deleted":return"#C3323D"}}parseStatus(t){return"waiting for device pairing"===t?"Pairing":t}getDeviceIcon(t){switch(t){case"isc480":return"um um-ingenico";case"mx915":return"um um-verifone";case"MP200":return"um um-castle";case"vega3000l":case"vega3000":return"um um-v3-device";default:return"glyphicon glyphicon-phone"}}updateDeviceVersion(t){return this.ueHttp.put(this.url+"/"+t,{notify_update_next:!0})}getSuggestions(t){t=t.toLowerCase();const s=this.filterColumns.filter(i=>-1!==(i=i.toLowerCase()).indexOf(t));return[].concat(s)}pendingText(t){return t.update_available&&(t.notify_update||t.notify_update_next)?"Pending Update":t.update_available?"Update Available":null}};vu.ctorParameters=()=>[{type:xs}],vu.propDecorators={emitProgressModal:[{type:Ee}]},vu=nt([hr(),rs()],vu);let lg=class{constructor(t,e,s,i,r,o,a){this.deviceService=t,this.router=e,this.route=s,this.authService=i,this.sessionTimeoutService=r,this.labelServcie=o,this.document=a,this.devices=[],this.devicesToUpdate=[],this.refreshing=!1,this.selectedRows=[],this.hardDelete=!1,this.deviceString="device",this.canCreate=this.authService.checkPermissions("devices_create"),this.canDelete=this.authService.checkPermissions("devices_delete"),this.menuItemsSelected=[{icon:"fa fa-retweet",label:"Reset Selected",command:()=>{this.selectedRows.length>0?(this.deviceString=this.selectedRows.length>1?"devices":"device",this.confirmBulkResetModal.open()):this.alert.newAlert("Error!","No items selected.","danger")}},{icon:"fa fa-caret-square-o-up",label:"Update Selected",command:()=>{this.selectedRows.length>0?(this.devicesToUpdate=this.selectedRows.filter(l=>l.update_available),this.deviceString=this.devicesToUpdate.length>1?"devices":"device",this.devicesToUpdate.length>0?this.confirmBulkUpdateModal.open():this.alert.newAlert("Error!",`No updates available for the selected ${this.deviceString}.`,"warning")):this.alert.newAlert("Error!","No items selected.","danger")}},{icon:"fa fa-trash-o",label:"Delete Selected",command:()=>{this.selectedRows.length>0?(this.deviceString=this.selectedRows.length>1?"devices":"device",this.confirmBulkDeletionModal.open()):this.alert.newAlert("Error!","No items selected.","danger")}}],this.menuItemsAll=[{icon:"fa fa-retweet",label:"Reset All",command:()=>{this.selectedRows=this.devices,this.deviceString=this.selectedRows.length>1?"devices":"device",this.confirmBulkResetModal.open()}},{icon:"fa fa-caret-square-o-up",label:"Update All",command:()=>{this.devicesToUpdate=this.devices.filter(l=>l.update_available),this.deviceString=this.selectedRows.length>1?"devices":"device",this.devicesToUpdate.length>0?this.confirmBulkUpdateModal.open():this.alert.newAlert("Error!",`No updates available for selected ${this.deviceString}.`,"warning")}},{icon:"fa fa-trash-o",label:"Delete All",command:()=>{this.selectedRows=this.devices,this.deviceString=this.selectedRows.length>1?"devices":"device",this.confirmBulkDeletionModal.open()}}],this.filterControl=new Yc,this.labelSelect=!1,this.labels=[]}ngOnInit(){this.updateServiceQueryParams(),this.subscribeProgressModal(),this.getDevices(),this.getLabels(),this.routerEventsSubscription=this.router.events.pipe(as(t=>t instanceof Ri&&(0===this.route.children.length||0===this.devices.length)),as(()=>!this.handleQueryParamsAlerts())).subscribe(()=>{this.startPolling(),this.getDevices()}),this.startPolling()}ngOnDestroy(){this.progressModalSubscription.unsubscribe(),this.routerEventsSubscription.unsubscribe(),this.pollingInterval&&clearInterval(this.pollingInterval)}handleQueryParamsAlerts(){const t=this.route.snapshot.queryParams;return"true"===t.isNew?(this.alert.newAlert("Success","Device has been successfully created","success"),this.router.navigate(["devices"],{replaceUrl:!0}),!0):"true"===t.updated?(this.alert.newAlert("Success","Device information has been successfully saved","success"),this.router.navigate(["devices"],{replaceUrl:!0}),!0):(this.updateServiceQueryParams(),!1)}subscribeProgressModal(){this.progressModalSubscription=this.deviceService.emitProgressModal.subscribe(t=>{"start"===t.type?this.progressModalComponent.startModal(t.message):"update"===t.type&&setTimeout(()=>this.progressModalComponent.updateModal(t.status,t.message),2e3)})}updateServiceQueryParams(){const t=this.route.snapshot.queryParams;this.deviceService.queryParams.filters=t.filters,this.deviceService.queryParams.limit=t.limit,this.deviceService.queryParams.offset=t.offset,this.deviceService.queryParams.sort=t.sort,this.deviceService.queryParams.sortDir=t.sortDir,this.deviceService.queryParams.filters&&this.filterControl.patchValue(this.deviceService.queryParams.filters)}navigateToServer(t,e){t.stopPropagation(),e&&this.router.navigate(["/servers",e],{queryParams:{viewOnly:!0}})}refreshList(t){this.refreshing=!0;let e="";this.deviceService.queryParams.refresh=!0;for(const s in this.deviceService.queryParams)this.deviceService.queryParams[s]&&(e+=[s]+"="+this.deviceService.queryParams[s]+"&");this.deviceService.refreshList(e,!t).subscribe(s=>{this.refreshing=!1,this.devices=s.data,t&&this.alert.newAlert("Success!","List has been refreshed","success")},s=>{this.refreshing=!1,t&&this.alert.newAlert("Error!",s.error,"danger")})}getDevices(){let t="";for(const e in this.deviceService.queryParams)this.deviceService.queryParams[e]&&(t+=[e]+"="+this.deviceService.queryParams[e]+"&");this.isLoading=!0,this.deviceService.getAllDevices(t).subscribe(e=>{this.devices=e.data,this.keepSelectedDevices(e.data),this.updatePaginationObject(e),this.isLoading=!1,this.refreshList(!1)},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.isLoading=!1})}getLabels(){this.labelServcie.getLabels().subscribe(t=>{this.labels=t.data},t=>{this.alert.newAlert("Error!",t.error,"danger")})}selectLabelSuggestion(t){this.filterControl.patchValue(this.filterControl.value+" "+t),this.updateFilter(t)}getLabelSuggestions(t){"@label"===t&&(t="");const e=this.labels.filter(s=>-1!==s.title.toLowerCase().indexOf(t.toLowerCase()));this.labelSuggestions=e}keepSelectedDevices(t){this.selectedRows=t.filter(e=>-1!==this.selectedRows.map(s=>s.key).indexOf(e.key))}startPolling(){this.pollingInterval&&clearInterval(this.pollingInterval),this.pollingInterval=setInterval(()=>{!document.hidden&&this.router.url.split("/").length<3&&!this.sessionTimeoutService.countdownOpen&&!this.refreshing&&this.refreshList(!1)},3e4)}onRowSelect(t){this.pollingInterval&&clearInterval(this.pollingInterval),this.router.navigate(["/devices",t])}onSort(t){this.deviceService.queryParams.sort===t?"desc"===this.deviceService.queryParams.sortDir?this.deviceService.queryParams.sortDir="asc":(this.deviceService.queryParams.sort="",this.deviceService.queryParams.sortDir=""):(this.deviceService.queryParams.sort=t,this.deviceService.queryParams.sortDir="desc"),this.deviceService.queryParams.offset=0,this.updateQueryString()}getFilterSuggestions(t){const e=t.split(" "),s=e[e.length-1];"@label"===e[e.length-2]||"@label"===s?this.labelSelect=!0:this.labelSelect=!1,this.labelSelect?(this.getLabelSuggestions(s),this.suggestions=[]):this.suggestions=this.deviceService.getSuggestions(s)}updateFilter(t){"@label"===t?(this.labelSelect=!0,this.getLabelSuggestions("")):this.labelSelect=!1,!(this.deviceService.filterColumns.indexOf(t)>-1&&"is"!==t.substring(1,3))&&(this.deviceService.queryParams.filters=this.filterControl.value,this.deviceService.queryParams.offset=0,this.updateQueryString())}goToPage(t){t.active||t.disabled||(this.deviceService.queryParams.limit=t.limit,this.deviceService.queryParams.offset=t.offset,this.updateQueryString())}updateQueryString(){const t={};for(const e in this.deviceService.queryParams)this.deviceService.queryParams[e]&&(t[e]=this.deviceService.queryParams[e]);this.router.navigate(["/devices"],{queryParams:t})}updatePaginationObject(t){this.paginationComponent.updatePaginationObject(t.limit,t.offset,t.total),this.paginationComponent.updatePaginationLength(t.data.length)}updatePaginationTotal(t){this.paginationComponent.paginationObject.total+=t,this.paginationComponent.paginationObject.length+=t}pendingText(t){return this.deviceService.pendingText(t)}getContrastYIQ(t){return(299*parseInt(t.substr(1,2),16)+587*parseInt(t.substr(3,2),16)+114*parseInt(t.substr(5,2),16))/1e3>=165?"black":"white"}updateCheckedRows(t){this.selectedRows=t}deleteModalOpen(){this.hardDelete=!1}bulkResetDevices(){this.confirmBulkResetModal.close(),this.deviceService.emitProgressModal.emit({type:"start",message:`Resetting ${this.deviceString}.`}),this.deviceService.bulkResetDevices(this.selectedRows.map(t=>t.key)).subscribe(t=>{const e=t.filter(s=>!s.error).length;0===e?(this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:`Not able to reset the selected ${this.deviceString}.`}),this.alert.newAlert("Error",`Not able to reset the selected ${this.deviceString}.`,"danger")):e1?"devices":"device",this.deviceService.emitProgressModal.emit({type:"update",status:"success",message:`Reset ${this.selectedRows.length} ${this.deviceString}`}),this.alert.newAlert("Success",`Reset ${this.selectedRows.length} ${this.deviceString}`,"success")),this.getDevices()},t=>{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:t.error}),this.alert.newAlert(`${t.errorcode}`,`${t.error}`,"danger"),this.getDevices()})}bulkUpdateDevices(){this.confirmBulkUpdateModal.close(),this.deviceService.emitProgressModal.emit({type:"start",message:`Sending update request to ${this.deviceString}.`}),this.deviceService.bulkUpdateDevices(this.devicesToUpdate).subscribe(t=>{const e=t.filter(s=>!s.error).length;0===e?(this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:`Not able to send update request to the selected ${this.deviceString}.`}),this.alert.newAlert("Error",`Not able to send update request to the selected ${this.deviceString}.`,"danger")):e{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:t.error}),this.alert.newAlert(`${t.errorcode}`,`${t.error}`,"danger"),this.getDevices()})}bulkDeleteDevices(){this.confirmBulkDeletionModal.close(),this.deviceService.emitProgressModal.emit({type:"start",message:`Deleting ${this.deviceString}.`}),this.deviceService.bulkDeleteDevices(this.selectedRows.map(t=>t.key),this.hardDelete).subscribe(t=>{const e=t.filter(s=>!s.error).length;0===e?(this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:`Not able to delete the selected ${this.deviceString}.`}),this.alert.newAlert("Error",`Not able to delete the selected ${this.deviceString}.`,"danger")):e{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:t.error}),this.alert.newAlert(`${t.errorcode}`,`${t.error}`,"danger"),this.getDevices()})}};lg.ctorParameters=()=>[{type:vu},{type:se},{type:fs},{type:kn},{type:oa},{type:Hm},{type:Document,decorators:[{type:Xh,args:[Se]}]}],lg.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}],paginationComponent:[{type:bt,args:[wo,{static:!0}]}],progressModalComponent:[{type:bt,args:[Bl,{static:!0}]}],confirmBulkResetModal:[{type:bt,args:["confirmBulkResetModal",{static:!0}]}],confirmBulkUpdateModal:[{type:bt,args:["confirmBulkUpdateModal",{static:!0}]}],confirmBulkDeletionModal:[{type:bt,args:["confirmBulkDeletionModal",{static:!0}]}]},lg=nt([kt({selector:"ue-devices-list",template:'
    \n\t
    \n\t\t\n\t
    \n\t\n\t
    \n\t\t
    \n\t\t\tSelect Label to Search: \n\t\t\t
      \n\t\t\t\t
    • \n\t\t\t\t\t\n\t\t\t\t\t{{label.title}}\n\t\t\t\t
    • \n\t\t\t
    \n\t\t
    \n\t\t\n\t\t\n\n\t\tAdd Device\n\t\tImport\n\t\t\x3c!-- Update All Devices --\x3e\n\t\t\n\t\t\n\t
    \n
    \n\n\n\n\n
    \n\t
    \n\t\t\x3c!-- context menu goes here --\x3e\n\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.name }}\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.merchant_company }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{deviceService.parseStatus(device.status)}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ device.device_type }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ device.device_type }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ device.device_type }}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.env }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.make ? device.make : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.model ? device.model : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.key_pan ? device.key_pan : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.key_pin ? device.key_pin : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.device_ip ? device.device_ip : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t...{{ device.devicekey_masked }}\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t...{{ device.apikey_masked }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.serial ? device.serial : \'N/A\' }}\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.revision ? device.revision : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{pendingText(device)}} \t\n\t\t\t\t\tN/A \t\n\t\t\t\t\n\t\t\t\n\t\t\n\t
    \n
    \n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\t

    Confirm Bulk Delete

    \n\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    You are about to remove {{this.selectedRows.length}} {{this.deviceString}} from your list. Are you sure you want to continue?
    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tWarning! You are about to remove {{this.selectedRows.length}} {{this.deviceString}} from your list and the device manager. The {{this.deviceString}} will no longer exist and this action cannot be undone.\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tDelete\n\t\n
    \n\n\n',styles:[".label-suggestions {\n\tz-index: 1000; \n\tborder: 1px solid lightgray; \n\tposition: absolute; \n\tbackground-color: white; \n\tdisplay: inline-block; \n\tright: 371px; \n\ttop: 32px;\n\ttext-align: left;\n\tborder-radius: 6px;\n\twidth: 289px;\n}\n.label-suggestions > ul {\n\tmargin: 0;\n\tpadding: 0;\n}\n.label-suggestions > strong {\n\tdisplay: block;\n\tpadding: 5px 10px;\n\tfont-size: 14px;\n}\n.label-dot {\n\tdisplay: inline-block;\n\tmargin-top: 3px;\n margin-right: 10px;\n\theight: 12px;\n\twidth: 12px;\n\tborder-radius: 7px;\n\tborder: 1px solid lightgray;\n\tbackground-color: #999;\n}\n.list-label {\n\tpadding: 5px 10px 5px 10px; \n\ttext-align: left;\n}\n.list-label:hover {\n\tbackground-color: lightgray;\n\tcursor: pointer;\n}\n@media screen and (max-width: 991px) {\n\t.label-suggestions {\n\t\tright: 139px;\n\t}\n}\n@media screen and (max-width: 430px) {\n\t.label-suggestions {\n\t\twidth: 179px;\n\t\tright: 139px;\n\t}\n}"]})],lg);let Co=class{constructor(t,e){this.ueHttp=t,this.http=e,this.emitProgressModal=new Mt,this.baseUrl="/api/DVPRTLFE/developers",this.url=`${this.baseUrl}/device_servers`,this.filterColumns=["@name","@status","@uptime","@revision","@clientip","@env"],this.queryParams={filters:"",limit:0,offset:0,total:0,sort:"name",sortDir:"desc",refresh:!1}}getServerList(t){let e=this.url;return t&&(e+="?"+t),this.ueHttp.get(e)}refreshList(t){let e=this.url;return t&&(e+="?"+t),this.queryParams.refresh=!1,this.ueHttp.get(e)}getServer(t){return this.ueHttp.get(this.url+"/"+t)}refreshServer(t){return this.getServer(t+"?refresh=true")}saveServer(t){return this.ueHttp.post(this.url,t)}deleteServer(t){return this.ueHttp.delete(this.url+"/"+t)}exportDevices(t){const e={headers:this.ueHttp.getAuthHeader(),responseType:"text"};return this.http.get(this.url+`/${t}/export`,e)}getSuggestions(t){t=t.toLowerCase();const s=this.filterColumns.filter(i=>-1!==(i=i.toLowerCase()).indexOf(t));return[].concat(s)}};Co.ctorParameters=()=>[{type:xs},{type:go}],Co.propDecorators={emitProgressModal:[{type:Ee}]},Co=nt([hr(),rs()],Co);let cg=class{constructor(t,e,s,i,r,o,a,l,c){this.router=t,this.route=e,this.formBuilder=s,this.serverService=i,this.deviceService=r,this.authService=o,this.sessionTimeoutService=a,this.labelService=l,this.el=c,this.servers=[],this.isLoading=!1,this.refreshing=!1,this.hardDelete=!1,this.deleteModalIsOpen=!1,this.brandingName="",this.deviceType=1,this.showValidation=!1,this.deviceError=!1,this.disableSave=!1,this.confirmUpdateModalOpen=!1,this.canEdit=this.authService.checkPermissions("devices_edit"),this.canDelete=this.authService.checkPermissions("devices_delete"),this.editLabels=!1,this.addLabel=!1,this.editLabelMode=!1,this.labelsLoading=!1,this.labels=[],this.labelKeysOnLoad=[],this.colorSuggestions=["#f07f80","#ffa07a","#f3f2a5","#90ef90","#b4fefb","#add8e6","#d98ed9","#d3d3d3","#ff0002","#ffa502","#fffc7a","#007f00","#02fff4","#0000ff","#d026d0","#a4a4a4","#8a0000","#ff8b00","#d7d401","#006400","#00c5bd","#00018a","#7f017f","#000000"]}ngOnInit(){const t=this.route.snapshot.params;"new"===t.key?(this.getServers(),this.isNew=!0,this.initForm(1)):(this.isNew=!1,this.isLoading=!0,this.deviceService.getDevice(t.key,!1).subscribe(e=>{this.initExistingForm(e),this.initNewLabelForm(),this.isLoading=!1,this.device=e,this.labelKeysOnLoad=this.device.labels.map(s=>s.key),"deleted"===this.device.status?this.canEdit=!1:(this.refreshDevice(!1),this.pollingInterval=this.startPolling())},e=>{this.isLoading=!1,this.deviceError=!0,this.alert.newAlert("Error!",e.error,"danger")}))}ngAfterViewInit(){this.el.nativeElement.querySelector(".modal-content").addEventListener("mousedown",this.outsideClick.bind(this))}ngOnDestroy(){this.typeSubscription&&this.typeSubscription.unsubscribe(),this.pollingInterval&&clearInterval(this.pollingInterval)}getServers(){this.serverService.getServerList().subscribe(t=>{this.servers=t.data})}deviceTypeChange(t){const e=parseInt(t,10);this.deviceType=e,this.initForm(e)}initExistingForm(t){this.deviceForm=this.formBuilder.group({name:[t.name,Pt.required],key:t.key,notify_update:t.notify_update,notify_update_next:t.notify_update_next,update_available:t.update_available,disabled:t.disabled}),this.canEdit||this.deviceForm.disable()}initForm(t){this.typeSubscription&&this.typeSubscription.unsubscribe(),1===t&&(this.deviceForm=this.formBuilder.group({register_new_device:[1,Pt.required],name:["",Pt.required],device_type:["",this.floatValidator],apikey:["",Pt.required],apipin:["",Pt.required],server_key:[""],device_ip:[""],make:[""],env:[""]},{validator:this.formValidation}),this.typeSubscription=this.deviceForm.get("device_type").valueChanges.subscribe(e=>{("standalone"===e||"direct"===e)&&(this.deviceForm.get("server_key").patchValue(""),this.deviceForm.get("device_ip").patchValue(""),this.deviceForm.get("make").patchValue("")),"managed"===e&&this.deviceForm.get("env").patchValue("")})),0===t&&(this.deviceForm=this.formBuilder.group({register_new_device:[0,Pt.required],apikey:["",Pt.required],apipin:["",Pt.required],device_key:["",Pt.required],env:["",Pt.required]})),this.canEdit||this.deviceForm.disable()}floatValidator(t){return""===t.value?{required:!0}:null}validateManaged(t){return t.parent&&"managed"===t.parent.get("device_type").value&&t.value.length>0?null:{required:!0}}formValidation(t){if("managed"===t.get("device_type").value){const e={};return 0===t.get("server_key").value.length&&(e.server_key=!0),!1===/^(([1-9]?\d|1\d\d|2[0-5][0-5]|2[0-4]\d)\.){3}([1-9]?\d|1\d\d|2[0-5][0-5]|2[0-4]\d)(:\d{4})?$/gm.test(t.get("device_ip").value)&&(e.device_ip=!0),0===t.get("make").value.length&&(e.make=!0),e.server_key||e.device_ip||e.make?e:null}if("standalone"===t.get("device_type").value||"direct"===t.get("device_type").value){const e={};return 0===t.get("env").value.length&&(e.env=!0),e.env?e:null}return null}hasError(t,e){return!!t&&-1!==Object.keys(t).indexOf(e)}hasServers(){return this.servers.length>0}showButton(t){switch(t){case"delete":return!this.isNew&&!this.deviceError&&!!this.device&&this.canDelete;case"refresh":return!!this.device&&"deleted"!==this.device.status;case"reset":return!(!this.device||!this.canEdit)&&"deleted"!==this.device.status;case"apply":case"save":return!!this.canEdit&&!this.deviceError;case"update_name":return!!this.canEdit&&(!this.isNew&&!this.deviceError);case"update":return!!this.canEdit&&this.device.update_available;case"branding":return!(!this.canEdit||"connected"!==this.device.status)&&"Ingenico"===this.device.make;default:return!1}}saveDevice(t){if(this.deviceForm.invalid)return this.showValidation=!0,this.alert.newAlert("Error!","Please fill in all required fields.","danger");if(this.showValidation=!1,this.disableSave=!0,this.isNew)this.deviceService.saveNewDevice(this.deviceForm.value).subscribe(e=>{this.disableSave=!1,this.alert.newAlert("Success!","Device has been added successfully.","success"),t?this.router.navigate(["devices"],{queryParams:{updated:!0}}):(this.isNew=!1,this.device=e,this.initExistingForm(e),this.deviceForm.markAsPristine(),this.router.navigate(["/devices",e.key],{replaceUrl:!0}))},e=>{this.disableSave=!1,this.alert.newAlert("Error!",e.error,"danger")});else{const e=this.deviceForm.value;this.labelsChanged()&&(e.labels=this.device.labels.map(s=>s.key)),this.deviceService.saveDevice(e).subscribe(s=>{this.disableSave=!1,this.alert.newAlert("Success!","Device has been saved successfully.","success"),t?this.router.navigate(["devices"],{queryParams:{updated:!0}}):(this.device=s,this.deviceForm.markAsPristine(),this.router.navigate(["."],{replaceUrl:!0,relativeTo:this.route}))},s=>{this.disableSave=!1,this.alert.newAlert("Error!",s.error,"danger")})}}updateDeviceFormName(t){this.deviceForm.patchValue({name:t}),this.deviceForm.markAsDirty()}refreshDevice(t){this.refreshing=!0,this.deviceService.refreshDevice(this.device.key,!t).subscribe(e=>{this.refreshing=!1,t&&this.alert.newAlert("Success!","Successfully refreshed device.","success"),this.device=e,this.deviceForm.patchValue(e)},e=>{this.refreshing=!1,21121===e.errorcode?(this.device.status="deleted",t&&this.alert.newAlert("Warning!",e.error,"warning")):t&&this.alert.newAlert("Error!",e.error,"danger")})}resetDevice(){this.deviceService.emitProgressModal.emit({type:"start",message:"Resetting device"}),this.deviceService.resetDevice(this.device.key).subscribe(t=>{this.deviceService.emitProgressModal.emit({type:"update",status:"success",message:"Successfully reset device"}),this.alert.newAlert("Success!","Successfully reset device.","success"),this.device=t,this.deviceForm.patchValue(t)},t=>{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:t.error}),this.alert.newAlert("Error!",t.error,"danger")})}deleteDevice(){this.confirmDeleteModal.close(),this.deviceService.deleteDevice(this.device.key,this.hardDelete).subscribe(t=>{this.alert.newAlert("Success!","You have successfully deleted the device.","success"),this.modal.close()},t=>{this.alert.newAlert("Error!",t.error,"danger")})}updateDeviceVersion(){"Update Available"===this.pendingText()?(this.deviceService.emitProgressModal.emit({type:"start",message:"Sending update to device"}),this.deviceService.updateDeviceVersion(this.device.key).subscribe(t=>{this.deviceService.emitProgressModal.emit({type:"update",status:"success",message:"Successfully sent update to device"}),this.confirmUpdateModal.close(),this.device=t,this.alert.newAlert("Success!","An update has been sent to the device.","success")},t=>{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:t.error}),this.alert.newAlert("Error!","There was an error sending an update to the device.","danger")})):this.alert.newAlert("Error!","There was no update available.","danger")}openUpdateModal(){this.confirmUpdateModal.open()}open(){this.confirmUpdateModalOpen=!0}close(){this.confirmUpdateModalOpen=!1}startPolling(){return setInterval(()=>{this.deviceForm.pristine&&!document.hidden&&!this.sessionTimeoutService.countdownOpen&&!this.refreshing&&this.refreshDevice(!1)},3e4)}closeModal(){this.deviceForm.pristine?this.isNewAppWindow()?this.router.navigate(["/devices"]):this.modal.close():this.confirmAbandonModal.open()}abandonChanges(){this.confirmAbandonModal.close(),this.modal.close()}deleteModalOpen(){this.hardDelete=!1,this.deleteModalIsOpen=!0}deleteModalClose(){this.deleteModalIsOpen=!1}assignBranding(){this.brandingModal.close(),this.isLoading=!0,this.deviceService.assignBranding(this.device.key,this.brandingName).subscribe(t=>{this.isLoading=!1,this.brandingName="",this.alert.newAlert("Success","branding package sent to device.","success")},t=>{this.isLoading=!1,this.alert.newAlert("Error",t.error,"danger")})}pendingText(){return this.deviceService.pendingText(this.device)}isNewAppWindow(){return 1===this.router.navigationId}openLabelDropdown(){this.editLabels=!this.editLabels,this.addLabel=!1,this.editLabels&&this.getLabels()}outsideClick(t){this.editLabels&&!this.el.nativeElement.querySelector("div.edit-labels-dropdown").contains(t.target)&&(this.editLabels=!1)}getLabels(){this.labelsLoading=!0,this.labelService.getLabels().subscribe(t=>{this.labelsLoading=!1,this.labels=t.data},t=>{this.labelsLoading=!1,this.alert.newAlert("Error!",t.error,"danger")})}closeLabels(){this.editLabelMode=!1,this.editLabels=!1}initNewLabelForm(){this.newLabelForm=this.formBuilder.group({title:["",Pt.required],bgcolor:["",Pt.required]})}populateColor(t){this.newLabelForm.get("bgcolor").patchValue(t)}handleAddNewLabel(){this.editLabelMode=!1,this.addLabel=!0,this.newLabelForm.reset()}addNewLabel(){this.labelsLoading=!0,this.labelService.addLabel(this.newLabelForm.value).subscribe(t=>{this.addLabel=!1,this.newLabelForm.reset(),this.getLabels()},t=>{this.labelsLoading=!1,this.alert.newAlert("Error!",t.error,"danger")})}checkLabel(t){return-1!==this.device.labels.map(s=>s.key).indexOf(t)}handleLabelClick(t,e){if(!this.editLabelMode)if(this.deviceForm.markAsDirty(),e){const i=this.device.labels.map(r=>r.key).indexOf(t.key);this.device.labels.splice(i,1)}else this.device.labels.push(t)}labelsChanged(){const t=this.device.labels.map(e=>e.key);return this.labelKeysOnLoad.length!==t.length||(this.labelKeysOnLoad.forEach(e=>{t.forEach((s,i)=>{s!==e||t.splice(i,1)})}),t.length>0)}handleClickEdit(t){this.labelEditTarget=t,this.newLabelForm.get("title").patchValue(t.title),this.newLabelForm.get("bgcolor").patchValue(t.bgcolor),this.addLabel=!0}handleClickDelete(t){this.labelDeleteTarget=t,this.confirmLabelDeletionModal.open()}handleEditLabelConfirm(){this.confirmLabelEditModal.open()}updateLabel(){this.confirmLabelEditModal.close(),this.labelsLoading=!0,this.labelService.updateLabel(this.labelEditTarget.key,this.newLabelForm.value).subscribe(t=>{this.addLabel=!1,this.editLabelMode=!1;const e=this.device.labels.map(s=>s.key).indexOf(this.labelEditTarget.key);e>-1&&(this.device.labels[e].title=this.newLabelForm.get("title").value,this.device.labels[e].bgcolor=this.newLabelForm.get("bgcolor").value),this.newLabelForm.reset(),this.getLabels()},t=>{this.labelsLoading=!1,this.alert.newAlert("Error!",t.error,"danger")})}labelDelete(t){this.editLabelMode=!1,this.labelsLoading=!0,this.confirmLabelDeletionModal.close(),this.labelService.removeLabel(t).subscribe(e=>{const s=this.device.labels.map(i=>i.key).indexOf(t);-1!==s&&this.device.labels.splice(s,1),this.getLabels()},e=>{this.alert.newAlert("Error!",e.error,"danger")})}getContrastYIQ(t){return(299*parseInt(t.substr(1,2),16)+587*parseInt(t.substr(3,2),16)+114*parseInt(t.substr(5,2),16))/1e3>=165?"black":"white"}handleLabelFormSubmit(){this.editLabelMode?this.updateLabel():this.addNewLabel()}};cg.ctorParameters=()=>[{type:se},{type:fs},{type:Zn},{type:Co},{type:vu},{type:kn},{type:oa},{type:Hm},{type:Fe}],cg.propDecorators={modal:[{type:bt,args:["modal",{static:!0}]}],brandingModal:[{type:bt,args:["brandingModal",{static:!0}]}],confirmDeleteModal:[{type:bt,args:["confirmDeleteModal",{static:!0}]}],confirmAbandonModal:[{type:bt,args:["confirmAbandonModal",{static:!0}]}],confirmLabelEditModal:[{type:bt,args:["confirmLabelEditModal",{static:!0}]}],confirmLabelDeletionModal:[{type:bt,args:["confirmLabelDeletionModal",{static:!0}]}],confirmUpdateModal:[{type:bt,args:["confirmUpdateModal",{static:!0}]}],alert:[{type:bt,args:[Pn,{static:!0}]}]},cg=nt([kt({selector:"ue-device-detail",template:'\n\t\n\t\t
    \n\t\t\t

    Device is Unavailable

    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- Status Indicator --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t {{device.status}}

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t {{device.status}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- End of Status Indicator --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tDevice Key:\n\t\t\t\t\t\t\t{{device.devicekey}}\n\t\t\t\t\t\t\tNot Available\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tModel:\n\t\t\t\t\t\t\t{{device.model}}\n\t\t\t\t\t\t\tNot Available\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tSerial #:\n\t\t\t\t\t\t\t{{device.serial}}\n\t\t\t\t\t\t\tNot Available\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tServer:\n\t\t\t\t\t\t\t{{device.server_name}}\n\t\t\t\t\t\t\tNot Available\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{pendingText()}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Add Device

    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\t\n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!--------- Labels --------------\x3e\n\t\t\t\t
    \n\t\t\t\t\tLabels\n\t\t\t\t\tEdit\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{label.title}}\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tAssign Lables\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{label.title}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\tCreate New Label\n\t\t\t\t\t\tEdit Label\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!--------- End of Labels --------------\x3e\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tPairing Code: {{device.pairing_code}}\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tStatus: {{device.status}}\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tAPI Key ID:\n\t\t\t\t\t\t...{{device.apikey_masked}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tEnvironment:\n\t\t\t\t\t\t{{device.env}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tMerchant Company:\n\t\t\t\t\t\t{{device.merchant_company}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tDevice Type:\n\t\t\t\t\t\t{{device.device_type}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tRevision:\n\t\t\t\t\t\t{{device.revision ? device.revision : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tDevice IP:\n\t\t\t\t\t\t{{device.device_ip ? device.device_ip : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tKey Pan:\n\t\t\t\t\t\t{{device.key_pan ? device.key_pan : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tKey Pin:\n\t\t\t\t\t\t{{device.key_pin ? device.key_pin : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tCreated By:\n\t\t\t\t\t\t{{device.created_by ? device.created_by : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tModified By:\n\t\t\t\t\t\t{{device.modified_by ? device.modified_by : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tThis device no longer exists in the device manager. You must manually delete it from the list.\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tSettings\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tActions\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- FORM FOR NEW DEVICE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\x3c!----\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END FORM FOR NEW DEVICE --\x3e\n\n\t\t\t\t\t\x3c!-- FORM FOR REGISTERED DEVICE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END FORM FOR REGISTERED DEVICE --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tDelete\n\t\tApply\n\t\tSave\n\t\n
    \n\n\n\t\n\t\t

    Confirm Update: {{device?.name}}

    \n\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\tYou are about to send an update to {{device?.name}}. Are you sure you want to continue?\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\t Confirm\n\t\n
    \n\n\n\t\n\t\t

    Confirm Delete: {{device?.name}}

    \n\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\tYou are about to remove this device from the list but will continue to exist in the device manager. You can still add this device back at any time.\n\t\t\t\t
    \n\t\t\t\tAre you sure you want to continue?\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tWarning! You are about to remove this device from your list and the device manager. The device will no longer exist and this action cannot be undone.\n\t\t\t
    \n\t\t\t
    \n\t\t\t\tWarning! You are about to remove this device from your list and the device manager. The device will no longer exist and this action cannot be undone.\n\t\t\t\t
    \n\t\t\t\tAre you sure you want to continue?\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\tWarning! You are about to remove this device from your list and the device manager. The device will no longer exist and this action cannot be undone.\n\t\t\t\t
    \n\t\t\t\tAre you sure you want to continue?\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\tThis device no longer exists in the device manager. Click confirm to remove this device from your list.\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tConfirm\n\t\n
    \n\n\n\t\n\t\t

    Send Branding Package

    \n\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\tEnter the name of the branding package you would like to send to this device:\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tSend\n\t\n
    \n\n\n\n\n\n\n\n\n\n',styles:["fieldset {\n\tmargin-bottom: 10px;\n}\nul {\n\tpadding-left: 0px;\n}\na {\n\tcolor: black;\n}\na.edit-labels:hover {\n\tcolor: black;\n\ttext-decoration: underline !important;\n\tcursor: pointer;\n}\n.labels-container {\n\tpadding-bottom: 20px;\n\tmargin-bottom: 20px;\n\tborder-bottom-width: 1px;\n\tborder-bottom-style: solid;\n\tborder-bottom-color: #e5e5e5\n}\n.edit-labels-dropdown {\n\tposition: absolute;\n z-index: 1;\n border: 1px solid lightgrey;\n border-radius: 5px;\n width: 275px;\n background-color: white;\n right: 6px;\n\ttop: 30px;\n\tbox-shadow: 0 2px 4px rgba(0,0,0,0.1);\n}\n.edit-labels-dropdown ul {\n\tmargin: 0;\n}\n.edit-labels-header {\n\ttext-align: center;\n\tborder-bottom: 1px solid lightgrey;\n\tmargin: 0 10px 10px 10px;\n\tpadding: 5px 0 10px 0;\n\tfont-size: 15px;\n}\n.edit-labels-header > i {\n\tmargin-top: 3px;\n color: lightgrey\n}\n.edit-labels-header > i:hover {\n color: grey\n}\n.edit-labels-list {\n\tfont-size: 14px;\n}\n.edit-labels-list > ul {\n max-height: 200px;\n overflow-y: scroll;\n}\n.label-dot {\n\tdisplay: inline-block;\n\tposition: relative;\n top: 2px;\n margin-right: 10px;\n\theight: 14px;\n\twidth: 14px;\n\tborder-radius: 7px;\n\tborder: 1px solid lightgray;\n\tbackground-color: #999;\n}\n.list-label {\n\tpadding: 5px 10px 5px 10px; \n}\n.list-label:hover {\n\tbackground-color: lightgray;\n\tcursor: pointer;\n}\n.list-label.label-edit-icon:hover {\n\tbackground-color: white;\n\tcursor: auto;\n}\n.add-new-label {\n\tpadding: 10px 20px 10px 20px;\n\ttext-align: center;\n}\n.add-new-label:hover {\n\tbackground-color: lightgray;\n\tcursor: pointer;\n}\n.delete-label {\n\tpadding: 10px 20px 10px 20px;\n\ttext-align: center;\n\tborder-top: 1px solid lightgrey;\n}\n.delete-label:hover {\n\tbackground-color: lightgray;\n\tcursor: pointer;\n}\n.label-edit-icon .label-delete-icon:hover {\n\tcolor: red;\n\tcursor: pointer;\n}\n.label-edit-icon .label-edit-icon:hover {\n\tcolor: black;\n\tcursor: pointer;\n}\n.list-label i {\n position: relative;\n\ttop: 3px;\n\tcolor: grey;\n}\n.edit-labels-list-footer {\n\tmargin-top: 10px;\n\tborder-top: 1px solid lightgrey;\n}\n.add-label-form {\n\tpadding: 5px;\n}\n.add-label-form input {\n\tborder-radius: 2px !important;\n}\n.label-color-block-container {\n\tborder-radius: 3px;\n\tmargin-bottom: 15px;\n\tfont-size: 0;\n\toverflow: hidden;\n\twidth: 263px;\n}\n.label-color-block {\n\tdisplay: inline-block;\n\twidth: calc(263px/8);\n\theight:33px;\n}\n.label-color-preview {\n\twidth: 30px; \n\tborder-top-left-radius: 2px; \n\tborder-bottom-left-radius: 2px;\n}\n.add-label-form .input-group input {\n\tborder-top-left-radius: 0 !important; \n\tborder-bottom-left-radius: 0 !important;\n\twidth: 232px;\n}\n.labels-loading-overlay {\n\tposition: absolute;\n\tz-index: 2;\n\theight: 100%;\n\twidth: 100%;\n\tborder-radius: 5px;\n\tbackground-color: rgba(0, 0, 0, 0.4);\n}\n.labels-loading-overlay > i {\n\tposition: relative;\n\ttop: calc(50% - 26px);\n\tleft: calc(50% - 26px);\n\tcolor: white;\n}\n.input-group .form-control {\n\tz-index: auto;\n}\n.pill-container {\n\tdisplay: inline-block;\n\tmargin: 5px;\n}\n.margintop_0 {\n\tmargin-top: 0px;\n}\n.marginbot_0 {\n\tmargin-bottom: 0px;\n}\n.make_inline {\n\tdisplay: inline-block;\n}\n.make_inline:nth-child(1n) {\n\tmargin-right: 13px;\n}\n.header {\n margin-top: 10px;\n}\n.header_details input {\n font-size: 30px;\n margin-top: -5px;\n margin-bottom: 5px;\n font-weight: 400;\n color: rgba(57, 113, 155, 1);\n border: 1px solid white;\n width: 100%;\n}\n.header_details ul li:nth-child(1n) {\n\tpadding: 0 5px 0 0;\n}\n.header_details ul li {\n\tdisplay: block;\n\tpadding: 0 5px;\n}\n.device_icon {\n font-size: 3em;\n}\n.device_block {\n\tdisplay: block;\n\tposition: relative;\n\ttext-align: center;\n\toverflow: hidden;\n}\n.deviceLink:before {\n\tcontent: ' ';\n}\n.deviceLink {\n\tposition: relative;\n}\n.deviceLink:after {\n\tcontent: \" \";\n}\n.deviceConnected {\n\tdisplay: inline-block;\n\tfont-size: 3rem;\n\tmargin: 13px 0 10px 0;\n\tcolor: RGBA(153, 153, 153, 1.00);\n}\n.textConnected {\n\tcolor: RGBA(153, 153, 153, 1.00);\n}\n.deviceConnected.connected,\n.textConnected.connected {\n\t-webkit-animation-name: successConnect;\n\t animation-name: successConnect;\n\t-webkit-animation-duration: 3s;\n\t animation-duration: 3s;\n\t-webkit-animation-iteration-count: infinite;\n\t animation-iteration-count: infinite;\n\t-webkit-animation-direction: normal;\n\t animation-direction: normal;\n}\n.deviceConnected.offline,\n.textConnected.offline {\n\t-webkit-animation-name: offlineDisconnect;\n\t animation-name: offlineDisconnect;\n\t-webkit-animation-duration: 3s;\n\t animation-duration: 3s;\n\t-webkit-animation-iteration-count: infinite;\n\t animation-iteration-count: infinite;\n\t-webkit-animation-direction: normal;\n\t animation-direction: normal;\n}\n.deviceConnected.online\n.textConnected.online {\n\t-webkit-animation-name: onlineStatus;\n\t animation-name: onlineStatus;\n\t-webkit-animation-duration: 3s;\n\t animation-duration: 3s;\n\t-webkit-animation-iteration-count: infinite;\n\t animation-iteration-count: infinite;\n\t-webkit-animation-direction: normal;\n\t animation-direction: normal;\n}\n.glyph {\n\tfont-size: 40px;\n}\n@-webkit-keyframes successConnect {\n\t0% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n}\n@keyframes successConnect {\n\t0% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n}\n@-webkit-keyframes offlineDisconnect {\n\t0% {\n\t\tcolor: RGBA(219, 38, 26, 1.00);\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(219, 38, 26, 1.00);\n\t}\n}\n@keyframes offlineDisconnect {\n\t0% {\n\t\tcolor: RGBA(219, 38, 26, 1.00);\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(219, 38, 26, 1.00);\n\t}\n}\n@-webkit-keyframes onlineStatus {\n\t0% {\n\t\tcolor: RGBA(60, 114, 153, 1.00)\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(60, 114, 153, 1.00)\n\t}\n}\n@keyframes onlineStatus {\n\t0% {\n\t\tcolor: RGBA(60, 114, 153, 1.00)\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(60, 114, 153, 1.00)\n\t}\n}\n/* Small Devices, Tablets */\n@media only screen and (max-width : 767px) {\n\tfieldset.xs-border-bottom {\n\t\tpadding-bottom: 20px;\n\t\tborder-bottom: 1px solid #e5e5e5;\n\t\tmargin-bottom: 20px;\n\t}\n}\n@media only screen and (min-width : 768px) {\n\tfieldset.sm-border-bottom {\n\t\tpadding-bottom: 20px;\n\t\tborder-bottom: 1px solid #e5e5e5;\n\t\tmargin-bottom: 20px;\n\t}\n\n}\n/* Medium Devices, Desktops */\n@media only screen and (min-width : 992px) {\n\t.header_details ul li {\n\t\tdisplay: inline-block;\n\t}\n}"]})],cg);const Pbt=[{path:"",component:lg,children:[{path:":key",component:cg}]}];let gA=class{};gA=nt([Yn({imports:[En.forChild(Pbt)],exports:[En]})],gA);var Nbt=I(3028);let ug=class{constructor(){this._papa=Nbt}parse(t,e){return this._papa.parse(t,e)}unparse(t,e){return this._papa.unparse(t,e)}setLocalChunkSize(t){this._papa.LocalChunkSize=t}setRemoteChunkSize(t){this._papa.RemoteChunkSize=t}setDefaultDelimiter(t){this._papa.DefaultDelimiter=t}get badDelimiters(){return this._papa.BAD_DELIMITERS}get recordSeparator(){return this._papa.RECORD_SEP}get unitSeparator(){return this._papa.UNIT_SEP}get workersSupported(){return this._papa.WORKERS_SUPPORTED}};ug.\u0275fac=function(t){return new(t||ug)},ug.\u0275prov=vt({factory:function(){return new ug},token:ug,providedIn:"root"});let hb=class{constructor(t,e,s,i){this.deviceService=t,this.serverService=e,this.fb=s,this.papa=i,this.completed=!1,this.saveSuccess=0,this.parseTotal=0,this.errors=[],this.servers=[],this.showValidation=!1,this.output=[],this.hideModal=!1,this.refreshDevices=new Mt}ngOnInit(){this.getServers(),this.createForm(),this.formSubscription=this.subscribeToDeviceType()}createForm(){this.importForm=this.fb.group({server_key:[""],device_type:["",Pt.required],make:[""],env:[""]},{validator:this.formValidator})}formValidator(t){if("managed"===t.get("device_type").value){const e={};return 0===t.get("server_key").value.length&&(e.server_key=!0),0===t.get("make").value.length&&(e.make=!0),Object.keys(e).length>0?e:null}{const e={};return 0===t.get("env").value.length&&(e.env=!0),Object.keys(e).length>0?e:null}}subscribeToDeviceType(){return this.importForm.get("device_type").valueChanges.subscribe(t=>{"standalone"===t&&this.importForm.get("server_key").patchValue(""),"managed"===t&&this.importForm.get("env").patchValue("")})}open(){this.modal.open()}getServers(){this.serverService.getServerList().subscribe(t=>{this.servers=t.data})}checkForValidationErrors(t){this.importForm.invalid?(t.preventDefault(),this.alert.newAlert("Error","Please fill in all required fields","danger"),this.showValidation=!0):(this.alert.closeAlert(),this.showValidation=!1)}onFileChange(t){if(this.importForm.invalid)return;this.hideModal=!0,this.progressModal.startModal("Parsing your file",0);const e=t.target.files[0];this.papa.parse(e,{header:!0,step:(s,i)=>{i.pause(),this.handleRow(s,()=>{this.parseTotal++,this.progressModal.updateTitle(`Devices parsed: ${this.parseTotal} Saved: ${this.saveSuccess} Errors: ${this.parseTotal-this.saveSuccess}`),i.resume()})},error:(s,i)=>{this.alert.newAlert("Error","There was an error reading your file","danger")},complete:()=>{this.hideModal=!1,this.completed=!0,this.closeProgressModal(),this.saveOutputCSV(),this.refreshDevices.emit()}})}handleRow(t,e){const s=Array.isArray(t.data)?t.data[0]:t.data,i=Object.assign({reason:"n/a",saved:!1,devicekey:"n/a"},s);if(t.errors.length>0)return i.saved=!1,i.reason=t.errors[0].type+": "+t.errors[0].message,this.output.push(i),void e();const r=this.checkRequiredFields(s,["device_name","device_ip","apikey","apipin"]);if(r.length>0)return i.saved=!1,i.reason=r,this.output.push(i),void e();this.saveDevice(s,(o,a)=>{o?(i.saved=!1,i.reason=o):(this.saveSuccess++,i.devicekey=a,i.saved=!0),this.output.push(i),e()})}saveDevice(t,e){const s={apikey:t.apikey,apipin:t.apipin,device_ip:t.device_ip,device_type:this.importForm.get("device_type").value,env:this.importForm.get("env").value,make:this.importForm.get("make").value,name:t.device_name,register_new_device:1,server_key:this.importForm.get("server_key").value};this.deviceService.saveNewDevice(s).subscribe(i=>{e(null,i.devicekey)},i=>{e(`${i.errorcode} - ${i.error}`)})}closeProgressModal(){this.parseTotal===this.saveSuccess?this.progressModal.updateModal("success","Import complete."):this.progressModal.updateModal("error","Import finished with errors.")}saveOutputCSV(){const t=this.papa.unparse({fields:["Store","DBA","device_name","apikey","apipin","device_ip","devicekey","saved","reason"],data:this.output});this.outputCsvLink=document.createElement("a"),this.outputCsvLink.href="data:attachment/csv,"+encodeURIComponent(t),this.outputCsvLink.target="_blank";const e=new Date,s=`${e.getFullYear()}_${e.getDay()}_${e.getDay()}_${e.getHours()}_${e.getMinutes()}`;this.outputCsvLink.download=`import_devices_result_${s}.csv`,document.body.appendChild(this.outputCsvLink)}checkRequiredFields(t,e){const s=[];return e.forEach(i=>{-1===Object.keys(t).indexOf(i)&&s.push(`field ${i} is not defined for row`),""===t[i]&&s.push(Error(`field ${i} is empty for row`))}),s.join(" | ")}resetForm(){this.fileUploadElement&&(this.fileUploadElement.value=null),this.createForm(),this.completed=!1,this.output=[],this.parseTotal=0,this.saveSuccess=0}ngOnDestroy(){this.formSubscription&&this.formSubscription.unsubscribe()}};hb.ctorParameters=()=>[{type:vu},{type:Co},{type:Zn},{type:ug}],hb.propDecorators={modal:[{type:bt,args:["modal",{static:!0}]}],fileUploadElement:[{type:bt,args:["fileUpload"]}],alert:[{type:bt,args:[Pn,{static:!0}]}],progressModal:[{type:bt,args:[Bl,{static:!0}]}],refreshDevices:[{type:Ee}]},hb=nt([kt({selector:"ue-device-import",template:'\n\t\n\t\t

    Import New Devices

    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t

    Total Attempted: {{parseTotal}}

    \n\t\t\t

    Successfully Saved: {{saveSuccess}}

    \n\t\t\t

    Errors: {{parseTotal - saveSuccess}}

    \n\t\t\t\n\t\t\tDownload Import Results\n\t\t
    \n\n\t
    \n\t\n\t\tClose\n\t\t\x3c!-- Extend Session --\x3e\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n
    \n\n\n',styles:["#upload {\n\topacity: 0;\n\tposition: absolute;\n\tz-index: -1;\t\n}"]})],hb);let _A=class{};_A=nt([Yn({imports:[ua,gA],declarations:[lg,cg,hb],providers:[vu,Co]})],_A);let dg=class{constructor(t,e,s,i,r){this.serverService=t,this.router=e,this.route=s,this.ueWindow=i,this.authService=r,this.servers=[],this.canCreate=this.authService.checkPermissions("servers_create"),this.selectedRows=[],this.dataForExport=[],this.menuItemsSelected=[{icon:"fa fa-download",label:"Export Selected",command:()=>{this.selectedRows.length>0?this.exportDevices(!1):this.alert.newAlert("Error!","Please select at least one server for export.","danger")}}],this.menuItemsAll=[{icon:"fa fa-download",label:"Export All",command:()=>{this.exportDevices(!0)}}],this.filterControl=new Yc}ngOnInit(){this.subscribeProgressModal(),this.updateServiceQueryParams(),this.getServerList(),this.routerEventsSubscription=this.router.events.pipe(as(t=>t instanceof Ri&&(0===this.route.children.length||0===this.servers.length)),as(()=>!this.handleQueryParamAlerts())).subscribe(()=>{this.getServerList()})}ngOnDestroy(){this.progressModalSubscription.unsubscribe(),this.routerEventsSubscription.unsubscribe()}handleQueryParamAlerts(){const t=this.route.snapshot.queryParams;return"true"===t.isNew?(this.alert.newAlert("Success","Server created","success"),this.router.navigate(["servers"],{replaceUrl:!0}),!0):t.deletedServer?(this.alert.newAlert("Success",`Server (${t.deletedServer}) and its associated devices have been deleted.`,"success"),this.router.navigate(["servers"],{replaceUrl:!0}),!0):"true"===t.updated?(this.alert.newAlert("Success","Server information has been successfully saved","success"),this.router.navigate(["servers"],{replaceUrl:!0}),!0):(this.updateServiceQueryParams(),!1)}getServerList(){let t="";for(const e in this.serverService.queryParams)this.serverService.queryParams[e]&&(t+=[e]+"="+this.serverService.queryParams[e]+"&");this.isLoading=!0,this.serverService.getServerList(t).subscribe(e=>{this.servers=e.data,this.updatePaginationObject(e),this.keepSelectedServers(e.data),this.isLoading=!1},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.isLoading=!1})}refreshList(){let t="";this.serverService.queryParams.refresh=!0;for(const e in this.serverService.queryParams)this.serverService.queryParams[e]&&(t+=[e]+"="+this.serverService.queryParams[e]+"&");this.progressModalComponent.startModal("Refreshing server list"),this.serverService.refreshList(t).subscribe(e=>{this.progressModalComponent.updateModal("success","Servers have been refreshed."),this.servers=e.data,this.keepSelectedServers(this.servers)},e=>{this.progressModalComponent.updateModal("error","There was an error refreshing servers."),this.alert.newAlert("Error!",e.error,"danger")})}onRowSelect(t){this.router.navigate(["/servers",t])}updateCheckedRows(t){this.selectedRows=t}exportDevices(t){let e=[];t&&(this.selectedRows=this.servers.map(i=>i)),this.selectedRows.map(i=>{e.push(i.key)});let s=[];for(let i=0;i{this.dataForExport.push("serial,devicekey,device_name,merchant_company,apikey_masked,device_type,server_name,status,env"),i.map(a=>{const l=a.slice(94,-1);this.dataForExport.push(l)});const r=this.dataForExport.join(""),o=document.createElement("a");o.href="data:attachment/csv;charset=utf-8,"+encodeURIComponent(r),o.target="_self",o.download="servers.csv",document.body.appendChild(o),o.click(),o.remove()}),e=[],s=[],this.dataForExport=[],this.selectedRows=[]}keepSelectedServers(t){this.selectedRows=t.filter(e=>-1!==this.selectedRows.map(s=>s.key).indexOf(e.key))}getStatusColor(t){switch(t){case"connected":return"#55915B";case"offline":return""}}subscribeProgressModal(){this.progressModalSubscription=this.serverService.emitProgressModal.subscribe(t=>{"start"===t.type?this.progressModalComponent.startModal(t.message):"update"===t.type&&this.progressModalComponent.updateModal(t.status,t.message)})}updateQueryString(){const t={};for(const e in this.serverService.queryParams)this.serverService.queryParams[e]&&(t[e]=this.serverService.queryParams[e]);this.router.navigate(["/servers"],{queryParams:t})}updateServiceQueryParams(){const t=this.route.snapshot.queryParams;this.serverService.queryParams.limit=t.limit,this.serverService.queryParams.offset=t.offset,this.serverService.queryParams.sort=t.sort,this.serverService.queryParams.sortDir=t.sortDir,this.serverService.queryParams.filters=t.filters,this.filterControl.patchValue(this.serverService.queryParams.filters)}updateFilter(t){this.serverService.filterColumns.indexOf(t)>-1||(this.serverService.queryParams.filters=this.filterControl.value,this.serverService.queryParams.offset=0,this.updateQueryString())}getFilterSuggestions(t){const e=t.split(" "),s=e[e.length-1];this.suggestions=this.serverService.getSuggestions(s)}onSort(t){this.serverService.queryParams.sort===t?"desc"===this.serverService.queryParams.sortDir?this.serverService.queryParams.sortDir="asc":(this.serverService.queryParams.sort="",this.serverService.queryParams.sortDir=""):(this.serverService.queryParams.sort=t,this.serverService.queryParams.sortDir="desc"),this.serverService.queryParams.offset=0,this.updateQueryString()}updatePaginationObject(t){this.paginationComponent.updatePaginationObject(t.limit,t.offset,t.total),this.paginationComponent.updatePaginationLength(t.data.length)}updatePaginationTotal(t){this.paginationComponent.paginationObject.total+=t,this.paginationComponent.paginationObject.length+=t}goToPage(t){t.active||t.disabled||(this.serverService.queryParams.limit=t.limit,this.serverService.queryParams.offset=t.offset,this.updateQueryString())}};dg.ctorParameters=()=>[{type:Co},{type:se},{type:fs},{type:Zc},{type:kn}],dg.propDecorators={paginationComponent:[{type:bt,args:[wo,{static:!0}]}],alert:[{type:bt,args:[Pn,{static:!0}]}],progressModalComponent:[{type:bt,args:[Bl,{static:!0}]}]},dg=nt([kt({selector:"ue-server-list",template:'
    \n\t
    \n\t\t\n\t
    \n\t\n\t
    \n\t\t\n\t\t\n\t\tRefresh\n\t\tExport All\n\t\tAdd Device Server\n\t
    \n
    \n\n\n\n\n
    \n\t
    \n\t\t\x3c!-- context menu goes here --\x3e\n\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{server.status}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{server.uptime | ueSeconds}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t
    \n
    \n\n\n\n\n',styles:[".buttonPadding {\n padding-right: 5px;\n}"]})],dg);let hg=class{constructor(t,e,s,i,r,o){this.router=t,this.serverService=e,this.route=s,this.formBuilder=i,this.ueWindow=r,this.authService=o,this.viewOnly=!1,this.showValidation=!1,this.canEdit=this.authService.checkPermissions("servers_edit"),this.canCreate=this.authService.checkPermissions("servers_create"),this.canDelete=this.authService.checkPermissions("servers_delete")}ngOnInit(){const t=this.route.snapshot.params.key;this.handleQueryParams(),"new"===t?(this.isNew=!0,this.initForm()):(this.isNew=!1,this.isLoading=!0,this.serverService.getServer(t).subscribe(e=>{this.isLoading=!1,this.server=e},e=>{this.alert.newAlert("Error!",e.error,"danger")}))}handleQueryParams(){this.route.snapshot.queryParams.viewOnly&&(this.viewOnly=!0)}initForm(){this.serverForm=this.formBuilder.group({name:["",Pt.required],pairing_code:["",Pt.required],env:["",Pt.required]}),this.canEdit||this.serverForm.disable()}saveServer(t){if(this.serverForm.invalid)return this.showValidation=!0,this.alert.newAlert("Error!","Please fill in all required fields.","danger");this.showValidation=!1,this.serverService.saveServer(this.serverForm.value).subscribe(e=>{this.isNew=!1,this.server=e,t?(this.router.navigate(["servers"],{queryParams:{updated:!0}}),this.modal.close()):(this.alert.newAlert("Success!","Device server was added successfully.","success"),this.router.navigate(["/servers",this.server.key],{replaceUrl:!0}))},e=>{this.alert.newAlert("Error!",e.error,"danger")})}refreshServer(){this.serverService.emitProgressModal.emit({type:"start",message:"Refreshing server"}),this.serverService.refreshServer(this.server.key).subscribe(t=>{this.serverService.emitProgressModal.emit({type:"update",status:"success",message:"Successfully refreshed server"}),this.alert.newAlert("Success!","Successfully refreshed server.","success"),this.server=t},t=>{this.serverService.emitProgressModal.emit({type:"update",status:"error",message:t.error}),this.alert.newAlert("Error!",t.error,"danger")})}exportDevices(){this.serverService.exportDevices(this.server.key).subscribe(t=>{const e=document.createElement("a");e.href="data:attachment/csv;charset=utf-8,"+encodeURIComponent(t),e.target="_self",e.download="server.csv",document.body.appendChild(e),e.click(),e.remove()},t=>{this.alert.newAlert(t.errorcode,t.error,"danger")})}closeModal(){if(this.isNewAppWindow())return this.router.navigate(["/servers"]);this.modal.close()}isNewAppWindow(){return 1===this.router.navigationId}};hg.ctorParameters=()=>[{type:se},{type:Co},{type:fs},{type:Zn},{type:Zc},{type:kn}],hg.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}],modal:[{type:bt,args:["modal",{static:!0}]}]},hg=nt([kt({selector:"ue-server-detail",template:'\n\t\n\t\t

    {{server.name}}

    \n\t\t

    Add Device Server

    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\t {{server.status}}\n\t\t\t\t

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tClient IP: {{server.clientip}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tEnvironment: {{server.env}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tUptime: {{server.uptime | ueSeconds}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tRevision: {{server.revision}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tConnected: {{server.connected_devices}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tRegistered: {{server.registered_devices}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t
    \n\t\n\t\tDelete\n\t\tClose\n\t\tExport Devices\n\t\tRefresh\n\t\tApply\n\t\tSave\n\t\n
    \n\n',styles:["ul {\n\tpadding-left: 0px;\n}\n.serverinfo {\n\tmargin-bottom: 15px;\n}\n.server-block {\n\tmargin-bottom: 15px;\n}\n.serverinfo {\n\tcolor: RGBA(153, 153, 153, 1.00);\n}\n.server-block .serverType {\n\tfont-size: 5rem;\n\tcolor: RGBA(153, 153, 153, 1.00);\n}\n.server-block .serverType.connected,\n.serverinfo.connected {\n\t-webkit-animation-name: connected;\n\t animation-name: connected;\n\t-webkit-animation-duration: 3s;\n\t animation-duration: 3s;\n\t-webkit-animation-iteration-count: infinite;\n\t animation-iteration-count: infinite;\n\t-webkit-animation-direction: normal;\n\t animation-direction: normal;\n}\n@-webkit-keyframes connected {\n\t0% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n}\n@keyframes connected {\n\t0% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n}\n"]})],hg);const Vbt=[{path:"",component:dg,children:[{path:":key",component:hg}]}];let yA=class{};yA=nt([Yn({imports:[En.forChild(Vbt)],exports:[En]})],yA);let pb=class{constructor(t,e){this.serverService=t,this.router=e,this.isOpen=!1,this.hardDeleteConfirmed=!1}ngOnInit(){}open(){this.modal.open()}onConfirmDeleteModalOpen(){this.isOpen=!0,this.hardDeleteConfirmed=!1}onConfirmDeleteModalClose(){this.isOpen=!1}deleteServer(){this.serverService.deleteServer(this.server.key+"?hard_delete=true").subscribe(t=>{this.router.navigate(["/servers"],{queryParams:{deletedServer:this.server.name}})},t=>{this.alert.newAlert("Error!",t.error,"danger")})}};pb.ctorParameters=()=>[{type:Co},{type:se}],pb.propDecorators={server:[{type:Y,args:["server"]}],modal:[{type:bt,args:["modal",{static:!0}]}],alert:[{type:bt,args:[Pn,{static:!0}]}]},pb=nt([kt({selector:"ue-delete-server-modal",template:'\n\t\n\t\t

    Confirm Delete: {{server?.name}}

    \n\t
    \n\t\n\t\t\n\t\t
    \n\t\t\t\n\t\t\t\tWarning! You are about to delete this server, which will also delete the {{server?.connected_devices}} device(s) connected to it. The server and its connected devices will no longer exist and this action cannot be undone.\n\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\tAre you sure you want to continue?\n\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tDelete\n\t\n
    ',styles:[""]})],pb);let vA=class{};vA=nt([Yn({imports:[ua,yA],declarations:[dg,hg,pb],providers:[Co]})],vA);let bu=class{constructor(t){this.ueHttp=t,this.baseUrl="/api/DVPRTLFE/developers",this.inviteUrl="/api/DVPRTLFE/developers/invites",this.memberUrl="/api/DVPRTLFE/developers/members",this.filterColumns=["@name","@email","@company"],this.queryParams={filters:"",limit:0,offset:0,total:0,sort:"name",sortDir:"desc",refresh:!1},this.invitesQueryParams={filters:"",limit:0,offset:0,total:0,sort:"name",sortDir:"desc",refresh:!1}}getAllUsers(t){let e=this.memberUrl;return t&&(e+="?"+t),this.ueHttp.get(e)}getUser(t){return this.ueHttp.get(this.memberUrl+"/"+t)}updateUserPermissions(t,e){return this.ueHttp.put(this.memberUrl+"/"+t,e)}removeUser(t){return this.ueHttp.delete(this.memberUrl+"/"+t)}getAllInvites(t){let e=this.inviteUrl;return t&&(e+="?"+t),this.ueHttp.get(e)}getInvite(t){return this.ueHttp.get(this.inviteUrl+"/"+t)}sendInvite(t){return this.ueHttp.post(this.inviteUrl,t)}resendInvite(t){return this.ueHttp.post(`${this.inviteUrl}/${t}/resend`,{})}updateInvitePermissions(t,e){return this.ueHttp.put(this.inviteUrl+"/"+t,e)}deleteInvite(t){return this.ueHttp.delete(this.inviteUrl+"/"+t)}getSuggestions(t){t=t.toLowerCase();const s=this.filterColumns.filter(i=>-1!==(i=i.toLowerCase()).indexOf(t));return[].concat(s)}};bu.ctorParameters=()=>[{type:xs}],bu=nt([rs()],bu);let pg=class{constructor(t,e,s,i){this.userService=t,this.router=e,this.route=s,this.authService=i,this.users=[],this.filterControl=new Yc,this.canEdit=this.authService.checkPermissions("members_edit"),this.canDelete=this.authService.checkPermissions("members_delete"),this.canCreate=this.authService.checkPermissions("invites_create"),this.contextMenuItems=[]}ngOnInit(){this.updateServiceQueryParams(),this.getUsers(),this.buildContextMenu(),this.routerEventsSubscription=this.router.events.pipe(as(t=>t instanceof Ri&&(0===this.route.children.length||0===this.users.length)),as(()=>!this.handleQueryParamsAlerts())).subscribe(()=>{this.getUsers()})}ngOnDestroy(){this.routerEventsSubscription.unsubscribe()}buildContextMenu(){if(this.contextMenuItems=[],this.canEdit){const t={icon:"fa fa-edit",label:"Edit",command:e=>{this.onRowSelect(e.key)}};this.contextMenuItems.push(t)}else{const t={icon:"fa fa-list",label:"Details",command:e=>{this.onRowSelect(e.key)}};this.contextMenuItems.push(t)}if(this.canDelete){const t={icon:"glyphicon glyphicon-trash",label:"Delete",command:e=>{this.contextMenuTarget=e,this.confirmDeletionModal.open()}};this.contextMenuItems.push(t)}}getUsers(){let t="";for(const e in this.userService.queryParams)this.userService.queryParams[e]&&(t+=[e]+"="+this.userService.queryParams[e]+"&");this.isLoading=!0,this.userService.getAllUsers(t).subscribe(e=>{this.users=e.data,this.updatePaginationObject(e),this.isLoading=!1},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.isLoading=!1})}deleteUser(t){this.userService.removeUser(t.key).subscribe(e=>{this.confirmDeletionModal.close(),this.alert.newAlert("Success","User deleted","success"),this.getUsers()},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.confirmDeletionModal.close()})}handleQueryParamsAlerts(){const t=this.route.snapshot.queryParams;return"true"===t.isNew?(this.alert.newAlert("Success","User has been successfully created","success"),this.router.navigate(["users/members"],{replaceUrl:!0}),!0):"true"===t.updated?(this.alert.newAlert("Success","User information has been successfully saved","success"),this.router.navigate(["users/members"],{replaceUrl:!0}),!0):"true"===t.deleted?(this.alert.newAlert("Success","User has been successfully removed","success"),this.router.navigate(["users/members"],{replaceUrl:!0}),!0):(this.updateServiceQueryParams(),!1)}updateServiceQueryParams(){const t=this.route.snapshot.queryParams;this.userService.queryParams.filters=t.filters,this.userService.queryParams.limit=t.limit,this.userService.queryParams.offset=t.offset,this.userService.queryParams.sort=t.sort,this.userService.queryParams.sortDir=t.sortDir,this.userService.queryParams.filters&&this.filterControl.patchValue(this.userService.queryParams.filters)}updateQueryString(){const t={};for(const e in this.userService.queryParams)this.userService.queryParams[e]&&(t[e]=this.userService.queryParams[e]);this.router.navigate(["/users/members"],{queryParams:t})}onRowSelect(t){"new"===t?this.router.navigate(["/users/invites",t]):this.router.navigate(["/users/members",t])}onSort(t){this.userService.queryParams.sort===t?"desc"===this.userService.queryParams.sortDir?this.userService.queryParams.sortDir="asc":(this.userService.queryParams.sort="",this.userService.queryParams.sortDir=""):(this.userService.queryParams.sort=t,this.userService.queryParams.sortDir="desc"),this.userService.queryParams.offset=0,this.updateQueryString()}getFilterSuggestions(t){const e=t.split(" "),s=e[e.length-1];this.suggestions=this.userService.getSuggestions(s)}updateFilter(t){this.userService.filterColumns.indexOf(t)>-1||(this.userService.queryParams.filters=this.filterControl.value,this.userService.queryParams.offset=0,this.updateQueryString())}goToPage(t){t.active||t.disabled||(this.userService.queryParams.limit=t.limit,this.userService.queryParams.offset=t.offset,this.updateQueryString())}updatePaginationObject(t){this.paginationComponent.updatePaginationObject(t.limit,t.offset,t.total),this.paginationComponent.updatePaginationLength(t.data.length)}updatePaginationTotal(t){this.paginationComponent.paginationObject.total+=t,this.paginationComponent.paginationObject.length+=t}};pg.ctorParameters=()=>[{type:bu},{type:se},{type:fs},{type:kn}],pg.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}],paginationComponent:[{type:bt,args:[wo,{static:!0}]}],confirmDeletionModal:[{type:bt,args:["confirmDeletionModal",{static:!0}]}]},pg=nt([kt({selector:"ue-user-list",template:'
    \n\t
    \n\t\t\n\t
    \n\n\t
    \n\t\t\n\t\t\n\n\t\tInvite User\n\t
    \n
    \n\n\n\n
    \n\t
    \n\t\t\n\n\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ user.contact }}\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ user.email }}\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ user.company }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t
    \n
    \n\n\n\n\n\n\n',styles:[""]})],pg);let fg=class{constructor(t,e,s,i,r){this.route=t,this.userService=e,this.formBuilder=s,this.router=i,this.authService=r,this.isLoading=!1,this.showErrors=!1,this.params=this.route.snapshot.params,this.canEdit=this.authService.checkPermissions("members_edit"),this.canDelete=this.authService.checkPermissions("members_delete")}ngOnInit(){this.myModal.open(),this.initForm(),this.isLoading=!0,this.userService.getUser(this.params.key).subscribe(t=>{this.created=this.cleanDate(t.created),this.contact=t.contact,this.email=t.email,this.userForm.patchValue(t),this.isLoading=!1},t=>{this.isLoading=!1,this.alert.newAlert("Error!",t.error,"danger")})}initForm(){this.userForm=this.formBuilder.group({perm_devices:["disabled",Pt.required],perm_endpoints:["disabled",Pt.required],perm_profile:["disabled",Pt.required],perm_servers:["disabled",Pt.required],perm_users:["disabled",Pt.required]}),this.canEdit||this.userForm.disable()}saveChanges(t){if(this.alert.closeAlert(),this.showErrors=!1,this.userForm.invalid)return this.showErrors=!0,this.alert.newAlert("Invalid Form!","The form is invalid. Please fill in all required fields.","danger");{const e=this.getUpdatedControls(this.userForm);this.userForm.markAsPristine(),this.userService.updateUserPermissions(this.params.key,e).subscribe(s=>{this.alert.newAlert("Success!","User information has been successfully saved","success"),t&&this.router.navigate(["/users/members"],{queryParams:{updated:!0}})},s=>{this.alert.newAlert("Error!",s.error,"danger")})}}getUpdatedControls(t){const e={};for(const s in t.controls)t.controls[s].dirty&&(e[s]=t.controls[s].value);return e}confirmDelete(){this.confirmDeletionModal.open()}deleteUser(){this.userService.removeUser(this.params.key).subscribe(t=>{this.router.navigate(["/users/members"],{queryParams:{deleted:!0}})},t=>{this.confirmDeletionModal.close(),this.alert.newAlert("Error!",t.error,"danger")})}onCloseModal(){this.userForm.pristine?this.isNewAppWindow()?this.router.navigate(["/users/members"]):this.myModal.close():this.confirmAbandonModal.isOpen?this.router.navigate(["/users/members"]):this.confirmAbandonModal.open()}isNewAppWindow(){return 1===this.router.navigationId}disableRead(t){return!this.authService.checkPermissions(`${t}_view`)||!this.canEdit||null}disableWrite(t){return!this.authService.checkPermissions(`${t}_edit`)||!this.canEdit||null}cleanDate(t){const e=t.split(" "),s=e[0].split("-"),i=e[1].split(":");return`${s[1].replace("0","")}/${s[2]}/${s[0]} ${i[0].replace("0","")}:${i[1]}`}};fg.ctorParameters=()=>[{type:fs},{type:bu},{type:Zn},{type:se},{type:kn}],fg.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}],myModal:[{type:bt,args:["myModal",{static:!0}]}],confirmDeletionModal:[{type:bt,args:["confirmDeletionModal",{static:!0}]}],confirmAbandonModal:[{type:bt,args:["confirmAbandonModal",{static:!0}]}]},fg=nt([kt({selector:"ue-user-detail",template:'\n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    Member Information Detail

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\tAdded: \n\t\t\t\t\t{{created}}\n\t\t\t\t

    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    User Info

    \n\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    Name:

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    {{contact}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    Email:

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    {{email}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t

    Permissions

    \n\t\t\t\t
    Devices:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Endpoints:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Profile:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Servers:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Users:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tRemove\n\t\tClose\n\t\tApply\n\t\tSave\n\t\n
    \n\n\n\n\n\n\n',animations:[nm("slideDown",[Vl("void",bo({height:"0",overflow:"hidden"})),ou("void => *",ru("200ms ease-out"))])],styles:[".text-right {\n\ttext-align: right;\n}\n\n.static-label {\n\tcolor: #3c7299; \n\tmargin-bottom: 0;\n}\n\ninput:checked ~ span {\n font-weight: bold;\n}\n\ninput:disabled ~ span {\n color: lightgrey;\n}"]})],fg);let mg=class{constructor(t,e,s){this.userService=t,this.router=e,this.route=s,this.invites=[],this.filterControl=new Yc,this.contextMenuItems=[{icon:"fa fa-edit",label:"Edit",command:i=>{this.onRowSelect(i.key)}},{icon:"glyphicon glyphicon-trash",label:"Delete",command:i=>{this.contextMenuTarget=i,this.confirmDeletionModal.open()}}]}ngOnInit(){this.updateServiceQueryParams(),this.getInvites(),this.routerEventsSubscription=this.router.events.pipe(as(t=>t instanceof Ri&&(0===this.route.children.length||0===this.invites.length)),as(()=>!this.handleQueryParamsAlerts())).subscribe(()=>{this.getInvites()})}ngOnDestroy(){this.routerEventsSubscription.unsubscribe()}getInvites(){let t="";for(const e in this.userService.invitesQueryParams)this.userService.invitesQueryParams[e]&&(t+=[e]+"="+this.userService.invitesQueryParams[e]+"&");this.isLoading=!0,this.userService.getAllInvites(t).subscribe(e=>{this.invites=e.data,this.updatePaginationObject(e),this.isLoading=!1},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.isLoading=!1})}deleteInvite(t){this.userService.deleteInvite(t.key).subscribe(e=>{this.confirmDeletionModal.close(),this.alert.newAlert("Success","Invite deleted","success"),this.getInvites()},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.confirmDeletionModal.close()})}handleQueryParamsAlerts(){const t=this.route.snapshot.queryParams;return"true"===t.isNew?(this.alert.newAlert("Success","Invite has been successfully sent","success"),this.router.navigate(["users/invites"],{replaceUrl:!0}),!0):"true"===t.updated?(this.alert.newAlert("Success","Invite information has been successfully updated","success"),this.router.navigate(["users/invites"],{replaceUrl:!0}),!0):"true"===t.deleted?(this.alert.newAlert("Success","Invite has been successfully deleted","success"),this.router.navigate(["users/invites"],{replaceUrl:!0}),!0):(this.updateServiceQueryParams(),!1)}updateServiceQueryParams(){const t=this.route.snapshot.queryParams;this.userService.invitesQueryParams.filters=t.filters,this.userService.invitesQueryParams.limit=t.limit,this.userService.invitesQueryParams.offset=t.offset,this.userService.invitesQueryParams.sort=t.sort,this.userService.invitesQueryParams.sortDir=t.sortDir,this.userService.invitesQueryParams.filters&&this.filterControl.patchValue(this.userService.invitesQueryParams.filters)}updateQueryString(){const t={};for(const e in this.userService.invitesQueryParams)this.userService.invitesQueryParams[e]&&(t[e]=this.userService.invitesQueryParams[e]);this.router.navigate(["/users/invites"],{queryParams:t})}onRowSelect(t){this.router.navigate(["/users/invites",t])}onSort(t){this.userService.invitesQueryParams.sort===t?"desc"===this.userService.invitesQueryParams.sortDir?this.userService.invitesQueryParams.sortDir="asc":(this.userService.invitesQueryParams.sort="",this.userService.invitesQueryParams.sortDir=""):(this.userService.invitesQueryParams.sort=t,this.userService.invitesQueryParams.sortDir="desc"),this.userService.invitesQueryParams.offset=0,this.updateQueryString()}getFilterSuggestions(t){const e=t.split(" "),s=e[e.length-1];this.suggestions=this.userService.getSuggestions(s)}updateFilter(t){this.userService.filterColumns.indexOf(t)>-1||(this.userService.invitesQueryParams.filters=this.filterControl.value,this.userService.invitesQueryParams.offset=0,this.updateQueryString())}goToPage(t){t.active||t.disabled||(this.userService.invitesQueryParams.limit=t.limit,this.userService.invitesQueryParams.offset=t.offset,this.updateQueryString())}updatePaginationObject(t){this.paginationComponent.updatePaginationObject(t.limit,t.offset,t.total),this.paginationComponent.updatePaginationLength(t.data.length)}updatePaginationTotal(t){this.paginationComponent.paginationObject.total+=t,this.paginationComponent.paginationObject.length+=t}cleanDate(t){const e=t.split(" "),s=e[0].split("-"),i=e[1].split(":");return`${s[1].replace("0","")}/${s[2]}/${s[0]} ${i[0].replace("0","")}:${i[1]}`}checkExpired(t){const e=Date.now();return!(Date.parse(t.split(" ").join("T"))>e)}};mg.ctorParameters=()=>[{type:bu},{type:se},{type:fs}],mg.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}],paginationComponent:[{type:bt,args:[wo,{static:!0}]}],confirmDeletionModal:[{type:bt,args:["confirmDeletionModal",{static:!0}]}]},mg=nt([kt({selector:"ue-invite-list",template:'
    \n
    \n \n
    \n\n
    \n \n \n\n Invite User\n
    \n
    \n\n\n\n
    \n
    \n \n\n \n\n \n \n {{ invite.email }}\n \n \n\n \n\t\t\t\t\n\t\t\t\t\t{{ cleanDate(invite.created) }}\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ cleanDate(invite.expires) }}\n\t\t\t\t\n\t\t\t\n\n \n
    \n
    \n\n\n\n\n\n\n\n',styles:[".expired {\n\tcolor: darkred;\n}"]})],mg);let gg=class{constructor(t,e,s,i,r){this.route=t,this.userService=e,this.formBuilder=s,this.router=i,this.authService=r,this.isNew=!1,this.isLoading=!1,this.showErrors=!1,this.key=this.route.snapshot.params.key}ngOnInit(){this.myModal.open(),this.initForm(),"new"===this.key?this.isNew=!0:(this.isNew=!1,this.isLoading=!0,this.userService.getInvite(this.key).subscribe(t=>{this.checkExpired(t.expires)&&this.alert.newAlert("Error!","This invitation has expired, please resend to activate.","danger"),this.created=this.cleanDate(t.created),this.expires=this.cleanDate(t.expires),this.inviteForm.patchValue(t),this.isLoading=!1},t=>{this.isLoading=!1,this.alert.newAlert("Error!",t.error,"danger")}))}initForm(){this.inviteForm=this.formBuilder.group({email:["",[Pt.required,Pt.email]],perm_devices:["disabled",Pt.required],perm_endpoints:["disabled",Pt.required],perm_profile:["disabled",Pt.required],perm_servers:["disabled",Pt.required],perm_users:["disabled",Pt.required]})}saveChanges(t){if(this.alert.closeAlert(),this.showErrors=!1,this.inviteForm.invalid)return this.showErrors=!0,this.alert.newAlert("Invalid Form!","The form is invalid. Please fill in all required fields.","danger");if(this.isNew)this.userService.sendInvite(this.inviteForm.value).subscribe(e=>{t?this.router.navigate(["/users/invites"],{queryParams:{isNew:!0}}):(this.router.navigate(["/users/invites",e.key],{replaceUrl:!0}),this.isNew=!1,this.created=this.cleanDate(e.created),this.expires=this.cleanDate(e.expires),this.key=e.key,this.inviteForm.markAsPristine(),this.alert.newAlert("Success!","Invitation has been sent","success"))},e=>{this.alert.newAlert("Error!",e.error,"danger")});else{const e=this.getUpdatedControls(this.inviteForm);this.inviteForm.markAsPristine(),this.userService.updateInvitePermissions(this.key,e).subscribe(s=>{this.alert.newAlert("Success!","Invite information has been successfully saved","success"),t&&this.router.navigate(["/users/invites"],{queryParams:{updated:!0}})},s=>{this.alert.newAlert("Error!",s.error,"danger")})}}getUpdatedControls(t){const e={};for(const s in t.controls)t.controls[s].dirty&&(e[s]=t.controls[s].value);return e}confirmDelete(){this.confirmDeletionModal.open()}deleteInvite(){this.userService.deleteInvite(this.key).subscribe(t=>{this.router.navigate(["/users/invites"],{queryParams:{deleted:!0}})},t=>{this.confirmDeletionModal.close(),this.alert.newAlert("Error!",t.error,"danger")})}onCloseModal(){this.inviteForm.pristine?this.isNewAppWindow()?this.router.navigate(["/users/invites"]):this.myModal.close():this.confirmAbandonModal.isOpen?this.router.navigate(["/users/invites"]):this.confirmAbandonModal.open()}isNewAppWindow(){return 1===this.router.navigationId}resendInvite(){this.userService.resendInvite(this.key).subscribe(t=>{this.alert.newAlert("Success!","Invitation sent","success")},t=>{this.alert.newAlert("Error!",t.error,"danger")})}cleanDate(t){const e=t.split(" "),s=e[0].split("-"),i=e[1].split(":");return`${s[1].replace("0","")}/${s[2]}/${s[0]} ${i[0].replace("0","")}:${i[1]}`}checkExpired(t){const e=Date.now();return!(Date.parse(t.split(" ").join("T"))>e)}};gg.ctorParameters=()=>[{type:fs},{type:bu},{type:Zn},{type:se},{type:kn}],gg.propDecorators={alert:[{type:bt,args:[Pn,{static:!0}]}],myModal:[{type:bt,args:["myModal",{static:!0}]}],confirmDeletionModal:[{type:bt,args:["confirmDeletionModal",{static:!0}]}],confirmAbandonModal:[{type:bt,args:["confirmAbandonModal",{static:!0}]}]},gg=nt([kt({selector:"ue-invite-detail",template:'\n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    Invite User

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Invitation Details

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\tInvited: \n\t\t\t\t\t{{created}}\n\t\t\t\t\t
    \n\t\t\t\t\tExpires: \n\t\t\t\t\t{{expires}}\n\t\t\t\t

    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    User Info:

    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    User Info

    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Email:

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    {{inviteForm.get(\'email\').value}}

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\tResend Invite\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t

    Permissions

    \n\t\t\t\t
    Devices:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Endpoints:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Profile:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Servers:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Users:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tRemove\n\t\tClose\n\t\tApply\n\t\tSave\n\t\n
    \n\n\n\n\n\n\n',animations:[nm("slideDown",[Vl("void",bo({height:"0",overflow:"hidden"})),ou("void => *",ru("200ms ease-out"))])],styles:[".static-label {\n\tcolor: #3c7299; \n\tmargin-bottom: 0;\n}\n\n.expired {\n\tcolor: darkred;\n}\n\ninput:checked ~ span {\n font-weight: bold;\n}\n\ninput:disabled ~ span {\n color: lightgrey;\n}"]})],gg);const Xbt=[{path:"members",canActivate:[ha],component:pg,children:[{path:":key",component:fg}]},{path:"invites",canActivate:[ha],component:mg,children:[{path:":key",component:gg}]}];let bA=class{};bA=nt([Yn({imports:[En.forChild(Xbt)],exports:[En]})],bA);let wA=class{};wA=nt([Yn({imports:[Xs,ua,bA],declarations:[pg,fg,mg,gg],providers:[bu]})],wA);const Zbt=[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"",canActivate:[Cv],component:Qy,children:[{path:"login",component:hu},{path:"register",component:pu},{path:"lostpassword",component:Nm},{path:"resetpassword",component:Fm},{path:"register-company",component:Ym},{path:"invitation",children:[{path:":key",redirectTo:"/invitation/:key/verify",pathMatch:"full"},{path:":key/verify",component:hu},{path:":key/register",component:pu}]}]},{path:"",component:If,children:[{path:"dashboard",canActivate:[Do],loadChildren:()=>cA},{path:"endpoints",canActivate:[ha,Do],loadChildren:()=>dA},{path:"profile",canActivate:[Do],loadChildren:()=>pA},{path:"request-test-account",canActivate:[Do],loadChildren:()=>mA},{path:"devices",canActivate:[ha,Do],loadChildren:()=>_A},{path:"servers",canActivate:[ha,Do],loadChildren:()=>vA},{path:"users",canActivate:[Do],loadChildren:()=>wA}]},{path:"**",component:Lf,pathMatch:"full"}];let DA=class{};DA=nt([Yn({imports:[En.forRoot(Zbt,{relativeLinkResolution:"legacy"})],exports:[En]})],DA);let uS=class{};uS=nt([kt({selector:"ue-root",template:"",styles:[""]})],uS);let MA=class{};MA=nt([Yn({imports:[xr,Bc,Sf,dL,DA],declarations:[uS],providers:[],bootstrap:[uS]})],MA),function Qq(){if(OR)throw new Error("Cannot enable prod mode after platform setup.");PR=!1}(),rnt().bootstrapModule(MA)},3018:K=>{var G={utf8:{stringToBytes:function(I){return G.bin.stringToBytes(unescape(encodeURIComponent(I)))},bytesToString:function(I){return decodeURIComponent(escape(G.bin.bytesToString(I)))}},bin:{stringToBytes:function(I){for(var M=[],p=0;p{var G,I;G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",I={rotl:function(M,p){return M<>>32-p},rotr:function(M,p){return M<<32-p|M>>>p},endian:function(M){if(M.constructor==Number)return 16711935&I.rotl(M,8)|4278255360&I.rotl(M,24);for(var p=0;p0;M--)p.push(Math.floor(256*Math.random()));return p},bytesToWords:function(M){for(var p=[],y=0,g=0;y>>5]|=M[y]<<24-g%32;return p},wordsToBytes:function(M){for(var p=[],y=0;y<32*M.length;y+=8)p.push(M[y>>>5]>>>24-y%32&255);return p},bytesToHex:function(M){for(var p=[],y=0;y>>4).toString(16)),p.push((15&M[y]).toString(16));return p.join("")},hexToBytes:function(M){for(var p=[],y=0;y>>6*(3-_)&63)):p.push("=");return p.join("")},base64ToBytes:function(M){M=M.replace(/[^A-Z0-9+\/]/gi,"");for(var p=[],y=0,g=0;y>>6-2*g);return p}},K.exports=I},9964:K=>{function G(M){return!!M.constructor&&"function"==typeof M.constructor.isBuffer&&M.constructor.isBuffer(M)}K.exports=function(M){return null!=M&&(G(M)||function I(M){return"function"==typeof M.readFloatLE&&"function"==typeof M.slice&&G(M.slice(0,0))}(M)||!!M._isBuffer)}},9769:(K,G,I)=>{var M,p,y,g,_;M=I(5585),p=I(3018).utf8,y=I(9964),g=I(3018).bin,(_=function(w,E){w.constructor==String?w=E&&"binary"===E.encoding?g.stringToBytes(w):p.stringToBytes(w):y(w)?w=Array.prototype.slice.call(w,0):!Array.isArray(w)&&w.constructor!==Uint8Array&&(w=w.toString());for(var T=M.bytesToWords(w),R=8*w.length,O=1732584193,j=-271733879,$=-1732584194,W=271733878,X=0;X>>24)|4278255360&(T[X]<<24|T[X]>>>8);T[R>>>5]|=128<>>9<<4)]=R;var et=_._ff,Ot=_._gg,Gt=_._hh,Rt=_._ii;for(X=0;X>>0,j=j+ct>>>0,$=$+ut>>>0,W=W+it>>>0}return M.endian([O,j,$,W])})._ff=function(w,E,T,R,O,j,$){var W=w+(E&T|~E&R)+(O>>>0)+$;return(W<>>32-j)+E},_._gg=function(w,E,T,R,O,j,$){var W=w+(E&R|T&~R)+(O>>>0)+$;return(W<>>32-j)+E},_._hh=function(w,E,T,R,O,j,$){var W=w+(E^T^R)+(O>>>0)+$;return(W<>>32-j)+E},_._ii=function(w,E,T,R,O,j,$){var W=w+(T^(E|~R))+(O>>>0)+$;return(W<>>32-j)+E},_._blocksize=16,_._digestsize=16,K.exports=function(w,E){if(null==w)throw new Error("Illegal argument "+w);var T=M.wordsToBytes(_(w,E));return E&&E.asBytes?T:E&&E.asString?g.bytesToString(T):M.bytesToHex(T)}},6503:function(K,G,I){var M;K.exports=(M=I(5439),function(p){function y(_){if(g[_])return g[_].exports;var w=g[_]={i:_,l:!1,exports:{}};return p[_].call(w.exports,w,w.exports,y),w.l=!0,w.exports}var g={};return y.m=p,y.c=g,y.i=function(_){return _},y.d=function(_,w,E){y.o(_,w)||Object.defineProperty(_,w,{configurable:!1,enumerable:!0,get:E})},y.n=function(_){var w=_&&_.__esModule?function(){return _.default}:function(){return _};return y.d(w,"a",w),w},y.o=function(_,w){return Object.prototype.hasOwnProperty.call(_,w)},y.p="",y(y.s=3)}([function(p,y,g){"use strict";var _=g(5)();p.exports=function(w){return w!==_&&null!==w}},function(p,y,g){"use strict";p.exports=g(18)()?Symbol:g(20)},function(p,y){p.exports=M},function(p,y,g){"use strict";function _(xt){return xt&&xt.__esModule?xt:{default:xt}}function w(xt,ct,ut){return ct in xt?Object.defineProperty(xt,ct,{value:ut,enumerable:!0,configurable:!0,writable:!0}):xt[ct]=ut,xt}function E(xt,ct){if(!(xt instanceof ct))throw new TypeError("Cannot call a class as a function")}function T(xt){return xt.range=function(ct,ut){var it=this;return"string"==typeof ct&&Gt.hasOwnProperty(ct)?new Rt(xt(it).startOf(ct),xt(it).endOf(ct)):new Rt(ct,ut)},xt.rangeFromInterval=function(ct){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,it=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt();if(xt.isMoment(it)||(it=xt(it)),!it.isValid())throw new Error("Invalid date.");var mt=it.clone().add(ut,ct),wt=[];return wt.push(xt.min(it,mt)),wt.push(xt.max(it,mt)),new Rt(wt)},xt.rangeFromISOString=function(ct){var ut=R(ct),it=xt.parseZone(ut[0]),mt=xt.parseZone(ut[1]);return new Rt(it,mt)},xt.parseZoneRange=xt.rangeFromISOString,xt.fn.range=xt.range,xt.range.constructor=Rt,xt.isRange=function(ct){return ct instanceof Rt},xt.fn.within=function(ct){return ct.contains(this.toDate())},xt}function R(xt){return xt.split("/")}Object.defineProperty(y,"__esModule",{value:!0}),y.DateRange=void 0;var O=function(){function xt(ct,ut){var it=[],mt=!0,wt=!1,U=void 0;try{for(var B,ot=ct[Symbol.iterator]();!(mt=(B=ot.next()).done)&&(it.push(B.value),!ut||it.length!==ut);mt=!0);}catch(tt){wt=!0,U=tt}finally{try{!mt&&ot.return&&ot.return()}finally{if(wt)throw U}}return it}return function(ct,ut){if(Array.isArray(ct))return ct;if(Symbol.iterator in Object(ct))return xt(ct,ut);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(xt){return typeof xt}:function(xt){return xt&&"function"==typeof Symbol&&xt.constructor===Symbol&&xt!==Symbol.prototype?"symbol":typeof xt},$=function(){function xt(ct,ut){for(var it=0;it=this.end.valueOf()}},{key:"add",value:function(ct){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{adjacent:!1};return this.overlaps(ct,ut)?new this.constructor(X.default.min(this.start,ct.start),X.default.max(this.end,ct.end)):null}},{key:"by",value:function(ct){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{excludeEnd:!1,step:1},it=this;return w({},Ot.default.iterator,function(){var mt=ut.step||1,wt=Math.abs(it.start.diff(it.end,ct))/mt,U=ut.excludeEnd||!1,B=0;return ut.hasOwnProperty("exclusive")&&(U=ut.exclusive),{next:function(){var ot=it.start.clone().add(B*mt,ct),tt=U?!(B1&&void 0!==arguments[1]?arguments[1]:{excludeEnd:!1,step:1},it=this,mt=ut.step||1,wt=this.valueOf()/ct.valueOf()/mt,U=Math.floor(wt),B=ut.excludeEnd||!1,ot=0;return ut.hasOwnProperty("exclusive")&&(B=ut.exclusive),w({},Ot.default.iterator,function(){return U===1/0?{done:!0}:{next:function(){var tt=(0,X.default)(it.start.valueOf()+ct.valueOf()*ot*mt),Tt=U===wt&&B?!(ot1&&void 0!==arguments[1]?arguments[1]:{excludeStart:!1,excludeEnd:!1},it=this.start.valueOf(),mt=this.end.valueOf(),wt=ct.valueOf(),U=ct.valueOf(),B=ut.excludeStart||!1,ot=ut.excludeEnd||!1;return ut.hasOwnProperty("exclusive")&&(B=ot=ut.exclusive),ct instanceof xt&&(wt=ct.start.valueOf(),U=ct.end.valueOf()),(itU||mt>=U&&!ot)}},{key:"diff",value:function(ct,ut){return this.end.diff(this.start,ct,ut)}},{key:"duration",value:function(ct,ut){return this.diff(ct,ut)}},{key:"intersect",value:function(ct){var ut=this.start.valueOf(),it=this.end.valueOf(),mt=ct.start.valueOf(),wt=ct.end.valueOf(),B=mt==wt;if(ut==it){if(ut==mt||ut==wt)return null;if(ut>mt&&utut&&tt1&&void 0!==arguments[1]?arguments[1]:{adjacent:!1},it=null!==this.intersect(ct);return ut.adjacent&&!it?this.adjacent(ct):it}},{key:"reverseBy",value:function(ct){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{excludeStart:!1,step:1},it=this;return w({},Ot.default.iterator,function(){var mt=ut.step||1,wt=Math.abs(it.start.diff(it.end,ct))/mt,U=ut.excludeStart||!1,B=0;return ut.hasOwnProperty("exclusive")&&(U=ut.exclusive),{next:function(){var ot=it.end.clone().subtract(B*mt,ct),tt=U?!(B1&&void 0!==arguments[1]?arguments[1]:{excludeStart:!1,step:1},it=this,mt=ut.step||1,wt=this.valueOf()/ct.valueOf()/mt,U=Math.floor(wt),B=ut.excludeStart||!1,ot=0;return ut.hasOwnProperty("exclusive")&&(B=ut.exclusive),w({},Ot.default.iterator,function(){return U===1/0?{done:!0}:{next:function(){var tt=(0,X.default)(it.end.valueOf()-ct.valueOf()*ot*mt),Tt=U===wt&&B?!(ot-1}},function(p,y,g){"use strict";var _={object:!0,symbol:!0};p.exports=function(){var w;if("function"!=typeof Symbol)return!1;w=Symbol("test symbol");try{String(w)}catch{return!1}return!!_[typeof Symbol.iterator]&&!!_[typeof Symbol.toPrimitive]&&!!_[typeof Symbol.toStringTag]}},function(p,y,g){"use strict";p.exports=function(_){return!!_&&("symbol"==typeof _||!!_.constructor&&"Symbol"===_.constructor.name&&"Symbol"===_[_.constructor.toStringTag])}},function(p,y,g){"use strict";var _,w,E,T,R=g(4),O=g(21),j=Object.create,$=Object.defineProperties,W=Object.defineProperty,X=Object.prototype,et=j(null);if("function"==typeof Symbol){_=Symbol;try{String(_()),T=!0}catch{}}var Gt,Ot=(Gt=j(null),function(Rt){for(var xt,ct,ut=0;Gt[Rt+(ut||"")];)++ut;return Gt[Rt+=ut||""]=!0,W(X,xt="@@"+Rt,R.gs(null,function(it){ct||(ct=!0,W(this,xt,R(it)),ct=!1)})),xt});E=function(Gt){if(this instanceof E)throw new TypeError("Symbol is not a constructor");return w(Gt)},p.exports=w=function Gt(Rt){var xt;if(this instanceof Gt)throw new TypeError("Symbol is not a constructor");return T?_(Rt):(xt=j(E.prototype),Rt=void 0===Rt?"":String(Rt),$(xt,{__description__:R("",Rt),__name__:R("",Ot(Rt))}))},$(w,{for:R(function(Gt){return et[Gt]?et[Gt]:et[Gt]=w(String(Gt))}),keyFor:R(function(Gt){var Rt;for(Rt in O(Gt),et)if(et[Rt]===Gt)return Rt}),hasInstance:R("",_&&_.hasInstance||w("hasInstance")),isConcatSpreadable:R("",_&&_.isConcatSpreadable||w("isConcatSpreadable")),iterator:R("",_&&_.iterator||w("iterator")),match:R("",_&&_.match||w("match")),replace:R("",_&&_.replace||w("replace")),search:R("",_&&_.search||w("search")),species:R("",_&&_.species||w("species")),split:R("",_&&_.split||w("split")),toPrimitive:R("",_&&_.toPrimitive||w("toPrimitive")),toStringTag:R("",_&&_.toStringTag||w("toStringTag")),unscopables:R("",_&&_.unscopables||w("unscopables"))}),$(E.prototype,{constructor:R(w),toString:R("",function(){return this.__name__})}),$(w.prototype,{toString:R(function(){return"Symbol ("+O(this).__description__+")"}),valueOf:R(function(){return O(this)})}),W(w.prototype,w.toPrimitive,R("",function(){var Gt=O(this);return"symbol"==typeof Gt?Gt:Gt.toString()})),W(w.prototype,w.toStringTag,R("c","Symbol")),W(E.prototype,w.toStringTag,R("c",w.prototype[w.toStringTag])),W(E.prototype,w.toPrimitive,R("c",w.prototype[w.toPrimitive]))},function(p,y,g){"use strict";var _=g(19);p.exports=function(w){if(!_(w))throw new TypeError(w+" is not a symbol");return w}}]))},7088:function(K,G,I){!function(M){"use strict";M.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(y){return/^nm$/i.test(y)},meridiem:function(y,g,_){return y<12?_?"vm":"VM":_?"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",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(y){return y+(1===y||8===y||y>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(5439))},2502:function(K,G,I){!function(M){"use strict";var p=function(E){return 0===E?0:1===E?1:2===E?2:E%100>=3&&E%100<=10?3:E%100>=11?4:5},y={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"]},g=function(E){return function(T,R,O,j){var $=p(T),W=y[E][p(T)];return 2===$&&(W=W[R?0:1]),W.replace(/%d/i,T)}},_=["\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"];M.defineLocale("ar-dz",{months:_,monthsShort:_,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,R){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:g("s"),ss:g("s"),m:g("m"),mm:g("m"),h:g("h"),hh:g("h"),d:g("d"),dd:g("d"),M:g("M"),MM:g("M"),y:g("y"),yy:g("y")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(I(5439))},128:function(K,G,I){!function(M){"use strict";M.defineLocale("ar-kw",{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",ss:"%d \u062b\u0627\u0646\u064a\u0629",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:12}})}(I(5439))},4519:function(K,G,I){!function(M){"use strict";var p={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},y=function(T){return 0===T?0:1===T?1:2===T?2:T%100>=3&&T%100<=10?3:T%100>=11?4:5},g={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"]},_=function(T){return function(R,O,j,$){var W=y(R),X=g[T][y(R)];return 2===W&&(X=X[O?0:1]),X.replace(/%d/i,R)}},w=["\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"];M.defineLocale("ar-ly",{months:w,monthsShort:w,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(T){return"\u0645"===T},meridiem:function(T,R,O){return T<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:_("s"),ss:_("s"),m:_("m"),mm:_("m"),h:_("h"),hh:_("h"),d:_("d"),dd:_("d"),M:_("M"),MM:_("M"),y:_("y"),yy:_("y")},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/\d/g,function(R){return p[R]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(I(5439))},5443:function(K,G,I){!function(M){"use strict";M.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\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:"\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",ss:"%d \u062b\u0627\u0646\u064a\u0629",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}})}(I(5439))},7642:function(K,G,I){!function(M){"use strict";var p={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},y={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};M.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(_){return"\u0645"===_},meridiem:function(_,w,E){return _<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",ss:"%d \u062b\u0627\u0646\u064a\u0629",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(_){return _.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(w){return y[w]}).replace(/\u060c/g,",")},postformat:function(_){return _.replace(/\d/g,function(w){return p[w]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(I(5439))},8592:function(K,G,I){!function(M){"use strict";M.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",ss:"%d \u062b\u0627\u0646\u064a\u0629",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}})}(I(5439))},7038:function(K,G,I){!function(M){"use strict";var p={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},y={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},g=function(R){return 0===R?0:1===R?1:2===R?2:R%100>=3&&R%100<=10?3:R%100>=11?4:5},_={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"]},w=function(R){return function(O,j,$,W){var X=g(O),et=_[R][g(O)];return 2===X&&(et=et[j?0:1]),et.replace(/%d/i,O)}},E=["\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"];M.defineLocale("ar",{months:E,monthsShort:E,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(R){return"\u0645"===R},meridiem:function(R,O,j){return R<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:w("s"),ss:w("s"),m:w("m"),mm:w("m"),h:w("h"),hh:w("h"),d:w("d"),dd:w("d"),M:w("M"),MM:w("M"),y:w("y"),yy:w("y")},preparse:function(R){return R.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(O){return y[O]}).replace(/\u060c/g,",")},postformat:function(R){return R.replace(/\d/g,function(O){return p[O]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(I(5439))},1213:function(K,G,I){!function(M){"use strict";var p={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"};M.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:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\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(g){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(g)},meridiem:function(g,_,w){return g<4?"gec\u0259":g<12?"s\u0259h\u0259r":g<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(g){if(0===g)return g+"-\u0131nc\u0131";var _=g%10,w=g%100-_,E=g>=100?100:null;return g+(p[_]||p[w]||p[E])},week:{dow:1,doy:7}})}(I(5439))},9191:function(K,G,I){!function(M){"use strict";function p(_,w){var E=_.split("_");return w%10==1&&w%100!=11?E[0]:w%10>=2&&w%10<=4&&(w%100<10||w%100>=20)?E[1]:E[2]}function y(_,w,E){return"m"===E?w?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===E?w?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":_+" "+p({ss:w?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:w?"\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:w?"\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"}[E],+_)}M.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:/\[ ?[\u0423\u0443\u045e] ?(?:\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:y,mm:y,h:y,hh:y,d:"\u0434\u0437\u0435\u043d\u044c",dd:y,M:"\u043c\u0435\u0441\u044f\u0446",MM:y,y:"\u0433\u043e\u0434",yy:y},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(_){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(_)},meridiem:function(_,w,E){return _<4?"\u043d\u043e\u0447\u044b":_<12?"\u0440\u0430\u043d\u0456\u0446\u044b":_<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(_,w){switch(w){case"M":case"d":case"DDD":case"w":case"W":return _%10!=2&&_%10!=3||_%100==12||_%100==13?_+"-\u044b":_+"-\u0456";case"D":return _+"-\u0433\u0430";default:return _}},week:{dow:1,doy:7}})}(I(5439))},322:function(K,G,I){!function(M){"use strict";M.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\u0443_\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"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\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",ss:"%d \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",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\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"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(y){var g=y%10,_=y%100;return 0===y?y+"-\u0435\u0432":0===_?y+"-\u0435\u043d":_>10&&_<20?y+"-\u0442\u0438":1===g?y+"-\u0432\u0438":2===g?y+"-\u0440\u0438":7===g||8===g?y+"-\u043c\u0438":y+"-\u0442\u0438"},week:{dow:1,doy:7}})}(I(5439))},8042:function(K,G,I){!function(M){"use strict";M.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(I(5439))},5903:function(K,G,I){!function(M){"use strict";var p={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},y={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};M.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\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\u09cd\u09b0\u09c1_\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_\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\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\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",ss:"%d \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(_){return _.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(w){return y[w]})},postformat:function(_){return _.replace(/\d/g,function(w){return p[w]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(_,w){return 12===_&&(_=0),"\u09b0\u09be\u09a4"===w?_<4?_:_+12:"\u09ad\u09cb\u09b0"===w||"\u09b8\u0995\u09be\u09b2"===w?_:"\u09a6\u09c1\u09aa\u09c1\u09b0"===w?_>=3?_:_+12:"\u09ac\u09bf\u0995\u09be\u09b2"===w||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===w?_+12:void 0},meridiem:function(_,w,E){return _<4?"\u09b0\u09be\u09a4":_<6?"\u09ad\u09cb\u09b0":_<12?"\u09b8\u0995\u09be\u09b2":_<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":_<18?"\u09ac\u09bf\u0995\u09be\u09b2":_<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(I(5439))},9620:function(K,G,I){!function(M){"use strict";var p={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},y={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};M.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\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\u09cd\u09b0\u09c1_\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_\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\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\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",ss:"%d \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(_){return _.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(w){return y[w]})},postformat:function(_){return _.replace(/\d/g,function(w){return p[w]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(_,w){return 12===_&&(_=0),"\u09b0\u09be\u09a4"===w&&_>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===w&&_<5||"\u09ac\u09bf\u0995\u09be\u09b2"===w?_+12:_},meridiem:function(_,w,E){return _<4?"\u09b0\u09be\u09a4":_<10?"\u09b8\u0995\u09be\u09b2":_<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":_<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(I(5439))},9645:function(K,G,I){!function(M){"use strict";var p={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},y={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};M.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\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,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_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".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",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",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(_){return _.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(w){return y[w]})},postformat:function(_){return _.replace(/\d/g,function(w){return p[w]})},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(_,w){return 12===_&&(_=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===w&&_>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===w&&_<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===w?_+12:_},meridiem:function(_,w,E){return _<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":_<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":_<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":_<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(I(5439))},5020:function(K,G,I){!function(M){"use strict";function p(et,Ot,Gt){return et+" "+_({mm:"munutenn",MM:"miz",dd:"devezh"}[Gt],et)}function y(et){switch(g(et)){case 1:case 3:case 4:case 5:case 9:return et+" bloaz";default:return et+" vloaz"}}function g(et){return et>9?g(et%10):et}function _(et,Ot){return 2===Ot?w(et):et}function w(et){var Ot={m:"v",b:"v",d:"z"};return void 0===Ot[et.charAt(0)]?et:Ot[et.charAt(0)]+et.substring(1)}var E=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],T=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,R=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,O=/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,j=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],$=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],W=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];M.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:W,fullWeekdaysParse:j,shortWeekdaysParse:$,minWeekdaysParse:W,monthsRegex:T,monthsShortRegex:T,monthsStrictRegex:R,monthsShortStrictRegex:O,monthsParse:E,longMonthsParse:E,shortMonthsParse:E,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:p,h:"un eur",hh:"%d eur",d:"un devezh",dd:p,M:"ur miz",MM:p,y:"ur bloaz",yy:y},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(et){return et+(1===et?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(et){return"g.m."===et},meridiem:function(et,Ot,Gt){return et<12?"a.m.":"g.m."}})}(I(5439))},4792:function(K,G,I){!function(M){"use strict";function p(g,_,w){var E=g+" ";switch(w){case"ss":return E+=1===g?"sekunda":2===g||3===g||4===g?"sekunde":"sekundi";case"m":return _?"jedna minuta":"jedne minute";case"mm":return E+=1===g?"minuta":2===g||3===g||4===g?"minute":"minuta";case"h":return _?"jedan sat":"jednog sata";case"hh":return E+=1===g?"sat":2===g||3===g||4===g?"sata":"sati";case"dd":return E+=1===g?"dan":"dana";case"MM":return E+=1===g?"mjesec":2===g||3===g||4===g?"mjeseca":"mjeseci";case"yy":return E+=1===g?"godina":2===g||3===g||4===g?"godine":"godina"}}M.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",ss:p,m:p,mm:p,h:p,hh:p,d:"dan",dd:p,M:"mjesec",MM:p,y:"godinu",yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},7980:function(K,G,I){!function(M){"use strict";M.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_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 [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM 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",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(y,g){var _=1===y?"r":2===y?"n":3===y?"r":4===y?"t":"\xe8";return("w"===g||"W"===g)&&(_="a"),y+_},week:{dow:1,doy:4}})}(I(5439))},7322:function(K,G,I){!function(M){"use strict";var p={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},y="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),g=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],_=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function w(R){return R>1&&R<5&&1!=~~(R/10)}function E(R,O,j,$){var W=R+" ";switch(j){case"s":return O||$?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return O||$?W+(w(R)?"sekundy":"sekund"):W+"sekundami";case"m":return O?"minuta":$?"minutu":"minutou";case"mm":return O||$?W+(w(R)?"minuty":"minut"):W+"minutami";case"h":return O?"hodina":$?"hodinu":"hodinou";case"hh":return O||$?W+(w(R)?"hodiny":"hodin"):W+"hodinami";case"d":return O||$?"den":"dnem";case"dd":return O||$?W+(w(R)?"dny":"dn\xed"):W+"dny";case"M":return O||$?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return O||$?W+(w(R)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):W+"m\u011bs\xedci";case"y":return O||$?"rok":"rokem";case"yy":return O||$?W+(w(R)?"roky":"let"):W+"lety"}}M.defineLocale("cs",{months:p,monthsShort:y,monthsRegex:_,monthsShortRegex:_,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:g,longMonthsParse:g,shortMonthsParse:g,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:E,ss:E,m:E,mm:E,h:E,hh:E,d:E,dd:E,M:E,MM:E,y:E,yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},365:function(K,G,I){!function(M){"use strict";M.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(y){return y+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(y)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(y)?"\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",ss:"%d \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"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(I(5439))},2092:function(K,G,I){!function(M){"use strict";M.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",ss:"%d eiliad",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"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(y){var _="";return y>20?_=40===y||50===y||60===y||80===y||100===y?"fed":"ain":y>0&&(_=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][y]),y+_},week:{dow:1,doy:4}})}(I(5439))},7387:function(K,G,I){!function(M){"use strict";M.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 [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},9459:function(K,G,I){!function(M){"use strict";function p(g,_,w,E){var T={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[g+" Tage",g+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[g+" Monate",g+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[g+" Jahre",g+" Jahren"]};return _?T[w][0]:T[w][1]}M.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._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",ss:"%d Sekunden",m:p,mm:"%d Minuten",h:p,hh:"%d Stunden",d:p,dd:p,w:p,ww:"%d Wochen",M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},3694:function(K,G,I){!function(M){"use strict";function p(g,_,w,E){var T={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[g+" Tage",g+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[g+" Monate",g+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[g+" Jahre",g+" Jahren"]};return _?T[w][0]:T[w][1]}M.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._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",ss:"%d Sekunden",m:p,mm:"%d Minuten",h:p,hh:"%d Stunden",d:p,dd:p,w:p,ww:"%d Wochen",M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},4307:function(K,G,I){!function(M){"use strict";function p(g,_,w,E){var T={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[g+" Tage",g+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[g+" Monate",g+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[g+" Jahre",g+" Jahren"]};return _?T[w][0]:T[w][1]}M.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._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",ss:"%d Sekunden",m:p,mm:"%d Minuten",h:p,hh:"%d Stunden",d:p,dd:p,w:p,ww:"%d Wochen",M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},9659:function(K,G,I){!function(M){"use strict";var p=["\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"],y=["\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"];M.defineLocale("dv",{months:p,monthsShort:p,weekdays:y,weekdaysShort:y,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(_){return"\u0789\u078a"===_},meridiem:function(_,w,E){return _<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",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",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(_){return _.replace(/\u060c/g,",")},postformat:function(_){return _.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(I(5439))},3460:function(K,G,I){!function(M){"use strict";function p(g){return typeof Function<"u"&&g instanceof Function||"[object Function]"===Object.prototype.toString.call(g)}M.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(g,_){return g?"string"==typeof _&&/D/.test(_.substring(0,_.indexOf("MMMM")))?this._monthsGenitiveEl[g.month()]:this._monthsNominativeEl[g.month()]:this._monthsNominativeEl},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(g,_,w){return g>11?w?"\u03bc\u03bc":"\u039c\u039c":w?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(g){return"\u03bc"===(g+"").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(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(g,_){var w=this._calendarEl[g],E=_&&_.hours();return p(w)&&(w=w.apply(_)),w.replace("{}",E%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",ss:"%d \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"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(I(5439))},4369:function(K,G,I){!function(M){"use strict";M.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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var g=y%10;return y+(1==~~(y%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:0,doy:4}})}(I(5439))},530:function(K,G,I){!function(M){"use strict";M.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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var g=y%10;return y+(1==~~(y%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")}})}(I(5439))},9998:function(K,G,I){!function(M){"use strict";M.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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var g=y%10;return y+(1==~~(y%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},3391:function(K,G,I){!function(M){"use strict";M.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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var g=y%10;return y+(1==~~(y%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},5414:function(K,G,I){!function(M){"use strict";M.defineLocale("en-il",{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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var g=y%10;return y+(1==~~(y%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")}})}(I(5439))},9615:function(K,G,I){!function(M){"use strict";M.defineLocale("en-in",{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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var g=y%10;return y+(1==~~(y%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:0,doy:6}})}(I(5439))},1248:function(K,G,I){!function(M){"use strict";M.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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var g=y%10;return y+(1==~~(y%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},3767:function(K,G,I){!function(M){"use strict";M.defineLocale("en-sg",{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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var g=y%10;return y+(1==~~(y%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},4530:function(K,G,I){!function(M){"use strict";M.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(y){return"p"===y.charAt(0).toLowerCase()},meridiem:function(y,g,_){return y>11?_?"p.t.m.":"P.T.M.":_?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(I(5439))},8944:function(K,G,I){!function(M){"use strict";var p="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),y="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),g=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],_=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;M.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(E,T){return E?/-MMM-/.test(T)?y[E.month()]:p[E.month()]:p},monthsRegex:_,monthsShortRegex:_,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:g,longMonthsParse:g,shortMonthsParse:g,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",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},9116:function(K,G,I){!function(M){"use strict";var p="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),y="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),g=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],_=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;M.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(E,T){return E?/-MMM-/.test(T)?y[E.month()]:p[E.month()]:p},monthsRegex:_,monthsShortRegex:_,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:g,longMonthsParse:g,shortMonthsParse:g,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",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(I(5439))},3609:function(K,G,I){!function(M){"use strict";var p="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),y="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),g=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],_=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;M.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(E,T){return E?/-MMM-/.test(T)?y[E.month()]:p[E.month()]:p},monthsRegex:_,monthsShortRegex:_,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:g,longMonthsParse:g,shortMonthsParse:g,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:"MM/DD/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",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(I(5439))},6866:function(K,G,I){!function(M){"use strict";var p="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),y="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),g=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],_=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;M.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(E,T){return E?/-MMM-/.test(T)?y[E.month()]:p[E.month()]:p},monthsRegex:_,monthsShortRegex:_,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:g,longMonthsParse:g,shortMonthsParse:g,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",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(I(5439))},6725:function(K,G,I){!function(M){"use strict";function p(g,_,w,E){var T={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[g+"sekundi",g+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[g+" minuti",g+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[g+" tunni",g+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[g+" kuu",g+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[g+" aasta",g+" aastat"]};return _?T[w][2]?T[w][2]:T[w][1]:E?T[w][0]:T[w][1]}M.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:p,ss:p,m:p,mm:p,h:p,hh:p,d:p,dd:"%d p\xe4eva",M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},7931:function(K,G,I){!function(M){"use strict";M.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",ss:"%d segundo",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"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},6417:function(K,G,I){!function(M){"use strict";var p={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},y={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};M.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(_){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(_)},meridiem:function(_,w,E){return _<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 \u062b\u0627\u0646\u06cc\u0647",ss:"%d \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(_){return _.replace(/[\u06f0-\u06f9]/g,function(w){return y[w]}).replace(/\u060c/g,",")},postformat:function(_){return _.replace(/\d/g,function(w){return p[w]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(I(5439))},944:function(K,G,I){!function(M){"use strict";var p="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),y=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",p[7],p[8],p[9]];function g(E,T,R,O){var j="";switch(R){case"s":return O?"muutaman sekunnin":"muutama sekunti";case"ss":j=O?"sekunnin":"sekuntia";break;case"m":return O?"minuutin":"minuutti";case"mm":j=O?"minuutin":"minuuttia";break;case"h":return O?"tunnin":"tunti";case"hh":j=O?"tunnin":"tuntia";break;case"d":return O?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":j=O?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return O?"kuukauden":"kuukausi";case"MM":j=O?"kuukauden":"kuukautta";break;case"y":return O?"vuoden":"vuosi";case"yy":j=O?"vuoden":"vuotta"}return j=_(E,O)+" "+j}function _(E,T){return E<10?T?y[E]:p[E]:E}M.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:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},1766:function(K,G,I){!function(M){"use strict";M.defineLocale("fil",{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",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(y){return y},week:{dow:1,doy:4}})}(I(5439))},5867:function(K,G,I){!function(M){"use strict";M.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",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},6848:function(K,G,I){!function(M){"use strict";M.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\u2019hui \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",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(y,g){switch(g){default:case"M":case"Q":case"D":case"DDD":case"d":return y+(1===y?"er":"e");case"w":case"W":return y+(1===y?"re":"e")}}})}(I(5439))},7773:function(K,G,I){!function(M){"use strict";M.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\u2019hui \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",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(y,g){switch(g){default:case"M":case"Q":case"D":case"DDD":case"d":return y+(1===y?"er":"e");case"w":case"W":return y+(1===y?"re":"e")}},week:{dow:1,doy:4}})}(I(5439))},1636:function(K,G,I){!function(M){"use strict";var p=/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,y=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,g=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,_=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];M.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("_"),monthsRegex:g,monthsShortRegex:g,monthsStrictRegex:p,monthsShortStrictRegex:y,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,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\u2019hui \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",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(E,T){switch(T){case"D":return E+(1===E?"er":"");default:case"M":case"Q":case"DDD":case"d":return E+(1===E?"er":"e");case"w":case"W":return E+(1===E?"re":"e")}},week:{dow:1,doy:4}})}(I(5439))},4940:function(K,G,I){!function(M){"use strict";var p="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),y="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");M.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(_,w){return _?/-MMM-/.test(w)?y[_.month()]:p[_.month()]:p},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",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(_){return _+(1===_||8===_||_>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(5439))},1402:function(K,G,I){!function(M){"use strict";var p=["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],y=["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],g=["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],_=["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],w=["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"];M.defineLocale("ga",{months:p,monthsShort:y,monthsParseExact:!0,weekdays:g,weekdaysShort:_,weekdaysMin:w,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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(T){return T+(1===T?"d":T%10==2?"na":"mh")},week:{dow:1,doy:4}})}(I(5439))},6924:function(K,G,I){!function(M){"use strict";var p=["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"],y=["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],g=["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],_=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],w=["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"];M.defineLocale("gd",{months:p,monthsShort:y,monthsParseExact:!0,weekdays:g,weekdaysShort:_,weekdaysMin:w,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",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(T){return T+(1===T?"d":T%10==2?"na":"mh")},week:{dow:1,doy:4}})}(I(5439))},6398:function(K,G,I){!function(M){"use strict";M.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(y){return 0===y.indexOf("un")?"n"+y:"en "+y},past:"hai %s",s:"uns segundos",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},2457:function(K,G,I){!function(M){"use strict";function p(g,_,w,E){var T={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[g+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",g+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[g+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",g+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[g+" \u0935\u0930\u093e\u0902\u0928\u0940",g+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[g+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",g+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[g+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",g+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[g+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",g+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return E?T[w][0]:T[w][1]}M.defineLocale("gom-deva",{months:{standalone:"\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\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\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("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\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:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:p,ss:p,m:p,mm:p,h:p,hh:p,d:p,dd:p,M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(g,_){return"D"===_?g+"\u0935\u0947\u0930":g},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(g,_){return 12===g&&(g=0),"\u0930\u093e\u0924\u0940"===_?g<4?g:g+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===_?g:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===_?g>12?g:g+12:"\u0938\u093e\u0902\u091c\u0947"===_?g+12:void 0},meridiem:function(g,_,w){return g<4?"\u0930\u093e\u0924\u0940":g<12?"\u0938\u0915\u093e\u0933\u0940\u0902":g<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":g<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(I(5439))},2545:function(K,G,I){!function(M){"use strict";function p(g,_,w,E){var T={s:["thoddea sekondamni","thodde sekond"],ss:[g+" sekondamni",g+" sekond"],m:["eka mintan","ek minut"],mm:[g+" mintamni",g+" mintam"],h:["eka voran","ek vor"],hh:[g+" voramni",g+" voram"],d:["eka disan","ek dis"],dd:[g+" disamni",g+" dis"],M:["eka mhoinean","ek mhoino"],MM:[g+" mhoineamni",g+" mhoine"],y:["eka vorsan","ek voros"],yy:[g+" vorsamni",g+" vorsam"]};return E?T[w][0]:T[w][1]}M.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:p,ss:p,m:p,mm:p,h:p,hh:p,d:p,dd:p,M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(g,_){return"D"===_?g+"er":g},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(g,_){return 12===g&&(g=0),"rati"===_?g<4?g:g+12:"sokallim"===_?g:"donparam"===_?g>12?g:g+12:"sanje"===_?g+12:void 0},meridiem:function(g,_,w){return g<4?"rati":g<12?"sokallim":g<16?"donparam":g<20?"sanje":"rati"}})}(I(5439))},2641:function(K,G,I){!function(M){"use strict";var p={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},y={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};M.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(_){return _.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(w){return y[w]})},postformat:function(_){return _.replace(/\d/g,function(w){return p[w]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(_,w){return 12===_&&(_=0),"\u0ab0\u0abe\u0aa4"===w?_<4?_:_+12:"\u0ab8\u0ab5\u0abe\u0ab0"===w?_:"\u0aac\u0aaa\u0acb\u0ab0"===w?_>=10?_:_+12:"\u0ab8\u0abe\u0a82\u0a9c"===w?_+12:void 0},meridiem:function(_,w,E){return _<4?"\u0ab0\u0abe\u0aa4":_<10?"\u0ab8\u0ab5\u0abe\u0ab0":_<17?"\u0aac\u0aaa\u0acb\u0ab0":_<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(I(5439))},7536:function(K,G,I){!function(M){"use strict";M.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",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(y){return 2===y?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":y+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(y){return 2===y?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":y+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(y){return 2===y?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":y+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(y){return 2===y?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":y%10==0&&10!==y?y+" \u05e9\u05e0\u05d4":y+" \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(y){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(y)},meridiem:function(y,g,_){return y<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":y<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":y<12?_?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":y<18?_?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(I(5439))},6335:function(K,G,I){!function(M){"use strict";var p={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},y={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},g=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i],_=[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i];M.defineLocale("hi",{months:{format:"\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("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\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\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\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("_"),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"},monthsParse:g,longMonthsParse:g,shortMonthsParse:_,monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\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|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\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\.?)/i,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",ss:"%d \u0938\u0947\u0915\u0902\u0921",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(T){return y[T]})},postformat:function(E){return E.replace(/\d/g,function(T){return p[T]})},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,R){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}})}(I(5439))},7458:function(K,G,I){!function(M){"use strict";function p(g,_,w){var E=g+" ";switch(w){case"ss":return E+=1===g?"sekunda":2===g||3===g||4===g?"sekunde":"sekundi";case"m":return _?"jedna minuta":"jedne minute";case"mm":return E+=1===g?"minuta":2===g||3===g||4===g?"minute":"minuta";case"h":return _?"jedan sat":"jednog sata";case"hh":return E+=1===g?"sat":2===g||3===g||4===g?"sata":"sati";case"dd":return E+=1===g?"dan":"dana";case"MM":return E+=1===g?"mjesec":2===g||3===g||4===g?"mjeseca":"mjeseci";case"yy":return E+=1===g?"godina":2===g||3===g||4===g?"godine":"godina"}}M.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:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do 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:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [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",ss:p,m:p,mm:p,h:p,hh:p,d:"dan",dd:p,M:"mjesec",MM:p,y:"godinu",yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},6540:function(K,G,I){!function(M){"use strict";var p="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function y(w,E,T,R){var O=w;switch(T){case"s":return R||E?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return O+(R||E)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(R||E?" perc":" perce");case"mm":return O+(R||E?" perc":" perce");case"h":return"egy"+(R||E?" \xf3ra":" \xf3r\xe1ja");case"hh":return O+(R||E?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(R||E?" nap":" napja");case"dd":return O+(R||E?" nap":" napja");case"M":return"egy"+(R||E?" h\xf3nap":" h\xf3napja");case"MM":return O+(R||E?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(R||E?" \xe9v":" \xe9ve");case"yy":return O+(R||E?" \xe9v":" \xe9ve")}return""}function g(w){return(w?"":"[m\xfalt] ")+"["+p[this.day()]+"] LT[-kor]"}M.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("_"),monthsParseExact:!0,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(w){return"u"===w.charAt(1).toLowerCase()},meridiem:function(w,E,T){return w<12?!0===T?"de":"DE":!0===T?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return g.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return g.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},5283:function(K,G,I){!function(M){"use strict";M.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",ss:"%d \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(y){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(y)},meridiem:function(y){return y<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":y<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":y<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(y,g){switch(g){case"DDD":case"w":case"W":case"DDDo":return 1===y?y+"-\u056b\u0576":y+"-\u0580\u0564";default:return y}},week:{dow:1,doy:7}})}(I(5439))},8780:function(K,G,I){!function(M){"use strict";M.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_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(y,g){return 12===y&&(y=0),"pagi"===g?y:"siang"===g?y>=11?y:y+12:"sore"===g||"malam"===g?y+12:void 0},meridiem:function(y,g,_){return y<11?"pagi":y<15?"siang":y<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",ss:"%d 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:0,doy:6}})}(I(5439))},4205:function(K,G,I){!function(M){"use strict";function p(_){return _%100==11||_%10!=1}function y(_,w,E,T){var R=_+" ";switch(E){case"s":return w||T?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return p(_)?R+(w||T?"sek\xfandur":"sek\xfandum"):R+"sek\xfanda";case"m":return w?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return p(_)?R+(w||T?"m\xedn\xfatur":"m\xedn\xfatum"):w?R+"m\xedn\xfata":R+"m\xedn\xfatu";case"hh":return p(_)?R+(w||T?"klukkustundir":"klukkustundum"):R+"klukkustund";case"d":return w?"dagur":T?"dag":"degi";case"dd":return p(_)?w?R+"dagar":R+(T?"daga":"d\xf6gum"):w?R+"dagur":R+(T?"dag":"degi");case"M":return w?"m\xe1nu\xf0ur":T?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return p(_)?w?R+"m\xe1nu\xf0ir":R+(T?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):w?R+"m\xe1nu\xf0ur":R+(T?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return w||T?"\xe1r":"\xe1ri";case"yy":return p(_)?R+(w||T?"\xe1r":"\xe1rum"):R+(w||T?"\xe1r":"\xe1ri")}}M.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:y,ss:y,m:y,mm:y,h:"klukkustund",hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},9985:function(K,G,I){!function(M){"use strict";M.defineLocale("it-ch",{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(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(y){return(/^[0-9].+$/.test(y)?"tra":"in")+" "+y},past:"%s fa",s:"alcuni secondi",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},4211:function(K,G,I){!function(M){"use strict";M.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:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},1003:function(K,G,I){!function(M){"use strict";M.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(y,g){return"\u5143"===g[1]?1:parseInt(g[1]||y,10)},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:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(y){return"\u5348\u5f8c"===y},meridiem:function(y,g,_){return y<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(y){return y.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(y){return this.week()!==y.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(y,g){switch(g){case"y":return 1===y?"\u5143\u5e74":y+"\u5e74";case"d":case"D":case"DDD":return y+"\u65e5";default:return y}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\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"}})}(I(5439))},420:function(K,G,I){!function(M){"use strict";M.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(y,g){return 12===y&&(y=0),"enjing"===g?y:"siyang"===g?y>=11?y:y+12:"sonten"===g||"ndalu"===g?y+12:void 0},meridiem:function(y,g,_){return y<11?"enjing":y<15?"siyang":y<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",ss:"%d 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}})}(I(5439))},851:function(K,G,I){!function(M){"use strict";M.defineLocale("ka",{months:"\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("_"),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:"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:"[\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(y){return y.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(g,_,w){return"\u10d8"===w?_+"\u10e8\u10d8":_+w+"\u10e8\u10d8"})},past:function(y){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(y)?y.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(y)?y.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):y},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \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"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(y){return 0===y?y:1===y?y+"-\u10da\u10d8":y<20||y<=100&&y%20==0||y%100==0?"\u10db\u10d4-"+y:y+"-\u10d4"},week:{dow:1,doy:7}})}(I(5439))},6074:function(K,G,I){!function(M){"use strict";var p={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"};M.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",ss:"%d \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"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(g){var _=g%10,w=g>=100?100:null;return g+(p[g]||p[_]||p[w])},week:{dow:1,doy:7}})}(I(5439))},3343:function(K,G,I){!function(M){"use strict";var p={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},y={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};M.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_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".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:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(_){return"\u179b\u17d2\u1784\u17b6\u1785"===_},meridiem:function(_,w,E){return _<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},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",ss:"%d \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"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(_){return _.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(w){return y[w]})},postformat:function(_){return _.replace(/\d/g,function(w){return p[w]})},week:{dow:1,doy:4}})}(I(5439))},4799:function(K,G,I){!function(M){"use strict";var p={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},y={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};M.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".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:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(_){return _.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(w){return y[w]})},postformat:function(_){return _.replace(/\d/g,function(w){return p[w]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(_,w){return 12===_&&(_=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===w?_<4?_:_+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===w?_:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===w?_>=10?_:_+12:"\u0cb8\u0c82\u0c9c\u0cc6"===w?_+12:void 0},meridiem:function(_,w,E){return _<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":_<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":_<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":_<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(_){return _+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(I(5439))},3549:function(K,G,I){!function(M){"use strict";M.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:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},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:"1\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"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(y,g){switch(g){case"d":case"D":case"DDD":return y+"\uc77c";case"M":return y+"\uc6d4";case"w":case"W":return y+"\uc8fc";default:return y}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(y){return"\uc624\ud6c4"===y},meridiem:function(y,g,_){return y<12?"\uc624\uc804":"\uc624\ud6c4"}})}(I(5439))},1037:function(K,G,I){!function(M){"use strict";var p={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},y={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},g=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];M.defineLocale("ku",{months:g,monthsShort:g,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\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:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(w){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(w)},meridiem:function(w,E,T){return w<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(w){return w.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(E){return y[E]}).replace(/\u060c/g,",")},postformat:function(w){return w.replace(/\d/g,function(E){return p[E]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(I(5439))},3125:function(K,G,I){!function(M){"use strict";var p={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"};M.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\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\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",ss:"%d \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"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(g){var _=g%10,w=g>=100?100:null;return g+(p[g]||p[_]||p[w])},week:{dow:1,doy:7}})}(I(5439))},9586:function(K,G,I){!function(M){"use strict";function p(E,T,R,O){var j={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?j[R][0]:j[R][1]}function y(E){return _(E.substr(0,E.indexOf(" ")))?"a "+E:"an "+E}function g(E){return _(E.substr(0,E.indexOf(" ")))?"viru "+E:"virun "+E}function _(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 _(0===T?E/10:T)}if(E<1e4){for(;E>=10;)E/=10;return _(E)}return _(E/=1e3)}M.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:y,past:g,s:"e puer Sekonnen",ss:"%d Sekonnen",m:p,mm:"%d Minutten",h:p,hh:"%d Stonnen",d:p,dd:"%d Deeg",M:p,MM:"%d M\xe9int",y:p,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},2349:function(K,G,I){!function(M){"use strict";M.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(y){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===y},meridiem:function(y,g,_){return y<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",ss:"%d \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"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(y){return"\u0e97\u0eb5\u0ec8"+y}})}(I(5439))},2400:function(K,G,I){!function(M){"use strict";var p={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",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 y(R,O,j,$){return O?"kelios sekund\u0117s":$?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"}function g(R,O,j,$){return O?w(j)[0]:$?w(j)[1]:w(j)[2]}function _(R){return R%10==0||R>10&&R<20}function w(R){return p[R].split("_")}function E(R,O,j,$){var W=R+" ";return 1===R?W+g(R,O,j[0],$):O?W+(_(R)?w(j)[1]:w(j)[0]):$?W+w(j)[1]:W+(_(R)?w(j)[1]:w(j)[2])}M.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:y,ss:E,m:g,mm:E,h:g,hh:E,d:g,dd:E,M:g,MM:E,y:g,yy:E},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(R){return R+"-oji"},week:{dow:1,doy:4}})}(I(5439))},9991:function(K,G,I){!function(M){"use strict";var p={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),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 y(T,R,O){return O?R%10==1&&R%100!=11?T[2]:T[3]:R%10==1&&R%100!=11?T[0]:T[1]}function g(T,R,O){return T+" "+y(p[O],T,R)}function _(T,R,O){return y(p[O],T,R)}function w(T,R){return R?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"}M.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:w,ss:g,m:_,mm:g,h:_,hh:g,d:_,dd:g,M:_,MM:g,y:_,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},8477:function(K,G,I){!function(M){"use strict";var p={words:{ss:["sekund","sekunda","sekundi"],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(g,_){return 1===g?_[0]:g>=2&&g<=4?_[1]:_[2]},translate:function(g,_,w){var E=p.words[w];return 1===w.length?_?E[0]:E[1]:g+" "+p.correctGrammaticalCase(g,E)}};M.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",ss:p.translate,m:p.translate,mm:p.translate,h:p.translate,hh:p.translate,d:"dan",dd:p.translate,M:"mjesec",MM:p.translate,y:"godinu",yy:p.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},5118:function(K,G,I){!function(M){"use strict";M.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",ss:"%d h\u0113kona",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"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},5943:function(K,G,I){!function(M){"use strict";M.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:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(y){var g=y%10,_=y%100;return 0===y?y+"-\u0435\u0432":0===_?y+"-\u0435\u043d":_>10&&_<20?y+"-\u0442\u0438":1===g?y+"-\u0432\u0438":2===g?y+"-\u0440\u0438":7===g||8===g?y+"-\u043c\u0438":y+"-\u0442\u0438"},week:{dow:1,doy:7}})}(I(5439))},3849:function(K,G,I){!function(M){"use strict";M.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",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",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(y,g){return 12===y&&(y=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===g&&y>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===g||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===g?y+12:y},meridiem:function(y,g,_){return y<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":y<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":y<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":y<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(I(5439))},1977:function(K,G,I){!function(M){"use strict";function p(g,_,w,E){switch(w){case"s":return _?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return g+(_?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return g+(_?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return g+(_?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return g+(_?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return g+(_?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return g+(_?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return g}}M.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(g){return"\u04ae\u0425"===g},meridiem:function(g,_,w){return g<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:p,ss:p,m:p,mm:p,h:p,hh:p,d:p,dd:p,M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(g,_){switch(_){case"d":case"D":case"DDD":return g+" \u04e9\u0434\u04e9\u0440";default:return g}}})}(I(5439))},6184:function(K,G,I){!function(M){"use strict";var p={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},y={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function g(w,E,T,R){var O="";if(E)switch(T){case"s":O="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":O="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":O="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":O="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":O="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":O="%d \u0924\u093e\u0938";break;case"d":O="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":O="%d \u0926\u093f\u0935\u0938";break;case"M":O="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":O="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":O="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":O="%d \u0935\u0930\u094d\u0937\u0947"}else switch(T){case"s":O="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":O="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":O="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":O="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":O="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":O="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":O="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":O="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":O="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":O="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":O="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":O="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return O.replace(/%d/i,w)}M.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:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},preparse:function(w){return w.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(E){return y[E]})},postformat:function(w){return w.replace(/\d/g,function(E){return p[E]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(w,E){return 12===w&&(w=0),"\u092a\u0939\u093e\u091f\u0947"===E||"\u0938\u0915\u093e\u0933\u0940"===E?w:"\u0926\u0941\u092a\u093e\u0930\u0940"===E||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===E||"\u0930\u093e\u0924\u094d\u0930\u0940"===E?w>=12?w:w+12:void 0},meridiem:function(w,E,T){return w>=0&&w<6?"\u092a\u0939\u093e\u091f\u0947":w<12?"\u0938\u0915\u093e\u0933\u0940":w<17?"\u0926\u0941\u092a\u093e\u0930\u0940":w<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(I(5439))},4524:function(K,G,I){!function(M){"use strict";M.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(y,g){return 12===y&&(y=0),"pagi"===g?y:"tengahari"===g?y>=11?y:y+12:"petang"===g||"malam"===g?y+12:void 0},meridiem:function(y,g,_){return y<11?"pagi":y<15?"tengahari":y<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",ss:"%d 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}})}(I(5439))},485:function(K,G,I){!function(M){"use strict";M.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(y,g){return 12===y&&(y=0),"pagi"===g?y:"tengahari"===g?y>=11?y:y+12:"petang"===g||"malam"===g?y+12:void 0},meridiem:function(y,g,_){return y<11?"pagi":y<15?"tengahari":y<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",ss:"%d 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}})}(I(5439))},6681:function(K,G,I){!function(M){"use strict";M.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".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:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},2024:function(K,G,I){!function(M){"use strict";var p={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},y={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};M.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",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\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(_){return _.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(w){return y[w]})},postformat:function(_){return _.replace(/\d/g,function(w){return p[w]})},week:{dow:1,doy:4}})}(I(5439))},2688:function(K,G,I){!function(M){"use strict";M.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._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",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},8914:function(K,G,I){!function(M){"use strict";var p={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},y={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};M.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(_){return _.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(w){return y[w]})},postformat:function(_){return _.replace(/\d/g,function(w){return p[w]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(_,w){return 12===_&&(_=0),"\u0930\u093e\u0924\u093f"===w?_<4?_:_+12:"\u092c\u093f\u0939\u093e\u0928"===w?_:"\u0926\u093f\u0909\u0901\u0938\u094b"===w?_>=10?_:_+12:"\u0938\u093e\u0901\u091d"===w?_+12:void 0},meridiem:function(_,w,E){return _<3?"\u0930\u093e\u0924\u093f":_<12?"\u092c\u093f\u0939\u093e\u0928":_<16?"\u0926\u093f\u0909\u0901\u0938\u094b":_<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",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",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}})}(I(5439))},2272:function(K,G,I){!function(M){"use strict";var p="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),y="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),g=[/^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],_=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;M.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(E,T){return E?/-MMM-/.test(T)?y[E.month()]:p[E.month()]:p},monthsRegex:_,monthsShortRegex:_,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:g,longMonthsParse:g,shortMonthsParse:g,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",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(E){return E+(1===E||8===E||E>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(5439))},1758:function(K,G,I){!function(M){"use strict";var p="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),y="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),g=[/^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],_=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;M.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(E,T){return E?/-MMM-/.test(T)?y[E.month()]:p[E.month()]:p},monthsRegex:_,monthsShortRegex:_,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:g,longMonthsParse:g,shortMonthsParse:g,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",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(E){return E+(1===E||8===E||E>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(5439))},1510:function(K,G,I){!function(M){"use strict";M.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,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",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},2797:function(K,G,I){!function(M){"use strict";M.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(y,g){var _=1===y?"r":2===y?"n":3===y?"r":4===y?"t":"\xe8";return("w"===g||"W"===g)&&(_="a"),y+_},week:{dow:1,doy:4}})}(I(5439))},7944:function(K,G,I){!function(M){"use strict";var p={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},y={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};M.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:"[\u0a05\u0a17\u0a32\u0a3e] 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",ss:"%d \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(_){return _.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(w){return y[w]})},postformat:function(_){return _.replace(/\d/g,function(w){return p[w]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(_,w){return 12===_&&(_=0),"\u0a30\u0a3e\u0a24"===w?_<4?_:_+12:"\u0a38\u0a35\u0a47\u0a30"===w?_:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===w?_>=10?_:_+12:"\u0a38\u0a3c\u0a3e\u0a2e"===w?_+12:void 0},meridiem:function(_,w,E){return _<4?"\u0a30\u0a3e\u0a24":_<10?"\u0a38\u0a35\u0a47\u0a30":_<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":_<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(I(5439))},1605:function(K,G,I){!function(M){"use strict";var p="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),y="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),g=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function _(T){return T%10<5&&T%10>1&&~~(T/10)%10!=1}function w(T,R,O){var j=T+" ";switch(O){case"ss":return j+(_(T)?"sekundy":"sekund");case"m":return R?"minuta":"minut\u0119";case"mm":return j+(_(T)?"minuty":"minut");case"h":return R?"godzina":"godzin\u0119";case"hh":return j+(_(T)?"godziny":"godzin");case"ww":return j+(_(T)?"tygodnie":"tygodni");case"MM":return j+(_(T)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return j+(_(T)?"lata":"lat")}}M.defineLocale("pl",{months:function(T,R){return T?/D MMMM/.test(R)?y[T.month()]:p[T.month()]:p},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:g,longMonthsParse:g,shortMonthsParse:g,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:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[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",ss:w,m:w,mm:w,h:w,hh:w,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:w,M:"miesi\u0105c",MM:w,y:"rok",yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},3840:function(K,G,I){!function(M){"use strict";M.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:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".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:"h\xe1 %s",s:"poucos segundos",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(I(5439))},4225:function(K,G,I){!function(M){"use strict";M.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:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},5128:function(K,G,I){!function(M){"use strict";function p(g,_,w){var T=" ";return(g%100>=20||g>=100&&g%100==0)&&(T=" de "),g+T+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[w]}M.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._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",ss:p,m:"un minut",mm:p,h:"o or\u0103",hh:p,d:"o zi",dd:p,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:p,M:"o lun\u0103",MM:p,y:"un an",yy:p},week:{dow:1,doy:7}})}(I(5439))},5127:function(K,G,I){!function(M){"use strict";function p(w,E){var T=w.split("_");return E%10==1&&E%100!=11?T[0]:E%10>=2&&E%10<=4&&(E%100<10||E%100>=20)?T[1]:T[2]}function y(w,E,T){return"m"===T?E?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":w+" "+p({ss:E?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:E?"\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",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",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"}[T],+w)}var g=[/^\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];M.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:g,longMonthsParse:g,shortMonthsParse:g,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:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H: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(w){if(w.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(w){if(w.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",ss:y,m:y,mm:y,h:"\u0447\u0430\u0441",hh:y,d:"\u0434\u0435\u043d\u044c",dd:y,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:y,M:"\u043c\u0435\u0441\u044f\u0446",MM:y,y:"\u0433\u043e\u0434",yy:y},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(w){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(w)},meridiem:function(w,E,T){return w<4?"\u043d\u043e\u0447\u0438":w<12?"\u0443\u0442\u0440\u0430":w<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(w,E){switch(E){case"M":case"d":case"DDD":return w+"-\u0439";case"D":return w+"-\u0433\u043e";case"w":case"W":return w+"-\u044f";default:return w}},week:{dow:1,doy:4}})}(I(5439))},2525:function(K,G,I){!function(M){"use strict";var p=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],y=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];M.defineLocale("sd",{months:p,monthsShort:p,weekdays:y,weekdaysShort:y,weekdaysMin:y,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(_){return"\u0634\u0627\u0645"===_},meridiem:function(_,w,E){return _<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(_){return _.replace(/\u060c/g,",")},postformat:function(_){return _.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(I(5439))},9893:function(K,G,I){!function(M){"use strict";M.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",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},3123:function(K,G,I){!function(M){"use strict";M.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",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",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"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(y){return y+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(y){return"\u0db4.\u0dc0."===y||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===y},meridiem:function(y,g,_){return y>11?_?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":_?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(I(5439))},9635:function(K,G,I){!function(M){"use strict";var p="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),y="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function g(E){return E>1&&E<5}function _(E,T,R,O){var j=E+" ";switch(R){case"s":return T||O?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return T||O?j+(g(E)?"sekundy":"sek\xfand"):j+"sekundami";case"m":return T?"min\xfata":O?"min\xfatu":"min\xfatou";case"mm":return T||O?j+(g(E)?"min\xfaty":"min\xfat"):j+"min\xfatami";case"h":return T?"hodina":O?"hodinu":"hodinou";case"hh":return T||O?j+(g(E)?"hodiny":"hod\xedn"):j+"hodinami";case"d":return T||O?"de\u0148":"d\u0148om";case"dd":return T||O?j+(g(E)?"dni":"dn\xed"):j+"d\u0148ami";case"M":return T||O?"mesiac":"mesiacom";case"MM":return T||O?j+(g(E)?"mesiace":"mesiacov"):j+"mesiacmi";case"y":return T||O?"rok":"rokom";case"yy":return T||O?j+(g(E)?"roky":"rokov"):j+"rokmi"}}M.defineLocale("sk",{months:p,monthsShort:y,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:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:_,ss:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},8106:function(K,G,I){!function(M){"use strict";function p(g,_,w,E){var T=g+" ";switch(w){case"s":return _||E?"nekaj sekund":"nekaj sekundami";case"ss":return T+=1===g?_?"sekundo":"sekundi":2===g?_||E?"sekundi":"sekundah":g<5?_||E?"sekunde":"sekundah":"sekund";case"m":return _?"ena minuta":"eno minuto";case"mm":return T+=1===g?_?"minuta":"minuto":2===g?_||E?"minuti":"minutama":g<5?_||E?"minute":"minutami":_||E?"minut":"minutami";case"h":return _?"ena ura":"eno uro";case"hh":return T+=1===g?_?"ura":"uro":2===g?_||E?"uri":"urama":g<5?_||E?"ure":"urami":_||E?"ur":"urami";case"d":return _||E?"en dan":"enim dnem";case"dd":return T+=1===g?_||E?"dan":"dnem":2===g?_||E?"dni":"dnevoma":_||E?"dni":"dnevi";case"M":return _||E?"en mesec":"enim mesecem";case"MM":return T+=1===g?_||E?"mesec":"mesecem":2===g?_||E?"meseca":"mesecema":g<5?_||E?"mesece":"meseci":_||E?"mesecev":"meseci";case"y":return _||E?"eno leto":"enim letom";case"yy":return T+=1===g?_||E?"leto":"letom":2===g?_||E?"leti":"letoma":g<5?_||E?"leta":"leti":_||E?"let":"leti"}}M.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:p,ss:p,m:p,mm:p,h:p,hh:p,d:p,dd:p,M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},8799:function(K,G,I){!function(M){"use strict";M.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(y){return"M"===y.charAt(0)},meridiem:function(y,g,_){return y<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",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},2872:function(K,G,I){!function(M){"use strict";var p={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\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"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(g,_){return g%10>=1&&g%10<=4&&(g%100<10||g%100>=20)?g%10==1?_[0]:_[1]:_[2]},translate:function(g,_,w,E){var R,T=p.words[w];return 1===w.length?"y"===w&&_?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":E||_?T[0]:T[1]:(R=p.correctGrammaticalCase(g,T),"yy"===w&&_&&"\u0433\u043e\u0434\u0438\u043d\u0443"===R?g+" \u0433\u043e\u0434\u0438\u043d\u0430":g+" "+R)}};M.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:"D. M. 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",ss:p.translate,m:p.translate,mm:p.translate,h:p.translate,hh:p.translate,d:p.translate,dd:p.translate,M:p.translate,MM:p.translate,y:p.translate,yy:p.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},7949:function(K,G,I){!function(M){"use strict";var p={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(g,_){return g%10>=1&&g%10<=4&&(g%100<10||g%100>=20)?g%10==1?_[0]:_[1]:_[2]},translate:function(g,_,w,E){var R,T=p.words[w];return 1===w.length?"y"===w&&_?"jedna godina":E||_?T[0]:T[1]:(R=p.correctGrammaticalCase(g,T),"yy"===w&&_&&"godinu"===R?g+" godina":g+" "+R)}};M.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:"D. M. 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",ss:p.translate,m:p.translate,mm:p.translate,h:p.translate,hh:p.translate,d:p.translate,dd:p.translate,M:p.translate,MM:p.translate,y:p.translate,yy:p.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},6167:function(K,G,I){!function(M){"use strict";M.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",ss:"%d mzuzwana",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(y,g,_){return y<11?"ekuseni":y<15?"emini":y<19?"entsambama":"ebusuku"},meridiemHour:function(y,g){return 12===y&&(y=0),"ekuseni"===g?y:"emini"===g?y>=11?y:y+12:"entsambama"===g||"ebusuku"===g?0===y?0:y+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(I(5439))},9713:function(K,G,I){!function(M){"use strict";M.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",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(y){var g=y%10;return y+(1==~~(y%100/10)?":e":1===g||2===g?":a":":e")},week:{dow:1,doy:4}})}(I(5439))},1982:function(K,G,I){!function(M){"use strict";M.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 A",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",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(I(5439))},2732:function(K,G,I){!function(M){"use strict";var p={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},y={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};M.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",ss:"%d \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"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(_){return _+"\u0bb5\u0ba4\u0bc1"},preparse:function(_){return _.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(w){return y[w]})},postformat:function(_){return _.replace(/\d/g,function(w){return p[w]})},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(_,w,E){return _<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":_<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":_<10?" \u0b95\u0bbe\u0bb2\u0bc8":_<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":_<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":_<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(_,w){return 12===_&&(_=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===w?_<2?_:_+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===w||"\u0b95\u0bbe\u0bb2\u0bc8"===w||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===w&&_>=10?_:_+12},week:{dow:0,doy:6}})}(I(5439))},3636:function(K,G,I){!function(M){"use strict";M.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\u0c41\u0c32\u0c48_\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\u0c41\u0c32\u0c48_\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",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\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"},dayOfMonthOrdinalParse:/\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(y,g){return 12===y&&(y=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===g?y<4?y:y+12:"\u0c09\u0c26\u0c2f\u0c02"===g?y:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===g?y>=10?y:y+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===g?y+12:void 0},meridiem:function(y,g,_){return y<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":y<10?"\u0c09\u0c26\u0c2f\u0c02":y<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":y<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(I(5439))},2115:function(K,G,I){!function(M){"use strict";M.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_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:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var g=y%10;return y+(1==~~(y%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},9801:function(K,G,I){!function(M){"use strict";var p={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};M.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\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:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".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:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(g,_){return 12===g&&(g=0),"\u0448\u0430\u0431"===_?g<4?g:g+12:"\u0441\u0443\u0431\u04b3"===_?g:"\u0440\u04ef\u0437"===_?g>=11?g:g+12:"\u0431\u0435\u0433\u043e\u04b3"===_?g+12:void 0},meridiem:function(g,_,w){return g<4?"\u0448\u0430\u0431":g<11?"\u0441\u0443\u0431\u04b3":g<16?"\u0440\u04ef\u0437":g<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(g){var _=g%10,w=g>=100?100:null;return g+(p[g]||p[_]||p[w])},week:{dow:1,doy:7}})}(I(5439))},2868:function(K,G,I){!function(M){"use strict";M.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:"DD/MM/YYYY",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(y){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===y},meridiem:function(y,g,_){return y<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",ss:"%d \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",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(I(5439))},1310:function(K,G,I){!function(M){"use strict";var p={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};M.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".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 sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(g,_){switch(_){case"d":case"D":case"Do":case"DD":return g;default:if(0===g)return g+"'unjy";var w=g%10,E=g%100-w,T=g>=100?100:null;return g+(p[w]||p[E]||p[T])}},week:{dow:1,doy:7}})}(I(5439))},2360:function(K,G,I){!function(M){"use strict";M.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",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(y){return y},week:{dow:1,doy:4}})}(I(5439))},6645:function(K,G,I){!function(M){"use strict";var p="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function y(T){var R=T;return R=-1!==T.indexOf("jaj")?R.slice(0,-3)+"leS":-1!==T.indexOf("jar")?R.slice(0,-3)+"waQ":-1!==T.indexOf("DIS")?R.slice(0,-3)+"nem":R+" pIq"}function g(T){var R=T;return R=-1!==T.indexOf("jaj")?R.slice(0,-3)+"Hu\u2019":-1!==T.indexOf("jar")?R.slice(0,-3)+"wen":-1!==T.indexOf("DIS")?R.slice(0,-3)+"ben":R+" ret"}function _(T,R,O,j){var $=w(T);switch(O){case"ss":return $+" lup";case"mm":return $+" tup";case"hh":return $+" rep";case"dd":return $+" jaj";case"MM":return $+" jar";case"yy":return $+" DIS"}}function w(T){var R=Math.floor(T%1e3/100),O=Math.floor(T%100/10),j=T%10,$="";return R>0&&($+=p[R]+"vatlh"),O>0&&($+=(""!==$?" ":"")+p[O]+"maH"),j>0&&($+=(""!==$?" ":"")+p[j]),""===$?"pagh":$}M.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:y,past:g,s:"puS lup",ss:_,m:"wa\u2019 tup",mm:_,h:"wa\u2019 rep",hh:_,d:"wa\u2019 jaj",dd:_,M:"wa\u2019 jar",MM:_,y:"wa\u2019 DIS",yy:_},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},8374:function(K,G,I){!function(M){"use strict";var p={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"};M.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_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(g,_,w){return g<12?w?"\xf6\xf6":"\xd6\xd6":w?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(g){return"\xf6s"===g||"\xd6S"===g},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:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(g,_){switch(_){case"d":case"D":case"Do":case"DD":return g;default:if(0===g)return g+"'\u0131nc\u0131";var w=g%10,E=g%100-w,T=g>=100?100:null;return g+(p[w]||p[E]||p[T])}},week:{dow:1,doy:7}})}(I(5439))},256:function(K,G,I){!function(M){"use strict";function y(g,_,w,E){var T={s:["viensas secunds","'iensas secunds"],ss:[g+" secunds",g+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[g+" m\xeduts",g+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[g+" \xfeoras",g+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[g+" ziuas",g+" ziuas"],M:["'n mes","'iens mes"],MM:[g+" mesen",g+" mesen"],y:["'n ar","'iens ar"],yy:[g+" ars",g+" ars"]};return E||_?T[w][0]:T[w][1]}M.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(g){return"d'o"===g.toLowerCase()},meridiem:function(g,_,w){return g>11?w?"d'o":"D'O":w?"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:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},1631:function(K,G,I){!function(M){"use strict";M.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",ss:"%d 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}})}(I(5439))},1595:function(K,G,I){!function(M){"use strict";M.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",ss:"%d \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}})}(I(5439))},6050:function(K,G,I){!function(M){"use strict";M.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(y,g){return 12===y&&(y=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===g||"\u0633\u06d5\u06be\u06d5\u0631"===g||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===g?y:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===g||"\u0643\u06d5\u0686"===g?y+12:y>=11?y:y+12},meridiem:function(y,g,_){var w=100*y+g;return w<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":w<900?"\u0633\u06d5\u06be\u06d5\u0631":w<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":w<1230?"\u0686\u06c8\u0634":w<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(y,g){switch(g){case"d":case"D":case"DDD":return y+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return y+"-\u06be\u06d5\u067e\u062a\u06d5";default:return y}},preparse:function(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(I(5439))},5610:function(K,G,I){!function(M){"use strict";function p(E,T){var R=E.split("_");return T%10==1&&T%100!=11?R[0]:T%10>=2&&T%10<=4&&(T%100<10||T%100>=20)?R[1]:R[2]}function y(E,T,R){return"m"===R?T?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===R?T?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":E+" "+p({ss:T?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",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"}[R],+E)}function g(E,T){var R={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("_")};return!0===E?R.nominative.slice(1,7).concat(R.nominative.slice(0,1)):E?R[/(\[[\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()]:R.nominative}function _(E){return function(){return E+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}M.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:g,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:_("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:_("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:_("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:_("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return _("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return _("[\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",ss:y,m:y,mm:y,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:y,d:"\u0434\u0435\u043d\u044c",dd:y,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:y,y:"\u0440\u0456\u043a",yy:y},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,R){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"},dayOfMonthOrdinalParse:/\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}})}(I(5439))},6077:function(K,G,I){!function(M){"use strict";var p=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],y=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];M.defineLocale("ur",{months:p,monthsShort:p,weekdays:y,weekdaysShort:y,weekdaysMin:y,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(_){return"\u0634\u0627\u0645"===_},meridiem:function(_,w,E){return _<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(_){return _.replace(/\u060c/g,",")},postformat:function(_){return _.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(I(5439))},2207:function(K,G,I){!function(M){"use strict";M.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".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:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(I(5439))},2862:function(K,G,I){!function(M){"use strict";M.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",ss:"%d \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}})}(I(5439))},8093:function(K,G,I){!function(M){"use strict";M.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:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".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(y){return/^ch$/i.test(y)},meridiem:function(y,g,_){return y<12?_?"sa":"SA":_?"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 tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d 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",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(y){return y},week:{dow:1,doy:4}})}(I(5439))},5590:function(K,G,I){!function(M){"use strict";M.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",ss:"%d s~\xe9c\xf3\xf1~ds",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"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(y){var g=y%10;return y+(1==~~(y%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},9058:function(K,G,I){!function(M){"use strict";M.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",ss:"aaya\u0301 %d",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"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(I(5439))},7908:function(K,G,I){!function(M){"use strict";M.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:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(y,g){return 12===y&&(y=0),"\u51cc\u6668"===g||"\u65e9\u4e0a"===g||"\u4e0a\u5348"===g?y:"\u4e0b\u5348"===g||"\u665a\u4e0a"===g?y+12:y>=11?y:y+12},meridiem:function(y,g,_){var w=100*y+g;return w<600?"\u51cc\u6668":w<900?"\u65e9\u4e0a":w<1130?"\u4e0a\u5348":w<1230?"\u4e2d\u5348":w<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(y){return y.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(y){return this.week()!==y.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(y,g){switch(g){case"d":case"D":case"DDD":return y+"\u65e5";case"M":return y+"\u6708";case"w":case"W":return y+"\u5468";default:return y}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(I(5439))},8867:function(K,G,I){!function(M){"use strict";M.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:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(y,g){return 12===y&&(y=0),"\u51cc\u6668"===g||"\u65e9\u4e0a"===g||"\u4e0a\u5348"===g?y:"\u4e2d\u5348"===g?y>=11?y:y+12:"\u4e0b\u5348"===g||"\u665a\u4e0a"===g?y+12:void 0},meridiem:function(y,g,_){var w=100*y+g;return w<600?"\u51cc\u6668":w<900?"\u65e9\u4e0a":w<1200?"\u4e0a\u5348":1200===w?"\u4e2d\u5348":w<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"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(y,g){switch(g){case"d":case"D":case"DDD":return y+"\u65e5";case"M":return y+"\u6708";case"w":case"W":return y+"\u9031";default:return y}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \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"}})}(I(5439))},1133:function(K,G,I){!function(M){"use strict";M.defineLocale("zh-mo",{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:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(y,g){return 12===y&&(y=0),"\u51cc\u6668"===g||"\u65e9\u4e0a"===g||"\u4e0a\u5348"===g?y:"\u4e2d\u5348"===g?y>=11?y:y+12:"\u4e0b\u5348"===g||"\u665a\u4e0a"===g?y+12:void 0},meridiem:function(y,g,_){var w=100*y+g;return w<600?"\u51cc\u6668":w<900?"\u65e9\u4e0a":w<1130?"\u4e0a\u5348":w<1230?"\u4e2d\u5348":w<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(y,g){switch(g){case"d":case"D":case"DDD":return y+"\u65e5";case"M":return y+"\u6708";case"w":case"W":return y+"\u9031";default:return y}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \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"}})}(I(5439))},3291:function(K,G,I){!function(M){"use strict";M.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:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(y,g){return 12===y&&(y=0),"\u51cc\u6668"===g||"\u65e9\u4e0a"===g||"\u4e0a\u5348"===g?y:"\u4e2d\u5348"===g?y>=11?y:y+12:"\u4e0b\u5348"===g||"\u665a\u4e0a"===g?y+12:void 0},meridiem:function(y,g,_){var w=100*y+g;return w<600?"\u51cc\u6668":w<900?"\u65e9\u4e0a":w<1130?"\u4e0a\u5348":w<1230?"\u4e2d\u5348":w<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(y,g){switch(g){case"d":case"D":case"DDD":return y+"\u65e5";case"M":return y+"\u6708";case"w":case"W":return y+"\u9031";default:return y}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \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"}})}(I(5439))},5439:function(K,G,I){(K=I.nmd(K)).exports=function(){"use strict";var M,Ot;function p(){return M.apply(null,arguments)}function y(d){M=d}function g(d){return d instanceof Array||"[object Array]"===Object.prototype.toString.call(d)}function _(d){return null!=d&&"[object Object]"===Object.prototype.toString.call(d)}function w(d,f){return Object.prototype.hasOwnProperty.call(d,f)}function E(d){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(d).length;var f;for(f in d)if(w(d,f))return!1;return!0}function T(d){return void 0===d}function R(d){return"number"==typeof d||"[object Number]"===Object.prototype.toString.call(d)}function O(d){return d instanceof Date||"[object Date]"===Object.prototype.toString.call(d)}function j(d,f){var S,b=[],L=d.length;for(S=0;S>>0;for(S=0;S0)for(b=0;b=0?b?"+":"":"-")+Math.pow(10,Math.max(0,L)).toString().substr(1)+S}var ee=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,es=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,mn={},St={};function _t(d,f,b,S){var L=S;"string"==typeof S&&(L=function(){return this[S]()}),d&&(St[d]=L),f&&(St[f[0]]=function(){return be(L.apply(this,arguments),f[1],f[2])}),b&&(St[b]=function(){return this.localeData().ordinal(L.apply(this,arguments),d)})}function jn(d){return d.match(/\[[\s\S]/)?d.replace(/^\[|\]$/g,""):d.replace(/\\/g,"")}function ne(d){var b,S,f=d.match(ee);for(b=0,S=f.length;b=0&&es.test(d);)d=d.replace(es,S),es.lastIndex=0,b-=1;return d}var un={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"};function zt(d){var f=this._longDateFormat[d],b=this._longDateFormat[d.toUpperCase()];return f||!b?f:(this._longDateFormat[d]=b.match(ee).map(function(S){return"MMMM"===S||"MM"===S||"DD"===S||"dddd"===S?S.slice(1):S}).join(""),this._longDateFormat[d])}var ae="Invalid date";function Pe(){return this._invalidDate}var fe="%d",me=/\d{1,2}/;function Oe(d){return this._ordinal.replace("%d",d)}var wn={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function le(d,f,b,S){var L=this._relativeTime[b];return tt(L)?L(d,f,b,S):L.replace(/%d/i,d)}function dn(d,f){var b=this._relativeTime[d>0?"future":"past"];return tt(b)?b(f):b.replace(/%s/i,f)}var $e={};function tn(d,f){var b=d.toLowerCase();$e[b]=$e[b+"s"]=$e[f]=d}function Vn(d){return"string"==typeof d?$e[d]||$e[d.toLowerCase()]:void 0}function Gn(d){var b,S,f={};for(S in d)w(d,S)&&(b=Vn(S))&&(f[b]=d[S]);return f}var ls={};function Ae(d,f){ls[d]=f}function ri(d){var b,f=[];for(b in d)w(d,b)&&f.push({unit:b,priority:ls[b]});return f.sort(function(S,L){return S.priority-L.priority}),f}function Bn(d){return d%4==0&&d%100!=0||d%400==0}function Kn(d){return d<0?Math.ceil(d)||0:Math.floor(d)}function Zt(d){var f=+d,b=0;return 0!==f&&isFinite(f)&&(b=Kn(f)),b}function Hr(d,f){return function(b){return null!=b?(Jl(this,d,b),p.updateOffset(this,f),this):sr(this,d)}}function sr(d,f){return d.isValid()?d._d["get"+(d._isUTC?"UTC":"")+f]():NaN}function Jl(d,f,b){d.isValid()&&!isNaN(b)&&("FullYear"===f&&Bn(d.year())&&1===d.month()&&29===d.date()?(b=Zt(b),d._d["set"+(d._isUTC?"UTC":"")+f](b,d.month(),bg(b,d.month()))):d._d["set"+(d._isUTC?"UTC":"")+f](b))}function ga(d){return tt(this[d=Vn(d)])?this[d]():this}function hS(d,f){if("object"==typeof d){var S,b=ri(d=Gn(d)),L=b.length;for(S=0;S68?1900:2e3)};var Sg=Hr("FullYear",!0);function EA(){return Bn(this.year())}function Eo(d,f,b,S,L,H,st){var Kt;return d<100&&d>=0?(Kt=new Date(d+400,f,b,S,L,H,st),isFinite(Kt.getFullYear())&&Kt.setFullYear(d)):Kt=new Date(d,f,b,S,L,H,st),Kt}function Yi(d){var f,b;return d<100&&d>=0?((b=Array.prototype.slice.call(arguments))[0]=d+400,f=new Date(Date.UTC.apply(null,b)),isFinite(f.getUTCFullYear())&&f.setUTCFullYear(d)):f=new Date(Date.UTC.apply(null,arguments)),f}function Mu(d,f,b){var S=7+f-b;return-(7+Yi(d,0,S).getUTCDay()-f)%7+S-1}function _S(d,f,b,S,L){var _e,ye,Kt=1+7*(f-1)+(7+b-S)%7+Mu(d,S,L);return Kt<=0?ye=js(_e=d-1)+Kt:Kt>js(d)?(_e=d+1,ye=Kt-js(d)):(_e=d,ye=Kt),{year:_e,dayOfYear:ye}}function Ls(d,f,b){var H,st,S=Mu(d.year(),f,b),L=Math.floor((d.dayOfYear()-S-1)/7)+1;return L<1?H=L+xe(st=d.year()-1,f,b):L>xe(d.year(),f,b)?(H=L-xe(d.year(),f,b),st=d.year()+1):(st=d.year(),H=L),{week:H,year:st}}function xe(d,f,b){var S=Mu(d,f,b),L=Mu(d+1,f,b);return(js(d)-S+L)/7}function kA(d){return Ls(d,this._week.dow,this._week.doy).week}_t("w",["ww",2],"wo","week"),_t("W",["WW",2],"Wo","isoWeek"),tn("week","w"),tn("isoWeek","W"),Ae("week",5),Ae("isoWeek",5),Lt("w",Jt),Lt("ww",Jt,oi),Lt("W",Jt),Lt("WW",Jt,oi),li(["w","ww","W","WW"],function(d,f,b,S){f[S.substr(0,1)]=Zt(d)});var TA={dow:0,doy:6};function ec(){return this._week.dow}function Ge(){return this._week.doy}function Ah(d){var f=this.localeData().week(this);return null==d?f:this.add(7*(d-f),"d")}function Cg(d){var f=Ls(this,1,4).week;return null==d?f:this.add(7*(d-f),"d")}function xg(d,f){return"string"!=typeof d?d:isNaN(d)?"number"==typeof(d=f.weekdaysParse(d))?d:null:parseInt(d,10)}function bb(d,f){return"string"==typeof d?f.weekdaysParse(d)%7||7:isNaN(d)?null:d}function Hi(d,f){return d.slice(f,7).concat(d.slice(0,f))}_t("d",0,"do","day"),_t("dd",0,0,function(d){return this.localeData().weekdaysMin(this,d)}),_t("ddd",0,0,function(d){return this.localeData().weekdaysShort(this,d)}),_t("dddd",0,0,function(d){return this.localeData().weekdays(this,d)}),_t("e",0,0,"weekday"),_t("E",0,0,"isoWeekday"),tn("day","d"),tn("weekday","e"),tn("isoWeekday","E"),Ae("day",11),Ae("weekday",11),Ae("isoWeekday",11),Lt("d",Jt),Lt("e",Jt),Lt("E",Jt),Lt("dd",function(d,f){return f.weekdaysMinRegex(d)}),Lt("ddd",function(d,f){return f.weekdaysShortRegex(d)}),Lt("dddd",function(d,f){return f.weekdaysRegex(d)}),li(["dd","ddd","dddd"],function(d,f,b,S){var L=b._locale.weekdaysParse(d,S,b._strict);null!=L?f.d=L:et(b).invalidWeekday=d}),li(["d","e","E"],function(d,f,b,S){f[S]=Zt(d)});var Su="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),wb="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ih="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),yS=Du,Db=Du,Mb=Du;function vS(d,f){var b=g(this._weekdays)?this._weekdays:this._weekdays[d&&!0!==d&&this._weekdays.isFormat.test(f)?"format":"standalone"];return!0===d?Hi(b,this._week.dow):d?b[d.day()]:b}function Dn(d){return!0===d?Hi(this._weekdaysShort,this._week.dow):d?this._weekdaysShort[d.day()]:this._weekdaysShort}function bS(d){return!0===d?Hi(this._weekdaysMin,this._week.dow):d?this._weekdaysMin[d.day()]:this._weekdaysMin}function Sb(d,f,b){var S,L,H,st=d.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],S=0;S<7;++S)H=W([2e3,1]).day(S),this._minWeekdaysParse[S]=this.weekdaysMin(H,"").toLocaleLowerCase(),this._shortWeekdaysParse[S]=this.weekdaysShort(H,"").toLocaleLowerCase(),this._weekdaysParse[S]=this.weekdays(H,"").toLocaleLowerCase();return b?"dddd"===f?-1!==(L=Un.call(this._weekdaysParse,st))?L:null:"ddd"===f?-1!==(L=Un.call(this._shortWeekdaysParse,st))?L:null:-1!==(L=Un.call(this._minWeekdaysParse,st))?L:null:"dddd"===f?-1!==(L=Un.call(this._weekdaysParse,st))||-1!==(L=Un.call(this._shortWeekdaysParse,st))||-1!==(L=Un.call(this._minWeekdaysParse,st))?L:null:"ddd"===f?-1!==(L=Un.call(this._shortWeekdaysParse,st))||-1!==(L=Un.call(this._weekdaysParse,st))||-1!==(L=Un.call(this._minWeekdaysParse,st))?L:null:-1!==(L=Un.call(this._minWeekdaysParse,st))||-1!==(L=Un.call(this._weekdaysParse,st))||-1!==(L=Un.call(this._shortWeekdaysParse,st))?L:null}function Nt(d,f,b){var S,L,H;if(this._weekdaysParseExact)return Sb.call(this,d,f,b);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),S=0;S<7;S++){if(L=W([2e3,1]).day(S),b&&!this._fullWeekdaysParse[S]&&(this._fullWeekdaysParse[S]=new RegExp("^"+this.weekdays(L,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[S]=new RegExp("^"+this.weekdaysShort(L,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[S]=new RegExp("^"+this.weekdaysMin(L,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[S]||(H="^"+this.weekdays(L,"")+"|^"+this.weekdaysShort(L,"")+"|^"+this.weekdaysMin(L,""),this._weekdaysParse[S]=new RegExp(H.replace(".",""),"i")),b&&"dddd"===f&&this._fullWeekdaysParse[S].test(d))return S;if(b&&"ddd"===f&&this._shortWeekdaysParse[S].test(d))return S;if(b&&"dd"===f&&this._minWeekdaysParse[S].test(d))return S;if(!b&&this._weekdaysParse[S].test(d))return S}}function Vs(d){if(!this.isValid())return null!=d?this:NaN;var f=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=d?(d=xg(d,this.localeData()),this.add(d-f,"d")):f}function pn(d){if(!this.isValid())return null!=d?this:NaN;var f=(this.day()+7-this.localeData()._week.dow)%7;return null==d?f:this.add(d-f,"d")}function As(d){if(!this.isValid())return null!=d?this:NaN;if(null!=d){var f=bb(d,this.localeData());return this.day(this.day()%7?f:f-7)}return this.day()||7}function Is(d){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Ct.call(this),d?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=yS),this._weekdaysStrictRegex&&d?this._weekdaysStrictRegex:this._weekdaysRegex)}function ui(d){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Ct.call(this),d?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Db),this._weekdaysShortStrictRegex&&d?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ci(d){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Ct.call(this),d?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Mb),this._weekdaysMinStrictRegex&&d?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ct(){function d(cs,Ws){return Ws.length-cs.length}var H,st,Kt,_e,ye,f=[],b=[],S=[],L=[];for(H=0;H<7;H++)st=W([2e3,1]).day(H),Kt=Si(this.weekdaysMin(st,"")),_e=Si(this.weekdaysShort(st,"")),ye=Si(this.weekdays(st,"")),f.push(Kt),b.push(_e),S.push(ye),L.push(Kt),L.push(_e),L.push(ye);f.sort(d),b.sort(d),S.sort(d),L.sort(d),this._weekdaysRegex=new RegExp("^("+L.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+S.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+b.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+f.join("|")+")","i")}function de(){return this.hours()%12||12}function Mn(){return this.hours()||24}function Bs(d,f){_t(d,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),f)})}function ko(d,f){return f._meridiemParse}function ns(d){return"p"===(d+"").toLowerCase().charAt(0)}_t("H",["HH",2],0,"hour"),_t("h",["hh",2],0,de),_t("k",["kk",2],0,Mn),_t("hmm",0,0,function(){return""+de.apply(this)+be(this.minutes(),2)}),_t("hmmss",0,0,function(){return""+de.apply(this)+be(this.minutes(),2)+be(this.seconds(),2)}),_t("Hmm",0,0,function(){return""+this.hours()+be(this.minutes(),2)}),_t("Hmmss",0,0,function(){return""+this.hours()+be(this.minutes(),2)+be(this.seconds(),2)}),Bs("a",!0),Bs("A",!1),tn("hour","h"),Ae("hour",13),Lt("a",ko),Lt("A",ko),Lt("H",Jt),Lt("h",Jt),Lt("k",Jt),Lt("HH",Jt,oi),Lt("hh",Jt,oi),Lt("kk",Jt,oi),Lt("hmm",xh),Lt("hmmss",gb),Lt("Hmm",xh),Lt("Hmmss",gb),on(["H","HH"],Qn),on(["k","kk"],function(d,f,b){var S=Zt(d);f[Qn]=24===S?0:S}),on(["a","A"],function(d,f,b){b._isPm=b._locale.isPM(d),b._meridiem=d}),on(["h","hh"],function(d,f,b){f[Qn]=Zt(d),et(b).bigHour=!0}),on("hmm",function(d,f,b){var S=d.length-2;f[Qn]=Zt(d.substr(0,S)),f[ir]=Zt(d.substr(S)),et(b).bigHour=!0}),on("hmmss",function(d,f,b){var S=d.length-4,L=d.length-2;f[Qn]=Zt(d.substr(0,S)),f[ir]=Zt(d.substr(S,2)),f[Vr]=Zt(d.substr(L)),et(b).bigHour=!0}),on("Hmm",function(d,f,b){var S=d.length-2;f[Qn]=Zt(d.substr(0,S)),f[ir]=Zt(d.substr(S))}),on("Hmmss",function(d,f,b){var S=d.length-4,L=d.length-2;f[Qn]=Zt(d.substr(0,S)),f[ir]=Zt(d.substr(S,2)),f[Vr]=Zt(d.substr(L))});var _a=/[ap]\.?m?\.?/i,Rn=Hr("Hours",!0);function Cu(d,f,b){return d>11?b?"pm":"PM":b?"am":"AM"}var rr,ya={calendar:rn,longDateFormat:un,invalidDate:ae,ordinal:fe,dayOfMonthOrdinalParse:me,relativeTime:wn,months:vt,monthsShort:pS,week:TA,weekdays:Su,weekdaysMin:Ih,weekdaysShort:wb,meridiemParse:_a},Ft={},To={};function Eg(d,f){var b,S=Math.min(d.length,f.length);for(b=0;b0;){if(L=Br(H.slice(0,b).join("-")))return L;if(S&&S.length>=b&&Eg(H,S)>=b-1)break;b--}f++}return rr}function xu(d){return null!=d.match("^[^/\\\\]*$")}function Br(d){var f=null;if(void 0===Ft[d]&&K&&K.exports&&xu(d))try{f=rr._abbr,I(6700)("./"+d),ss(f)}catch{Ft[d]=null}return Ft[d]}function ss(d,f){var b;return d&&((b=T(f)?Re(d):Ao(d,f))?rr=b:typeof console<"u"&&console.warn&&console.warn("Locale "+d+" not found. Did you forget to load it?")),rr._abbr}function Ao(d,f){if(null!==f){var b,S=ya;if(f.abbr=d,null!=Ft[d])ot("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."),S=Ft[d]._config;else if(null!=f.parentLocale)if(null!=Ft[f.parentLocale])S=Ft[f.parentLocale]._config;else{if(null==(b=Br(f.parentLocale)))return To[f.parentLocale]||(To[f.parentLocale]=[]),To[f.parentLocale].push({name:d,config:f}),null;S=b._config}return Ft[d]=new ue(Qt(S,f)),To[d]&&To[d].forEach(function(L){Ao(L.name,L.config)}),ss(d),Ft[d]}return delete Ft[d],null}function Cb(d,f){if(null!=f){var b,S,L=ya;null!=Ft[d]&&null!=Ft[d].parentLocale?Ft[d].set(Qt(Ft[d]._config,f)):(null!=(S=Br(d))&&(L=S._config),f=Qt(L,f),null==S&&(f.abbr=d),(b=new ue(f)).parentLocale=Ft[d],Ft[d]=b),ss(d)}else null!=Ft[d]&&(null!=Ft[d].parentLocale?(Ft[d]=Ft[d].parentLocale,d===ss()&&ss(d)):null!=Ft[d]&&delete Ft[d]);return Ft[d]}function Re(d){var f;if(d&&d._locale&&d._locale._abbr&&(d=d._locale._abbr),!d)return rr;if(!g(d)){if(f=Br(d))return f;d=[d]}return ys(d)}function wS(){return cn(Ft)}function kg(d){var f,b=d._a;return b&&-2===et(d).overflow&&(f=b[xo]<0||b[xo]>11?xo:b[jr]<1||b[jr]>bg(b[Ts],b[xo])?jr:b[Qn]<0||b[Qn]>24||24===b[Qn]&&(0!==b[ir]||0!==b[Vr]||0!==b[tc])?Qn:b[ir]<0||b[ir]>59?ir:b[Vr]<0||b[Vr]>59?Vr:b[tc]<0||b[tc]>999?tc:-1,et(d)._overflowDayOfYear&&(fjr)&&(f=jr),et(d)._overflowWeeks&&-1===f&&(f=ci),et(d)._overflowWeekday&&-1===f&&(f=Qe),et(d).overflow=f),d}var Ph=/^\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)?)?$/,Tg=/^\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)?)?$/,Eu=/Z|[+-]\d\d(?::?\d\d)?/,va=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ur=[["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/]],vs=/^\/?Date\((-?\d+)/i,DS=/^(?:(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}))$/,Us={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xi(d){var f,b,H,st,Kt,_e,S=d._i,L=Ph.exec(S)||Tg.exec(S),ye=va.length,cs=Ur.length;if(L){for(et(d).iso=!0,f=0,b=ye;fjs(st)||0===d._dayOfYear)&&(et(d)._overflowDayOfYear=!0),b=Yi(st,0,d._dayOfYear),d._a[xo]=b.getUTCMonth(),d._a[jr]=b.getUTCDate()),f=0;f<3&&null==d._a[f];++f)d._a[f]=S[f]=L[f];for(;f<7;f++)d._a[f]=S[f]=null==d._a[f]?2===f?1:0:d._a[f];24===d._a[Qn]&&0===d._a[ir]&&0===d._a[Vr]&&0===d._a[tc]&&(d._nextDay=!0,d._a[Qn]=0),d._d=(d._useUTC?Yi:Eo).apply(null,S),H=d._useUTC?d._d.getUTCDay():d._d.getDay(),null!=d._tzm&&d._d.setUTCMinutes(d._d.getUTCMinutes()-d._tzm),d._nextDay&&(d._a[Qn]=24),d._w&&typeof d._w.d<"u"&&d._w.d!==H&&(et(d).weekdayMismatch=!0)}}function AA(d){var f,b,S,L,H,st,Kt,_e,ye;null!=(f=d._w).GG||null!=f.W||null!=f.E?(H=1,st=4,b=nc(f.GG,d._a[Ts],Ls(Sn(),1,4).year),S=nc(f.W,1),((L=nc(f.E,1))<1||L>7)&&(_e=!0)):(H=d._locale._week.dow,st=d._locale._week.doy,ye=Ls(Sn(),H,st),b=nc(f.gg,d._a[Ts],ye.year),S=nc(f.w,ye.week),null!=f.d?((L=f.d)<0||L>6)&&(_e=!0):null!=f.e?(L=f.e+H,(f.e<0||f.e>6)&&(_e=!0)):L=H),S<1||S>xe(b,H,st)?et(d)._overflowWeeks=!0:null!=_e?et(d)._overflowWeekday=!0:(Kt=_S(b,S,L,H,st),d._a[Ts]=Kt.year,d._dayOfYear=Kt.dayOfYear)}function Eb(d){if(d._f!==p.ISO_8601)if(d._f!==p.RFC_2822){d._a=[],et(d).empty=!0;var b,S,L,H,st,ye,cs,f=""+d._i,Kt=f.length,_e=0;for(cs=(L=jt(d._f,d._locale).match(ee)||[]).length,b=0;b0&&et(d).unusedInput.push(st),f=f.slice(f.indexOf(S)+S.length),_e+=S.length),St[H]?(S?et(d).empty=!1:et(d).unusedTokens.push(H),CA(H,S,d)):d._strict&&!S&&et(d).unusedTokens.push(H);et(d).charsLeftOver=Kt-_e,f.length>0&&et(d).unusedInput.push(f),d._a[Qn]<=12&&!0===et(d).bigHour&&d._a[Qn]>0&&(et(d).bigHour=void 0),et(d).parsedDateParts=d._a.slice(0),et(d).meridiem=d._meridiem,d._a[Qn]=IA(d._locale,d._a[Qn],d._meridiem),null!==(ye=et(d).era)&&(d._a[Ts]=d._locale.erasConvertYear(ye,d._a[Ts])),xb(d),kg(d)}else SS(d);else xi(d)}function IA(d,f,b){var S;return null==b?f:null!=d.meridiemHour?d.meridiemHour(f,b):(null!=d.isPM&&((S=d.isPM(b))&&f<12&&(f+=12),!S&&12===f&&(f=0)),f)}function PA(d){var f,b,S,L,H,st,Kt=!1,_e=d._f.length;if(0===_e)return et(d).invalidFormat=!0,void(d._d=new Date(NaN));for(L=0;L<_e;L++)H=0,st=!1,f=ut({},d),null!=d._useUTC&&(f._useUTC=d._useUTC),f._f=d._f[L],Eb(f),Gt(f)&&(st=!0),H+=et(f).charsLeftOver,H+=10*et(f).unusedTokens.length,et(f).score=H,Kt?Hthis?this:d:Rt()});function Ag(d,f){var b,S;if(1===f.length&&g(f[0])&&(f=f[0]),!f.length)return Sn();for(b=f[0],S=1;Sthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function BA(){if(!T(this._isDSTShifted))return this._isDSTShifted;var f,d={};return ut(d,this),(d=xS(d))._a?(f=d._isUTC?W(d._a):Sn(d._a),this._isDSTShifted=this.isValid()&&kb(d._a,f.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Yh(){return!!this.isValid()&&!this._isUTC}function Ei(){return!!this.isValid()&&this._isUTC}function Tb(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Yg=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,sc=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function An(d,f){var L,H,st,b=d,S=null;return Fh(d)?b={ms:d._milliseconds,d:d._days,M:d._months}:R(d)||!isNaN(+d)?(b={},f?b[f]=+d:b.milliseconds=+d):(S=Yg.exec(d))?(L="-"===S[1]?-1:1,b={y:0,d:Zt(S[jr])*L,h:Zt(S[Qn])*L,m:Zt(S[ir])*L,s:Zt(S[Vr])*L,ms:Zt(Pg(1e3*S[tc]))*L}):(S=sc.exec(d))?(L="-"===S[1]?-1:1,b={y:Io(S[2],L),M:Io(S[3],L),w:Io(S[4],L),d:Io(S[5],L),h:Io(S[6],L),m:Io(S[7],L),s:Io(S[8],L)}):null==b?b={}:"object"==typeof b&&("from"in b||"to"in b)&&(st=PS(Sn(b.from),Sn(b.to)),(b={}).ms=st.milliseconds,b.M=st.months),H=new ku(b),Fh(d)&&w(d,"_locale")&&(H._locale=d._locale),Fh(d)&&w(d,"_isValid")&&(H._isValid=d._isValid),H}function Io(d,f){var b=d&&parseFloat(d.replace(",","."));return(isNaN(b)?0:b)*f}function Hh(d,f){var b={};return b.months=f.month()-d.month()+12*(f.year()-d.year()),d.clone().add(b.months,"M").isAfter(f)&&--b.months,b.milliseconds=+f-+d.clone().add(b.months,"M"),b}function PS(d,f){var b;return d.isValid()&&f.isValid()?(f=Rg(f,d),d.isBefore(f)?b=Hh(d,f):((b=Hh(f,d)).milliseconds=-b.milliseconds,b.months=-b.months),b):{milliseconds:0,months:0}}function $r(d,f){return function(b,S){var H;return null!==S&&!isNaN(+S)&&(ot(f,"moment()."+f+"(period, number) is deprecated. Please use moment()."+f+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),H=b,b=S,S=H),Hg(this,An(b,S),d),this}}function Hg(d,f,b,S){var L=f._milliseconds,H=Pg(f._days),st=Pg(f._months);!d.isValid()||(S=S??!0,st&&Lh(d,sr(d,"Month")+st*b),H&&Jl(d,"Date",sr(d,"Date")+H*b),L&&d._d.setTime(d._d.valueOf()+L*b),S&&p.updateOffset(d,H||st))}An.fn=ku.prototype,An.invalid=bs;var jg=$r(1,"add"),ce=$r(-1,"subtract");function Vg(d){return"string"==typeof d||d instanceof String}function UA(d){return mt(d)||O(d)||Vg(d)||R(d)||RS(d)||OS(d)||null==d}function OS(d){var L,H,f=_(d)&&!E(d),b=!1,S=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],st=S.length;for(L=0;Lb.valueOf():b.valueOf()9999?Ke(b,f?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):tt(Date.prototype.toISOString)?f?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Ke(b,"Z")):Ke(b,f?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function $A(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var b,S,L,H,d="moment",f="";return this.isLocal()||(d=0===this.utcOffset()?"moment.utc":"moment.parseZone",f="Z"),b="["+d+'("]',S=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",L="-MM-DD[T]HH:mm:ss.SSS",H=f+'[")]',this.format(b+S+L+H)}function VS(d){d||(d=this.isUtc()?p.defaultFormatUtc:p.defaultFormat);var f=Ke(this,d);return this.localeData().postformat(f)}function zA(d,f){return this.isValid()&&(mt(d)&&d.isValid()||Sn(d).isValid())?An({to:this,from:d}).locale(this.locale()).humanize(!f):this.localeData().invalidDate()}function jh(d){return this.from(Sn(),d)}function Ps(d,f){return this.isValid()&&(mt(d)&&d.isValid()||Sn(d).isValid())?An({from:this,to:d}).locale(this.locale()).humanize(!f):this.localeData().invalidDate()}function zr(d){return this.to(Sn(),d)}function $g(d){var f;return void 0===d?this._locale._abbr:(null!=(f=Re(d))&&(this._locale=f),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var wa=U("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(d){return void 0===d?this.localeData():this.locale(d)});function or(){return this._locale}var Vh=1e3,Da=60*Vh,Bh=60*Da,Ib=3506328*Bh;function Po(d,f){return(d%f+f)%f}function Uh(d,f,b){return d<100&&d>=0?new Date(d+400,f,b)-Ib:new Date(d,f,b).valueOf()}function zg(d,f,b){return d<100&&d>=0?Date.UTC(d+400,f,b)-Ib:Date.UTC(d,f,b)}function Wg(d){var f,b;if(void 0===(d=Vn(d))||"millisecond"===d||!this.isValid())return this;switch(b=this._isUTC?zg:Uh,d){case"year":f=b(this.year(),0,1);break;case"quarter":f=b(this.year(),this.month()-this.month()%3,1);break;case"month":f=b(this.year(),this.month(),1);break;case"week":f=b(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":f=b(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":f=b(this.year(),this.month(),this.date());break;case"hour":f=this._d.valueOf(),f-=Po(f+(this._isUTC?0:this.utcOffset()*Da),Bh);break;case"minute":f=this._d.valueOf(),f-=Po(f,Da);break;case"second":f=this._d.valueOf(),f-=Po(f,Vh)}return this._d.setTime(f),p.updateOffset(this,!0),this}function BS(d){var f,b;if(void 0===(d=Vn(d))||"millisecond"===d||!this.isValid())return this;switch(b=this._isUTC?zg:Uh,d){case"year":f=b(this.year()+1,0,1)-1;break;case"quarter":f=b(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":f=b(this.year(),this.month()+1,1)-1;break;case"week":f=b(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":f=b(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":f=b(this.year(),this.month(),this.date()+1)-1;break;case"hour":f=this._d.valueOf(),f+=Bh-Po(f+(this._isUTC?0:this.utcOffset()*Da),Bh)-1;break;case"minute":f=this._d.valueOf(),f+=Da-Po(f,Da)-1;break;case"second":f=this._d.valueOf(),f+=Vh-Po(f,Vh)-1}return this._d.setTime(f),p.updateOffset(this,!0),this}function Pb(){return this._d.valueOf()-6e4*(this._offset||0)}function qg(){return Math.floor(this.valueOf()/1e3)}function Ob(){return new Date(this.valueOf())}function Rb(){var d=this;return[d.year(),d.month(),d.date(),d.hour(),d.minute(),d.second(),d.millisecond()]}function Nb(){var d=this;return{years:d.year(),months:d.month(),date:d.date(),hours:d.hours(),minutes:d.minutes(),seconds:d.seconds(),milliseconds:d.milliseconds()}}function Fb(){return this.isValid()?this.toISOString():null}function Gg(){return Gt(this)}function US(){return $({},et(this))}function $S(){return et(this).overflow}function Os(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Oo(d,f){var b,S,L,H=this._eras||Re("en")._eras;for(b=0,S=H.length;b=0)return H[S]}function zS(d,f){var b=d.since<=d.until?1:-1;return void 0===f?p(d.since).year():p(d.since).year()+(f-d.offset)*b}function WS(){var d,f,b,S=this.localeData().eras();for(d=0,f=S.length;d(H=xe(d,S,L))&&(f=H),WA.call(this,d,f,b,S,L))}function WA(d,f,b,S,L){var H=_S(d,f,b,S,L),st=Yi(H.year,0,H.dayOfYear);return this.year(st.getUTCFullYear()),this.month(st.getUTCMonth()),this.date(st.getUTCDate()),this}function Wh(d){return null==d?Math.ceil((this.month()+1)/3):this.month(3*(d-1)+this.month()%3)}_t("N",0,0,"eraAbbr"),_t("NN",0,0,"eraAbbr"),_t("NNN",0,0,"eraAbbr"),_t("NNNN",0,0,"eraName"),_t("NNNNN",0,0,"eraNarrow"),_t("y",["y",1],"yo","eraYear"),_t("y",["yy",2],0,"eraYear"),_t("y",["yyy",3],0,"eraYear"),_t("y",["yyyy",4],0,"eraYear"),Lt("N",ic),Lt("NN",ic),Lt("NNN",ic),Lt("NNNN",Kg),Lt("NNNNN",Yb),on(["N","NN","NNN","NNNN","NNNNN"],function(d,f,b,S){var L=b._locale.erasParse(d,S,b._strict);L?et(b).era=L:et(b).invalidEra=d}),Lt("y",wu),Lt("yy",wu),Lt("yyy",wu),Lt("yyyy",wu),Lt("yo",JS),on(["y","yy","yyy","yyyy"],Ts),on(["yo"],function(d,f,b,S){var L;b._locale._eraYearOrdinalRegex&&(L=d.match(b._locale._eraYearOrdinalRegex)),b._locale.eraYearOrdinalParse?f[Ts]=b._locale.eraYearOrdinalParse(d,L):f[Ts]=parseInt(d,10)}),_t(0,["gg",2],0,function(){return this.weekYear()%100}),_t(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ro("gggg","weekYear"),Ro("ggggg","weekYear"),Ro("GGGG","isoWeekYear"),Ro("GGGGG","isoWeekYear"),tn("weekYear","gg"),tn("isoWeekYear","GG"),Ae("weekYear",1),Ae("isoWeekYear",1),Lt("G",at),Lt("g",at),Lt("GG",Jt,oi),Lt("gg",Jt,oi),Lt("GGGG",te,en),Lt("gggg",te,en),Lt("GGGGG",Zl,Xl),Lt("ggggg",Zl,Xl),li(["gggg","ggggg","GGGG","GGGGG"],function(d,f,b,S){f[S.substr(0,2)]=Zt(d)}),li(["gg","GG"],function(d,f,b,S){f[S]=p.parseTwoDigitYear(d)}),_t("Q",0,"Qo","quarter"),tn("quarter","Q"),Ae("quarter",7),Lt("Q",fb),on("Q",function(d,f){f[xo]=3*(Zt(d)-1)}),_t("D",["DD",2],"Do","date"),tn("date","D"),Ae("date",9),Lt("D",Jt),Lt("DD",Jt,oi),Lt("Do",function(d,f){return d?f._dayOfMonthOrdinalParse||f._ordinalParse:f._dayOfMonthOrdinalParseLenient}),on(["D","DD"],jr),on("Do",function(d,f){f[jr]=Zt(d.match(Jt)[0])});var Jg=Hr("Date",!0);function Hb(d){var f=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==d?f:this.add(d-f,"d")}_t("DDD",["DDDD",3],"DDDo","dayOfYear"),tn("dayOfYear","DDD"),Ae("dayOfYear",4),Lt("DDD",Ve),Lt("DDDD",mb),on(["DDD","DDDD"],function(d,f,b){b._dayOfYear=Zt(d)}),_t("m",["mm",2],0,"minute"),tn("minute","m"),Ae("minute",14),Lt("m",Jt),Lt("mm",Jt,oi),on(["m","mm"],ir);var qh=Hr("Minutes",!1);_t("s",["ss",2],0,"second"),tn("second","s"),Ae("second",15),Lt("s",Jt),Lt("ss",Jt,oi),on(["s","ss"],Vr);var Wr,Ma,jb=Hr("Seconds",!1);for(_t("S",0,0,function(){return~~(this.millisecond()/100)}),_t(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),_t(0,["SSS",3],0,"millisecond"),_t(0,["SSSS",4],0,function(){return 10*this.millisecond()}),_t(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),_t(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),_t(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),_t(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),_t(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),tn("millisecond","ms"),Ae("millisecond",16),Lt("S",Ve,fb),Lt("SS",Ve,oi),Lt("SSS",Ve,mb),Wr="SSSS";Wr.length<=9;Wr+="S")Lt(Wr,wu);function sC(d,f){f[tc]=Zt(1e3*("0."+d))}for(Wr="S";Wr.length<=9;Wr+="S")on(Wr,sC);function rc(){return this._isUTC?"UTC":""}function Xg(){return this._isUTC?"Coordinated Universal Time":""}Ma=Hr("Milliseconds",!1),_t("z",0,0,"zoneAbbr"),_t("zz",0,0,"zoneName");var ft=it.prototype;function qA(d){return Sn(1e3*d)}function Vb(){return Sn.apply(null,arguments).parseZone()}function Zg(d){return d}ft.add=jg,ft.calendar=FS,ft.clone=YS,ft.diff=Lu,ft.endOf=BS,ft.format=VS,ft.from=zA,ft.fromNow=jh,ft.to=Ps,ft.toNow=zr,ft.get=ga,ft.invalidAt=$S,ft.isAfter=dt,ft.isBefore=Ne,ft.isBetween=HS,ft.isSame=jS,ft.isSameOrAfter=Jn,ft.isSameOrBefore=Ab,ft.isValid=Gg,ft.lang=wa,ft.locale=$g,ft.localeData=or,ft.max=YA,ft.min=FA,ft.parsingFlags=US,ft.set=hS,ft.startOf=Wg,ft.subtract=ce,ft.toArray=Rb,ft.toObject=Nb,ft.toDate=Ob,ft.toISOString=Ug,ft.inspect=$A,typeof Symbol<"u"&&null!=Symbol.for&&(ft[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ft.toJSON=Fb,ft.toString=Bg,ft.unix=qg,ft.valueOf=Pb,ft.creationData=Os,ft.eraName=WS,ft.eraNarrow=qS,ft.eraAbbr=GS,ft.eraYear=KS,ft.year=Sg,ft.isLeapYear=EA,ft.weekYear=XS,ft.isoWeekYear=ZS,ft.quarter=ft.quarters=Wh,ft.month=Dg,ft.daysInMonth=gS,ft.week=ft.weeks=Ah,ft.isoWeek=ft.isoWeeks=Cg,ft.weeksInYear=tC,ft.weeksInWeekYear=eC,ft.isoWeeksInYear=Au,ft.isoWeeksInISOWeekYear=Qg,ft.date=Jg,ft.day=ft.days=Vs,ft.weekday=pn,ft.isoWeekday=As,ft.dayOfYear=Hb,ft.hour=ft.hours=Rn,ft.minute=ft.minutes=qh,ft.second=ft.seconds=jb,ft.millisecond=ft.milliseconds=Ma,ft.utcOffset=Ng,ft.utc=Fg,ft.local=AS,ft.parseZone=VA,ft.hasAlignedHourOffset=$n,ft.isDST=IS,ft.isLocal=Yh,ft.isUtcOffset=Ei,ft.isUtc=Tb,ft.isUTC=Tb,ft.zoneAbbr=rc,ft.zoneName=Xg,ft.dates=U("dates accessor is deprecated. Use date instead.",Jg),ft.months=U("months accessor is deprecated. Use month instead",Dg),ft.years=U("years accessor is deprecated. Use year instead",Sg),ft.zone=U("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",LS),ft.isDSTShifted=U("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",BA);var ze=ue.prototype;function hi(d,f,b,S){var L=Re(),H=W().set(S,f);return L[b](H,d)}function Bb(d,f,b){if(R(d)&&(f=d,d=void 0),d=d||"",null!=f)return hi(d,f,b,"month");var S,L=[];for(S=0;S<12;S++)L[S]=hi(d,S,b,"month");return L}function Sa(d,f,b,S){"boolean"==typeof d?(R(f)&&(b=f,f=void 0),f=f||""):(b=f=d,d=!1,R(f)&&(b=f,f=void 0),f=f||"");var st,L=Re(),H=d?L._week.dow:0,Kt=[];if(null!=b)return hi(f,(b+H)%7,S,"day");for(st=0;st<7;st++)Kt[st]=hi(f,(st+H)%7,S,"day");return Kt}function t_(d,f){return Bb(d,f,"months")}function e_(d,f){return Bb(d,f,"monthsShort")}function Gh(d,f,b){return Sa(d,f,b,"weekdays")}function Kh(d,f,b){return Sa(d,f,b,"weekdaysShort")}function iC(d,f,b){return Sa(d,f,b,"weekdaysMin")}ze.calendar=Ht,ze.longDateFormat=zt,ze.invalidDate=Pe,ze.ordinal=Oe,ze.preparse=Zg,ze.postformat=Zg,ze.relativeTime=le,ze.pastFuture=dn,ze.set=Tt,ze.eras=Oo,ze.erasParse=Nn,ze.erasConvertYear=zS,ze.erasAbbrRegex=$h,ze.erasNameRegex=QS,ze.erasNarrowRegex=zh,ze.months=fS,ze.monthsShort=mS,ze.monthsParse=Th,ze.monthsRegex=Mg,ze.monthsShortRegex=ge,ze.week=kA,ze.firstDayOfYear=Ge,ze.firstDayOfWeek=ec,ze.weekdays=vS,ze.weekdaysMin=bS,ze.weekdaysShort=Dn,ze.weekdaysParse=Nt,ze.weekdaysRegex=Is,ze.weekdaysShortRegex=ui,ze.weekdaysMinRegex=Ci,ze.isPM=ns,ze.meridiem=Cu,ss("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d){var f=d%10;return d+(1===Zt(d%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}}),p.lang=U("moment.lang is deprecated. Use moment.locale instead.",ss),p.langData=U("moment.langData is deprecated. Use moment.localeData instead.",Re);var lr=Math.abs;function Ub(){var d=this._data;return this._milliseconds=lr(this._milliseconds),this._days=lr(this._days),this._months=lr(this._months),d.milliseconds=lr(d.milliseconds),d.seconds=lr(d.seconds),d.minutes=lr(d.minutes),d.hours=lr(d.hours),d.months=lr(d.months),d.years=lr(d.years),this}function n_(d,f,b,S){var L=An(f,b);return d._milliseconds+=S*L._milliseconds,d._days+=S*L._days,d._months+=S*L._months,d._bubble()}function $b(d,f){return n_(this,d,f,1)}function rC(d,f){return n_(this,d,f,-1)}function Iu(d){return d<0?Math.floor(d):Math.ceil(d)}function Pu(){var L,H,st,Kt,_e,d=this._milliseconds,f=this._days,b=this._months,S=this._data;return d>=0&&f>=0&&b>=0||d<=0&&f<=0&&b<=0||(d+=864e5*Iu(Qh(b)+f),f=0,b=0),S.milliseconds=d%1e3,L=Kn(d/1e3),S.seconds=L%60,H=Kn(L/60),S.minutes=H%60,st=Kn(H/60),S.hours=st%24,f+=Kn(st/24),b+=_e=Kn(zb(f)),f-=Iu(Qh(_e)),Kt=Kn(b/12),b%=12,S.days=f,S.months=b,S.years=Kt,this}function zb(d){return 4800*d/146097}function Qh(d){return 146097*d/4800}function Wb(d){if(!this.isValid())return NaN;var f,b,S=this._milliseconds;if("month"===(d=Vn(d))||"quarter"===d||"year"===d)switch(f=this._days+S/864e5,b=this._months+zb(f),d){case"month":return b;case"quarter":return b/3;case"year":return b/12}else switch(f=this._days+Math.round(Qh(this._months)),d){case"week":return f/7+S/6048e5;case"day":return f+S/864e5;case"hour":return 24*f+S/36e5;case"minute":return 1440*f+S/6e4;case"second":return 86400*f+S/1e3;case"millisecond":return Math.floor(864e5*f)+S;default:throw new Error("Unknown unit "+d)}}function oc(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Zt(this._months/12):NaN}function qr(d){return function(){return this.as(d)}}var is=qr("ms"),s_=qr("s"),oC=qr("m"),qb=qr("h"),Ou=qr("d"),ac=qr("w"),lc=qr("M"),cc=qr("Q"),Ru=qr("y");function i_(){return An(this)}function uc(d){return d=Vn(d),this.isValid()?this[d+"s"]():NaN}function zs(d){return function(){return this.isValid()?this._data[d]:NaN}}var aC=zs("milliseconds"),At=zs("seconds"),lC=zs("minutes"),Gb=zs("hours"),Jh=zs("days"),Kb=zs("months"),Nu=zs("years");function cC(){return Kn(this.days()/7)}var bt=Math.round,ki={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Qb(d,f,b,S,L){return L.relativeTime(f||1,!!b,d,S)}function Jb(d,f,b,S){var L=An(d).abs(),H=bt(L.as("s")),st=bt(L.as("m")),Kt=bt(L.as("h")),_e=bt(L.as("d")),ye=bt(L.as("M")),cs=bt(L.as("w")),Ws=bt(L.as("y")),Ca=H<=b.ss&&["s",H]||H0,Ca[4]=S,Qb.apply(null,Ca)}function Xn(d){return void 0===d?bt:"function"==typeof d&&(bt=d,!0)}function r_(d,f){return void 0!==ki[d]&&(void 0===f?ki[d]:(ki[d]=f,"s"===d&&(ki.ss=f-1),!0))}function Fu(d,f){if(!this.isValid())return this.localeData().invalidDate();var L,H,b=!1,S=ki;return"object"==typeof d&&(f=d,d=!1),"boolean"==typeof d&&(b=d),"object"==typeof f&&(S=Object.assign({},ki,f),null!=f.s&&null==f.ss&&(S.ss=f.s-1)),H=Jb(this,!b,S,L=this.localeData()),b&&(H=L.pastFuture(+this,H)),L.postformat(H)}var Xb=Math.abs;function dc(d){return(d>0)-(d<0)||+d}function ws(){if(!this.isValid())return this.localeData().invalidDate();var S,L,H,st,_e,ye,cs,Ws,d=Xb(this._milliseconds)/1e3,f=Xb(this._days),b=Xb(this._months),Kt=this.asSeconds();return Kt?(S=Kn(d/60),L=Kn(S/60),d%=60,S%=60,H=Kn(b/12),b%=12,st=d?d.toFixed(3).replace(/\.?0+$/,""):"",_e=Kt<0?"-":"",ye=dc(this._months)!==dc(Kt)?"-":"",cs=dc(this._days)!==dc(Kt)?"-":"",Ws=dc(this._milliseconds)!==dc(Kt)?"-":"",_e+"P"+(H?ye+H+"Y":"")+(b?ye+b+"M":"")+(f?cs+f+"D":"")+(L||S||d?"T":"")+(L?Ws+L+"H":"")+(S?Ws+S+"M":"")+(d?Ws+st+"S":"")):"P0D"}var he=ku.prototype;return he.isValid=kS,he.abs=Ub,he.add=$b,he.subtract=rC,he.as=Wb,he.asMilliseconds=is,he.asSeconds=s_,he.asMinutes=oC,he.asHours=qb,he.asDays=Ou,he.asWeeks=ac,he.asMonths=lc,he.asQuarters=cc,he.asYears=Ru,he.valueOf=oc,he._bubble=Pu,he.clone=i_,he.get=uc,he.milliseconds=aC,he.seconds=At,he.minutes=lC,he.hours=Gb,he.days=Jh,he.weeks=cC,he.months=Kb,he.years=Nu,he.humanize=Fu,he.toISOString=ws,he.toString=ws,he.toJSON=ws,he.locale=$g,he.localeData=or,he.toIsoString=U("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ws),he.lang=wa,_t("X",0,0,"unix"),_t("x",0,0,"valueOf"),Lt("x",at),Lt("X",qe),on("X",function(d,f,b){b._d=new Date(1e3*parseFloat(d))}),on("x",function(d,f,b){b._d=new Date(Zt(d))}),p.version="2.29.4",y(Sn),p.fn=ft,p.min=Ig,p.max=HA,p.now=jA,p.utc=W,p.unix=qA,p.months=t_,p.isDate=O,p.locale=ss,p.invalid=Rt,p.duration=An,p.isMoment=mt,p.weekdays=Gh,p.parseZone=Vb,p.localeData=Re,p.isDuration=Fh,p.monthsShort=e_,p.weekdaysMin=iC,p.defineLocale=Ao,p.updateLocale=Cb,p.locales=wS,p.weekdaysShort=Kh,p.normalizeUnits=Vn,p.relativeTimeRounding=Xn,p.relativeTimeThreshold=r_,p.calendarFormat=Lb,p.prototype=ft,p.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"},p}()},3028:function(K,G){var I,M,p;M=[],I=function y(){"use strict";var g=typeof self<"u"?self:typeof window<"u"?window:void 0!==g?g:{},_=!g.document&&!!g.postMessage,w=_&&/blob:/i.test((g.location||{}).protocol),E={},T=0,R={parse:function(U,B){var ot=(B=B||{}).dynamicTyping||!1;if(wt(ot)&&(B.dynamicTypingFunction=ot,ot={}),B.dynamicTyping=ot,B.transform=!!wt(B.transform)&&B.transform,B.worker&&R.WORKERS_SUPPORTED){var tt=function(){if(!R.WORKERS_SUPPORTED)return!1;var cn,rn,Qt=(cn=g.URL||g.webkitURL||null,rn=y.toString(),R.BLOB_URL||(R.BLOB_URL=cn.createObjectURL(new Blob(["(",rn,")();"],{type:"text/javascript"})))),ue=new g.Worker(Qt);return ue.onmessage=xt,ue.id=T++,E[ue.id]=ue}();return tt.userStep=B.step,tt.userChunk=B.chunk,tt.userComplete=B.complete,tt.userError=B.error,B.step=wt(B.step),B.chunk=wt(B.chunk),B.complete=wt(B.complete),B.error=wt(B.error),delete B.worker,void tt.postMessage({input:U,config:B,workerId:tt.id})}var Tt=null;return R.NODE_STREAM_INPUT,"string"==typeof U?Tt=B.download?new $(B):new X(B):!0===U.readable&&wt(U.read)&&wt(U.on)?Tt=new et(B):(g.File&&U instanceof File||U instanceof Object)&&(Tt=new W(B)),Tt.stream(U)},unparse:function(U,B){var ot=!1,tt=!0,Tt=",",Qt="\r\n",ue='"',cn=ue+ue,rn=!1,Ht=null,be=!1;!function(){if("object"==typeof B){if("string"!=typeof B.delimiter||R.BAD_DELIMITERS.filter(function(St){return-1!==B.delimiter.indexOf(St)}).length||(Tt=B.delimiter),("boolean"==typeof B.quotes||"function"==typeof B.quotes||Array.isArray(B.quotes))&&(ot=B.quotes),"boolean"!=typeof B.skipEmptyLines&&"string"!=typeof B.skipEmptyLines||(rn=B.skipEmptyLines),"string"==typeof B.newline&&(Qt=B.newline),"string"==typeof B.quoteChar&&(ue=B.quoteChar),"boolean"==typeof B.header&&(tt=B.header),Array.isArray(B.columns)){if(0===B.columns.length)throw new Error("Option columns is empty");Ht=B.columns}void 0!==B.escapeChar&&(cn=B.escapeChar+ue),("boolean"==typeof B.escapeFormulae||B.escapeFormulae instanceof RegExp)&&(be=B.escapeFormulae instanceof RegExp?B.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var ee=new RegExp(Gt(ue),"g");if("string"==typeof U&&(U=JSON.parse(U)),Array.isArray(U)){if(!U.length||Array.isArray(U[0]))return es(null,U,rn);if("object"==typeof U[0])return es(Ht||Object.keys(U[0]),U,rn)}else if("object"==typeof U)return"string"==typeof U.data&&(U.data=JSON.parse(U.data)),Array.isArray(U.data)&&(U.fields||(U.fields=U.meta&&U.meta.fields||Ht),U.fields||(U.fields=Array.isArray(U.data[0])?U.fields:"object"==typeof U.data[0]?Object.keys(U.data[0]):[]),Array.isArray(U.data[0])||"object"==typeof U.data[0]||(U.data=[U.data])),es(U.fields||[],U.data||[],rn);throw new Error("Unable to serialize unrecognized input");function es(St,_t,jn){var ne="";"string"==typeof St&&(St=JSON.parse(St)),"string"==typeof _t&&(_t=JSON.parse(_t));var Ke=Array.isArray(St)&&0=this._config.preview;if(w)g.postMessage({results:Qt,workerId:R.WORKER_ID,finished:cn});else if(wt(this._config.chunk)&&!ot){if(this._config.chunk(Qt,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);Qt=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(Qt.data),this._completeResults.errors=this._completeResults.errors.concat(Qt.errors),this._completeResults.meta=Qt.meta),this._completed||!cn||!wt(this._config.complete)||Qt&&Qt.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),cn||Qt&&Qt.meta.paused||this._nextChunk(),Qt}this._halted=!0},this._sendError=function(B){wt(this._config.error)?this._config.error(B):w&&this._config.error&&g.postMessage({workerId:R.WORKER_ID,error:B,finished:!1})}}function $(U){var B;(U=U||{}).chunkSize||(U.chunkSize=R.RemoteChunkSize),j.call(this,U),this._nextChunk=_?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(ot){this._input=ot,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(B=new XMLHttpRequest,this._config.withCredentials&&(B.withCredentials=this._config.withCredentials),_||(B.onload=mt(this._chunkLoaded,this),B.onerror=mt(this._chunkError,this)),B.open(this._config.downloadRequestBody?"POST":"GET",this._input,!_),this._config.downloadRequestHeaders){var ot=this._config.downloadRequestHeaders;for(var tt in ot)B.setRequestHeader(tt,ot[tt])}if(this._config.chunkSize){var Tt=this._start+this._config.chunkSize-1;B.setRequestHeader("Range","bytes="+this._start+"-"+Tt)}try{B.send(this._config.downloadRequestBody)}catch(Qt){this._chunkError(Qt.message)}_&&0===B.status&&this._chunkError()}},this._chunkLoaded=function(){var tt;4===B.readyState&&(B.status<200||400<=B.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:B.responseText.length,this._finished=!this._config.chunkSize||this._start>=(null===(tt=B.getResponseHeader("Content-Range"))?-1:parseInt(tt.substring(tt.lastIndexOf("/")+1))),this.parseChunk(B.responseText)))},this._chunkError=function(ot){var tt=B.statusText||ot;this._sendError(new Error(tt))}}function W(U){var B,ot;(U=U||{}).chunkSize||(U.chunkSize=R.LocalChunkSize),j.call(this,U);var tt=typeof FileReader<"u";this.stream=function(Tt){this._input=Tt,ot=Tt.slice||Tt.webkitSlice||Tt.mozSlice,tt?((B=new FileReader).onload=mt(this._chunkLoaded,this),B.onerror=mt(this._chunkError,this)):B=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(Tt.target.result)},this._chunkError=function(){this._sendError(B.error)}}function X(U){var B;j.call(this,U=U||{}),this.stream=function(ot){return B=ot,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var ot,tt=this._config.chunkSize;return tt?(ot=B.substring(0,tt),B=B.substring(tt)):(ot=B,B=""),this._finished=!B,this.parseChunk(ot)}}}function et(U){j.call(this,U=U||{});var B=[],ot=!0,tt=!1;this.pause=function(){j.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){j.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(Tt){this._input=Tt,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){tt&&1===B.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),B.length?this.parseChunk(B.shift()):ot=!0},this._streamData=mt(function(Tt){try{B.push("string"==typeof Tt?Tt:Tt.toString(this._config.encoding)),ot&&(ot=!1,this._checkIsFinished(),this.parseChunk(B.shift()))}catch(Qt){this._streamError(Qt)}},this),this._streamError=mt(function(Tt){this._streamCleanUp(),this._sendError(Tt)},this),this._streamEnd=mt(function(){this._streamCleanUp(),tt=!0,this._streamData("")},this),this._streamCleanUp=mt(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function Ot(U){var B,ot,tt,Tt=Math.pow(2,53),Qt=-Tt,ue=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,cn=/^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/,rn=this,Ht=0,be=0,ee=!1,es=!1,mn=[],St={data:[],errors:[],meta:{}};if(wt(U.step)){var _t=U.step;U.step=function(zt){if(St=zt,Ke())ne();else{if(ne(),0===St.data.length)return;Ht+=zt.data.length,U.preview&&Ht>U.preview?ot.abort():(St.data=St.data[0],_t(St,rn))}}}function jn(zt){return"greedy"===U.skipEmptyLines?""===zt.join("").trim():1===zt.length&&0===zt[0].length}function ne(){return St&&tt&&(un("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+R.DefaultDelimiter+"'"),tt=!1),U.skipEmptyLines&&(St.data=St.data.filter(function(zt){return!jn(zt)})),Ke()&&function(){if(St)if(Array.isArray(St.data[0])){for(var ae=0;Ke()&&ae=mn.length?"__parsed_extra":mn[me]),U.transform&&(le=U.transform(le,wn)),le=jt(wn,le),"__parsed_extra"===wn?(Oe[wn]=Oe[wn]||[],Oe[wn].push(le)):Oe[wn]=le}return U.header&&(me>mn.length?un("FieldMismatch","TooManyFields","Too many fields: expected "+mn.length+" fields but parsed "+me,be+fe):me=$e.length/2?"\r\n":"\r"}(zt,fe)),tt=!1,U.delimiter)wt(U.delimiter)&&(U.delimiter=U.delimiter(zt),St.meta.delimiter=U.delimiter);else{var me=function(wn,le,dn,$e,tn){var Vn,Gn,ls,Ae;tn=tn||[",","\t","|",";",R.RECORD_SEP,R.UNIT_SEP];for(var ri=0;ri=ue)return Ae(!0)}else for(le=Ht,Ht++;;){if(-1===(le=ee.indexOf(B,le+1)))return mn||un.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:jt.length,index:Ht}),Gn();if(le===St-1)return Gn(ee.substring(Ht,le).replace(wn,B));if(B!==rn||ee[le+1]!==rn){if(B===rn||0===le||ee[le-1]!==rn){-1!==me&&me=ue)return Ae(!0);break}un.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:jt.length,index:Ht}),le++}}else le++}return Gn();function tn(Bn){jt.push(Bn),ae=Ht}function Vn(Bn){var Kn=0;if(-1!==Bn){var Zt=ee.substring(le+1,Bn);Zt&&""===Zt.trim()&&(Kn=Zt.length)}return Kn}function Gn(Bn){return mn||(void 0===Bn&&(Bn=ee.substring(Ht)),zt.push(Bn),Ht=St,tn(zt),Ke&&ri()),Ae()}function ls(Bn){Ht=Bn,tn(zt),zt=[],Oe=ee.indexOf(tt,Ht)}function Ae(Bn){return{data:jt,errors:un,meta:{delimiter:ot,linebreak:tt,aborted:be,truncated:!!Bn,cursor:ae+(es||0)}}}function ri(){Qt(Ae()),jt=[],un=[]}},this.abort=function(){be=!0},this.getCharIndex=function(){return Ht}}function xt(U){var B=U.data,ot=E[B.workerId],tt=!1;if(B.error)ot.userError(B.error,B.file);else if(B.results&&B.results.data){var Tt={abort:function(){tt=!0,ct(B.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:ut,resume:ut};if(wt(ot.userStep)){for(var Qt=0;Qt0&&void 0!==arguments[0]?arguments[0]:w,Ke=ne.length;if(ne===w||ne[0]===Rt[0]&&1===Ke)return Rt.split(w).concat([W]).concat(ct.split(w));if(ne===tt&&B)return Rt.split(w).concat(["0",tt,W]).concat(ct.split(w));var jt=ne[0]===R&&Ht;jt&&(ne=ne.toString().substr(1));var un=ne.lastIndexOf(tt),zt=-1!==un,ae=void 0,Pe=void 0,fe=void 0;if(ne.slice(-1*_t)===ct&&(ne=ne.slice(0,-1*_t)),zt&&(B||cn)?(ae=ne.slice(ne.slice(0,St)===Rt?St:0,un),Pe=p((Pe=ne.slice(un+1,Ke)).replace(j,w))):ae=ne.slice(0,St)===Rt?ne.slice(St):ne,mn&&(typeof mn>"u"?"undefined":g(mn))===$){var me="."===wt?"[.]":""+wt,Oe=(ae.match(new RegExp(me,"g"))||[]).length;ae=ae.slice(0,mn+Oe*jn)}return ae=ae.replace(j,w),ee||(ae=ae.replace(/^0+(0$|[^0])/,"$1")),fe=p(ae=it?y(ae,wt):ae),(zt&&B||!0===cn)&&(ne[un-1]!==tt&&fe.push(X),fe.push(tt,X),Pe&&((typeof Qt>"u"?"undefined":g(Qt))===$&&(Pe=Pe.slice(0,Qt)),fe=fe.concat(Pe)),!0===cn&&ne[un-1]===tt&&fe.push(W)),St>0&&(fe=Rt.split(w).concat(fe)),jt&&(fe.length===St&&fe.push(W),fe=[O].concat(fe)),ct.length>0&&(fe=fe.concat(ct.split(w))),fe}var Ot=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Gt=Ot.prefix,Rt=void 0===Gt?_:Gt,xt=Ot.suffix,ct=void 0===xt?w:xt,ut=Ot.includeThousandsSeparator,it=void 0===ut||ut,mt=Ot.thousandsSeparatorSymbol,wt=void 0===mt?E:mt,U=Ot.allowDecimal,B=void 0!==U&&U,ot=Ot.decimalSymbol,tt=void 0===ot?T:ot,Tt=Ot.decimalLimit,Qt=void 0===Tt?2:Tt,ue=Ot.requireDecimal,cn=void 0!==ue&&ue,rn=Ot.allowNegative,Ht=void 0!==rn&&rn,be=Ot.allowLeadingZeroes,ee=void 0!==be&&be,es=Ot.integerLimit,mn=void 0===es?null:es,St=Rt&&Rt.length||0,_t=ct&&ct.length||0,jn=wt&&wt.length||0;return et.instanceOf="createNumberMask",et}function p(et){return et.split(w).map(function(Ot){return W.test(Ot)?W:Ot})}function y(et,Ot){return et.replace(/\B(?=(\d{3})+(?!\d))/g,Ot)}Object.defineProperty(I,"__esModule",{value:!0});var g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(et){return typeof et}:function(et){return et&&"function"==typeof Symbol&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et};I.default=M;var _="$",w="",E=",",T=".",R="-",O=/-/,j=/\D+/g,$="number",W=/\d/,X="[]"}])},6700:(K,G,I)=>{var M={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function p(g){var _=y(g);return I(_)}function y(g){if(!I.o(M,g)){var _=new Error("Cannot find module '"+g+"'");throw _.code="MODULE_NOT_FOUND",_}return M[g]}p.keys=function(){return Object.keys(M)},p.resolve=y,K.exports=p,p.id=6700}},K=>{var M;M=9625,K(K.s=M)}]);