diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index 9f18785..9fdcef9 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -216,26 +216,11 @@ Apache-2.0 -tslib -0BSD -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. - zone.js MIT The MIT License -Copyright (c) 2010-2022 Google LLC. https://angular.io/license +Copyright (c) 2010-2023 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/index.html b/index.html index d8a4350..05e0c05 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,5 @@ - + + @@ -56,10 +57,9 @@ - +
- - - \ No newline at end of file + + diff --git a/main.js b/main.js index 03c5f2e..7a9b601 100644 --- a/main.js +++ b/main.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{277:()=>{function pe(e){return"function"==typeof e}function Do(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const _o=Do(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function fr(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class wt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const i of t)i.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(pe(r))try{r()}catch(i){n=i instanceof _o?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Dc(i)}catch(s){n=n??[],s instanceof _o?n=[...n,...s.errors]:n.push(s)}}if(n)throw new _o(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Dc(n);else{if(n instanceof wt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&fr(t,n)}remove(n){const{_finalizers:t}=this;t&&fr(t,n),n instanceof wt&&n._removeParent(this)}}wt.EMPTY=(()=>{const e=new wt;return e.closed=!0,e})();const vc=wt.EMPTY;function Cc(e){return e instanceof wt||e&&"closed"in e&&pe(e.remove)&&pe(e.add)&&pe(e.unsubscribe)}function Dc(e){pe(e)?e():e.unsubscribe()}const rn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},wo={setTimeout(e,n,...t){const{delegate:r}=wo;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=wo;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function _c(e){wo.setTimeout(()=>{const{onUnhandledError:n}=rn;if(!n)throw e;n(e)})}function wc(){}const Am=is("C",void 0,void 0);function is(e,n,t){return{kind:e,value:n,error:t}}let on=null;function bo(e){if(rn.useDeprecatedSynchronousErrorHandling){const n=!on;if(n&&(on={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=on;if(on=null,t)throw r}}else e()}class ss extends wt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Cc(n)&&n.add(this)):this.destination=Nm}static create(n,t,r){return new pr(n,t,r)}next(n){this.isStopped?ls(function Sm(e){return is("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?ls(function Mm(e){return is("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?ls(Am,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const km=Function.prototype.bind;function as(e,n){return km.call(e,n)}class xm{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Eo(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Eo(r)}else Eo(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Eo(t)}}}class pr extends ss{constructor(n,t,r){let o;if(super(),pe(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&rn.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&as(n.next,i),error:n.error&&as(n.error,i),complete:n.complete&&as(n.complete,i)}):o=n}this.destination=new xm(o)}}function Eo(e){rn.useDeprecatedSynchronousErrorHandling?function Tm(e){rn.useDeprecatedSynchronousErrorHandling&&on&&(on.errorThrown=!0,on.error=e)}(e):_c(e)}function ls(e,n){const{onStoppedNotification:t}=rn;t&&wo.setTimeout(()=>t(e,n))}const Nm={closed:!0,next:wc,error:function Pm(e){throw e},complete:wc},cs="function"==typeof Symbol&&Symbol.observable||"@@observable";function bc(e){return e}let qe=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){const i=function Rm(e){return e&&e instanceof ss||function Fm(e){return e&&pe(e.next)&&pe(e.error)&&pe(e.complete)}(e)&&Cc(e)}(t)?t:new pr(t,r,o);return bo(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Ic(r))((o,i)=>{const s=new pr({next:a=>{try{t(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[cs](){return this}pipe(...t){return function Ec(e){return 0===e.length?bc:1===e.length?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}(t)(this)}toPromise(t){return new(t=Ic(t))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Ic(e){var n;return null!==(n=e??rn.Promise)&&void 0!==n?n:Promise}const Om=Do(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let us=(()=>{class e extends qe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Ac(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Om}next(t){bo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){bo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){bo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:o,observers:i}=this;return r||o?vc:(this.currentObservers=null,i.push(t),new wt(()=>{this.currentObservers=null,fr(i,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){const t=new qe;return t.source=this,t}}return e.create=(n,t)=>new Ac(n,t),e})();class Ac extends us{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:vc}}function hr(e){return n=>{if(function Lm(e){return pe(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Io(e,n,t,r,o){return new Vm(e,n,t,r,o)}class Vm extends ss{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function sn(e){return this instanceof sn?(this.v=e,this):new sn(e)}function Um(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=t.apply(e,n||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(g){return new Promise(function(y,v){i.push([f,g,y,v])>1||a(f,g)})})}function a(f,g){try{!function l(f){f.value instanceof sn?Promise.resolve(f.value.v).then(c,u):d(i[0][2],f)}(r[f](g))}catch(y){d(i[0][3],y)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,g){f(g),i.shift(),i.length&&a(i[0][0],i[0][1])}}function qm(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Tc(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const kc=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function xc(e){return pe(e?.then)}function Pc(e){return pe(e[cs])}function Nc(e){return Symbol.asyncIterator&&pe(e?.[Symbol.asyncIterator])}function Fc(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Rc=function Gm(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Oc(e){return pe(e?.[Rc])}function Lc(e){return Um(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:o}=yield sn(t.read());if(o)return yield sn(void 0);yield yield sn(r)}}finally{t.releaseLock()}})}function Vc(e){return pe(e?.getReader)}function an(e){if(e instanceof qe)return e;if(null!=e){if(Pc(e))return function Wm(e){return new qe(n=>{const t=e[cs]();if(pe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(kc(e))return function $m(e){return new qe(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,_c)})}(e);if(Nc(e))return Bc(e);if(Oc(e))return function Ym(e){return new qe(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Vc(e))return function Zm(e){return Bc(Lc(e))}(e)}throw Fc(e)}function Bc(e){return new qe(n=>{(function Qm(e,n){var t,r,o,i;return function jm(e,n,t,r){return new(t||(t=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof t?i:new t(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=qm(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function $t(e,n,t,r=0,o=!1){const i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function jc(e,n,t=1/0){return pe(n)?jc((r,o)=>function Bm(e,n){return hr((t,r)=>{let o=0;t.subscribe(Io(r,i=>{r.next(e.call(n,i,o++))}))})}((i,s)=>n(r,i,o,s))(an(e(r,o))),t):("number"==typeof n&&(t=n),hr((r,o)=>function Xm(e,n,t,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&n.complete()},g=v=>c{i&&n.next(v),c++;let _=!1;an(t(v,u++)).subscribe(Io(n,b=>{o?.(b),i?g(b):n.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&cy(b)):y(b)}f()}catch(b){n.error(b)}}))};return e.subscribe(Io(n,g,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,t)))}const Hc=new qe(e=>e.complete());function fs(e){return e[e.length-1]}function Uc(e,n=0){return hr((t,r)=>{t.subscribe(Io(r,o=>$t(r,e,()=>r.next(o),n),()=>$t(r,e,()=>r.complete(),n),o=>$t(r,e,()=>r.error(o),n)))})}function qc(e,n=0){return hr((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function zc(e,n){if(!e)throw new Error("Iterable cannot be null");return new qe(t=>{$t(t,n,()=>{const r=e[Symbol.asyncIterator]();$t(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function dy(...e){const n=function ny(e){return function ty(e){return e&&pe(e.schedule)}(fs(e))?e.pop():void 0}(e),t=function ry(e,n){return"number"==typeof fs(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?an(r[0]):function Jm(e=1/0){return jc(bc,e)}(t)(function uy(e,n){return n?function cy(e,n){if(null!=e){if(Pc(e))return function oy(e,n){return an(e).pipe(qc(n),Uc(n))}(e,n);if(kc(e))return function sy(e,n){return new qe(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(xc(e))return function iy(e,n){return an(e).pipe(qc(n),Uc(n))}(e,n);if(Nc(e))return zc(e,n);if(Oc(e))return function ay(e,n){return new qe(t=>{let r;return $t(t,n,()=>{r=e[Rc](),$t(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void t.error(s)}i?t.complete():t.next(o)},0,!0)}),()=>pe(r?.return)&&r.return()})}(e,n);if(Vc(e))return function ly(e,n){return zc(Lc(e),n)}(e,n)}throw Fc(e)}(e,n):an(e)}(r,n)):Hc}function ps(e,n,...t){if(!0===n)return void e();if(!1===n)return;const r=new pr({next:()=>{r.unsubscribe(),e()}});return n(...t).subscribe(r)}function re(e){for(let n in e)if(e[n]===re)return n;throw Error("Could not find renamed property on target object.")}function oe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(oe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function gs(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const py=re({__forward_ref__:re});function ms(e){return e.__forward_ref__=ms,e.toString=function(){return oe(this())},e}function L(e){return function ys(e){return"function"==typeof e&&e.hasOwnProperty(py)&&e.__forward_ref__===ms}(e)?e():e}class F extends Error{constructor(n,t){super(function Ao(e,n){return`NG0${Math.abs(e)}${n?": "+n.trim():""}`}(n,t)),this.code=n}}function U(e){return"string"==typeof e?e:null==e?"":String(e)}function Mo(e,n){throw new F(-201,!1)}function Ye(e,n){null==e&&function ee(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function ce(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ln(e){return{providers:e.providers||[],imports:e.imports||[]}}function So(e){return Gc(e,To)||Gc(e,$c)}function Gc(e,n){return e.hasOwnProperty(n)?e[n]:null}function Wc(e){return e&&(e.hasOwnProperty(vs)||e.hasOwnProperty(_y))?e[vs]:null}const To=re({\u0275prov:re}),vs=re({\u0275inj:re}),$c=re({ngInjectableDef:re}),_y=re({ngInjectorDef:re});var V=(()=>((V=V||{})[V.Default=0]="Default",V[V.Host=1]="Host",V[V.Self=2]="Self",V[V.SkipSelf=4]="SkipSelf",V[V.Optional=8]="Optional",V))();let Cs;function nt(e){const n=Cs;return Cs=e,n}function Kc(e,n,t){const r=So(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&V.Optional?null:void 0!==n?n:void Mo(oe(e))}function Kt(e){return{toString:e}.toString()}var ut=(()=>((ut=ut||{})[ut.OnPush=0]="OnPush",ut[ut.Default=1]="Default",ut))(),bt=(()=>{return(e=bt||(bt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",bt;var e})();const ie=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),En={},J=[],ko=re({\u0275cmp:re}),Ds=re({\u0275dir:re}),_s=re({\u0275pipe:re}),Yc=re({\u0275mod:re}),Pt=re({\u0275fac:re}),gr=re({__NG_ELEMENT_ID__:re});let by=0;function xo(e){return Kt(()=>{const t=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ut.OnPush,directiveDefs:null,pipeDefs:null,standalone:t,dependencies:t&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||bt.Emulated,id:"c"+by++,styles:e.styles||J,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,s=e.features;return o.inputs=Xc(e.inputs,r),o.outputs=Xc(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(Zc).filter(Qc):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(Le).filter(Qc):null,o})}function Zc(e){return ne(e)||Oe(e)}function Qc(e){return null!==e}function In(e){return Kt(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Xc(e,n){if(null==e)return En;const t={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),t[o]=r,n&&(n[o]=i)}return t}const Re=xo;function ne(e){return e[ko]||null}function Oe(e){return e[Ds]||null}function Le(e){return e[_s]||null}const W=11;function Ge(e){return Array.isArray(e)&&"object"==typeof e[1]}function ft(e){return Array.isArray(e)&&!0===e[1]}function Es(e){return 0!=(8&e.flags)}function Ro(e){return 2==(2&e.flags)}function Oo(e){return 1==(1&e.flags)}function pt(e){return null!==e.template}function Ty(e){return 0!=(256&e[2])}function pn(e,n){return e.hasOwnProperty(Pt)?e[Pt]:null}class Py{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function _r(){return tu}function tu(e){return e.type.prototype.ngOnChanges&&(e.setInput=Fy),Ny}function Ny(){const e=ru(this),n=e?.current;if(n){const t=e.previous;if(t===En)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function Fy(e,n,t,r){const o=ru(e)||function Ry(e,n){return e[nu]=n}(e,{previous:En,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[t],l=s[a];i[a]=new Py(l&&l.currentValue,n,s===En),e[r]=n}_r.ngInherit=!0;const nu="__ngSimpleChanges__";function ru(e){return e[nu]||null}function ve(e){for(;Array.isArray(e);)e=e[0];return e}function Lo(e,n){return ve(n[e])}function it(e,n){return ve(n[e.index])}function Ts(e,n){return e.data[n]}function Xe(e,n){const t=n[e];return Ge(t)?t:t[0]}function Vo(e){return 64==(64&e[2])}function Yt(e,n){return null==n?null:e[n]}function ou(e){e[18]=0}function ks(e,n){e[5]+=n;let t=e,r=e[3];for(;null!==r&&(1===n&&1===t[5]||-1===n&&0===t[5]);)r[5]+=n,t=r,r=r[3]}const H={lFrame:hu(null),bindingsEnabled:!0};function su(){return H.bindingsEnabled}function D(){return H.lFrame.lView}function Z(){return H.lFrame.tView}function B(e){return H.lFrame.contextLView=e,e[8]}function j(e){return H.lFrame.contextLView=null,e}function we(){let e=au();for(;null!==e&&64===e.type;)e=e.parent;return e}function au(){return H.lFrame.currentTNode}function Et(e,n){const t=H.lFrame;t.currentTNode=e,t.isParent=n}function xs(){return H.lFrame.isParent}function Ps(){H.lFrame.isParent=!1}function Ve(){const e=H.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function kn(){return H.lFrame.bindingIndex++}function Ft(e){const n=H.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Zy(e,n){const t=H.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ns(n)}function Ns(e){H.lFrame.currentDirectiveIndex=e}function du(){return H.lFrame.currentQueryIndex}function Rs(e){H.lFrame.currentQueryIndex=e}function Xy(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[6]:null}function fu(e,n,t){if(t&V.SkipSelf){let o=n,i=e;for(;!(o=o.parent,null!==o||t&V.Host||(o=Xy(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;n=o,e=i}const r=H.lFrame=pu();return r.currentTNode=n,r.lView=e,!0}function Os(e){const n=pu(),t=e[1];H.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function pu(){const e=H.lFrame,n=null===e?null:e.child;return null===n?hu(e):n}function hu(e){const n={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:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function gu(){const e=H.lFrame;return H.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const mu=gu;function Ls(){const e=gu();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Be(){return H.lFrame.selectedIndex}function Zt(e){H.lFrame.selectedIndex=e}function Bo(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[l]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===n){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class br{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Uo(e,n,t){let r=0;for(;rn){s=i-1;break}}}for(;i>16}(e),r=n;for(;t>0;)r=r[15],t--;return r}let js=!0;function zo(e){const n=js;return js=e,n}let fv=0;const It={};function Ir(e,n){const t=Us(e,n);if(-1!==t)return t;const r=n[1];r.firstCreatePass&&(e.injectorIndex=n.length,Hs(r.data,e),Hs(n,null),Hs(r.blueprint,null));const o=Go(e,n),i=e.injectorIndex;if(wu(o)){const s=xn(o),a=Pn(o,n),l=a[1].data;for(let c=0;c<8;c++)n[i+c]=a[s+c]|l[s+c]}return n[i+8]=o,i}function Hs(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Us(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Go(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;null!==o;){if(r=xu(o),null===r)return-1;if(t++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return-1}function Wo(e,n,t){!function pv(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(gr)&&(r=t[gr]),null==r&&(r=t[gr]=fv++);const o=255&r;n.data[e+(o>>5)]|=1<=0?255&n:yv:n}(t);if("function"==typeof i){if(!fu(n,e,r))return r&V.Host?Iu(o,0,r):Au(n,t,r,o);try{const s=i(r);if(null!=s||r&V.Optional)return s;Mo()}finally{mu()}}else if("number"==typeof i){let s=null,a=Us(e,n),l=-1,c=r&V.Host?n[16][6]:null;for((-1===a||r&V.SkipSelf)&&(l=-1===a?Go(e,n):n[a+8],-1!==l&&ku(r,!1)?(s=n[1],a=xn(l),n=Pn(l,n)):a=-1);-1!==a;){const u=n[1];if(Tu(i,a,u.data)){const d=gv(a,n,t,s,r,c);if(d!==It)return d}l=n[a+8],-1!==l&&ku(r,n[1].data[a+8]===c)&&Tu(i,a,n)?(s=u,a=xn(l),n=Pn(l,n)):a=-1}}return o}function gv(e,n,t,r,o,i){const s=n[1],a=s.data[e+8],u=$o(a,s,t,null==r?Ro(a)&&js:r!=s&&0!=(3&a.type),o&V.Host&&i===a);return null!==u?Ar(n,s,u,a):It}function $o(e,n,t,r,o){const i=e.providerIndexes,s=n.data,a=1048575&i,l=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let g=r?a:a+u;g=l&&y.type===t)return g}if(o){const g=s[l];if(g&&pt(g)&&g.type===t)return l}return null}function Ar(e,n,t,r){let o=e[t];const i=n.data;if(function av(e){return e instanceof br}(o)){const s=o;s.resolving&&function hy(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new F(-200,`Circular dependency in DI detected for ${e}${t}`)}(function X(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():U(e)}(i[t]));const a=zo(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?nt(s.injectImpl):null;fu(e,r,V.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function iv(e,n,t){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){const s=tu(n);(t.preOrderHooks||(t.preOrderHooks=[])).push(e,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,s)}o&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-e,o),i&&((t.preOrderHooks||(t.preOrderHooks=[])).push(e,i),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,i))}(t,i[t],n)}finally{null!==l&&nt(l),zo(a),s.resolving=!1,mu()}}return o}function Tu(e,n,t){return!!(t[n+(e>>5)]&1<{const r=function Gs(e){return function(...t){if(e){const r=e(...t);for(const o in r)this[o]=r[o]}}}(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Rn)?l[Rn]:Object.defineProperty(l,Rn,{value:[]})[Rn];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class ${constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ce({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Je(e,n){void 0===n&&(n=e);for(let t=0;tArray.isArray(t)?Rt(t,n):n(t))}function Nu(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ko(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function et(e,n,t){let r=Vn(e,n);return r>=0?e[1|r]=t:(r=~r,function bv(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function $s(e,n){const t=Vn(e,n);if(t>=0)return e[1|t]}function Vn(e,n){return function Ou(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){const i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<{const s=i;ia(s,t,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&ud(o,t),t}function ud(e,n){for(let t=0;t{n.push(i)})}}function ia(e,n,t,r){if(!(e=L(e)))return!1;let o=null,i=Wc(e);const s=!i&&ne(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Wc(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)ia(c,n,t,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{Rt(i.imports,u=>{ia(u,n,t,r)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&ud(c,n)}if(!a){const c=pn(o)||(()=>new o);n.push({provide:o,useFactory:c,deps:J},{provide:ad,useValue:o,multi:!0},{provide:id,useValue:()=>te(o),multi:!0})}const l=i.providers;null==l||a||Rt(l,u=>{n.push(u)})}}return o!==e&&void 0!==e.providers}const DC=re({provide:String,useValue:re});function sa(e){return null!==e&&"object"==typeof e&&DC in e}function hn(e){return"function"==typeof e}const aa=new $("Set Injector scope."),oi={},wC={};let la;function ii(){return void 0===la&&(la=new ld),la}class Un{}class pd extends Un{constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ua(n,s=>this.processProvider(s)),this.records.set(sd,qn(void 0,this)),o.has("environment")&&this.records.set(Un,qn(void 0,this));const i=this.records.get(aa);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ad.multi,J,V.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const t=Bn(this),r=nt(void 0);try{return n()}finally{Bn(t),nt(r)}}get(n,t=kr,r=V.Default){this.assertNotDestroyed();const o=Bn(this),i=nt(void 0);try{if(!(r&V.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function MC(e){return"function"==typeof e||"object"==typeof e&&e instanceof $}(n)&&So(n);a=l&&this.injectableDefInScope(l)?qn(ca(n),oi):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(r&V.Self?ii():this.parent).get(n,t=r&V.Optional&&t===kr?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[Zo]=s[Zo]||[]).unshift(oe(n)),o)throw s;return function Ov(e,n,t,r){const o=e[Zo];throw n[Lu]&&o.unshift(n[Lu]),e.message=function Lv(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=oe(n);if(Array.isArray(n))o=n.map(oe).join(" -> ");else if("object"==typeof n){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):oe(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(xv,"\n ")}`}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[Zo]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{nt(i),Bn(o)}}resolveInjectorInitializers(){const n=Bn(this),t=nt(void 0);try{const r=this.get(id.multi,J,V.Self);for(const o of r)o()}finally{Bn(n),nt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(oe(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new F(205,!1)}processProvider(n){let t=hn(n=L(n))?n:L(n&&n.provide);const r=function EC(e){return sa(e)?qn(void 0,e.useValue):qn(function hd(e,n,t){let r;if(hn(e)){const o=L(e);return pn(o)||ca(o)}if(sa(e))r=()=>L(e.useValue);else if(function fd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Zs(e.deps||[]));else if(function dd(e){return!(!e||!e.useExisting)}(e))r=()=>te(L(e.useExisting));else{const o=L(e&&(e.useClass||e.provide));if(!function IC(e){return!!e.deps}(e))return pn(o)||ca(o);r=()=>new o(...Zs(e.deps))}return r}(e),oi)}(n);if(hn(n)||!0!==n.multi)this.records.get(t);else{let o=this.records.get(t);o||(o=qn(void 0,oi,!0),o.factory=()=>Zs(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===oi&&(t.value=wC,t.value=t.factory()),"object"==typeof t.value&&t.value&&function AC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=L(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function ca(e){const n=So(e),t=null!==n?n.factory:pn(e);if(null!==t)return t;if(e instanceof $)throw new F(204,!1);if(e instanceof Function)return function bC(e){const n=e.length;if(n>0)throw function Tr(e,n){const t=[];for(let r=0;rt.factory(e):()=>new e}(e);throw new F(204,!1)}function qn(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function SC(e){return!!e.\u0275providers}function ua(e,n){for(const t of e)Array.isArray(t)?ua(t,n):SC(t)?ua(t.\u0275providers,n):n(t)}class gd{}class xC{resolveComponentFactory(n){throw function kC(e){const n=Error(`No component factory found for ${oe(e)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=e,n}(n)}}let Vr=(()=>{class e{}return e.NULL=new xC,e})();function PC(){return zn(we(),D())}function zn(e,n){return new Lt(it(e,n))}let Lt=(()=>{class e{constructor(t){this.nativeElement=t}}return e.__NG_ELEMENT_ID__=PC,e})();function NC(e){return e instanceof Lt?e.nativeElement:e}class yd{}let RC=(()=>{class e{}return e.\u0275prov=ce({token:e,providedIn:"root",factory:()=>null}),e})();class da{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const OC=new da("14.2.3"),fa={};function ya(e){return e.ngOriginalError}class Gn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&ya(n);for(;t&&ya(t);)t=ya(t);return t||null}}const va=new Map;let KC=0;const Da="__ngContext__";function Pe(e,n){Ge(n)?(e[Da]=n[20],function ZC(e){va.set(e[20],e)}(n)):e[Da]=n}function _a(e){return e.ownerDocument}var We=(()=>((We=We||{})[We.Important=1]="Important",We[We.DashCase=2]="DashCase",We))();function ba(e,n){return undefined(e,n)}function jr(e){const n=e[3];return ft(n)?n[3]:n}function Ea(e){return Pd(e[13])}function Ia(e){return Pd(e[4])}function Pd(e){for(;null!==e&&!ft(e);)e=e[4];return e}function $n(e,n,t,r,o){if(null!=r){let i,s=!1;ft(r)?i=r:Ge(r)&&(s=!0,r=r[0]);const a=ve(r);0===e&&null!==t?null==o?Vd(n,t,a):gn(n,t,a,o||null,!0):1===e&&null!==t?gn(n,t,a,o||null,!0):2===e?function Gd(e,n,t){const r=si(e,n);r&&function wD(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=i&&function ID(e,n,t,r,o){const i=t[7];i!==ve(t)&&$n(n,e,r,i,o);for(let a=10;a0&&(e[t-1][4]=r[4]);const i=Ko(e,10+n);!function hD(e,n){Hr(e,n,n[W],2,null,null),n[0]=null,n[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Rd(e,n){if(!(128&n[2])){const t=n[W];t.destroyNode&&Hr(e,n,t,3,null,null),function yD(e){let n=e[13];if(!n)return Ta(e[1],e);for(;n;){let t=null;if(Ge(n))t=n[13];else{const r=n[10];r&&(t=r)}if(!t){for(;n&&!n[4]&&n!==e;)Ge(n)&&Ta(n[1],n),n=n[3];null===n&&(n=e),Ge(n)&&Ta(n[1],n),t=n&&n[4]}n=t}}(n)}}function Ta(e,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function _D(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r=0?r[o=c]():r[o=-c].unsubscribe(),i+=2}else{const s=r[o=t[i+1]];t[i].call(s)}if(null!==r){for(let i=o+1;ii?"":o[d+1].toLowerCase();const g=8&r?f:null;if(g&&-1!==Kd(g,c,0)||2&r&&c!==f){if(ht(r))return!1;s=!0}}}}else{if(!s&&!ht(r)&&!ht(l))return!1;if(s&&ht(l))continue;s=!1,r=l|1&r}}return ht(r)||s}function ht(e){return 0==(1&e)}function kD(e,n,t,r){if(null===n)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!ht(s)&&(n+=Xd(i,o),o=""),r=s,i=i||!ht(r);t++}return""!==o&&(n+=Xd(i,o)),n}const q={};function w(e){Jd(Z(),D(),Be()+e,!1)}function Jd(e,n,t,r){if(!r)if(3==(3&n[2])){const i=e.preOrderCheckHooks;null!==i&&jo(n,i,t)}else{const i=e.preOrderHooks;null!==i&&Ho(n,i,0,t)}Zt(t)}function rf(e,n=null,t=null,r){const o=of(e,n,t,r);return o.resolveInjectorInitializers(),o}function of(e,n=null,t=null,r,o=new Set){const i=[t||J,CC(e)];return r=r||("object"==typeof e?void 0:oe(e)),new pd(i,n||ii(),r||null,o)}let gt=(()=>{class e{static create(t,r){if(Array.isArray(t))return rf({name:""},r,t,"");{const o=t.name??"";return rf({name:o},t.parent,t.providers,o)}}}return e.THROW_IF_NOT_FOUND=kr,e.NULL=new ld,e.\u0275prov=ce({token:e,providedIn:"any",factory:()=>te(sd)}),e.__NG_ELEMENT_ID__=-1,e})();function P(e,n=V.Default){const t=D();return null===t?te(e,n):Mu(we(),t,L(e),n)}function ui(e,n){return e<<17|n<<2}function mt(e){return e>>17&32767}function Va(e){return 2|e}function Bt(e){return(131068&e)>>2}function Ba(e,n){return-131069&e|n<<2}function ja(e){return 1|e}function wf(e,n){const t=e.contentQueries;if(null!==t)for(let r=0;r22&&Jd(e,n,22,!1),t(r,o)}finally{Zt(i)}}function Ef(e,n,t){if(Es(n)){const o=n.directiveEnd;for(let i=n.directiveStart;i0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(a)!=l&&a.push(l),a.push(r,o,s)}}function xf(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function Pf(e,n){n.flags|=2,(e.components||(e.components=[])).push(n.index)}function M_(e,n,t){if(t){if(n.exportAs)for(let r=0;r0&&tl(t)}}function tl(e){for(let r=Ea(e);null!==r;r=Ia(r))for(let o=10;o0&&tl(i)}const t=e[1].components;if(null!==t)for(let r=0;r0&&tl(o)}}function F_(e,n){const t=Xe(n,e),r=t[1];(function R_(e,n){for(let t=n.length;t-1&&(Sa(n,r),Ko(t,r))}this._attachedToViewContainer=!1}Rd(this._lView[1],this._lView)}onDestroy(n){Af(this._lView[1],this._lView,null,n)}markForCheck(){nl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){mi(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new F(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function mD(e,n){Hr(e,n,n[W],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new F(902,!1);this._appRef=n}}class O_ extends Ur{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;mi(n[1],n,n[8],!1)}checkNoChanges(){}get context(){return null}}class il extends Vr{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=ne(n);return new qr(t,this.ngModule)}}function jf(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class V_{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){const o=this.injector.get(n,fa,r);return o!==fa||t===fa?o:this.parentInjector.get(n,t,r)}}class qr extends gd{constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function OD(e){return e.map(RD).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return jf(this.componentDef.inputs)}get outputs(){return jf(this.componentDef.outputs)}create(n,t,r,o){let i=(o=o||this.ngModule)instanceof Un?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new V_(n,i):n,a=s.get(yd,null);if(null===a)throw new F(407,!1);const l=s.get(RC,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=r?function y_(e,n,t){return e.selectRootElement(n,t===bt.ShadowDom)}(c,r,this.componentDef.encapsulation):Ma(a.createRenderer(null,this.componentDef),u,function L_(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(u)),f=this.componentDef.onPush?288:272,g=Xa(0,null,null,1,0,null,null,null,null,null),y=pi(null,g,null,f,null,null,a,c,l,s,null);let v,_;Os(y);try{const b=function H_(e,n,t,r,o,i){const s=t[1];t[22]=e;const l=Yn(s,22,2,"#host",null),c=l.mergedAttrs=n.hostAttrs;null!==c&&(yi(l,c,!0),null!==e&&(Uo(o,e,c),null!==l.classes&&Na(o,e,l.classes),null!==l.styles&&$d(o,e,l.styles)));const u=r.createRenderer(e,n),d=pi(t,If(n),null,n.onPush?32:16,t[22],l,r,u,i||null,null,null);return s.firstCreatePass&&(Wo(Ir(l,t),s,n.type),Pf(s,l),Nf(l,t.length,1)),gi(t,d),t[22]=d}(d,this.componentDef,y,a,c);if(d)if(r)Uo(c,d,["ng-version",OC.full]);else{const{attrs:S,classes:C}=function LD(e){const n=[],t=[];let r=1,o=2;for(;r0&&Na(c,d,C.join(" "))}if(_=Ts(g,22),void 0!==t){const S=_.projection=[];for(let C=0;Ca(ve(Y[r.index])):r.index;let x=null;if(!a&&l&&(x=function sw(e,n,t,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,n,o,r.index)),null!==x)(x.__ngLastListenerFn__||x).__ngNextListenerFn__=i,x.__ngLastListenerFn__=i,g=!1;else{i=rp(r,n,d,i,!1);const Y=t.listen(b,o,i);f.push(i,Y),u&&u.push(o,C,S,S+1)}}else i=rp(r,n,d,i,!1);const y=r.outputs;let v;if(g&&null!==y&&(v=y[o])){const _=v.length;if(_)for(let b=0;b<_;b+=2){const le=n[v[b]][v[b+1]].subscribe(i),Wt=f.length;f.push(i,le),u&&u.push(o,r.index,Wt,-(Wt+1))}}}(i,o,o[W],s,e,n,0,r),k}function np(e,n,t,r){try{return!1!==t(r)}catch(o){return Bf(e,o),!1}}function rp(e,n,t,r,o){return function i(s){if(s===Function)return r;nl(2&e.flags?Xe(e.index,n):n);let l=np(n,0,r,s),c=i.__ngNextListenerFn__;for(;c;)l=np(n,0,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function T(e=1){return function Jy(e){return(H.lFrame.contextLView=function ev(e,n){for(;e>0;)n=n[15],e--;return n}(e,H.lFrame.contextLView))[8]}(e)}function pp(e,n,t,r,o){const i=e[t+1],s=null===n;let a=r?mt(i):Bt(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];fw(e[a],n)&&(l=!0,e[a+1]=r?ja(u):Va(u)),a=r?mt(u):Bt(u)}l&&(e[t+1]=r?Va(i):ja(i))}function fw(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Vn(e,n)>=0}const Ee={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hp(e){return e.substring(Ee.key,Ee.keyEnd)}function gp(e,n){const t=Ee.textEnd;return t===n?-1:(n=Ee.keyEnd=function mw(e,n,t){for(;n32;)n++;return n}(e,Ee.key=n,t),sr(e,n,t))}function sr(e,n,t){for(;n=0;t=gp(n,t))et(e,hp(n),!0)}function yt(e,n,t,r){const o=D(),i=Z(),s=Ft(2);i.firstUpdatePass&&_p(i,e,s,r),n!==q&&Ne(o,s,n)&&bp(i,i.data[Be()],o,o[W],e,o[s+1]=function Aw(e,n){return null==e||("string"==typeof n?e+=n:"object"==typeof e&&(e=oe(Xt(e)))),e}(n,t),r,s)}function vt(e,n,t,r){const o=Z(),i=Ft(2);o.firstUpdatePass&&_p(o,null,i,r);const s=D();if(t!==q&&Ne(s,i,t)){const a=o.data[Be()];if(Ip(a,r)&&!Dp(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=gs(l,t||"")),ll(o,a,s,t,r)}else!function Iw(e,n,t,r,o,i,s,a){o===q&&(o=J);let l=0,c=0,u=0=e.expandoStartIndex}function _p(e,n,t,r){const o=e.data;if(null===o[t+1]){const i=o[Be()],s=Dp(e,t);Ip(i,r)&&null===n&&!s&&(n=!1),n=function Dw(e,n,t,r){const o=function Fs(e){const n=H.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let i=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(t=Wr(t=hl(null,e,n,t,r),n.attrs,r),i=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=hl(o,e,n,t,r),null===i){let l=function _w(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Bt(r))return e[mt(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=hl(null,e,n,l[1],r),l=Wr(l,n.attrs,r),function ww(e,n,t,r){e[mt(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else i=function bw(e,n,t){let r;const o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0)&&(c=!0)}else u=t;if(o)if(0!==l){const f=mt(e[a+1]);e[r+1]=ui(f,a),0!==f&&(e[f+1]=Ba(e[f+1],r)),e[a+1]=function r_(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=ui(a,0),0!==a&&(e[a+1]=Ba(e[a+1],r)),a=r;else e[r+1]=ui(l,0),0===a?a=r:e[l+1]=Ba(e[l+1],r),l=r;c&&(e[r+1]=Va(e[r+1])),pp(e,u,r,!0),pp(e,u,r,!1),function dw(e,n,t,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&Vn(i,n)>=0&&(t[r+1]=ja(t[r+1]))}(n,u,e,r,i),s=ui(a,l),i?n.classBindings=s:n.styleBindings=s}(o,i,n,t,s,r)}}function hl(e,n,t,r,o){let i=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=t[o+1];f===q&&(f=d?J:void 0);let g=d?$s(f,r):u===r?f:void 0;if(c&&!bi(g)&&(g=$s(l,r)),bi(g)&&(a=g,s))return a;const y=e[o+1];o=s?mt(y):Bt(y)}if(null!==n){let l=i?n.residualClasses:n.residualStyles;null!=l&&(a=$s(l,r))}return a}function bi(e){return void 0!==e}function Ip(e,n){return 0!=(e.flags&(n?16:32))}function m(e,n=""){const t=D(),r=Z(),o=e+22,i=r.firstCreatePass?Yn(r,o,1,n,null):r.data[o],s=t[o]=function Aa(e,n){return e.createText(n)}(t[W],n);ai(r,t,s,i),Et(i,!1)}function Cn(e){return $r("",e,""),Cn}function $r(e,n,t){const r=D(),o=Xn(r,e,n,t);return o!==q&&jt(r,Be(),o),$r}function Ei(e,n,t,r,o){const i=D(),s=Jn(i,e,n,t,r,o);return s!==q&&jt(i,Be(),s),Ei}const lr="en-US";let $p=lr;class cr{}class Ch extends cr{constructor(n,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new il(this);const r=function Ze(e,n){const t=e[Yc]||null;if(!t&&!0===n)throw new Error(`Type ${oe(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Vt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=of(n,t,[{provide:cr,useValue:this},{provide:Vr,useValue:this.componentFactoryResolver}],oe(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class _l extends class W0{}{constructor(n){super(),this.moduleType=n}create(n){return new Ch(this.moduleType,n)}}function bl(e,n,t){const r=Ve()+e,o=D();return o[r]===q?Mt(o,r,t?n.call(t):n()):function Gr(e,n){return e[n]}(o,r)}function Mh(e,n,t,r,o){return function Th(e,n,t,r,o,i,s){const a=n+t;return yn(e,a,o,i)?Mt(e,a+2,s?r.call(s,o,i):r(o,i)):function Jr(e,n){const t=e[n];return t===q?void 0:t}(e,a+2)}(D(),Ve(),e,n,t,r,o)}function El(e){return n=>{setTimeout(e,void 0,n)}}const ue=class Db extends us{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=El(i),o&&(o=El(o)),s&&(s=El(s)));const a=super.subscribe({next:o,error:i,complete:s});return n instanceof wt&&n.add(a),a}};function _b(){return this._results[mn()]()}class Il{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=mn(),r=Il.prototype;r[t]||(r[t]=_b)}get changes(){return this._changes||(this._changes=new ue)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const r=this;r.dirty=!1;const o=Je(n);(this._changesDetected=!function _v(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=Eb,e})();const wb=Ht,bb=class extends wb{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}createEmbeddedView(n,t){const r=this._declarationTContainer.tViews,o=pi(this._declarationLView,r,n,16,null,r.declTNode,null,null,null,null,t||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),Ya(r,o,n),new Ur(o)}};function Eb(){return Ti(we(),D())}function Ti(e,n){return 4&e.type?new bb(n,e,zn(e,n)):null}let at=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ib,e})();function Ib(){return Rh(we(),D())}const Ab=at,Nh=class extends Ab{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return zn(this._hostTNode,this._hostLView)}get injector(){return new Nn(this._hostTNode,this._hostLView)}get parentInjector(){const n=Go(this._hostTNode,this._hostLView);if(wu(n)){const t=Pn(n,this._hostLView),r=xn(n);return new Nn(t[1].data[r+8],t)}return new Nn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Fh(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,t,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=n.createEmbeddedView(t||{},i);return this.insert(s,o),s}createComponent(n,t,r,o,i){const s=n&&!function Sr(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const d=t||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const l=s?n:new qr(ne(n)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const f=(s?c:this.parentInjector).get(Un,null);f&&(i=f)}const u=l.create(c,o,void 0,i);return this.insert(u.hostView,a),u}insert(n,t){const r=n._lView,o=r[1];if(function Uy(e){return ft(e[3])}(r)){const u=this.indexOf(n);if(-1!==u)this.detach(u);else{const d=r[3],f=new Nh(d,d[6],d[3]);f.detach(f.indexOf(n))}}const i=this._adjustIndex(t),s=this._lContainer;!function vD(e,n,t,r){const o=10+r,i=t.length;r>0&&(t[o-1][4]=n),r0)r.push(s[a/2]);else{const c=i[a+1],u=n[-l];for(let d=10;d{class e{constructor(t){this.appInits=t,this.resolve=Fi,this.reject=Fi,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const t=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:a,error:l})});t.push(s)}}Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),0===t.length&&r(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(te(sg,8))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const no=new $("AppId",{providedIn:"root",factory:function ag(){return`${Ol()}${Ol()}${Ol()}`}});function Ol(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const lg=new $("Platform Initializer"),Ll=new $("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),tE=new $("appBootstrapListener"),Ut=new $("LocaleId",{providedIn:"root",factory:()=>function Fv(e,n=V.Default){return"number"!=typeof n&&(n=0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)),te(e,n)}(Ut,V.Optional|V.SkipSelf)||function nE(){return typeof $localize<"u"&&$localize.locale||lr}()}),aE=(()=>Promise.resolve(0))();function Vl(e){typeof Zone>"u"?aE.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Se{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ue(!1),this.onMicrotaskEmpty=new ue(!1),this.onStable=new ue(!1),this.onError=new ue(!1),typeof Zone>"u")throw new F(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const i=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new i("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&t,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function lE(){let e=ie.requestAnimationFrame,n=ie.cancelAnimationFrame;if(typeof Zone<"u"&&e&&n){const t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function dE(e){const n=()=>{!function uE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ie,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,jl(e),e.isCheckStableRunning=!0,Bl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),jl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,o,i,s,a)=>{try{return dg(e),t.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&n(),fg(e)}},onInvoke:(t,r,o,i,s,a,l)=>{try{return dg(e),t.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),fg(e)}},onHasTask:(t,r,o,i)=>{t.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,jl(e),Bl(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,o,i)=>(t.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Se.isInAngularZone())throw new F(909,!1)}static assertNotInAngularZone(){if(Se.isInAngularZone())throw new F(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,cE,Fi,Fi);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const cE={};function Bl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function jl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function dg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fg(e){e._nesting--,Bl(e)}class fE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ue,this.onMicrotaskEmpty=new ue,this.onStable=new ue,this.onError=new ue}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}}const pg=new $(""),Oi=new $("");let ql,Hl=(()=>{class e{constructor(t,r,o){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ql||(function pE(e){ql=e}(o),o.addToWindow(r)),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:()=>{Se.assertNotInAngularZone(),Vl(()=>{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())Vl(()=>{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(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.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,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!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,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}}return e.\u0275fac=function(t){return new(t||e)(te(Se),te(Ul),te(Oi))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),Ul=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}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,r=!0){return ql?.findTestabilityInTree(this,t,r)??null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),tn=null;const hg=new $("AllowMultipleToken"),zl=new $("PlatformDestroyListeners");function mg(e,n,t=[]){const r=`Platform: ${n}`,o=new $(r);return(i=[])=>{let s=Gl();if(!s||s.injector.get(hg,!1)){const a=[...t,...i,{provide:o,useValue:!0}];e?e(a):function mE(e){if(tn&&!tn.get(hg,!1))throw new F(400,!1);tn=e;const n=e.get(vg);(function gg(e){const n=e.get(lg,null);n&&n.forEach(t=>t())})(e)}(function yg(e=[],n){return gt.create({name:n,providers:[{provide:aa,useValue:"platform"},{provide:zl,useValue:new Set([()=>tn=null])},...e]})}(a,r))}return function vE(e){const n=Gl();if(!n)throw new F(401,!1);return n}()}}function Gl(){return tn?.get(vg)??null}let vg=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const o=function Dg(e,n){let t;return t="noop"===e?new fE:("zone.js"===e?void 0:e)||new Se(n),t}(r?.ngZone,function Cg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Se,useValue:o}];return o.run(()=>{const s=gt.create({providers:i,parent:this.injector,name:t.moduleType.name}),a=t.create(s),l=a.injector.get(Gn,null);if(!l)throw new F(402,!1);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{Vi(this._modules,a),c.unsubscribe()})}),function _g(e,n,t){try{const r=t();return fl(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(l,o,()=>{const c=a.injector.get(Ri);return c.runInitializers(),c.donePromise.then(()=>(function Kp(e){Ye(e,"Expected localeId to be defined"),"string"==typeof e&&($p=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Ut,lr)||lr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(t,r=[]){const o=wg({},r);return function hE(e,n,t){const r=new _l(t);return Promise.resolve(r)}(0,0,t).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(t){const r=t.injector.get(Li);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new F(403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new F(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(zl,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(te(gt))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function wg(e,n){return Array.isArray(n)?n.reduce(wg,e):{...e,...n}}let Li=(()=>{class e{constructor(t,r,o){this._zone=t,this._injector=r,this._exceptionHandler=o,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 qe(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new qe(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Se.assertNotInAngularZone(),Vl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{Se.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=dy(i,s.pipe(function fy(e={}){const{connector:n=(()=>new us),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,c=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},g=()=>{f(),s=l=void 0,u=d=!1},y=()=>{const v=s;g(),v?.unsubscribe()};return hr((v,_)=>{c++,!d&&!u&&f();const b=l=l??n();_.add(()=>{c--,0===c&&!d&&!u&&(a=ps(y,o))}),b.subscribe(_),!s&&c>0&&(s=new pr({next:S=>b.next(S),error:S=>{d=!0,f(),a=ps(g,t,S),b.error(S)},complete:()=>{u=!0,f(),a=ps(g,r),b.complete()}}),an(v).subscribe(s))})(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const o=t instanceof gd;if(!this._injector.get(Ri).done)throw!o&&function mr(e){const n=ne(e)||Oe(e)||Le(e);return null!==n&&n.standalone}(t),new F(405,false);let s;s=o?t:this._injector.get(Vr).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function gE(e){return e.isBoundToModule}(s)?void 0:this._injector.get(cr),c=s.create(gt.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(pg,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Vi(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new F(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 r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;Vi(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(tE,[]).concat(this._bootstrapListeners).forEach(o=>o(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),()=>Vi(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new F(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(t){return new(t||e)(te(Se),te(Un),te(Gn))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Vi(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}let Mg=(()=>{class e{}return e.__NG_ELEMENT_ID__=DE,e})();function DE(e){return function _E(e,n,t){if(Ro(e)&&!t){const r=Xe(e.index,n);return new Ur(r,r)}return 47&e.type?new Ur(n[16],n):null}(we(),D(),16==(16&e))}class kg{constructor(){}supports(n){return zr(n)}create(n){return new ME(n)}}const AE=(e,n)=>n;class ME{constructor(n){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=n||AE}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),r=!0),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return null===n?i=this._itTail:(i=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new SE(t,r),i,o),n}_verifyReinsertion(n,t,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,i=n._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new xg),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new xg),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class SE{constructor(n,t){this.item=n,this.trackById=t,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 TE{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class xg{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new TE,this.map.set(t,r)),r.add(n)}get(n,t){const o=this.map.get(n);return o?o.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Pg(e,n,t){const r=e.previousIndex;if(null===r)return r;let o=0;return t&&r{class e{constructor(t){this.factories=t}static create(t,r){if(null!=r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Fg()),deps:[[e,new Xo,new Qo]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(null!=r)return r;throw new F(901,!1)}}return e.\u0275prov=ce({token:e,providedIn:"root",factory:Fg}),e})();const FE=mg(null,"core",[]);let RE=(()=>{class e{constructor(t){}}return e.\u0275fac=function(t){return new(t||e)(te(Li))},e.\u0275mod=In({type:e}),e.\u0275inj=ln({}),e})(),Ui=null;function oo(){return Ui}const kt=new $("DocumentToken");class A1{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}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}}let $g=(()=>{class e{constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o,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 r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new A1(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),Kg(a,o)}});for(let o=0,i=r.length;o{Kg(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,r){return!0}}return e.\u0275fac=function(t){return new(t||e)(P(at),P(Ht),P(Hi))},e.\u0275dir=Re({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function Kg(e,n){e.context.$implicit=n.item}let Yg=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new S1,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Zg("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Zg("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,r){return!0}}return e.\u0275fac=function(t){return new(t||e)(P(at),P(Ht))},e.\u0275dir=Re({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class S1{constructor(){this.$implicit=null,this.ngIf=null}}function Zg(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${oe(n)}'.`)}let Xg=(()=>{class e{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 r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:o,ngTemplateOutletContext:i,ngTemplateOutletInjector:s}=this;this._viewRef=r.createEmbeddedView(o,i,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return e.\u0275fac=function(t){return new(t||e)(P(at))},e.\u0275dir=Re({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[_r]}),e})(),em=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=In({type:e}),e.\u0275inj=ln({}),e})();const tm="browser";class dc extends class bI extends class VE{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function LE(e){Ui||(Ui=e)}(new dc)}onAndCancel(n,t,r){return n.addEventListener(t,r,!1),()=>{n.removeEventListener(t,r,!1)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function EI(){return lo=lo||document.querySelector("base"),lo?lo.getAttribute("href"):null}();return null==t?null:function II(e){Ji=Ji||document.createElement("a"),Ji.setAttribute("href",e);const n=Ji.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){lo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function b1(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[o,i]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}(document.cookie,n)}}let Ji,lo=null;const sm=new $("TRANSITION_ID"),MI=[{provide:sg,useFactory:function AI(e,n,t){return()=>{t.get(Ri).donePromise.then(()=>{const r=oo(),o=n.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const es=new $("EventManagerPlugins");let ts=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>o.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}addGlobalEventListener(t,r,o){return this._findPluginFor(r).addGlobalEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){const r=this._eventNameToPlugin.get(t);if(r)return r;const o=this._plugins;for(let i=0;i{class e{constructor(){this._stylesSet=new Set}addStyles(t){const r=new Set;t.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),co=(()=>{class e extends lm{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,r,o){t.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(t){const r=[];this._addStylesToHost(this._stylesSet,t,r),this._hostNodes.set(t,r)}removeHost(t){const r=this._hostNodes.get(t);r&&r.forEach(cm),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(t,o,r)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(cm))}}return e.\u0275fac=function(t){return new(t||e)(te(kt))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();function cm(e){oo().remove(e)}const fc={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/"},pc=/%COMP%/g;function ns(e,n,t){for(let r=0;r{if("__ngUnwrap__"===n)return e;!1===e(n)&&(n.preventDefault(),n.returnValue=!1)}}let hc=(()=>{class e{constructor(t,r,o){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new gc(t)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;switch(r.encapsulation){case bt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new RI(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(t),o}case 1:case bt.ShadowDom:return new OI(this.eventManager,this.sharedStylesHost,t,r);default:if(!this.rendererByCompId.has(r.id)){const o=ns(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(te(ts),te(co),te(no))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();class gc{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?document.createElementNS(fc[t]||t,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,t){(hm(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(hm(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?document.querySelector(n):n;if(!r)throw new Error(`The selector "${n}" did not match any elements`);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;const i=fc[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const o=fc[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(We.DashCase|We.Important)?n.style.setProperty(t,r,o&We.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&We.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,t,fm(r)):this.eventManager.addEventListener(n,t,fm(r))}}function hm(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class RI extends gc{constructor(n,t,r,o){super(n),this.component=r;const i=ns(o+"-"+r.id,r.styles,[]);t.addStyles(i),this.contentAttr=function PI(e){return"_ngcontent-%COMP%".replace(pc,e)}(o+"-"+r.id),this.hostAttr=function NI(e){return"_nghost-%COMP%".replace(pc,e)}(o+"-"+r.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}class OI extends gc{constructor(n,t,r,o){super(n),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=ns(o.id,o.styles,[]);for(let s=0;s{class e extends am{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}}return e.\u0275fac=function(t){return new(t||e)(te(kt))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const gm=["alt","control","meta","shift"],VI={"\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"},BI={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let jI=(()=>{class e extends am{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>oo().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),gm.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let o=VI[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),gm.forEach(s=>{s!==o&&(0,BI[s])(t)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return e.\u0275fac=function(t){return new(t||e)(te(kt))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const zI=mg(FE,"browser",[{provide:Ll,useValue:tm},{provide:lg,useValue:function HI(){dc.makeCurrent()},multi:!0},{provide:kt,useFactory:function qI(){return function $v(e){Xs=e}(document),document},deps:[]}]),vm=new $(""),Cm=[{provide:Oi,useClass:class SI{addToWindow(n){ie.getAngularTestability=(r,o=!0)=>{const i=n.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},ie.getAllAngularTestabilities=()=>n.getAllTestabilities(),ie.getAllAngularRootElements=()=>n.getAllRootElements(),ie.frameworkStabilizers||(ie.frameworkStabilizers=[]),ie.frameworkStabilizers.push(r=>{const o=ie.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?oo().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:pg,useClass:Hl,deps:[Se,Ul,Oi]},{provide:Hl,useClass:Hl,deps:[Se,Ul,Oi]}],Dm=[{provide:aa,useValue:"root"},{provide:Gn,useFactory:function UI(){return new Gn},deps:[]},{provide:es,useClass:LI,multi:!0,deps:[kt,Se,Ll]},{provide:es,useClass:jI,multi:!0,deps:[kt]},{provide:hc,useClass:hc,deps:[ts,co,no]},{provide:yd,useExisting:hc},{provide:lm,useExisting:co},{provide:co,useClass:co,deps:[kt]},{provide:ts,useClass:ts,deps:[es,Se]},{provide:class iI{},useClass:TI,deps:[]},[]];let GI=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:no,useValue:t.appId},{provide:sm,useExisting:no},MI]}}}return e.\u0275fac=function(t){return new(t||e)(te(vm,12))},e.\u0275mod=In({type:e}),e.\u0275inj=ln({providers:[...Dm,...Cm],imports:[em,RE]}),e})();typeof window<"u"&&window;var Te=(()=>{return(e=Te||(Te={}))[e.HEX=0]="HEX",e[e.RGBA=1]="RGBA",e[e.HSLA=2]="HSLA",e[e.CMYK=3]="CMYK",Te;var e})();class Gt{constructor(n,t,r,o){this.r=n,this.g=t,this.b=r,this.a=o}}class rs{constructor(n,t,r,o){this.h=n,this.s=t,this.v=r,this.a=o}}class wn{constructor(n,t,r,o){this.h=n,this.s=t,this.l=r,this.a=o}}class bn{constructor(n,t,r,o,i=1){this.c=n,this.m=t,this.y=r,this.k=o,this.a=i}}let rA=(()=>{class e{constructor(){this.newValue=new ue}inputChange(t){const r=t.target.value;if(void 0===this.rg)this.newValue.emit(r);else{const o=parseFloat(r);this.newValue.emit({v:o,rg:this.rg})}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Re({type:e,selectors:[["","text",""]],hostBindings:function(t,r){1&t&&k("input",function(i){return r.inputChange(i)})},inputs:{rg:"rg",text:"text"},outputs:{newValue:"newValue"}}),e})(),oA=(()=>{class e{constructor(t){this.elRef=t,this.dragEnd=new ue,this.dragStart=new ue,this.newValue=new ue,this.listenerMove=r=>this.move(r),this.listenerStop=()=>this.stop()}mouseDown(t){this.start(t)}touchStart(t){this.start(t)}move(t){t.preventDefault(),this.setCursor(t)}start(t){this.setCursor(t),t.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(t){const r=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==t.pageX?t.pageX:t.touches[0].pageX)-r.left-window.pageXOffset}getY(t){const r=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==t.pageY?t.pageY:t.touches[0].pageY)-r.top-window.pageYOffset}setCursor(t){const r=this.elRef.nativeElement.offsetWidth,o=this.elRef.nativeElement.offsetHeight,i=Math.max(0,Math.min(this.getX(t),r)),s=Math.max(0,Math.min(this.getY(t),o));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:i/r,v:1-s/o,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:s/o,rgY:this.rgY}):void 0!==this.rgX&&void 0===this.rgY&&this.newValue.emit({v:i/r,rgX:this.rgX})}}return e.\u0275fac=function(t){return new(t||e)(P(Lt))},e.\u0275dir=Re({type:e,selectors:[["","slider",""]],hostBindings:function(t,r){1&t&&k("mousedown",function(i){return r.mouseDown(i)})("touchstart",function(i){return r.touchStart(i)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}}),e})();class bm{constructor(n,t,r,o){this.h=n,this.s=t,this.v=r,this.a=o}}class Em{constructor(n,t,r,o){this.h=n,this.s=t,this.v=r,this.a=o}}let os=(()=>{class e{constructor(){this.active=null}setActive(t){this.active&&this.active!==t&&"inline"!==this.active.cpDialogDisplay&&this.active.closeDialog(),this.active=t}hsva2hsla(t){const r=t.h,o=t.s,i=t.v,s=t.a;if(0===i)return new wn(r,0,0,s);if(0===o&&1===i)return new wn(r,1,1,s);{const a=i*(2-o)/2;return new wn(r,i*o/(1-Math.abs(2*a-1)),a,s)}}hsla2hsva(t){const r=Math.min(t.h,1),o=Math.min(t.s,1),i=Math.min(t.l,1),s=Math.min(t.a,1);if(0===i)return new rs(r,0,0,s);{const a=i+o*(1-Math.abs(2*i-1))/2;return new rs(r,2*(a-i)/a,a,s)}}hsvaToRgba(t){let r,o,i;const s=t.h,a=t.s,l=t.v,c=t.a,u=Math.floor(6*s),d=6*s-u,f=l*(1-a),g=l*(1-d*a),y=l*(1-(1-d)*a);switch(u%6){case 0:r=l,o=y,i=f;break;case 1:r=g,o=l,i=f;break;case 2:r=f,o=l,i=y;break;case 3:r=f,o=g,i=l;break;case 4:r=y,o=f,i=l;break;case 5:r=l,o=f,i=g;break;default:r=0,o=0,i=0}return new Gt(r,o,i,c)}cmykToRgb(t){return new Gt((1-t.c)*(1-t.k),(1-t.m)*(1-t.k),(1-t.y)*(1-t.k),t.a)}rgbaToCmyk(t){const r=1-Math.max(t.r,t.g,t.b);return 1===r?new bn(0,0,0,1,t.a):new bn((1-t.r-r)/(1-r),(1-t.g-r)/(1-r),(1-t.b-r)/(1-r),r,t.a)}rgbaToHsva(t){let r,o;const i=Math.min(t.r,1),s=Math.min(t.g,1),a=Math.min(t.b,1),l=Math.min(t.a,1),c=Math.max(i,s,a),u=Math.min(i,s,a),d=c,f=c-u;if(o=0===c?0:f/c,c===u)r=0;else{switch(c){case i:r=(s-a)/f+(s=t.cpMaxPresetColorsLength),w(1),$r(" ",t.cpAddColorButtonText," ")}}function fA(e,n){1&e&&M(0,"div",33)}function pA(e,n){if(1&e){const t=Me();h(0,"input",39),k("keyup.enter",function(o){return B(t),j(T(2).onAcceptColor(o))})("newValue",function(o){return B(t),j(T(2).onAlphaInput(o))}),p()}if(2&e){const t=T(2);E("rg",1)("value",null==t.cmykText?null:t.cmykText.a)}}function hA(e,n){1&e&&(h(0,"div"),m(1,"A"),p())}function gA(e,n){if(1&e){const t=Me();h(0,"div",34)(1,"div",35)(2,"input",36),k("keyup.enter",function(o){return B(t),j(T().onAcceptColor(o))})("newValue",function(o){return B(t),j(T().onCyanInput(o))}),p(),h(3,"input",36),k("keyup.enter",function(o){return B(t),j(T().onAcceptColor(o))})("newValue",function(o){return B(t),j(T().onMagentaInput(o))}),p(),h(4,"input",36),k("keyup.enter",function(o){return B(t),j(T().onAcceptColor(o))})("newValue",function(o){return B(t),j(T().onYellowInput(o))}),p(),h(5,"input",36),k("keyup.enter",function(o){return B(t),j(T().onAcceptColor(o))})("newValue",function(o){return B(t),j(T().onBlackInput(o))}),p(),Q(6,pA,1,2,"input",37),p(),h(7,"div",35)(8,"div"),m(9,"C"),p(),h(10,"div"),m(11,"M"),p(),h(12,"div"),m(13,"Y"),p(),h(14,"div"),m(15,"K"),p(),Q(16,hA,2,0,"div",38),p()()}if(2&e){const t=T();R("display",3!==t.format?"none":"block"),w(2),E("rg",100)("value",null==t.cmykText?null:t.cmykText.c),w(1),E("rg",100)("value",null==t.cmykText?null:t.cmykText.m),w(1),E("rg",100)("value",null==t.cmykText?null:t.cmykText.y),w(1),E("rg",100)("value",null==t.cmykText?null:t.cmykText.k),w(1),E("ngIf","disabled"!==t.cpAlphaChannel),w(10),E("ngIf","disabled"!==t.cpAlphaChannel)}}function mA(e,n){if(1&e){const t=Me();h(0,"input",39),k("keyup.enter",function(o){return B(t),j(T(2).onAcceptColor(o))})("newValue",function(o){return B(t),j(T(2).onAlphaInput(o))}),p()}if(2&e){const t=T(2);E("rg",1)("value",null==t.hslaText?null:t.hslaText.a)}}function yA(e,n){1&e&&(h(0,"div"),m(1,"A"),p())}function vA(e,n){if(1&e){const t=Me();h(0,"div",40)(1,"div",35)(2,"input",41),k("keyup.enter",function(o){return B(t),j(T().onAcceptColor(o))})("newValue",function(o){return B(t),j(T().onHueInput(o))}),p(),h(3,"input",36),k("keyup.enter",function(o){return B(t),j(T().onAcceptColor(o))})("newValue",function(o){return B(t),j(T().onSaturationInput(o))}),p(),h(4,"input",36),k("keyup.enter",function(o){return B(t),j(T().onAcceptColor(o))})("newValue",function(o){return B(t),j(T().onLightnessInput(o))}),p(),Q(5,mA,1,2,"input",37),p(),h(6,"div",35)(7,"div"),m(8,"H"),p(),h(9,"div"),m(10,"S"),p(),h(11,"div"),m(12,"L"),p(),Q(13,yA,2,0,"div",38),p()()}if(2&e){const t=T();R("display",2!==t.format?"none":"block"),w(2),E("rg",360)("value",null==t.hslaText?null:t.hslaText.h),w(1),E("rg",100)("value",null==t.hslaText?null:t.hslaText.s),w(1),E("rg",100)("value",null==t.hslaText?null:t.hslaText.l),w(1),E("ngIf","disabled"!==t.cpAlphaChannel),w(8),E("ngIf","disabled"!==t.cpAlphaChannel)}}function CA(e,n){if(1&e){const t=Me();h(0,"input",39),k("keyup.enter",function(o){return B(t),j(T(2).onAcceptColor(o))})("newValue",function(o){return B(t),j(T(2).onAlphaInput(o))}),p()}if(2&e){const t=T(2);E("rg",1)("value",null==t.rgbaText?null:t.rgbaText.a)}}function DA(e,n){1&e&&(h(0,"div"),m(1,"A"),p())}function _A(e,n){if(1&e){const t=Me();h(0,"div",42)(1,"div",35)(2,"input",43),k("keyup.enter",function(o){return B(t),j(T().onAcceptColor(o))})("newValue",function(o){return B(t),j(T().onRedInput(o))}),p(),h(3,"input",43),k("keyup.enter",function(o){return B(t),j(T().onAcceptColor(o))})("newValue",function(o){return B(t),j(T().onGreenInput(o))}),p(),h(4,"input",43),k("keyup.enter",function(o){return B(t),j(T().onAcceptColor(o))})("newValue",function(o){return B(t),j(T().onBlueInput(o))}),p(),Q(5,CA,1,2,"input",37),p(),h(6,"div",35)(7,"div"),m(8,"R"),p(),h(9,"div"),m(10,"G"),p(),h(11,"div"),m(12,"B"),p(),Q(13,DA,2,0,"div",38),p()()}if(2&e){const t=T();R("display",1!==t.format?"none":"block"),w(2),E("rg",255)("value",null==t.rgbaText?null:t.rgbaText.r),w(1),E("rg",255)("value",null==t.rgbaText?null:t.rgbaText.g),w(1),E("rg",255)("value",null==t.rgbaText?null:t.rgbaText.b),w(1),E("ngIf","disabled"!==t.cpAlphaChannel),w(8),E("ngIf","disabled"!==t.cpAlphaChannel)}}function wA(e,n){if(1&e){const t=Me();h(0,"input",39),k("keyup.enter",function(o){return B(t),j(T(2).onAcceptColor(o))})("newValue",function(o){return B(t),j(T(2).onAlphaInput(o))}),p()}if(2&e){const t=T(2);E("rg",1)("value",t.hexAlpha)}}function bA(e,n){1&e&&(h(0,"div"),m(1,"A"),p())}function EA(e,n){if(1&e){const t=Me();h(0,"div",44)(1,"div",35)(2,"input",45),k("blur",function(){return B(t),j(T().onHexInput(null))})("keyup.enter",function(o){return B(t),j(T().onAcceptColor(o))})("newValue",function(o){return B(t),j(T().onHexInput(o))}),p(),Q(3,wA,1,2,"input",37),p(),h(4,"div",35)(5,"div"),m(6,"Hex"),p(),Q(7,bA,2,0,"div",38),p()()}if(2&e){const t=T();R("display",0!==t.format?"none":"block"),wi("hex-alpha","forced"===t.cpAlphaChannel),w(2),E("value",t.hexText),w(1),E("ngIf","forced"===t.cpAlphaChannel),w(4),E("ngIf","forced"===t.cpAlphaChannel)}}function IA(e,n){if(1&e){const t=Me();h(0,"input",39),k("keyup.enter",function(o){return B(t),j(T(2).onAcceptColor(o))})("newValue",function(o){return B(t),j(T(2).onAlphaInput(o))}),p()}if(2&e){const t=T(2);E("rg",1)("value",null==t.hslaText?null:t.hslaText.a)}}function AA(e,n){if(1&e){const t=Me();h(0,"div",46)(1,"div",35)(2,"input",36),k("keyup.enter",function(o){return B(t),j(T().onAcceptColor(o))})("newValue",function(o){return B(t),j(T().onValueInput(o))}),p(),Q(3,IA,1,2,"input",37),p(),h(4,"div",35)(5,"div"),m(6,"V"),p(),h(7,"div"),m(8,"A"),p()()()}if(2&e){const t=T();w(2),E("rg",100)("value",null==t.hslaText?null:t.hslaText.l),w(1),E("ngIf","disabled"!==t.cpAlphaChannel)}}function MA(e,n){if(1&e){const t=Me();h(0,"div",47)(1,"span",48),k("click",function(){return B(t),j(T().onFormatToggle(-1))}),p(),h(2,"span",48),k("click",function(){return B(t),j(T().onFormatToggle(1))}),p()()}}function SA(e,n){if(1&e){const t=Me();h(0,"span",55),k("click",function(o){B(t);const i=T().$implicit;return j(T(3).onRemovePresetColor(o,i))}),p()}2&e&&vn(T(4).cpRemoveColorButtonClass)}function TA(e,n){if(1&e){const t=Me();h(0,"div",53),k("click",function(){const i=B(t).$implicit;return j(T(3).setColorFromString(i))}),Q(1,SA,1,3,"span",54),p()}if(2&e){const t=n.$implicit,r=T(3);R("background-color",t),w(1),E("ngIf",r.cpAddColorButton)}}function kA(e,n){if(1&e&&(h(0,"div"),Q(1,TA,2,3,"div",52),p()),2&e){const t=T(2);vn(t.cpPresetColorsClass),w(1),E("ngForOf",t.cpPresetColors)}}function xA(e,n){if(1&e&&(h(0,"div"),m(1),p()),2&e){const t=T(2);vn(t.cpPresetEmptyMessageClass),w(1),Cn(t.cpPresetEmptyMessage)}}function PA(e,n){if(1&e&&(h(0,"div",49),M(1,"hr"),h(2,"div",50),m(3),p(),Q(4,kA,2,4,"div",51),Q(5,xA,2,4,"div",51),p()),2&e){const t=T();w(3),Cn(t.cpPresetLabel),w(1),E("ngIf",null==t.cpPresetColors?null:t.cpPresetColors.length),w(1),E("ngIf",!(null!=t.cpPresetColors&&t.cpPresetColors.length)&&t.cpAddColorButton)}}function NA(e,n){if(1&e){const t=Me();h(0,"button",58),k("click",function(o){return B(t),j(T(2).onCancelColor(o))}),m(1),p()}if(2&e){const t=T(2);vn(t.cpCancelButtonClass),w(1),Cn(t.cpCancelButtonText)}}function FA(e,n){if(1&e){const t=Me();h(0,"button",58),k("click",function(o){return B(t),j(T(2).onAcceptColor(o))}),m(1),p()}if(2&e){const t=T(2);vn(t.cpOKButtonClass),w(1),Cn(t.cpOKButtonText)}}function RA(e,n){if(1&e&&(h(0,"div",56),Q(1,NA,2,4,"button",57),Q(2,FA,2,4,"button",57),p()),2&e){const t=T();w(1),E("ngIf",t.cpCancelButton),w(1),E("ngIf",t.cpOKButton)}}function OA(e,n){1&e&&dl(0)}function LA(e,n){if(1&e&&(h(0,"div",59),Q(1,OA,1,0,"ng-container",60),p()),2&e){const t=T();w(1),E("ngTemplateOutlet",t.cpExtraTemplate)}}const Im=typeof window<"u"&&"ontouchstart"in window;let VA=(()=>{class e{constructor(t,r,o,i,s,a){this.ngZone=t,this.elRef=r,this.cdRef=o,this.document=i,this.platformId=s,this.service=a,this.isIE10=!1,this.dialogArrowSize=10,this.dialogArrowOffset=15,this.dialogInputFields=[Te.HEX,Te.RGBA,Te.HSLA,Te.CMYK],this.useRootViewContainer=!1,this.eyeDropperSupported=function rI(e){return e===tm}(this.platformId)&&"EyeDropper"in this.document.defaultView}handleEsc(t){this.show&&"popup"===this.cpDialogDisplay&&this.onCancelColor(t)}handleEnter(t){this.show&&"popup"===this.cpDialogDisplay&&this.onAcceptColor(t)}ngOnInit(){this.slider=new bm(0,0,0,0),this.sliderDimMax=new Em(this.hueSlider.nativeElement.offsetWidth||140,this.cpWidth,130,this.alphaSlider.nativeElement.offsetWidth||140),this.format=this.cpCmykEnabled?Te.CMYK:"rgba"===this.cpOutputFormat?Te.RGBA:"hsla"===this.cpOutputFormat?Te.HSLA:Te.HEX,this.listenerMouseDown=o=>{this.onMouseDown(o)},this.listenerResize=()=>{this.onResize()},this.openDialog(this.initialColor,!1)}ngOnDestroy(){this.closeDialog()}ngAfterViewInit(){230===this.cpWidth&&"inline"!==this.cpDialogDisplay||(this.sliderDimMax=new Em(this.hueSlider.nativeElement.offsetWidth||140,this.cpWidth,130,this.alphaSlider.nativeElement.offsetWidth||140),this.updateColorPicker(!1),this.cdRef.detectChanges())}openDialog(t,r=!0){this.service.setActive(this),this.width||(this.cpWidth=this.directiveElementRef.nativeElement.offsetWidth),this.height||(this.height=320),this.setInitialColor(t),this.setColorFromString(t,r),this.openColorPicker()}closeDialog(){this.closeColorPicker()}setupDialog(t,r,o,i,s,a,l,c,u,d,f,g,y,v,_,b,S,C,x,Y,le,Wt,uo,fo,po,ho,go,mo,yo,vo,Co,KA,YA,ZA,QA,XA,JA,eM){this.setInitialColor(o),this.setColorMode(c),this.isIE10=10===function nA(){let e="";typeof navigator<"u"&&(e=navigator.userAgent.toLowerCase());const n=e.indexOf("msie ");return n>0&&parseInt(e.substring(n+5,e.indexOf(".",n)),10)}(),this.directiveInstance=t,this.directiveElementRef=r,this.cpDisableInput=g,this.cpCmykEnabled=u,this.cpAlphaChannel=d,this.cpOutputFormat=f,this.cpDialogDisplay=a,this.cpIgnoredElements=y,this.cpSaveClickOutside=v,this.cpCloseClickOutside=_,this.useRootViewContainer=b,this.width=this.cpWidth=parseInt(i,10),this.height=this.cpHeight=parseInt(s,10),this.cpPosition=S,this.cpPositionOffset=parseInt(C,10),this.cpOKButton=ho,this.cpOKButtonText=mo,this.cpOKButtonClass=go,this.cpCancelButton=yo,this.cpCancelButtonText=Co,this.cpCancelButtonClass=vo,this.cpEyeDropper=XA,this.fallbackColor=l||"#fff",this.setPresetConfig(Y,le),this.cpPresetColorsClass=Wt,this.cpMaxPresetColorsLength=uo,this.cpPresetEmptyMessage=fo,this.cpPresetEmptyMessageClass=po,this.cpAddColorButton=KA,this.cpAddColorButtonText=ZA,this.cpAddColorButtonClass=YA,this.cpRemoveColorButtonClass=QA,this.cpTriggerElement=JA,this.cpExtraTemplate=eM,x||(this.dialogArrowOffset=0),"inline"===a&&(this.dialogArrowSize=0,this.dialogArrowOffset=0),"hex"===f&&"always"!==d&&"forced"!==d&&(this.cpAlphaChannel="disabled")}setColorMode(t){switch(t.toString().toUpperCase()){case"1":case"C":case"COLOR":default:this.cpColorMode=1;break;case"2":case"G":case"GRAYSCALE":this.cpColorMode=2;break;case"3":case"P":case"PRESETS":this.cpColorMode=3}}setInitialColor(t){this.initialColor=t}setPresetConfig(t,r){this.cpPresetLabel=t,this.cpPresetColors=r}setColorFromString(t,r=!0,o=!0){let i;"always"===this.cpAlphaChannel||"forced"===this.cpAlphaChannel?(i=this.service.stringToHsva(t,!0),!i&&!this.hsva&&(i=this.service.stringToHsva(t,!1))):i=this.service.stringToHsva(t,!1),!i&&!this.hsva&&(i=this.service.stringToHsva(this.fallbackColor,!1)),i&&(this.hsva=i,this.sliderH=this.hsva.h,"hex"===this.cpOutputFormat&&"disabled"===this.cpAlphaChannel&&(this.hsva.a=1),this.updateColorPicker(r,o))}onResize(){"fixed"===this.position?this.setDialogPosition():"inline"!==this.cpDialogDisplay&&this.closeColorPicker()}onDragEnd(t){this.directiveInstance.sliderDragEnd({slider:t,color:this.outputColor})}onDragStart(t){this.directiveInstance.sliderDragStart({slider:t,color:this.outputColor})}onMouseDown(t){this.show&&!this.isIE10&&"popup"===this.cpDialogDisplay&&t.target!==this.directiveElementRef.nativeElement&&!this.isDescendant(this.elRef.nativeElement,t.target)&&!this.isDescendant(this.directiveElementRef.nativeElement,t.target)&&0===this.cpIgnoredElements.filter(r=>r===t.target).length&&this.ngZone.run(()=>{this.cpSaveClickOutside?this.directiveInstance.colorSelected(this.outputColor):(this.hsva=null,this.setColorFromString(this.initialColor,!1),this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.initialColor),this.directiveInstance.colorCanceled()),this.cpCloseClickOutside&&this.closeColorPicker()})}onAcceptColor(t){t.stopPropagation(),this.outputColor&&this.directiveInstance.colorSelected(this.outputColor),"popup"===this.cpDialogDisplay&&this.closeColorPicker()}onCancelColor(t){this.hsva=null,t.stopPropagation(),this.directiveInstance.colorCanceled(),this.setColorFromString(this.initialColor,!0),"popup"===this.cpDialogDisplay&&(this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.initialColor,!0),this.closeColorPicker())}onEyeDropper(){this.eyeDropperSupported&&(new window.EyeDropper).open().then(r=>{this.setColorFromString(r.sRGBHex,!0)})}onFormatToggle(t){const r=this.dialogInputFields.length-(this.cpCmykEnabled?0:1),o=((this.dialogInputFields.indexOf(this.format)+t)%r+r)%r;this.format=this.dialogInputFields[o]}onColorChange(t){this.hsva.s=t.s/t.rgX,this.hsva.v=t.v/t.rgY,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"lightness",value:this.hsva.v,color:this.outputColor}),this.directiveInstance.sliderChanged({slider:"saturation",value:this.hsva.s,color:this.outputColor})}onHueChange(t){this.hsva.h=t.v/t.rgX,this.sliderH=this.hsva.h,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"hue",value:this.hsva.h,color:this.outputColor})}onValueChange(t){this.hsva.v=t.v/t.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"value",value:this.hsva.v,color:this.outputColor})}onAlphaChange(t){this.hsva.a=t.v/t.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"alpha",value:this.hsva.a,color:this.outputColor})}onHexInput(t){if(null===t)this.updateColorPicker();else{t&&"#"!==t[0]&&(t="#"+t);let r=/^#([a-f0-9]{3}|[a-f0-9]{6})$/gi;"always"===this.cpAlphaChannel&&(r=/^#([a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})$/gi);const o=r.test(t);o&&(t.length<5&&(t="#"+t.substring(1).split("").map(i=>i+i).join("")),"forced"===this.cpAlphaChannel&&(t+=Math.round(255*this.hsva.a).toString(16)),this.setColorFromString(t,!0,!1)),this.directiveInstance.inputChanged({input:"hex",valid:o,value:t,color:this.outputColor})}}onRedInput(t){const r=this.service.hsvaToRgba(this.hsva),o=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;o&&(r.r=t.v/t.rg,this.hsva=this.service.rgbaToHsva(r),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"red",valid:o,value:r.r,color:this.outputColor})}onBlueInput(t){const r=this.service.hsvaToRgba(this.hsva),o=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;o&&(r.b=t.v/t.rg,this.hsva=this.service.rgbaToHsva(r),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"blue",valid:o,value:r.b,color:this.outputColor})}onGreenInput(t){const r=this.service.hsvaToRgba(this.hsva),o=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;o&&(r.g=t.v/t.rg,this.hsva=this.service.rgbaToHsva(r),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"green",valid:o,value:r.g,color:this.outputColor})}onHueInput(t){const r=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;r&&(this.hsva.h=t.v/t.rg,this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"hue",valid:r,value:this.hsva.h,color:this.outputColor})}onValueInput(t){const r=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;r&&(this.hsva.v=t.v/t.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"value",valid:r,value:this.hsva.v,color:this.outputColor})}onAlphaInput(t){const r=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;r&&(this.hsva.a=t.v/t.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"alpha",valid:r,value:this.hsva.a,color:this.outputColor})}onLightnessInput(t){const r=this.service.hsva2hsla(this.hsva),o=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;o&&(r.l=t.v/t.rg,this.hsva=this.service.hsla2hsva(r),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"lightness",valid:o,value:r.l,color:this.outputColor})}onSaturationInput(t){const r=this.service.hsva2hsla(this.hsva),o=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;o&&(r.s=t.v/t.rg,this.hsva=this.service.hsla2hsva(r),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"saturation",valid:o,value:r.s,color:this.outputColor})}onCyanInput(t){!isNaN(t.v)&&t.v>=0&&t.v<=t.rg&&(this.cmyk.c=t.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"cyan",valid:!0,value:this.cmyk.c,color:this.outputColor})}onMagentaInput(t){!isNaN(t.v)&&t.v>=0&&t.v<=t.rg&&(this.cmyk.m=t.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"magenta",valid:!0,value:this.cmyk.m,color:this.outputColor})}onYellowInput(t){!isNaN(t.v)&&t.v>=0&&t.v<=t.rg&&(this.cmyk.y=t.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"yellow",valid:!0,value:this.cmyk.y,color:this.outputColor})}onBlackInput(t){!isNaN(t.v)&&t.v>=0&&t.v<=t.rg&&(this.cmyk.k=t.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"black",valid:!0,value:this.cmyk.k,color:this.outputColor})}onAddPresetColor(t,r){t.stopPropagation(),this.cpPresetColors.filter(o=>o===r).length||(this.cpPresetColors=this.cpPresetColors.concat(r),this.directiveInstance.presetColorsChanged(this.cpPresetColors))}onRemovePresetColor(t,r){t.stopPropagation(),this.cpPresetColors=this.cpPresetColors.filter(o=>o!==r),this.directiveInstance.presetColorsChanged(this.cpPresetColors)}openColorPicker(){this.show||(this.show=!0,this.hidden=!0,setTimeout(()=>{this.hidden=!1,this.setDialogPosition(),this.cdRef.detectChanges()},0),this.directiveInstance.stateChanged(!0),this.isIE10||this.ngZone.runOutsideAngular(()=>{Im?document.addEventListener("touchstart",this.listenerMouseDown):document.addEventListener("mousedown",this.listenerMouseDown)}),window.addEventListener("resize",this.listenerResize))}closeColorPicker(){this.show&&(this.show=!1,this.directiveInstance.stateChanged(!1),this.isIE10||(Im?document.removeEventListener("touchstart",this.listenerMouseDown):document.removeEventListener("mousedown",this.listenerMouseDown)),window.removeEventListener("resize",this.listenerResize),this.cdRef.destroyed||this.cdRef.detectChanges())}updateColorPicker(t=!0,r=!0,o=!1){if(this.sliderDimMax){let i,s,a;2===this.cpColorMode&&(this.hsva.s=0);const l=this.outputColor;if(s=this.service.hsva2hsla(this.hsva),this.cpCmykEnabled?(o?(a=this.service.cmykToRgb(this.service.normalizeCMYK(this.cmyk)),this.hsva=this.service.rgbaToHsva(a)):(a=this.service.hsvaToRgba(this.hsva),this.cmyk=this.service.denormalizeCMYK(this.service.rgbaToCmyk(a))),a=this.service.denormalizeRGBA(a),this.sliderH=this.hsva.h):a=this.service.denormalizeRGBA(this.service.hsvaToRgba(this.hsva)),i=this.service.denormalizeRGBA(this.service.hsvaToRgba(new rs(this.sliderH||this.hsva.h,1,1,1))),r&&(this.hslaText=new wn(Math.round(360*s.h),Math.round(100*s.s),Math.round(100*s.l),Math.round(100*s.a)/100),this.rgbaText=new Gt(a.r,a.g,a.b,Math.round(100*a.a)/100),this.cpCmykEnabled&&(this.cmykText=new bn(this.cmyk.c,this.cmyk.m,this.cmyk.y,this.cmyk.k,Math.round(100*this.cmyk.a)/100)),this.hexText=this.service.rgbaToHex(a,"always"===this.cpAlphaChannel),this.hexAlpha=this.rgbaText.a),"auto"===this.cpOutputFormat&&this.format!==Te.RGBA&&this.format!==Te.CMYK&&this.format!==Te.HSLA&&this.hsva.a<1&&(this.format=this.hsva.a<1?Te.RGBA:Te.HEX),this.hueSliderColor="rgb("+i.r+","+i.g+","+i.b+")",this.alphaSliderColor="rgb("+a.r+","+a.g+","+a.b+")",this.outputColor=this.service.outputFormat(this.hsva,this.cpOutputFormat,this.cpAlphaChannel),this.selectedColor=this.service.outputFormat(this.hsva,"rgba",null),this.format!==Te.CMYK)this.cmykColor="";else if("always"===this.cpAlphaChannel||"enabled"===this.cpAlphaChannel||"forced"===this.cpAlphaChannel){const c=Math.round(100*this.cmyk.a)/100;this.cmykColor=`cmyka(${this.cmyk.c},${this.cmyk.m},${this.cmyk.y},${this.cmyk.k},${c})`}else this.cmykColor=`cmyk(${this.cmyk.c},${this.cmyk.m},${this.cmyk.y},${this.cmyk.k})`;this.slider=new bm((this.sliderH||this.hsva.h)*this.sliderDimMax.h-8,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-8),t&&l!==this.outputColor&&(this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.outputColor))}}setDialogPosition(){if("inline"===this.cpDialogDisplay)this.position="relative";else{let o,t="static",r="",i=null,s=null,a=this.directiveElementRef.nativeElement.parentNode;const l=this.dialogElement.nativeElement.offsetHeight;for(;null!==a&&"HTML"!==a.tagName;){if(o=window.getComputedStyle(a),t=o.getPropertyValue("position"),r=o.getPropertyValue("transform"),"static"!==t&&null===i&&(i=a),r&&"none"!==r&&null===s&&(s=a),"fixed"===t){i=s;break}a=a.parentNode}const c=this.createDialogBox(this.directiveElementRef.nativeElement,"fixed"!==t);if(this.useRootViewContainer||"fixed"===t&&(!i||i instanceof HTMLUnknownElement))this.top=c.top,this.left=c.left;else{null===i&&(i=a);const d=this.createDialogBox(i,"fixed"!==t);this.top=c.top-d.top,this.left=c.left-d.left}"fixed"===t&&(this.position="fixed");let u=this.cpPosition;"auto"===this.cpPosition&&(u=function tA(e,n){let t="right",r="bottom";const{height:o,width:i}=e,{top:s,left:a}=n,l=s+n.height,c=a+n.width,u=s-o<0,d=l+o>(window.innerHeight||document.documentElement.clientHeight),f=a-i<0,g=c+i>(window.innerWidth||document.documentElement.clientWidth);return d&&(r="top"),u&&(r="bottom"),f&&(t="right"),g&&(t="left"),u&&d&&f&&g?["left","right","top","bottom"].reduce((_,b)=>e[_]>e[b]?_:b):f&&g?u?"bottom":d||s>l?"top":"bottom":u&&d?f?"right":g||a>c?"left":"right":`${r}-${t}`}(this.dialogElement.nativeElement.getBoundingClientRect(),this.cpTriggerElement.nativeElement.getBoundingClientRect())),"top"===u?(this.arrowTop=l-1,this.top-=l+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*c.width-this.dialogArrowOffset):"bottom"===u?(this.top+=c.height+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*c.width-this.dialogArrowOffset):"top-left"===u||"left-top"===u?(this.top-=l-c.height+c.height*this.cpPositionOffset/100,this.left-=this.cpWidth+this.dialogArrowSize-2-this.dialogArrowOffset):"top-right"===u||"right-top"===u?(this.top-=l-c.height+c.height*this.cpPositionOffset/100,this.left+=c.width+this.dialogArrowSize-2-this.dialogArrowOffset):"left"===u||"bottom-left"===u||"left-bottom"===u?(this.top+=c.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left-=this.cpWidth+this.dialogArrowSize-2):(this.top+=c.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left+=c.width+this.dialogArrowSize-2),this.cpUsePosition=u}}isDescendant(t,r){let o=r.parentNode;for(;null!==o;){if(o===t)return!0;o=o.parentNode}return!1}createDialogBox(t,r){const{top:o,left:i}=t.getBoundingClientRect();return{top:o+(r?window.pageYOffset:0),left:i+(r?window.pageXOffset:0),width:t.offsetWidth,height:t.offsetHeight}}}return e.\u0275fac=function(t){return new(t||e)(P(Se),P(Lt),P(Mg),P(kt),P(Ll),P(os))},e.\u0275cmp=xo({type:e,selectors:[["color-picker"]],viewQuery:function(t,r){if(1&t&&(xi(iA,7),xi(sA,7),xi(aA,7)),2&t){let o;ki(o=Pi())&&(r.dialogElement=o.first),ki(o=Pi())&&(r.hueSlider=o.first),ki(o=Pi())&&(r.alphaSlider=o.first)}},hostBindings:function(t,r){1&t&&k("keyup.esc",function(i){return r.handleEsc(i)},0,_a)("keyup.enter",function(i){return r.handleEnter(i)},!1,_a)},decls:30,vars:51,consts:[[1,"color-picker",3,"click"],["dialogPopup",""],[3,"class","top",4,"ngIf"],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue","dragStart","dragEnd",4,"ngIf"],[1,"hue-alpha","box"],[1,"left"],[1,"selected-color-background"],[1,"selected-color",3,"click"],["class","eyedropper-icon","xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#000000",4,"ngIf"],["type","button",3,"class","disabled","click",4,"ngIf"],[1,"right"],["style","height: 16px;",4,"ngIf"],[1,"hue",3,"slider","rgX","newValue","dragStart","dragEnd"],["hueSlider",""],[1,"cursor"],[1,"value",3,"slider","rgX","newValue","dragStart","dragEnd"],["valueSlider",""],[1,"alpha",3,"slider","rgX","newValue","dragStart","dragEnd"],["alphaSlider",""],["class","cmyk-text",3,"display",4,"ngIf"],["class","hsla-text",3,"display",4,"ngIf"],["class","rgba-text",3,"display",4,"ngIf"],["class","hex-text",3,"hex-alpha","display",4,"ngIf"],["class","value-text",4,"ngIf"],["class","type-policy",4,"ngIf"],["class","preset-area",4,"ngIf"],["class","button-area",4,"ngIf"],["class","extra-template",4,"ngIf"],[1,"saturation-lightness",3,"slider","rgX","rgY","newValue","dragStart","dragEnd"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#000000",1,"eyedropper-icon"],["d","M0 0h24v24H0V0z","fill","none"],["d","M17.66 5.41l.92.92-2.69 2.69-.92-.92 2.69-2.69M17.67 3c-.26 0-.51.1-.71.29l-3.12 3.12-1.93-1.91-1.41 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3.12c.4-.4.4-1.03.01-1.42l-2.34-2.34c-.2-.19-.45-.29-.7-.29zM6.92 19L5 17.08l8.06-8.06 1.92 1.92L6.92 19z"],["type","button",3,"disabled","click"],[2,"height","16px"],[1,"cmyk-text"],[1,"box"],["type","number","pattern","[0-9]*","min","0","max","100",3,"text","rg","value","keyup.enter","newValue"],["type","number","pattern","[0-9]+([\\.,][0-9]{1,2})?","min","0","max","1","step","0.1",3,"text","rg","value","keyup.enter","newValue",4,"ngIf"],[4,"ngIf"],["type","number","pattern","[0-9]+([\\.,][0-9]{1,2})?","min","0","max","1","step","0.1",3,"text","rg","value","keyup.enter","newValue"],[1,"hsla-text"],["type","number","pattern","[0-9]*","min","0","max","360",3,"text","rg","value","keyup.enter","newValue"],[1,"rgba-text"],["type","number","pattern","[0-9]*","min","0","max","255",3,"text","rg","value","keyup.enter","newValue"],[1,"hex-text"],[3,"text","value","blur","keyup.enter","newValue"],[1,"value-text"],[1,"type-policy"],[1,"type-policy-arrow",3,"click"],[1,"preset-area"],[1,"preset-label"],[3,"class",4,"ngIf"],["class","preset-color",3,"backgroundColor","click",4,"ngFor","ngForOf"],[1,"preset-color",3,"click"],[3,"class","click",4,"ngIf"],[3,"click"],[1,"button-area"],["type","button",3,"class","click",4,"ngIf"],["type","button",3,"click"],[1,"extra-template"],[4,"ngTemplateOutlet"]],template:function(t,r){1&t&&(h(0,"div",0,1),k("click",function(i){return i.stopPropagation()}),Q(2,lA,1,5,"div",2),Q(3,cA,2,8,"div",3),h(4,"div",4)(5,"div",5),M(6,"div",6),h(7,"div",7),k("click",function(){return r.eyeDropperSupported&&r.cpEyeDropper&&r.onEyeDropper()}),Q(8,uA,3,0,"svg",8),p(),Q(9,dA,2,5,"button",9),p(),h(10,"div",10),Q(11,fA,1,0,"div",11),h(12,"div",12,13),k("newValue",function(i){return r.onHueChange(i)})("dragStart",function(){return r.onDragStart("hue")})("dragEnd",function(){return r.onDragEnd("hue")}),M(14,"div",14),p(),h(15,"div",15,16),k("newValue",function(i){return r.onValueChange(i)})("dragStart",function(){return r.onDragStart("value")})("dragEnd",function(){return r.onDragEnd("value")}),M(17,"div",14),p(),h(18,"div",17,18),k("newValue",function(i){return r.onAlphaChange(i)})("dragStart",function(){return r.onDragStart("alpha")})("dragEnd",function(){return r.onDragEnd("alpha")}),M(20,"div",14),p()()(),Q(21,gA,17,12,"div",19),Q(22,vA,14,10,"div",20),Q(23,_A,14,10,"div",21),Q(24,EA,8,7,"div",22),Q(25,AA,9,3,"div",23),Q(26,MA,3,0,"div",24),Q(27,PA,6,3,"div",25),Q(28,RA,3,2,"div",26),Q(29,LA,2,1,"div",27),p()),2&t&&(R("display",r.show?"block":"none")("visibility",r.hidden?"hidden":"visible")("top",r.top,"px")("left",r.left,"px")("position",r.position)("height",r.cpHeight,"px")("width",r.cpWidth,"px"),wi("open",r.show),w(2),E("ngIf","popup"===r.cpDialogDisplay),w(1),E("ngIf",1===(r.cpColorMode||1)),w(4),R("background-color",r.selectedColor)("cursor",r.eyeDropperSupported&&r.cpEyeDropper?"pointer":null),w(1),E("ngIf",r.eyeDropperSupported&&r.cpEyeDropper),w(1),E("ngIf",r.cpAddColorButton),w(2),E("ngIf","disabled"===r.cpAlphaChannel),w(1),R("display",1===(r.cpColorMode||1)?"block":"none"),E("rgX",1),w(2),R("left",null==r.slider?null:r.slider.h,"px"),w(1),R("display",2===(r.cpColorMode||1)?"block":"none"),E("rgX",1),w(2),R("right",null==r.slider?null:r.slider.v,"px"),w(1),R("display","disabled"===r.cpAlphaChannel?"none":"block")("background-color",r.alphaSliderColor),E("rgX",1),w(2),R("left",null==r.slider?null:r.slider.a,"px"),w(1),E("ngIf",!r.cpDisableInput&&1===(r.cpColorMode||1)),w(1),E("ngIf",!r.cpDisableInput&&1===(r.cpColorMode||1)),w(1),E("ngIf",!r.cpDisableInput&&1===(r.cpColorMode||1)),w(1),E("ngIf",!r.cpDisableInput&&1===(r.cpColorMode||1)),w(1),E("ngIf",!r.cpDisableInput&&2===(r.cpColorMode||1)),w(1),E("ngIf",!r.cpDisableInput&&1===(r.cpColorMode||1)),w(1),E("ngIf",(null==r.cpPresetColors?null:r.cpPresetColors.length)||r.cpAddColorButton),w(1),E("ngIf",r.cpOKButton||r.cpCancelButton),w(1),E("ngIf",r.cpExtraTemplate))},dependencies:[$g,Yg,Xg,rA,oA],styles:['.color-picker{position:absolute;z-index:1000;width:230px;height:auto;border:#777 solid 1px;cursor:default;-webkit-user-select:none;user-select:none;background-color:#fff}.color-picker *{box-sizing:border-box;margin:0;font-size:11px}.color-picker input{width:0;height:26px;min-width:0;font-size:13px;text-align:center;color:#000}.color-picker input:invalid,.color-picker input:-moz-ui-invalid,.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.color-picker .arrow{position:absolute;z-index:999999;width:0;height:0;border-style:solid}.color-picker .arrow.arrow-top{left:8px;border-width:10px 5px;border-color:#777 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0)}.color-picker .arrow.arrow-bottom{top:-20px;left:8px;border-width:10px 5px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) #777 rgba(0,0,0,0)}.color-picker .arrow.arrow-top-left,.color-picker .arrow.arrow-left-top{right:-21px;bottom:8px;border-width:5px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #777}.color-picker .arrow.arrow-top-right,.color-picker .arrow.arrow-right-top{bottom:8px;left:-20px;border-width:5px 10px;border-color:rgba(0,0,0,0) #777 rgba(0,0,0,0) rgba(0,0,0,0)}.color-picker .arrow.arrow-left,.color-picker .arrow.arrow-left-bottom,.color-picker .arrow.arrow-bottom-left{top:8px;right:-21px;border-width:5px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #777}.color-picker .arrow.arrow-right,.color-picker .arrow.arrow-right-bottom,.color-picker .arrow.arrow-bottom-right{top:8px;left:-20px;border-width:5px 10px;border-color:rgba(0,0,0,0) #777 rgba(0,0,0,0) rgba(0,0,0,0)}.color-picker .cursor{position:relative;width:16px;height:16px;border:#222 solid 2px;border-radius:50%;cursor:default}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{position:relative;padding:16px 8px}.color-picker .right{flex:1 1 auto;padding:12px 8px}.color-picker .button-area{padding:0 16px 16px;text-align:right}.color-picker .button-area button{margin-left:8px}.color-picker .preset-area{padding:4px 15px}.color-picker .preset-area .preset-label{overflow:hidden;width:100%;padding:4px;font-size:11px;white-space:nowrap;text-align:left;text-overflow:ellipsis;color:#555}.color-picker .preset-area .preset-color{position:relative;display:inline-block;width:18px;height:18px;margin:4px 6px 8px;border:#a9a9a9 solid 1px;border-radius:25%;cursor:pointer}.color-picker .preset-area .preset-empty-message{min-height:18px;margin-top:4px;margin-bottom:8px;font-style:italic;text-align:center}.color-picker .hex-text{width:100%;padding:4px 8px;font-size:11px}.color-picker .hex-text .box{padding:0 24px 8px 8px}.color-picker .hex-text .box div{float:left;flex:1 1 auto;text-align:center;color:#555;clear:left}.color-picker .hex-text .box input{flex:1 1 auto;padding:1px;border:#a9a9a9 solid 1px}.color-picker .hex-alpha .box div:first-child,.color-picker .hex-alpha .box input:first-child{flex-grow:3;margin-right:8px}.color-picker .cmyk-text,.color-picker .hsla-text,.color-picker .rgba-text,.color-picker .value-text{width:100%;padding:4px 8px;font-size:11px}.color-picker .cmyk-text .box,.color-picker .hsla-text .box,.color-picker .rgba-text .box{padding:0 24px 8px 8px}.color-picker .value-text .box{padding:0 8px 8px}.color-picker .cmyk-text .box div,.color-picker .hsla-text .box div,.color-picker .rgba-text .box div,.color-picker .value-text .box div{flex:1 1 auto;margin-right:8px;text-align:center;color:#555}.color-picker .cmyk-text .box div:last-child,.color-picker .hsla-text .box div:last-child,.color-picker .rgba-text .box div:last-child,.color-picker .value-text .box div:last-child{margin-right:0}.color-picker .cmyk-text .box input,.color-picker .hsla-text .box input,.color-picker .rgba-text .box input,.color-picker .value-text .box input{float:left;flex:1;padding:1px;margin:0 8px 0 0;border:#a9a9a9 solid 1px}.color-picker .cmyk-text .box input:last-child,.color-picker .hsla-text .box input:last-child,.color-picker .rgba-text .box input:last-child,.color-picker .value-text .box input:last-child{margin-right:0}.color-picker .hue-alpha{align-items:center;margin-bottom:3px}.color-picker .hue{direction:ltr;width:100%;height:16px;margin-bottom:16px;border:none;cursor:pointer;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwkUFWbCCAAAAFxJREFUaN7t0kEKg0AQAME2x83/n2qu5qCgD1iDhCoYdpnbQC9bbY1qVO/jvc6k3ad91s7/7F1/csgPrujuQ17BDYSFsBAWwgJhISyEBcJCWAgLhIWwEBYIi2f7Ar/1TCgFH2X9AAAAAElFTkSuQmCC)}.color-picker .value{direction:rtl;width:100%;height:16px;margin-bottom:16px;border:none;cursor:pointer;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAACTklEQVR42u3SYUcrABhA4U2SkmRJMmWSJklKJiWZZpKUJJskKUmaTFImKZOUzMySpGRmliRNJilJSpKSJEtmSpIpmWmSdO736/6D+x7OP3gUCoWCv1cqlSQlJZGcnExKSgqpqamkpaWRnp5ORkYGmZmZqFQqsrKyyM7OJicnh9zcXNRqNXl5eeTn56PRaCgoKKCwsJCioiK0Wi3FxcWUlJRQWlpKWVkZ5eXlVFRUUFlZiU6no6qqiurqampqaqitraWurg69Xk99fT0GgwGj0UhDQwONjY00NTXR3NxMS0sLra2ttLW10d7ejslkwmw209HRQWdnJ11dXXR3d9PT00Nvby99fX309/czMDDA4OAgFouFoaEhrFYrw8PDjIyMMDo6ytjYGDabjfHxcSYmJpicnGRqagq73c709DQzMzPMzs4yNzfH/Pw8DocDp9OJy+XC7XazsLDA4uIiS0tLLC8vs7KywurqKmtra3g8HrxeLz6fD7/fz/r6OhsbG2xubrK1tcX29jaBQICdnR2CwSC7u7vs7e2xv7/PwcEBh4eHHB0dcXx8zMnJCaenp5ydnXF+fs7FxQWXl5dcXV1xfX3Nzc0Nt7e33N3dEQqFuL+/5+HhgXA4TCQS4fHxkaenJ56fn3l5eeH19ZVoNMrb2xvv7+98fHwQi8WIx+N8fn6SSCT4+vri+/ubn58ffn9/+VcKgSWwBJbAElgCS2AJLIElsASWwBJYAktgCSyBJbAElsASWAJLYAksgSWwBJbAElgCS2AJLIElsP4/WH8AmJ5Z6jHS4h8AAAAASUVORK5CYII=)}.color-picker .alpha{direction:ltr;width:100%;height:16px;border:none;cursor:pointer;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwYQlZMa3gAAAWVJREFUaN7tmEGO6jAQRCsOArHgBpyAJYGjcGocxAm4A2IHpmoWE0eBH+ezmFlNvU06shJ3W6VEelWMUQAIIF9f6qZpimsA1LYtS2uF51/u27YVAFZVRUkEoGHdPV/sIcbIEIIkUdI/9Xa7neyv61+SWFUVAVCSct00TWn2fv6u3+Ecfd3tXzy/0+nEUu+SPjo/kqzrmiQpScN6v98XewfA8/lMkiLJ2WxGSUopcT6fM6U0NX9/frfbjev1WtfrlZfLhYfDQQHG/AIOlnGwjINlHCxjHCzjYJm/TJWdCwquJXseFFzGwDNNeiKMOJTO8xQdDQaeB29+K9efeLaBo9J7vdvtJj1RjFFjfiv7qv95tjx/7leSQgh93e1ffMeIp6O+YQjho/N791t1XVOSSI7N//K+4/GoxWLBx+PB5/Op5XLJ+/3OlJJWqxU3m83ovv5iGf8KjYNlHCxjHCzjYBkHy5gf5gusvQU7U37jTAAAAABJRU5ErkJggg==)}.color-picker .type-policy{position:absolute;top:218px;right:12px;width:16px;height:24px;background-size:8px 16px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACewAAAnsB01CO3AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIASURBVEiJ7ZY9axRRFIafsxMStrLQJpAgpBFhi+C9w1YSo00I6RZ/g9vZpBf/QOr4GyRgkSKNSrAadsZqQGwCkuAWyRZJsySwvhZ7N/vhzrgbLH3Ld8597jlzz50zJokyxXH8DqDVar0qi6v8BbItqSGpEcfxdlmsFWXkvX8AfAVWg3UKPEnT9GKujMzsAFgZsVaCN1VTQd77XUnrgE1kv+6935268WRpzrnHZvYRWC7YvC3pRZZl3wozqtVqiyH9IgjAspkd1Gq1xUJQtVrdB9ZKIAOthdg/Qc65LUk7wNIMoCVJO865rYFhkqjX6/d7vV4GPJwBMqofURS5JEk6FYBer/eeYb/Mo9WwFnPOvQbeAvfuAAK4BN4sAJtAG/gJIElmNuiJyba3EGNmZiPeZuEVmVell/Y/6N+CzDn3AXhEOOo7Hv/3BeAz8IzQkMPnJbuPx1wC+yYJ7/0nYIP5S/0FHKdp+rwCEEXRS/rf5Hl1Gtb2M0iSpCOpCZzPATmX1EySpHMLAsiy7MjMDoHrGSDXZnaYZdnRwBh7J91utwmczAA6CbG3GgPleX4jqUH/a1CktqRGnuc3hSCAMB32gKspkCtgb3KCQMmkjeP4WNJThrNNZval1WptTIsv7JtQ4tmIdRa8qSoEpWl6YWZNoAN0zKxZNPehpLSBZv2t+Q0CJ9lLnARQLAAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:center}.color-picker .type-policy .type-policy-arrow{display:block;width:100%;height:50%}.color-picker .selected-color{position:absolute;top:16px;left:8px;width:40px;height:40px;border:1px solid #a9a9a9;border-radius:50%}.color-picker .selected-color-background{width:40px;height:40px;border-radius:50%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAh0lEQVRYR+2W0QlAMQgD60zdfwOdqa8TmI/wQMr5K0I5bZLIzLOa2nt37VVVbd+dDx5obgCC3KBLwJ2ff4PnVidkf+ucIhw80HQaCLo3DMH3CRK3iFsmAWVl6hPNDwt8EvNE5q+YuEXcMgkonVM6SdyCoEvAnZ8v1Hjx817MilmxSUB5rdLJDycZgUAZUch/AAAAAElFTkSuQmCC)}.color-picker .saturation-lightness{direction:ltr;width:100%;height:130px;border:none;cursor:pointer;touch-action:manipulation;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACCCAYAAABSD7T3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwksPWR6lgAAIABJREFUeNrtnVuT47gRrAHN+P//Or/61Y5wONZ7mZ1u3XAeLMjJZGZVgdKsfc5xR3S0RIIUW+CHzCpc2McYo7XGv3ex7UiZd57rjyzzv+v+33X/R/+3r/f7vR386Y+TvKNcf/wdhTLPcv9qU2wZd74uth0t1821jkIZLPcsI/6nWa4XvutquU0Z85mnx80S/ZzgpnLnOtHNt7/ofx1TKXcSNzN/7qbMQ3ju7rNQmMYYd/4s2j9aa+P+gGaMcZrb1M/tdrvf7/d2v99P9/t93O/3cbvdxu12G9frdVwul3E+n8c///nP+2+//Xb66aefxl//+tfx5z//2YK5Al2rgvf4UsbpdGrB52bAvArXpuzjmiqAVSGz5eDmGYXzhbAZmCrnmzddpUU+8Y1dAOYeXCtDUwVwV7YCGH6uAmyMcZ9l5vkUaBPGMUZ7/J5w/792/fvv9Xq93263dr/fTxPECeME8nK5jM/Pz/HTTz/dv337dvrll1/GP/7xj/G3v/1t/OUvfwkVswongjdOp9PzH3U3D3zmWGnZVXn4jCqs7wC2BKP4/8tAz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OAHoB0BdTVylqBsKKKS+AeBXJVLY+CXASuGvO/Auq7GuEjDfGKg1oKa1z/dmmi9I9SUGNhl0AtfulHAawoYrnSkmNXAVuGEhrEVXvUF+A5Ct2PqNOjDetyna4CmeUolmeXLN4Aq7C5Sj10Q7yjgl+t6CNxSRHmI5X+CpwreYB3Qfdqna4q21KdBuc4GoZsn49ZOOiVinwHqK9WzjvgeweEh2AU5+vtxZ9Cd9Wqkh49V18E5oj6vVyn0RStAyGIO5edXRKd5B0VGVXq2yr3xYp+5Ut+C4QJ4P1N339pQMjRejj4vb/Dcr6rQc3O/0rjmtZpeYCBiCHfCemRbNhbK/pNUPc3wfKy5f2D7OlL3/uPhve/oU4T0F8f+VNM2vyoiv0jK+KHQfdHq+0bncz4oz73/+Y6LbKw1o/5B7eOf1Rl/0du9B9tn/9bvrf/j+v0h6ttn2tp/r/4819y4/zv5391uvzzfwDifz6phT1MPgAAAABJRU5ErkJggg==)}.color-picker .cp-add-color-button-class{position:absolute;display:inline;padding:0;margin:3px -3px;border:0;cursor:pointer;background:transparent}.color-picker .cp-add-color-button-class:hover{text-decoration:underline}.color-picker .cp-add-color-button-class:disabled{cursor:not-allowed;color:#999}.color-picker .cp-add-color-button-class:disabled:hover{text-decoration:none}.color-picker .cp-remove-color-button-class{position:absolute;top:-5px;right:-5px;display:block;width:10px;height:10px;border-radius:50%;cursor:pointer;text-align:center;background:#fff;box-shadow:1px 1px 5px #333}.color-picker .cp-remove-color-button-class:before{content:"x";position:relative;bottom:3.5px;display:inline-block;font-size:10px}.color-picker .eyedropper-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);fill:#fff;mix-blend-mode:exclusion}\n'],encapsulation:2}),e})(),jA=(()=>{class e{constructor(t,r,o,i,s,a){this.injector=t,this.cfr=r,this.appRef=o,this.vcRef=i,this.elRef=s,this._service=a,this.dialogCreated=!1,this.ignoreChanges=!1,this.viewAttachedToAppRef=!1,this.cpWidth="230px",this.cpHeight="auto",this.cpToggle=!1,this.cpDisabled=!1,this.cpIgnoredElements=[],this.cpFallbackColor="",this.cpColorMode="color",this.cpCmykEnabled=!1,this.cpOutputFormat="auto",this.cpAlphaChannel="enabled",this.cpDisableInput=!1,this.cpDialogDisplay="popup",this.cpSaveClickOutside=!0,this.cpCloseClickOutside=!0,this.cpUseRootViewContainer=!1,this.cpPosition="auto",this.cpPositionOffset="0%",this.cpPositionRelativeToArrow=!1,this.cpOKButton=!1,this.cpOKButtonText="OK",this.cpOKButtonClass="cp-ok-button-class",this.cpCancelButton=!1,this.cpCancelButtonText="Cancel",this.cpCancelButtonClass="cp-cancel-button-class",this.cpEyeDropper=!1,this.cpPresetLabel="Preset colors",this.cpPresetColorsClass="cp-preset-colors-class",this.cpMaxPresetColorsLength=6,this.cpPresetEmptyMessage="No colors added",this.cpPresetEmptyMessageClass="preset-empty-message",this.cpAddColorButton=!1,this.cpAddColorButtonText="Add color",this.cpAddColorButtonClass="cp-add-color-button-class",this.cpRemoveColorButtonClass="cp-remove-color-button-class",this.cpInputChange=new ue(!0),this.cpToggleChange=new ue(!0),this.cpSliderChange=new ue(!0),this.cpSliderDragEnd=new ue(!0),this.cpSliderDragStart=new ue(!0),this.colorPickerOpen=new ue(!0),this.colorPickerClose=new ue(!0),this.colorPickerCancel=new ue(!0),this.colorPickerSelect=new ue(!0),this.colorPickerChange=new ue(!1),this.cpCmykColorChange=new ue(!0),this.cpPresetColorsChange=new ue(!0)}handleClick(){this.inputFocus()}handleFocus(){this.inputFocus()}handleInput(t){this.inputChange(t)}ngOnDestroy(){null!=this.cmpRef&&(this.viewAttachedToAppRef&&this.appRef.detachView(this.cmpRef.hostView),this.cmpRef.destroy(),this.cmpRef=null,this.dialog=null)}ngOnChanges(t){t.cpToggle&&!this.cpDisabled&&(t.cpToggle.currentValue?this.openDialog():t.cpToggle.currentValue||this.closeDialog()),t.colorPicker&&(this.dialog&&!this.ignoreChanges&&("inline"===this.cpDialogDisplay&&this.dialog.setInitialColor(t.colorPicker.currentValue),this.dialog.setColorFromString(t.colorPicker.currentValue,!1),this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay&&this.cmpRef.changeDetectorRef.detectChanges()),this.ignoreChanges=!1),(t.cpPresetLabel||t.cpPresetColors)&&this.dialog&&this.dialog.setPresetConfig(this.cpPresetLabel,this.cpPresetColors)}openDialog(){if(this.dialogCreated)this.dialog&&this.dialog.openDialog(this.colorPicker);else{let t=this.vcRef;if(this.dialogCreated=!0,this.viewAttachedToAppRef=!1,this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay){const i=this.injector.get(this.appRef.componentTypes[0],gt.NULL);i!==gt.NULL?t=i.vcRef||i.viewContainerRef||this.vcRef:this.viewAttachedToAppRef=!0}const r=this.cfr.resolveComponentFactory(VA);if(this.viewAttachedToAppRef)this.cmpRef=r.create(this.injector),this.appRef.attachView(this.cmpRef.hostView),document.body.appendChild(this.cmpRef.hostView.rootNodes[0]);else{const o=gt.create({providers:[],parent:t.injector});this.cmpRef=t.createComponent(r,0,o,[])}this.cmpRef.instance.setupDialog(this,this.elRef,this.colorPicker,this.cpWidth,this.cpHeight,this.cpDialogDisplay,this.cpFallbackColor,this.cpColorMode,this.cpCmykEnabled,this.cpAlphaChannel,this.cpOutputFormat,this.cpDisableInput,this.cpIgnoredElements,this.cpSaveClickOutside,this.cpCloseClickOutside,this.cpUseRootViewContainer,this.cpPosition,this.cpPositionOffset,this.cpPositionRelativeToArrow,this.cpPresetLabel,this.cpPresetColors,this.cpPresetColorsClass,this.cpMaxPresetColorsLength,this.cpPresetEmptyMessage,this.cpPresetEmptyMessageClass,this.cpOKButton,this.cpOKButtonClass,this.cpOKButtonText,this.cpCancelButton,this.cpCancelButtonClass,this.cpCancelButtonText,this.cpAddColorButton,this.cpAddColorButtonClass,this.cpAddColorButtonText,this.cpRemoveColorButtonClass,this.cpEyeDropper,this.elRef,this.cpExtraTemplate),this.dialog=this.cmpRef.instance,this.vcRef!==t&&this.cmpRef.changeDetectorRef.detectChanges()}}closeDialog(){this.dialog&&"popup"===this.cpDialogDisplay&&this.dialog.closeDialog()}cmykChanged(t){this.cpCmykColorChange.emit(t)}stateChanged(t){this.cpToggleChange.emit(t),t?this.colorPickerOpen.emit(this.colorPicker):this.colorPickerClose.emit(this.colorPicker)}colorChanged(t,r=!0){this.ignoreChanges=r,this.colorPickerChange.emit(t)}colorSelected(t){this.colorPickerSelect.emit(t)}colorCanceled(){this.colorPickerCancel.emit()}inputFocus(){const t=this.elRef.nativeElement,r=this.cpIgnoredElements.filter(o=>o===t);!this.cpDisabled&&!r.length&&(typeof document<"u"&&t===document.activeElement?this.openDialog():this.dialog&&this.dialog.show?this.closeDialog():this.openDialog())}inputChange(t){this.dialog?this.dialog.setColorFromString(t.target.value,!0):(this.colorPicker=t.target.value,this.colorPickerChange.emit(this.colorPicker))}inputChanged(t){this.cpInputChange.emit(t)}sliderChanged(t){this.cpSliderChange.emit(t)}sliderDragEnd(t){this.cpSliderDragEnd.emit(t)}sliderDragStart(t){this.cpSliderDragStart.emit(t)}presetColorsChanged(t){this.cpPresetColorsChange.emit(t)}}return e.\u0275fac=function(t){return new(t||e)(P(gt),P(Vr),P(Li),P(at),P(Lt),P(os))},e.\u0275dir=Re({type:e,selectors:[["","colorPicker",""]],hostBindings:function(t,r){1&t&&k("click",function(){return r.handleClick()})("focus",function(){return r.handleFocus()})("input",function(i){return r.handleInput(i)})},inputs:{colorPicker:"colorPicker",cpWidth:"cpWidth",cpHeight:"cpHeight",cpToggle:"cpToggle",cpDisabled:"cpDisabled",cpIgnoredElements:"cpIgnoredElements",cpFallbackColor:"cpFallbackColor",cpColorMode:"cpColorMode",cpCmykEnabled:"cpCmykEnabled",cpOutputFormat:"cpOutputFormat",cpAlphaChannel:"cpAlphaChannel",cpDisableInput:"cpDisableInput",cpDialogDisplay:"cpDialogDisplay",cpSaveClickOutside:"cpSaveClickOutside",cpCloseClickOutside:"cpCloseClickOutside",cpUseRootViewContainer:"cpUseRootViewContainer",cpPosition:"cpPosition",cpPositionOffset:"cpPositionOffset",cpPositionRelativeToArrow:"cpPositionRelativeToArrow",cpOKButton:"cpOKButton",cpOKButtonText:"cpOKButtonText",cpOKButtonClass:"cpOKButtonClass",cpCancelButton:"cpCancelButton",cpCancelButtonText:"cpCancelButtonText",cpCancelButtonClass:"cpCancelButtonClass",cpEyeDropper:"cpEyeDropper",cpPresetLabel:"cpPresetLabel",cpPresetColors:"cpPresetColors",cpPresetColorsClass:"cpPresetColorsClass",cpMaxPresetColorsLength:"cpMaxPresetColorsLength",cpPresetEmptyMessage:"cpPresetEmptyMessage",cpPresetEmptyMessageClass:"cpPresetEmptyMessageClass",cpAddColorButton:"cpAddColorButton",cpAddColorButtonText:"cpAddColorButtonText",cpAddColorButtonClass:"cpAddColorButtonClass",cpRemoveColorButtonClass:"cpRemoveColorButtonClass",cpExtraTemplate:"cpExtraTemplate"},outputs:{cpInputChange:"cpInputChange",cpToggleChange:"cpToggleChange",cpSliderChange:"cpSliderChange",cpSliderDragEnd:"cpSliderDragEnd",cpSliderDragStart:"cpSliderDragStart",colorPickerOpen:"colorPickerOpen",colorPickerClose:"colorPickerClose",colorPickerCancel:"colorPickerCancel",colorPickerSelect:"colorPickerSelect",colorPickerChange:"colorPickerChange",cpCmykColorChange:"cpCmykColorChange",cpPresetColorsChange:"cpPresetColorsChange"},exportAs:["ngxColorPicker"],features:[_r]}),e})(),HA=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=In({type:e}),e.\u0275inj=ln({providers:[os],imports:[em]}),e})();function UA(e,n){1&e&&(h(0,"div",37)(1,"h3"),m(2,"Custom template content here."),p()())}const qA=function(){return["#fff","#000","#2889e9","#e920e9","#fff500","rgb(236,64,64)"]},zA=function(){return["#fff","#2889e9"]},GA=function(e,n){return[e,n]};let WA=(()=>{class e{constructor(t,r){this.vcRef=t,this.cpService=r,this.toggle=!1,this.rgbaText="rgba(165, 26, 214, 0.2)",this.arrayColors={color1:"#2883e9",color2:"#e920e9",color3:"rgb(255,245,0)",color4:"rgb(236,64,64)",color5:"rgba(45,208,45,1)"},this.selectedColor="color1",this.color1="#2889e9",this.color2="#e920e9",this.color3="#fff500",this.color4="rgb(236,64,64)",this.color5="rgba(45,208,45,1)",this.color6="#1973c0",this.color7="#f200bd",this.color8="#a8ff00",this.color9="#278ce2",this.color10="#0a6211",this.color11="#f2ff00",this.color12="#f200bd",this.color13="rgba(0,255,0,0.5)",this.color14="rgb(0,255,255)",this.color15="rgb(255,0,0)",this.color16="#a51ad633",this.color17="#666666",this.color18="#fa8072",this.color19="#f88888",this.cmykValue="",this.cmykColor=new bn(0,0,0,0)}onEventLog(t,r){console.log(t,r)}onChangeColor(t){console.log("Color changed:",t)}onChangeColorCmyk(t){const r=this.cpService.stringToHsva(t);if(r){const o=this.cpService.hsvaToRgba(r);return this.cpService.rgbaToCmyk(o)}return new bn(0,0,0,0)}onChangeColorHex8(t){const r=this.cpService.stringToHsva(t,!0);return r?this.cpService.outputFormat(r,"rgba",null):""}}return e.\u0275fac=function(t){return new(t||e)(P(at),P(os))},e.\u0275cmp=xo({type:e,selectors:[["my-app"]],decls:549,vars:146,consts:[[1,"container"],[1,"row"],[1,"col-md-5"],[3,"colorPicker","colorPickerChange","colorPickerOpen","colorPickerClose","cpInputChange","cpSliderDragStart","cpSliderDragEnd"],[1,"col-md-7"],[3,"colorPicker","cpColorMode","colorPickerChange","colorPickerOpen","colorPickerClose","cpInputChange","cpSliderDragStart","cpSliderDragEnd"],[3,"value","colorPicker","colorPickerChange"],[3,"value","cpOutputFormat","colorPicker","colorPickerChange"],[3,"value","cpPosition","colorPicker","colorPickerChange"],[1,"change-me",3,"cpPosition","cpPositionOffset","cpPositionRelativeToArrow","colorPicker","colorPickerChange"],[3,"value","cpCancelButton","colorPicker","colorPickerChange"],[3,"value","cpCancelButton","cpCancelButtonClass","colorPicker","colorPickerChange"],[3,"value","cpOKButton","cpSaveClickOutside","cpOKButtonClass","colorPicker","colorPickerChange"],[3,"value","cpEyeDropper","cpSaveClickOutside","cpOKButtonClass","colorPicker","colorPickerChange"],[3,"colorPicker","cpCmykEnabled","cpCmykColorChange","colorPickerChange"],[1,"clearfix"],[1,"cmyk-text",2,"color","rgb(0,255,255)"],[1,"cmyk-text",2,"color","rgb(255,0,255)"],[1,"cmyk-text",2,"color","rgb(255,255,0)"],[1,"cmyk-text"],[3,"cpPresetColors","colorPicker","colorPickerChange"],[3,"cpAlphaChannel","cpOutputFormat","cpPresetColors","cpAddColorButton","colorPicker","colorPickerChange"],[3,"cpFallbackColor","cpIgnoredElements","cpToggle","colorPicker","cpToggleChange","colorPickerChange"],["ignoredInput",""],[1,"btn","btn-primary",3,"click"],["ignoredButton",""],["cpPosition","auto",3,"value","colorPicker","colorPickerChange"],[3,"value","cpAlphaChannel","cpOutputFormat","colorPicker","colorPickerChange"],[1,"row",2,"height","320px"],[1,"col-md-3"],[3,"cpToggle","cpDialogDisplay","cpCancelButton","cpCancelButtonClass","colorPicker","colorPickerChange"],[1,"col-md-2"],[1,"color-box",3,"click"],["cpAlphaChannel","disabled",3,"colorPicker","cpExtraTemplate","colorPickerClose","colorPickerOpen","cpInputChange","cpSliderDragEnd","cpSliderDragStart","keyup"],["customTemplate",""],[1,"col-md-12"],[1,"table"],[1,""]],template:function(t,r){if(1&t&&(h(0,"div",0)(1,"h1"),m(2,"Angular Color Picker Directive"),p(),h(3,"h4"),m(4,"A Color Picker Directive for Angular with no dependencies."),p(),h(5,"h4")(6,"b"),m(7,"based on angular2-color-picker by Alberto Pujante"),p()(),M(8,"hr"),h(9,"div",1)(10,"div",2)(11,"input",3),k("colorPickerChange",function(i){return r.color1=i})("colorPickerOpen",function(i){return r.onEventLog("colorPickerOpen",i)})("colorPickerClose",function(i){return r.onEventLog("colorPickerClose",i)})("cpInputChange",function(i){return r.onEventLog("cpInputChange",i)})("cpSliderDragStart",function(i){return r.onEventLog("cpSliderDragStart",i)})("cpSliderDragEnd",function(i){return r.onEventLog("cpSliderDragEnd",i)}),p()(),h(12,"div",4)(13,"p"),m(14,"Usage:"),p(),h(15,"pre"),m(16,'\n '),p(),h(17,"p"),m(18,"Or:"),p(),h(19,"pre"),m(20,'\n '),p()()(),M(21,"hr"),h(22,"div",1)(23,"div",2)(24,"input",5),k("colorPickerChange",function(i){return r.color17=i})("colorPickerOpen",function(i){return r.onEventLog("colorPickerOpen",i)})("colorPickerClose",function(i){return r.onEventLog("colorPickerClose",i)})("cpInputChange",function(i){return r.onEventLog("cpInputChange",i)})("cpSliderDragStart",function(i){return r.onEventLog("cpSliderDragStart",i)})("cpSliderDragEnd",function(i){return r.onEventLog("cpSliderDragEnd",i)}),p()(),h(25,"div",4)(26,"p"),m(27,"Grayscale color mode:"),p(),h(28,"pre"),m(29,'\n '),p()()(),M(30,"hr"),h(31,"div",1)(32,"div",2)(33,"input",6),k("colorPickerChange",function(i){return r.color2=i}),p()(),h(34,"div",4)(35,"p"),m(36,"Show the color in the input field:"),p(),h(37,"pre"),m(38,'\n '),p()()(),M(39,"hr"),h(40,"div",1)(41,"div",2)(42,"input",7),k("colorPickerChange",function(i){return r.color3=i}),p(),M(43,"br")(44,"br"),h(45,"input",7),k("colorPickerChange",function(i){return r.color4=i}),p()(),h(46,"div",4)(47,"p"),m(48,"Output format:"),p(),h(49,"pre"),m(50,'\n '),p()()(),M(51,"hr"),h(52,"div",1)(53,"div",2)(54,"input",8),k("colorPickerChange",function(i){return r.color5=i}),p()(),h(55,"div",4)(56,"p"),m(57,"Changing dialog position:"),p(),h(58,"pre"),m(59,'\n '),p()()(),M(60,"hr"),h(61,"div",1)(62,"div",2)(63,"span",9),k("colorPickerChange",function(i){return r.color6=i}),m(64,"Change me!"),p()(),h(65,"div",4)(66,"p"),m(67,"You can introduce a offset of the color picker relative to the html element:"),p(),h(68,"pre"),m(69,'Change me!\n '),p()()(),M(70,"hr"),h(71,"div",1)(72,"div",2)(73,"input",10),k("colorPickerChange",function(i){return r.color7=i}),p()(),h(74,"div",4)(75,"p"),m(76,"Show cancel button:"),p(),h(77,"pre"),m(78,'\n '),p()()(),M(79,"hr"),h(80,"div",1)(81,"div",2)(82,"input",11),k("colorPickerChange",function(i){return r.color8=i}),p()(),h(83,"div",4)(84,"p"),m(85,"Change cancel button class, in this example we are using a bootstrap button:"),p(),h(86,"pre"),m(87,'\n '),p()()(),M(88,"hr"),h(89,"div",1)(90,"div",2)(91,"input",12),k("colorPickerChange",function(i){return r.color9=i}),p()(),h(92,"div",4)(93,"p"),m(94,"Show OK button:"),p(),h(95,"pre"),m(96,'\n '),p()()(),M(97,"hr"),h(98,"div",1)(99,"div",2)(100,"input",13),k("colorPickerChange",function(i){return r.color19=i}),p()(),h(101,"div",4)(102,"p"),m(103,"Enable Eye Dropper:"),p(),h(104,"p"),m(105,"You can open the eye dropper by clicking the colored circle."),p(),h(106,"pre"),m(107,'\n '),p()()(),M(108,"hr"),h(109,"div",1)(110,"div",2)(111,"input",14),k("cpCmykColorChange",function(i){return r.cmykValue=i})("colorPickerChange",function(i){return r.cmykColor=r.onChangeColorCmyk(i),r.color10=i}),p(),M(112,"div",15),h(113,"div"),m(114),p(),h(115,"div")(116,"span",16),m(117,"C"),p(),h(118,"span",17),m(119,"M"),p()(),M(120,"div",15),h(121,"div")(122,"span",18),m(123,"Y"),p(),h(124,"span",19),m(125,"K"),p()(),M(126,"div",15),p(),h(127,"div",4)(128,"p"),m(129,"Change event color:"),p(),h(130,"pre"),m(131,'\n\nC\nM\nY\nK\n '),p()()(),M(132,"hr"),h(133,"div",1)(134,"div",2)(135,"input",20),k("colorPickerChange",function(i){return r.color11=i}),p()(),h(136,"div",4)(137,"p"),m(138,"With preset colors:"),p(),h(139,"pre"),m(140,"\n "),p()()(),M(141,"hr"),h(142,"div",1)(143,"div",2)(144,"input",21),k("colorPickerChange",function(i){return r.color13=i}),p()(),h(145,"div",4)(146,"p"),m(147,"Add and remove preset colors:"),p(),h(148,"pre"),m(149,'\n '),p()()(),M(150,"hr"),h(151,"div",1)(152,"div",2)(153,"input",22,23),k("cpToggleChange",function(i){return r.toggle=i})("colorPickerChange",function(i){return r.color12=i}),p(),M(155,"div",15),h(156,"button",24,25),k("click",function(){return r.toggle=!r.toggle}),m(158,"Toggle"),p(),M(159,"br")(160,"br"),h(161,"div")(162,"b"),m(163),p()()(),h(164,"div",4)(165,"p"),m(166,"Use cpToggle with cpIgnoredElements:"),p(),h(167,"pre"),m(168,'\n\n\n '),p()()(),M(169,"hr"),h(170,"div",1)(171,"div",2)(172,"input",26),k("colorPickerChange",function(i){return r.color18=i}),p()(),h(173,"div",4)(174,"p"),m(175,"Auto positioning:"),p(),h(176,"pre"),m(177,'\n '),p()()(),M(178,"hr"),h(179,"div",1)(180,"div",2)(181,"input",27),k("colorPickerChange",function(i){return r.color14=i}),p(),M(182,"br"),h(183,"input",27),k("colorPickerChange",function(i){return r.color13=i}),p(),M(184,"br"),h(185,"input",27),k("colorPickerChange",function(i){return r.rgbaText=r.onChangeColorHex8(i),r.color16=i}),p(),M(186,"br"),h(187,"input",27),k("colorPickerChange",function(i){return r.color15=i}),p()(),h(188,"div",4)(189,"p"),m(190,"Change alpha channel behaviour:"),p(),h(191,"pre"),m(192,'\n\n\n\n\n\n\n '),p()()(),M(193,"hr"),h(194,"div",28)(195,"div",29)(196,"span",30),k("colorPickerChange",function(i){return r.arrayColors[r.selectedColor]=i}),p()(),h(197,"div",31)(198,"div",32),k("click",function(){return r.selectedColor="color1"}),p(),h(199,"div",32),k("click",function(){return r.selectedColor="color2"}),p(),h(200,"div",32),k("click",function(){return r.selectedColor="color3"}),p(),h(201,"div",32),k("click",function(){return r.selectedColor="color4"}),p(),h(202,"div",32),k("click",function(){return r.selectedColor="color5"}),p()(),h(203,"div",4)(204,"p"),m(205,"Show the dialog permanently: "),p(),h(206,"pre"),m(207,'\n\n
\n\n
\n '),p()()(),M(208,"hr")(209,"br")(210,"hr"),h(211,"div",1)(212,"div",2)(213,"input",33),k("colorPickerClose",function(i){return r.onEventLog("colorPickerClose",i)})("colorPickerOpen",function(i){return r.onEventLog("colorPickerOpen",i)})("cpInputChange",function(i){return r.onEventLog("cpInputChange",i)})("cpSliderDragEnd",function(i){return r.onEventLog("cpSliderDragEnd",i)})("cpSliderDragStart",function(i){return r.onEventLog("cpSliderDragStart",i)})("keyup",function(i){return r.onEventLog("cpInputChange",i)}),p(),Q(214,UA,3,0,"ng-template",null,34,Hh),p(),h(216,"div",4)(217,"p"),m(218,"Custom template: "),p(),h(219,"pre"),m(220,'\n\n\n
\n

Custom template.

\n
\n
\n '),p()(),M(221,"hr")(222,"br"),h(223,"div",1)(224,"div",35)(225,"table",36)(226,"thead")(227,"tr")(228,"th"),m(229,"Options"),p(),h(230,"th"),m(231,"Values (default values in bold)"),p()()(),h(232,"tbody")(233,"tr")(234,"td"),m(235,"cpOutputFormat"),p(),h(236,"td")(237,"b"),m(238,"'auto'"),p(),m(239,", 'hex', 'rgba', 'hsla' "),p()(),h(240,"tr")(241,"td"),m(242,"cpPosition"),p(),h(243,"td")(244,"b"),m(245,"'auto'"),p(),m(246,", 'top', 'bottom', 'top-right', 'top-left', 'bottom-left', 'bottom-right' "),p()(),h(247,"tr")(248,"td"),m(249,"cpPositionOffset"),p(),h(250,"td")(251,"b"),m(252,"'0%'"),p(),M(253,"br"),m(254," Dialog offset (percent) relative to the element that contains the directive. "),p()(),h(255,"tr")(256,"td"),m(257,"cpPositionRelativeToArrow"),p(),h(258,"td")(259,"b"),m(260,"false"),p(),m(261,", true "),M(262,"br"),m(263," Dialog position is calculated relative to the dialog (false) or relative to the dialog arrow (true). "),p()(),h(264,"tr")(265,"td"),m(266,"cpWidth"),p(),h(267,"td")(268,"b"),m(269,"'230px'"),p(),M(270,"br"),m(271," Use this option to set color picker dialog width (pixels). "),p()(),h(272,"tr")(273,"td"),m(274,"cpHeight"),p(),h(275,"td")(276,"b"),m(277,"'auto'"),p(),M(278,"br"),m(279," Use this option to force color picker dialog height (pixels). "),p()(),h(280,"tr")(281,"td"),m(282,"cpSaveClickOutside"),p(),h(283,"td")(284,"b"),m(285,"true"),p(),m(286,", false"),M(287,"br"),m(288," If true the initial color is restored when user clicks outside. "),p()(),h(289,"tr")(290,"td"),m(291,"cpOKButton"),p(),h(292,"td")(293,"b"),m(294,"false"),p(),m(295,", true"),M(296,"br"),m(297," Shows the Ok button. Saves the selected color. "),p()(),h(298,"tr")(299,"td"),m(300,"cpOKButtonText"),p(),h(301,"td")(302,"b"),m(303,"'OK'"),p()()(),h(304,"tr")(305,"td"),m(306,"cpOKButtonClass"),p(),h(307,"td"),m(308," Class to customize the OK button. "),p()(),h(309,"tr")(310,"td"),m(311,"cpCancelButton"),p(),h(312,"td")(313,"b"),m(314,"false"),p(),m(315,", true"),M(316,"br"),m(317," Shows the Cancel button. Cancel the selected color. "),p()(),h(318,"tr")(319,"td"),m(320,"cpCancelButtonText"),p(),h(321,"td")(322,"b"),m(323,"'Cancel'"),p()()(),h(324,"tr")(325,"td"),m(326,"cpCancelButtonClass"),p(),h(327,"td"),m(328," Class to customize the Cancel button. "),p()(),h(329,"tr")(330,"td"),m(331,"cpFallbackColor"),p(),h(332,"td")(333,"b"),m(334,"'#fff'"),p(),M(335,"br"),m(336," Is used when the color is not well-formed or not defined. "),p()(),h(337,"tr")(338,"td"),m(339,"cpPresetLabel"),p(),h(340,"td")(341,"b"),m(342,"'Preset colors'"),p(),M(343,"br"),m(344," Label for preset colors if any provided used. "),p()(),h(345,"tr")(346,"td"),m(347,"cpPresetColors"),p(),h(348,"td")(349,"b"),m(350,"[]"),p(),M(351,"br"),m(352," Array of preset colors to show in the color picker dialog. "),p()(),h(353,"tr")(354,"td"),m(355,"cpToggle"),p(),h(356,"td")(357,"b"),m(358,"false"),p(),m(359,", true"),M(360,"br"),m(361," Input/ouput to open/close the color picker. "),p()(),h(362,"tr")(363,"td"),m(364,"cpIgnoredElements"),p(),h(365,"td")(366,"b"),m(367,"[]"),p(),M(368,"br"),m(369," Array of HTML elements that will be ignored by the color picker when they are clicked. "),p()(),h(370,"tr")(371,"td"),m(372,"cpDialogDisplay"),p(),h(373,"td")(374,"b"),m(375,"'popup'"),p(),m(376,", 'inline'"),M(377,"br"),m(378," popup: dialog is showed when user clicks in the directive."),M(379,"br"),m(380," inline: dialog is showed permanently. You can show/hide the dialog with cpToggle."),M(381,"br"),p()(),h(382,"tr")(383,"td"),m(384,"cpDisableInput"),p(),h(385,"td")(386,"b"),m(387,"false"),p(),m(388,", true"),M(389,"br"),m(390," Disables / hides the color input field from the dialog."),M(391,"br"),p()(),h(392,"tr")(393,"td"),m(394,"cpAlphaChannel"),p(),h(395,"td")(396,"b"),m(397,"'enabled'"),p(),m(398,", 'disabled', 'always', 'forced'"),M(399,"br"),m(400," enabled: alpha channel is not included for hexadecimal (hex6) values or for values without alpha (alpha = 1)."),M(401,"br"),m(402," disabled: alpha channel is completely disabled."),M(403,"br"),m(404," always: alpha channel is included for hexadecimal (hex6) values and values without alpha (alpha = 1)."),M(405,"br"),m(406," forced: alpha channel field is added for hexadecimal (hex6) values."),M(407,"br"),p()(),h(408,"tr")(409,"td"),m(410,"cpCmykEnabled"),p(),h(411,"td")(412,"b"),m(413,"false"),p(),m(414,", true"),M(415,"br"),m(416," Enables CMYK color input and selected CMYK color event sending on color change."),M(417,"br"),p()(),h(418,"tr")(419,"td"),m(420,"cpUseRootViewContainer"),p(),h(421,"td")(422,"b"),m(423,"false"),p(),m(424,", true"),M(425,"br"),m(426," Create dialog component in the root view container instead the elements view container."),M(427,"br"),p()(),h(428,"tr")(429,"td"),m(430,"cpAddColorButton"),p(),h(431,"td")(432,"b"),m(433,"false"),p(),m(434,", true"),M(435,"br"),m(436," Add or remove colors into your preset panel. The [cpPresetColors] is needed"),M(437,"br"),p()(),h(438,"tr")(439,"td"),m(440,"cpAddColorButtonText"),p(),h(441,"td")(442,"b"),m(443,"'Add color'"),p()()(),h(444,"tr")(445,"td"),m(446,"cpAddColorButtonClass"),p(),h(447,"td"),m(448," Class to customize the add color button. "),p()(),h(449,"tr")(450,"td"),m(451,"cpRemoveColorButtonClass"),p(),h(452,"td"),m(453," Class to customize the remove color button. "),p()(),h(454,"tr")(455,"td"),m(456,"cpPresetColorsClass"),p(),h(457,"td"),m(458," Class to customize the preset colors container. "),p()(),h(459,"tr")(460,"td"),m(461,"cpMaxPresetColorsLength"),p(),h(462,"td")(463,"b"),m(464,"8"),p(),m(465," (number)"),M(466,"br"),m(467," Use this option to set the max colors allowed into preset panel. "),p()(),h(468,"tr")(469,"td"),m(470,"cpPresetEmptyMessage"),p(),h(471,"td")(472,"b"),m(473,"'No colors added'"),p(),M(474,"br"),m(475," Message for empty colors if any provided used. "),p()(),h(476,"tr")(477,"td"),m(478,"cpPresetEmptyMessageClass"),p(),h(479,"td"),m(480," Class to customize the empty colors message. "),p()(),h(481,"tr")(482,"td"),m(483,"cpEyeDropper"),p(),h(484,"td"),m(485," Enable eye dropper on click of colored circle. Click again to pick a color. "),p()()()()()(),M(486,"hr")(487,"br"),h(488,"div",1)(489,"div",35)(490,"table",36)(491,"thead")(492,"tr")(493,"th"),m(494,"Events"),p(),h(495,"th"),m(496,"Description (data format in bold)"),p()()(),h(497,"tbody")(498,"tr")(499,"td"),m(500,"colorPickerChange"),p(),h(501,"td"),m(502," Changed color value, send when color is changed. "),h(503,"b"),m(504,"(value: string)"),p()()(),h(505,"tr")(506,"td"),m(507,"colorPickerSelect"),p(),h(508,"td"),m(509," Selected color value, send when user presses the OK button. "),h(510,"b"),m(511,"(value: string)"),p()()(),h(512,"tr")(513,"td"),m(514,"cpToggleChange"),p(),h(515,"td"),m(516," Status of the dialog, send when dialog is opened / closed. "),h(517,"b"),m(518,"(open: boolean)"),p()()(),h(519,"tr")(520,"td"),m(521,"cpInputChange"),p(),h(522,"td"),m(523," Input name and its value, send when user changes color through inputs. "),h(524,"b"),m(525),p()()(),h(526,"tr")(527,"td"),m(528,"cpSliderChange"),p(),h(529,"td"),m(530," Slider name and its value, send when user changes color through slider. "),h(531,"b"),m(532),p()()(),h(533,"tr")(534,"td"),m(535,"cpCmykColorChange"),p(),h(536,"td"),m(537," CMYK color value, send when on color change if cpCmykEnabled is true. "),h(538,"b"),m(539,"(value: string)"),p()()(),h(540,"tr")(541,"td"),m(542,"cpPresetColorsChange"),p(),h(543,"td"),m(544," Preset colors value, send when Add Color button is pressed. "),h(545,"b"),m(546,"(value: array)"),p()()()()()()(),M(547,"hr")(548,"br"),p()()),2&t){const o=_i(154),i=_i(157),s=_i(215);w(11),R("background",r.color1),E("colorPicker",r.color1),w(13),R("background",r.color17),E("colorPicker",r.color17)("cpColorMode","grayscale"),w(9),R("background",r.color2),E("value",r.color2)("colorPicker",r.color2),w(9),R("background",r.color3),E("value",r.color3)("cpOutputFormat","rgba")("colorPicker",r.color3),w(3),R("background",r.color4),E("value",r.color4)("cpOutputFormat","hsla")("colorPicker",r.color4),w(9),R("background",r.color5),E("value",r.color5)("cpPosition","top-right")("colorPicker",r.color5),w(9),R("color",r.color6),E("cpPosition","bottom")("cpPositionOffset","50%")("cpPositionRelativeToArrow",!0)("colorPicker",r.color6),w(10),R("background",r.color7),E("value",r.color7)("cpCancelButton",!0)("colorPicker",r.color7),w(9),R("background",r.color8),E("value",r.color8)("cpCancelButton",!0)("cpCancelButtonClass","btn btn-primary btn-xs")("colorPicker",r.color8),w(9),R("background",r.color9),E("value",r.color9)("cpOKButton",!0)("cpSaveClickOutside",!1)("cpOKButtonClass","btn btn-primary btn-xs")("colorPicker",r.color9),w(9),R("background",r.color19),E("value",r.color9)("cpEyeDropper",!0)("cpSaveClickOutside",!1)("cpOKButtonClass","btn btn-primary btn-xs")("colorPicker",r.color19),w(11),R("background",r.color10),E("colorPicker",r.color10)("cpCmykEnabled",!0),w(3),Cn(r.cmykValue),w(2),R("font-size",100*r.cmykColor.c,"px"),w(2),R("font-size",100*r.cmykColor.m,"px"),w(4),R("font-size",100*r.cmykColor.y,"px"),w(2),R("font-size",100*r.cmykColor.k,"px"),w(11),R("background",r.color11),E("cpPresetColors",bl(141,qA))("colorPicker",r.color11),w(9),R("background",r.color13),E("cpAlphaChannel","always")("cpOutputFormat","rgba")("cpPresetColors",bl(142,zA))("cpAddColorButton",!0)("colorPicker",r.color13),w(9),R("background",r.color12),E("cpFallbackColor","#f200bd")("cpIgnoredElements",Mh(143,GA,i,o))("cpToggle",r.toggle)("colorPicker",r.color12),w(10),$r("Toggle status: ",r.toggle,""),w(9),R("background",r.color18),E("value",r.color18)("colorPicker",r.color18),w(9),R("background",r.color14),E("value",r.color14)("cpAlphaChannel","always")("cpOutputFormat","rgba")("colorPicker",r.color14),w(2),R("background",r.color13),E("value",r.color13)("cpAlphaChannel","disabled")("cpOutputFormat","rgba")("colorPicker",r.color13),w(2),R("background",r.rgbaText),E("value",r.color16)("cpAlphaChannel","always")("cpOutputFormat","hex")("colorPicker",r.color16),w(2),R("background",r.color15),E("value",r.color15)("cpAlphaChannel","forced")("cpOutputFormat","hex")("colorPicker",r.color15),w(9),R("background",r.arrayColors[r.selectedColor]),E("cpToggle",!0)("cpDialogDisplay","inline")("cpCancelButton",!0)("cpCancelButtonClass","btn btn-primary btn-xs")("colorPicker",r.arrayColors[r.selectedColor]),w(2),R("background",r.arrayColors.color1),w(1),R("background",r.arrayColors.color2),w(1),R("background",r.arrayColors.color3),w(1),R("background",r.arrayColors.color4),w(1),R("background",r.arrayColors.color5),w(11),R("background",r.color18),E("colorPicker",r.color18)("cpExtraTemplate",s),w(312),Ei("(","{","input: string, value: string","}",")"),w(7),Ei("(","{","slider: string, value: Object","}",")")}},dependencies:[jA],styles:["input[_ngcontent-%COMP%]{width:150px;margin-bottom:16px}.cmyk-text[_ngcontent-%COMP%]{float:left;width:72px;height:72px;font-weight:bolder;line-height:72px;text-align:center;text-shadow:1px 1px 2px #bbb}.color-box[_ngcontent-%COMP%]{width:100px;height:25px;margin:16px auto;cursor:pointer}.change-me[_ngcontent-%COMP%]{cursor:pointer;font-size:30px;font-weight:bolder}"]}),e})(),$A=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=In({type:e,bootstrap:[WA]}),e.\u0275inj=ln({imports:[GI,HA]}),e})();zI().bootstrapModule($A)}},pe=>{pe(pe.s=277)}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{885:()=>{function he(e){return"function"==typeof e}function Oo(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Ro=Oo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Ar(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Dt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(he(r))try{r()}catch(i){t=i instanceof Ro?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Cu(i)}catch(s){t=t??[],s instanceof Ro?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ro(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Cu(t);else{if(t instanceof Dt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Ar(n,t)}remove(t){const{_finalizers:n}=this;n&&Ar(n,t),t instanceof Dt&&t._removeParent(this)}}Dt.EMPTY=(()=>{const e=new Dt;return e.closed=!0,e})();const vu=Dt.EMPTY;function yu(e){return e instanceof Dt||e&&"closed"in e&&he(e.remove)&&he(e.add)&&he(e.unsubscribe)}function Cu(e){he(e)?e():e.unsubscribe()}const un={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Fo={setTimeout(e,t,...n){const{delegate:r}=Fo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Fo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Du(e){Fo.setTimeout(()=>{const{onUnhandledError:t}=un;if(!t)throw e;t(e)})}function _u(){}const My=Fs("C",void 0,void 0);function Fs(e,t,n){return{kind:e,value:t,error:n}}let dn=null;function Lo(e){if(un.useDeprecatedSynchronousErrorHandling){const t=!dn;if(t&&(dn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=dn;if(dn=null,n)throw r}}else e()}class Ls extends Dt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,yu(t)&&t.add(this)):this.destination=Oy}static create(t,n,r){return new Mr(t,n,r)}next(t){this.isStopped?Bs(function Ty(e){return Fs("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Bs(function Sy(e){return Fs("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Bs(My,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Py=Function.prototype.bind;function Vs(e,t){return Py.call(e,t)}class xy{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Vo(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Vo(r)}else Vo(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Vo(n)}}}class Mr extends Ls{constructor(t,n,r){let o;if(super(),he(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&un.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Vs(t.next,i),error:t.error&&Vs(t.error,i),complete:t.complete&&Vs(t.complete,i)}):o=t}this.destination=new xy(o)}}function Vo(e){un.useDeprecatedSynchronousErrorHandling?function ky(e){un.useDeprecatedSynchronousErrorHandling&&dn&&(dn.errorThrown=!0,dn.error=e)}(e):Du(e)}function Bs(e,t){const{onStoppedNotification:n}=un;n&&Fo.setTimeout(()=>n(e,t))}const Oy={closed:!0,next:_u,error:function Ny(e){throw e},complete:_u},js="function"==typeof Symbol&&Symbol.observable||"@@observable";function Hs(e){return e}let ze=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function Fy(e){return e&&e instanceof Ls||function Ry(e){return e&&he(e.next)&&he(e.error)&&he(e.complete)}(e)&&yu(e)}(n)?n:new Mr(n,r,o);return Lo(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Eu(r))((o,i)=>{const s=new Mr({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[js](){return this}pipe(...n){return function wu(e){return 0===e.length?Hs:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Eu(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Eu(e){var t;return null!==(t=e??un.Promise)&&void 0!==t?t:Promise}const Ly=Oo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Bo=(()=>{class e extends ze{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new bu(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ly}next(n){Lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?vu:(this.currentObservers=null,i.push(n),new Dt(()=>{this.currentObservers=null,Ar(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new ze;return n.source=this,n}}return e.create=(t,n)=>new bu(t,n),e})();class bu extends Bo{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:vu}}function fn(e){return t=>{if(function Vy(e){return he(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function pn(e,t,n,r,o){return new By(e,t,n,r,o)}class By extends Ls{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Yt(e){return this instanceof Yt?(this.v=e,this):new Yt(e)}function Su(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function $s(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Tu=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ku(e){return he(e?.then)}function Pu(e){return he(e[js])}function xu(e){return Symbol.asyncIterator&&he(e?.[Symbol.asyncIterator])}function Nu(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ou=function lC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ru(e){return he(e?.[Ou])}function Fu(e){return function Mu(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(y,C){i.push([f,h,y,C])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Yt?Promise.resolve(f.value.v).then(c,u):d(i[0][2],f)}(r[f](h))}catch(y){d(i[0][3],y)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Yt(n.read());if(o)return yield Yt(void 0);yield yield Yt(r)}}finally{n.releaseLock()}})}function Lu(e){return he(e?.getReader)}function Pt(e){if(e instanceof ze)return e;if(null!=e){if(Pu(e))return function cC(e){return new ze(t=>{const n=e[js]();if(he(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Tu(e))return function uC(e){return new ze(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Du)})}(e);if(xu(e))return Vu(e);if(Ru(e))return function fC(e){return new ze(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Lu(e))return function pC(e){return Vu(Fu(e))}(e)}throw Nu(e)}function Vu(e){return new ze(t=>{(function hC(e,t){var n,r,o,i;return function Iu(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Su(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Kt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Bu(e,t,n=1/0){return he(t)?Bu((r,o)=>function jy(e,t){return fn((n,r)=>{let o=0;n.subscribe(pn(r,i=>{r.next(e.call(t,i,o++))}))})}((i,s)=>t(r,i,o,s))(Pt(e(r,o))),n):("number"==typeof t&&(n=t),fn((r,o)=>function gC(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&t.complete()},h=C=>c{i&&t.next(C),c++;let w=!1;Pt(n(C,u++)).subscribe(pn(t,E=>{o?.(E),i?h(E):t.next(E)},()=>{w=!0},void 0,()=>{if(w)try{for(c--;l.length&&cy(E)):y(E)}f()}catch(E){t.error(E)}}))};return e.subscribe(pn(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const ju=new ze(e=>e.complete());function Gs(e){return e[e.length-1]}function Hu(e){return function yC(e){return e&&he(e.schedule)}(Gs(e))?e.pop():void 0}function Uu(e,t=0){return fn((n,r)=>{n.subscribe(pn(r,o=>Kt(r,e,()=>r.next(o),t),()=>Kt(r,e,()=>r.complete(),t),o=>Kt(r,e,()=>r.error(o),t)))})}function zu(e,t=0){return fn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function qu(e,t){if(!e)throw new Error("Iterable cannot be null");return new ze(n=>{Kt(n,t,()=>{const r=e[Symbol.asyncIterator]();Kt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function $u(e,t){return t?function IC(e,t){if(null!=e){if(Pu(e))return function DC(e,t){return Pt(e).pipe(zu(t),Uu(t))}(e,t);if(Tu(e))return function wC(e,t){return new ze(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(ku(e))return function _C(e,t){return Pt(e).pipe(zu(t),Uu(t))}(e,t);if(xu(e))return qu(e,t);if(Ru(e))return function EC(e,t){return new ze(n=>{let r;return Kt(n,t,()=>{r=e[Ou](),Kt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>he(r?.return)&&r.return()})}(e,t);if(Lu(e))return function bC(e,t){return qu(Fu(e),t)}(e,t)}throw Nu(e)}(e,t):Pt(e)}function AC(...e){const t=Hu(e),n=function CC(e,t){return"number"==typeof Gs(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Pt(r[0]):function mC(e=1/0){return Bu(Hs,e)}(n)($u(r,t)):ju}class MC extends Bo{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Gu(e={}){const{connector:t=(()=>new Bo),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,c=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,u=d=!1},y=()=>{const C=s;h(),C?.unsubscribe()};return fn((C,w)=>{c++,!d&&!u&&f();const E=l=l??t();w.add(()=>{c--,0===c&&!d&&!u&&(a=Ws(y,o))}),E.subscribe(w),!s&&c>0&&(s=new Mr({next:D=>E.next(D),error:D=>{d=!0,f(),a=Ws(h,n,D),E.error(D)},complete:()=>{u=!0,f(),a=Ws(h,r),E.complete()}}),Pt(C).subscribe(s))})(i)}}function Ws(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Mr({next:()=>{r.unsubscribe(),e()}});return Pt(t(...n)).subscribe(r)}function PC(e,t){return e===t}function ne(e){for(let t in e)if(e[t]===ne)return t;throw Error("Could not find renamed property on target object.")}function _e(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(_e).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ys(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const xC=ne({__forward_ref__:ne});function Ks(e){return e.__forward_ref__=Ks,e.toString=function(){return _e(this())},e}function L(e){return function Zs(e){return"function"==typeof e&&e.hasOwnProperty(xC)&&e.__forward_ref__===Ks}(e)?e():e}function Qs(e){return e&&!!e.\u0275providers}class T extends Error{constructor(t,n){super(function Ho(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function j(e){return"string"==typeof e?e:null==e?"":String(e)}function Xs(e,t){throw new T(-201,!1)}function ot(e,t){null==e&&function R(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function re(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function gn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Uo(e){return Yu(e,qo)||Yu(e,Ku)}function Yu(e,t){return e.hasOwnProperty(t)?e[t]:null}function zo(e){return e&&(e.hasOwnProperty(Js)||e.hasOwnProperty(BC))?e[Js]:null}const qo=ne({\u0275prov:ne}),Js=ne({\u0275inj:ne}),Ku=ne({ngInjectableDef:ne}),BC=ne({ngInjectorDef:ne});var W=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(W||{});let ea;function qe(e){const t=ea;return ea=e,t}function Qu(e,t,n){const r=Uo(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&W.Optional?null:void 0!==t?t:void Xs(_e(e))}const ie=globalThis,Sr={},ia="__NG_DI_FLAG__",$o="ngTempTokenPath",UC=/\n/gm,Ju="__source";let xn;function Zt(e){const t=xn;return xn=e,t}function $C(e,t=W.Default){if(void 0===xn)throw new T(-203,!1);return null===xn?Qu(e,void 0,t):xn.get(e,t&W.Optional?null:void 0,t)}function Y(e,t=W.Default){return(function Zu(){return ea}()||$C)(L(e),t)}function se(e,t=W.Default){return Y(e,Go(t))}function Go(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function sa(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==rd(h,c,0)||2&r&&c!==f){if(ft(r))return!1;s=!0}}}}else{if(!s&&!ft(r)&&!ft(l))return!1;if(s&&ft(l))continue;s=!1,r=l|1&r}}return ft(r)||s}function ft(e){return 0==(1&e)}function XC(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!ft(s)&&(t+=ud(i,o),o=""),r=s,i=i||!ft(r);n++}return""!==o&&(t+=ud(i,o)),t}function ua(e){return xt(()=>{const t=fd(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Wo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||dt.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""};pd(n);const r=e.dependencies;return n.directiveDefs=Ko(r,!1),n.pipeDefs=Ko(r,!0),n.id=function dD(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function aD(e){return K(e)||Ie(e)}function lD(e){return null!==e}function Nn(e){return xt(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function dd(e,t){if(null==e)return _t;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function Ne(e){return xt(()=>{const t=fd(e);return pd(t),t})}function K(e){return e[Yo]||null}function Ie(e){return e[aa]||null}function Oe(e){return e[la]||null}function fd(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||_t,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:dd(e.inputs,t),outputs:dd(e.outputs)}}function pd(e){e.features?.forEach(t=>t(e))}function Ko(e,t){if(!e)return null;const n=t?Oe:aD;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(lD)}const ge=0,A=1,q=2,de=3,pt=4,Nr=5,Te=6,On=7,ve=8,Qt=9,Rn=10,H=11,Or=12,hd=13,Fn=14,ye=15,Rr=16,Ln=17,wt=18,Fr=19,gd=20,Xt=21,Ot=22,Lr=23,Vr=24,G=25,da=1,md=2,Et=7,Vn=9,Ae=11;function Ge(e){return Array.isArray(e)&&"object"==typeof e[da]}function Re(e){return Array.isArray(e)&&!0===e[da]}function fa(e){return 0!=(4&e.flags)}function mn(e){return e.componentOffset>-1}function Qo(e){return 1==(1&e.flags)}function ht(e){return!!e.template}function pa(e){return 0!=(512&e[q])}function vn(e,t){return e.hasOwnProperty(Nt)?e[Nt]:null}let Me=null,Xo=!1;function it(e){const t=Me;return Me=e,t}const Jo={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function _d(e){if(!jr(e)||e.dirty){if(!e.producerMustRecompute(e)&&!bd(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Ed(e){e.dirty=!0,function wd(e){if(void 0===e.liveConsumerNode)return;const t=Xo;Xo=!0;try{for(const n of e.liveConsumerNode)n.dirty||Ed(n)}finally{Xo=t}}(e),e.consumerMarkedDirty?.(e)}function ei(e){return e&&(e.nextProducerIndex=0),it(e)}function ti(e,t){if(it(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(jr(e))for(let n=e.nextProducerIndex;n0}function Bn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Sd=null;const xd=()=>{},ED={...Jo,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:xd};class bD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Hr(){return Nd}function Nd(e){return e.type.prototype.ngOnChanges&&(e.setInput=AD),ID}function ID(){const e=Rd(this),t=e?.current;if(t){const n=e.previous;if(n===_t)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function AD(e,t,n,r){const o=this.declaredInputs[n],i=Rd(e)||function MD(e,t){return e[Od]=t}(e,{previous:_t,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new bD(l&&l.currentValue,t,a===_t),e[r]=t}Hr.ngInherit=!0;const Od="__ngSimpleChanges__";function Rd(e){return e[Od]||null}const bt=function(e,t,n){},Fd="svg";function ae(e){for(;Array.isArray(e);)e=e[ge];return e}function oi(e,t){return ae(t[e])}function We(e,t){return ae(t[e.index])}function Vd(e,t){return e.data[t]}function et(e,t){const n=t[e];return Ge(n)?n:n[ge]}function en(e,t){return null==t?null:e[t]}function Bd(e){e[Ln]=0}function ND(e){1024&e[q]||(e[q]|=1024,Hd(e,1))}function jd(e){1024&e[q]&&(e[q]&=-1025,Hd(e,-1))}function Hd(e,t){let n=e[de];if(null===n)return;n[Nr]+=t;let r=n;for(n=n[de];null!==n&&(1===t&&1===r[Nr]||-1===t&&0===r[Nr]);)n[Nr]+=t,r=n,n=n[de]}const F={lFrame:Xd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function qd(){return F.bindingsEnabled}function _(){return F.lFrame.lView}function Z(){return F.lFrame.tView}function V(e){return F.lFrame.contextLView=e,e[ve]}function B(e){return F.lFrame.contextLView=null,e}function Se(){let e=$d();for(;null!==e&&64===e.type;)e=e.parent;return e}function $d(){return F.lFrame.currentTNode}function It(e,t){const n=F.lFrame;n.currentTNode=e,n.isParent=t}function _a(){return F.lFrame.isParent}function wa(){F.lFrame.isParent=!1}function Fe(){const e=F.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Un(){return F.lFrame.bindingIndex++}function Ft(e){const t=F.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function $D(e,t){const n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ea(t)}function Ea(e){F.lFrame.currentDirectiveIndex=e}function Kd(){return F.lFrame.currentQueryIndex}function Ia(e){F.lFrame.currentQueryIndex=e}function WD(e){const t=e[A];return 2===t.type?t.declTNode:1===t.type?e[Te]:null}function Zd(e,t,n){if(n&W.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&W.Host||(o=WD(i),null===o||(i=i[Fn],10&o.type))););if(null===o)return!1;t=o,e=i}const r=F.lFrame=Qd();return r.currentTNode=t,r.lView=e,!0}function Aa(e){const t=Qd(),n=e[A];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Qd(){const e=F.lFrame,t=null===e?null:e.child;return null===t?Xd(e):t}function Xd(e){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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Jd(){const e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ef=Jd;function Ma(){const e=Jd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Le(){return F.lFrame.selectedIndex}function yn(e){F.lFrame.selectedIndex=e}let rf=!0;function ii(){return rf}function tn(e){rf=e}function si(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[Ln]+=65536),(a>13>16&&(3&e[q])===t&&(e[q]+=8192,sf(a,i)):sf(a,i)}const zn=-1;class zr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ka(e){return e!==zn}function qr(e){return 32767&e}function $r(e,t){let n=function o_(e){return e>>16}(e),r=t;for(;n>0;)r=r[Fn],n--;return r}let Pa=!0;function ci(e){const t=Pa;return Pa=e,t}const af=255,lf=5;let i_=0;const At={};function ui(e,t){const n=cf(e,t);if(-1!==n)return n;const r=t[A];r.firstCreatePass&&(e.injectorIndex=t.length,xa(r.data,e),xa(t,null),xa(r.blueprint,null));const o=di(e,t),i=e.injectorIndex;if(ka(o)){const s=qr(o),a=$r(o,t),l=a[A].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function xa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function cf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function di(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=mf(o),null===r)return zn;if(n++,o=o[Fn],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return zn}function Na(e,t,n){!function s_(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(kr)&&(r=n[kr]),null==r&&(r=n[kr]=i_++);const o=r⁡t.data[e+(o>>lf)]|=1<=0?t&af:d_:t}(n);if("function"==typeof i){if(!Zd(t,e,r))return r&W.Host?uf(o,0,r):df(t,n,r,o);try{let s;if(s=i(r),null!=s||r&W.Optional)return s;Xs()}finally{ef()}}else if("number"==typeof i){let s=null,a=cf(e,t),l=zn,c=r&W.Host?t[ye][Te]:null;for((-1===a||r&W.SkipSelf)&&(l=-1===a?di(e,t):t[a+8],l!==zn&&gf(r,!1)?(s=t[A],a=qr(l),t=$r(l,t)):a=-1);-1!==a;){const u=t[A];if(hf(i,a,u.data)){const d=l_(a,t,n,s,r,c);if(d!==At)return d}l=t[a+8],l!==zn&&gf(r,t[A].data[a+8]===c)&&hf(i,a,t)?(s=u,a=qr(l),t=$r(l,t)):a=-1}}return o}function l_(e,t,n,r,o,i){const s=t[A],a=s.data[e+8],u=fi(a,s,n,null==r?mn(a)&&Pa:r!=s&&0!=(3&a.type),o&W.Host&&i===a);return null!==u?Cn(t,s,u,a):At}function fi(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let h=r?a:a+u;h=l&&y.type===n)return h}if(o){const h=s[l];if(h&&ht(h)&&h.type===n)return l}return null}function Cn(e,t,n,r){let o=e[n];const i=t.data;if(function t_(e){return e instanceof zr}(o)){const s=o;s.resolving&&function NC(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new T(-200,`Circular dependency in DI detected for ${e}${n}`)}(function te(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():j(e)}(i[n]));const a=ci(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?qe(s.injectImpl):null;Zd(e,r,W.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function JD(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Nd(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&qe(c),ci(a),s.resolving=!1,ef()}}return o}function hf(e,t,n){return!!(n[t+(e>>lf)]&1<{const r=function Fa(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty($n)?l[$n]:Object.defineProperty(l,$n,{value:[]})[$n];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Kn(e,t){e.forEach(n=>Array.isArray(n)?Kn(n,t):t(n))}function yf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function pi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function tt(e,t,n){let r=Zn(e,t);return r>=0?e[1|r]=n:(r=~r,function D_(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function La(e,t){const n=Zn(e,t);if(n>=0)return e[1|n]}function Zn(e,t){return function Cf(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<|^->||--!>|)/g,z_="\u200b$1\u200b";const qa=new Map;let q_=0;const Ga="__ngContext__";function ke(e,t){Ge(t)?(e[Ga]=t[Fr],function G_(e){qa.set(e[Fr],e)}(t)):e[Ga]=t}let Wa;function Ya(e,t){return Wa(e,t)}function Qr(e){const t=e[de];return Re(t)?t[de]:t}function Bf(e){return Hf(e[Or])}function jf(e){return Hf(e[pt])}function Hf(e){for(;null!==e&&!Re(e);)e=e[pt];return e}function Jn(e,t,n,r,o){if(null!=r){let i,s=!1;Re(r)?i=r:Ge(r)&&(s=!0,r=r[ge]);const a=ae(r);0===e&&null!==n?null==o?$f(t,n,a):Dn(t,n,a,o||null,!0):1===e&&null!==n?Dn(t,n,a,o||null,!0):2===e?function Ai(e,t,n){const r=bi(e,t);r&&function dw(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function hw(e,t,n,r,o){const i=n[Et];i!==ae(n)&&Jn(t,e,r,i,o);for(let a=Ae;at.replace(U_,z_))}(t))}function wi(e,t,n){return e.createElement(t,n)}function zf(e,t){const n=e[Vn],r=n.indexOf(t);jd(t),n.splice(r,1)}function Ei(e,t){if(e.length<=Ae)return;const n=Ae+t,r=e[n];if(r){const o=r[Rr];null!==o&&o!==e&&zf(o,r),t>0&&(e[n-1][pt]=r[pt]);const i=pi(e,Ae+t);!function rw(e,t){Jr(e,t,t[H],2,null,null),t[ge]=null,t[Te]=null}(r[A],r);const s=i[wt];null!==s&&s.detachView(i[A]),r[de]=null,r[pt]=null,r[q]&=-129}return r}function Za(e,t){if(!(256&t[q])){const n=t[H];t[Lr]&&Id(t[Lr]),t[Vr]&&Id(t[Vr]),n.destroyNode&&Jr(e,t,n,3,null,null),function sw(e){let t=e[Or];if(!t)return Qa(e[A],e);for(;t;){let n=null;if(Ge(t))n=t[Or];else{const r=t[Ae];r&&(n=r)}if(!n){for(;t&&!t[pt]&&t!==e;)Ge(t)&&Qa(t[A],t),t=t[de];null===t&&(t=e),Ge(t)&&Qa(t[A],t),n=t&&t[pt]}t=n}}(t)}}function Qa(e,t){if(!(256&t[q])){t[q]&=-129,t[q]|=256,function uw(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[On]=null);const o=t[Xt];if(null!==o){t[Xt]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===dt.None||i===dt.Emulated)return null}return We(r,n)}}(e,t.parent,n)}function Dn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function $f(e,t,n){e.appendChild(t,n)}function Gf(e,t,n,r,o){null!==r?Dn(e,t,n,r,o):$f(e,t,n)}function bi(e,t){return e.parentNode(t)}let Ja,rl,Kf=function Yf(e,t,n){return 40&e.type?We(e,n):null};function Ii(e,t,n,r){const o=Xa(e,r,t),i=t[H],a=function Wf(e,t,n){return Kf(e,t,n)}(r.parent||t[Te],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l{n.push(s)};return Kn(t,s=>{const a=s;Pi(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&yp(o,i),n}function yp(e,t){for(let n=0;n{t(i,r)})}}function Pi(e,t,n,r){if(!(e=L(e)))return!1;let o=null,i=zo(e);const s=!i&&K(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=zo(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Pi(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{Kn(i.imports,u=>{Pi(u,t,n,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&yp(c,t)}if(!a){const c=vn(o)||(()=>new o);t({provide:o,useFactory:c,deps:Q},o),t({provide:gp,useValue:o,multi:!0},o),t({provide:ki,useValue:()=>Y(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;ul(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function ul(e,t){for(let n of e)Qs(n)&&(n=n.\u0275providers),Array.isArray(n)?ul(n,t):t(n)}const $w=ne({provide:String,useValue:ne});function dl(e){return null!==e&&"object"==typeof e&&$w in e}function _n(e){return"function"==typeof e}const fl=new U("Set Injector scope."),xi={},Ww={};let pl;function Ni(){return void 0===pl&&(pl=new cl),pl}class Vt{}class Oi extends Vt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gl(t,s=>this.processProvider(s)),this.records.set(hp,rr(void 0,this)),o.has("environment")&&this.records.set(Vt,rr(void 0,this));const i=this.records.get(fl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(gp.multi,Q,W.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Zt(this),r=qe(void 0);try{return t()}finally{Zt(n),qe(r)}}get(t,n=Sr,r=W.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(nd))return t[nd](this);r=Go(r);const i=Zt(this),s=qe(void 0);try{if(!(r&W.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function Xw(e){return"function"==typeof e||"object"==typeof e&&e instanceof U}(t)&&Uo(t);l=c&&this.injectableDefInScope(c)?rr(hl(t),xi):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&W.Self?Ni():this.parent).get(t,n=r&W.Optional&&n===Sr?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[$o]=a[$o]||[]).unshift(_e(t)),i)throw a;return function WC(e,t,n,r){const o=e[$o];throw t[Ju]&&o.unshift(t[Ju]),e.message=function YC(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=_e(t);if(Array.isArray(t))o=t.map(_e).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):_e(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(UC,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[$o]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{qe(s),Zt(i)}}resolveInjectorInitializers(){const t=Zt(this),n=qe(void 0);try{const o=this.get(ki.multi,Q,W.Self);for(const i of o)i()}finally{Zt(t),qe(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(_e(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(t){let n=_n(t=L(t))?t:L(t&&t.provide);const r=function Kw(e){return dl(e)?rr(void 0,e.useValue):rr(function _p(e,t,n){let r;if(_n(e)){const o=L(e);return vn(o)||hl(o)}if(dl(e))r=()=>L(e.useValue);else if(function Dp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...sa(e.deps||[]));else if(function Cp(e){return!(!e||!e.useExisting)}(e))r=()=>Y(L(e.useExisting));else{const o=L(e&&(e.useClass||e.provide));if(!function Zw(e){return!!e.deps}(e))return vn(o)||hl(o);r=()=>new o(...sa(e.deps))}return r}(e),xi)}(t);if(_n(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=rr(void 0,xi,!0),o.factory=()=>sa(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===xi&&(n.value=Ww,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Qw(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=L(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function hl(e){const t=Uo(e),n=null!==t?t.factory:vn(e);if(null!==n)return n;if(e instanceof U)throw new T(204,!1);if(e instanceof Function)return function Yw(e){const t=e.length;if(t>0)throw function Yr(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new T(204,!1)}function rr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function gl(e,t){for(const n of e)Array.isArray(n)?gl(n,t):n&&Qs(n)?gl(n.\u0275providers,t):t(n)}const Ri=new U("AppId",{providedIn:"root",factory:()=>Jw}),Jw="ng",wp=new U("Platform Initializer"),wn=new U("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ep=new U("CSP nonce",{providedIn:"root",factory:()=>function tr(){if(void 0!==rl)return rl;if(typeof document<"u")return document;throw new T(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let bp=(e,t,n)=>null;function El(e,t,n=!1){return bp(e,t,n)}class u0{}class Mp{}class f0{resolveComponentFactory(t){throw function d0(e){const t=Error(`No component factory found for ${_e(e)}.`);return t.ngComponent=e,t}(t)}}let io=(()=>{class t{}return t.NULL=new f0,t})();function p0(){return sr(Se(),_())}function sr(e,t){return new Bt(We(e,t))}let Bt=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=p0,t})();function h0(e){return e instanceof Bt?e.nativeElement:e}class Tp{}let m0=(()=>{var e;class t{}return(e=t).\u0275prov=re({token:e,providedIn:"root",factory:()=>null}),t})();class Al{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const v0=new Al("16.2.5"),Ml={};function Op(e,t=null,n=null,r){const o=Rp(e,t,n,r);return o.resolveInjectorInitializers(),o}function Rp(e,t=null,n=null,r,o=new Set){const i=[n||Q,qw(e)];return r=r||("object"==typeof e?void 0:_e(e)),new Oi(i,t||Ni(),r||null,o)}let Ke=(()=>{var e;class t{static create(r,o){if(Array.isArray(r))return Op({name:""},o,r,"");{const i=r.name??"";return Op({name:i},r.parent,r.providers,i)}}}return(e=t).THROW_IF_NOT_FOUND=Sr,e.NULL=new cl,e.\u0275prov=re({token:e,providedIn:"any",factory:()=>Y(hp)}),e.__NG_ELEMENT_ID__=-1,t})();function Tl(e){return e.ngOriginalError}class jt{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Tl(t);for(;n&&Tl(n);)n=Tl(n);return n||null}}function Pl(e){return t=>{setTimeout(e,void 0,t)}}const ue=class b0 extends Bo{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=Pl(i),o&&(o=Pl(o)),s&&(s=Pl(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Dt&&t.add(a),a}};function Lp(...e){}class pe{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ue(!1),this.onMicrotaskEmpty=new ue(!1),this.onStable=new ue(!1),this.onError=new ue(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function I0(){const e="function"==typeof ie.requestAnimationFrame;let t=ie[e?"requestAnimationFrame":"setTimeout"],n=ie[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function S0(e){const t=()=>{!function M0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ie,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Nl(e),e.isCheckStableRunning=!0,xl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Nl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function k0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return Vp(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Bp(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Vp(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Bp(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Nl(e),xl(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!pe.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(pe.isInAngularZone())throw new T(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,A0,Lp,Lp);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const A0={};function xl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Nl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Vp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Bp(e){e._nesting--,xl(e)}class T0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ue,this.onMicrotaskEmpty=new ue,this.onStable=new ue,this.onError=new ue}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const jp=new U("",{providedIn:"root",factory:Hp});function Hp(){const e=se(pe);let t=!0;return AC(new ze(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new ze(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{pe.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Gu()))}function Ol(e){return e.ownerDocument}let Rl=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=re({token:e,providedIn:"root",factory:()=>new e}),t})();function so(e){for(;e;){e[q]|=64;const t=Qr(e);if(pa(e)&&!t)return e;e=t}return null}const Gp=new U("",{providedIn:"root",factory:()=>!1});let Ui=null;function Zp(e,t){return e[t]??Jp()}function Qp(e,t){const n=Jp();n.producerNode?.length&&(e[t]=Ui,n.lView=e,Ui=Xp())}const B0={...Jo,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{so(e.lView)},lView:null};function Xp(){return Object.create(B0)}function Jp(){return Ui??=Xp(),Ui}const z={};function b(e){eh(Z(),_(),Le()+e,!1)}function eh(e,t,n,r){if(!r)if(3==(3&t[q])){const i=e.preOrderCheckHooks;null!==i&&ai(t,i,n)}else{const i=e.preOrderHooks;null!==i&&li(t,i,0,n)}yn(n)}function x(e,t=W.Default){const n=_();return null===n?Y(e,t):ff(Se(),n,L(e),t)}function zi(e,t,n,r,o,i,s,a,l,c,u){const d=t.blueprint.slice();return d[ge]=o,d[q]=140|r,(null!==c||e&&2048&e[q])&&(d[q]|=2048),Bd(d),d[de]=d[Fn]=e,d[ve]=n,d[Rn]=s||e&&e[Rn],d[H]=a||e&&e[H],d[Qt]=l||e&&e[Qt]||null,d[Te]=i,d[Fr]=function $_(){return q_++}(),d[Ot]=u,d[gd]=c,d[ye]=2==t.type?e[ye]:d,d}function cr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Fl(e,t,n,r,o){const i=$d(),s=_a(),l=e.data[t]=function Y0(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function Hn(){return null!==F.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function qD(){return F.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Ur(){const e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return It(i,!0),i}function ao(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iG&&eh(e,t,G,!1),bt(a?2:0,o);const c=a?i:null,u=ei(c);try{null!==c&&(c.dirty=!1),n(r,o)}finally{ti(c,u)}}finally{a&&null===t[Lr]&&Qp(t,Lr),yn(s),bt(a?3:1,o)}}function Ll(e,t,n){if(fa(t)){const r=it(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function oh(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?ih(n,t,o,i):r.hasOwnProperty(o)&&ih(n,t,r[o],i)}return n}function ih(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Hl(e,t,n,r){if(qd()){const o=null===r?null:{"":-1},i=function rE(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,ao(e,n,o.hostVars,z),o)}function cE(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,o,i){const s=typeof Zone>"u"?null:Zone.current,a=function wD(e,t,n){const r=Object.create(ED);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>Ed(r),run:()=>{if(r.dirty=!1,r.hasRun&&!bd(r))return;r.hasRun=!0;const s=ei(r);try{r.cleanupFn(),r.cleanupFn=xd,r.fn(o)}finally{ti(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(r,u=>{this.all.has(u)&&this.queue.set(u,s)},i);let l;this.all.add(a),a.notify();const c=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=o?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[r,o]of this.queue)this.queue.delete(r),o?o.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=re({token:e,providedIn:"root",factory:()=>new e}),t})();function $i(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){yh(e,1);const o=n.components;null!==o&&Dh(e,o,1)}}function Dh(e,t,n){for(let r=0;r-1&&(Ei(t,r),pi(n,r))}this._attachedToViewContainer=!1}Za(this._lView[A],this._lView)}onDestroy(t){!function Ud(e,t){if(256==(256&e[q]))throw new T(911,!1);null===e[Xt]&&(e[Xt]=[]),e[Xt].push(t)}(this._lView,t)}markForCheck(){so(this._cdRefInjectingView||this._lView)}detach(){this._lView[q]&=-129}reattach(){this._lView[q]|=128}detectChanges(){Gi(this._lView[A],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function iw(e,t){Jr(e,t,t[H],2,null,null)}(this._lView[A],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=t}}class yE extends co{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Gi(t[A],t,t[ve],!1)}checkNoChanges(){}get context(){return null}}class _h extends io{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=K(t);return new uo(n,this.ngModule)}}function wh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class DE{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Go(r);const o=this.injector.get(t,Ml,r);return o!==Ml||n===Ml?o:this.parentInjector.get(t,n,r)}}class uo extends Mp{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=wh(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return wh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function oD(e){return e.map(rD).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Vt?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new DE(t,i):t,a=s.get(Tp,null);if(null===a)throw new T(407,!1);const d={rendererFactory:a,sanitizer:s.get(m0,null),effectManager:s.get(gh,null),afterRenderEventManager:s.get(Rl,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",y=r?function z0(e,t,n,r){const i=r.get(Gp,!1)||n===dt.ShadowDom,s=e.selectRootElement(t,i);return function q0(e){rh(e)}(s),s}(f,r,this.componentDef.encapsulation,s):wi(f,h,function CE(e){const t=e.toLowerCase();return"svg"===t?Fd:"math"===t?"math":null}(h)),E=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let D=null;null!==y&&(D=El(y,s,!0));const P=jl(0,null,null,1,0,null,null,null,null,null,null),N=zi(null,P,null,E,null,null,d,f,s,null,D);let $,xe;Aa(N);try{const Ct=this.componentDef;let cn,No=null;Ct.findHostDirectiveDefs?(cn=[],No=new Map,Ct.findHostDirectiveDefs(Ct,cn,No),cn.push(Ct)):cn=[Ct];const gu=function wE(e,t){const n=e[A],r=G;return e[r]=t,cr(n,r,2,"#host",null)}(N,y),mu=function EE(e,t,n,r,o,i,s){const a=o[A];!function bE(e,t,n,r){for(const o of e)t.mergedAttrs=Pr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&($i(t,t.mergedAttrs,!0),null!==n&&tp(r,n,t))}(r,e,t,s);let l=null;null!==t&&(l=El(t,o[Qt]));const c=i.rendererFactory.createRenderer(t,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const d=zi(o,nh(n),null,u,o[e.index],e,i,c,null,null,l);return a.firstCreatePass&&Ul(a,e,r.length-1),qi(o,d),o[e.index]=d}(gu,y,Ct,cn,N,d,f);xe=Vd(P,G),y&&function AE(e,t,n,r){if(r)ca(e,n,["ng-version",v0.full]);else{const{attrs:o,classes:i}=function iD(e){const t=[],n=[];let r=1,o=2;for(;r0&&ep(e,n,i.join(" "))}}(f,Ct,y,r),void 0!==n&&function ME(e,t,n){const r=e.projection=[];for(let o=0;o(tn(!0),wi(r,o,function nf(){return F.lFrame.currentNamespace}()));function ec(e,t,n){const r=_(),o=Z(),i=e+G,s=o.firstCreatePass?function db(e,t,n,r,o){const i=t.consts,s=en(i,r),a=cr(t,e,8,"ng-container",s);return null!==s&&$i(a,s,!0),Hl(t,n,a,en(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];It(s,!0);const a=qh(o,r,s,e);return r[i]=a,ii()&&Ii(o,r,a,s),ke(a,r),Qo(s)&&(Vl(o,r,s),Ll(o,s,r)),null!=n&&Bl(r,s),ec}function tc(){let e=Se();const t=Z();return _a()?wa():(e=e.parent,It(e,!1)),t.firstCreatePass&&(si(t,e),fa(e)&&t.queries.elementEnd(e)),tc}function nc(e,t,n){return ec(e,t,n),tc(),nc}let qh=(e,t,n,r)=>(tn(!0),Ka(t[H],""));function be(){return _()}function rc(e){return!!e&&"function"==typeof e.then}function $h(e){return!!e&&"function"==typeof e.subscribe}function k(e,t,n,r){const o=_(),i=Z(),s=Se();return function Wh(e,t,n,r,o,i,s){const a=Qo(r),c=e.firstCreatePass&&fh(e),u=t[ve],d=dh(t);let f=!0;if(3&r.type||s){const C=We(r,t),w=s?s(C):C,E=d.length,D=s?N=>s(ae(N[r.index])):r.index;let P=null;if(!s&&a&&(P=function hb(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==P)(P.__ngLastListenerFn__||P).__ngNextListenerFn__=i,P.__ngLastListenerFn__=i,f=!1;else{i=Kh(r,t,u,i,!1);const N=n.listen(w,o,i);d.push(i,N),c&&c.push(o,D,E,E+1)}}else i=Kh(r,t,u,i,!1);const h=r.outputs;let y;if(f&&null!==h&&(y=h[o])){const C=y.length;if(C)for(let w=0;w-1?et(e.index,t):t);let l=Yh(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)l=Yh(t,n,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function S(e=1){return function YD(e){return(F.lFrame.contextLView=function KD(e,t){for(;e>0;)t=t[Fn],e--;return t}(e,F.lFrame.contextLView))[ve]}(e)}function es(e,t){return e<<17|t<<2}function on(e){return e>>17&32767}function ic(e){return 2|e}function bn(e){return(131068&e)>>2}function sc(e,t){return-131069&e|t<<2}function ac(e){return 1|e}function ig(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?on(i):bn(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];Eb(e[a],t)&&(l=!0,e[a+1]=r?ac(u):ic(u)),a=r?on(u):bn(u)}l&&(e[n+1]=r?ic(i):ac(i))}function Eb(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Zn(e,t)>=0}const Ee={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sg(e){return e.substring(Ee.key,Ee.keyEnd)}function ag(e,t){const n=Ee.textEnd;return n===t?-1:(t=Ee.keyEnd=function Mb(e,t,n){for(;t32;)t++;return t}(e,Ee.key=t,n),Cr(e,t,n))}function Cr(e,t,n){for(;t=0;n=ag(t,n))tt(e,sg(t),!0)}function gt(e,t,n,r){const o=_(),i=Z(),s=Ft(2);i.firstUpdatePass&&pg(i,e,s,r),t!==z&&Pe(o,s,t)&&gg(i,i.data[Le()],o,o[H],e,o[s+1]=function Vb(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=_e(rn(e)))),e}(t,n),r,s)}function mt(e,t,n,r){const o=Z(),i=Ft(2);o.firstUpdatePass&&pg(o,null,i,r);const s=_();if(n!==z&&Pe(s,i,n)){const a=o.data[Le()];if(vg(a,r)&&!fg(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=Ys(l,n||"")),Jl(o,a,s,n,r)}else!function Lb(e,t,n,r,o,i,s,a){o===z&&(o=Q);let l=0,c=0,u=0=e.expandoStartIndex}function pg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Le()],s=fg(e,n);vg(i,r)&&null===t&&!s&&(t=!1),t=function Pb(e,t,n,r){const o=function ba(e){const t=F.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=mo(n=lc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=lc(o,e,t,n,r),null===i){let l=function xb(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==bn(r))return e[on(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=lc(null,e,t,l[1],r),l=mo(l,t.attrs,r),function Nb(e,t,n,r){e[on(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function Ob(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)):u=n,o)if(0!==l){const f=on(e[a+1]);e[r+1]=es(f,a),0!==f&&(e[f+1]=sc(e[f+1],r)),e[a+1]=function Cb(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=es(a,0),0!==a&&(e[a+1]=sc(e[a+1],r)),a=r;else e[r+1]=es(l,0),0===a?a=r:e[l+1]=sc(e[l+1],r),l=r;c&&(e[r+1]=ic(e[r+1])),ig(e,u,r,!0),ig(e,u,r,!1),function wb(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Zn(i,t)>=0&&(n[r+1]=ac(n[r+1]))}(t,u,e,r,i),s=es(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function lc(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=n[o+1];f===z&&(f=d?Q:void 0);let h=d?La(f,r):u===r?f:void 0;if(c&&!ns(h)&&(h=La(l,r)),ns(h)&&(a=h,s))return a;const y=e[o+1];o=s?on(y):bn(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=La(l,r))}return a}function ns(e){return void 0!==e}function vg(e,t){return 0!=(e.flags&(t?8:16))}function v(e,t=""){const n=_(),r=Z(),o=e+G,i=r.firstCreatePass?cr(r,o,1,t,null):r.data[o],s=yg(r,n,i,t,e);n[o]=s,ii()&&Ii(r,n,s,i),It(i,!1)}let yg=(e,t,n,r,o)=>(tn(!0),function _i(e,t){return e.createText(t)}(t[H],r));function An(e){return vo("",e,""),An}function vo(e,t,n){const r=_(),o=dr(r,e,t,n);return o!==z&&Ut(r,Le(),o),vo}function rs(e,t,n,r,o){const i=_(),s=fr(i,e,t,n,r,o);return s!==z&&Ut(i,Le(),s),rs}const _r="en-US";let jg=_r;class Sn{}class s1{}class gc extends Sn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new _h(this);const o=function Je(e,t){const n=e[td]||null;if(!n&&!0===t)throw new Error(`Type ${_e(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Ht(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Rp(t,n,[{provide:Sn,useValue:this},{provide:io,useValue:this.componentFactoryResolver},...r],_e(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class mc extends s1{constructor(t){super(),this.moduleType=t}create(t){return new gc(this.moduleType,t,[])}}function yc(e,t,n){const r=Fe()+e,o=_();return o[r]===z?St(o,r,n?t.call(n):t()):function fo(e,t){return e[t]}(o,r)}function Cm(e,t,n,r,o){return function _m(e,t,n,r,o,i,s){const a=t+n;return En(e,a,o,i)?St(e,a+2,s?r.call(s,o,i):r(o,i)):function Eo(e,t){const n=e[t];return n===z?void 0:n}(e,a+2)}(_(),Fe(),e,t,n,r,o)}function R1(){return this._results[Symbol.iterator]()}class Cc{get changes(){return this._changes||(this._changes=new ue)}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 n=Cc.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=R1)}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,n){return this._results.reduce(t,n)}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,n){const r=this;r.dirty=!1;const o=function st(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function y_(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(n[o-1][pt]=t),r{class t{}return t.__NG_ELEMENT_ID__=j1,t})();const V1=zt,B1=class extends V1{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function F1(e,t,n,r){const o=t.tView,a=zi(e,o,n,4096&e[q]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[Rr]=e[t.index];const c=e[wt];return null!==c&&(a[wt]=c.createEmbeddedView(o)),Gl(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new co(o)}};function j1(){return ls(Se(),_())}function ls(e,t){return 4&e.type?new B1(t,e,sr(e,t)):null}let lt=(()=>{class t{}return t.__NG_ELEMENT_ID__=G1,t})();function G1(){return Pm(Se(),_())}const W1=lt,Tm=class extends W1{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return sr(this._hostTNode,this._hostLView)}get injector(){return new Ve(this._hostTNode,this._hostLView)}get parentInjector(){const t=di(this._hostTNode,this._hostLView);if(ka(t)){const n=$r(t,this._hostLView),r=qr(t);return new Ve(n[A].data[r+8],n)}return new Ve(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=km(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Ae}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function Wr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const C=n||{};a=C.index,r=C.injector,o=C.projectableNodes,i=C.environmentInjector||C.ngModuleRef}const l=s?t:new uo(K(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const w=(s?c:this.parentInjector).get(Vt,null);w&&(i=w)}K(l.componentType??{});const h=l.create(c,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function xD(e){return Re(e[de])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const c=o[de],u=new Tm(c,c[Te],c[de]);u.detach(u.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return L1(a,o,s,!r),t.attachToViewContainerRef(),yf(Dc(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=km(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ei(this._lContainer,n);r&&(pi(Dc(this._lContainer),n),Za(r[A],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ei(this._lContainer,n);return r&&null!=pi(Dc(this._lContainer),n)?new co(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function km(e){return e[8]}function Dc(e){return e[8]||(e[8]=[])}function Pm(e,t){let n;const r=t[e.index];return Re(r)?n=r:(n=ch(r,t,null,e),t[e.index]=n,qi(t,n)),xm(n,t,e,r),new Tm(n,e,t)}let xm=function Nm(e,t,n,r){if(e[Et])return;let o;o=8&n.type?ae(r):function Y1(e,t){const n=e[H],r=n.createComment(""),o=We(t,e);return Dn(n,bi(n,o),r,function fw(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Et]=o};class _c{constructor(t){this.queryList=t,this.matches=null}clone(){return new _c(this.queryList)}setDirty(){this.queryList.setDirty()}}class wc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{const c=i[a+1],u=t[-l];for(let d=Ae;d{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=se(bA,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const i of this.appInits){const s=i();if(rc(s))r.push(s);else if($h(s)){const a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});r.push(a)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),0===r.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=re({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const qt=new U("LocaleId",{providedIn:"root",factory:()=>se(qt,W.Optional|W.SkipSelf)||function AA(){return typeof $localize<"u"&&$localize.locale||_r}()});let TA=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new MC(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=re({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const sv=new U(""),gs=new U("");let Rc,Nc=(()=>{var e;class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Rc||(function ZA(e){Rc=e}(i),i.addToWindow(o)),this._watchAngularEvents(),r.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:()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(r)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!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(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(Y(pe),Y(Oc),Y(gs))},e.\u0275prov=re({token:e,factory:e.\u0275fac}),t})(),Oc=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return Rc?.findTestabilityInTree(this,r,o)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=re({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),sn=null;const av=new U("AllowMultipleToken"),Fc=new U("PlatformDestroyListeners"),lv=new U("appBootstrapListener");function dv(e,t,n=[]){const r=`Platform: ${t}`,o=new U(r);return(i=[])=>{let s=Lc();if(!s||s.injector.get(av,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function JA(e){if(sn&&!sn.get(av,!1))throw new T(400,!1);(function cv(){!function vD(e){Sd=e}(()=>{throw new T(600,!1)})})(),sn=e;const t=e.get(pv);(function uv(e){e.get(wp,null)?.forEach(n=>n())})(e)}(function fv(e=[],t){return Ke.create({name:t,providers:[{provide:fl,useValue:"platform"},{provide:Fc,useValue:new Set([()=>sn=null])},...e]})}(a,r))}return function tM(e){const t=Lc();if(!t)throw new T(401,!1);return t}()}}function Lc(){return sn?.get(pv)??null}let pv=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){const i=function nM(e="zone.js",t){return"noop"===e?new T0:"zone.js"===e?new pe(t):e}(o?.ngZone,function hv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{const s=function l1(e,t,n){return new gc(e,t,n)}(r.moduleType,this.injector,function Cv(e){return[{provide:pe,useFactory:e},{provide:ki,multi:!0,useFactory:()=>{const t=se(oM,{optional:!0});return()=>t.initialize()}},{provide:yv,useFactory:rM},{provide:jp,useFactory:Hp}]}(()=>i)),a=s.injector.get(jt,null);return i.runOutsideAngular(()=>{const l=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{ms(this._modules,s),l.unsubscribe()})}),function gv(e,t,n){try{const r=n();return rc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(a,i,()=>{const l=s.injector.get(kc);return l.runInitializers(),l.donePromise.then(()=>(function Hg(e){ot(e,"Expected localeId to be defined"),"string"==typeof e&&(jg=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(qt,_r)||_r),this._moduleDoBootstrap(s),s))})})}bootstrapModule(r,o=[]){const i=mv({},o);return function QA(e,t,n){const r=new mc(n);return Promise.resolve(r)}(0,0,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){const o=r.injector.get(br);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>o.bootstrap(i));else{if(!r.instance.ngDoBootstrap)throw new T(-403,!1);r.instance.ngDoBootstrap(o)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new T(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const r=this._injector.get(Fc,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(Y(Ke))},e.\u0275prov=re({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function mv(e,t){return Array.isArray(t)?t.reduce(mv,e):{...e,...t}}let br=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=se(yv),this.zoneIsStable=se(jp),this.componentTypes=[],this.components=[],this.isStable=se(TA).hasPendingTasks.pipe(function TC(e,t){return fn((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(pn(r,l=>{o?.unsubscribe();let c=0;const u=i++;Pt(e(l,u)).subscribe(o=pn(r,d=>r.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(r=>r?function SC(...e){return $u(e,Hu(e))}(!1):this.zoneIsStable),function kC(e,t=Hs){return e=e??PC,fn((n,r)=>{let o,i=!0;n.subscribe(pn(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),Gu()),this._injector=se(Vt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){const i=r instanceof Mp;if(!this._injector.get(kc).done)throw!i&&function xr(e){const t=K(e)||Ie(e)||Oe(e);return null!==t&&t.standalone}(r),new T(405,!1);let a;a=i?r:this._injector.get(io).resolveComponentFactory(r),this.componentTypes.push(a.componentType);const l=function XA(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Sn),u=a.create(Ke.NULL,[],o||a.selector,l),d=u.location.nativeElement,f=u.injector.get(sv,null);return f?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),ms(this.components,u),f?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new T(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){const o=r;ms(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const o=this._injector.get(lv,[]);o.push(...this._bootstrapListeners),o.forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>ms(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new T(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=re({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function ms(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const yv=new U("",{providedIn:"root",factory:()=>se(jt).handleError.bind(void 0)});function rM(){const e=se(pe),t=se(jt);return n=>e.runOutsideAngular(()=>t.handleError(n))}let oM=(()=>{var e;class t{constructor(){this.zone=se(pe),this.applicationRef=se(br)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=re({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();let _v=(()=>{class t{}return t.__NG_ELEMENT_ID__=sM,t})();function sM(e){return function aM(e,t,n){if(mn(e)&&!n){const r=et(e.index,t);return new co(r,r)}return 47&e.type?new co(t[ye],t):null}(Se(),_(),16==(16&e))}class bv{constructor(){}supports(t){return Yi(t)}create(t){return new pM(t)}}const fM=(e,t)=>t;class pM{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||fM}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),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,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new hM(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Iv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Iv),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class hM{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class gM{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,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Iv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new gM,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Av(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{var e;class t{constructor(r){this.factories=r}static create(r,o){if(null!=o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||Sv()),deps:[[t,new ja,new Ba]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(null!=o)return o;throw new T(901,!1)}}return(e=t).\u0275prov=re({token:e,providedIn:"root",factory:Sv}),t})();const DM=dv(null,"core",[]);let _M=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(Y(br))},e.\u0275mod=Nn({type:e}),e.\u0275inj=gn({}),t})(),zc=null;function qc(){return zc}class OM{}const an=new U("DocumentToken");class ES{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}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}}let Yv=(()=>{var e;class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const r=this._ngForOf;!this._differ&&r&&(this._differ=this._differs.find(r).create(this.ngForTrackBy))}if(this._differ){const r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){const o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(null==i.previousIndex)o.createEmbeddedView(this._template,new ES(i.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)o.remove(null===s?void 0:s);else if(null!==s){const l=o.get(s);o.move(l,a),Kv(l,i)}});for(let i=0,s=o.length;i{Kv(o.get(i.currentIndex),i)})}static ngTemplateContextGuard(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(x(lt),x(zt),x(Cs))},e.\u0275dir=Ne({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function Kv(e,t){e.context.$implicit=t.item}let Zv=(()=>{var e;class t{constructor(r,o){this._viewContainer=r,this._context=new bS,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){Qv("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Qv("ngIfElse",r),this._elseTemplateRef=r,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(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(x(lt),x(zt))},e.\u0275dir=Ne({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class bS{constructor(){this.$implicit=null,this.ngIf=null}}function Qv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${_e(t)}'.`)}let Jv=(()=>{var e;class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(r.ngTemplateOutlet||r.ngTemplateOutletInjector){const o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:i,ngTemplateOutletContext:s,ngTemplateOutletInjector:a}=this;this._viewRef=o.createEmbeddedView(i,s,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&r.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(e=t).\u0275fac=function(r){return new(r||e)(x(lt))},e.\u0275dir=Ne({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Hr]}),t})(),ty=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Nn({type:e}),e.\u0275inj=gn({}),t})();const ny="browser";function ry(e){return"server"===e}class IT extends OM{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class au extends IT{static makeCurrent(){!function NM(e){zc||(zc=e)}(new au)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||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,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function AT(){return Po=Po||document.querySelector("base"),Po?Po.getAttribute("href"):null}();return null==n?null:function MT(e){Ns=Ns||document.createElement("a"),Ns.setAttribute("href",e);const t=Ns.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Po=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function DS(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Ns,Po=null,TT=(()=>{var e;class t{build(){return new XMLHttpRequest}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=re({token:e,factory:e.\u0275fac}),t})();const lu=new U("EventManagerPlugins");let ly=(()=>{var e;class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new T(5101,!1);return this._eventNameToPlugin.set(r,o),o}}return(e=t).\u0275fac=function(r){return new(r||e)(Y(lu),Y(pe))},e.\u0275prov=re({token:e,factory:e.\u0275fac}),t})();class cy{constructor(t){this._doc=t}}const cu="ng-app-id";let uy=(()=>{var e;class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ry(s),this.resetHostNodes()}addStyles(r){for(const o of r)1===this.changeUsageCount(o,1)&&this.onStyleAdded(o)}removeStyles(r){for(const o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){const r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(const o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(const o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(const o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){const o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){const r=this.doc.head?.querySelectorAll(`style[${cu}="${this.appId}"]`);if(r?.length){const o=new Map;return r.forEach(i=>{null!=i.textContent&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){const i=this.styleRef;if(i.has(r)){const s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){const i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(cu),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(cu,this.appId),a}}addStyleToHost(r,o){const i=this.getStyleElement(r,o);r.appendChild(i);const s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){const r=this.hostNodes;r.clear(),r.add(this.doc.head)}}return(e=t).\u0275fac=function(r){return new(r||e)(Y(an),Y(Ri),Y(Ep,8),Y(wn))},e.\u0275prov=re({token:e,factory:e.\u0275fac}),t})();const uu={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/"},du=/%COMP%/g,NT=new U("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function fy(e,t){return t.map(n=>n.replace(du,e))}let py=(()=>{var e;class t{constructor(r,o,i,s,a,l,c,u=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=ry(l),this.defaultRenderer=new fu(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===dt.ShadowDom&&(o={...o,encapsulation:dt.Emulated});const i=this.getOrCreateRenderer(r,o);return i instanceof gy?i.applyToHost(r):i instanceof pu&&i.applyStyles(),i}getOrCreateRenderer(r,o){const i=this.rendererByCompId;let s=i.get(o.id);if(!s){const a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case dt.Emulated:s=new gy(c,u,o,this.appId,d,a,l,f);break;case dt.ShadowDom:return new LT(c,u,r,o,a,l,this.nonce,f);default:s=new pu(c,u,o,d,a,l,f)}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return(e=t).\u0275fac=function(r){return new(r||e)(Y(ly),Y(uy),Y(Ri),Y(NT),Y(an),Y(wn),Y(pe),Y(Ep))},e.\u0275prov=re({token:e,factory:e.\u0275fac}),t})();class fu{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(uu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(hy(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(hy(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new T(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=uu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=uu[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(nn.DashCase|nn.Important)?t.style.setProperty(n,r,o&nn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&nn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=qc().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function hy(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class LT extends fu{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=fy(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class pu extends fu{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?fy(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class gy extends pu{constructor(t,n,r,o,i,s,a,l){const c=o+"-"+r.id;super(t,n,r,i,s,a,l,c),this.contentAttr=function OT(e){return"_ngcontent-%COMP%".replace(du,e)}(c),this.hostAttr=function RT(e){return"_nghost-%COMP%".replace(du,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let VT=(()=>{var e;class t extends cy{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}}return(e=t).\u0275fac=function(r){return new(r||e)(Y(an))},e.\u0275prov=re({token:e,factory:e.\u0275fac}),t})();const my=["alt","control","meta","shift"],BT={"\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"},jT={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let HT=(()=>{var e;class t extends cy{constructor(r){super(r)}supports(r){return null!=t.parseEventName(r)}addEventListener(r,o,i){const s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>qc().onAndCancel(r,s.domEventName,a))}static parseEventName(r){const o=r.toLowerCase().split("."),i=o.shift();if(0===o.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(o.pop());let a="",l=o.indexOf("code");if(l>-1&&(o.splice(l,1),a="code."),my.forEach(u=>{const d=o.indexOf(u);d>-1&&(o.splice(d,1),a+=u+".")}),a+=s,0!=o.length||0===s.length)return null;const c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=BT[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),my.forEach(a=>{a!==i&&(0,jT[a])(r)&&(s+=a+".")}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return"esc"===r?"escape":r}}return(e=t).\u0275fac=function(r){return new(r||e)(Y(an))},e.\u0275prov=re({token:e,factory:e.\u0275fac}),t})();const $T=dv(DM,"browser",[{provide:wn,useValue:ny},{provide:wp,useValue:function UT(){au.makeCurrent()},multi:!0},{provide:an,useFactory:function qT(){return function Dw(e){rl=e}(document),document},deps:[]}]),GT=new U(""),Cy=[{provide:gs,useClass:class ST{addToWindow(t){ie.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new T(5103,!1);return i},ie.getAllAngularTestabilities=()=>t.getAllTestabilities(),ie.getAllAngularRootElements=()=>t.getAllRootElements(),ie.frameworkStabilizers||(ie.frameworkStabilizers=[]),ie.frameworkStabilizers.push(r=>{const o=ie.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?qc().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:sv,useClass:Nc,deps:[pe,Oc,gs]},{provide:Nc,useClass:Nc,deps:[pe,Oc,gs]}],Dy=[{provide:fl,useValue:"root"},{provide:jt,useFactory:function zT(){return new jt},deps:[]},{provide:lu,useClass:VT,multi:!0,deps:[an,pe,wn]},{provide:lu,useClass:HT,multi:!0,deps:[an]},py,uy,ly,{provide:Tp,useExisting:py},{provide:class nT{},useClass:TT,deps:[]},[]];let WT=(()=>{var e;class t{constructor(r){}static withServerTransition(r){return{ngModule:t,providers:[{provide:Ri,useValue:r.appId}]}}}return(e=t).\u0275fac=function(r){return new(r||e)(Y(GT,12))},e.\u0275mod=Nn({type:e}),e.\u0275inj=gn({providers:[...Dy,...Cy],imports:[ty,_M]}),t})();function xo(e){return(xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function m(e,t,n){return(t=function tk(e){var t=function ek(e,t){if("object"!==xo(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==xo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===xo(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}typeof window<"u"&&window;var Ue=function(e){return e[e.HEX=0]="HEX",e[e.RGBA=1]="RGBA",e[e.HSLA=2]="HSLA",e[e.CMYK=3]="CMYK",e}(Ue||{});class Wt{constructor(t,n,r,o){m(this,"r",void 0),m(this,"g",void 0),m(this,"b",void 0),m(this,"a",void 0),this.r=t,this.g=n,this.b=r,this.a=o}}class Os{constructor(t,n,r,o){m(this,"h",void 0),m(this,"s",void 0),m(this,"v",void 0),m(this,"a",void 0),this.h=t,this.s=n,this.v=r,this.a=o}}class kn{constructor(t,n,r,o){m(this,"h",void 0),m(this,"s",void 0),m(this,"l",void 0),m(this,"a",void 0),this.h=t,this.s=n,this.l=r,this.a=o}}class Pn{constructor(t,n,r,o,i=1){m(this,"c",void 0),m(this,"m",void 0),m(this,"y",void 0),m(this,"k",void 0),m(this,"a",void 0),this.c=t,this.m=n,this.y=r,this.k=o,this.a=i}}let ok=(()=>{var e;class t{constructor(){m(this,"rg",void 0),m(this,"text",void 0),m(this,"newValue",new ue)}inputChange(r){const o=r.target.value;if(void 0===this.rg)this.newValue.emit(o);else{const i=parseFloat(o);this.newValue.emit({v:i,rg:this.rg})}}}return e=t,m(t,"\u0275fac",function(r){return new(r||e)}),m(t,"\u0275dir",Ne({type:e,selectors:[["","text",""]],hostBindings:function(r,o){1&r&&k("input",function(s){return o.inputChange(s)})},inputs:{rg:"rg",text:"text"},outputs:{newValue:"newValue"}})),t})(),ik=(()=>{var e;class t{mouseDown(r){this.start(r)}touchStart(r){this.start(r)}constructor(r){m(this,"elRef",void 0),m(this,"listenerMove",void 0),m(this,"listenerStop",void 0),m(this,"rgX",void 0),m(this,"rgY",void 0),m(this,"slider",void 0),m(this,"dragEnd",new ue),m(this,"dragStart",new ue),m(this,"newValue",new ue),this.elRef=r,this.listenerMove=o=>this.move(o),this.listenerStop=()=>this.stop()}move(r){r.preventDefault(),this.setCursor(r)}start(r){this.setCursor(r),r.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(r){const o=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==r.pageX?r.pageX:r.touches[0].pageX)-o.left-window.pageXOffset}getY(r){const o=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==r.pageY?r.pageY:r.touches[0].pageY)-o.top-window.pageYOffset}setCursor(r){const o=this.elRef.nativeElement.offsetWidth,i=this.elRef.nativeElement.offsetHeight,s=Math.max(0,Math.min(this.getX(r),o)),a=Math.max(0,Math.min(this.getY(r),i));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:s/o,v:1-a/i,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:a/i,rgY:this.rgY}):void 0!==this.rgX&&void 0===this.rgY&&this.newValue.emit({v:s/o,rgX:this.rgX})}}return e=t,m(t,"\u0275fac",function(r){return new(r||e)(x(Bt))}),m(t,"\u0275dir",Ne({type:e,selectors:[["","slider",""]],hostBindings:function(r,o){1&r&&k("mousedown",function(s){return o.mouseDown(s)})("touchstart",function(s){return o.touchStart(s)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}})),t})();class by{constructor(t,n,r,o){m(this,"h",void 0),m(this,"s",void 0),m(this,"v",void 0),m(this,"a",void 0),this.h=t,this.s=n,this.v=r,this.a=o}}class Iy{constructor(t,n,r,o){m(this,"h",void 0),m(this,"s",void 0),m(this,"v",void 0),m(this,"a",void 0),this.h=t,this.s=n,this.v=r,this.a=o}}let Rs=(()=>{var e;class t{constructor(){m(this,"active",null)}setActive(r){this.active&&this.active!==r&&"inline"!==this.active.cpDialogDisplay&&this.active.closeDialog(),this.active=r}hsva2hsla(r){const o=r.h,i=r.s,s=r.v,a=r.a;if(0===s)return new kn(o,0,0,a);if(0===i&&1===s)return new kn(o,1,1,a);{const l=s*(2-i)/2;return new kn(o,s*i/(1-Math.abs(2*l-1)),l,a)}}hsla2hsva(r){const o=Math.min(r.h,1),i=Math.min(r.s,1),s=Math.min(r.l,1),a=Math.min(r.a,1);if(0===s)return new Os(o,0,0,a);{const l=s+i*(1-Math.abs(2*s-1))/2;return new Os(o,2*(l-s)/l,l,a)}}hsvaToRgba(r){let o,i,s;const a=r.h,l=r.s,c=r.v,u=r.a,d=Math.floor(6*a),f=6*a-d,h=c*(1-l),y=c*(1-f*l),C=c*(1-(1-f)*l);switch(d%6){case 0:o=c,i=C,s=h;break;case 1:o=y,i=c,s=h;break;case 2:o=h,i=c,s=C;break;case 3:o=h,i=y,s=c;break;case 4:o=C,i=h,s=c;break;case 5:o=c,i=h,s=y;break;default:o=0,i=0,s=0}return new Wt(o,i,s,u)}cmykToRgb(r){return new Wt((1-r.c)*(1-r.k),(1-r.m)*(1-r.k),(1-r.y)*(1-r.k),r.a)}rgbaToCmyk(r){const o=1-Math.max(r.r,r.g,r.b);return 1===o?new Pn(0,0,0,1,r.a):new Pn((1-r.r-o)/(1-o),(1-r.g-o)/(1-o),(1-r.b-o)/(1-o),o,r.a)}rgbaToHsva(r){let o,i;const s=Math.min(r.r,1),a=Math.min(r.g,1),l=Math.min(r.b,1),c=Math.min(r.a,1),u=Math.max(s,a,l),d=Math.min(s,a,l),f=u,h=u-d;if(i=0===u?0:h/u,u===d)o=0;else{switch(u){case s:o=(a-l)/h+(a=n.cpMaxPresetColorsLength),b(1),vo(" ",n.cpAddColorButtonText," ")}}function pk(e,t){1&e&&M(0,"div",33)}function hk(e,t){if(1&e){const n=be();g(0,"input",39),k("keyup.enter",function(o){return V(n),B(S(2).onAcceptColor(o))})("newValue",function(o){return V(n),B(S(2).onAlphaInput(o))}),p()}if(2&e){const n=S(2);I("rg",1)("value",null==n.cmykText?null:n.cmykText.a)}}function gk(e,t){1&e&&(g(0,"div"),v(1,"A"),p())}function mk(e,t){if(1&e){const n=be();g(0,"div",34)(1,"div",35)(2,"input",36),k("keyup.enter",function(o){return V(n),B(S().onAcceptColor(o))})("newValue",function(o){return V(n),B(S().onCyanInput(o))}),p(),g(3,"input",36),k("keyup.enter",function(o){return V(n),B(S().onAcceptColor(o))})("newValue",function(o){return V(n),B(S().onMagentaInput(o))}),p(),g(4,"input",36),k("keyup.enter",function(o){return V(n),B(S().onAcceptColor(o))})("newValue",function(o){return V(n),B(S().onYellowInput(o))}),p(),g(5,"input",36),k("keyup.enter",function(o){return V(n),B(S().onAcceptColor(o))})("newValue",function(o){return V(n),B(S().onBlackInput(o))}),p(),X(6,hk,1,2,"input",37),p(),g(7,"div",35)(8,"div"),v(9,"C"),p(),g(10,"div"),v(11,"M"),p(),g(12,"div"),v(13,"Y"),p(),g(14,"div"),v(15,"K"),p(),X(16,gk,2,0,"div",38),p()()}if(2&e){const n=S();O("display",3!==n.format?"none":"block"),b(2),I("rg",100)("value",null==n.cmykText?null:n.cmykText.c),b(1),I("rg",100)("value",null==n.cmykText?null:n.cmykText.m),b(1),I("rg",100)("value",null==n.cmykText?null:n.cmykText.y),b(1),I("rg",100)("value",null==n.cmykText?null:n.cmykText.k),b(1),I("ngIf","disabled"!==n.cpAlphaChannel),b(10),I("ngIf","disabled"!==n.cpAlphaChannel)}}function vk(e,t){if(1&e){const n=be();g(0,"input",39),k("keyup.enter",function(o){return V(n),B(S(2).onAcceptColor(o))})("newValue",function(o){return V(n),B(S(2).onAlphaInput(o))}),p()}if(2&e){const n=S(2);I("rg",1)("value",null==n.hslaText?null:n.hslaText.a)}}function yk(e,t){1&e&&(g(0,"div"),v(1,"A"),p())}function Ck(e,t){if(1&e){const n=be();g(0,"div",40)(1,"div",35)(2,"input",41),k("keyup.enter",function(o){return V(n),B(S().onAcceptColor(o))})("newValue",function(o){return V(n),B(S().onHueInput(o))}),p(),g(3,"input",36),k("keyup.enter",function(o){return V(n),B(S().onAcceptColor(o))})("newValue",function(o){return V(n),B(S().onSaturationInput(o))}),p(),g(4,"input",36),k("keyup.enter",function(o){return V(n),B(S().onAcceptColor(o))})("newValue",function(o){return V(n),B(S().onLightnessInput(o))}),p(),X(5,vk,1,2,"input",37),p(),g(6,"div",35)(7,"div"),v(8,"H"),p(),g(9,"div"),v(10,"S"),p(),g(11,"div"),v(12,"L"),p(),X(13,yk,2,0,"div",38),p()()}if(2&e){const n=S();O("display",2!==n.format?"none":"block"),b(2),I("rg",360)("value",null==n.hslaText?null:n.hslaText.h),b(1),I("rg",100)("value",null==n.hslaText?null:n.hslaText.s),b(1),I("rg",100)("value",null==n.hslaText?null:n.hslaText.l),b(1),I("ngIf","disabled"!==n.cpAlphaChannel),b(8),I("ngIf","disabled"!==n.cpAlphaChannel)}}function Dk(e,t){if(1&e){const n=be();g(0,"input",39),k("keyup.enter",function(o){return V(n),B(S(2).onAcceptColor(o))})("newValue",function(o){return V(n),B(S(2).onAlphaInput(o))}),p()}if(2&e){const n=S(2);I("rg",1)("value",null==n.rgbaText?null:n.rgbaText.a)}}function _k(e,t){1&e&&(g(0,"div"),v(1,"A"),p())}function wk(e,t){if(1&e){const n=be();g(0,"div",42)(1,"div",35)(2,"input",43),k("keyup.enter",function(o){return V(n),B(S().onAcceptColor(o))})("newValue",function(o){return V(n),B(S().onRedInput(o))}),p(),g(3,"input",43),k("keyup.enter",function(o){return V(n),B(S().onAcceptColor(o))})("newValue",function(o){return V(n),B(S().onGreenInput(o))}),p(),g(4,"input",43),k("keyup.enter",function(o){return V(n),B(S().onAcceptColor(o))})("newValue",function(o){return V(n),B(S().onBlueInput(o))}),p(),X(5,Dk,1,2,"input",37),p(),g(6,"div",35)(7,"div"),v(8,"R"),p(),g(9,"div"),v(10,"G"),p(),g(11,"div"),v(12,"B"),p(),X(13,_k,2,0,"div",38),p()()}if(2&e){const n=S();O("display",1!==n.format?"none":"block"),b(2),I("rg",255)("value",null==n.rgbaText?null:n.rgbaText.r),b(1),I("rg",255)("value",null==n.rgbaText?null:n.rgbaText.g),b(1),I("rg",255)("value",null==n.rgbaText?null:n.rgbaText.b),b(1),I("ngIf","disabled"!==n.cpAlphaChannel),b(8),I("ngIf","disabled"!==n.cpAlphaChannel)}}function Ek(e,t){if(1&e){const n=be();g(0,"input",39),k("keyup.enter",function(o){return V(n),B(S(2).onAcceptColor(o))})("newValue",function(o){return V(n),B(S(2).onAlphaInput(o))}),p()}if(2&e){const n=S(2);I("rg",1)("value",n.hexAlpha)}}function bk(e,t){1&e&&(g(0,"div"),v(1,"A"),p())}function Ik(e,t){if(1&e){const n=be();g(0,"div",44)(1,"div",35)(2,"input",45),k("blur",function(){return V(n),B(S().onHexInput(null))})("keyup.enter",function(o){return V(n),B(S().onAcceptColor(o))})("newValue",function(o){return V(n),B(S().onHexInput(o))}),p(),X(3,Ek,1,2,"input",37),p(),g(4,"div",35)(5,"div"),v(6,"Hex"),p(),X(7,bk,2,0,"div",38),p()()}if(2&e){const n=S();O("display",0!==n.format?"none":"block"),ts("hex-alpha","forced"===n.cpAlphaChannel),b(2),I("value",n.hexText),b(1),I("ngIf","forced"===n.cpAlphaChannel),b(4),I("ngIf","forced"===n.cpAlphaChannel)}}function Ak(e,t){if(1&e){const n=be();g(0,"input",39),k("keyup.enter",function(o){return V(n),B(S(2).onAcceptColor(o))})("newValue",function(o){return V(n),B(S(2).onAlphaInput(o))}),p()}if(2&e){const n=S(2);I("rg",1)("value",null==n.hslaText?null:n.hslaText.a)}}function Mk(e,t){if(1&e){const n=be();g(0,"div",46)(1,"div",35)(2,"input",36),k("keyup.enter",function(o){return V(n),B(S().onAcceptColor(o))})("newValue",function(o){return V(n),B(S().onValueInput(o))}),p(),X(3,Ak,1,2,"input",37),p(),g(4,"div",35)(5,"div"),v(6,"V"),p(),g(7,"div"),v(8,"A"),p()()()}if(2&e){const n=S();b(2),I("rg",100)("value",null==n.hslaText?null:n.hslaText.l),b(1),I("ngIf","disabled"!==n.cpAlphaChannel)}}function Sk(e,t){if(1&e){const n=be();g(0,"div",47)(1,"span",48),k("click",function(){return V(n),B(S().onFormatToggle(-1))}),p(),g(2,"span",48),k("click",function(){return V(n),B(S().onFormatToggle(1))}),p()()}}function Tk(e,t){if(1&e){const n=be();g(0,"span",55),k("click",function(o){V(n);const i=S().$implicit;return B(S(3).onRemovePresetColor(o,i))}),p()}2&e&&In(S(4).cpRemoveColorButtonClass)}function kk(e,t){if(1&e){const n=be();g(0,"div",53),k("click",function(){const i=V(n).$implicit;return B(S(3).setColorFromString(i))}),X(1,Tk,1,3,"span",54),p()}if(2&e){const n=t.$implicit,r=S(3);O("background-color",n),b(1),I("ngIf",r.cpAddColorButton)}}function Pk(e,t){if(1&e&&(g(0,"div"),X(1,kk,2,3,"div",52),p()),2&e){const n=S(2);In(n.cpPresetColorsClass),b(1),I("ngForOf",n.cpPresetColors)}}function xk(e,t){if(1&e&&(g(0,"div"),v(1),p()),2&e){const n=S(2);In(n.cpPresetEmptyMessageClass),b(1),An(n.cpPresetEmptyMessage)}}function Nk(e,t){if(1&e&&(g(0,"div",49),M(1,"hr"),g(2,"div",50),v(3),p(),X(4,Pk,2,4,"div",51),X(5,xk,2,4,"div",51),p()),2&e){const n=S();b(3),An(n.cpPresetLabel),b(1),I("ngIf",null==n.cpPresetColors?null:n.cpPresetColors.length),b(1),I("ngIf",!(null!=n.cpPresetColors&&n.cpPresetColors.length)&&n.cpAddColorButton)}}function Ok(e,t){if(1&e){const n=be();g(0,"button",58),k("click",function(o){return V(n),B(S(2).onCancelColor(o))}),v(1),p()}if(2&e){const n=S(2);In(n.cpCancelButtonClass),b(1),An(n.cpCancelButtonText)}}function Rk(e,t){if(1&e){const n=be();g(0,"button",58),k("click",function(o){return V(n),B(S(2).onAcceptColor(o))}),v(1),p()}if(2&e){const n=S(2);In(n.cpOKButtonClass),b(1),An(n.cpOKButtonText)}}function Fk(e,t){if(1&e&&(g(0,"div",56),X(1,Ok,2,4,"button",57),X(2,Rk,2,4,"button",57),p()),2&e){const n=S();b(1),I("ngIf",n.cpCancelButton),b(1),I("ngIf",n.cpOKButton)}}function Lk(e,t){1&e&&nc(0)}function Vk(e,t){if(1&e&&(g(0,"div",59),X(1,Lk,1,0,"ng-container",60),p()),2&e){const n=S();b(1),I("ngTemplateOutlet",n.cpExtraTemplate)}}const Ay=typeof window<"u"&&"ontouchstart"in window;let Bk=(()=>{var e;class t{handleEsc(r){this.show&&"popup"===this.cpDialogDisplay&&this.onCancelColor(r)}handleEnter(r){this.show&&"popup"===this.cpDialogDisplay&&this.onAcceptColor(r)}constructor(r,o,i,s,a,l){m(this,"ngZone",void 0),m(this,"elRef",void 0),m(this,"cdRef",void 0),m(this,"document",void 0),m(this,"platformId",void 0),m(this,"service",void 0),m(this,"isIE10",!1),m(this,"cmyk",void 0),m(this,"hsva",void 0),m(this,"width",void 0),m(this,"height",void 0),m(this,"cmykColor",void 0),m(this,"outputColor",void 0),m(this,"initialColor",void 0),m(this,"fallbackColor",void 0),m(this,"listenerResize",void 0),m(this,"listenerMouseDown",void 0),m(this,"directiveInstance",void 0),m(this,"sliderH",void 0),m(this,"sliderDimMax",void 0),m(this,"directiveElementRef",void 0),m(this,"dialogArrowSize",10),m(this,"dialogArrowOffset",15),m(this,"dialogInputFields",[Ue.HEX,Ue.RGBA,Ue.HSLA,Ue.CMYK]),m(this,"useRootViewContainer",!1),m(this,"show",void 0),m(this,"hidden",void 0),m(this,"top",void 0),m(this,"left",void 0),m(this,"position",void 0),m(this,"format",void 0),m(this,"slider",void 0),m(this,"hexText",void 0),m(this,"hexAlpha",void 0),m(this,"cmykText",void 0),m(this,"hslaText",void 0),m(this,"rgbaText",void 0),m(this,"arrowTop",void 0),m(this,"selectedColor",void 0),m(this,"hueSliderColor",void 0),m(this,"alphaSliderColor",void 0),m(this,"cpWidth",void 0),m(this,"cpHeight",void 0),m(this,"cpColorMode",void 0),m(this,"cpCmykEnabled",void 0),m(this,"cpAlphaChannel",void 0),m(this,"cpOutputFormat",void 0),m(this,"cpDisableInput",void 0),m(this,"cpDialogDisplay",void 0),m(this,"cpIgnoredElements",void 0),m(this,"cpSaveClickOutside",void 0),m(this,"cpCloseClickOutside",void 0),m(this,"cpPosition",void 0),m(this,"cpUsePosition",void 0),m(this,"cpPositionOffset",void 0),m(this,"cpOKButton",void 0),m(this,"cpOKButtonText",void 0),m(this,"cpOKButtonClass",void 0),m(this,"cpCancelButton",void 0),m(this,"cpCancelButtonText",void 0),m(this,"cpCancelButtonClass",void 0),m(this,"cpEyeDropper",void 0),m(this,"eyeDropperSupported",void 0),m(this,"cpPresetLabel",void 0),m(this,"cpPresetColors",void 0),m(this,"cpPresetColorsClass",void 0),m(this,"cpMaxPresetColorsLength",void 0),m(this,"cpPresetEmptyMessage",void 0),m(this,"cpPresetEmptyMessageClass",void 0),m(this,"cpAddColorButton",void 0),m(this,"cpAddColorButtonText",void 0),m(this,"cpAddColorButtonClass",void 0),m(this,"cpRemoveColorButtonClass",void 0),m(this,"cpArrowPosition",void 0),m(this,"cpTriggerElement",void 0),m(this,"cpExtraTemplate",void 0),m(this,"dialogElement",void 0),m(this,"hueSlider",void 0),m(this,"alphaSlider",void 0),this.ngZone=r,this.elRef=o,this.cdRef=i,this.document=s,this.platformId=a,this.service=l,this.eyeDropperSupported=function eT(e){return e===ny}(this.platformId)&&"EyeDropper"in this.document.defaultView}ngOnInit(){this.slider=new by(0,0,0,0),this.sliderDimMax=new Iy(this.hueSlider.nativeElement.offsetWidth||140,this.cpWidth,130,this.alphaSlider.nativeElement.offsetWidth||140),this.format=this.cpCmykEnabled?Ue.CMYK:"rgba"===this.cpOutputFormat?Ue.RGBA:"hsla"===this.cpOutputFormat?Ue.HSLA:Ue.HEX,this.listenerMouseDown=i=>{this.onMouseDown(i)},this.listenerResize=()=>{this.onResize()},this.openDialog(this.initialColor,!1)}ngOnDestroy(){this.closeDialog()}ngAfterViewInit(){230===this.cpWidth&&"inline"!==this.cpDialogDisplay||(this.sliderDimMax=new Iy(this.hueSlider.nativeElement.offsetWidth||140,this.cpWidth,130,this.alphaSlider.nativeElement.offsetWidth||140),this.updateColorPicker(!1),this.cdRef.detectChanges())}openDialog(r,o=!0){this.service.setActive(this),this.width||(this.cpWidth=this.directiveElementRef.nativeElement.offsetWidth),this.height||(this.height=320),this.setInitialColor(r),this.setColorFromString(r,o),this.openColorPicker()}closeDialog(){this.closeColorPicker()}setupDialog(r,o,i,s,a,l,c,u,d,f,h,y,C,w,E,D,P,N,$,xe,Ct,cn,No,gu,mu,Kk,Zk,Qk,Xk,Jk,eP,tP,nP,rP,oP,iP,sP,aP){this.setInitialColor(i),this.setColorMode(u),this.isIE10=10===function rk(){let e="";typeof navigator<"u"&&(e=navigator.userAgent.toLowerCase());const t=e.indexOf("msie ");return t>0&&parseInt(e.substring(t+5,e.indexOf(".",t)),10)}(),this.directiveInstance=r,this.directiveElementRef=o,this.cpDisableInput=y,this.cpCmykEnabled=d,this.cpAlphaChannel=f,this.cpOutputFormat=h,this.cpDialogDisplay=l,this.cpIgnoredElements=C,this.cpSaveClickOutside=w,this.cpCloseClickOutside=E,this.useRootViewContainer=D,this.width=this.cpWidth=parseInt(s,10),this.height=this.cpHeight=parseInt(a,10),this.cpPosition=P,this.cpPositionOffset=parseInt(N,10),this.cpOKButton=Kk,this.cpOKButtonText=Qk,this.cpOKButtonClass=Zk,this.cpCancelButton=Xk,this.cpCancelButtonText=eP,this.cpCancelButtonClass=Jk,this.cpEyeDropper=iP,this.fallbackColor=c||"#fff",this.setPresetConfig(xe,Ct),this.cpPresetColorsClass=cn,this.cpMaxPresetColorsLength=No,this.cpPresetEmptyMessage=gu,this.cpPresetEmptyMessageClass=mu,this.cpAddColorButton=tP,this.cpAddColorButtonText=rP,this.cpAddColorButtonClass=nP,this.cpRemoveColorButtonClass=oP,this.cpTriggerElement=sP,this.cpExtraTemplate=aP,$||(this.dialogArrowOffset=0),"inline"===l&&(this.dialogArrowSize=0,this.dialogArrowOffset=0),"hex"===h&&"always"!==f&&"forced"!==f&&(this.cpAlphaChannel="disabled")}setColorMode(r){switch(r.toString().toUpperCase()){case"1":case"C":case"COLOR":default:this.cpColorMode=1;break;case"2":case"G":case"GRAYSCALE":this.cpColorMode=2;break;case"3":case"P":case"PRESETS":this.cpColorMode=3}}setInitialColor(r){this.initialColor=r}setPresetConfig(r,o){this.cpPresetLabel=r,this.cpPresetColors=o}setColorFromString(r,o=!0,i=!0){let s;"always"===this.cpAlphaChannel||"forced"===this.cpAlphaChannel?(s=this.service.stringToHsva(r,!0),!s&&!this.hsva&&(s=this.service.stringToHsva(r,!1))):s=this.service.stringToHsva(r,!1),!s&&!this.hsva&&(s=this.service.stringToHsva(this.fallbackColor,!1)),s&&(this.hsva=s,this.sliderH=this.hsva.h,"hex"===this.cpOutputFormat&&"disabled"===this.cpAlphaChannel&&(this.hsva.a=1),this.updateColorPicker(o,i))}onResize(){"fixed"===this.position?this.setDialogPosition():"inline"!==this.cpDialogDisplay&&this.closeColorPicker()}onDragEnd(r){this.directiveInstance.sliderDragEnd({slider:r,color:this.outputColor})}onDragStart(r){this.directiveInstance.sliderDragStart({slider:r,color:this.outputColor})}onMouseDown(r){this.show&&!this.isIE10&&"popup"===this.cpDialogDisplay&&r.target!==this.directiveElementRef.nativeElement&&!this.isDescendant(this.elRef.nativeElement,r.target)&&!this.isDescendant(this.directiveElementRef.nativeElement,r.target)&&0===this.cpIgnoredElements.filter(o=>o===r.target).length&&this.ngZone.run(()=>{this.cpSaveClickOutside?this.directiveInstance.colorSelected(this.outputColor):(this.hsva=null,this.setColorFromString(this.initialColor,!1),this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.initialColor),this.directiveInstance.colorCanceled()),this.cpCloseClickOutside&&this.closeColorPicker()})}onAcceptColor(r){r.stopPropagation(),this.outputColor&&this.directiveInstance.colorSelected(this.outputColor),"popup"===this.cpDialogDisplay&&this.closeColorPicker()}onCancelColor(r){this.hsva=null,r.stopPropagation(),this.directiveInstance.colorCanceled(),this.setColorFromString(this.initialColor,!0),"popup"===this.cpDialogDisplay&&(this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.initialColor,!0),this.closeColorPicker())}onEyeDropper(){this.eyeDropperSupported&&(new window.EyeDropper).open().then(o=>{this.setColorFromString(o.sRGBHex,!0)})}onFormatToggle(r){const o=this.dialogInputFields.length-(this.cpCmykEnabled?0:1),i=((this.dialogInputFields.indexOf(this.format)+r)%o+o)%o;this.format=this.dialogInputFields[i]}onColorChange(r){this.hsva.s=r.s/r.rgX,this.hsva.v=r.v/r.rgY,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"lightness",value:this.hsva.v,color:this.outputColor}),this.directiveInstance.sliderChanged({slider:"saturation",value:this.hsva.s,color:this.outputColor})}onHueChange(r){this.hsva.h=r.v/r.rgX,this.sliderH=this.hsva.h,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"hue",value:this.hsva.h,color:this.outputColor})}onValueChange(r){this.hsva.v=r.v/r.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"value",value:this.hsva.v,color:this.outputColor})}onAlphaChange(r){this.hsva.a=r.v/r.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"alpha",value:this.hsva.a,color:this.outputColor})}onHexInput(r){if(null===r)this.updateColorPicker();else{r&&"#"!==r[0]&&(r="#"+r);let o=/^#([a-f0-9]{3}|[a-f0-9]{6})$/gi;"always"===this.cpAlphaChannel&&(o=/^#([a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})$/gi);const i=o.test(r);i&&(r.length<5&&(r="#"+r.substring(1).split("").map(s=>s+s).join("")),"forced"===this.cpAlphaChannel&&(r+=Math.round(255*this.hsva.a).toString(16)),this.setColorFromString(r,!0,!1)),this.directiveInstance.inputChanged({input:"hex",valid:i,value:r,color:this.outputColor})}}onRedInput(r){const o=this.service.hsvaToRgba(this.hsva),i=!isNaN(r.v)&&r.v>=0&&r.v<=r.rg;i&&(o.r=r.v/r.rg,this.hsva=this.service.rgbaToHsva(o),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"red",valid:i,value:o.r,color:this.outputColor})}onBlueInput(r){const o=this.service.hsvaToRgba(this.hsva),i=!isNaN(r.v)&&r.v>=0&&r.v<=r.rg;i&&(o.b=r.v/r.rg,this.hsva=this.service.rgbaToHsva(o),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"blue",valid:i,value:o.b,color:this.outputColor})}onGreenInput(r){const o=this.service.hsvaToRgba(this.hsva),i=!isNaN(r.v)&&r.v>=0&&r.v<=r.rg;i&&(o.g=r.v/r.rg,this.hsva=this.service.rgbaToHsva(o),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"green",valid:i,value:o.g,color:this.outputColor})}onHueInput(r){const o=!isNaN(r.v)&&r.v>=0&&r.v<=r.rg;o&&(this.hsva.h=r.v/r.rg,this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"hue",valid:o,value:this.hsva.h,color:this.outputColor})}onValueInput(r){const o=!isNaN(r.v)&&r.v>=0&&r.v<=r.rg;o&&(this.hsva.v=r.v/r.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"value",valid:o,value:this.hsva.v,color:this.outputColor})}onAlphaInput(r){const o=!isNaN(r.v)&&r.v>=0&&r.v<=r.rg;o&&(this.hsva.a=r.v/r.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"alpha",valid:o,value:this.hsva.a,color:this.outputColor})}onLightnessInput(r){const o=this.service.hsva2hsla(this.hsva),i=!isNaN(r.v)&&r.v>=0&&r.v<=r.rg;i&&(o.l=r.v/r.rg,this.hsva=this.service.hsla2hsva(o),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"lightness",valid:i,value:o.l,color:this.outputColor})}onSaturationInput(r){const o=this.service.hsva2hsla(this.hsva),i=!isNaN(r.v)&&r.v>=0&&r.v<=r.rg;i&&(o.s=r.v/r.rg,this.hsva=this.service.hsla2hsva(o),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"saturation",valid:i,value:o.s,color:this.outputColor})}onCyanInput(r){!isNaN(r.v)&&r.v>=0&&r.v<=r.rg&&(this.cmyk.c=r.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"cyan",valid:!0,value:this.cmyk.c,color:this.outputColor})}onMagentaInput(r){!isNaN(r.v)&&r.v>=0&&r.v<=r.rg&&(this.cmyk.m=r.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"magenta",valid:!0,value:this.cmyk.m,color:this.outputColor})}onYellowInput(r){!isNaN(r.v)&&r.v>=0&&r.v<=r.rg&&(this.cmyk.y=r.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"yellow",valid:!0,value:this.cmyk.y,color:this.outputColor})}onBlackInput(r){!isNaN(r.v)&&r.v>=0&&r.v<=r.rg&&(this.cmyk.k=r.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"black",valid:!0,value:this.cmyk.k,color:this.outputColor})}onAddPresetColor(r,o){r.stopPropagation(),this.cpPresetColors.filter(i=>i===o).length||(this.cpPresetColors=this.cpPresetColors.concat(o),this.directiveInstance.presetColorsChanged(this.cpPresetColors))}onRemovePresetColor(r,o){r.stopPropagation(),this.cpPresetColors=this.cpPresetColors.filter(i=>i!==o),this.directiveInstance.presetColorsChanged(this.cpPresetColors)}openColorPicker(){this.show||(this.show=!0,this.hidden=!0,setTimeout(()=>{this.hidden=!1,this.setDialogPosition(),this.cdRef.detectChanges()},0),this.directiveInstance.stateChanged(!0),this.isIE10||this.ngZone.runOutsideAngular(()=>{Ay?document.addEventListener("touchstart",this.listenerMouseDown):document.addEventListener("mousedown",this.listenerMouseDown)}),window.addEventListener("resize",this.listenerResize))}closeColorPicker(){this.show&&(this.show=!1,this.directiveInstance.stateChanged(!1),this.isIE10||(Ay?document.removeEventListener("touchstart",this.listenerMouseDown):document.removeEventListener("mousedown",this.listenerMouseDown)),window.removeEventListener("resize",this.listenerResize),this.cdRef.destroyed||this.cdRef.detectChanges())}updateColorPicker(r=!0,o=!0,i=!1){if(this.sliderDimMax){let s,a,l;2===this.cpColorMode&&(this.hsva.s=0);const c=this.outputColor;if(a=this.service.hsva2hsla(this.hsva),this.cpCmykEnabled?(i?(l=this.service.cmykToRgb(this.service.normalizeCMYK(this.cmyk)),this.hsva=this.service.rgbaToHsva(l)):(l=this.service.hsvaToRgba(this.hsva),this.cmyk=this.service.denormalizeCMYK(this.service.rgbaToCmyk(l))),l=this.service.denormalizeRGBA(l),this.sliderH=this.hsva.h):l=this.service.denormalizeRGBA(this.service.hsvaToRgba(this.hsva)),s=this.service.denormalizeRGBA(this.service.hsvaToRgba(new Os(this.sliderH||this.hsva.h,1,1,1))),o&&(this.hslaText=new kn(Math.round(360*a.h),Math.round(100*a.s),Math.round(100*a.l),Math.round(100*a.a)/100),this.rgbaText=new Wt(l.r,l.g,l.b,Math.round(100*l.a)/100),this.cpCmykEnabled&&(this.cmykText=new Pn(this.cmyk.c,this.cmyk.m,this.cmyk.y,this.cmyk.k,Math.round(100*this.cmyk.a)/100)),this.hexText=this.service.rgbaToHex(l,"always"===this.cpAlphaChannel),this.hexAlpha=this.rgbaText.a),"auto"===this.cpOutputFormat&&this.format!==Ue.RGBA&&this.format!==Ue.CMYK&&this.format!==Ue.HSLA&&this.hsva.a<1&&(this.format=this.hsva.a<1?Ue.RGBA:Ue.HEX),this.hueSliderColor="rgb("+s.r+","+s.g+","+s.b+")",this.alphaSliderColor="rgb("+l.r+","+l.g+","+l.b+")",this.outputColor=this.service.outputFormat(this.hsva,this.cpOutputFormat,this.cpAlphaChannel),this.selectedColor=this.service.outputFormat(this.hsva,"rgba",null),this.format!==Ue.CMYK)this.cmykColor="";else if("always"===this.cpAlphaChannel||"enabled"===this.cpAlphaChannel||"forced"===this.cpAlphaChannel){const u=Math.round(100*this.cmyk.a)/100;this.cmykColor=`cmyka(${this.cmyk.c},${this.cmyk.m},${this.cmyk.y},${this.cmyk.k},${u})`}else this.cmykColor=`cmyk(${this.cmyk.c},${this.cmyk.m},${this.cmyk.y},${this.cmyk.k})`;this.slider=new by((this.sliderH||this.hsva.h)*this.sliderDimMax.h-8,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-8),r&&c!==this.outputColor&&(this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.outputColor))}}setDialogPosition(){if("inline"===this.cpDialogDisplay)this.position="relative";else{let i,r="static",o="",s=null,a=null,l=this.directiveElementRef.nativeElement.parentNode;const c=this.dialogElement.nativeElement.offsetHeight;for(;null!==l&&"HTML"!==l.tagName;){if(i=window.getComputedStyle(l),r=i.getPropertyValue("position"),o=i.getPropertyValue("transform"),"static"!==r&&null===s&&(s=l),o&&"none"!==o&&null===a&&(a=l),"fixed"===r){s=a;break}l=l.parentNode}const u=this.createDialogBox(this.directiveElementRef.nativeElement,"fixed"!==r);if(this.useRootViewContainer||"fixed"===r&&(!s||s instanceof HTMLUnknownElement))this.top=u.top,this.left=u.left;else{null===s&&(s=l);const D=this.createDialogBox(s,"fixed"!==r);this.top=u.top-D.top,this.left=u.left-D.left}"fixed"===r&&(this.position="fixed");let d=this.cpPosition;const f=this.dialogElement.nativeElement.getBoundingClientRect();switch("auto"===this.cpPosition&&(d=function nk(e,t){let n="right",r="bottom";const{height:o,width:i}=e,{top:s,left:a}=t,l=s+t.height,c=a+t.width,u=s-o<0,d=l+o>(window.innerHeight||document.documentElement.clientHeight),f=a-i<0,h=c+i>(window.innerWidth||document.documentElement.clientWidth);return d&&(r="top"),u&&(r="bottom"),f&&(n="right"),h&&(n="left"),u&&d&&f&&h?["left","right","top","bottom"].reduce((w,E)=>e[w]>e[E]?w:E):f&&h?u?"bottom":d||s>l?"top":"bottom":u&&d?f?"right":h||a>c?"left":"right":`${r}-${n}`}(f,this.cpTriggerElement.nativeElement.getBoundingClientRect())),this.arrowTop="top"===d?c-1:void 0,this.cpArrowPosition=void 0,d){case"top":this.top-=c+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*u.width-this.dialogArrowOffset;break;case"bottom":this.top+=u.height+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*u.width-this.dialogArrowOffset;break;case"top-left":case"left-top":this.top-=c-u.height+u.height*this.cpPositionOffset/100,this.left-=this.cpWidth+this.dialogArrowSize-2-this.dialogArrowOffset;break;case"top-right":case"right-top":this.top-=c-u.height+u.height*this.cpPositionOffset/100,this.left+=u.width+this.dialogArrowSize-2-this.dialogArrowOffset;break;case"left":case"bottom-left":case"left-bottom":this.top+=u.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left-=this.cpWidth+this.dialogArrowSize-2;break;default:this.top+=u.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left+=u.width+this.dialogArrowSize-2}const h=window.innerHeight,y=window.innerWidth,C=this.elRef.nativeElement.getBoundingClientRect();this.top+f.height>h&&(this.top=h-f.height,this.cpArrowPosition=C.x/2-20),this.left+f.width>y&&(this.left=y-f.width,this.cpArrowPosition=C.x/2-20),this.cpUsePosition=d}}isDescendant(r,o){let i=o.parentNode;for(;null!==i;){if(i===r)return!0;i=i.parentNode}return!1}createDialogBox(r,o){const{top:i,left:s}=r.getBoundingClientRect();return{top:i+(o?window.pageYOffset:0),left:s+(o?window.pageXOffset:0),width:r.offsetWidth,height:r.offsetHeight}}}return e=t,m(t,"\u0275fac",function(r){return new(r||e)(x(pe),x(Bt),x(_v),x(an),x(wn),x(Rs))}),m(t,"\u0275cmp",ua({type:e,selectors:[["color-picker"]],viewQuery:function(r,o){if(1&r&&(ds(sk,7),ds(ak,7),ds(lk,7)),2&r){let i;us(i=fs())&&(o.dialogElement=i.first),us(i=fs())&&(o.hueSlider=i.first),us(i=fs())&&(o.alphaSlider=i.first)}},hostBindings:function(r,o){1&r&&k("keyup.esc",function(s){return o.handleEsc(s)},0,Ol)("keyup.enter",function(s){return o.handleEnter(s)},!1,Ol)},decls:30,vars:51,consts:[[1,"color-picker",3,"click"],["dialogPopup",""],[3,"left","class","top",4,"ngIf"],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue","dragStart","dragEnd",4,"ngIf"],[1,"hue-alpha","box"],[1,"left"],[1,"selected-color-background"],[1,"selected-color",3,"click"],["class","eyedropper-icon","xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#000000",4,"ngIf"],["type","button",3,"class","disabled","click",4,"ngIf"],[1,"right"],["style","height: 16px;",4,"ngIf"],[1,"hue",3,"slider","rgX","newValue","dragStart","dragEnd"],["hueSlider",""],[1,"cursor"],[1,"value",3,"slider","rgX","newValue","dragStart","dragEnd"],["valueSlider",""],[1,"alpha",3,"slider","rgX","newValue","dragStart","dragEnd"],["alphaSlider",""],["class","cmyk-text",3,"display",4,"ngIf"],["class","hsla-text",3,"display",4,"ngIf"],["class","rgba-text",3,"display",4,"ngIf"],["class","hex-text",3,"hex-alpha","display",4,"ngIf"],["class","value-text",4,"ngIf"],["class","type-policy",4,"ngIf"],["class","preset-area",4,"ngIf"],["class","button-area",4,"ngIf"],["class","extra-template",4,"ngIf"],[1,"saturation-lightness",3,"slider","rgX","rgY","newValue","dragStart","dragEnd"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#000000",1,"eyedropper-icon"],["d","M0 0h24v24H0V0z","fill","none"],["d","M17.66 5.41l.92.92-2.69 2.69-.92-.92 2.69-2.69M17.67 3c-.26 0-.51.1-.71.29l-3.12 3.12-1.93-1.91-1.41 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3.12c.4-.4.4-1.03.01-1.42l-2.34-2.34c-.2-.19-.45-.29-.7-.29zM6.92 19L5 17.08l8.06-8.06 1.92 1.92L6.92 19z"],["type","button",3,"disabled","click"],[2,"height","16px"],[1,"cmyk-text"],[1,"box"],["type","number","pattern","[0-9]*","min","0","max","100",3,"text","rg","value","keyup.enter","newValue"],["type","number","pattern","[0-9]+([\\.,][0-9]{1,2})?","min","0","max","1","step","0.1",3,"text","rg","value","keyup.enter","newValue",4,"ngIf"],[4,"ngIf"],["type","number","pattern","[0-9]+([\\.,][0-9]{1,2})?","min","0","max","1","step","0.1",3,"text","rg","value","keyup.enter","newValue"],[1,"hsla-text"],["type","number","pattern","[0-9]*","min","0","max","360",3,"text","rg","value","keyup.enter","newValue"],[1,"rgba-text"],["type","number","pattern","[0-9]*","min","0","max","255",3,"text","rg","value","keyup.enter","newValue"],[1,"hex-text"],[3,"text","value","blur","keyup.enter","newValue"],[1,"value-text"],[1,"type-policy"],[1,"type-policy-arrow",3,"click"],[1,"preset-area"],[1,"preset-label"],[3,"class",4,"ngIf"],["class","preset-color",3,"backgroundColor","click",4,"ngFor","ngForOf"],[1,"preset-color",3,"click"],[3,"class","click",4,"ngIf"],[3,"click"],[1,"button-area"],["type","button",3,"class","click",4,"ngIf"],["type","button",3,"click"],[1,"extra-template"],[4,"ngTemplateOutlet"]],template:function(r,o){1&r&&(g(0,"div",0,1),k("click",function(s){return s.stopPropagation()}),X(2,ck,1,7,"div",2),X(3,uk,2,8,"div",3),g(4,"div",4)(5,"div",5),M(6,"div",6),g(7,"div",7),k("click",function(){return o.eyeDropperSupported&&o.cpEyeDropper&&o.onEyeDropper()}),X(8,dk,3,0,"svg",8),p(),X(9,fk,2,5,"button",9),p(),g(10,"div",10),X(11,pk,1,0,"div",11),g(12,"div",12,13),k("newValue",function(s){return o.onHueChange(s)})("dragStart",function(){return o.onDragStart("hue")})("dragEnd",function(){return o.onDragEnd("hue")}),M(14,"div",14),p(),g(15,"div",15,16),k("newValue",function(s){return o.onValueChange(s)})("dragStart",function(){return o.onDragStart("value")})("dragEnd",function(){return o.onDragEnd("value")}),M(17,"div",14),p(),g(18,"div",17,18),k("newValue",function(s){return o.onAlphaChange(s)})("dragStart",function(){return o.onDragStart("alpha")})("dragEnd",function(){return o.onDragEnd("alpha")}),M(20,"div",14),p()()(),X(21,mk,17,12,"div",19),X(22,Ck,14,10,"div",20),X(23,wk,14,10,"div",21),X(24,Ik,8,7,"div",22),X(25,Mk,9,3,"div",23),X(26,Sk,3,0,"div",24),X(27,Nk,6,3,"div",25),X(28,Fk,3,2,"div",26),X(29,Vk,2,1,"div",27),p()),2&r&&(O("display",o.show?"block":"none")("visibility",o.hidden?"hidden":"visible")("top",o.top,"px")("left",o.left,"px")("position",o.position)("height",o.cpHeight,"px")("width",o.cpWidth,"px"),ts("open",o.show),b(2),I("ngIf","popup"===o.cpDialogDisplay),b(1),I("ngIf",1===(o.cpColorMode||1)),b(4),O("background-color",o.selectedColor)("cursor",o.eyeDropperSupported&&o.cpEyeDropper?"pointer":null),b(1),I("ngIf",o.eyeDropperSupported&&o.cpEyeDropper),b(1),I("ngIf",o.cpAddColorButton),b(2),I("ngIf","disabled"===o.cpAlphaChannel),b(1),O("display",1===(o.cpColorMode||1)?"block":"none"),I("rgX",1),b(2),O("left",null==o.slider?null:o.slider.h,"px"),b(1),O("display",2===(o.cpColorMode||1)?"block":"none"),I("rgX",1),b(2),O("right",null==o.slider?null:o.slider.v,"px"),b(1),O("display","disabled"===o.cpAlphaChannel?"none":"block")("background-color",o.alphaSliderColor),I("rgX",1),b(2),O("left",null==o.slider?null:o.slider.a,"px"),b(1),I("ngIf",!o.cpDisableInput&&1===(o.cpColorMode||1)),b(1),I("ngIf",!o.cpDisableInput&&1===(o.cpColorMode||1)),b(1),I("ngIf",!o.cpDisableInput&&1===(o.cpColorMode||1)),b(1),I("ngIf",!o.cpDisableInput&&1===(o.cpColorMode||1)),b(1),I("ngIf",!o.cpDisableInput&&2===(o.cpColorMode||1)),b(1),I("ngIf",!o.cpDisableInput&&1===(o.cpColorMode||1)),b(1),I("ngIf",(null==o.cpPresetColors?null:o.cpPresetColors.length)||o.cpAddColorButton),b(1),I("ngIf",o.cpOKButton||o.cpCancelButton),b(1),I("ngIf",o.cpExtraTemplate))},dependencies:[Yv,Zv,Jv,ok,ik],styles:['.color-picker{position:absolute;z-index:1000;width:230px;height:auto;border:#777 solid 1px;cursor:default;-webkit-user-select:none;user-select:none;background-color:#fff}.color-picker *{box-sizing:border-box;margin:0;font-size:11px}.color-picker input{width:0;height:26px;min-width:0;font-size:13px;text-align:center;color:#000}.color-picker input:invalid,.color-picker input:-moz-ui-invalid,.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.color-picker .arrow{position:absolute;z-index:999999;width:0;height:0;border-style:solid}.color-picker .arrow.arrow-top{left:8px;border-width:10px 5px;border-color:#777 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0)}.color-picker .arrow.arrow-bottom{top:-20px;left:8px;border-width:10px 5px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) #777 rgba(0,0,0,0)}.color-picker .arrow.arrow-top-left,.color-picker .arrow.arrow-left-top{right:-21px;bottom:8px;border-width:5px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #777}.color-picker .arrow.arrow-top-right,.color-picker .arrow.arrow-right-top{bottom:8px;left:-20px;border-width:5px 10px;border-color:rgba(0,0,0,0) #777 rgba(0,0,0,0) rgba(0,0,0,0)}.color-picker .arrow.arrow-left,.color-picker .arrow.arrow-left-bottom,.color-picker .arrow.arrow-bottom-left{top:8px;right:-21px;border-width:5px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #777}.color-picker .arrow.arrow-right,.color-picker .arrow.arrow-right-bottom,.color-picker .arrow.arrow-bottom-right{top:8px;left:-20px;border-width:5px 10px;border-color:rgba(0,0,0,0) #777 rgba(0,0,0,0) rgba(0,0,0,0)}.color-picker .cursor{position:relative;width:16px;height:16px;border:#222 solid 2px;border-radius:50%;cursor:default}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{position:relative;padding:16px 8px}.color-picker .right{flex:1 1 auto;padding:12px 8px}.color-picker .button-area{padding:0 16px 16px;text-align:right}.color-picker .button-area button{margin-left:8px}.color-picker .preset-area{padding:4px 15px}.color-picker .preset-area .preset-label{overflow:hidden;width:100%;padding:4px;font-size:11px;white-space:nowrap;text-align:left;text-overflow:ellipsis;color:#555}.color-picker .preset-area .preset-color{position:relative;display:inline-block;width:18px;height:18px;margin:4px 6px 8px;border:#a9a9a9 solid 1px;border-radius:25%;cursor:pointer}.color-picker .preset-area .preset-empty-message{min-height:18px;margin-top:4px;margin-bottom:8px;font-style:italic;text-align:center}.color-picker .hex-text{width:100%;padding:4px 8px;font-size:11px}.color-picker .hex-text .box{padding:0 24px 8px 8px}.color-picker .hex-text .box div{float:left;flex:1 1 auto;text-align:center;color:#555;clear:left}.color-picker .hex-text .box input{flex:1 1 auto;padding:1px;border:#a9a9a9 solid 1px}.color-picker .hex-alpha .box div:first-child,.color-picker .hex-alpha .box input:first-child{flex-grow:3;margin-right:8px}.color-picker .cmyk-text,.color-picker .hsla-text,.color-picker .rgba-text,.color-picker .value-text{width:100%;padding:4px 8px;font-size:11px}.color-picker .cmyk-text .box,.color-picker .hsla-text .box,.color-picker .rgba-text .box{padding:0 24px 8px 8px}.color-picker .value-text .box{padding:0 8px 8px}.color-picker .cmyk-text .box div,.color-picker .hsla-text .box div,.color-picker .rgba-text .box div,.color-picker .value-text .box div{flex:1 1 auto;margin-right:8px;text-align:center;color:#555}.color-picker .cmyk-text .box div:last-child,.color-picker .hsla-text .box div:last-child,.color-picker .rgba-text .box div:last-child,.color-picker .value-text .box div:last-child{margin-right:0}.color-picker .cmyk-text .box input,.color-picker .hsla-text .box input,.color-picker .rgba-text .box input,.color-picker .value-text .box input{float:left;flex:1;padding:1px;margin:0 8px 0 0;border:#a9a9a9 solid 1px}.color-picker .cmyk-text .box input:last-child,.color-picker .hsla-text .box input:last-child,.color-picker .rgba-text .box input:last-child,.color-picker .value-text .box input:last-child{margin-right:0}.color-picker .hue-alpha{align-items:center;margin-bottom:3px}.color-picker .hue{direction:ltr;width:100%;height:16px;margin-bottom:16px;border:none;cursor:pointer;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwkUFWbCCAAAAFxJREFUaN7t0kEKg0AQAME2x83/n2qu5qCgD1iDhCoYdpnbQC9bbY1qVO/jvc6k3ad91s7/7F1/csgPrujuQ17BDYSFsBAWwgJhISyEBcJCWAgLhIWwEBYIi2f7Ar/1TCgFH2X9AAAAAElFTkSuQmCC)}.color-picker .value{direction:rtl;width:100%;height:16px;margin-bottom:16px;border:none;cursor:pointer;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAACTklEQVR42u3SYUcrABhA4U2SkmRJMmWSJklKJiWZZpKUJJskKUmaTFImKZOUzMySpGRmliRNJilJSpKSJEtmSpIpmWmSdO736/6D+x7OP3gUCoWCv1cqlSQlJZGcnExKSgqpqamkpaWRnp5ORkYGmZmZqFQqsrKyyM7OJicnh9zcXNRqNXl5eeTn56PRaCgoKKCwsJCioiK0Wi3FxcWUlJRQWlpKWVkZ5eXlVFRUUFlZiU6no6qqiurqampqaqitraWurg69Xk99fT0GgwGj0UhDQwONjY00NTXR3NxMS0sLra2ttLW10d7ejslkwmw209HRQWdnJ11dXXR3d9PT00Nvby99fX309/czMDDA4OAgFouFoaEhrFYrw8PDjIyMMDo6ytjYGDabjfHxcSYmJpicnGRqagq73c709DQzMzPMzs4yNzfH/Pw8DocDp9OJy+XC7XazsLDA4uIiS0tLLC8vs7KywurqKmtra3g8HrxeLz6fD7/fz/r6OhsbG2xubrK1tcX29jaBQICdnR2CwSC7u7vs7e2xv7/PwcEBh4eHHB0dcXx8zMnJCaenp5ydnXF+fs7FxQWXl5dcXV1xfX3Nzc0Nt7e33N3dEQqFuL+/5+HhgXA4TCQS4fHxkaenJ56fn3l5eeH19ZVoNMrb2xvv7+98fHwQi8WIx+N8fn6SSCT4+vri+/ubn58ffn9/+VcKgSWwBJbAElgCS2AJLIElsASWwBJYAktgCSyBJbAElsASWAJLYAksgSWwBJbAElgCS2AJLIElsP4/WH8AmJ5Z6jHS4h8AAAAASUVORK5CYII=)}.color-picker .alpha{direction:ltr;width:100%;height:16px;border:none;cursor:pointer;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwYQlZMa3gAAAWVJREFUaN7tmEGO6jAQRCsOArHgBpyAJYGjcGocxAm4A2IHpmoWE0eBH+ezmFlNvU06shJ3W6VEelWMUQAIIF9f6qZpimsA1LYtS2uF51/u27YVAFZVRUkEoGHdPV/sIcbIEIIkUdI/9Xa7neyv61+SWFUVAVCSct00TWn2fv6u3+Ecfd3tXzy/0+nEUu+SPjo/kqzrmiQpScN6v98XewfA8/lMkiLJ2WxGSUopcT6fM6U0NX9/frfbjev1WtfrlZfLhYfDQQHG/AIOlnGwjINlHCxjHCzjYJm/TJWdCwquJXseFFzGwDNNeiKMOJTO8xQdDQaeB29+K9efeLaBo9J7vdvtJj1RjFFjfiv7qv95tjx/7leSQgh93e1ffMeIp6O+YQjho/N791t1XVOSSI7N//K+4/GoxWLBx+PB5/Op5XLJ+/3OlJJWqxU3m83ovv5iGf8KjYNlHCxjHCzjYBkHy5gf5gusvQU7U37jTAAAAABJRU5ErkJggg==)}.color-picker .type-policy{position:absolute;top:218px;right:12px;width:16px;height:24px;background-size:8px 16px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACewAAAnsB01CO3AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIASURBVEiJ7ZY9axRRFIafsxMStrLQJpAgpBFhi+C9w1YSo00I6RZ/g9vZpBf/QOr4GyRgkSKNSrAadsZqQGwCkuAWyRZJsySwvhZ7N/vhzrgbLH3Ld8597jlzz50zJokyxXH8DqDVar0qi6v8BbItqSGpEcfxdlmsFWXkvX8AfAVWg3UKPEnT9GKujMzsAFgZsVaCN1VTQd77XUnrgE1kv+6935268WRpzrnHZvYRWC7YvC3pRZZl3wozqtVqiyH9IgjAspkd1Gq1xUJQtVrdB9ZKIAOthdg/Qc65LUk7wNIMoCVJO865rYFhkqjX6/d7vV4GPJwBMqofURS5JEk6FYBer/eeYb/Mo9WwFnPOvQbeAvfuAAK4BN4sAJtAG/gJIElmNuiJyba3EGNmZiPeZuEVmVell/Y/6N+CzDn3AXhEOOo7Hv/3BeAz8IzQkMPnJbuPx1wC+yYJ7/0nYIP5S/0FHKdp+rwCEEXRS/rf5Hl1Gtb2M0iSpCOpCZzPATmX1EySpHMLAsiy7MjMDoHrGSDXZnaYZdnRwBh7J91utwmczAA6CbG3GgPleX4jqUH/a1CktqRGnuc3hSCAMB32gKspkCtgb3KCQMmkjeP4WNJThrNNZval1WptTIsv7JtQ4tmIdRa8qSoEpWl6YWZNoAN0zKxZNPehpLSBZv2t+Q0CJ9lLnARQLAAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:center}.color-picker .type-policy .type-policy-arrow{display:block;width:100%;height:50%}.color-picker .selected-color{position:absolute;top:16px;left:8px;width:40px;height:40px;border:1px solid #a9a9a9;border-radius:50%}.color-picker .selected-color-background{width:40px;height:40px;border-radius:50%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAh0lEQVRYR+2W0QlAMQgD60zdfwOdqa8TmI/wQMr5K0I5bZLIzLOa2nt37VVVbd+dDx5obgCC3KBLwJ2ff4PnVidkf+ucIhw80HQaCLo3DMH3CRK3iFsmAWVl6hPNDwt8EvNE5q+YuEXcMgkonVM6SdyCoEvAnZ8v1Hjx817MilmxSUB5rdLJDycZgUAZUch/AAAAAElFTkSuQmCC)}.color-picker .saturation-lightness{direction:ltr;width:100%;height:130px;border:none;cursor:pointer;touch-action:manipulation;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACCCAYAAABSD7T3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwksPWR6lgAAIABJREFUeNrtnVuT47gRrAHN+P//Or/61Y5wONZ7mZ1u3XAeLMjJZGZVgdKsfc5xR3S0RIIUW+CHzCpc2McYo7XGv3ex7UiZd57rjyzzv+v+33X/R/+3r/f7vR386Y+TvKNcf/wdhTLPcv9qU2wZd74uth0t1821jkIZLPcsI/6n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8ANEqvuxR1tVKOgLoCa1jxboBAkj6v7j/icFbA7f4rfRnQDLRViG13i0vqBQrYVqBbADZT0ZpiHoSzvQpopKIFS3sE1HfBWlHXd0H7LnArqvougMtljHBgZnh3Eoz/BKjLML4Z2Aq0+hEJr9jaVUBbvNzCIUiroC7AWmmFw4o5AK3MtB5VypZMSFgs05JyGVwlwBqsEGAAa2ZU1CjUexXGsE4rKriilBvFzOKKo3AuAroE6QFQU3u8YpNXwS5k+1TZt5UrwouN4KiUEw+k3ZWDp1RXHNRqXb21Ts39945yZSg3VnZFNQ9CF3XeZyr5DgBXKiwCMa2MxeTDYXgP1Fsf9QNKZc0k81RJk3r6EQ3rCmBVyLL75EjZ1pIVDHoFtiOAHoB0BdTVylqBsKKKS+AeBXJVLY+CXASuGvO/Auq7GuEjDfGKg1oKa1z/dmmi9I9SUGNhl0AtfulHAawoYrnSkmNXAVuGEhrEVXvUF+A5Ct2PqNOjDetyna4CmeUolmeXLN4Aq7C5Sj10Q7yjgl+t6CNxSRHmI5X+CpwreYB3Qfdqna4q21KdBuc4GoZsn49ZOOiVinwHqK9WzjvgeweEh2AU5+vtxZ9Cd9Wqkh49V18E5oj6vVyn0RStAyGIO5edXRKd5B0VGVXq2yr3xYp+5Ut+C4QJ4P1N339pQMjRejj4vb/Dcr6rQc3O/0rjmtZpeYCBiCHfCemRbNhbK/pNUPc3wfKy5f2D7OlL3/uPhve/oU4T0F8f+VNM2vyoiv0jK+KHQfdHq+0bncz4oz73/+Y6LbKw1o/5B7eOf1Rl/0du9B9tn/9bvrf/j+v0h6ttn2tp/r/4819y4/zv5391uvzzfwDifz6phT1MPgAAAABJRU5ErkJggg==)}.color-picker .cp-add-color-button-class{position:absolute;display:inline;padding:0;margin:3px -3px;border:0;cursor:pointer;background:transparent}.color-picker .cp-add-color-button-class:hover{text-decoration:underline}.color-picker .cp-add-color-button-class:disabled{cursor:not-allowed;color:#999}.color-picker .cp-add-color-button-class:disabled:hover{text-decoration:none}.color-picker .cp-remove-color-button-class{position:absolute;top:-5px;right:-5px;display:block;width:10px;height:10px;border-radius:50%;cursor:pointer;text-align:center;background:#fff;box-shadow:1px 1px 5px #333}.color-picker .cp-remove-color-button-class:before{content:"x";position:relative;bottom:3.5px;display:inline-block;font-size:10px}.color-picker .eyedropper-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);fill:#fff;mix-blend-mode:exclusion}\n'],encapsulation:2})),t})(),Hk=(()=>{var e;class t{handleClick(){this.inputFocus()}handleFocus(){this.inputFocus()}handleInput(r){this.inputChange(r)}constructor(r,o,i,s,a,l){m(this,"injector",void 0),m(this,"cfr",void 0),m(this,"appRef",void 0),m(this,"vcRef",void 0),m(this,"elRef",void 0),m(this,"_service",void 0),m(this,"dialog",void 0),m(this,"dialogCreated",!1),m(this,"ignoreChanges",!1),m(this,"cmpRef",void 0),m(this,"viewAttachedToAppRef",!1),m(this,"colorPicker",void 0),m(this,"cpWidth","230px"),m(this,"cpHeight","auto"),m(this,"cpToggle",!1),m(this,"cpDisabled",!1),m(this,"cpIgnoredElements",[]),m(this,"cpFallbackColor",""),m(this,"cpColorMode","color"),m(this,"cpCmykEnabled",!1),m(this,"cpOutputFormat","auto"),m(this,"cpAlphaChannel","enabled"),m(this,"cpDisableInput",!1),m(this,"cpDialogDisplay","popup"),m(this,"cpSaveClickOutside",!0),m(this,"cpCloseClickOutside",!0),m(this,"cpUseRootViewContainer",!1),m(this,"cpPosition","auto"),m(this,"cpPositionOffset","0%"),m(this,"cpPositionRelativeToArrow",!1),m(this,"cpOKButton",!1),m(this,"cpOKButtonText","OK"),m(this,"cpOKButtonClass","cp-ok-button-class"),m(this,"cpCancelButton",!1),m(this,"cpCancelButtonText","Cancel"),m(this,"cpCancelButtonClass","cp-cancel-button-class"),m(this,"cpEyeDropper",!1),m(this,"cpPresetLabel","Preset colors"),m(this,"cpPresetColors",void 0),m(this,"cpPresetColorsClass","cp-preset-colors-class"),m(this,"cpMaxPresetColorsLength",6),m(this,"cpPresetEmptyMessage","No colors added"),m(this,"cpPresetEmptyMessageClass","preset-empty-message"),m(this,"cpAddColorButton",!1),m(this,"cpAddColorButtonText","Add color"),m(this,"cpAddColorButtonClass","cp-add-color-button-class"),m(this,"cpRemoveColorButtonClass","cp-remove-color-button-class"),m(this,"cpArrowPosition",0),m(this,"cpExtraTemplate",void 0),m(this,"cpInputChange",new ue(!0)),m(this,"cpToggleChange",new ue(!0)),m(this,"cpSliderChange",new ue(!0)),m(this,"cpSliderDragEnd",new ue(!0)),m(this,"cpSliderDragStart",new ue(!0)),m(this,"colorPickerOpen",new ue(!0)),m(this,"colorPickerClose",new ue(!0)),m(this,"colorPickerCancel",new ue(!0)),m(this,"colorPickerSelect",new ue(!0)),m(this,"colorPickerChange",new ue(!1)),m(this,"cpCmykColorChange",new ue(!0)),m(this,"cpPresetColorsChange",new ue(!0)),this.injector=r,this.cfr=o,this.appRef=i,this.vcRef=s,this.elRef=a,this._service=l}ngOnDestroy(){null!=this.cmpRef&&(this.viewAttachedToAppRef&&this.appRef.detachView(this.cmpRef.hostView),this.cmpRef.destroy(),this.cmpRef=null,this.dialog=null)}ngOnChanges(r){r.cpToggle&&!this.cpDisabled&&(r.cpToggle.currentValue?this.openDialog():r.cpToggle.currentValue||this.closeDialog()),r.colorPicker&&(this.dialog&&!this.ignoreChanges&&("inline"===this.cpDialogDisplay&&this.dialog.setInitialColor(r.colorPicker.currentValue),this.dialog.setColorFromString(r.colorPicker.currentValue,!1),this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay&&this.cmpRef.changeDetectorRef.detectChanges()),this.ignoreChanges=!1),(r.cpPresetLabel||r.cpPresetColors)&&this.dialog&&this.dialog.setPresetConfig(this.cpPresetLabel,this.cpPresetColors)}openDialog(){if(this.dialogCreated)this.dialog&&this.dialog.openDialog(this.colorPicker);else{let r=this.vcRef;if(this.dialogCreated=!0,this.viewAttachedToAppRef=!1,this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay){const s=this.injector.get(this.appRef.componentTypes[0],Ke.NULL);s!==Ke.NULL?r=s.vcRef||s.viewContainerRef||this.vcRef:this.viewAttachedToAppRef=!0}const o=this.cfr.resolveComponentFactory(Bk);if(this.viewAttachedToAppRef)this.cmpRef=o.create(this.injector),this.appRef.attachView(this.cmpRef.hostView),document.body.appendChild(this.cmpRef.hostView.rootNodes[0]);else{const i=Ke.create({providers:[],parent:r.injector});this.cmpRef=r.createComponent(o,0,i,[])}this.cmpRef.instance.setupDialog(this,this.elRef,this.colorPicker,this.cpWidth,this.cpHeight,this.cpDialogDisplay,this.cpFallbackColor,this.cpColorMode,this.cpCmykEnabled,this.cpAlphaChannel,this.cpOutputFormat,this.cpDisableInput,this.cpIgnoredElements,this.cpSaveClickOutside,this.cpCloseClickOutside,this.cpUseRootViewContainer,this.cpPosition,this.cpPositionOffset,this.cpPositionRelativeToArrow,this.cpPresetLabel,this.cpPresetColors,this.cpPresetColorsClass,this.cpMaxPresetColorsLength,this.cpPresetEmptyMessage,this.cpPresetEmptyMessageClass,this.cpOKButton,this.cpOKButtonClass,this.cpOKButtonText,this.cpCancelButton,this.cpCancelButtonClass,this.cpCancelButtonText,this.cpAddColorButton,this.cpAddColorButtonClass,this.cpAddColorButtonText,this.cpRemoveColorButtonClass,this.cpEyeDropper,this.elRef,this.cpExtraTemplate),this.dialog=this.cmpRef.instance,this.vcRef!==r&&this.cmpRef.changeDetectorRef.detectChanges()}}closeDialog(){this.dialog&&"popup"===this.cpDialogDisplay&&this.dialog.closeDialog()}cmykChanged(r){this.cpCmykColorChange.emit(r)}stateChanged(r){this.cpToggleChange.emit(r),r?this.colorPickerOpen.emit(this.colorPicker):this.colorPickerClose.emit(this.colorPicker)}colorChanged(r,o=!0){this.ignoreChanges=o,this.colorPickerChange.emit(r)}colorSelected(r){this.colorPickerSelect.emit(r)}colorCanceled(){this.colorPickerCancel.emit()}inputFocus(){const r=this.elRef.nativeElement,o=this.cpIgnoredElements.filter(i=>i===r);!this.cpDisabled&&!o.length&&(typeof document<"u"&&r===document.activeElement?this.openDialog():this.dialog&&this.dialog.show?this.closeDialog():this.openDialog())}inputChange(r){this.dialog?this.dialog.setColorFromString(r.target.value,!0):(this.colorPicker=r.target.value,this.colorPickerChange.emit(this.colorPicker))}inputChanged(r){this.cpInputChange.emit(r)}sliderChanged(r){this.cpSliderChange.emit(r)}sliderDragEnd(r){this.cpSliderDragEnd.emit(r)}sliderDragStart(r){this.cpSliderDragStart.emit(r)}presetColorsChanged(r){this.cpPresetColorsChange.emit(r)}}return e=t,m(t,"\u0275fac",function(r){return new(r||e)(x(Ke),x(io),x(br),x(lt),x(Bt),x(Rs))}),m(t,"\u0275dir",Ne({type:e,selectors:[["","colorPicker",""]],hostBindings:function(r,o){1&r&&k("click",function(){return o.handleClick()})("focus",function(){return o.handleFocus()})("input",function(s){return o.handleInput(s)})},inputs:{colorPicker:"colorPicker",cpWidth:"cpWidth",cpHeight:"cpHeight",cpToggle:"cpToggle",cpDisabled:"cpDisabled",cpIgnoredElements:"cpIgnoredElements",cpFallbackColor:"cpFallbackColor",cpColorMode:"cpColorMode",cpCmykEnabled:"cpCmykEnabled",cpOutputFormat:"cpOutputFormat",cpAlphaChannel:"cpAlphaChannel",cpDisableInput:"cpDisableInput",cpDialogDisplay:"cpDialogDisplay",cpSaveClickOutside:"cpSaveClickOutside",cpCloseClickOutside:"cpCloseClickOutside",cpUseRootViewContainer:"cpUseRootViewContainer",cpPosition:"cpPosition",cpPositionOffset:"cpPositionOffset",cpPositionRelativeToArrow:"cpPositionRelativeToArrow",cpOKButton:"cpOKButton",cpOKButtonText:"cpOKButtonText",cpOKButtonClass:"cpOKButtonClass",cpCancelButton:"cpCancelButton",cpCancelButtonText:"cpCancelButtonText",cpCancelButtonClass:"cpCancelButtonClass",cpEyeDropper:"cpEyeDropper",cpPresetLabel:"cpPresetLabel",cpPresetColors:"cpPresetColors",cpPresetColorsClass:"cpPresetColorsClass",cpMaxPresetColorsLength:"cpMaxPresetColorsLength",cpPresetEmptyMessage:"cpPresetEmptyMessage",cpPresetEmptyMessageClass:"cpPresetEmptyMessageClass",cpAddColorButton:"cpAddColorButton",cpAddColorButtonText:"cpAddColorButtonText",cpAddColorButtonClass:"cpAddColorButtonClass",cpRemoveColorButtonClass:"cpRemoveColorButtonClass",cpArrowPosition:"cpArrowPosition",cpExtraTemplate:"cpExtraTemplate"},outputs:{cpInputChange:"cpInputChange",cpToggleChange:"cpToggleChange",cpSliderChange:"cpSliderChange",cpSliderDragEnd:"cpSliderDragEnd",cpSliderDragStart:"cpSliderDragStart",colorPickerOpen:"colorPickerOpen",colorPickerClose:"colorPickerClose",colorPickerCancel:"colorPickerCancel",colorPickerSelect:"colorPickerSelect",colorPickerChange:"colorPickerChange",cpCmykColorChange:"cpCmykColorChange",cpPresetColorsChange:"cpPresetColorsChange"},exportAs:["ngxColorPicker"],features:[Hr]})),t})(),Uk=(()=>{var e;class t{}return e=t,m(t,"\u0275fac",function(r){return new(r||e)}),m(t,"\u0275mod",Nn({type:e})),m(t,"\u0275inj",gn({providers:[Rs],imports:[ty]})),t})();function zk(e,t){1&e&&(g(0,"div",37)(1,"h3"),v(2,"Custom template content here."),p()())}const qk=function(){return["#fff","#000","#2889e9","#e920e9","#fff500","rgb(236,64,64)"]},$k=function(){return["#fff","#2889e9"]},Gk=function(e,t){return[e,t]};let Wk=(()=>{var e;class t{constructor(r,o){m(this,"vcRef",void 0),m(this,"cpService",void 0),m(this,"toggle",!1),m(this,"rgbaText","rgba(165, 26, 214, 0.2)"),m(this,"arrayColors",{color1:"#2883e9",color2:"#e920e9",color3:"rgb(255,245,0)",color4:"rgb(236,64,64)",color5:"rgba(45,208,45,1)"}),m(this,"selectedColor","color1"),m(this,"color1","#2889e9"),m(this,"color2","#e920e9"),m(this,"color3","#fff500"),m(this,"color4","rgb(236,64,64)"),m(this,"color5","rgba(45,208,45,1)"),m(this,"color6","#1973c0"),m(this,"color7","#f200bd"),m(this,"color8","#a8ff00"),m(this,"color9","#278ce2"),m(this,"color10","#0a6211"),m(this,"color11","#f2ff00"),m(this,"color12","#f200bd"),m(this,"color13","rgba(0,255,0,0.5)"),m(this,"color14","rgb(0,255,255)"),m(this,"color15","rgb(255,0,0)"),m(this,"color16","#a51ad633"),m(this,"color17","#666666"),m(this,"color18","#fa8072"),m(this,"color19","#f88888"),m(this,"cmykValue",""),m(this,"cmykColor",new Pn(0,0,0,0)),this.vcRef=r,this.cpService=o}onEventLog(r,o){console.log(r,o)}onChangeColor(r){console.log("Color changed:",r)}onChangeColorCmyk(r){const o=this.cpService.stringToHsva(r);if(o){const i=this.cpService.hsvaToRgba(o);return this.cpService.rgbaToCmyk(i)}return new Pn(0,0,0,0)}onChangeColorHex8(r){const o=this.cpService.stringToHsva(r,!0);return o?this.cpService.outputFormat(o,"rgba",null):""}}return e=t,m(t,"\u0275fac",function(r){return new(r||e)(x(lt),x(Rs))}),m(t,"\u0275cmp",ua({type:e,selectors:[["my-app"]],decls:549,vars:146,consts:[[1,"container"],[1,"row"],[1,"col-md-5"],[3,"colorPicker","colorPickerChange","colorPickerOpen","colorPickerClose","cpInputChange","cpSliderDragStart","cpSliderDragEnd"],[1,"col-md-7"],[3,"colorPicker","cpColorMode","colorPickerChange","colorPickerOpen","colorPickerClose","cpInputChange","cpSliderDragStart","cpSliderDragEnd"],[3,"value","colorPicker","colorPickerChange"],[3,"value","cpOutputFormat","colorPicker","colorPickerChange"],[3,"value","cpPosition","colorPicker","colorPickerChange"],[1,"change-me",3,"cpPosition","cpPositionOffset","cpPositionRelativeToArrow","colorPicker","colorPickerChange"],[3,"value","cpCancelButton","colorPicker","colorPickerChange"],[3,"value","cpCancelButton","cpCancelButtonClass","colorPicker","colorPickerChange"],[3,"value","cpOKButton","cpSaveClickOutside","cpOKButtonClass","colorPicker","colorPickerChange"],[3,"value","cpEyeDropper","cpSaveClickOutside","cpOKButtonClass","colorPicker","colorPickerChange"],[3,"colorPicker","cpCmykEnabled","cpCmykColorChange","colorPickerChange"],[1,"clearfix"],[1,"cmyk-text",2,"color","rgb(0,255,255)"],[1,"cmyk-text",2,"color","rgb(255,0,255)"],[1,"cmyk-text",2,"color","rgb(255,255,0)"],[1,"cmyk-text"],[3,"cpPresetColors","colorPicker","colorPickerChange"],[3,"cpAlphaChannel","cpOutputFormat","cpPresetColors","cpAddColorButton","colorPicker","colorPickerChange"],[3,"cpFallbackColor","cpIgnoredElements","cpToggle","colorPicker","cpToggleChange","colorPickerChange"],["ignoredInput",""],[1,"btn","btn-primary",3,"click"],["ignoredButton",""],["cpPosition","auto",3,"value","colorPicker","colorPickerChange"],[3,"value","cpAlphaChannel","cpOutputFormat","colorPicker","colorPickerChange"],[1,"row",2,"height","320px"],[1,"col-md-3"],[3,"cpToggle","cpDialogDisplay","cpCancelButton","cpCancelButtonClass","colorPicker","colorPickerChange"],[1,"col-md-2"],[1,"color-box",3,"click"],["cpAlphaChannel","disabled",3,"colorPicker","cpExtraTemplate","colorPickerClose","colorPickerOpen","cpInputChange","cpSliderDragEnd","cpSliderDragStart","keyup"],["customTemplate",""],[1,"col-md-12"],[1,"table"],[1,""]],template:function(r,o){if(1&r&&(g(0,"div",0)(1,"h1"),v(2,"Angular Color Picker Directive"),p(),g(3,"h4"),v(4,"A Color Picker Directive for Angular with no dependencies."),p(),g(5,"h4")(6,"b"),v(7,"based on angular2-color-picker by Alberto Pujante"),p()(),M(8,"hr"),g(9,"div",1)(10,"div",2)(11,"input",3),k("colorPickerChange",function(s){return o.color1=s})("colorPickerOpen",function(s){return o.onEventLog("colorPickerOpen",s)})("colorPickerClose",function(s){return o.onEventLog("colorPickerClose",s)})("cpInputChange",function(s){return o.onEventLog("cpInputChange",s)})("cpSliderDragStart",function(s){return o.onEventLog("cpSliderDragStart",s)})("cpSliderDragEnd",function(s){return o.onEventLog("cpSliderDragEnd",s)}),p()(),g(12,"div",4)(13,"p"),v(14,"Usage:"),p(),g(15,"pre"),v(16,'\n '),p(),g(17,"p"),v(18,"Or:"),p(),g(19,"pre"),v(20,'\n '),p()()(),M(21,"hr"),g(22,"div",1)(23,"div",2)(24,"input",5),k("colorPickerChange",function(s){return o.color17=s})("colorPickerOpen",function(s){return o.onEventLog("colorPickerOpen",s)})("colorPickerClose",function(s){return o.onEventLog("colorPickerClose",s)})("cpInputChange",function(s){return o.onEventLog("cpInputChange",s)})("cpSliderDragStart",function(s){return o.onEventLog("cpSliderDragStart",s)})("cpSliderDragEnd",function(s){return o.onEventLog("cpSliderDragEnd",s)}),p()(),g(25,"div",4)(26,"p"),v(27,"Grayscale color mode:"),p(),g(28,"pre"),v(29,'\n '),p()()(),M(30,"hr"),g(31,"div",1)(32,"div",2)(33,"input",6),k("colorPickerChange",function(s){return o.color2=s}),p()(),g(34,"div",4)(35,"p"),v(36,"Show the color in the input field:"),p(),g(37,"pre"),v(38,'\n '),p()()(),M(39,"hr"),g(40,"div",1)(41,"div",2)(42,"input",7),k("colorPickerChange",function(s){return o.color3=s}),p(),M(43,"br")(44,"br"),g(45,"input",7),k("colorPickerChange",function(s){return o.color4=s}),p()(),g(46,"div",4)(47,"p"),v(48,"Output format:"),p(),g(49,"pre"),v(50,'\n '),p()()(),M(51,"hr"),g(52,"div",1)(53,"div",2)(54,"input",8),k("colorPickerChange",function(s){return o.color5=s}),p()(),g(55,"div",4)(56,"p"),v(57,"Changing dialog position:"),p(),g(58,"pre"),v(59,'\n '),p()()(),M(60,"hr"),g(61,"div",1)(62,"div",2)(63,"span",9),k("colorPickerChange",function(s){return o.color6=s}),v(64,"Change me!"),p()(),g(65,"div",4)(66,"p"),v(67,"You can introduce a offset of the color picker relative to the html element:"),p(),g(68,"pre"),v(69,'Change me!\n '),p()()(),M(70,"hr"),g(71,"div",1)(72,"div",2)(73,"input",10),k("colorPickerChange",function(s){return o.color7=s}),p()(),g(74,"div",4)(75,"p"),v(76,"Show cancel button:"),p(),g(77,"pre"),v(78,'\n '),p()()(),M(79,"hr"),g(80,"div",1)(81,"div",2)(82,"input",11),k("colorPickerChange",function(s){return o.color8=s}),p()(),g(83,"div",4)(84,"p"),v(85,"Change cancel button class, in this example we are using a bootstrap button:"),p(),g(86,"pre"),v(87,'\n '),p()()(),M(88,"hr"),g(89,"div",1)(90,"div",2)(91,"input",12),k("colorPickerChange",function(s){return o.color9=s}),p()(),g(92,"div",4)(93,"p"),v(94,"Show OK button:"),p(),g(95,"pre"),v(96,'\n '),p()()(),M(97,"hr"),g(98,"div",1)(99,"div",2)(100,"input",13),k("colorPickerChange",function(s){return o.color19=s}),p()(),g(101,"div",4)(102,"p"),v(103,"Enable Eye Dropper:"),p(),g(104,"p"),v(105,"You can open the eye dropper by clicking the colored circle."),p(),g(106,"pre"),v(107,'\n '),p()()(),M(108,"hr"),g(109,"div",1)(110,"div",2)(111,"input",14),k("cpCmykColorChange",function(s){return o.cmykValue=s})("colorPickerChange",function(s){return o.cmykColor=o.onChangeColorCmyk(s),o.color10=s}),p(),M(112,"div",15),g(113,"div"),v(114),p(),g(115,"div")(116,"span",16),v(117,"C"),p(),g(118,"span",17),v(119,"M"),p()(),M(120,"div",15),g(121,"div")(122,"span",18),v(123,"Y"),p(),g(124,"span",19),v(125,"K"),p()(),M(126,"div",15),p(),g(127,"div",4)(128,"p"),v(129,"Change event color:"),p(),g(130,"pre"),v(131,'\n\nC\nM\nY\nK\n '),p()()(),M(132,"hr"),g(133,"div",1)(134,"div",2)(135,"input",20),k("colorPickerChange",function(s){return o.color11=s}),p()(),g(136,"div",4)(137,"p"),v(138,"With preset colors:"),p(),g(139,"pre"),v(140,"\n "),p()()(),M(141,"hr"),g(142,"div",1)(143,"div",2)(144,"input",21),k("colorPickerChange",function(s){return o.color13=s}),p()(),g(145,"div",4)(146,"p"),v(147,"Add and remove preset colors:"),p(),g(148,"pre"),v(149,'\n '),p()()(),M(150,"hr"),g(151,"div",1)(152,"div",2)(153,"input",22,23),k("cpToggleChange",function(s){return o.toggle=s})("colorPickerChange",function(s){return o.color12=s}),p(),M(155,"div",15),g(156,"button",24,25),k("click",function(){return o.toggle=!o.toggle}),v(158,"Toggle"),p(),M(159,"br")(160,"br"),g(161,"div")(162,"b"),v(163),p()()(),g(164,"div",4)(165,"p"),v(166,"Use cpToggle with cpIgnoredElements:"),p(),g(167,"pre"),v(168,'\n\n\n '),p()()(),M(169,"hr"),g(170,"div",1)(171,"div",2)(172,"input",26),k("colorPickerChange",function(s){return o.color18=s}),p()(),g(173,"div",4)(174,"p"),v(175,"Auto positioning:"),p(),g(176,"pre"),v(177,'\n '),p()()(),M(178,"hr"),g(179,"div",1)(180,"div",2)(181,"input",27),k("colorPickerChange",function(s){return o.color14=s}),p(),M(182,"br"),g(183,"input",27),k("colorPickerChange",function(s){return o.color13=s}),p(),M(184,"br"),g(185,"input",27),k("colorPickerChange",function(s){return o.rgbaText=o.onChangeColorHex8(s),o.color16=s}),p(),M(186,"br"),g(187,"input",27),k("colorPickerChange",function(s){return o.color15=s}),p()(),g(188,"div",4)(189,"p"),v(190,"Change alpha channel behaviour:"),p(),g(191,"pre"),v(192,'\n\n\n\n\n\n\n '),p()()(),M(193,"hr"),g(194,"div",28)(195,"div",29)(196,"span",30),k("colorPickerChange",function(s){return o.arrayColors[o.selectedColor]=s}),p()(),g(197,"div",31)(198,"div",32),k("click",function(){return o.selectedColor="color1"}),p(),g(199,"div",32),k("click",function(){return o.selectedColor="color2"}),p(),g(200,"div",32),k("click",function(){return o.selectedColor="color3"}),p(),g(201,"div",32),k("click",function(){return o.selectedColor="color4"}),p(),g(202,"div",32),k("click",function(){return o.selectedColor="color5"}),p()(),g(203,"div",4)(204,"p"),v(205,"Show the dialog permanently: "),p(),g(206,"pre"),v(207,'\n\n
\n\n
\n '),p()()(),M(208,"hr")(209,"br")(210,"hr"),g(211,"div",1)(212,"div",2)(213,"input",33),k("colorPickerClose",function(s){return o.onEventLog("colorPickerClose",s)})("colorPickerOpen",function(s){return o.onEventLog("colorPickerOpen",s)})("cpInputChange",function(s){return o.onEventLog("cpInputChange",s)})("cpSliderDragEnd",function(s){return o.onEventLog("cpSliderDragEnd",s)})("cpSliderDragStart",function(s){return o.onEventLog("cpSliderDragStart",s)})("keyup",function(s){return o.onEventLog("cpInputChange",s)}),p(),X(214,zk,3,0,"ng-template",null,34,Bm),p(),g(216,"div",4)(217,"p"),v(218,"Custom template: "),p(),g(219,"pre"),v(220,'\n\n\n
\n

Custom template.

\n
\n
\n '),p()(),M(221,"hr")(222,"br"),g(223,"div",1)(224,"div",35)(225,"table",36)(226,"thead")(227,"tr")(228,"th"),v(229,"Options"),p(),g(230,"th"),v(231,"Values (default values in bold)"),p()()(),g(232,"tbody")(233,"tr")(234,"td"),v(235,"cpOutputFormat"),p(),g(236,"td")(237,"b"),v(238,"'auto'"),p(),v(239,", 'hex', 'rgba', 'hsla' "),p()(),g(240,"tr")(241,"td"),v(242,"cpPosition"),p(),g(243,"td")(244,"b"),v(245,"'auto'"),p(),v(246,", 'top', 'bottom', 'top-right', 'top-left', 'bottom-left', 'bottom-right' "),p()(),g(247,"tr")(248,"td"),v(249,"cpPositionOffset"),p(),g(250,"td")(251,"b"),v(252,"'0%'"),p(),M(253,"br"),v(254," Dialog offset (percent) relative to the element that contains the directive. "),p()(),g(255,"tr")(256,"td"),v(257,"cpPositionRelativeToArrow"),p(),g(258,"td")(259,"b"),v(260,"false"),p(),v(261,", true "),M(262,"br"),v(263," Dialog position is calculated relative to the dialog (false) or relative to the dialog arrow (true). "),p()(),g(264,"tr")(265,"td"),v(266,"cpWidth"),p(),g(267,"td")(268,"b"),v(269,"'230px'"),p(),M(270,"br"),v(271," Use this option to set color picker dialog width (pixels). "),p()(),g(272,"tr")(273,"td"),v(274,"cpHeight"),p(),g(275,"td")(276,"b"),v(277,"'auto'"),p(),M(278,"br"),v(279," Use this option to force color picker dialog height (pixels). "),p()(),g(280,"tr")(281,"td"),v(282,"cpSaveClickOutside"),p(),g(283,"td")(284,"b"),v(285,"true"),p(),v(286,", false"),M(287,"br"),v(288," If true the initial color is restored when user clicks outside. "),p()(),g(289,"tr")(290,"td"),v(291,"cpOKButton"),p(),g(292,"td")(293,"b"),v(294,"false"),p(),v(295,", true"),M(296,"br"),v(297," Shows the Ok button. Saves the selected color. "),p()(),g(298,"tr")(299,"td"),v(300,"cpOKButtonText"),p(),g(301,"td")(302,"b"),v(303,"'OK'"),p()()(),g(304,"tr")(305,"td"),v(306,"cpOKButtonClass"),p(),g(307,"td"),v(308," Class to customize the OK button. "),p()(),g(309,"tr")(310,"td"),v(311,"cpCancelButton"),p(),g(312,"td")(313,"b"),v(314,"false"),p(),v(315,", true"),M(316,"br"),v(317," Shows the Cancel button. Cancel the selected color. "),p()(),g(318,"tr")(319,"td"),v(320,"cpCancelButtonText"),p(),g(321,"td")(322,"b"),v(323,"'Cancel'"),p()()(),g(324,"tr")(325,"td"),v(326,"cpCancelButtonClass"),p(),g(327,"td"),v(328," Class to customize the Cancel button. "),p()(),g(329,"tr")(330,"td"),v(331,"cpFallbackColor"),p(),g(332,"td")(333,"b"),v(334,"'#fff'"),p(),M(335,"br"),v(336," Is used when the color is not well-formed or not defined. "),p()(),g(337,"tr")(338,"td"),v(339,"cpPresetLabel"),p(),g(340,"td")(341,"b"),v(342,"'Preset colors'"),p(),M(343,"br"),v(344," Label for preset colors if any provided used. "),p()(),g(345,"tr")(346,"td"),v(347,"cpPresetColors"),p(),g(348,"td")(349,"b"),v(350,"[]"),p(),M(351,"br"),v(352," Array of preset colors to show in the color picker dialog. "),p()(),g(353,"tr")(354,"td"),v(355,"cpToggle"),p(),g(356,"td")(357,"b"),v(358,"false"),p(),v(359,", true"),M(360,"br"),v(361," Input/ouput to open/close the color picker. "),p()(),g(362,"tr")(363,"td"),v(364,"cpIgnoredElements"),p(),g(365,"td")(366,"b"),v(367,"[]"),p(),M(368,"br"),v(369," Array of HTML elements that will be ignored by the color picker when they are clicked. "),p()(),g(370,"tr")(371,"td"),v(372,"cpDialogDisplay"),p(),g(373,"td")(374,"b"),v(375,"'popup'"),p(),v(376,", 'inline'"),M(377,"br"),v(378," popup: dialog is showed when user clicks in the directive."),M(379,"br"),v(380," inline: dialog is showed permanently. You can show/hide the dialog with cpToggle."),M(381,"br"),p()(),g(382,"tr")(383,"td"),v(384,"cpDisableInput"),p(),g(385,"td")(386,"b"),v(387,"false"),p(),v(388,", true"),M(389,"br"),v(390," Disables / hides the color input field from the dialog."),M(391,"br"),p()(),g(392,"tr")(393,"td"),v(394,"cpAlphaChannel"),p(),g(395,"td")(396,"b"),v(397,"'enabled'"),p(),v(398,", 'disabled', 'always', 'forced'"),M(399,"br"),v(400," enabled: alpha channel is not included for hexadecimal (hex6) values or for values without alpha (alpha = 1)."),M(401,"br"),v(402," disabled: alpha channel is completely disabled."),M(403,"br"),v(404," always: alpha channel is included for hexadecimal (hex6) values and values without alpha (alpha = 1)."),M(405,"br"),v(406," forced: alpha channel field is added for hexadecimal (hex6) values."),M(407,"br"),p()(),g(408,"tr")(409,"td"),v(410,"cpCmykEnabled"),p(),g(411,"td")(412,"b"),v(413,"false"),p(),v(414,", true"),M(415,"br"),v(416," Enables CMYK color input and selected CMYK color event sending on color change."),M(417,"br"),p()(),g(418,"tr")(419,"td"),v(420,"cpUseRootViewContainer"),p(),g(421,"td")(422,"b"),v(423,"false"),p(),v(424,", true"),M(425,"br"),v(426," Create dialog component in the root view container instead the elements view container."),M(427,"br"),p()(),g(428,"tr")(429,"td"),v(430,"cpAddColorButton"),p(),g(431,"td")(432,"b"),v(433,"false"),p(),v(434,", true"),M(435,"br"),v(436," Add or remove colors into your preset panel. The [cpPresetColors] is needed"),M(437,"br"),p()(),g(438,"tr")(439,"td"),v(440,"cpAddColorButtonText"),p(),g(441,"td")(442,"b"),v(443,"'Add color'"),p()()(),g(444,"tr")(445,"td"),v(446,"cpAddColorButtonClass"),p(),g(447,"td"),v(448," Class to customize the add color button. "),p()(),g(449,"tr")(450,"td"),v(451,"cpRemoveColorButtonClass"),p(),g(452,"td"),v(453," Class to customize the remove color button. "),p()(),g(454,"tr")(455,"td"),v(456,"cpPresetColorsClass"),p(),g(457,"td"),v(458," Class to customize the preset colors container. "),p()(),g(459,"tr")(460,"td"),v(461,"cpMaxPresetColorsLength"),p(),g(462,"td")(463,"b"),v(464,"8"),p(),v(465," (number)"),M(466,"br"),v(467," Use this option to set the max colors allowed into preset panel. "),p()(),g(468,"tr")(469,"td"),v(470,"cpPresetEmptyMessage"),p(),g(471,"td")(472,"b"),v(473,"'No colors added'"),p(),M(474,"br"),v(475," Message for empty colors if any provided used. "),p()(),g(476,"tr")(477,"td"),v(478,"cpPresetEmptyMessageClass"),p(),g(479,"td"),v(480," Class to customize the empty colors message. "),p()(),g(481,"tr")(482,"td"),v(483,"cpEyeDropper"),p(),g(484,"td"),v(485," Enable eye dropper on click of colored circle. Click again to pick a color. "),p()()()()()(),M(486,"hr")(487,"br"),g(488,"div",1)(489,"div",35)(490,"table",36)(491,"thead")(492,"tr")(493,"th"),v(494,"Events"),p(),g(495,"th"),v(496,"Description (data format in bold)"),p()()(),g(497,"tbody")(498,"tr")(499,"td"),v(500,"colorPickerChange"),p(),g(501,"td"),v(502," Changed color value, send when color is changed. "),g(503,"b"),v(504,"(value: string)"),p()()(),g(505,"tr")(506,"td"),v(507,"colorPickerSelect"),p(),g(508,"td"),v(509," Selected color value, send when user presses the OK button. "),g(510,"b"),v(511,"(value: string)"),p()()(),g(512,"tr")(513,"td"),v(514,"cpToggleChange"),p(),g(515,"td"),v(516," Status of the dialog, send when dialog is opened / closed. "),g(517,"b"),v(518,"(open: boolean)"),p()()(),g(519,"tr")(520,"td"),v(521,"cpInputChange"),p(),g(522,"td"),v(523," Input name and its value, send when user changes color through inputs. "),g(524,"b"),v(525),p()()(),g(526,"tr")(527,"td"),v(528,"cpSliderChange"),p(),g(529,"td"),v(530," Slider name and its value, send when user changes color through slider. "),g(531,"b"),v(532),p()()(),g(533,"tr")(534,"td"),v(535,"cpCmykColorChange"),p(),g(536,"td"),v(537," CMYK color value, send when on color change if cpCmykEnabled is true. "),g(538,"b"),v(539,"(value: string)"),p()()(),g(540,"tr")(541,"td"),v(542,"cpPresetColorsChange"),p(),g(543,"td"),v(544," Preset colors value, send when Add Color button is pressed. "),g(545,"b"),v(546,"(value: array)"),p()()()()()()(),M(547,"hr")(548,"br"),p()()),2&r){const i=Ji(154),s=Ji(157),a=Ji(215);b(11),O("background",o.color1),I("colorPicker",o.color1),b(13),O("background",o.color17),I("colorPicker",o.color17)("cpColorMode","grayscale"),b(9),O("background",o.color2),I("value",o.color2)("colorPicker",o.color2),b(9),O("background",o.color3),I("value",o.color3)("cpOutputFormat","rgba")("colorPicker",o.color3),b(3),O("background",o.color4),I("value",o.color4)("cpOutputFormat","hsla")("colorPicker",o.color4),b(9),O("background",o.color5),I("value",o.color5)("cpPosition","top-right")("colorPicker",o.color5),b(9),O("color",o.color6),I("cpPosition","bottom")("cpPositionOffset","50%")("cpPositionRelativeToArrow",!0)("colorPicker",o.color6),b(10),O("background",o.color7),I("value",o.color7)("cpCancelButton",!0)("colorPicker",o.color7),b(9),O("background",o.color8),I("value",o.color8)("cpCancelButton",!0)("cpCancelButtonClass","btn btn-primary btn-xs")("colorPicker",o.color8),b(9),O("background",o.color9),I("value",o.color9)("cpOKButton",!0)("cpSaveClickOutside",!1)("cpOKButtonClass","btn btn-primary btn-xs")("colorPicker",o.color9),b(9),O("background",o.color19),I("value",o.color9)("cpEyeDropper",!0)("cpSaveClickOutside",!1)("cpOKButtonClass","btn btn-primary btn-xs")("colorPicker",o.color19),b(11),O("background",o.color10),I("colorPicker",o.color10)("cpCmykEnabled",!0),b(3),An(o.cmykValue),b(2),O("font-size",100*o.cmykColor.c,"px"),b(2),O("font-size",100*o.cmykColor.m,"px"),b(4),O("font-size",100*o.cmykColor.y,"px"),b(2),O("font-size",100*o.cmykColor.k,"px"),b(11),O("background",o.color11),I("cpPresetColors",yc(141,qk))("colorPicker",o.color11),b(9),O("background",o.color13),I("cpAlphaChannel","always")("cpOutputFormat","rgba")("cpPresetColors",yc(142,$k))("cpAddColorButton",!0)("colorPicker",o.color13),b(9),O("background",o.color12),I("cpFallbackColor","#f200bd")("cpIgnoredElements",Cm(143,Gk,s,i))("cpToggle",o.toggle)("colorPicker",o.color12),b(10),vo("Toggle status: ",o.toggle,""),b(9),O("background",o.color18),I("value",o.color18)("colorPicker",o.color18),b(9),O("background",o.color14),I("value",o.color14)("cpAlphaChannel","always")("cpOutputFormat","rgba")("colorPicker",o.color14),b(2),O("background",o.color13),I("value",o.color13)("cpAlphaChannel","disabled")("cpOutputFormat","rgba")("colorPicker",o.color13),b(2),O("background",o.rgbaText),I("value",o.color16)("cpAlphaChannel","always")("cpOutputFormat","hex")("colorPicker",o.color16),b(2),O("background",o.color15),I("value",o.color15)("cpAlphaChannel","forced")("cpOutputFormat","hex")("colorPicker",o.color15),b(9),O("background",o.arrayColors[o.selectedColor]),I("cpToggle",!0)("cpDialogDisplay","inline")("cpCancelButton",!0)("cpCancelButtonClass","btn btn-primary btn-xs")("colorPicker",o.arrayColors[o.selectedColor]),b(2),O("background",o.arrayColors.color1),b(1),O("background",o.arrayColors.color2),b(1),O("background",o.arrayColors.color3),b(1),O("background",o.arrayColors.color4),b(1),O("background",o.arrayColors.color5),b(11),O("background",o.color18),I("colorPicker",o.color18)("cpExtraTemplate",a),b(312),rs("(","{","input: string, value: string","}",")"),b(7),rs("(","{","slider: string, value: Object","}",")")}},dependencies:[Hk],styles:["input[_ngcontent-%COMP%]{width:150px;margin-bottom:16px}.cmyk-text[_ngcontent-%COMP%]{float:left;width:72px;height:72px;font-weight:bolder;line-height:72px;text-align:center;text-shadow:1px 1px 2px #bbb}.color-box[_ngcontent-%COMP%]{width:100px;height:25px;margin:16px auto;cursor:pointer}.change-me[_ngcontent-%COMP%]{cursor:pointer;font-size:30px;font-weight:bolder}"]})),t})(),Yk=(()=>{var e;class t{}return e=t,m(t,"\u0275fac",function(r){return new(r||e)}),m(t,"\u0275mod",Nn({type:e,bootstrap:[Wk]})),m(t,"\u0275inj",gn({imports:[WT,Uk]})),t})();$T().bootstrapModule(Yk)}},he=>{he(he.s=885)}]); \ No newline at end of file diff --git a/polyfills.js b/polyfills.js index 2d1f165..c5cf044 100644 --- a/polyfills.js +++ b/polyfills.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[429],{300:(ie,Ee,de)=>{de(583)},583:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===w))return;const C=t.state!=p;C&&t._transitionTo(p,j),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,p):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,p,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(j,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(w,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");t._transitionTo(G,j,p);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CM.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:P,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class m{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;EU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global;function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;if(je&&i===Te&&"error"===e.type){const a=e;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&e.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let P=Re[d];P||(P=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[P]&&m.removeEventListener(d,We),y&&y.call(m,null),m[P]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[P];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const P=i(y,d);return P.cbIdx>=0&&"function"==typeof d[P.cbIdx]?Me(P.name,d[P.cbIdx],P,c):a.apply(y,d)})}function ue(e,n){e[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function ft(){if(ze)return Ae;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],P=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),j=null,p=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},oe=y("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===p&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;T&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T{try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=b);const S=u.run(T,void 0,O&&T!==J&&T!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),p,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,D)=>{for(let O=0;O{g||(g=!0,T(S))},S=>{b.push(S),f--,0===f&&(g=!0,D(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function b(D){s(D)}function T(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((S,V)=>{f=S,g=V}),T=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,T--,0===T&&f(O)},F=>{s?(O[V]=s.errorCallback(F),T--,0===T&&f(O)):g(F)})}catch(F){g(F)}T++,D++}return T-=2,0===T&&f(O),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=w();u&&u(f(I(s,p)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(M),T=n.current;return this[q]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(M);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new t((D,O)=>{f.call(this,D,O)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",P=A(c),v="."+c+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=p=>x.handleEvent(p),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(p){X=p}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const j=[];if(1===X.length){const p=Z(X[0],x,_);p&&j.push(p)}else{const p=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let p=R;for(;p&&!p.hasOwnProperty(c);)p=de(p);if(!p&&R[c]&&(p=R),!p||p[P])return!1;const G=_&&_.eventNameToString,h={},I=p[P]=p[c],w=p[A(a)]=p[a],Q=p[A(y)]=p[y],oe=p[A(d)]=p[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=p[A(_.prepend)]=p[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const b=g&&s.target[g];if(b)for(let T=0;Tfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,P,v){return P&&P.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=P.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(P.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}catch{}}),y.call(n,d,P,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function P(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,P);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,L)}),a=le(e,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(P,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function mt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let P=0;P{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function yt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function P(v){const m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const Q=w[c];N||(N=w[Ze],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===J){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),p=le(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return p.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,w,q,_);h&&!0===h[d]&&!w.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const w=function Z(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const P=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(P,d),P})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const P=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(P)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=300)}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[429],{175:(ie,Ee,de)=>{de(332)},332:()=>{!function(e){const n=e.performance;function s(j){n&&n.mark&&n.mark(j)}function r(j,h){n&&n.measure&&n.measure(j,h)}s("Zone");const i=e.__Zone_symbol_prefix||"__zone_symbol__";function l(j){return i+j}const p=!0===e[l("forceDuplicateZoneCheck")];if(e.Zone){if(p||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let E=(()=>{class h{static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=h.current;for(;t.parent;)t=t.parent;return t}static get current(){return W.zone}static get currentTask(){return re}static __load_patch(t,_,w=!1){if(oe.hasOwnProperty(t)){if(!w&&p)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const L="Zone:"+t;s(L),oe[t]=_(e,h,Y),r(L,L)}}get parent(){return this._parent}get name(){return this._name}constructor(t,_){this._parent=t,this._name=_?_.name||"unnamed":"",this._properties=_&&_.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,_)}get(t){const _=this.getZoneWith(t);if(_)return _._properties[t]}getZoneWith(t){let _=this;for(;_;){if(_._properties.hasOwnProperty(t))return _;_=_._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,_){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const w=this._zoneDelegate.intercept(this,t,_),L=this;return function(){return L.runGuarded(w,this,arguments,_)}}run(t,_,w,L){W={parent:W,zone:this};try{return this._zoneDelegate.invoke(this,t,_,w,L)}finally{W=W.parent}}runGuarded(t,_=null,w,L){W={parent:W,zone:this};try{try{return this._zoneDelegate.invoke(this,t,_,w,L)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{W=W.parent}}runTask(t,_,w){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===G&&(t.type===Q||t.type===P))return;const L=t.state!=y;L&&t._transitionTo(y,A),t.runCount++;const a=re;re=t,W={parent:W,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,_,w)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==G&&t.state!==d&&(t.type==Q||t.data&&t.data.isPeriodic?L&&t._transitionTo(A,y):(t.runCount=0,this._updateTaskCount(t,-1),L&&t._transitionTo(G,y,G))),W=W.parent,re=a}}scheduleTask(t){if(t.zone&&t.zone!==this){let w=this;for(;w;){if(w===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);w=w.parent}}t._transitionTo(z,G);const _=[];t._zoneDelegates=_,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(w){throw t._transitionTo(d,z,G),this._zoneDelegate.handleError(this,w),w}return t._zoneDelegates===_&&this._updateTaskCount(t,1),t.state==z&&t._transitionTo(A,z),t}scheduleMicroTask(t,_,w,L){return this.scheduleTask(new m(I,t,_,w,L,void 0))}scheduleMacroTask(t,_,w,L,a){return this.scheduleTask(new m(P,t,_,w,L,a))}scheduleEventTask(t,_,w,L,a){return this.scheduleTask(new m(Q,t,_,w,L,a))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===y){t._transitionTo(V,A,y);try{this._zoneDelegate.cancelTask(this,t)}catch(_){throw t._transitionTo(d,V),this._zoneDelegate.handleError(this,_),_}return this._updateTaskCount(t,-1),t._transitionTo(G,V),t.runCount=0,t}}_updateTaskCount(t,_){const w=t._zoneDelegates;-1==_&&(t._zoneDelegates=null);for(let L=0;Lj.hasTask(c,t),onScheduleTask:(j,h,c,t)=>j.scheduleTask(c,t),onInvokeTask:(j,h,c,t,_,w)=>j.invokeTask(c,t,_,w),onCancelTask:(j,h,c,t)=>j.cancelTask(c,t)};class v{constructor(h,c,t){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=h,this._parentDelegate=c,this._forkZS=t&&(t&&t.onFork?t:c._forkZS),this._forkDlgt=t&&(t.onFork?c:c._forkDlgt),this._forkCurrZone=t&&(t.onFork?this.zone:c._forkCurrZone),this._interceptZS=t&&(t.onIntercept?t:c._interceptZS),this._interceptDlgt=t&&(t.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=t&&(t.onIntercept?this.zone:c._interceptCurrZone),this._invokeZS=t&&(t.onInvoke?t:c._invokeZS),this._invokeDlgt=t&&(t.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=t&&(t.onInvoke?this.zone:c._invokeCurrZone),this._handleErrorZS=t&&(t.onHandleError?t:c._handleErrorZS),this._handleErrorDlgt=t&&(t.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=t&&(t.onHandleError?this.zone:c._handleErrorCurrZone),this._scheduleTaskZS=t&&(t.onScheduleTask?t:c._scheduleTaskZS),this._scheduleTaskDlgt=t&&(t.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=t&&(t.onScheduleTask?this.zone:c._scheduleTaskCurrZone),this._invokeTaskZS=t&&(t.onInvokeTask?t:c._invokeTaskZS),this._invokeTaskDlgt=t&&(t.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=t&&(t.onInvokeTask?this.zone:c._invokeTaskCurrZone),this._cancelTaskZS=t&&(t.onCancelTask?t:c._cancelTaskZS),this._cancelTaskDlgt=t&&(t.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=t&&(t.onCancelTask?this.zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const _=t&&t.onHasTask;(_||c&&c._hasTaskZS)&&(this._hasTaskZS=_?t:b,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=h,t.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this.zone),t.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this.zone),t.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this.zone))}fork(h,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,h,c):new E(h,c)}intercept(h,c,t){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,h,c,t):c}invoke(h,c,t,_,w){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,h,c,t,_,w):c.apply(t,_)}handleError(h,c){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,h,c)}scheduleTask(h,c){let t=c;if(this._scheduleTaskZS)this._hasTaskZS&&t._zoneDelegates.push(this._hasTaskDlgtOwner),t=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,h,c),t||(t=c);else if(c.scheduleFn)c.scheduleFn(c);else{if(c.type!=I)throw new Error("Task is missing scheduleFn.");C(c)}return t}invokeTask(h,c,t,_){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,h,c,t,_):c.callback.apply(t,_)}cancelTask(h,c){let t;if(this._cancelTaskZS)t=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,h,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");t=c.cancelFn(c)}return t}hasTask(h,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,h,c)}catch(t){this.handleError(h,t)}}_updateTaskCount(h,c){const t=this._taskCounts,_=t[h],w=t[h]=_+c;if(w<0)throw new Error("More tasks executed then were scheduled.");0!=_&&0!=w||this.hasTask(this.zone,{microTask:t.microTask>0,macroTask:t.macroTask>0,eventTask:t.eventTask>0,change:h})}}class m{constructor(h,c,t,_,w,L){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=h,this.source=c,this.data=_,this.scheduleFn=w,this.cancelFn=L,!t)throw new Error("callback is not defined");this.callback=t;const a=this;this.invoke=h===Q&&_&&_.useG?m.invokeTask:function(){return m.invokeTask.call(e,a,this,arguments)}}static invokeTask(h,c,t){h||(h=this),ee++;try{return h.runCount++,h.zone.runTask(h,c,t)}finally{1==ee&&T(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(G,z)}_transitionTo(h,c,t){if(this._state!==c&&this._state!==t)throw new Error(`${this.type} '${this.source}': can not transition to '${h}', expecting state '${c}'${t?" or '"+t+"'":""}, was '${this._state}'.`);this._state=h,h==G&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=l("setTimeout"),Z=l("Promise"),N=l("then");let J,U=[],x=!1;function X(j){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let h=J[N];h||(h=J.then),h.call(J,j)}else e[M](j,0)}function C(j){0===ee&&0===U.length&&X(T),j&&U.push(j)}function T(){if(!x){for(x=!0;U.length;){const j=U;U=[];for(let h=0;hW,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:C,showUncaughtError:()=>!E[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:X};let W={parent:null,zone:new E(null,null)},re=null,ee=0;function q(){}r("Zone","Zone"),e.Zone=E}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,s,r,i){return Zone.current.scheduleMacroTask(e,n,s,r,i)}const H=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,$=Pe&&Te||"object"==typeof self&&self||global,ct="removeAttribute";function Le(e,n){for(let s=e.length-1;s>=0;s--)"function"==typeof e[s]&&(e[s]=Ie(e[s],n+"_"+s));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in $)&&typeof $.process<"u"&&"[object process]"==={}.toString.call($.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof $.process<"u"&&"[object process]"==={}.toString.call($.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||$.event))return;let n=Re[e.type];n||(n=Re[e.type]=H("ON_PROPERTY"+e.type));const s=this||e.target||$,r=s[n];let i;return Ae&&s===Te&&"error"===e.type?(i=r&&r.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=r&&r.apply(this,arguments),null!=i&&!i&&e.preventDefault()),i};function qe(e,n,s){let r=ie(e,n);if(!r&&s&&ie(s,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const i=H("on"+n+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete r.writable,delete r.value;const l=r.get,p=r.set,E=n.slice(2);let b=Re[E];b||(b=Re[E]=H("ON_PROPERTY"+E)),r.set=function(v){let m=this;!m&&e===$&&(m=$),m&&("function"==typeof m[b]&&m.removeEventListener(E,We),p&&p.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(E,We,!1))},r.get=function(){let v=this;if(!v&&e===$&&(v=$),!v)return null;const m=v[b];if(m)return m;if(l){let M=l.call(this);if(M)return r.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,r),e[i]=!0}function Xe(e,n,s){if(n)for(let r=0;rfunction(p,E){const b=s(p,E);return b.cbIdx>=0&&"function"==typeof E[b.cbIdx]?Me(b.name,E[b.cbIdx],b,i):l.apply(p,E)})}function ue(e,n){e[H("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,s)=>{const r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,p=s.symbol,E=[],b=!0===e[p("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=p("Promise"),m=p("then"),M="__creationTrace__";s.onUnhandledError=a=>{if(s.showUncaughtError()){const u=a&&a.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",a.zone.name,"; Task:",a.task&&a.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(a)}},s.microtaskDrainDone=()=>{for(;E.length;){const a=E.shift();try{a.zone.runGuarded(()=>{throw a.throwOriginal?a.rejection:a})}catch(u){N(u)}}};const Z=p("unhandledPromiseRejectionHandler");function N(a){s.onUnhandledError(a);try{const u=n[Z];"function"==typeof u&&u.call(this,a)}catch{}}function U(a){return a&&a.then}function x(a){return a}function J(a){return c.reject(a)}const X=p("state"),C=p("value"),T=p("finally"),K=p("parentPromiseValue"),G=p("parentPromiseState"),z="Promise.then",A=null,y=!0,V=!1,d=0;function I(a,u){return o=>{try{Y(a,u,o)}catch(f){Y(a,!1,f)}}}const P=function(){let a=!1;return function(o){return function(){a||(a=!0,o.apply(null,arguments))}}},Q="Promise resolved with itself",oe=p("currentTaskTrace");function Y(a,u,o){const f=P();if(a===o)throw new TypeError(Q);if(a[X]===A){let k=null;try{("object"==typeof o||"function"==typeof o)&&(k=o&&o.then)}catch(R){return f(()=>{Y(a,!1,R)})(),a}if(u!==V&&o instanceof c&&o.hasOwnProperty(X)&&o.hasOwnProperty(C)&&o[X]!==A)re(o),Y(a,o[X],o[C]);else if(u!==V&&"function"==typeof k)try{k.call(o,f(I(a,u)),f(I(a,!1)))}catch(R){f(()=>{Y(a,!1,R)})()}else{a[X]=u;const R=a[C];if(a[C]=o,a[T]===T&&u===y&&(a[X]=a[G],a[C]=a[K]),u===V&&o instanceof Error){const g=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];g&&i(o,oe,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g{try{const D=a[C],S=!!o&&T===o[T];S&&(o[K]=D,o[G]=R);const O=u.run(g,void 0,S&&g!==J&&g!==x?[]:[D]);Y(o,!0,O)}catch(D){Y(o,!1,D)}},o)}const j=function(){},h=e.AggregateError;class c{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return Y(new this(null),y,u)}static reject(u){return Y(new this(null),V,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new h([],"All promises were rejected"));const o=[];let f=0;try{for(let g of u)f++,o.push(c.resolve(g))}catch{return Promise.reject(new h([],"All promises were rejected"))}if(0===f)return Promise.reject(new h([],"All promises were rejected"));let k=!1;const R=[];return new c((g,D)=>{for(let S=0;S{k||(k=!0,g(O))},O=>{R.push(O),f--,0===f&&(k=!0,D(new h(R,"All promises were rejected")))})})}static race(u){let o,f,k=new this((D,S)=>{o=D,f=S});function R(D){o(D)}function g(D){f(D)}for(let D of u)U(D)||(D=this.resolve(D)),D.then(R,g);return k}static all(u){return c.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof c?this:c).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,o){let f,k,R=new this((O,F)=>{f=O,k=F}),g=2,D=0;const S=[];for(let O of u){U(O)||(O=this.resolve(O));const F=D;try{O.then(B=>{S[F]=o?o.thenCallback(B):B,g--,0===g&&f(S)},B=>{o?(S[F]=o.errorCallback(B),g--,0===g&&f(S)):k(B)})}catch(B){k(B)}g++,D++}return g-=2,0===g&&f(S),R}constructor(u){const o=this;if(!(o instanceof c))throw new Error("Must be an instanceof Promise.");o[X]=A,o[C]=[];try{const f=P();u&&u(f(I(o,y)),f(I(o,V)))}catch(f){Y(o,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return c}then(u,o){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||c);const k=new f(j),R=n.current;return this[X]==A?this[C].push(R,k,u,o):ee(this,R,k,u,o),k}catch(u){return this.then(null,u)}finally(u){let o=this.constructor?.[Symbol.species];(!o||"function"!=typeof o)&&(o=c);const f=new o(j);f[T]=T;const k=n.current;return this[X]==A?this[C].push(k,f,u,u):ee(this,k,f,u,u),f}}c.resolve=c.resolve,c.reject=c.reject,c.race=c.race,c.all=c.all;const t=e[v]=e.Promise;e.Promise=c;const _=p("thenPatched");function w(a){const u=a.prototype,o=r(u,"then");if(o&&(!1===o.writable||!o.configurable))return;const f=u.then;u[m]=f,a.prototype.then=function(k,R){return new c((D,S)=>{f.call(this,D,S)}).then(k,R)},a[_]=!0}return s.patchThen=w,t&&(w(t),le(e,"fetch",a=>function L(a){return function(u,o){let f=a.apply(u,o);if(f instanceof c)return f;let k=f.constructor;return k[_]||w(k),f}}(a))),Promise[n.__symbol__("uncaughtPromiseErrors")]=E,c}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,s=H("OriginalDelegate"),r=H("Promise"),i=H("Error"),l=function(){if("function"==typeof this){const v=this[s];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[r];if(m)return n.call(m)}if(this===Error){const m=e[i];if(m)return n.call(m)}}return n.call(this)};l[s]=n,Function.prototype.toString=l;const p=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":p.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=H("propagationStopped");function Je(e,n){const s=(n?n(e):e)+ae,r=(n?n(e):e)+ce,i=ke+s,l=ke+r;te[e]={},te[e][ae]=i,te[e][ce]=l}function dt(e,n,s,r){const i=r&&r.add||Se,l=r&&r.rm||Oe,p=r&&r.listeners||"eventListeners",E=r&&r.rmAll||"removeAllListeners",b=H(i),v="."+i+":",m="prependListener",M="."+m+":",Z=function(C,T,K){if(C.isRemoved)return;const G=C.callback;let z;"object"==typeof G&&G.handleEvent&&(C.callback=y=>G.handleEvent(y),C.originalDelegate=G);try{C.invoke(C,T,[K])}catch(y){z=y}const A=C.options;return A&&"object"==typeof A&&A.once&&T[l].call(T,K.type,C.originalDelegate?C.originalDelegate:C.callback,A),z};function N(C,T,K){if(!(T=T||e.event))return;const G=C||T.target||e,z=G[te[T.type][K?ce:ae]];if(z){const A=[];if(1===z.length){const y=Z(z[0],G,T);y&&A.push(y)}else{const y=z.slice();for(let V=0;V{throw V})}}}const U=function(C){return N(this,C,!1)},x=function(C){return N(this,C,!0)};function J(C,T){if(!C)return!1;let K=!0;T&&void 0!==T.useG&&(K=T.useG);const G=T&&T.vh;let z=!0;T&&void 0!==T.chkDup&&(z=T.chkDup);let A=!1;T&&void 0!==T.rt&&(A=T.rt);let y=C;for(;y&&!y.hasOwnProperty(i);)y=de(y);if(!y&&C[i]&&(y=C),!y||y[b])return!1;const V=T&&T.eventNameToString,d={},I=y[b]=y[i],P=y[H(l)]=y[l],Q=y[H(p)]=y[p],oe=y[H(E)]=y[E];let Y;T&&T.prepend&&(Y=y[H(T.prepend)]=y[T.prepend]);const c=K?function(o){if(!d.isExisting)return I.call(d.target,d.eventName,d.capture?x:U,d.options)}:function(o){return I.call(d.target,d.eventName,o.invoke,d.options)},t=K?function(o){if(!o.isRemoved){const f=te[o.eventName];let k;f&&(k=f[o.capture?ce:ae]);const R=k&&o.target[k];if(R)for(let g=0;gfunction(i,l){i[Ke]=!0,r&&r.apply(i,l)})}function Et(e,n,s,r,i){const l=Zone.__symbol__(r);if(n[l])return;const p=n[l]=n[r];n[r]=function(E,b,v){return b&&b.prototype&&i.forEach(function(m){const M=`${s}.${r}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}catch{}}),p.call(n,E,b,v)},e.attachOriginToPatched(n[r],p)}function et(e,n,s){if(!s||0===s.length)return n;const r=s.filter(l=>l.target===e);if(!r||0===r.length)return n;const i=r[0].ignoreProperties;return n.filter(l=>-1===i.indexOf(l))}function tt(e,n,s,r){e&&Xe(e,et(e,n,s),r)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,s)=>{const r=He(e);s.patchOnProperties=Xe,s.patchMethod=le,s.bindArguments=Le,s.patchMacroTask=lt;const i=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[i]=e[l]),e[i]&&(n[i]=n[l]=e[i]),s.patchEventPrototype=_t,s.patchEventTarget=dt,s.isIEOrEdge=ft,s.ObjectDefineProperty=Ee,s.ObjectGetOwnPropertyDescriptor=ie,s.ObjectCreate=ge,s.ArraySlice=Ve,s.patchClass=ve,s.wrapWithCurrentZone=Ie,s.filterProperties=et,s.attachOriginToPatched=ue,s._redefineProperty=Object.defineProperty,s.patchCallbacks=Et,s.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:r,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=H("zoneTask");function pe(e,n,s,r){let i=null,l=null;s+=r;const p={};function E(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=i.apply(e,m.args),v}function b(v){return l.call(e,v.data.handleId)}i=le(e,n+=r,v=>function(m,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete p[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const U=Me(n,M[0],Z,E,b);if(!U)return U;const x=U.data.handleId;return"number"==typeof x?p[x]=U:x&&(x[Ce]=U),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(U.ref=x.ref.bind(x),U.unref=x.unref.bind(x)),"number"==typeof x||x?x:U}return v.apply(e,M)}),l=le(e,s,v=>function(m,M){const Z=M[0];let N;"number"==typeof Z?N=p[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete p[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",s="clear";pe(e,n,s,"Timeout"),pe(e,n,s,"Interval"),pe(e,n,s,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const s=["alert","prompt","confirm"];for(let r=0;rfunction(b,v){return n.current.run(l,e,v,E)})}),Zone.__load_patch("EventTarget",(e,n,s)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,s),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:s,zoneSymbolEventNames:r,TRUE_STR:i,FALSE_STR:l,ZONE_SYMBOL_PREFIX:p}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,s)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,s)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,s)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const s=n.__Zone_ignore_on_properties;let r=[];if(Ae){const i=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const l=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];tt(i,He(i),s&&s.concat(l),de(i))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{!function pt(e,n){const{isBrowser:s,isMix:r}=n.getGlobalObjects();(s||r)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,s)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Ze],U=M[Ne];if(!N){const d=v.XMLHttpRequestEventTarget;if(d){const I=d.prototype;N=I[Ze],U=I[Ne]}}const x="readystatechange",J="scheduled";function X(d){const I=d.data,P=I.target;P[l]=!1,P[E]=!1;const Q=P[i];N||(N=P[Ze],U=P[Ne]),Q&&U.call(P,x,Q);const oe=P[i]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[l]&&d.state===J){const W=P[n.__symbol__("loadfalse")];if(0!==P.status&&W&&W.length>0){const re=d.invoke;d.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let q=0;qfunction(d,I){return d[r]=0==I[2],d[p]=I[1],K.apply(d,I)}),z=H("fetchTaskAborting"),A=H("fetchTaskScheduling"),y=le(M,"send",()=>function(d,I){if(!0===n.current[A]||d[r])return y.apply(d,I);{const P={target:d,url:d[p],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",C,P,X,T);d&&!0===d[E]&&!P.aborted&&Q.state===J&&Q.invoke()}}),V=le(M,"abort",()=>function(d,I){const P=function Z(d){return d[s]}(d);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[z])return V.apply(d,I)})}(e);const s=H("xhrTask"),r=H("xhrSync"),i=H("xhrListener"),l=H("xhrScheduled"),p=H("xhrURL"),E=H("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const s=e.constructor.name;for(let r=0;r{const b=function(){return E.apply(this,Le(arguments,s+"."+i))};return ue(b,E),b})(l)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function s(r){return function(i){Qe(e,r).forEach(p=>{const E=e.PromiseRejectionEvent;if(E){const b=new E(r,{promise:i.promise,reason:i.rejection});p.invoke(b)}})}}e.PromiseRejectionEvent&&(n[H("unhandledPromiseRejectionHandler")]=s("unhandledrejection"),n[H("rejectionHandledHandler")]=s("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,s)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",s=>function(r,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(e,s)})}},ie=>{ie(ie.s=175)}]); \ No newline at end of file diff --git a/styles.css b/styles.css index e69de29..a4fd539 100644 --- a/styles.css +++ b/styles.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.table{display:table}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}