@healthcatalyst/catalyst-docfx-template 1.0.135 → 1.0.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/styles/docs-navbar.js
CHANGED
|
@@ -106,7 +106,7 @@ Zone.__load_patch("legacy",n=>{const s=n[Zone.__symbol__("legacyPatch")];s&&s()}
|
|
|
106
106
|
* found in the LICENSE file at https://angular.io/license
|
|
107
107
|
*/
|
|
108
108
|
function ue(n,s){if(Zone[s.symbol("patchEventTarget")])return;const{eventNames:h,zoneSymbolEventNames:u,TRUE_STR:d,FALSE_STR:y,ZONE_SYMBOL_PREFIX:C}=s.getGlobalObjects();for(let N=0;N<h.length;N++){const O=h[N],o=C+(O+y),c=C+(O+d);u[O]={},u[O][y]=o,u[O][d]=c}const k=n.EventTarget;k&&k.prototype&&s.patchEventTarget(n,s,[k&&k.prototype])}(n,h);const u=n.XMLHttpRequestEventTarget;u&&u.prototype&&h.patchEventTarget(n,h,[u.prototype])}),Zone.__load_patch("MutationObserver",(n,s,h)=>{Dt("MutationObserver"),Dt("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(n,s,h)=>{Dt("IntersectionObserver")}),Zone.__load_patch("FileReader",(n,s,h)=>{Dt("FileReader")}),Zone.__load_patch("on_property",(n,s,h)=>{!function le(n,s){if(Ft&&!qt||Zone[n.symbol("patchEvents")])return;const h=s.__Zone_ignore_on_properties;let u=[];if(Xt){const d=window;u=u.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const y=function $t(){try{const n=gt.navigator.userAgent;if(-1!==n.indexOf("MSIE ")||-1!==n.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:d,ignoreProperties:["error"]}]:[];wt(d,Ut(d),h&&h.concat(y),st(d))}u=u.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let d=0;d<u.length;d++){const y=s[u[d]];y&&y.prototype&&wt(y.prototype,Ut(y.prototype),h)}}(h,n)}),Zone.__load_patch("customElements",(n,s,h)=>{!function ae(n,s){const{isBrowser:h,isMix:u}=s.getGlobalObjects();(h||u)&&n.customElements&&"customElements"in n&&s.patchCallbacks(s,n.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(n,h)}),Zone.__load_patch("XHR",(n,s)=>{!function N(O){const t=O.XMLHttpRequest;if(!t)return;const e=t.prototype;let c=e[kt],i=e[Tt];if(!c){const w=O.XMLHttpRequestEventTarget;if(w){const x=w.prototype;c=x[kt],i=x[Tt]}}const a="readystatechange",_="scheduled";function m(w){const x=w.data,L=x.target;L[y]=!1,L[k]=!1;const it=L[d];c||(c=L[kt],i=L[Tt]),it&&i.call(L,a,it);const mt=L[d]=()=>{if(L.readyState===L.DONE)if(!x.aborted&&L[y]&&w.state===_){const Y=L[s.__symbol__("loadfalse")];if(0!==L.status&&Y&&Y.length>0){const _t=w.invoke;w.invoke=function(){const ct=L[s.__symbol__("loadfalse")];for(let K=0;K<ct.length;K++)ct[K]===w&&ct.splice(K,1);!x.aborted&&w.state===_&&_t.call(w)},Y.push(w)}else w.invoke()}else!x.aborted&&!1===L[y]&&(L[k]=!0)};return c.call(L,a,mt),L[h]||(L[h]=w),P.apply(L,x.args),L[y]=!0,w}function p(){}function E(w){const x=w.data;return x.aborted=!0,z.apply(x.target,x.args)}const Z=ft(e,"open",()=>function(w,x){return w[u]=0==x[2],w[C]=x[1],Z.apply(w,x)}),J=W("fetchTaskAborting"),U=W("fetchTaskScheduling"),P=ft(e,"send",()=>function(w,x){if(!0===s.current[U]||w[u])return P.apply(w,x);{const L={target:w,url:w[C],isPeriodic:!1,args:x,aborted:!1},it=It("XMLHttpRequest.send",p,L,m,E);w&&!0===w[k]&&!L.aborted&&it.state===_&&it.invoke()}}),z=ft(e,"abort",()=>function(w,x){const L=function o(w){return w[h]}(w);if(L&&"string"==typeof L.type){if(null==L.cancelFn||L.data&&L.data.aborted)return;L.zone.cancelTask(L)}else if(!0===s.current[J])return z.apply(w,x)})}(n);const h=W("xhrTask"),u=W("xhrSync"),d=W("xhrListener"),y=W("xhrScheduled"),C=W("xhrURL"),k=W("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&function ne(n,s){const h=n.constructor.name;for(let u=0;u<s.length;u++){const d=s[u],y=n[d];if(y){if(!Vt(nt(n,d)))continue;n[d]=(k=>{const N=function(){return k.apply(this,Ht(arguments,h+"."+d))};return ht(N,k),N})(y)}}}(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(n,s)=>{function h(u){return function(d){rt(n,u).forEach(C=>{const k=n.PromiseRejectionEvent;if(k){const N=new k(u,{promise:d.promise,reason:d.rejection});C.invoke(N)}})}}n.PromiseRejectionEvent&&(s[W("unhandledPromiseRejectionHandler")]=h("unhandledrejection"),s[W("rejectionHandledHandler")]=h("rejectionhandled"))})}},nt=>{nt(nt.s=37)}]);
|
|
109
|
-
(self.webpackChunknavbar=self.webpackChunknavbar||[]).push([[179],{357:(ao,os,lu)=>{"use strict";function co(n){return"function"==typeof n}let w=!1;const vi={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else w&&console.log("RxJS: Back to a better error behavior. Thank you. <3");w=n},get useDeprecatedSynchronousErrorHandling(){return w}};function Ho(n){setTimeout(()=>{throw n},0)}const lc={closed:!0,next(n){},error(n){if(vi.useDeprecatedSynchronousErrorHandling)throw n;Ho(n)},complete(){}},nn=Array.isArray||(n=>n&&"number"==typeof n.length);function uu(n){return null!==n&&"object"==typeof n}const uc=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class ze{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:o,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof ze)e.remove(this);else if(null!==e)for(let s=0;s<e.length;++s)e[s].remove(this);if(co(o)){i&&(this._unsubscribe=void 0);try{o.call(this)}catch(s){t=s instanceof uc?lo(s.errors):[s]}}if(nn(r)){let s=-1,c=r.length;for(;++s<c;){const u=r[s];if(uu(u))try{u.unsubscribe()}catch(h){t=t||[],h instanceof uc?t=t.concat(lo(h.errors)):t.push(h)}}}if(t)throw new uc(t)}add(t){let e=t;if(!t)return ze.EMPTY;switch(typeof t){case"function":e=new ze(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof ze)){const r=e;e=new ze,e._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:i}=e;if(null===i)e._parentOrParents=this;else if(i instanceof ze){if(i===this)return e;e._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return e;i.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[e]:o.push(e),e}remove(t){const e=this._subscriptions;if(e){const i=e.indexOf(t);-1!==i&&e.splice(i,1)}}}var n;function lo(n){return n.reduce((t,e)=>t.concat(e instanceof uc?e.errors:e),[])}ze.EMPTY=((n=new ze).closed=!0,n);const qs="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class mt extends ze{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=lc;break;case 1:if(!t){this.destination=lc;break}if("object"==typeof t){t instanceof mt?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new ea(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new ea(this,t,e,i)}}[qs](){return this}static create(t,e,i){const o=new mt(t,e,i);return o.syncErrorThrowable=!1,o}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class ea extends mt{constructor(t,e,i,o){super(),this._parentSubscriber=t;let r,s=this;co(e)?r=e:e&&(r=e.next,i=e.error,o=e.complete,e!==lc&&(s=Object.create(e),co(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=r,this._error=i,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;vi.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=vi;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):Ho(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;Ho(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);vi.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),vi.useDeprecatedSynchronousErrorHandling)throw i;Ho(i)}}__tryOrSetError(t,e,i){if(!vi.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(o){return vi.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=o,t.syncErrorThrown=!0,!0):(Ho(o),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const rs="function"==typeof Symbol&&Symbol.observable||"@@observable";function yi(n){return n}let Be=(()=>{class n{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,o){const{operator:r}=this,s=function mr(n,t,e){if(n){if(n instanceof mt)return n;if(n[qs])return n[qs]()}return n||t||e?new mt(n,t,e):new mt(lc)}(e,i,o);if(s.add(r?r.call(s,this.source):this.source||vi.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),vi.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(i){vi.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function ni(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof mt?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=Vi(i))((o,r)=>{let s;s=this.subscribe(c=>{try{e(c)}catch(u){r(u),s&&s.unsubscribe()}},r,o)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[rs](){return this}pipe(...e){return 0===e.length?this:function Mi(n){return 0===n.length?yi:1===n.length?n[0]:function(e){return n.reduce((i,o)=>o(i),e)}}(e)(this)}toPromise(e){return new(e=Vi(e))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return n.create=t=>new n(t),n})();function Vi(n){if(n||(n=vi.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const uo=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class ap extends ze{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class cp extends mt{constructor(t){super(t),this.destination=t}}let oe=(()=>{class n extends Be{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[qs](){return new cp(this)}lift(e){const i=new lp(this,this);return i.operator=e,i}next(e){if(this.closed)throw new uo;if(!this.isStopped){const{observers:i}=this,o=i.length,r=i.slice();for(let s=0;s<o;s++)r[s].next(e)}}error(e){if(this.closed)throw new uo;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:i}=this,o=i.length,r=i.slice();for(let s=0;s<o;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new uo;this.isStopped=!0;const{observers:e}=this,i=e.length,o=e.slice();for(let r=0;r<i;r++)o[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new uo;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new uo;return this.hasError?(e.error(this.thrownError),ze.EMPTY):this.isStopped?(e.complete(),ze.EMPTY):(this.observers.push(e),new ap(this,e))}asObservable(){const e=new Be;return e.source=this,e}}return n.create=(t,e)=>new lp(t,e),n})();class lp extends oe{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):ze.EMPTY}}function _r(n){return n&&"function"==typeof n.schedule}function Cn(n,t){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new O_(n,t))}}class O_{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new br(t,this.project,this.thisArg))}}class br extends mt{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const ho=n=>t=>{for(let e=0,i=n.length;e<i&&!t.closed;e++)t.next(n[e]);t.complete()},Vn=function hc(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),vr=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function na(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const du=n=>{if(n&&"function"==typeof n[rs])return(n=>t=>{const e=n[rs]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(vr(n))return ho(n);if(na(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Ho),t))(n);if(n&&"function"==typeof n[Vn])return(n=>t=>{const e=n[Vn]();for(;;){let i;try{i=e.next()}catch(o){return t.error(o),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${uu(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function hu(n,t){return new Be(e=>{const i=new ze;let o=0;return i.add(t.schedule(function(){o!==n.length?(e.next(n[o++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function po(n,t){return t?function Ci(n,t){if(null!=n){if(function fc(n){return n&&"function"==typeof n[rs]}(n))return function ia(n,t){return new Be(e=>{const i=new ze;return i.add(t.schedule(()=>{const o=n[rs]();i.add(o.subscribe({next(r){i.add(t.schedule(()=>e.next(r)))},error(r){i.add(t.schedule(()=>e.error(r)))},complete(){i.add(t.schedule(()=>e.complete()))}}))})),i})}(n,t);if(na(n))return function oa(n,t){return new Be(e=>{const i=new ze;return i.add(t.schedule(()=>n.then(o=>{i.add(t.schedule(()=>{e.next(o),i.add(t.schedule(()=>e.complete()))}))},o=>{i.add(t.schedule(()=>e.error(o)))}))),i})}(n,t);if(vr(n))return hu(n,t);if(function up(n){return n&&"function"==typeof n[Vn]}(n)||"string"==typeof n)return function pc(n,t){if(!n)throw new Error("Iterable cannot be null");return new Be(e=>{const i=new ze;let o;return i.add(()=>{o&&"function"==typeof o.return&&o.return()}),i.add(t.schedule(()=>{o=n[Vn](),i.add(t.schedule(function(){if(e.closed)return;let r,s;try{const c=o.next();r=c.value,s=c.done}catch(c){return void e.error(c)}s?e.complete():(e.next(r),this.schedule())}))})),i})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,t):n instanceof Be?n:new Be(du(n))}class ra extends mt{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class ss extends mt{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function fo(n,t){if(t.closed)return;if(n instanceof Be)return n.subscribe(t);let e;try{e=du(n)(t)}catch(i){t.error(i)}return e}function Bn(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(Bn((o,r)=>po(n(o,r)).pipe(Cn((s,c)=>t(o,s,r,c))),e)):("number"==typeof t&&(e=t),i=>i.lift(new sa(n,e)))}class sa{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new gc(t,this.project,this.concurrent))}}class gc extends ss{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(e)}_innerSub(t){const e=new ra(this),i=this.destination;i.add(e);const o=fo(t,e);o!==e&&i.add(o)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function as(n=Number.POSITIVE_INFINITY){return Bn(yi,n)}function pu(n,t){return t?hu(n,t):new Be(ho(n))}function Bi(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return _r(i)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof i&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof Be?n[0]:as(t)(pu(n,e))}function yr(){return function(t){return t.lift(new fu(t))}}class fu{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const o=new gu(t,i),r=e.subscribe(o);return o.closed||(o.connection=i.connect()),r}}class gu extends mt{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,o=t._connection;this.connection=null,o&&(!i||o===i)&&o.unsubscribe()}}class mc extends Be{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new ze,t.add(this.source.subscribe(new _u(this.getSubject(),this))),t.closed&&(this._connection=null,t=ze.EMPTY)),t}refCount(){return yr()(this)}}const mu=(()=>{const n=mc.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class _u extends cp{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}class yu{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:i}=this,o=this.subjectFactory(),r=i(o).subscribe(t);return r.add(e.subscribe(o)),r}}function z_(){return new oe}
|
|
109
|
+
(self.webpackChunknavbar=self.webpackChunknavbar||[]).push([[179],{357:(ao,os,hu)=>{"use strict";function co(n){return"function"==typeof n}let w=!1;const vi={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else w&&console.log("RxJS: Back to a better error behavior. Thank you. <3");w=n},get useDeprecatedSynchronousErrorHandling(){return w}};function Ho(n){setTimeout(()=>{throw n},0)}const lc={closed:!0,next(n){},error(n){if(vi.useDeprecatedSynchronousErrorHandling)throw n;Ho(n)},complete(){}},nn=Array.isArray||(n=>n&&"number"==typeof n.length);function pu(n){return null!==n&&"object"==typeof n}const uc=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class ze{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:o,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof ze)e.remove(this);else if(null!==e)for(let s=0;s<e.length;++s)e[s].remove(this);if(co(o)){i&&(this._unsubscribe=void 0);try{o.call(this)}catch(s){t=s instanceof uc?lo(s.errors):[s]}}if(nn(r)){let s=-1,c=r.length;for(;++s<c;){const u=r[s];if(pu(u))try{u.unsubscribe()}catch(h){t=t||[],h instanceof uc?t=t.concat(lo(h.errors)):t.push(h)}}}if(t)throw new uc(t)}add(t){let e=t;if(!t)return ze.EMPTY;switch(typeof t){case"function":e=new ze(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof ze)){const r=e;e=new ze,e._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:i}=e;if(null===i)e._parentOrParents=this;else if(i instanceof ze){if(i===this)return e;e._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return e;i.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[e]:o.push(e),e}remove(t){const e=this._subscriptions;if(e){const i=e.indexOf(t);-1!==i&&e.splice(i,1)}}}var n;function lo(n){return n.reduce((t,e)=>t.concat(e instanceof uc?e.errors:e),[])}ze.EMPTY=((n=new ze).closed=!0,n);const Xs="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class mt extends ze{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=lc;break;case 1:if(!t){this.destination=lc;break}if("object"==typeof t){t instanceof mt?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new ta(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new ta(this,t,e,i)}}[Xs](){return this}static create(t,e,i){const o=new mt(t,e,i);return o.syncErrorThrowable=!1,o}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class ta extends mt{constructor(t,e,i,o){super(),this._parentSubscriber=t;let r,s=this;co(e)?r=e:e&&(r=e.next,i=e.error,o=e.complete,e!==lc&&(s=Object.create(e),co(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=r,this._error=i,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;vi.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=vi;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):Ho(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;Ho(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);vi.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),vi.useDeprecatedSynchronousErrorHandling)throw i;Ho(i)}}__tryOrSetError(t,e,i){if(!vi.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(o){return vi.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=o,t.syncErrorThrown=!0,!0):(Ho(o),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const rs="function"==typeof Symbol&&Symbol.observable||"@@observable";function yi(n){return n}let Be=(()=>{class n{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,o){const{operator:r}=this,s=function mr(n,t,e){if(n){if(n instanceof mt)return n;if(n[Xs])return n[Xs]()}return n||t||e?new mt(n,t,e):new mt(lc)}(e,i,o);if(s.add(r?r.call(s,this.source):this.source||vi.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),vi.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(i){vi.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function ni(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof mt?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=Vi(i))((o,r)=>{let s;s=this.subscribe(c=>{try{e(c)}catch(u){r(u),s&&s.unsubscribe()}},r,o)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[rs](){return this}pipe(...e){return 0===e.length?this:function Mi(n){return 0===n.length?yi:1===n.length?n[0]:function(e){return n.reduce((i,o)=>o(i),e)}}(e)(this)}toPromise(e){return new(e=Vi(e))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return n.create=t=>new n(t),n})();function Vi(n){if(n||(n=vi.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const uo=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class ap extends ze{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class cp extends mt{constructor(t){super(t),this.destination=t}}let oe=(()=>{class n extends Be{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Xs](){return new cp(this)}lift(e){const i=new lp(this,this);return i.operator=e,i}next(e){if(this.closed)throw new uo;if(!this.isStopped){const{observers:i}=this,o=i.length,r=i.slice();for(let s=0;s<o;s++)r[s].next(e)}}error(e){if(this.closed)throw new uo;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:i}=this,o=i.length,r=i.slice();for(let s=0;s<o;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new uo;this.isStopped=!0;const{observers:e}=this,i=e.length,o=e.slice();for(let r=0;r<i;r++)o[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new uo;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new uo;return this.hasError?(e.error(this.thrownError),ze.EMPTY):this.isStopped?(e.complete(),ze.EMPTY):(this.observers.push(e),new ap(this,e))}asObservable(){const e=new Be;return e.source=this,e}}return n.create=(t,e)=>new lp(t,e),n})();class lp extends oe{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):ze.EMPTY}}function _r(n){return n&&"function"==typeof n.schedule}function Cn(n,t){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new P_(n,t))}}class P_{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new br(t,this.project,this.thisArg))}}class br extends mt{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const ho=n=>t=>{for(let e=0,i=n.length;e<i&&!t.closed;e++)t.next(n[e]);t.complete()},Vn=function hc(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),vr=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function ia(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const fu=n=>{if(n&&"function"==typeof n[rs])return(n=>t=>{const e=n[rs]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(vr(n))return ho(n);if(ia(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Ho),t))(n);if(n&&"function"==typeof n[Vn])return(n=>t=>{const e=n[Vn]();for(;;){let i;try{i=e.next()}catch(o){return t.error(o),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${pu(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function gu(n,t){return new Be(e=>{const i=new ze;let o=0;return i.add(t.schedule(function(){o!==n.length?(e.next(n[o++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function po(n,t){return t?function Ci(n,t){if(null!=n){if(function fc(n){return n&&"function"==typeof n[rs]}(n))return function oa(n,t){return new Be(e=>{const i=new ze;return i.add(t.schedule(()=>{const o=n[rs]();i.add(o.subscribe({next(r){i.add(t.schedule(()=>e.next(r)))},error(r){i.add(t.schedule(()=>e.error(r)))},complete(){i.add(t.schedule(()=>e.complete()))}}))})),i})}(n,t);if(ia(n))return function ra(n,t){return new Be(e=>{const i=new ze;return i.add(t.schedule(()=>n.then(o=>{i.add(t.schedule(()=>{e.next(o),i.add(t.schedule(()=>e.complete()))}))},o=>{i.add(t.schedule(()=>e.error(o)))}))),i})}(n,t);if(vr(n))return gu(n,t);if(function up(n){return n&&"function"==typeof n[Vn]}(n)||"string"==typeof n)return function pc(n,t){if(!n)throw new Error("Iterable cannot be null");return new Be(e=>{const i=new ze;let o;return i.add(()=>{o&&"function"==typeof o.return&&o.return()}),i.add(t.schedule(()=>{o=n[Vn](),i.add(t.schedule(function(){if(e.closed)return;let r,s;try{const c=o.next();r=c.value,s=c.done}catch(c){return void e.error(c)}s?e.complete():(e.next(r),this.schedule())}))})),i})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,t):n instanceof Be?n:new Be(fu(n))}class sa extends mt{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class ss extends mt{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function fo(n,t){if(t.closed)return;if(n instanceof Be)return n.subscribe(t);let e;try{e=fu(n)(t)}catch(i){t.error(i)}return e}function Bn(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(Bn((o,r)=>po(n(o,r)).pipe(Cn((s,c)=>t(o,s,r,c))),e)):("number"==typeof t&&(e=t),i=>i.lift(new aa(n,e)))}class aa{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new gc(t,this.project,this.concurrent))}}class gc extends ss{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(e)}_innerSub(t){const e=new sa(this),i=this.destination;i.add(e);const o=fo(t,e);o!==e&&i.add(o)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function as(n=Number.POSITIVE_INFINITY){return Bn(yi,n)}function mu(n,t){return t?gu(n,t):new Be(ho(n))}function Bi(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return _r(i)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof i&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof Be?n[0]:as(t)(mu(n,e))}function yr(){return function(t){return t.lift(new _u(t))}}class _u{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const o=new bu(t,i),r=e.subscribe(o);return o.closed||(o.connection=i.connect()),r}}class bu extends mt{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,o=t._connection;this.connection=null,o&&(!i||o===i)&&o.unsubscribe()}}class mc extends Be{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new ze,t.add(this.source.subscribe(new yu(this.getSubject(),this))),t.closed&&(this._connection=null,t=ze.EMPTY)),t}refCount(){return yr()(this)}}const vu=(()=>{const n=mc.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class yu extends cp{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}class wu{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:i}=this,o=this.subjectFactory(),r=i(o).subscribe(t);return r.add(e.subscribe(o)),r}}function F_(){return new oe}
|
|
110
110
|
/**
|
|
111
111
|
* @license Angular v14.3.0
|
|
112
112
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
@@ -126,14 +126,14 @@ function lt(n){for(let t in n)if(n[t]===lt)return t;throw Error("Could not find
|
|
|
126
126
|
*
|
|
127
127
|
* Use of this source code is governed by an MIT-style license that can be
|
|
128
128
|
* found in the LICENSE file at https://angular.io/license
|
|
129
|
-
*/function ct(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ct).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function
|
|
129
|
+
*/function ct(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ct).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Du(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}
|
|
130
130
|
/**
|
|
131
131
|
* @license
|
|
132
132
|
* Copyright Google LLC All Rights Reserved.
|
|
133
133
|
*
|
|
134
134
|
* Use of this source code is governed by an MIT-style license that can be
|
|
135
135
|
* found in the LICENSE file at https://angular.io/license
|
|
136
|
-
*/const
|
|
136
|
+
*/const B_=lt({__forward_ref__:lt});function Ze(n){return n.__forward_ref__=Ze,n.toString=function(){return ct(this())},n}function ue(n){return bc(n)?n():n}function bc(n){return"function"==typeof n&&n.hasOwnProperty(B_)&&n.__forward_ref__===Ze}
|
|
137
137
|
/**
|
|
138
138
|
* @license
|
|
139
139
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -170,7 +170,7 @@ class V extends Error{constructor(t,e){super(function vc(n,t){return`NG0${Math.a
|
|
|
170
170
|
* Use of this source code is governed by an MIT-style license that can be
|
|
171
171
|
* found in the LICENSE file at https://angular.io/license
|
|
172
172
|
*/
|
|
173
|
-
function $(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function
|
|
173
|
+
function $(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function st(n){return{providers:n.providers||[],imports:n.imports||[]}}function Mc(n){return hp(n,ca)||hp(n,fp)}function hp(n,t){return n.hasOwnProperty(t)?n[t]:null}function Iu(n){return n&&(n.hasOwnProperty(la)||n.hasOwnProperty(gp))?n[la]:null}const ca=lt({\u0275prov:lt}),la=lt({\u0275inj:lt}),fp=lt({ngInjectableDef:lt}),gp=lt({ngInjectorDef:lt});
|
|
174
174
|
/**
|
|
175
175
|
* @license
|
|
176
176
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -184,7 +184,7 @@ function $(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.facto
|
|
|
184
184
|
*
|
|
185
185
|
* Use of this source code is governed by an MIT-style license that can be
|
|
186
186
|
* found in the LICENSE file at https://angular.io/license
|
|
187
|
-
*/let Cc;function Yn(n){const t=Cc;return Cc=n,t}function
|
|
187
|
+
*/let Cc;function Yn(n){const t=Cc;return Cc=n,t}function Tu(n,t,e){const i=Mc(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&ae.Optional?null:void 0!==t?t:void yc(ct(n))}
|
|
188
188
|
/**
|
|
189
189
|
* @license
|
|
190
190
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -207,7 +207,7 @@ function Yo(n){return{toString:n}.toString()}
|
|
|
207
207
|
* Use of this source code is governed by an MIT-style license that can be
|
|
208
208
|
* found in the LICENSE file at https://angular.io/license
|
|
209
209
|
*/
|
|
210
|
-
const ut=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Mr={},$e=[],
|
|
210
|
+
const ut=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Mr={},$e=[],ua=lt({\u0275cmp:lt}),wc=lt({\u0275dir:lt}),ku=lt({\u0275pipe:lt}),vp=lt({\u0275mod:lt}),mo=lt({\u0275fac:lt}),cs=lt({__NG_ELEMENT_ID__:lt});
|
|
211
211
|
/**
|
|
212
212
|
* @license
|
|
213
213
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -222,7 +222,7 @@ const ut=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||type
|
|
|
222
222
|
* Use of this source code is governed by an MIT-style license that can be
|
|
223
223
|
* found in the LICENSE file at https://angular.io/license
|
|
224
224
|
*/
|
|
225
|
-
let
|
|
225
|
+
let J_=0;function nt(n){return Yo(()=>{const e=!0===n.standalone,i={},o={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===ii.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||$e,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||pn.Emulated,id:"c"+J_++,styles:n.styles||$e,_:null,setInput:null,schemas:n.schemas||null,tView:null},r=n.dependencies,s=n.features;return o.inputs=Mp(n.inputs,i),o.outputs=Mp(n.outputs),s&&s.forEach(c=>c(o)),o.directiveDefs=r?()=>("function"==typeof r?r():r).map(yp).filter(Dc):null,o.pipeDefs=r?()=>("function"==typeof r?r():r).map(wn).filter(Dc):null,o})}function yp(n){return ee(n)||xe(n)}function Dc(n){return null!==n}function dt(n){return Yo(()=>({type:n.type,bootstrap:n.bootstrap||$e,declarations:n.declarations||$e,imports:n.imports||$e,exports:n.exports||$e,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Mp(n,t){if(null==n)return Mr;const e={};for(const i in n)if(n.hasOwnProperty(i)){let o=n[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),e[o]=i,t&&(t[o]=r)}return e}const B=nt;function on(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function ee(n){return n[ua]||null}function xe(n){return n[wc]||null}function wn(n){return n[ku]||null}
|
|
226
226
|
/**
|
|
227
227
|
* @license
|
|
228
228
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -259,7 +259,7 @@ function Qo(n,t){return n.hasOwnProperty(mo)?n[mo]:null}
|
|
|
259
259
|
*
|
|
260
260
|
* Use of this source code is governed by an MIT-style license that can be
|
|
261
261
|
* found in the LICENSE file at https://angular.io/license
|
|
262
|
-
*/function an(){return Ep}function Ep(n){return n.type.prototype.ngOnChanges&&(n.setInput=
|
|
262
|
+
*/function an(){return Ep}function Ep(n){return n.type.prototype.ngOnChanges&&(n.setInput=rb),ob}function ob(){const n=ci(this),t=n?.current;if(t){const e=n.previous;if(e===Mr)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function rb(n,t,e,i){const o=ci(n)||function Lp(n,t){return n[xr]=t}
|
|
263
263
|
/**
|
|
264
264
|
* @license
|
|
265
265
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -274,35 +274,35 @@ function Qo(n,t){return n.hasOwnProperty(mo)?n[mo]:null}
|
|
|
274
274
|
* Use of this source code is governed by an MIT-style license that can be
|
|
275
275
|
* found in the LICENSE file at https://angular.io/license
|
|
276
276
|
*/
|
|
277
|
-
function k(n){for(;Array.isArray(n);)n=n[0];return n}function He(n,t){return k(t[n])}function Je(n,t){return k(t[n.index])}function
|
|
277
|
+
function k(n){for(;Array.isArray(n);)n=n[0];return n}function He(n,t){return k(t[n])}function Je(n,t){return k(t[n.index])}function pa(n,t){return n.data[t]}function ps(n,t){return n[t]}function Mt(n,t){const e=t[n];return Nn(e)?e:e[0]}function Lc(n){return 64==(64&n[2])}function Di(n,t){return null==t?null:n[t]}function fa(n){n[18]=0}function qe(n,t){n[5]+=t;let e=n,i=n[3];for(;null!==i&&(1===t&&1===e[5]||-1===t&&0===e[5]);)i[5]+=t,e=i,i=i[3]
|
|
278
278
|
/**
|
|
279
279
|
* @license
|
|
280
280
|
* Copyright Google LLC All Rights Reserved.
|
|
281
281
|
*
|
|
282
282
|
* Use of this source code is governed by an MIT-style license that can be
|
|
283
283
|
* found in the LICENSE file at https://angular.io/license
|
|
284
|
-
*/}const fe={lFrame:
|
|
284
|
+
*/}const fe={lFrame:_a(null),bindingsEnabled:!0};function ga(){return fe.bindingsEnabled}function z(){return fe.lFrame.lView}function Ae(){return fe.lFrame.tView}function Ui(n){return fe.lFrame.contextLView=n,n[8]}function Yi(n){return fe.lFrame.contextLView=null,n}function Tt(){let n=Ru();for(;null!==n&&64===n.type;)n=n.parent;return n}function Ru(){return fe.lFrame.currentTNode}function mn(n,t){const e=fe.lFrame;e.currentTNode=n,e.isParent=t}function gs(){return fe.lFrame.isParent}function zu(){fe.lFrame.isParent=!1}function cn(){const n=fe.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function Mo(){return fe.lFrame.bindingIndex}function ms(){return fe.lFrame.bindingIndex++}function Co(n){const t=fe.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function hb(n,t){const e=fe.lFrame;e.bindingIndex=e.bindingRootIndex=n,Ac(t)}function Ac(n){fe.lFrame.currentDirectiveIndex=n}function Bu(n){const t=fe.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function Oc(){return fe.lFrame.currentQueryIndex}function Sr(n){fe.lFrame.currentQueryIndex=n}function Hu(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function Ir(n,t,e){if(e&ae.SkipSelf){let o=t,r=n;for(;!(o=o.parent,null!==o||e&ae.Host||(o=Hu(r),null===o||(r=r[15],10&o.type))););if(null===o)return!1;t=o,n=r}const i=fe.lFrame=_s();return i.currentTNode=t,i.lView=n,!0}function Tr(n){const t=_s(),e=n[1];fe.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function _s(){const n=fe.lFrame,t=null===n?null:n.child;return null===t?_a(n):t}function _a(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function kr(){const n=fe.lFrame;return fe.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Np=kr;function Uu(){const n=kr();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Dn(){return fe.lFrame.selectedIndex}function xi(n){fe.lFrame.selectedIndex=n}function ft(){const n=fe.lFrame;return pa(n.tView,n.selectedIndex)}function jc(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e<i;e++){const r=n.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:c,ngAfterViewInit:u,ngAfterViewChecked:h,ngOnDestroy:p}=r;s&&(n.contentHooks||(n.contentHooks=[])).push(-e,s),c&&((n.contentHooks||(n.contentHooks=[])).push(e,c),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(e,c)),u&&(n.viewHooks||(n.viewHooks=[])).push(-e,u),h&&((n.viewHooks||(n.viewHooks=[])).push(e,h),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(e,h)),null!=p&&(n.destroyHooks||(n.destroyHooks=[])).push(e,p)}}function Rc(n,t,e){Ap(n,t,3,e)}function zc(n,t,e,i){(3&n[2])===e&&Ap(n,t,e,i)}function wo(n,t){let e=n[2];(3&e)===t&&(e&=2047,e+=1,n[2]=e)}function Ap(n,t,e,i){const r=i??-1,s=t.length-1;let c=0;for(let u=void 0!==i?65535&n[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(c=t[u],null!=i&&c>=i)break}else t[u]<0&&(n[18]+=65536),(c<r||-1==r)&&(mb(n,e,t,u),n[18]=(4294901760&n[18])+u+2),u++}function mb(n,t,e,i){const o=e[i]<0,r=e[i+1],c=n[o?-e[i]:e[i]];if(o){if(n[2]>>11<n[18]>>16&&(3&n[2])===t){n[2]+=2048;try{r.call(c)}finally{}}}else try{r.call(c)}finally{}}
|
|
285
285
|
/**
|
|
286
286
|
* @license
|
|
287
287
|
* Copyright Google LLC All Rights Reserved.
|
|
288
288
|
*
|
|
289
289
|
* Use of this source code is governed by an MIT-style license that can be
|
|
290
290
|
* found in the LICENSE file at https://angular.io/license
|
|
291
|
-
*/class
|
|
291
|
+
*/class ba{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Fc(n,t,e){let i=0;for(;i<e.length;){const o=e[i];if("number"==typeof o){if(0!==o)break;i++;const r=e[i++],s=e[i++],c=e[i++];n.setAttribute(t,s,c,r)}else{const r=o,s=e[++i];Pp(r)?n.setProperty(t,r,s):n.setAttribute(t,r,s),i++}}return i}function Op(n){return 3===n||4===n||6===n}function Pp(n){return 64===n.charCodeAt(0)}function Vc(n,t){if(null!==t&&0!==t.length)if(null===n||0===n.length)n=t.slice();else{let e=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?e=o:0===e||jp(n,e,o,null,-1===e||2===e?t[++i]:null)}}return n}function jp(n,t,e,i,o){let r=0,s=n.length;if(-1===t)s=-1;else for(;r<n.length;){const c=n[r++];if("number"==typeof c){if(c===t){s=-1;break}if(c>t){s=r-1;break}}}for(;r<n.length;){const c=n[r];if("number"==typeof c)break;if(c===e){if(null===i)return void(null!==o&&(n[r+1]=o));if(i===n[r+1])return void(n[r+2]=o)}r++,null!==i&&r++,null!==o&&r++}-1!==s&&(n.splice(s,0,t),r=s+1),n.splice(r++,0,e),null!==i&&n.splice(r++,0,i),null!==o&&n.splice(r++,0,o)}
|
|
292
292
|
/**
|
|
293
293
|
* @license
|
|
294
294
|
* Copyright Google LLC All Rights Reserved.
|
|
295
295
|
*
|
|
296
296
|
* Use of this source code is governed by an MIT-style license that can be
|
|
297
297
|
* found in the LICENSE file at https://angular.io/license
|
|
298
|
-
*/function Jo(n){return-1!==n}function vs(n){return 32767&n}function _n(n,t){let e=function
|
|
298
|
+
*/function Jo(n){return-1!==n}function vs(n){return 32767&n}function _n(n,t){let e=function yb(n){return n>>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}
|
|
299
299
|
/**
|
|
300
300
|
* @license
|
|
301
301
|
* Copyright Google LLC All Rights Reserved.
|
|
302
302
|
*
|
|
303
303
|
* Use of this source code is governed by an MIT-style license that can be
|
|
304
304
|
* found in the LICENSE file at https://angular.io/license
|
|
305
|
-
*/let
|
|
305
|
+
*/let Wu=!0;function Bc(n){const t=Wu;return Wu=n,t}let Fp=0;const Si={};function ya(n,t){const e=Er(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,Ma(i.data,n),Ma(t,null),Ma(i.blueprint,null));const o=Lr(n,t),r=n.injectorIndex;if(Jo(o)){const s=vs(o),c=_n(o,t),u=c[1].data;for(let h=0;h<8;h++)t[r+h]=c[s+h]|u[s+h]}return t[r+8]=o,r}function Ma(n,t){n.push(0,0,0,0,0,0,0,0,t)}function Er(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function Lr(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,o=t;for(;null!==o;){if(i=Zt(o),null===i)return-1;if(e++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Hc(n,t,e){!function Mb(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(cs)&&(i=e[cs]),null==i&&(i=e[cs]=Fp++);const o=255&i;t.data[n+(o>>5)]|=1<<o}(n,t,e)}function Bp(n,t,e){if(e&ae.Optional||void 0!==n)return n;yc()}function Gi(n,t,e,i){if(e&ae.Optional&&void 0===i&&(i=null),0==(e&(ae.Self|ae.Host))){const o=n[9],r=Yn(void 0);try{return o?o.get(t,i,e&ae.Optional):Tu(t,i,e&ae.Optional)}finally{Yn(r)}}return Bp(i,0,e)}function Uc(n,t,e,i=ae.Default,o){if(null!==n){if(1024&t[2]){const s=function Up(n,t,e,i,o){let r=n,s=t;for(;null!==r&&null!==s&&1024&s[2]&&!(256&s[2]);){const c=qo(r,s,e,i|ae.Self,Si);if(c!==Si)return c;let u=r.parent;if(!u){const h=s[21];if(h){const p=h.get(e,Si,i);if(p!==Si)return p}u=Zt(s),s=s[15]}r=u}return o}(n,t,e,i,Si);if(s!==Si)return s}const r=qo(n,t,e,i,Si);if(r!==Si)return r}return Gi(t,e,i,o)}function qo(n,t,e,i,o){const r=function Hp(n){if("string"==typeof n)return n.charCodeAt(0)||0;const t=n.hasOwnProperty(cs)?n[cs]:void 0;return"number"==typeof t?t>=0?255&t:Cb:t}(e);if("function"==typeof r){if(!Ir(t,n,i))return i&ae.Host?Bp(o,0,i):Gi(t,e,i,o);try{const s=r(i);if(null!=s||i&ae.Optional)return s;yc()}finally{Np()}}else if("number"==typeof r){let s=null,c=Er(n,t),u=-1,h=i&ae.Host?t[16][6]:null;for((-1===c||i&ae.SkipSelf)&&(u=-1===c?Lr(n,t):t[c+8],-1!==u&&xo(i,!1)?(s=t[1],c=vs(u),t=_n(u,t)):c=-1);-1!==c;){const p=t[1];if(Ms(r,c,p.data)){const g=di(c,t,e,s,i,h);if(g!==Si)return g}u=t[c+8],-1!==u&&xo(i,t[1].data[c+8]===h)&&Ms(r,c,t)?(s=p,c=vs(u),t=_n(u,t)):c=-1}}return o}function di(n,t,e,i,o,r){const s=t[1],c=s.data[n+8],p=Yc(c,s,e,null==i?bo(c)&&Wu:i!=s&&0!=(3&c.type),o&ae.Host&&r===c);return null!==p?ys(t,s,p,c):Si}function Yc(n,t,e,i,o){const r=n.providerIndexes,s=t.data,c=1048575&r,u=n.directiveStart,p=r>>20,_=o?c+p:n.directiveEnd;for(let y=i?c:c+p;y<_;y++){const M=s[y];if(y<u&&e===M||y>=u&&M.type===e)return y}if(o){const y=s[u];if(y&&si(y)&&y.type===e)return u}return null}function ys(n,t,e,i){let o=n[e];const r=t.data;if(function _b(n){return n instanceof ba}(o)){const s=o;s.resolving&&
|
|
306
306
|
/**
|
|
307
307
|
* @license
|
|
308
308
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -310,7 +310,7 @@ function k(n){for(;Array.isArray(n);)n=n[0];return n}function He(n,t){return k(t
|
|
|
310
310
|
* Use of this source code is governed by an MIT-style license that can be
|
|
311
311
|
* found in the LICENSE file at https://angular.io/license
|
|
312
312
|
*/
|
|
313
|
-
function
|
|
313
|
+
function xu(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new V(-200,`Circular dependency in DI detected for ${n}${e}`)}(function Ke(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():pe(n)}(r[e]));const c=Bc(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Yn(s.injectImpl):null;Ir(n,i,ae.Default);try{o=n[e]=s.factory(void 0,r,n,i),t.firstCreatePass&&e>=i.directiveStart&&
|
|
314
314
|
/**
|
|
315
315
|
* @license
|
|
316
316
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -318,7 +318,7 @@ function Cu(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw
|
|
|
318
318
|
* Use of this source code is governed by an MIT-style license that can be
|
|
319
319
|
* found in the LICENSE file at https://angular.io/license
|
|
320
320
|
*/
|
|
321
|
-
function
|
|
321
|
+
function je(n,t,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=t.type.prototype;if(i){const s=Ep(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s)}o&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,o),r&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,r),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,r))}(e,r[e],t)}finally{null!==u&&Yn(u),Bc(c),s.resolving=!1,Np()}}return o}function Ms(n,t,e){return!!(e[t+(n>>5)]&1<<n)}function xo(n,t){return!(n&ae.Self||n&ae.Host&&t)}class Nr{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,i){return Uc(this._tNode,this._lView,t,i,e)}}function Cb(){return new Nr(Tt(),z())}function Xe(n){return Yo(()=>{const t=n.prototype.constructor,e=t[mo]||Qu(t),i=Object.prototype;let o=Object.getPrototypeOf(n.prototype).constructor;for(;o&&o!==i;){const r=o[mo]||Qu(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Qu(n){return bc(n)?()=>{const t=Qu(ue(n));return t&&t()}:Qo(n)}function Zt(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}
|
|
322
322
|
/**
|
|
323
323
|
* @license
|
|
324
324
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -348,7 +348,7 @@ class G{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.
|
|
|
348
348
|
*
|
|
349
349
|
* Use of this source code is governed by an MIT-style license that can be
|
|
350
350
|
* found in the LICENSE file at https://angular.io/license
|
|
351
|
-
*/function Qn(n,t){void 0===t&&(t=n);for(let e=0;e<n.length;e++){let i=n[e];Array.isArray(i)?(t===n&&(t=n.slice(0,e)),Qn(i,t)):t!==n&&t.push(i)}return t}function Wi(n,t){n.forEach(e=>Array.isArray(e)?Wi(e,t):t(e))}function Qc(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Zc(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function jr(n,t){const e=[];for(let i=0;i<n;i++)e.push(t);return e}function On(n,t,e){let i=Rr(n,t);return i>=0?n[1|i]=e:(i=~i,function Wp(n,t,e,i){let o=n.length;if(o==t)n.push(e,i);else if(1===o)n.push(i,n[0]),n[0]=e;else{for(o--,n.push(n[o-1],n[o]);o>t;)n[o]=n[o-2],o--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function
|
|
351
|
+
*/function Qn(n,t){void 0===t&&(t=n);for(let e=0;e<n.length;e++){let i=n[e];Array.isArray(i)?(t===n&&(t=n.slice(0,e)),Qn(i,t)):t!==n&&t.push(i)}return t}function Wi(n,t){n.forEach(e=>Array.isArray(e)?Wi(e,t):t(e))}function Qc(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Zc(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function jr(n,t){const e=[];for(let i=0;i<n;i++)e.push(t);return e}function On(n,t,e){let i=Rr(n,t);return i>=0?n[1|i]=e:(i=~i,function Wp(n,t,e,i){let o=n.length;if(o==t)n.push(e,i);else if(1===o)n.push(i,n[0]),n[0]=e;else{for(o--,n.push(n[o-1],n[o]);o>t;)n[o]=n[o-2],o--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function qu(n,t){const e=Rr(n,t);if(e>=0)return n[1|e]}function Rr(n,t){return function $c(n,t,e){let i=0,o=n.length>>e;for(;o!==i;){const r=i+(o-i>>1),s=n[r<<e];if(t===s)return r<<e;s>t?o=r:i=r+1}return~(o<<e)}
|
|
352
352
|
/**
|
|
353
353
|
* @license
|
|
354
354
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -363,7 +363,7 @@ class G{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.
|
|
|
363
363
|
* Use of this source code is governed by an MIT-style license that can be
|
|
364
364
|
* found in the LICENSE file at https://angular.io/license
|
|
365
365
|
*/
|
|
366
|
-
const
|
|
366
|
+
const xa={},nd="__NG_DI_FLAG__",Sn="ngTempTokenPath",Kc=/\n/gm,od="__source";let ws;function $t(n){const t=ws;return ws=n,t}function tr(n,t=ae.Default){if(void 0===ws)throw new V(-203,!1);return null===ws?Tu(n,void 0,t):ws.get(n,t&ae.Optional?null:void 0,t)}function P(n,t=ae.Default){return(function $_(){return Cc}()||tr)(ue(n),t)}function Io(n,t=ae.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),P(n,t)}function Jc(n){const t=[];for(let e=0;e<n.length;e++){const i=ue(n[e]);if(Array.isArray(i)){if(0===i.length)throw new V(900,!1);let o,r=ae.Default;for(let s=0;s<i.length;s++){const c=i[s],u=Zp(c);"number"==typeof u?-1===u?o=c.token:r|=u:o=c}t.push(P(o,r))}else t.push(P(i))}return t}function zr(n,t){return n[nd]=t,n.prototype[nd]=t,n}function Zp(n){return n[nd]}
|
|
367
367
|
/**
|
|
368
368
|
* @license
|
|
369
369
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -371,7 +371,7 @@ const Da={},Xu="__NG_DI_FLAG__",Sn="ngTempTokenPath",Kc=/\n/gm,td="__source";let
|
|
|
371
371
|
* Use of this source code is governed by an MIT-style license that can be
|
|
372
372
|
* found in the LICENSE file at https://angular.io/license
|
|
373
373
|
*/
|
|
374
|
-
const
|
|
374
|
+
const Sa=zr(Pr("Optional"),8),Ds=zr(Pr("SkipSelf"),4);
|
|
375
375
|
/**
|
|
376
376
|
* @license
|
|
377
377
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -401,7 +401,7 @@ var In=(()=>((In=In||{})[In.Important=1]="Important",In[In.DashCase=2]="DashCase
|
|
|
401
401
|
* Use of this source code is governed by an MIT-style license that can be
|
|
402
402
|
* found in the LICENSE file at https://angular.io/license
|
|
403
403
|
*/
|
|
404
|
-
const
|
|
404
|
+
const ka=new Map;let pd=0;const cl="__ngContext__";function et(n,t){Nn(t)?(n[cl]=t[20],function ks(n){ka.set(n[20],n)}(t)):n[cl]=t}function La(n,t){return undefined(n,t)}
|
|
405
405
|
/**
|
|
406
406
|
* @license
|
|
407
407
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -409,21 +409,21 @@ const Ta=new Map;let ud=0;const cl="__ngContext__";function et(n,t){Nn(t)?(n[cl]
|
|
|
409
409
|
* Use of this source code is governed by an MIT-style license that can be
|
|
410
410
|
* found in the LICENSE file at https://angular.io/license
|
|
411
411
|
*/
|
|
412
|
-
function Es(n){const t=n[3];return ri(t)?t[3]:t}function
|
|
412
|
+
function Es(n){const t=n[3];return ri(t)?t[3]:t}function vd(n){return gf(n[13])}function yd(n){return gf(n[4])}function gf(n){for(;null!==n&&!ri(n);)n=n[4];return n}
|
|
413
413
|
/**
|
|
414
414
|
* @license
|
|
415
415
|
* Copyright Google LLC All Rights Reserved.
|
|
416
416
|
*
|
|
417
417
|
* Use of this source code is governed by an MIT-style license that can be
|
|
418
418
|
* found in the LICENSE file at https://angular.io/license
|
|
419
|
-
*/function Vr(n,t,e,i,o){if(null!=i){let r,s=!1;ri(i)?r=i:Nn(i)&&(s=!0,i=i[0]);const c=k(i);0===n&&null!==e?null==o?Cf(t,e,c):Hr(t,e,c,o||null,!0):1===n&&null!==e?Hr(t,e,c,o||null,!0):2===n?function
|
|
419
|
+
*/function Vr(n,t,e,i,o){if(null!=i){let r,s=!1;ri(i)?r=i:Nn(i)&&(s=!0,i=i[0]);const c=k(i);0===n&&null!==e?null==o?Cf(t,e,c):Hr(t,e,c,o||null,!0):1===n&&null!==e?Hr(t,e,c,o||null,!0):2===n?function Ed(n,t,e){const i=dl(n,t);i&&function Yb(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,c,s):3===n&&t.destroyNode(c),null!=r&&function Gb(n,t,e,i,o){const r=e[7];r!==k(e)&&Vr(t,n,i,r,o);for(let c=10;c<e.length;c++){const u=e[c];Oa(u[1],u,n,t,i,r)}}(t,n,r,e,o)}}function Br(n,t,e){return n.createElement(t,e)}function nr(n,t){const e=n[9],i=e.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,qe(o,-1)),e.splice(i,1)}function wd(n,t){if(n.length<=10)return;const e=10+t,i=n[e];if(i){const o=i[17];null!==o&&o!==n&&nr(o,i),t>0&&(n[e-1][4]=i[4]);const r=Zc(n,10+t);!function Cd(n,t){Oa(n,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=r[19];null!==s&&s.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Dd(n,t){if(!(128&t[2])){const e=t[11];e.destroyNode&&Oa(n,t,e,3,null,null),function ul(n){let t=n[13];if(!t)return xd(n[1],n);for(;t;){let e=null;if(Nn(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)Nn(t)&&xd(t[1],t),t=t[3];null===t&&(t=n),Nn(t)&&xd(t[1],t),e=t&&t[4]}t=e}}(t)}}function xd(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Ub(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i<e.length;i+=2){const o=t[e[i]];if(!(o instanceof ba)){const r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){const c=o[r[s]],u=r[s+1];try{u.call(c)}finally{}}else try{r.call(o)}finally{}}}}(n,t),function Hb(n,t){const e=n.cleanup,i=t[7];let o=-1;if(null!==e)for(let r=0;r<e.length-1;r+=2)if("string"==typeof e[r]){const s=e[r+1],c="function"==typeof s?s(t):k(t[s]),u=i[o=e[r+2]],h=e[r+3];"boolean"==typeof h?c.removeEventListener(e[r],u,h):h>=0?i[o=h]():i[o=-h].unsubscribe(),r+=2}else{const s=i[o=e[r+1]];e[r].call(s)}if(null!==i){for(let r=o+1;r<i.length;r++)(0,i[r])();t[7]=null}}(n,t),1===t[1].type&&t[11].destroy();const e=t[17];if(null!==e&&ri(t[3])){e!==t[3]&&nr(e,t);const i=t[19];null!==i&&i.detachView(n)}!function sl(n){ka.delete(n[20])}
|
|
420
420
|
/**
|
|
421
421
|
* @license
|
|
422
422
|
* Copyright Google LLC All Rights Reserved.
|
|
423
423
|
*
|
|
424
424
|
* Use of this source code is governed by an MIT-style license that can be
|
|
425
425
|
* found in the LICENSE file at https://angular.io/license
|
|
426
|
-
*/(t)}}function yf(n,t,e){return function Mf(n,t,e){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return e[0];if(2&i.flags){const o=n.data[i.directiveStart].encapsulation;if(o===pn.None||o===pn.Emulated)return null}return Je(i,e)}(n,t.parent,e)}function Hr(n,t,e,i,o){n.insertBefore(t,e,i,o)}function Cf(n,t,e){n.appendChild(t,e)}function wf(n,t,e,i,o){null!==i?Hr(n,t,e,i,o):Cf(n,t,e)}function dl(n,t){return n.parentNode(t)}function
|
|
426
|
+
*/(t)}}function yf(n,t,e){return function Mf(n,t,e){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return e[0];if(2&i.flags){const o=n.data[i.directiveStart].encapsulation;if(o===pn.None||o===pn.Emulated)return null}return Je(i,e)}(n,t.parent,e)}function Hr(n,t,e,i,o){n.insertBefore(t,e,i,o)}function Cf(n,t,e){n.appendChild(t,e)}function wf(n,t,e,i,o){null!==i?Hr(n,t,e,i,o):Cf(n,t,e)}function dl(n,t){return n.parentNode(t)}function Sd(n,t,e){return xf(n,t,e)}let jd,xf=function Id(n,t,e){return 40&n.type?Je(n,e):null};function Aa(n,t,e,i){const o=yf(n,i,t),r=t[11],c=Sd(i.parent||t[6],i,t);if(null!=o)if(Array.isArray(e))for(let u=0;u<e.length;u++)wf(r,o,e[u],c,!1);else wf(r,o,e,c,!1)}function hl(n,t){if(null!==t){const e=t.type;if(3&e)return Je(t,n);if(4&e)return kd(-1,n[t.index]);if(8&e){const i=t.child;if(null!==i)return hl(n,i);{const o=n[t.index];return ri(o)?kd(-1,o):k(o)}}if(32&e)return La(t,n)()||k(n[t.index]);{const i=If(n,t);return null!==i?Array.isArray(i)?i[0]:hl(Es(n[16]),i):hl(n,t.next)}}return null}function If(n,t){return null!==t?n[16][6].projection[t.projection]:null}function kd(n,t){const e=10+n+1;if(e<t.length){const i=t[e],o=i[1].firstChild;if(null!==o)return hl(i,o)}return t[7]}function Ld(n,t,e,i,o,r,s){for(;null!=e;){const c=i[e.index],u=e.type;if(s&&0===t&&(c&&et(k(c),i),e.flags|=4),64!=(64&e.flags))if(8&u)Ld(n,t,e.child,i,o,r,!1),Vr(t,n,o,c,r);else if(32&u){const h=La(e,i);let p;for(;p=h();)Vr(t,n,o,p,r);Vr(t,n,o,c,r)}else 16&u?Tf(n,t,i,e,o,r):Vr(t,n,o,c,r);e=s?e.projectionNext:e.next}}function Oa(n,t,e,i,o,r){Ld(e,i,n.firstChild,t,o,r,!1)}function Tf(n,t,e,i,o,r){const s=e[16],u=s[6].projection[i.projection];if(Array.isArray(u))for(let h=0;h<u.length;h++)Vr(t,n,o,u[h],r);else Ld(n,t,u,s[3],o,r,!0)}function Nd(n,t,e){n.setAttribute(t,"style",e)}function Ad(n,t,e){""===e?n.removeAttribute(t,"class"):n.setAttribute(t,"class",e)}
|
|
427
427
|
/**
|
|
428
428
|
* @license
|
|
429
429
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -446,7 +446,7 @@ class Af{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){
|
|
|
446
446
|
* Use of this source code is governed by an MIT-style license that can be
|
|
447
447
|
* found in the LICENSE file at https://angular.io/license
|
|
448
448
|
*/
|
|
449
|
-
const
|
|
449
|
+
const sv=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;
|
|
450
450
|
/**
|
|
451
451
|
* @license
|
|
452
452
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -461,21 +461,21 @@ var zt=(()=>((zt=zt||{})[zt.NONE=0]="NONE",zt[zt.HTML=1]="HTML",zt[zt.STYLE=2]="
|
|
|
461
461
|
*
|
|
462
462
|
* Use of this source code is governed by an MIT-style license that can be
|
|
463
463
|
* found in the LICENSE file at https://angular.io/license
|
|
464
|
-
*/function
|
|
464
|
+
*/function Ra(n){const t=function za(){const n=z();return n&&n[12]}
|
|
465
465
|
/**
|
|
466
466
|
* @license
|
|
467
467
|
* Copyright Google LLC All Rights Reserved.
|
|
468
468
|
*
|
|
469
469
|
* Use of this source code is governed by an MIT-style license that can be
|
|
470
470
|
* found in the LICENSE file at https://angular.io/license
|
|
471
|
-
*/();return t?t.sanitize(zt.URL,n)||"":function
|
|
471
|
+
*/();return t?t.sanitize(zt.URL,n)||"":function Pa(n,t){const e=function tv(n){return n instanceof Af&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}(n,"URL")?ir(n):function gl(n){return(n=String(n)).match(sv)?n:"unsafe:"+n}
|
|
472
472
|
/**
|
|
473
473
|
* @license
|
|
474
474
|
* Copyright Google LLC All Rights Reserved.
|
|
475
475
|
*
|
|
476
476
|
* Use of this source code is governed by an MIT-style license that can be
|
|
477
477
|
* found in the LICENSE file at https://angular.io/license
|
|
478
|
-
*/(pe(n))}const Uf=new G("ENVIRONMENT_INITIALIZER"),
|
|
478
|
+
*/(pe(n))}const Uf=new G("ENVIRONMENT_INITIALIZER"),Fa=new G("INJECTOR",-1),Yf=new G("INJECTOR_DEF_TYPES");
|
|
479
479
|
/**
|
|
480
480
|
* @license
|
|
481
481
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -490,7 +490,7 @@ var zt=(()=>((zt=zt||{})[zt.NONE=0]="NONE",zt[zt.HTML=1]="HTML",zt[zt.STYLE=2]="
|
|
|
490
490
|
* Use of this source code is governed by an MIT-style license that can be
|
|
491
491
|
* found in the LICENSE file at https://angular.io/license
|
|
492
492
|
*/
|
|
493
|
-
class
|
|
493
|
+
class Bd{get(t,e=xa){if(e===xa){const i=new Error(`NullInjectorError: No provider for ${ct(t)}!`);throw i.name="NullInjectorError",i}return e}}
|
|
494
494
|
/**
|
|
495
495
|
* @license
|
|
496
496
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -504,7 +504,7 @@ class zd{get(t,e=Da){if(e===Da){const i=new Error(`NullInjectorError: No provide
|
|
|
504
504
|
*
|
|
505
505
|
* Use of this source code is governed by an MIT-style license that can be
|
|
506
506
|
* found in the LICENSE file at https://angular.io/license
|
|
507
|
-
*/function Gf(...n){return{\u0275providers:_l(0,n)}}function _l(n,...t){const e=[],i=new Set;let o;return Wi(t,r=>{const s=r;bl(s,e,[],i)&&(o||(o=[]),o.push(s))}),void 0!==o&&
|
|
507
|
+
*/function Gf(...n){return{\u0275providers:_l(0,n)}}function _l(n,...t){const e=[],i=new Set;let o;return Wi(t,r=>{const s=r;bl(s,e,[],i)&&(o||(o=[]),o.push(s))}),void 0!==o&&Hd(o,e),e}function Hd(n,t){for(let e=0;e<n.length;e++){const{providers:o}=n[e];Wi(o,r=>{t.push(r)})}}function bl(n,t,e,i){if(!(n=ue(n)))return!1;let o=null,r=Iu(n);const s=!r&&ee(n);if(r||s){if(s&&!s.standalone)return!1;o=n}else{const u=n.ngModule;if(r=Iu(u),!r)return!1;o=u}const c=i.has(o);if(s){if(c)return!1;if(i.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const h of u)bl(h,t,e,i)}}else{if(!r)return!1;{if(null!=r.imports&&!c){let h;i.add(o);try{Wi(r.imports,p=>{bl(p,t,e,i)&&(h||(h=[]),h.push(p))})}finally{}void 0!==h&&Hd(h,t)}if(!c){const h=Qo(o)||(()=>new o);t.push({provide:o,useFactory:h,deps:$e},{provide:Yf,useValue:o,multi:!0},{provide:Uf,useValue:()=>P(o),multi:!0})}const u=r.providers;null==u||c||Wi(u,p=>{t.push(p)})}}return o!==n&&void 0!==n.providers}const Wf=lt({provide:String,useValue:lt});function Ud(n){return null!==n&&"object"==typeof n&&Wf in n}function Ki(n){return"function"==typeof n}
|
|
508
508
|
/**
|
|
509
509
|
* @license
|
|
510
510
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -512,14 +512,14 @@ class zd{get(t,e=Da){if(e===Da){const i=new Error(`NullInjectorError: No provide
|
|
|
512
512
|
* Use of this source code is governed by an MIT-style license that can be
|
|
513
513
|
* found in the LICENSE file at https://angular.io/license
|
|
514
514
|
*/
|
|
515
|
-
const
|
|
515
|
+
const Yd=new G("Set Injector scope."),yl={},Gd={};
|
|
516
516
|
/**
|
|
517
517
|
* @license
|
|
518
518
|
* Copyright Google LLC All Rights Reserved.
|
|
519
519
|
*
|
|
520
520
|
* Use of this source code is governed by an MIT-style license that can be
|
|
521
521
|
* found in the LICENSE file at https://angular.io/license
|
|
522
|
-
*/let Ml;function Cl(){return void 0===Ml&&(Ml=new
|
|
522
|
+
*/let Ml;function Cl(){return void 0===Ml&&(Ml=new Bd),Ml}class Ls{}class $f extends Ls{constructor(t,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,$n(t,s=>this.processProvider(s)),this.records.set(Fa,Ns(void 0,this)),o.has("environment")&&this.records.set(Ls,Ns(void 0,this));const r=this.records.get(Yd);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Yf.multi,$e,ae.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=$t(this),i=Yn(void 0);try{return t()}finally{$t(e),Yn(i)}}get(t,e=xa,i=ae.Default){this.assertNotDestroyed();const o=$t(this),r=Yn(void 0);try{if(!(i&ae.SkipSelf)){let c=this.records.get(t);if(void 0===c){const u=function wv(n){return"function"==typeof n||"object"==typeof n&&n instanceof G}(t)&&Mc(t);c=u&&this.injectableDefInScope(u)?Ns(Wd(t),yl):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(i&ae.Self?Cl():this.parent).get(t,e=i&ae.Optional&&e===xa?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Sn]=s[Sn]||[]).unshift(ct(t)),o)throw s;return function sd(n,t,e,i){const o=n[Sn];throw t[od]&&o.unshift(t[od]),n.message=function ad(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let o=ct(t);if(Array.isArray(t))o=t.map(ct).join(" -> ");else if("object"==typeof t){let r=[];for(let s in t)if(t.hasOwnProperty(s)){let c=t[s];r.push(s+":"+("string"==typeof c?JSON.stringify(c):ct(c)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${n.replace(Kc,"\n ")}`}("\n"+n.message,o,e,i),n.ngTokenPath=o,n[Sn]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{Yn(r),$t(o)}}resolveInjectorInitializers(){const t=$t(this),e=Yn(void 0);try{const i=this.get(Uf.multi,$e,ae.Self);for(const o of i)o()}finally{$t(t),Yn(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(ct(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new V(205,!1)}processProvider(t){let e=Ki(t=ue(t))?t:ue(t&&t.provide);const i=function yv(n){return Ud(n)?Ns(void 0,n.useValue):Ns(Kf(n),yl)}(t);if(Ki(t)||!0!==t.multi)this.records.get(e);else{let o=this.records.get(e);o||(o=Ns(void 0,yl,!0),o.factory=()=>Jc(o.multi),this.records.set(e,o)),e=t,o.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===yl&&(e.value=Gd,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Cv(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=ue(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Wd(n){const t=Mc(n),e=null!==t?t.factory:Qo(n);if(null!==e)return e;if(n instanceof G)throw new V(204,!1);if(n instanceof Function)return function vv(n){const t=n.length;if(t>0)throw jr(t,"?"),new V(204,!1);const e=function Z_(n){const t=n&&(n[ca]||n[fp]);if(t){const e=function pp(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new V(204,!1)}function Kf(n,t,e){let i;if(Ki(n)){const o=ue(n);return Qo(o)||Wd(o)}if(Ud(n))i=()=>ue(n.useValue);else if(function Zf(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Jc(n.deps||[]));else if(function Qf(n){return!(!n||!n.useExisting)}(n))i=()=>P(ue(n.useExisting));else{const o=ue(n&&(n.useClass||n.provide));if(!function Mv(n){return!!n.deps}(n))return Qo(o)||Wd(o);i=()=>new o(...Jc(n.deps))}return i}function Ns(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function Dv(n){return!!n.\u0275providers}function $n(n,t){for(const e of n)Array.isArray(e)?$n(e,t):Dv(e)?$n(e.\u0275providers,t):t(e)}
|
|
523
523
|
/**
|
|
524
524
|
* @license
|
|
525
525
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -533,7 +533,7 @@ const Bd=new G("Set Injector scope."),yl={},Hd={};
|
|
|
533
533
|
*
|
|
534
534
|
* Use of this source code is governed by an MIT-style license that can be
|
|
535
535
|
* found in the LICENSE file at https://angular.io/license
|
|
536
|
-
*/class Pn{resolveComponentFactory(t){throw function Yr(n){const t=Error(`No component factory found for ${ct(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let
|
|
536
|
+
*/class Pn{resolveComponentFactory(t){throw function Yr(n){const t=Error(`No component factory found for ${ct(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let at=(()=>{class n{}
|
|
537
537
|
/**
|
|
538
538
|
* @license
|
|
539
539
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -541,21 +541,21 @@ const Bd=new G("Set Injector scope."),yl={},Hd={};
|
|
|
541
541
|
* Use of this source code is governed by an MIT-style license that can be
|
|
542
542
|
* found in the LICENSE file at https://angular.io/license
|
|
543
543
|
*/
|
|
544
|
-
return n.NULL=new Pn,n})();function
|
|
544
|
+
return n.NULL=new Pn,n})();function Sv(){return Kn(Tt(),z())}function Kn(n,t){return new Se(Je(n,t))}let Se=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=Sv,n})();function Iv(n){return n instanceof Se?n.nativeElement:n}
|
|
545
545
|
/**
|
|
546
546
|
* @license
|
|
547
547
|
* Copyright Google LLC All Rights Reserved.
|
|
548
548
|
*
|
|
549
549
|
* Use of this source code is governed by an MIT-style license that can be
|
|
550
550
|
* found in the LICENSE file at https://angular.io/license
|
|
551
|
-
*/class As{}let ki=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function
|
|
551
|
+
*/class As{}let ki=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function Qd(){const n=z(),e=Mt(Tt().index,n);return(Nn(e)?e:n)[11]}
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
554
554
|
* Copyright Google LLC All Rights Reserved.
|
|
555
555
|
*
|
|
556
556
|
* Use of this source code is governed by an MIT-style license that can be
|
|
557
557
|
* found in the LICENSE file at https://angular.io/license
|
|
558
|
-
*/(),n})(),
|
|
558
|
+
*/(),n})(),Tv=(()=>{class n{}
|
|
559
559
|
/**
|
|
560
560
|
* @license
|
|
561
561
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -584,7 +584,7 @@ return n.\u0275prov=$({token:n,providedIn:"root",factory:()=>null}),n})();class
|
|
|
584
584
|
*
|
|
585
585
|
* Use of this source code is governed by an MIT-style license that can be
|
|
586
586
|
* found in the LICENSE file at https://angular.io/license
|
|
587
|
-
*/function
|
|
587
|
+
*/function Zd(n){return n.ownerDocument}
|
|
588
588
|
/**
|
|
589
589
|
* @license
|
|
590
590
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -599,7 +599,7 @@ function tg(n,t,e){let i=n.length;for(;;){const o=n.indexOf(t,e);if(-1===o)retur
|
|
|
599
599
|
*
|
|
600
600
|
* Use of this source code is governed by an MIT-style license that can be
|
|
601
601
|
* found in the LICENSE file at https://angular.io/license
|
|
602
|
-
*/const ng="ng-template";function ig(n,t,e){let i=0;for(;i<n.length;){let o=n[i++];if(e&&"class"===o){if(o=n[i],-1!==tg(o.toLowerCase(),t,0))return!0}else if(1===o){for(;i<n.length&&"string"==typeof(o=n[i++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Ji(n){return 4===n.type&&n.value!==ng}function De(n,t,e){return t===(4!==n.type||e?n.value:ng)}function og(n,t,e){let i=4;const o=n.attrs||[],r=function
|
|
602
|
+
*/const ng="ng-template";function ig(n,t,e){let i=0;for(;i<n.length;){let o=n[i++];if(e&&"class"===o){if(o=n[i],-1!==tg(o.toLowerCase(),t,0))return!0}else if(1===o){for(;i<n.length&&"string"==typeof(o=n[i++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Ji(n){return 4===n.type&&n.value!==ng}function De(n,t,e){return t===(4!==n.type||e?n.value:ng)}function og(n,t,e){let i=4;const o=n.attrs||[],r=function Ov(n){for(let t=0;t<n.length;t++)if(Op(n[t]))return t;return n.length}(o);let s=!1;for(let c=0;c<t.length;c++){const u=t[c];if("number"!=typeof u){if(!s)if(4&i){if(i=2|1&i,""!==u&&!De(n,u,e)||""===u&&1===t.length){if(Et(i))return!1;s=!0}}else{const h=8&i?u:t[++c];if(8&i&&null!==n.attrs){if(!ig(n.attrs,h,e)){if(Et(i))return!1;s=!0}continue}const g=rg(8&i?"class":u,o,Ji(n),e);if(-1===g){if(Et(i))return!1;s=!0;continue}if(""!==h){let _;_=g>r?"":o[g+1].toLowerCase();const y=8&i?_:null;if(y&&-1!==tg(y,h,0)||2&i&&h!==_){if(Et(i))return!1;s=!0}}}}else{if(!s&&!Et(i)&&!Et(u))return!1;if(s&&Et(u))continue;s=!1,i=u|1&i}}return Et(i)||s}function Et(n){return 0==(1&n)}function rg(n,t,e,i){if(null===t)return-1;let o=0;if(i||!e){let r=!1;for(;o<t.length;){const s=t[o];if(s===n)return o;if(3===s||6===s)r=!0;else{if(1===s||2===s){let c=t[++o];for(;"string"==typeof c;)c=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=r?1:2}return-1}return function ag(n,t){let e=n.indexOf(4);if(e>-1)for(e++;e<n.length;){const i=n[e];if("number"==typeof i)return-1;if(i===t)return e;e++}return-1}(t,n)}function sg(n,t,e=!1){for(let i=0;i<t.length;i++)if(og(n,t[i],e))return!0;return!1}function xl(n,t){e:for(let e=0;e<t.length;e++){const i=t[e];if(n.length===i.length){for(let o=0;o<n.length;o++)if(n[o]!==i[o])continue e;return!0}}return!1}function cg(n,t){return n?":not("+t.trim()+")":t}function Pv(n){let t=n[0],e=1,i=2,o="",r=!1;for(;e<n.length;){let s=n[e];if("string"==typeof s)if(2&i){const c=n[++e];o+="["+s+(c.length>0?'="'+c+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!Et(s)&&(t+=cg(r,o),o=""),i=s,r=r||!Et(i);e++}return""!==o&&(t+=cg(r,o)),t}
|
|
603
603
|
/**
|
|
604
604
|
* @license
|
|
605
605
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -614,7 +614,7 @@ const _e={};
|
|
|
614
614
|
*
|
|
615
615
|
* Use of this source code is governed by an MIT-style license that can be
|
|
616
616
|
* found in the LICENSE file at https://angular.io/license
|
|
617
|
-
*/function
|
|
617
|
+
*/function Le(n){lg(Ae(),z(),Dn()+n,!1)}function lg(n,t,e,i){if(!i)if(3==(3&t[2])){const r=n.preOrderCheckHooks;null!==r&&Rc(t,r,e)}else{const r=n.preOrderHooks;null!==r&&zc(t,r,0,e)}xi(e)}
|
|
618
618
|
/**
|
|
619
619
|
* @license
|
|
620
620
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -644,7 +644,7 @@ function fg(n,t=null,e=null,i){const o=gg(n,t,e,i);return o.resolveInjectorIniti
|
|
|
644
644
|
* Use of this source code is governed by an MIT-style license that can be
|
|
645
645
|
* found in the LICENSE file at https://angular.io/license
|
|
646
646
|
*/
|
|
647
|
-
return n.THROW_IF_NOT_FOUND=
|
|
647
|
+
return n.THROW_IF_NOT_FOUND=xa,n.NULL=new Bd,n.\u0275prov=$({token:n,providedIn:"any",factory:()=>P(Fa)}),n.__NG_ELEMENT_ID__=-1,n})();
|
|
648
648
|
/**
|
|
649
649
|
* @license
|
|
650
650
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -666,7 +666,7 @@ return n.THROW_IF_NOT_FOUND=Da,n.NULL=new zd,n.\u0275prov=$({token:n,providedIn:
|
|
|
666
666
|
* Use of this source code is governed by an MIT-style license that can be
|
|
667
667
|
* found in the LICENSE file at https://angular.io/license
|
|
668
668
|
*/
|
|
669
|
-
function I(n,t=ae.Default){const e=z();return null===e?P(n,t):Uc(Tt(),e,
|
|
669
|
+
function I(n,t=ae.Default){const e=z();return null===e?P(n,t):Uc(Tt(),e,ue(n),t)}
|
|
670
670
|
/**
|
|
671
671
|
* @license
|
|
672
672
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -674,7 +674,7 @@ function I(n,t=ae.Default){const e=z();return null===e?P(n,t):Uc(Tt(),e,le(n),t)
|
|
|
674
674
|
* Use of this source code is governed by an MIT-style license that can be
|
|
675
675
|
* found in the LICENSE file at https://angular.io/license
|
|
676
676
|
*/
|
|
677
|
-
function Il(n,t){return n<<17|t<<2}function Ei(n){return n>>17&32767}function
|
|
677
|
+
function Il(n,t){return n<<17|t<<2}function Ei(n){return n>>17&32767}function eh(n){return 2|n}function No(n){return(131068&n)>>2}function th(n,t){return-131069&n|t<<2}function nh(n){return 1|n}function Ag(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i<e.length;i+=2){const o=e[i],r=e[i+1];if(-1!==r){const s=n.data[r];Sr(o),s.contentQueries(2,t[r],r)}}}function Nl(n,t,e,i,o,r,s,c,u,h,p){const g=t.blueprint.slice();return g[0]=o,g[2]=76|i,(null!==p||n&&1024&n[2])&&(g[2]|=1024),fa(g),g[3]=g[15]=n,g[8]=e,g[10]=s||n&&n[10],g[11]=c||n&&n[11],g[12]=u||n&&n[12]||null,g[9]=h||n&&n[9]||null,g[6]=r,g[20]=function rl(){return pd++}(),g[21]=p,g[16]=2==t.type?n[16]:g,g}function zs(n,t,e,i,o){let r=n.data[t];if(null===r)r=function lh(n,t,e,i,o){const r=Ru(),s=gs(),u=n.data[t]=function f(n,t,e,i,o,r){return{type:e,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?r:r&&r.parent,e,t,i,o);return null===n.firstChild&&(n.firstChild=u),null!==r&&(s?null==r.child&&null!==u.parent&&(r.child=u):null===r.next&&(r.next=u)),u}(n,t,e,i,o),function Ut(){return fe.lFrame.inI18n}()&&(r.flags|=64);else if(64&r.type){r.type=e,r.value=i,r.attrs=o;const s=function yo(){const n=fe.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}();r.injectorIndex=null===s?-1:s.injectorIndex}return mn(r,!0),r}function Fs(n,t,e,i){if(0===e)return-1;const o=t.length;for(let r=0;r<e;r++)t.push(i),n.blueprint.push(i),n.data.push(null);return o}function uh(n,t,e){Tr(t);try{const i=n.viewQuery;null!==i&&fy(1,i,e);const o=n.template;null!==o&&Og(n,t,o,1,e),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&Ag(n,t),n.staticViewQueries&&fy(2,n.viewQuery,e);const r=n.components;null!==r&&function ly(n,t){for(let e=0;e<t.length;e++)TE(n,t[e])}(t,r)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{t[2]&=-5,Uu()}}function Al(n,t,e,i){const o=t[2];if(128!=(128&o)){Tr(t);try{fa(t),function Vu(n){return fe.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==e&&Og(n,t,e,2,i);const s=3==(3&o);if(s){const h=n.preOrderCheckHooks;null!==h&&Rc(t,h,null)}else{const h=n.preOrderHooks;null!==h&&zc(t,h,0,null),wo(t,0)}if(function SE(n){for(let t=vd(n);null!==t;t=yd(t)){if(!t[2])continue;const e=t[9];for(let i=0;i<e.length;i++){const o=e[i],r=o[3];0==(512&o[2])&&qe(r,1),o[2]|=512}}}(t),function xE(n){for(let t=vd(n);null!==t;t=yd(t))for(let e=10;e<t.length;e++){const i=t[e],o=i[1];Lc(i)&&Al(o,i,o.template,i[8])}}(t),null!==n.contentQueries&&Ag(n,t),s){const h=n.contentCheckHooks;null!==h&&Rc(t,h)}else{const h=n.contentHooks;null!==h&&zc(t,h,1),wo(t,1)}!
|
|
678
678
|
/**
|
|
679
679
|
* @license
|
|
680
680
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -682,7 +682,7 @@ function Il(n,t){return n<<17|t<<2}function Ei(n){return n>>17&32767}function Jd
|
|
|
682
682
|
* Use of this source code is governed by an MIT-style license that can be
|
|
683
683
|
* found in the LICENSE file at https://angular.io/license
|
|
684
684
|
*/
|
|
685
|
-
function
|
|
685
|
+
function ay(n,t){const e=n.hostBindingOpCodes;if(null!==e)try{for(let i=0;i<e.length;i++){const o=e[i];if(o<0)xi(~o);else{const r=o,s=e[++i],c=e[++i];hb(s,r),c(2,t[r])}}}finally{xi(-1)}}(n,t);const c=n.components;null!==c&&function cy(n,t){for(let e=0;e<t.length;e++)IE(n,t[e])}(t,c);const u=n.viewQuery;if(null!==u&&fy(2,u,i),s){const h=n.viewCheckHooks;null!==h&&Rc(t,h)}else{const h=n.viewHooks;null!==h&&zc(t,h,2),wo(t,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,qe(t[3],-1))}finally{Uu()}}}function Og(n,t,e,i,o){const r=Dn(),s=2&i;try{xi(-1),s&&t.length>22&&lg(n,t,22,!1),e(i,o)}finally{xi(r)}}function Pg(n,t,e){if(ds(t)){const o=t.directiveEnd;for(let r=t.directiveStart;r<o;r++){const s=n.data[r];s.contentQueries&&s.contentQueries(1,e[r],r)}}}function dh(n,t,e){!ga()||(function Ie(n,t,e,i){const o=e.directiveStart,r=e.directiveEnd;n.firstCreatePass||ya(e,t),et(i,t);const s=e.initialInputs;for(let c=o;c<r;c++){const u=n.data[c],h=si(u);h&&Ao(t,e,u);const p=ys(t,n,c,e);et(p,t),null!==s&&wE(0,c-o,p,u,0,s),h&&(Mt(e.index,t)[8]=p)}}(n,t,e,Je(e,t)),128==(128&e.flags)&&function se(n,t,e){const i=e.directiveStart,o=e.directiveEnd,r=e.index,s=function pb(){return fe.lFrame.currentDirectiveIndex}();try{xi(r);for(let c=i;c<o;c++){const u=n.data[c],h=t[c];Ac(c),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&Ne(u,h)}}finally{xi(-1),Ac(s)}}(n,t,e))}function hh(n,t,e=Je){const i=t.localNames;if(null!==i){let o=t.index+1;for(let r=0;r<i.length;r+=2){const s=i[r+1],c=-1===s?e(t,n):n[s];n[o++]=c}}}function jg(n){const t=n.tView;return null===t||t.incompleteFirstPass?n.tView=ph(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):t}function ph(n,t,e,i,o,r,s,c,u,h){const p=22+i,g=p+o,_=function uy(n,t){const e=[];for(let i=0;i<t;i++)e.push(i<n?null:_e);return e}(p,g),y="function"==typeof h?h():h;return _[1]={type:n,blueprint:_,template:e,queries:null,viewQuery:c,declTNode:t,data:_.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:g,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:y,incompleteFirstPass:!1}}function d(n,t,e,i){const o=Sw(t);null===e?o.push(i):(o.push(e),n.firstCreatePass&&Iw(n).push(i,o.length-1))}function m(n,t,e){for(let i in n)if(n.hasOwnProperty(i)){const o=n[i];(e=null===e?{}:e).hasOwnProperty(i)?e[i].push(t,o):e[i]=[t,o]}return e}function v(n,t){const i=t.directiveEnd,o=n.data,r=t.attrs,s=[];let c=null,u=null;for(let h=t.directiveStart;h<i;h++){const p=o[h],g=p.inputs,_=null===r||Ji(t)?null:DE(g,r);s.push(_),c=m(g,h,c),u=m(p.outputs,h,u)}null!==c&&(c.hasOwnProperty("class")&&(t.flags|=16),c.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=c,t.outputs=u}function D(n,t,e,i,o,r,s,c){const u=Je(t,e);let p,h=t.inputs;!c&&null!=h&&(p=h[i])?(gy(n,e,p,i,o),bo(t)&&T(e,t.index)):3&t.type&&(i=function C(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(i),o=null!=s?s(o,t.value||"",i):o,r.setProperty(u,i,o))}function T(n,t){const e=Mt(t,n);16&e[2]||(e[2]|=32)}function U(n,t,e,i){let o=!1;if(ga()){const r=function Fe(n,t,e){const i=n.directiveRegistry;let o=null;if(i)for(let r=0;r<i.length;r++){const s=i[r];sg(e,s.selectors,!1)&&(o||(o=[]),Hc(ya(e,t),n,s.type),si(s)?(Rn(n,e),o.unshift(s)):o.push(s))}return o}(n,t,e),s=null===i?null:{"":-1};if(null!==r){o=!0,Lt(e,n.data.length,r.length);for(let p=0;p<r.length;p++){const g=r[p];g.providersResolver&&g.providersResolver(g)}let c=!1,u=!1,h=Fs(n,t,r.length,null);for(let p=0;p<r.length;p++){const g=r[p];e.mergedAttrs=Vc(e.mergedAttrs,g.hostAttrs),fi(n,e,t,h,g),qn(h,g,s),null!==g.contentQueries&&(e.flags|=8),(null!==g.hostBindings||null!==g.hostAttrs||0!==g.hostVars)&&(e.flags|=128);const _=g.type.prototype;!c&&(_.ngOnChanges||_.ngOnInit||_.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e.index),c=!0),!u&&(_.ngOnChanges||_.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e.index),u=!0),h++}v(n,e)}s&&function En(n,t,e){if(t){const i=n.localNames=[];for(let o=0;o<t.length;o+=2){const r=e[t[o+1]];if(null==r)throw new V(-301,!1);i.push(t[o],r)}}}(e,i,s)}return e.mergedAttrs=Vc(e.mergedAttrs,e.attrs),o}function q(n,t,e,i,o,r){const s=r.hostBindings;if(s){let c=n.hostBindingOpCodes;null===c&&(c=n.hostBindingOpCodes=[]);const u=~t.index;(function re(n){let t=n.length;for(;t>0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(c)!=u&&c.push(u),c.push(i,o,s)}}function Ne(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function Rn(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function qn(n,t,e){if(e){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)e[t.exportAs[i]]=n;si(t)&&(e[""]=n)}}function Lt(n,t,e){n.flags|=1,n.directiveStart=t,n.directiveEnd=t+e,n.providerIndexes=t}function fi(n,t,e,i,o){n.data[i]=o;const r=o.factory||(o.factory=Qo(o.type)),s=new ba(r,si(o),I);n.blueprint[i]=s,e[i]=s,q(n,t,0,i,Fs(n,e,o.hostVars,_e),o)}function Ao(n,t,e){const i=Je(t,n),o=jg(e),r=n[10],s=Rg(n,Nl(n,o,null,e.onPush?32:16,i,t,r,r.createRenderer(i,e),null,null,null));n[t.index]=s}function Li(n,t,e,i,o,r){const s=Je(n,t);!function dy(n,t,e,i,o,r,s){if(null==r)n.removeAttribute(t,o,e);else{const c=null==s?pe(r):s(r,i||"",o);n.setAttribute(t,o,c,e)}}(t[11],s,r,n.value,e,i,o)}function wE(n,t,e,i,o,r){const s=r[t];if(null!==s){const c=i.setInput;for(let u=0;u<s.length;){const h=s[u++],p=s[u++],g=s[u++];null!==c?i.setInput(e,g,h,p):e[p]=g}}}function DE(n,t){let e=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;n.hasOwnProperty(o)&&(null===e&&(e=[]),e.push(o,n[o],t[i+1])),i+=2}else i+=2;else i+=4}return e}function xw(n,t,e,i){return new Array(n,!0,!1,t,null,0,i,e,null,null)}function IE(n,t){const e=Mt(t,n);if(Lc(e)){const i=e[1];48&e[2]?Al(i,e,i.template,e[8]):e[5]>0&&hy(e)}}function hy(n){for(let i=vd(n);null!==i;i=yd(i))for(let o=10;o<i.length;o++){const r=i[o];if(Lc(r))if(512&r[2]){const s=r[1];Al(s,r,s.template,r[8])}else r[5]>0&&hy(r)}const e=n[1].components;if(null!==e)for(let i=0;i<e.length;i++){const o=Mt(e[i],n);Lc(o)&&o[5]>0&&hy(o)}}function TE(n,t){const e=Mt(t,n),i=e[1];(function kE(n,t){for(let e=t.length;e<n.blueprint.length;e++)t.push(n.blueprint[e])})(i,e),uh(i,e,e[8])}function Rg(n,t){return n[13]?n[14][4]=t:n[13]=t,n[14]=t,t}function py(n){for(;n;){n[2]|=32;const t=Es(n);if(Cp(n)&&!t)return n;n=t}return null}function zg(n,t,e,i=!0){const o=t[10];o.begin&&o.begin();try{Al(n,t,n.template,e)}catch(s){throw i&&kw(t,s),s}finally{o.end&&o.end()}}function fy(n,t,e){Sr(0),t(n,e)}function Sw(n){return n[7]||(n[7]=[])}function Iw(n){return n.cleanup||(n.cleanup=[])}function kw(n,t){const e=n[9],i=e?e.get(Ps,null):null;i&&i.handleError(t)}function gy(n,t,e,i,o){for(let r=0;r<e.length;){const s=e[r++],c=e[r++],u=t[s],h=n.data[s];null!==h.setInput?h.setInput(u,o,i,c):u[c]=o}}
|
|
686
686
|
/**
|
|
687
687
|
* @license
|
|
688
688
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -690,35 +690,35 @@ function sy(n,t){const e=n.hostBindingOpCodes;if(null!==e)try{for(let i=0;i<e.le
|
|
|
690
690
|
* Use of this source code is governed by an MIT-style license that can be
|
|
691
691
|
* found in the LICENSE file at https://angular.io/license
|
|
692
692
|
*/
|
|
693
|
-
function Fg(n,t,e){let i=e?n.styles:null,o=e?n.classes:null,r=0;if(null!==t)for(let s=0;s<t.length;s++){const c=t[s];"number"==typeof c?r=c:1==r?o=
|
|
693
|
+
function Fg(n,t,e){let i=e?n.styles:null,o=e?n.classes:null,r=0;if(null!==t)for(let s=0;s<t.length;s++){const c=t[s];"number"==typeof c?r=c:1==r?o=Du(o,c):2==r&&(i=Du(i,c+": "+t[++s]+";"))}e?n.styles=i:n.stylesWithoutHost=i,e?n.classes=o:n.classesWithoutHost=o}
|
|
694
694
|
/**
|
|
695
695
|
* @license
|
|
696
696
|
* Copyright Google LLC All Rights Reserved.
|
|
697
697
|
*
|
|
698
698
|
* Use of this source code is governed by an MIT-style license that can be
|
|
699
699
|
* found in the LICENSE file at https://angular.io/license
|
|
700
|
-
*/function Vg(n,t,e,i,o=!1){for(;null!==e;){const r=t[e.index];if(null!==r&&i.push(k(r)),ri(r))for(let c=10;c<r.length;c++){const u=r[c],h=u[1].firstChild;null!==h&&Vg(u[1],u,h,i)}const s=e.type;if(8&s)Vg(n,t,e.child,i);else if(32&s){const c=
|
|
700
|
+
*/function Vg(n,t,e,i,o=!1){for(;null!==e;){const r=t[e.index];if(null!==r&&i.push(k(r)),ri(r))for(let c=10;c<r.length;c++){const u=r[c],h=u[1].firstChild;null!==h&&Vg(u[1],u,h,i)}const s=e.type;if(8&s)Vg(n,t,e.child,i);else if(32&s){const c=La(e,t);let u;for(;u=c();)i.push(u)}else if(16&s){const c=If(t,e);if(Array.isArray(c))i.push(...c);else{const u=Es(t[16]);Vg(u[1],u,c,i,!0)}}e=o?e.projectionNext:e.next}return i}
|
|
701
701
|
/**
|
|
702
702
|
* @license
|
|
703
703
|
* Copyright Google LLC All Rights Reserved.
|
|
704
704
|
*
|
|
705
705
|
* Use of this source code is governed by an MIT-style license that can be
|
|
706
706
|
* found in the LICENSE file at https://angular.io/license
|
|
707
|
-
*/class
|
|
707
|
+
*/class fh{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return Vg(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ri(t)){const e=t[8],i=e?e.indexOf(this):-1;i>-1&&(wd(t,i),Zc(e,i))}this._attachedToViewContainer=!1}Dd(this._lView[1],this._lView)}onDestroy(t){d(this._lView[1],this._lView,null,t)}markForCheck(){py(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){zg(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function bf(n,t){Oa(n,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new V(902,!1);this._appRef=t}}class EE extends fh{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;zg(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}
|
|
708
708
|
/**
|
|
709
709
|
* @license
|
|
710
710
|
* Copyright Google LLC All Rights Reserved.
|
|
711
711
|
*
|
|
712
712
|
* Use of this source code is governed by an MIT-style license that can be
|
|
713
713
|
* found in the LICENSE file at https://angular.io/license
|
|
714
|
-
*/class
|
|
714
|
+
*/class my extends at{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=ee(t);return new gh(e,this.ngModule)}}function Ew(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class NE{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){const o=this.injector.get(t,Os,i);return o!==Os||e===Os?o:this.parentInjector.get(t,e,i)}}class gh extends Jf{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function jv(n){return n.map(Pv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ew(this.componentDef.inputs)}get outputs(){return Ew(this.componentDef.outputs)}create(t,e,i,o){let r=(o=o||this.ngModule)instanceof Ls?o:o?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const s=r?new NE(t,r):t,c=s.get(As,null);if(null===c)throw new V(407,!1);const u=s.get(Tv,null),h=c.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",g=i?function l(n,t,e){return n.selectRootElement(t,e===pn.ShadowDom)}(h,i,this.componentDef.encapsulation):Br(h,p,function LE(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(p)),_=this.componentDef.onPush?288:272,y=ph(0,null,null,1,0,null,null,null,null,null),M=Nl(null,y,null,_,null,null,c,h,u,s,null);let x,E;Tr(M);try{const O=function PE(n,t,e,i,o,r){const s=e[1];e[22]=n;const u=zs(s,22,2,"#host",null),h=u.mergedAttrs=t.hostAttrs;null!==h&&(Fg(u,h,!0),null!==n&&(Fc(o,n,h),null!==u.classes&&Ad(o,n,u.classes),null!==u.styles&&Nd(o,n,u.styles)));const p=i.createRenderer(n,t),g=Nl(e,jg(t),null,t.onPush?32:16,e[22],u,i,p,r||null,null,null);return s.firstCreatePass&&(Hc(ya(u,e),s,t.type),Rn(s,u),Lt(u,e.length,1)),Rg(e,g),e[22]=g}(g,this.componentDef,M,c,h);if(g)if(i)Fc(h,g,["ng-version",qf.full]);else{const{attrs:H,classes:L}=function Rv(n){const t=[],e=[];let i=1,o=2;for(;i<n.length;){let r=n[i];if("string"==typeof r)2===o?""!==r&&t.push(r,n[++i]):8===o&&e.push(r);else{if(!Et(o))break;o=r}i++}return{attrs:t,classes:e}}(this.componentDef.selectors[0]);H&&Fc(h,g,H),L&&L.length>0&&Ad(h,g,L.join(" "))}if(E=pa(y,22),void 0!==e){const H=E.projection=[];for(let L=0;L<this.ngContentSelectors.length;L++){const Y=e[L];H.push(null!=Y?Array.from(Y):null)}}x=function jE(n,t,e,i){const o=e[1],r=function F(n,t,e){const i=Tt();n.firstCreatePass&&(e.providersResolver&&e.providersResolver(e),fi(n,i,t,Fs(n,t,1,null),e),v(n,i));const o=ys(t,n,i.directiveStart,i);et(o,t);const r=Je(i,t);return r&&et(r,t),o}(o,e,t);if(n[8]=e[8]=r,null!==i)for(const c of i)c(r,t);if(t.contentQueries){const c=Tt();t.contentQueries(1,r,c.directiveStart)}const s=Tt();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(xi(s.index),q(e[1],s,0,s.directiveStart,s.directiveEnd,t),Ne(t,r)),r}(O,this.componentDef,M,[RE]),uh(y,M,null)}finally{Uu()}return new OE(this.componentType,x,Kn(E,M),M,E)}}class OE extends class xv{}{constructor(t,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new EE(o),this.componentType=t}setInput(t,e){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[t])){const r=this._rootLView;gy(r[1],r,o,t,e),T(r,this._tNode.index)}}get injector(){return new Nr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function RE(){const n=Tt();jc(z()[1],n)}
|
|
715
715
|
/**
|
|
716
716
|
* @license
|
|
717
717
|
* Copyright Google LLC All Rights Reserved.
|
|
718
718
|
*
|
|
719
719
|
* Use of this source code is governed by an MIT-style license that can be
|
|
720
720
|
* found in the LICENSE file at https://angular.io/license
|
|
721
|
-
*/function ne(n){let t=function Lw(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0;const i=[n];for(;t;){let o;if(si(n))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new V(903,!1);o=t.\u0275dir}if(o){if(e){i.push(o);const s=n;s.inputs=
|
|
721
|
+
*/function ne(n){let t=function Lw(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0;const i=[n];for(;t;){let o;if(si(n))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new V(903,!1);o=t.\u0275dir}if(o){if(e){i.push(o);const s=n;s.inputs=_y(n.inputs),s.declaredInputs=_y(n.declaredInputs),s.outputs=_y(n.outputs);const c=o.hostBindings;c&&BE(n,c);const u=o.viewQuery,h=o.contentQueries;if(u&&FE(n,u),h&&VE(n,h),_c(n.inputs,o.inputs),_c(n.declaredInputs,o.declaredInputs),_c(n.outputs,o.outputs),si(o)&&o.data.animation){const p=n.data;p.animation=(p.animation||[]).concat(o.data.animation)}}const r=o.features;if(r)for(let s=0;s<r.length;s++){const c=r[s];c&&c.ngInherit&&c(n),c===ne&&(e=!1)}}t=Object.getPrototypeOf(t)}!function zE(n){let t=0,e=null;for(let i=n.length-1;i>=0;i--){const o=n[i];o.hostVars=t+=o.hostVars,o.hostAttrs=Vc(o.hostAttrs,e=Vc(e,o.hostAttrs))}}(i)}function _y(n){return n===Mr?{}:n===$e?[]:n}function FE(n,t){const e=n.viewQuery;n.viewQuery=e?(i,o)=>{t(i,o),e(i,o)}:t}function VE(n,t){const e=n.contentQueries;n.contentQueries=e?(i,o,r)=>{t(i,o,r),e(i,o,r)}:t}function BE(n,t){const e=n.hostBindings;n.hostBindings=e?(i,o)=>{t(i,o),e(i,o)}:t}
|
|
722
722
|
/**
|
|
723
723
|
* @license
|
|
724
724
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -733,14 +733,14 @@ function Fg(n,t,e){let i=e?n.styles:null,o=e?n.classes:null,r=0;if(null!==t)for(
|
|
|
733
733
|
* Use of this source code is governed by an MIT-style license that can be
|
|
734
734
|
* found in the LICENSE file at https://angular.io/license
|
|
735
735
|
*/
|
|
736
|
-
let Bg=null;function
|
|
736
|
+
let Bg=null;function Ga(){if(!Bg){const n=ut.Symbol;if(n&&n.iterator)Bg=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const i=t[e];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Bg=i)}}}return Bg}
|
|
737
737
|
/**
|
|
738
738
|
* @license
|
|
739
739
|
* Copyright Google LLC All Rights Reserved.
|
|
740
740
|
*
|
|
741
741
|
* Use of this source code is governed by an MIT-style license that can be
|
|
742
742
|
* found in the LICENSE file at https://angular.io/license
|
|
743
|
-
*/function
|
|
743
|
+
*/function mh(n){return!!by(n)&&(Array.isArray(n)||!(n instanceof Map)&&Ga()in n)}function by(n){return null!==n&&("function"==typeof n||"object"==typeof n)}
|
|
744
744
|
/**
|
|
745
745
|
* @license
|
|
746
746
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -755,7 +755,7 @@ let Bg=null;function Ya(){if(!Bg){const n=ut.Symbol;if(n&&n.iterator)Bg=n.iterat
|
|
|
755
755
|
* Use of this source code is governed by an MIT-style license that can be
|
|
756
756
|
* found in the LICENSE file at https://angular.io/license
|
|
757
757
|
*/
|
|
758
|
-
function cr(n,t,e){return n[t]=e}function zn(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function
|
|
758
|
+
function cr(n,t,e){return n[t]=e}function zn(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function Wa(n,t,e,i){const o=zn(n,t,e);return zn(n,t+1,i)||o}
|
|
759
759
|
/**
|
|
760
760
|
* @license
|
|
761
761
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -763,14 +763,14 @@ function cr(n,t,e){return n[t]=e}function zn(n,t,e){return!Object.is(n[t],e)&&(n
|
|
|
763
763
|
* Use of this source code is governed by an MIT-style license that can be
|
|
764
764
|
* found in the LICENSE file at https://angular.io/license
|
|
765
765
|
*/
|
|
766
|
-
function Jt(n,t,e,i){const o=z();return zn(o,ms(),t)&&(
|
|
766
|
+
function Jt(n,t,e,i){const o=z();return zn(o,ms(),t)&&(Ae(),Li(ft(),o,n,t,e,i)),Jt}
|
|
767
767
|
/**
|
|
768
768
|
* @license
|
|
769
769
|
* Copyright Google LLC All Rights Reserved.
|
|
770
770
|
*
|
|
771
771
|
* Use of this source code is governed by an MIT-style license that can be
|
|
772
772
|
* found in the LICENSE file at https://angular.io/license
|
|
773
|
-
*/function Pl(n,t,e,i){return zn(n,ms(),e)?t+pe(e)+i:_e}function zl(n,t,e,i,o,r,s,c,u,h){const g=function qi(n,t,e,i,o,r){const s=
|
|
773
|
+
*/function Pl(n,t,e,i){return zn(n,ms(),e)?t+pe(e)+i:_e}function zl(n,t,e,i,o,r,s,c,u,h){const g=function qi(n,t,e,i,o,r){const s=Wa(n,t,e,i);return Wa(n,t+2,o,r)||s}(n,Mo(),e,o,s,u);return Co(4),g?t+pe(e)+i+pe(o)+r+pe(s)+c+pe(u)+h:_e}function Ft(n,t,e,i,o,r,s,c){const u=z(),h=Ae(),p=n+22,g=h.firstCreatePass?
|
|
774
774
|
/**
|
|
775
775
|
* @license
|
|
776
776
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -778,42 +778,42 @@ function Jt(n,t,e,i){const o=z();return zn(o,ms(),t)&&(Ne(),Li(ft(),o,n,t,e,i)),
|
|
|
778
778
|
* Use of this source code is governed by an MIT-style license that can be
|
|
779
779
|
* found in the LICENSE file at https://angular.io/license
|
|
780
780
|
*/
|
|
781
|
-
function $E(n,t,e,i,o,r,s,c,u){const h=t.consts,p=zs(t,n,4,s||null,Di(h,c));U(t,e,p,Di(h,u)),jc(t,p);const g=p.tViews=
|
|
781
|
+
function $E(n,t,e,i,o,r,s,c,u){const h=t.consts,p=zs(t,n,4,s||null,Di(h,c));U(t,e,p,Di(h,u)),jc(t,p);const g=p.tViews=ph(2,p,i,o,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,h);return null!==t.queries&&(t.queries.template(t,p),g.queries=t.queries.embeddedTView(p)),p}(p,h,u,t,e,i,o,r,s):h.data[p];mn(g,!1);const _=u[11].createComment("");Aa(h,u,_,g),et(_,u),Rg(u,u[p]=xw(_,u,_,g)),Tc(g)&&dh(h,u,g),null!=s&&hh(u,g,c)}
|
|
782
782
|
/**
|
|
783
783
|
* @license
|
|
784
784
|
* Copyright Google LLC All Rights Reserved.
|
|
785
785
|
*
|
|
786
786
|
* Use of this source code is governed by an MIT-style license that can be
|
|
787
787
|
* found in the LICENSE file at https://angular.io/license
|
|
788
|
-
*/function Ug(n){return ps(function
|
|
788
|
+
*/function Ug(n){return ps(function db(){return fe.lFrame.contextLView}(),22+n)}
|
|
789
789
|
/**
|
|
790
790
|
* @license
|
|
791
791
|
* Copyright Google LLC All Rights Reserved.
|
|
792
792
|
*
|
|
793
793
|
* Use of this source code is governed by an MIT-style license that can be
|
|
794
794
|
* found in the LICENSE file at https://angular.io/license
|
|
795
|
-
*/function
|
|
795
|
+
*/function ot(n,t,e){const i=z();return zn(i,ms(),t)&&D(Ae(),ft(),i,n,t,i[11],e,!1),ot}function vy(n,t,e,i,o){const s=o?"class":"style";gy(n,e,t.inputs[s],s,i)}
|
|
796
796
|
/**
|
|
797
797
|
* @license
|
|
798
798
|
* Copyright Google LLC All Rights Reserved.
|
|
799
799
|
*
|
|
800
800
|
* Use of this source code is governed by an MIT-style license that can be
|
|
801
801
|
* found in the LICENSE file at https://angular.io/license
|
|
802
|
-
*/function X(n,t,e,i){const o=z(),r=
|
|
802
|
+
*/function X(n,t,e,i){const o=z(),r=Ae(),s=22+n,c=o[11],u=o[s]=Br(c,t,function ui(){return fe.lFrame.currentNamespace}()),h=r.firstCreatePass?function JE(n,t,e,i,o,r,s){const c=t.consts,h=zs(t,n,2,o,Di(c,r));return U(t,e,h,Di(c,s)),null!==h.attrs&&Fg(h,h.attrs,!1),null!==h.mergedAttrs&&Fg(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(s,r,o,0,t,e,i):r.data[s];mn(h,!0);const p=h.mergedAttrs;null!==p&&Fc(c,u,p);const g=h.classes;null!==g&&Ad(c,u,g);const _=h.styles;return null!==_&&Nd(c,u,_),64!=(64&h.flags)&&Aa(r,o,u,h),0===function cb(){return fe.lFrame.elementDepthCount}()&&et(u,o),function lb(){fe.lFrame.elementDepthCount++}(),Tc(h)&&(dh(r,o,h),Pg(r,h,o)),null!==i&&hh(o,h),X}function ce(){let n=Tt();gs()?zu():(n=n.parent,mn(n,!1));const t=n;!function ub(){fe.lFrame.elementDepthCount--}();const e=Ae();return e.firstCreatePass&&(jc(e,n),ds(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function bb(n){return 0!=(16&n.flags)}(t)&&vy(e,t,z(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function vb(n){return 0!=(32&n.flags)}
|
|
803
803
|
/**
|
|
804
804
|
* @license
|
|
805
805
|
* Copyright Google LLC All Rights Reserved.
|
|
806
806
|
*
|
|
807
807
|
* Use of this source code is governed by an MIT-style license that can be
|
|
808
808
|
* found in the LICENSE file at https://angular.io/license
|
|
809
|
-
*/(t)&&
|
|
809
|
+
*/(t)&&vy(e,t,z(),t.stylesWithoutHost,!1),ce}function Nt(n,t,e,i){return X(n,t,e,i),ce(),Nt
|
|
810
810
|
/**
|
|
811
811
|
* @license
|
|
812
812
|
* Copyright Google LLC All Rights Reserved.
|
|
813
813
|
*
|
|
814
814
|
* Use of this source code is governed by an MIT-style license that can be
|
|
815
815
|
* found in the LICENSE file at https://angular.io/license
|
|
816
|
-
*/}function
|
|
816
|
+
*/}function Ul(n,t,e){const i=z(),o=Ae(),r=n+22,s=o.firstCreatePass?function qE(n,t,e,i,o){const r=t.consts,s=Di(r,i),c=zs(t,n,8,"ng-container",s);return null!==s&&Fg(c,s,!0),U(t,e,c,Di(r,o)),null!==t.queries&&t.queries.elementStart(t,c),c}(r,o,i,t,e):o.data[r];mn(s,!0);const c=i[r]=i[11].createComment("");return Aa(o,i,c,s),et(c,i),Tc(s)&&(dh(o,i,s),Pg(o,s,i)),null!=e&&hh(i,s),Ul}function Yl(){let n=Tt();const t=Ae();return gs()?zu():(n=n.parent,mn(n,!1)),t.firstCreatePass&&(jc(t,n),ds(n)&&t.queries.elementEnd(n)),Yl}function bh(){return z()}
|
|
817
817
|
/**
|
|
818
818
|
* @license
|
|
819
819
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -827,7 +827,7 @@ function $E(n,t,e,i,o,r,s,c,u){const h=t.consts,p=zs(t,n,4,s||null,Di(h,c));U(t,
|
|
|
827
827
|
*
|
|
828
828
|
* Use of this source code is governed by an MIT-style license that can be
|
|
829
829
|
* found in the LICENSE file at https://angular.io/license
|
|
830
|
-
*/function Ct(n,t,e,i){const o=z(),r=
|
|
830
|
+
*/function Ct(n,t,e,i){const o=z(),r=Ae(),s=Tt();return function Uw(n,t,e,i,o,r,s,c){const u=Tc(i),p=n.firstCreatePass&&Iw(n),g=t[8],_=Sw(t);let y=!0;if(3&i.type||c){const E=Je(i,t),O=c?c(E):E,H=_.length,L=c?Ee=>c(k(Ee[i.index])):i.index;let Y=null;if(!c&&u&&(Y=function XE(n,t,e,i){const o=n.cleanup;if(null!=o)for(let r=0;r<o.length-1;r+=2){const s=o[r];if(s===e&&o[r+1]===i){const c=t[7],u=o[r+2];return c.length>u?c[u]:null}"string"==typeof s&&(r+=2)}return null}(n,t,o,i.index)),null!==Y)(Y.__ngLastListenerFn__||Y).__ngNextListenerFn__=r,Y.__ngLastListenerFn__=r,y=!1;else{r=Gw(i,t,g,r,!1);const Ee=e.listen(O,o,r);_.push(r,Ee),p&&p.push(o,L,H,H+1)}}else r=Gw(i,t,g,r,!1);const M=i.outputs;let x;if(y&&null!==M&&(x=M[o])){const E=x.length;if(E)for(let O=0;O<E;O+=2){const Qe=t[x[O]][x[O+1]].subscribe(r),jt=_.length;_.push(r,Qe),p&&p.push(o,i.index,jt,-(jt+1))}}}(r,o,o[11],s,n,t,0,i),Ct}function Yw(n,t,e,i){try{return!1!==e(i)}catch(o){return kw(n,o),!1}}function Gw(n,t,e,i,o){return function r(s){if(s===Function)return i;py(2&n.flags?Mt(n.index,t):t);let u=Yw(t,0,i,s),h=r.__ngNextListenerFn__;for(;h;)u=Yw(t,0,h,s)&&u,h=h.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}
|
|
831
831
|
/**
|
|
832
832
|
* @license
|
|
833
833
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -841,21 +841,21 @@ function $E(n,t,e,i,o,r,s,c,u){const h=t.consts,p=zs(t,n,4,s||null,Di(h,c));U(t,
|
|
|
841
841
|
*
|
|
842
842
|
* Use of this source code is governed by an MIT-style license that can be
|
|
843
843
|
* found in the LICENSE file at https://angular.io/license
|
|
844
|
-
*/function
|
|
844
|
+
*/function Vt(n=1){return function fb(n){return(fe.lFrame.contextLView=function gb(n,t){for(;n>0;)t=t[15],n--;return t}(n,fe.lFrame.contextLView))[8]}(n)}
|
|
845
845
|
/**
|
|
846
846
|
* @license
|
|
847
847
|
* Copyright Google LLC All Rights Reserved.
|
|
848
848
|
*
|
|
849
849
|
* Use of this source code is governed by an MIT-style license that can be
|
|
850
850
|
* found in the LICENSE file at https://angular.io/license
|
|
851
|
-
*/function eL(n,t){let e=null;const i=function it(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let o=0;o<t.length;o++){const r=t[o];if("*"!==r){if(null===i?sg(n,r,!0):xl(i,r))return o}else e=o}return e}function vn(n){const t=z()[16][6];if(!t.projection){const i=t.projection=jr(n?n.length:1,null),o=i.slice();let r=t.child;for(;null!==r;){const s=n?eL(r,n):0;null!==s&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r),r=r.next}}}function _t(n,t=0,e){const i=z(),o=
|
|
851
|
+
*/function eL(n,t){let e=null;const i=function it(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let o=0;o<t.length;o++){const r=t[o];if("*"!==r){if(null===i?sg(n,r,!0):xl(i,r))return o}else e=o}return e}function vn(n){const t=z()[16][6];if(!t.projection){const i=t.projection=jr(n?n.length:1,null),o=i.slice();let r=t.child;for(;null!==r;){const s=n?eL(r,n):0;null!==s&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r),r=r.next}}}function _t(n,t=0,e){const i=z(),o=Ae(),r=zs(o,22+n,16,null,e||null);null===r.projection&&(r.projection=t),zu(),64!=(64&r.flags)&&function hi(n,t,e){Tf(t[11],0,t,e,yf(n,e,t),Sd(e.parent||t[6],e,t))}(o,i,r)}function Gg(n,t,e,i,o){const r=z(),s=Pl(r,t,e,i);return s!==_e&&D(Ae(),ft(),r,n,s,r[11],o,!1),Gg}function tD(n,t,e,i,o){const r=n[e+1],s=null===t;let c=i?Ei(r):No(r),u=!1;for(;0!==c&&(!1===u||s);){const p=n[c+1];iL(n[c],t)&&(u=!0,n[c+1]=i?nh(p):eh(p)),c=i?Ei(p):No(p)}u&&(n[e+1]=i?eh(r):nh(r))}function iL(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&Rr(n,t)>=0}
|
|
852
852
|
/**
|
|
853
853
|
* @license
|
|
854
854
|
* Copyright Google LLC All Rights Reserved.
|
|
855
855
|
*
|
|
856
856
|
* Use of this source code is governed by an MIT-style license that can be
|
|
857
857
|
* found in the LICENSE file at https://angular.io/license
|
|
858
|
-
*/const un={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nD(n){return n.substring(un.key,un.keyEnd)}function oL(n){return n.substring(un.value,un.valueEnd)}function iD(n,t){const e=un.textEnd;return e===t?-1:(t=un.keyEnd=function aL(n,t,e){for(;t<e&&n.charCodeAt(t)>32;)t++;return t}(n,un.key=t,e),
|
|
858
|
+
*/const un={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nD(n){return n.substring(un.key,un.keyEnd)}function oL(n){return n.substring(un.value,un.valueEnd)}function iD(n,t){const e=un.textEnd;return e===t?-1:(t=un.keyEnd=function aL(n,t,e){for(;t<e&&n.charCodeAt(t)>32;)t++;return t}(n,un.key=t,e),Gl(n,t,e))}function oD(n,t){const e=un.textEnd;let i=un.key=Gl(n,t,e);return e===i?-1:(i=un.keyEnd=function cL(n,t,e){let i;for(;t<e&&(45===(i=n.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(n,i,e),i=sD(n,i,e),i=un.value=Gl(n,i,e),i=un.valueEnd=function lL(n,t,e){let i=-1,o=-1,r=-1,s=t,c=s;for(;s<e;){const u=n.charCodeAt(s++);if(59===u)return c;34===u||39===u?c=s=aD(n,u,s,e):t===s-4&&85===r&&82===o&&76===i&&40===u?c=s=aD(n,41,s,e):u>32&&(c=s),r=o,o=i,i=-33&u}return c}(n,i,e),sD(n,i,e))}function rD(n){un.key=0,un.keyEnd=0,un.value=0,un.valueEnd=0,un.textEnd=n.length}function Gl(n,t,e){for(;t<e&&n.charCodeAt(t)<=32;)t++;return t}function sD(n,t,e,i){return(t=Gl(n,t,e))<e&&t++,t}function aD(n,t,e,i){let o=-1,r=e;for(;r<i;){const s=n.charCodeAt(r++);if(s==t&&92!==o)return r;o=92==s&&92===o?0:s}throw new Error}
|
|
859
859
|
/**
|
|
860
860
|
* @license
|
|
861
861
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -863,21 +863,21 @@ function $E(n,t,e,i,o,r,s,c,u){const h=t.consts,p=zs(t,n,4,s||null,Di(h,c));U(t,
|
|
|
863
863
|
* Use of this source code is governed by an MIT-style license that can be
|
|
864
864
|
* found in the LICENSE file at https://angular.io/license
|
|
865
865
|
*/
|
|
866
|
-
function Wr(n,t,e){return Oo(n,t,e,!1),Wr}function ge(n,t){return Oo(n,t,null,!0),ge}function uL(n,t){for(let e=function sL(n){return rD(n),oD(n,
|
|
866
|
+
function Wr(n,t,e){return Oo(n,t,e,!1),Wr}function ge(n,t){return Oo(n,t,null,!0),ge}function uL(n,t){for(let e=function sL(n){return rD(n),oD(n,Gl(n,0,un.textEnd))}(t);e>=0;e=oD(t,e))uD(n,nD(t),oL(t))}function dr(n,t){for(let e=function rL(n){return rD(n),iD(n,Gl(n,0,un.textEnd))}(t);e>=0;e=iD(t,e))On(n,nD(t),!0)}function Oo(n,t,e,i){const o=z(),r=Ae(),s=Co(2);r.firstUpdatePass&&lD(r,n,s,i),t!==_e&&zn(o,s,t)&&dD(r,r.data[Dn()],o,o[11],n,o[s+1]=function bL(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=ct(ir(n)))),n}(t,e),i,s)}function Po(n,t,e,i){const o=Ae(),r=Co(2);o.firstUpdatePass&&lD(o,null,r,i);const s=z();if(e!==_e&&zn(s,r,e)){const c=o.data[Dn()];if(pD(c,i)&&!cD(o,r)){let u=i?c.classesWithoutHost:c.stylesWithoutHost;null!==u&&(e=Du(u,e||"")),vy(o,c,s,e,i)}else!function _L(n,t,e,i,o,r,s,c){o===_e&&(o=$e);let u=0,h=0,p=0<o.length?o[0]:null,g=0<r.length?r[0]:null;for(;null!==p||null!==g;){const _=u<o.length?o[u+1]:void 0,y=h<r.length?r[h+1]:void 0;let x,M=null;p===g?(u+=2,h+=2,_!==y&&(M=g,x=y)):null===g||null!==p&&p<g?(u+=2,M=p):(h+=2,M=g,x=y),null!==M&&dD(n,t,e,i,M,x,s,c),p=u<o.length?o[u]:null,g=h<r.length?r[h]:null}}(o,c,s,s[11],s[r+1],s[r+1]=function mL(n,t,e){if(null==e||""===e)return $e;const i=[],o=ir(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)n(i,o[r],!0);else if("object"==typeof o)for(const r in o)o.hasOwnProperty(r)&&n(i,r,o[r]);else"string"==typeof o&&t(i,o);return i}(n,t,e),i,r)}}function cD(n,t){return t>=n.expandoStartIndex}function lD(n,t,e,i){const o=n.data;if(null===o[e+1]){const r=o[Dn()],s=cD(n,e);pD(r,i)&&null===t&&!s&&(t=!1),t=function hL(n,t,e,i){const o=Bu(n);let r=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(e=vh(e=My(null,n,t,e,i),t.attrs,i),r=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==o)if(e=My(o,n,t,e,i),null===r){let u=function pL(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==No(i))return n[Ei(i)]}(n,t,i);void 0!==u&&Array.isArray(u)&&(u=My(null,n,t,u[1],i),u=vh(u,t.attrs,i),function fL(n,t,e,i){n[Ei(e?t.classBindings:t.styleBindings)]=i}(n,t,i,u))}else r=function gL(n,t,e){let i;const o=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<o;r++)i=vh(i,n[r].hostAttrs,e);return vh(i,t.attrs,e)}(n,t,i)}return void 0!==r&&(i?t.residualClasses=r:t.residualStyles=r),e}(o,r,t,i),function tL(n,t,e,i,o,r){let s=r?t.classBindings:t.styleBindings,c=Ei(s),u=No(s);n[i]=e;let p,h=!1;if(Array.isArray(e)){const g=e;p=g[1],(null===p||Rr(g,p)>0)&&(h=!0)}else p=e;if(o)if(0!==u){const _=Ei(n[c+1]);n[i+1]=Il(_,c),0!==_&&(n[_+1]=th(n[_+1],i)),n[c+1]=function ny(n,t){return 131071&n|t<<17}(n[c+1],i)}else n[i+1]=Il(c,0),0!==c&&(n[c+1]=th(n[c+1],i)),c=i;else n[i+1]=Il(u,0),0===c?c=i:n[u+1]=th(n[u+1],i),u=i;h&&(n[i+1]=eh(n[i+1])),tD(n,p,i,!0),tD(n,p,i,!1),function nL(n,t,e,i,o){const r=o?n.residualClasses:n.residualStyles;null!=r&&"string"==typeof t&&Rr(r,t)>=0&&(e[i+1]=nh(e[i+1]))}(t,p,n,i,r),s=Il(c,u),r?t.classBindings=s:t.styleBindings=s}(o,r,t,e,s,i)}}function My(n,t,e,i,o){let r=null;const s=e.directiveEnd;let c=e.directiveStylingLast;for(-1===c?c=e.directiveStart:c++;c<s&&(r=t[c],i=vh(i,r.hostAttrs,o),r!==n);)c++;return null!==n&&(e.directiveStylingLast=c),i}function vh(n,t,e){const i=e?1:2;let o=-1;if(null!==t)for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?o=s:o===i&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),On(n,s,!!e||t[++r]))}return void 0===n?null:n}function uD(n,t,e){On(n,t,ir(e))}function dD(n,t,e,i,o,r,s,c){if(!(3&t.type))return;const u=n.data,h=u[c+1];Wg(function Cg(n){return 1==(1&n)}(h)?hD(u,t,e,o,No(h),s):void 0)||(Wg(r)||function Mg(n){return 2==(2&n)}(h)&&(r=hD(u,null,e,o,c,s)),function Wb(n,t,e,i,o){if(t)o?n.addClass(e,i):n.removeClass(e,i);else{let r=-1===i.indexOf("-")?void 0:In.DashCase;null==o?n.removeStyle(e,i,r):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=In.Important),n.setStyle(e,i,o,r))}}(i,s,He(Dn(),e),o,r))}function hD(n,t,e,i,o,r){const s=null===t;let c;for(;o>0;){const u=n[o],h=Array.isArray(u),p=h?u[1]:u,g=null===p;let _=e[o+1];_===_e&&(_=g?$e:void 0);let y=g?qu(_,i):p===i?_:void 0;if(h&&!Wg(y)&&(y=qu(u,i)),Wg(y)&&(c=y,s))return c;const M=n[o+1];o=s?Ei(M):No(M)}if(null!==t){let u=r?t.residualClasses:t.residualStyles;null!=u&&(c=qu(u,i))}return c}function Wg(n){return void 0!==n}function pD(n,t){return 0!=(n.flags&(t?16:32))}
|
|
867
867
|
/**
|
|
868
868
|
* @license
|
|
869
869
|
* Copyright Google LLC All Rights Reserved.
|
|
870
870
|
*
|
|
871
871
|
* Use of this source code is governed by an MIT-style license that can be
|
|
872
872
|
* found in the LICENSE file at https://angular.io/license
|
|
873
|
-
*/function
|
|
873
|
+
*/function wt(n,t=""){const e=z(),i=Ae(),o=n+22,r=i.firstCreatePass?zs(i,o,1,t,null):i.data[o],s=e[o]=function Md(n,t){return n.createText(t)}(e[11],t);Aa(i,e,s,r),mn(r,!1)}
|
|
874
874
|
/**
|
|
875
875
|
* @license
|
|
876
876
|
* Copyright Google LLC All Rights Reserved.
|
|
877
877
|
*
|
|
878
878
|
* Use of this source code is governed by an MIT-style license that can be
|
|
879
879
|
* found in the LICENSE file at https://angular.io/license
|
|
880
|
-
*/function
|
|
880
|
+
*/function Qa(n){return Vs("",n,""),Qa}function Vs(n,t,e){const i=z(),o=Pl(i,n,t,e);return o!==_e&&function Gr(n,t,e){const i=He(t,n);!function ll(n,t,e){n.setValue(t,e)}(n[11],i,e)}(i,Dn(),o),Vs}function Qg(n,t,e,i,o){Po(On,dr,function jl(n,t,e,i,o,r){const c=Wa(n,Mo(),e,o);return Co(2),c?t+pe(e)+i+pe(o)+r:_e}(z(),n,t,e,i,o),!0)}
|
|
881
881
|
/**
|
|
882
882
|
* @license
|
|
883
883
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -893,7 +893,7 @@ function wD(n,t,e){!function ur(n){Po(uD,uL,n,!1)}(Pl(z(),n,t,e))}
|
|
|
893
893
|
* Use of this source code is governed by an MIT-style license that can be
|
|
894
894
|
* found in the LICENSE file at https://angular.io/license
|
|
895
895
|
*/
|
|
896
|
-
function
|
|
896
|
+
function yh(n,t,e){const i=z();return zn(i,ms(),t)&&D(Ae(),ft(),i,n,t,i[11],e,!0),yh}function Mh(n,t,e){const i=z();if(zn(i,ms(),t)){const r=Ae(),s=ft();D(r,s,i,n,t,function Tw(n,t,e){return(null===n||si(n))&&(e=function K(n){for(;Array.isArray(n);){if("object"==typeof n[1])return n;n=n[0]}return null}(e[t.index])),e[11]}(Bu(r.data),s,i),e,!0)}return Mh}
|
|
897
897
|
/**
|
|
898
898
|
* @license
|
|
899
899
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -914,14 +914,14 @@ function vh(n,t,e){const i=z();return zn(i,ms(),t)&&D(Ne(),ft(),i,n,t,i[11],e,!0
|
|
|
914
914
|
*
|
|
915
915
|
* Use of this source code is governed by an MIT-style license that can be
|
|
916
916
|
* found in the LICENSE file at https://angular.io/license
|
|
917
|
-
*/let
|
|
917
|
+
*/let Wl={};function Xn(n){const t=function jL(n){return n.toLowerCase().replace(/_/g,"-")}
|
|
918
918
|
/**
|
|
919
919
|
* @license
|
|
920
920
|
* Copyright Google LLC All Rights Reserved.
|
|
921
921
|
*
|
|
922
922
|
* Use of this source code is governed by an MIT-style license that can be
|
|
923
923
|
* found in the LICENSE file at https://angular.io/license
|
|
924
|
-
*/(n);let e=OD(t);if(e)return e;const i=t.split("-")[0];if(e=OD(i),e)return e;if("en"===i)return PL;throw new V(701,!1)}function OD(n){return n in
|
|
924
|
+
*/(n);let e=OD(t);if(e)return e;const i=t.split("-")[0];if(e=OD(i),e)return e;if("en"===i)return PL;throw new V(701,!1)}function OD(n){return n in Wl||(Wl[n]=ut.ng&&ut.ng.common&&ut.ng.common.locales&&ut.ng.common.locales[n]),Wl[n]}var Q=(()=>((Q=Q||{})[Q.LocaleId=0]="LocaleId",Q[Q.DayPeriodsFormat=1]="DayPeriodsFormat",Q[Q.DayPeriodsStandalone=2]="DayPeriodsStandalone",Q[Q.DaysFormat=3]="DaysFormat",Q[Q.DaysStandalone=4]="DaysStandalone",Q[Q.MonthsFormat=5]="MonthsFormat",Q[Q.MonthsStandalone=6]="MonthsStandalone",Q[Q.Eras=7]="Eras",Q[Q.FirstDayOfWeek=8]="FirstDayOfWeek",Q[Q.WeekendRange=9]="WeekendRange",Q[Q.DateFormat=10]="DateFormat",Q[Q.TimeFormat=11]="TimeFormat",Q[Q.DateTimeFormat=12]="DateTimeFormat",Q[Q.NumberSymbols=13]="NumberSymbols",Q[Q.NumberFormats=14]="NumberFormats",Q[Q.CurrencyCode=15]="CurrencyCode",Q[Q.CurrencySymbol=16]="CurrencySymbol",Q[Q.CurrencyName=17]="CurrencyName",Q[Q.Currencies=18]="Currencies",Q[Q.Directionality=19]="Directionality",Q[Q.PluralCase=20]="PluralCase",Q[Q.ExtraData=21]="ExtraData",Q))();const Ql="en-US";
|
|
925
925
|
/**
|
|
926
926
|
* @license
|
|
927
927
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -936,7 +936,7 @@ function vh(n,t,e){const i=z();return zn(i,ms(),t)&&D(Ne(),ft(),i,n,t,i[11],e,!0
|
|
|
936
936
|
* Use of this source code is governed by an MIT-style license that can be
|
|
937
937
|
* found in the LICENSE file at https://angular.io/license
|
|
938
938
|
*/
|
|
939
|
-
let PD=
|
|
939
|
+
let PD=Ql;function Dy(n,t,e,i,o){if(n=ue(n),Array.isArray(n))for(let r=0;r<n.length;r++)Dy(n[r],t,e,i,o);else{const r=Ae(),s=z();let c=Ki(n)?n:ue(n.provide),u=Kf(n);const h=Tt(),p=1048575&h.providerIndexes,g=h.directiveStart,_=h.providerIndexes>>20;if(Ki(n)||!n.multi){const y=new ba(u,o,I),M=Sy(c,t,o?p:p+_,g);-1===M?(Hc(ya(h,s),r,c),xy(r,n,t.length),t.push(c),h.directiveStart++,h.directiveEnd++,o&&(h.providerIndexes+=1048576),e.push(y),s.push(y)):(e[M]=y,s[M]=y)}else{const y=Sy(c,t,p+_,g),M=Sy(c,t,p,p+_),x=y>=0&&e[y],E=M>=0&&e[M];if(o&&!E||!o&&!x){Hc(ya(h,s),r,c);const O=function AN(n,t,e,i,o){const r=new ba(n,e,I);return r.multi=[],r.index=t,r.componentProviders=0,sx(r,o,i&&!e),r}(o?NN:LN,e.length,o,i,u);!o&&E&&(e[M].providerFactory=O),xy(r,n,t.length,0),t.push(c),h.directiveStart++,h.directiveEnd++,o&&(h.providerIndexes+=1048576),e.push(O),s.push(O)}else xy(r,n,y>-1?y:M,sx(e[o?M:y],u,!o&&i));!o&&i&&E&&e[M].componentProviders++}}}function xy(n,t,e,i){const o=Ki(t),r=function vl(n){return!!n.useClass}(t);if(o||r){const u=(r?ue(t.useClass):t).prototype.ngOnDestroy;if(u){const h=n.destroyHooks||(n.destroyHooks=[]);if(!o&&t.multi){const p=h.indexOf(e);-1===p?h.push(e,[i,u]):h[p+1].push(i,u)}else h.push(e,u)}}}function sx(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Sy(n,t,e,i){for(let o=e;o<i;o++)if(t[o]===n)return o;return-1}function LN(n,t,e,i){return Iy(this.multi,[])}function NN(n,t,e,i){const o=this.multi;let r;if(this.providerFactory){const s=this.providerFactory.componentProviders,c=ys(e,e[1],this.providerFactory.index,i);r=c.slice(0,s),Iy(o,r);for(let u=s;u<c.length;u++)r.push(c[u])}else r=[],Iy(o,r);return r}function Iy(n,t){for(let e=0;e<n.length;e++)t.push((0,n[e])());return t}function Me(n,t=[]){return e=>{e.providersResolver=(i,o)=>
|
|
940
940
|
/**
|
|
941
941
|
* @license
|
|
942
942
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -951,14 +951,14 @@ let PD=Gl;function wy(n,t,e,i,o){if(n=le(n),Array.isArray(n))for(let r=0;r<n.len
|
|
|
951
951
|
* Use of this source code is governed by an MIT-style license that can be
|
|
952
952
|
* found in the LICENSE file at https://angular.io/license
|
|
953
953
|
*/
|
|
954
|
-
function EN(n,t,e){const i=
|
|
954
|
+
function EN(n,t,e){const i=Ae();if(i.firstCreatePass){const o=si(n);Dy(e,i.data,i.blueprint,o,!0),Dy(t,i.data,i.blueprint,o,!1)}}(i,o?o(n):n,t)}}
|
|
955
955
|
/**
|
|
956
956
|
* @license
|
|
957
957
|
* Copyright Google LLC All Rights Reserved.
|
|
958
958
|
*
|
|
959
959
|
* Use of this source code is governed by an MIT-style license that can be
|
|
960
960
|
* found in the LICENSE file at https://angular.io/license
|
|
961
|
-
*/class
|
|
961
|
+
*/class Zl{}class ax extends Zl{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new my(this);const i=function Gn(n,t){const e=n[vp]||null;if(!e&&!0===t)throw new Error(`Type ${ct(n)} does not have '\u0275mod' property.`);return e}
|
|
962
962
|
/**
|
|
963
963
|
* @license
|
|
964
964
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -972,14 +972,14 @@ function EN(n,t,e){const i=Ne();if(i.firstCreatePass){const o=si(n);wy(e,i.data,
|
|
|
972
972
|
*
|
|
973
973
|
* Use of this source code is governed by an MIT-style license that can be
|
|
974
974
|
* found in the LICENSE file at https://angular.io/license
|
|
975
|
-
*/(i.bootstrap),this._r3Injector=gg(t,e,[{provide:
|
|
975
|
+
*/(i.bootstrap),this._r3Injector=gg(t,e,[{provide:Zl,useValue:this},{provide:at,useValue:this.componentFactoryResolver}],ct(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(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ty extends class ON{}
|
|
976
976
|
/**
|
|
977
977
|
* @license
|
|
978
978
|
* Copyright Google LLC All Rights Reserved.
|
|
979
979
|
*
|
|
980
980
|
* Use of this source code is governed by an MIT-style license that can be
|
|
981
981
|
* found in the LICENSE file at https://angular.io/license
|
|
982
|
-
*/{constructor(t){super(),this.moduleType=t}create(t){return new ax(this.moduleType,t)}}function
|
|
982
|
+
*/{constructor(t){super(),this.moduleType=t}create(t){return new ax(this.moduleType,t)}}function Ih(n,t){const e=n[t];return e===_e?void 0:e}
|
|
983
983
|
/**
|
|
984
984
|
* @license
|
|
985
985
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -987,7 +987,7 @@ function EN(n,t,e){const i=Ne();if(i.firstCreatePass){const o=si(n);wy(e,i.data,
|
|
|
987
987
|
* Use of this source code is governed by an MIT-style license that can be
|
|
988
988
|
* found in the LICENSE file at https://angular.io/license
|
|
989
989
|
*/
|
|
990
|
-
function
|
|
990
|
+
function $l(n,t){const e=Ae();let i;const o=n+22;e.firstCreatePass?(i=function iA(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(o,i.onDestroy)):i=e.data[o];const r=i.factory||(i.factory=Qo(i.type)),s=Yn(I);try{const c=Bc(!1),u=r();return Bc(c),function KE(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,z(),o,u),u}finally{Yn(s)}}function qg(n,t,e){const i=n+22,o=z(),r=ps(o,i);return Th(o,i)?function gx(n,t,e,i,o,r){const s=t+e;return zn(n,s,o)?cr(n,s+1,r?i.call(r,o):i(o)):Ih(n,s+1)}(o,cn(),t,r.transform,e,r):r.transform(e)}function Ey(n,t,e,i){const o=n+22,r=z(),s=ps(r,o);return Th(r,o)?function mx(n,t,e,i,o,r,s){const c=t+e;return Wa(n,c,o,r)?cr(n,c+2,s?i.call(s,o,r):i(o,r)):Ih(n,c+2)}(r,cn(),t,s.transform,e,i,s):s.transform(e,i)}function Th(n,t){return n[1].data[t].pure}
|
|
991
991
|
/**
|
|
992
992
|
* @license
|
|
993
993
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1001,14 +1001,14 @@ function Ih(n,t){const e=Ne();let i;const o=n+22;e.firstCreatePass?(i=function i
|
|
|
1001
1001
|
*
|
|
1002
1002
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1003
1003
|
* found in the LICENSE file at https://angular.io/license
|
|
1004
|
-
*/function cA(){return this._results[
|
|
1004
|
+
*/function cA(){return this._results[Ga()]()}class Ny{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Ga(),i=Ny.prototype;i[e]||(i[e]=cA)}get changes(){return this._changes||(this._changes=new be)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const o=Qn(t);(this._changesDetected=!function Db(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i<n.length;i++){let o=n[i],r=t[i];if(e&&(o=e(o),r=e(r)),r!==o)return!1}return!0}(i._results,o,e))&&(i._results=o,i.length=o.length,i.last=o[this.length-1],i.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}
|
|
1005
1005
|
/**
|
|
1006
1006
|
* @license
|
|
1007
1007
|
* Copyright Google LLC All Rights Reserved.
|
|
1008
1008
|
*
|
|
1009
1009
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1010
1010
|
* found in the LICENSE file at https://angular.io/license
|
|
1011
|
-
*/let dn=(()=>{class n{}return n.__NG_ELEMENT_ID__=dA,n})();const lA=dn,uA=class extends lA{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,o=Nl(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(i)),
|
|
1011
|
+
*/let dn=(()=>{class n{}return n.__NG_ELEMENT_ID__=dA,n})();const lA=dn,uA=class extends lA{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,o=Nl(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(i)),uh(i,o,t),new fh(o)}};function dA(){return Xg(Tt(),z())}function Xg(n,t){return 4&n.type?new uA(t,n,Kn(n,t)):null}
|
|
1012
1012
|
/**
|
|
1013
1013
|
* @license
|
|
1014
1014
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1022,21 +1022,21 @@ function Ih(n,t){const e=Ne();let i;const o=n+22;e.firstCreatePass?(i=function i
|
|
|
1022
1022
|
*
|
|
1023
1023
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1024
1024
|
* found in the LICENSE file at https://angular.io/license
|
|
1025
|
-
*/(t);let c;if(s)c=e;else{const g=e||{};c=g.index,i=g.injector,o=g.projectableNodes,r=g.environmentInjector||g.ngModuleRef}const u=s?t:new
|
|
1025
|
+
*/(t);let c;if(s)c=e;else{const g=e||{};c=g.index,i=g.injector,o=g.projectableNodes,r=g.environmentInjector||g.ngModuleRef}const u=s?t:new gh(ee(t)),h=i||this.parentInjector;if(!r&&null==u.ngModule){const _=(s?h:this.parentInjector).get(Ls,null);_&&(r=_)}const p=u.create(h,o,void 0,r);return this.insert(p.hostView,c),p}insert(t,e){const i=t._lView,o=i[1];if(function fs(n){return ri(n[3])}(i)){const p=this.indexOf(t);if(-1!==p)this.detach(p);else{const g=i[3],_=new yx(g,g[6],g[3]);_.detach(_.indexOf(t))}}const r=this._adjustIndex(e),s=this._lContainer;!function vf(n,t,e,i){const o=10+i,r=e.length;i>0&&(e[o-1][4]=t),i<r-10?(t[4]=e[o],Qc(e,10+i,t)):(e.push(t),t[4]=null),t[3]=e;const s=t[17];null!==s&&e!==s&&function $i(n,t){const e=n[9];t[16]!==t[3][3][16]&&(n[2]=!0),null===e?n[9]=[t]:e.push(t)}(s,t);const c=t[19];null!==c&&c.insertView(n),t[2]|=64}(o,i,s,r);const c=kd(r,s),u=i[11],h=dl(u,s[7]);return null!==h&&function _f(n,t,e,i,o,r){i[0]=o,i[6]=t,Oa(n,i,e,1,o,r)}(o,s[6],u,i,h,c),t.attachToViewContainerRef(),Qc(Ay(s),r,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Mx(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),i=wd(this._lContainer,e);i&&(Zc(Ay(this._lContainer),e),Dd(i[1],i))}detach(t){const e=this._adjustIndex(t,-1),i=wd(this._lContainer,e);return i&&null!=Zc(Ay(this._lContainer),e)?new fh(i):null}_adjustIndex(t,e=0){return t??this.length+e}};function Mx(n){return n[8]}function Ay(n){return n[8]||(n[8]=[])}function Cx(n,t){let e;const i=t[n.index];if(ri(i))e=i;else{let o;if(8&n.type)o=k(i);else{const r=t[11];o=r.createComment("");const s=Je(n,t);Hr(r,dl(r,s),o,function Df(n,t){return n.nextSibling(t)}(r,s),!1)}t[n.index]=e=xw(i,t,o,n),Rg(t,e)}return new yx(e,n,t)}
|
|
1026
1026
|
/**
|
|
1027
1027
|
* @license
|
|
1028
1028
|
* Copyright Google LLC All Rights Reserved.
|
|
1029
1029
|
*
|
|
1030
1030
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1031
1031
|
* found in the LICENSE file at https://angular.io/license
|
|
1032
|
-
*/class Oy{constructor(t){this.queryList=t,this.matches=null}clone(){return new Oy(this.queryList)}setDirty(){this.queryList.setDirty()}}class Py{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const i=null!==t.contentQueries?t.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){const s=e.getByIndex(r);o.push(this.queries[s.indexInDeclarationView].clone())}return new Py(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Ix(t,e).matches&&this.queries[e].setDirty()}}class wx{constructor(t,e,i=null){this.predicate=t,this.flags=e,this.read=i}}class jy{constructor(t=[]){this.queries=t}elementStart(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let i=0;i<this.length;i++){const o=null!==e?e.length:0,r=this.getByIndex(i).embeddedTView(t,o);r&&(r.indexInDeclarationView=i,null!==e?e.push(r):e=[r])}return null!==e?new jy(e):null}template(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Ry{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Ry(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const r=i[o];this.matchTNodeWithReadOption(t,e,mA(e,r)),this.matchTNodeWithReadOption(t,e,Yc(e,t,r,!1,!1))}else i===dn?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Yc(e,t,i,!1,!1))}matchTNodeWithReadOption(t,e,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Se||o===Ln||o===dn&&4&e.type)this.addMatch(e.index,-2);else{const r=Yc(e,t,o,!1,!1);null!==r&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function mA(n,t){const e=n.localNames;if(null!==e)for(let i=0;i<e.length;i+=2)if(e[i]===t)return e[i+1];return null}function bA(n,t,e,i){return-1===e?function _A(n,t){return 11&n.type?Kn(n,t):4&n.type?
|
|
1032
|
+
*/class Oy{constructor(t){this.queryList=t,this.matches=null}clone(){return new Oy(this.queryList)}setDirty(){this.queryList.setDirty()}}class Py{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const i=null!==t.contentQueries?t.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){const s=e.getByIndex(r);o.push(this.queries[s.indexInDeclarationView].clone())}return new Py(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Ix(t,e).matches&&this.queries[e].setDirty()}}class wx{constructor(t,e,i=null){this.predicate=t,this.flags=e,this.read=i}}class jy{constructor(t=[]){this.queries=t}elementStart(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let i=0;i<this.length;i++){const o=null!==e?e.length:0,r=this.getByIndex(i).embeddedTView(t,o);r&&(r.indexInDeclarationView=i,null!==e?e.push(r):e=[r])}return null!==e?new jy(e):null}template(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Ry{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Ry(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const r=i[o];this.matchTNodeWithReadOption(t,e,mA(e,r)),this.matchTNodeWithReadOption(t,e,Yc(e,t,r,!1,!1))}else i===dn?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Yc(e,t,i,!1,!1))}matchTNodeWithReadOption(t,e,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Se||o===Ln||o===dn&&4&e.type)this.addMatch(e.index,-2);else{const r=Yc(e,t,o,!1,!1);null!==r&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function mA(n,t){const e=n.localNames;if(null!==e)for(let i=0;i<e.length;i+=2)if(e[i]===t)return e[i+1];return null}function bA(n,t,e,i){return-1===e?function _A(n,t){return 11&n.type?Kn(n,t):4&n.type?Xg(n,t):null}(t,n):-2===e?function vA(n,t,e){return e===Se?Kn(t,n):e===dn?Xg(t,n):e===Ln?Cx(t,n):void 0}(n,t,i):ys(n,n[1],e,t)}function Dx(n,t,e,i){const o=t[19].queries[i];if(null===o.matches){const r=n.data,s=e.matches,c=[];for(let u=0;u<s.length;u+=2){const h=s[u];c.push(h<0?null:bA(t,r[h],s[u+1],e.metadata.read))}o.matches=c}return o.matches}function zy(n,t,e,i){const o=n.queries.getByIndex(e),r=o.matches;if(null!==r){const s=Dx(n,t,o,e);for(let c=0;c<r.length;c+=2){const u=r[c];if(u>0)i.push(s[c/2]);else{const h=r[c+1],p=t[-u];for(let g=10;g<p.length;g++){const _=p[g];_[17]===_[3]&&zy(_[1],_,h,i)}if(null!==p[9]){const g=p[9];for(let _=0;_<g.length;_++){const y=g[_];zy(y[1],y,h,i)}}}}}return i}function Oe(n){const t=z(),e=Ae(),i=Oc();Sr(i+1);const o=Ix(e,i);if(n.dirty&&function Ec(n){return 4==(4&n[2])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)n.reset([]);else{const r=o.crossesNgTemplate?zy(e,t,i,[]):Dx(e,t,o,i);n.reset(r,Iv),n.notifyOnChanges()}return!0}return!1}function Ni(n,t,e){const i=Ae();i.firstCreatePass&&(Sx(i,new wx(n,t,e),-1),2==(2&t)&&(i.staticViewQueries=!0)),xx(i,z(),t)}function yt(n,t,e,i){const o=Ae();if(o.firstCreatePass){const r=Tt();Sx(o,new wx(t,e,i),r.index),function MA(n,t){const e=n.contentQueries||(n.contentQueries=[]);t!==(e.length?e[e.length-1]:-1)&&e.push(n.queries.length-1,t)}(o,n),2==(2&e)&&(o.staticContentQueries=!0)}xx(o,z(),e)}function Pe(){return function yA(n,t){return n[19].queries[t].queryList}(z(),Oc())}function xx(n,t,e){const i=new Ny(4==(4&e));d(n,t,i,i.destroy),null===t[19]&&(t[19]=new Py),t[19].queries.push(new Oy(i))}function Sx(n,t,e){null===n.queries&&(n.queries=new jy),n.queries.track(new Ry(t,e))}function Ix(n,t){return n.queries.getByIndex(t)}
|
|
1033
1033
|
/**
|
|
1034
1034
|
* @license
|
|
1035
1035
|
* Copyright Google LLC All Rights Reserved.
|
|
1036
1036
|
*
|
|
1037
1037
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1038
1038
|
* found in the LICENSE file at https://angular.io/license
|
|
1039
|
-
*/function Fy(n,t){return
|
|
1039
|
+
*/function Fy(n,t){return Xg(n,t)}
|
|
1040
1040
|
/**
|
|
1041
1041
|
* @license
|
|
1042
1042
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1072,21 +1072,21 @@ function Ih(n,t){const e=Ne();let i;const o=n+22;e.firstCreatePass?(i=function i
|
|
|
1072
1072
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1073
1073
|
* found in the LICENSE file at https://angular.io/license
|
|
1074
1074
|
*/
|
|
1075
|
-
function
|
|
1075
|
+
function tm(...n){}
|
|
1076
1076
|
/**
|
|
1077
1077
|
* @license
|
|
1078
1078
|
* Copyright Google LLC All Rights Reserved.
|
|
1079
1079
|
*
|
|
1080
1080
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1081
1081
|
* found in the LICENSE file at https://angular.io/license
|
|
1082
|
-
*/const Wx=new G("Application Initializer");let
|
|
1082
|
+
*/const Wx=new G("Application Initializer");let nm=(()=>{class n{constructor(e){this.appInits=e,this.resolve=tm,this.reject=tm,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const r=this.appInits[o]();if(Yg(r))e.push(r);else if(Hw(r)){const s=new Promise((c,u)=>{r.subscribe({complete:c,error:u})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(P(Wx,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
1083
1083
|
/**
|
|
1084
1084
|
* @license
|
|
1085
1085
|
* Copyright Google LLC All Rights Reserved.
|
|
1086
1086
|
*
|
|
1087
1087
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1088
1088
|
* found in the LICENSE file at https://angular.io/license
|
|
1089
|
-
*/const Eh=new G("AppId",{providedIn:"root",factory:function Qx(){return`${Yy()}${Yy()}${Yy()}`}});function Yy(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Zx=new G("Platform Initializer"),
|
|
1089
|
+
*/const Eh=new G("AppId",{providedIn:"root",factory:function Qx(){return`${Yy()}${Yy()}${Yy()}`}});function Yy(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Zx=new G("Platform Initializer"),im=new G("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),BA=new G("appBootstrapListener"),Gy=new G("AnimationModuleType"),hr=new G("LocaleId",{providedIn:"root",factory:()=>Io(hr,ae.Optional|ae.SkipSelf)||
|
|
1090
1090
|
/**
|
|
1091
1091
|
* @license
|
|
1092
1092
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1094,7 +1094,7 @@ function em(...n){}
|
|
|
1094
1094
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1095
1095
|
* found in the LICENSE file at https://angular.io/license
|
|
1096
1096
|
*/
|
|
1097
|
-
function HA(){return typeof $localize<"u"&&$localize.locale||
|
|
1097
|
+
function HA(){return typeof $localize<"u"&&$localize.locale||Ql}()}),QA=(()=>Promise.resolve(0))();
|
|
1098
1098
|
/**
|
|
1099
1099
|
* @license
|
|
1100
1100
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1116,14 +1116,14 @@ function HA(){return typeof $localize<"u"&&$localize.locale||Gl}()}),QA=(()=>Pro
|
|
|
1116
1116
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1117
1117
|
* found in the LICENSE file at https://angular.io/license
|
|
1118
1118
|
*/
|
|
1119
|
-
class Ge{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new be(!1),this.onMicrotaskEmpty=new be(!1),this.onStable=new be(!1),this.onError=new be(!1),typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const r=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new r("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function ZA(){let n=ut.requestAnimationFrame,t=ut.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function JA(n){const t=()=>{!function KA(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(ut,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Zy(n),n.isCheckStableRunning=!0,Qy(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Zy(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,r,s,c)=>{try{return Jx(n),e.invokeTask(o,r,s,c)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||n.shouldCoalesceRunChangeDetection)&&t(),qx(n)}},onInvoke:(e,i,o,r,s,c,u)=>{try{return Jx(n),e.invoke(o,r,s,c,u)}finally{n.shouldCoalesceRunChangeDetection&&t(),qx(n)}},onHasTask:(e,i,o,r)=>{e.hasTask(o,r),i===o&&("microTask"==r.change?(n._hasPendingMicrotasks=r.microTask,Zy(n),Qy(n)):"macroTask"==r.change&&(n.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,i,o,r)=>(e.handleError(o,r),n.runOutsideAngular(()=>n.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ge.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(Ge.isInAngularZone())throw new V(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,t,$A,
|
|
1119
|
+
class Ge{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new be(!1),this.onMicrotaskEmpty=new be(!1),this.onStable=new be(!1),this.onError=new be(!1),typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const r=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new r("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function ZA(){let n=ut.requestAnimationFrame,t=ut.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function JA(n){const t=()=>{!function KA(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(ut,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Zy(n),n.isCheckStableRunning=!0,Qy(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Zy(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,r,s,c)=>{try{return Jx(n),e.invokeTask(o,r,s,c)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||n.shouldCoalesceRunChangeDetection)&&t(),qx(n)}},onInvoke:(e,i,o,r,s,c,u)=>{try{return Jx(n),e.invoke(o,r,s,c,u)}finally{n.shouldCoalesceRunChangeDetection&&t(),qx(n)}},onHasTask:(e,i,o,r)=>{e.hasTask(o,r),i===o&&("microTask"==r.change?(n._hasPendingMicrotasks=r.microTask,Zy(n),Qy(n)):"macroTask"==r.change&&(n.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,i,o,r)=>(e.handleError(o,r),n.runOutsideAngular(()=>n.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ge.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(Ge.isInAngularZone())throw new V(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,t,$A,tm,tm);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const $A={};function Qy(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Zy(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function Jx(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function qx(n){n._nesting--,Qy(n)}class qA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new be,this.onMicrotaskEmpty=new be,this.onStable=new be,this.onError=new be}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,o){return t.apply(e,i)}}
|
|
1120
1120
|
/**
|
|
1121
1121
|
* @license
|
|
1122
1122
|
* Copyright Google LLC All Rights Reserved.
|
|
1123
1123
|
*
|
|
1124
1124
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1125
1125
|
* found in the LICENSE file at https://angular.io/license
|
|
1126
|
-
*/const Xx=new G(""),
|
|
1126
|
+
*/const Xx=new G(""),om=new G("");let Jy,$y=(()=>{class n{constructor(e,i,o){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Jy||(function XA(n){Jy=n}(o),o.addToWindow(i)),this._watchAngularEvents(),e.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:()=>{Ge.assertNotInAngularZone(),Wy(()=>{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())Wy(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,i,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(e,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,o){return[]}}return n.\u0275fac=function(e){return new(e||n)(P(Ge),P(Ky),P(om))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),Ky=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return Jy?.findTestabilityInTree(this,e,i)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),Bs=null;const eS=new G("AllowMultipleToken"),qy=new G("PlatformDestroyListeners");function nS(n,t,e=[]){const i=`Platform: ${t}`,o=new G(i);return(r=[])=>{let s=Xy();if(!s||s.injector.get(eS,!1)){const c=[...e,...r,{provide:o,useValue:!0}];n?n(c):function nO(n){if(Bs&&!Bs.get(eS,!1))throw new V(400,!1);Bs=n;const t=n.get(oS);(function tS(n){const t=n.get(Zx,null);t&&t.forEach(e=>e())})(n)}(function iS(n=[],t){return kn.create({name:t,providers:[{provide:Yd,useValue:"platform"},{provide:qy,useValue:new Set([()=>Bs=null])},...n]})}(c,i))}return function oO(n){const t=Xy();if(!t)throw new V(401,!1);return t}()}}function Xy(){return Bs?.get(oS)??null}let oS=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const o=function sS(n,t){let e;return e="noop"===n?new qA:("zone.js"===n?void 0:n)||new Ge(t),e}(i?.ngZone,function rS(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),r=[{provide:Ge,useValue:o}];return o.run(()=>{const s=kn.create({providers:r,parent:this.injector,name:e.moduleType.name}),c=e.create(s),u=c.injector.get(Ps,null);if(!u)throw new V(402,!1);return o.runOutsideAngular(()=>{const h=o.onError.subscribe({next:p=>{u.handleError(p)}});c.onDestroy(()=>{rm(this._modules,c),h.unsubscribe()})}),function aS(n,t,e){try{const i=e();return Yg(i)?i.catch(o=>{throw t.runOutsideAngular(()=>n.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(u,o,()=>{const h=c.injector.get(nm);return h.runInitializers(),h.donePromise.then(()=>(function jD(n){Un(n,"Expected localeId to be defined"),"string"==typeof n&&(PD=n.toLowerCase().replace(/_/g,"-"))}(c.injector.get(hr,Ql)||Ql),this._moduleDoBootstrap(c),c))})})}bootstrapModule(e,i=[]){const o=cS({},i);return function eO(n,t,e){const i=new Ty(e);return Promise.resolve(i)}(0,0,e).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(e){const i=e.injector.get($a);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new V(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new V(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(qy,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(P(kn))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function cS(n,t){return Array.isArray(t)?t.reduce(cS,n):{...n,...t}}let $a=(()=>{class n{constructor(e,i,o){this._zone=e,this._injector=i,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 r=new Be(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),s=new Be(c=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{Ge.assertNotInAngularZone(),Wy(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const h=this._zone.onUnstable.subscribe(()=>{Ge.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{u.unsubscribe(),h.unsubscribe()}});this.isStable=Bi(r,s.pipe(function V_(){return n=>yr()(function Cu(n,t){return function(i){let o;if(o="function"==typeof n?n:function(){return n},"function"==typeof t)return i.lift(new wu(o,t));const r=Object.create(i,vu);return r.source=i,r.subjectFactory=o,r}}(F_)(n))}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const o=e instanceof Jf;if(!this._injector.get(nm).done)throw!o&&function da(n){const t=ee(n)||xe(n)||wn(n);return null!==t&&t.standalone}(e),new V(405,false);let s;s=o?e:this._injector.get(at).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const c=function tO(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Zl),h=s.create(kn.NULL,[],i||s.selector,c),p=h.location.nativeElement,g=h.injector.get(Xx,null);return g?.registerApplication(p),h.onDestroy(()=>{this.detachView(h.hostView),rm(this.components,h),g?.unregisterApplication(p)}),this._loadComponent(h),h}tick(){if(this._runningTick)throw new V(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;rm(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(BA,[]).concat(this._bootstrapListeners).forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>rm(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new V(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(P(Ge),P(Ls),P(Ps))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function rm(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}
|
|
1127
1127
|
/**
|
|
1128
1128
|
* @license
|
|
1129
1129
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1131,7 +1131,7 @@ class Ge{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetecti
|
|
|
1131
1131
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1132
1132
|
* found in the LICENSE file at https://angular.io/license
|
|
1133
1133
|
*/
|
|
1134
|
-
let
|
|
1134
|
+
let ql=(()=>{class n{}return n.__NG_ELEMENT_ID__=aO,n})();function aO(n){return function cO(n,t,e){if(bo(n)&&!e){const i=Mt(n.index,t);return new fh(i,i)}return 47&n.type?new fh(t[16],t):null}
|
|
1135
1135
|
/**
|
|
1136
1136
|
* @license
|
|
1137
1137
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1146,21 +1146,21 @@ let $l=(()=>{class n{}return n.__NG_ELEMENT_ID__=aO,n})();function aO(n){return
|
|
|
1146
1146
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1147
1147
|
* found in the LICENSE file at https://angular.io/license
|
|
1148
1148
|
*/
|
|
1149
|
-
class gS{constructor(){}supports(t){return
|
|
1149
|
+
class gS{constructor(){}supports(t){return mh(t)}create(t){return new fO(t)}}const pO=(n,t)=>t;class fO{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||pO}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){const s=!i||e&&e.currentIndex<_S(i,o,r)?e:i,c=_S(s,o,r),u=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,null==s.previousIndex)o++;else{r||(r=[]);const h=c-o,p=u-o;if(h!=p){for(let _=0;_<h;_++){const y=_<r.length?r[_]:r[_]=0,M=y+_;p<=M&&M<h&&(r[_]=y+1)}r[s.previousIndex]=p-h}}c!==u&&t(s,c,u)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!mh(t))throw new V(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,r,s,e=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)r=t[c],s=this._trackByFn(c,r),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,r,s,c)),Object.is(e.item,r)||this._addIdentityChange(e,r)):(e=this._mismatch(e,r,s,c),i=!0),e=e._next}else o=0,function WE(n,t){if(Array.isArray(n))for(let e=0;e<n.length;e++)t(n[e]);else{const e=n[Ga()]();let i;for(;!(i=e.next()).done;)t(i.value)}}(t,c=>{s=this._trackByFn(o,c),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,c,s,o)),Object.is(e.item,c)||this._addIdentityChange(e,c)):(e=this._mismatch(e,c,s,o),i=!0),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,o){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,o)):t=this._addAfter(new gO(e,i),r,o),t}_verifyReinsertion(t,e,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?t=this._reinsertAfter(r,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,r=t._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const o=null===e?this._itHead:e._next;return t._next=o,t._prev=e,null===o?this._itTail=t:o._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new mS),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new mS),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class gO{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class mO{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class mS{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new mO,this.map.set(e,i)),i.add(t)}get(t,e){const o=this.map.get(t);return o?o.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function _S(n,t,e){const i=n.previousIndex;if(null===i)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+t+o
|
|
1150
1150
|
/**
|
|
1151
1151
|
* @license
|
|
1152
1152
|
* Copyright Google LLC All Rights Reserved.
|
|
1153
1153
|
*
|
|
1154
1154
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1155
1155
|
* found in the LICENSE file at https://angular.io/license
|
|
1156
|
-
*/}class bS{constructor(){}supports(t){return t instanceof Map||
|
|
1156
|
+
*/}class bS{constructor(){}supports(t){return t instanceof Map||by(t)}create(){return new _O}}class _O{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||by(t)))throw new V(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,e);const r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}const i=new bO(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class bO{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}
|
|
1157
1157
|
/**
|
|
1158
1158
|
* @license
|
|
1159
1159
|
* Copyright Google LLC All Rights Reserved.
|
|
1160
1160
|
*
|
|
1161
1161
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1162
1162
|
* found in the LICENSE file at https://angular.io/license
|
|
1163
|
-
*/function vS(){return new Zr([new gS])}let Zr=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const o=i.factories.slice();e=e.concat(o)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||vS()),deps:[[n,new Ds,new
|
|
1163
|
+
*/function vS(){return new Zr([new gS])}let Zr=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const o=i.factories.slice();e=e.concat(o)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||vS()),deps:[[n,new Ds,new Sa]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(null!=i)return i;throw new V(901,!1)}}return n.\u0275prov=$({token:n,providedIn:"root",factory:vS}),n})();
|
|
1164
1164
|
/**
|
|
1165
1165
|
* @license
|
|
1166
1166
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1168,7 +1168,7 @@ class gS{constructor(){}supports(t){return ph(t)}create(t){return new fO(t)}}con
|
|
|
1168
1168
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1169
1169
|
* found in the LICENSE file at https://angular.io/license
|
|
1170
1170
|
*/
|
|
1171
|
-
function yS(){return new Lh([new bS])}let Lh=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||yS()),deps:[[n,new Ds,new
|
|
1171
|
+
function yS(){return new Lh([new bS])}let Lh=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||yS()),deps:[[n,new Ds,new Sa]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(i)return i;throw new V(901,!1)}}
|
|
1172
1172
|
/**
|
|
1173
1173
|
* @license
|
|
1174
1174
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1198,7 +1198,7 @@ return n.\u0275prov=$({token:n,providedIn:"root",factory:yS}),n})();const MO=nS(
|
|
|
1198
1198
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1199
1199
|
* found in the LICENSE file at https://angular.io/license
|
|
1200
1200
|
*/
|
|
1201
|
-
let CO=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(P($a))},n.\u0275mod=dt({type:n}),n.\u0275inj=
|
|
1201
|
+
let CO=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(P($a))},n.\u0275mod=dt({type:n}),n.\u0275inj=st({}),n})();
|
|
1202
1202
|
/**
|
|
1203
1203
|
* @license
|
|
1204
1204
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1239,7 +1239,7 @@ let CO=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(
|
|
|
1239
1239
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1240
1240
|
* found in the LICENSE file at https://angular.io/license
|
|
1241
1241
|
*/
|
|
1242
|
-
let
|
|
1242
|
+
let cm=null;function pr(){return cm}
|
|
1243
1243
|
/**
|
|
1244
1244
|
* @license
|
|
1245
1245
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1247,14 +1247,14 @@ let am=null;function pr(){return am}
|
|
|
1247
1247
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1248
1248
|
* found in the LICENSE file at https://angular.io/license
|
|
1249
1249
|
*/
|
|
1250
|
-
const
|
|
1250
|
+
const rt=new G("DocumentToken");
|
|
1251
1251
|
/**
|
|
1252
1252
|
* @license
|
|
1253
1253
|
* Copyright Google LLC All Rights Reserved.
|
|
1254
1254
|
*
|
|
1255
1255
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1256
1256
|
* found in the LICENSE file at https://angular.io/license
|
|
1257
|
-
*/let MS=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:function(){return function SO(){return P(CS)}()},providedIn:"platform"}),n})(),CS=(()=>{class n extends MS{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return pr().getBaseHref(this._doc)}onPopState(e){const i=pr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=pr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,i,o){wS()?this._history.pushState(e,i,o):this.location.hash=o}replaceState(e,i,o){wS()?this._history.replaceState(e,i,o):this.location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(P(
|
|
1257
|
+
*/let MS=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:function(){return function SO(){return P(CS)}()},providedIn:"platform"}),n})(),CS=(()=>{class n extends MS{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return pr().getBaseHref(this._doc)}onPopState(e){const i=pr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=pr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,i,o){wS()?this._history.pushState(e,i,o):this.location.hash=o}replaceState(e,i,o){wS()?this._history.replaceState(e,i,o):this.location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(P(rt))},n.\u0275prov=$({token:n,factory:function(){return function IO(){return new CS(P(rt))}
|
|
1258
1258
|
/**
|
|
1259
1259
|
* @license
|
|
1260
1260
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1275,7 +1275,7 @@ const ot=new G("DocumentToken");
|
|
|
1275
1275
|
*
|
|
1276
1276
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1277
1277
|
* found in the LICENSE file at https://angular.io/license
|
|
1278
|
-
*/let s0=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:function(){return Io(kO)},providedIn:"root"}),n})();const TO=new G("appBaseHref");let kO=(()=>{class n extends s0{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Io(
|
|
1278
|
+
*/let s0=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:function(){return Io(kO)},providedIn:"root"}),n})();const TO=new G("appBaseHref");let kO=(()=>{class n extends s0{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Io(rt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return DS(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Ja(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,r){const s=this.prepareExternalUrl(o+Ja(r));this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){const s=this.prepareExternalUrl(o+Ja(r));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(P(MS),P(TO,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),SS=(()=>{class n{constructor(e){this._subject=new be,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=xS(IS(i)),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Ja(i))}normalize(e){return n.stripTrailingSlash(function LO(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,IS(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._locationStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ja(i)),o)}replaceState(e,i="",o=null){this._locationStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ja(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}}return n.normalizeQueryParams=Ja,n.joinWithSlash=DS,n.stripTrailingSlash=xS,n.\u0275fac=function(e){return new(e||n)(P(s0))},n.\u0275prov=$({token:n,factory:function(){return function EO(){return new SS(P(s0))}()},providedIn:"root"}),n})();
|
|
1279
1279
|
/**
|
|
1280
1280
|
* @license
|
|
1281
1281
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1304,7 +1304,7 @@ const ot=new G("DocumentToken");
|
|
|
1304
1304
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1305
1305
|
* found in the LICENSE file at https://angular.io/license
|
|
1306
1306
|
*/
|
|
1307
|
-
var Gt=(()=>((Gt=Gt||{})[Gt.Format=0]="Format",Gt[Gt.Standalone=1]="Standalone",Gt))(),Ve=(()=>((Ve=Ve||{})[Ve.Narrow=0]="Narrow",Ve[Ve.Abbreviated=1]="Abbreviated",Ve[Ve.Wide=2]="Wide",Ve[Ve.Short=3]="Short",Ve))(),Ot=(()=>((Ot=Ot||{})[Ot.Short=0]="Short",Ot[Ot.Medium=1]="Medium",Ot[Ot.Long=2]="Long",Ot[Ot.Full=3]="Full",Ot))(),
|
|
1307
|
+
var Gt=(()=>((Gt=Gt||{})[Gt.Format=0]="Format",Gt[Gt.Standalone=1]="Standalone",Gt))(),Ve=(()=>((Ve=Ve||{})[Ve.Narrow=0]="Narrow",Ve[Ve.Abbreviated=1]="Abbreviated",Ve[Ve.Wide=2]="Wide",Ve[Ve.Short=3]="Short",Ve))(),Ot=(()=>((Ot=Ot||{})[Ot.Short=0]="Short",Ot[Ot.Medium=1]="Medium",Ot[Ot.Long=2]="Long",Ot[Ot.Full=3]="Full",Ot))(),le=(()=>((le=le||{})[le.Decimal=0]="Decimal",le[le.Group=1]="Group",le[le.List=2]="List",le[le.PercentSign=3]="PercentSign",le[le.PlusSign=4]="PlusSign",le[le.MinusSign=5]="MinusSign",le[le.Exponential=6]="Exponential",le[le.SuperscriptingExponent=7]="SuperscriptingExponent",le[le.PerMille=8]="PerMille",le[le.Infinity=9]="Infinity",le[le.NaN=10]="NaN",le[le.TimeSeparator=11]="TimeSeparator",le[le.CurrencyDecimal=12]="CurrencyDecimal",le[le.CurrencyGroup=13]="CurrencyGroup",le))();function lm(n,t){return eo(Xn(n)[Q.DateFormat],t)}function um(n,t){return eo(Xn(n)[Q.TimeFormat],t)}function dm(n,t){return eo(Xn(n)[Q.DateTimeFormat],t)}function Xi(n,t){const e=Xn(n),i=e[Q.NumberSymbols][t];if(typeof i>"u"){if(t===le.CurrencyDecimal)return e[Q.NumberSymbols][le.Decimal];if(t===le.CurrencyGroup)return e[Q.NumberSymbols][le.Group]}return i}function kS(n){if(!n[Q.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[Q.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function eo(n,t){for(let e=t;e>-1;e--)if(typeof n[e]<"u")return n[e];throw new Error("Locale data API: locale data undefined")}function c0(n){const[t,e]=n.split(":");return{hours:+t,minutes:+e}}
|
|
1308
1308
|
/**
|
|
1309
1309
|
* @license
|
|
1310
1310
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1312,7 +1312,7 @@ var Gt=(()=>((Gt=Gt||{})[Gt.Format=0]="Format",Gt[Gt.Standalone=1]="Standalone",
|
|
|
1312
1312
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1313
1313
|
* found in the LICENSE file at https://angular.io/license
|
|
1314
1314
|
*/
|
|
1315
|
-
const YO=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Nh={},GO=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var hn=(()=>((hn=hn||{})[hn.Short=0]="Short",hn[hn.ShortGMT=1]="ShortGMT",hn[hn.Long=2]="Long",hn[hn.Extended=3]="Extended",hn))(),de=(()=>((de=de||{})[de.FullYear=0]="FullYear",de[de.Month=1]="Month",de[de.Date=2]="Date",de[de.Hours=3]="Hours",de[de.Minutes=4]="Minutes",de[de.Seconds=5]="Seconds",de[de.FractionalSeconds=6]="FractionalSeconds",de[de.Day=7]="Day",de))(),ke=(()=>((ke=ke||{})[ke.DayPeriods=0]="DayPeriods",ke[ke.Days=1]="Days",ke[ke.Months=2]="Months",ke[ke.Eras=3]="Eras",ke))();function WO(n,t,e,i){let o=function tP(n){if(NS(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[o,r=1,s=1]=n.split("-").map(c=>+c);return
|
|
1315
|
+
const YO=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Nh={},GO=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var hn=(()=>((hn=hn||{})[hn.Short=0]="Short",hn[hn.ShortGMT=1]="ShortGMT",hn[hn.Long=2]="Long",hn[hn.Extended=3]="Extended",hn))(),de=(()=>((de=de||{})[de.FullYear=0]="FullYear",de[de.Month=1]="Month",de[de.Date=2]="Date",de[de.Hours=3]="Hours",de[de.Minutes=4]="Minutes",de[de.Seconds=5]="Seconds",de[de.FractionalSeconds=6]="FractionalSeconds",de[de.Day=7]="Day",de))(),ke=(()=>((ke=ke||{})[ke.DayPeriods=0]="DayPeriods",ke[ke.Days=1]="Days",ke[ke.Months=2]="Months",ke[ke.Eras=3]="Eras",ke))();function WO(n,t,e,i){let o=function tP(n){if(NS(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[o,r=1,s=1]=n.split("-").map(c=>+c);return hm(o,r-1,s)}const e=parseFloat(n);if(!isNaN(n-e))return new Date(e);let i;if(i=n.match(YO))return function nP(n){const t=new Date(0);let e=0,i=0;const o=n[8]?t.setUTCFullYear:t.setFullYear,r=n[8]?t.setUTCHours:t.setHours;n[9]&&(e=Number(n[9]+n[10]),i=Number(n[9]+n[11])),o.call(t,Number(n[1]),Number(n[2])-1,Number(n[3]));const s=Number(n[4]||0)-e,c=Number(n[5]||0)-i,u=Number(n[6]||0),h=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return r.call(t,s,c,u,h),t}(i)}const t=new Date(n);if(!NS(t))throw new Error(`Unable to convert "${n}" into a date`);return t}(n);t=$r(e,t)||t;let c,s=[];for(;t;){if(c=GO.exec(t),!c){s.push(t);break}{s=s.concat(c.slice(1));const p=s.pop();if(!p)break;t=p}}let u=o.getTimezoneOffset();i&&(u=LS(i,u),o=function eP(n,t,e){const i=e?-1:1,o=n.getTimezoneOffset();return function XO(n,t){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+t),n}(n,i*(LS(t,o)-o))}(o,i,!0));let h="";return s.forEach(p=>{const g=function qO(n){if(u0[n])return u0[n];let t;switch(n){case"G":case"GG":case"GGG":t=Dt(ke.Eras,Ve.Abbreviated);break;case"GGGG":t=Dt(ke.Eras,Ve.Wide);break;case"GGGGG":t=Dt(ke.Eras,Ve.Narrow);break;case"y":t=Xt(de.FullYear,1,0,!1,!0);break;case"yy":t=Xt(de.FullYear,2,0,!0,!0);break;case"yyy":t=Xt(de.FullYear,3,0,!1,!0);break;case"yyyy":t=Xt(de.FullYear,4,0,!1,!0);break;case"Y":t=mm(1);break;case"YY":t=mm(2,!0);break;case"YYY":t=mm(3);break;case"YYYY":t=mm(4);break;case"M":case"L":t=Xt(de.Month,1,1);break;case"MM":case"LL":t=Xt(de.Month,2,1);break;case"MMM":t=Dt(ke.Months,Ve.Abbreviated);break;case"MMMM":t=Dt(ke.Months,Ve.Wide);break;case"MMMMM":t=Dt(ke.Months,Ve.Narrow);break;case"LLL":t=Dt(ke.Months,Ve.Abbreviated,Gt.Standalone);break;case"LLLL":t=Dt(ke.Months,Ve.Wide,Gt.Standalone);break;case"LLLLL":t=Dt(ke.Months,Ve.Narrow,Gt.Standalone);break;case"w":t=l0(1);break;case"ww":t=l0(2);break;case"W":t=l0(1,!0);break;case"d":t=Xt(de.Date,1);break;case"dd":t=Xt(de.Date,2);break;case"c":case"cc":t=Xt(de.Day,1);break;case"ccc":t=Dt(ke.Days,Ve.Abbreviated,Gt.Standalone);break;case"cccc":t=Dt(ke.Days,Ve.Wide,Gt.Standalone);break;case"ccccc":t=Dt(ke.Days,Ve.Narrow,Gt.Standalone);break;case"cccccc":t=Dt(ke.Days,Ve.Short,Gt.Standalone);break;case"E":case"EE":case"EEE":t=Dt(ke.Days,Ve.Abbreviated);break;case"EEEE":t=Dt(ke.Days,Ve.Wide);break;case"EEEEE":t=Dt(ke.Days,Ve.Narrow);break;case"EEEEEE":t=Dt(ke.Days,Ve.Short);break;case"a":case"aa":case"aaa":t=Dt(ke.DayPeriods,Ve.Abbreviated);break;case"aaaa":t=Dt(ke.DayPeriods,Ve.Wide);break;case"aaaaa":t=Dt(ke.DayPeriods,Ve.Narrow);break;case"b":case"bb":case"bbb":t=Dt(ke.DayPeriods,Ve.Abbreviated,Gt.Standalone,!0);break;case"bbbb":t=Dt(ke.DayPeriods,Ve.Wide,Gt.Standalone,!0);break;case"bbbbb":t=Dt(ke.DayPeriods,Ve.Narrow,Gt.Standalone,!0);break;case"B":case"BB":case"BBB":t=Dt(ke.DayPeriods,Ve.Abbreviated,Gt.Format,!0);break;case"BBBB":t=Dt(ke.DayPeriods,Ve.Wide,Gt.Format,!0);break;case"BBBBB":t=Dt(ke.DayPeriods,Ve.Narrow,Gt.Format,!0);break;case"h":t=Xt(de.Hours,1,-12);break;case"hh":t=Xt(de.Hours,2,-12);break;case"H":t=Xt(de.Hours,1);break;case"HH":t=Xt(de.Hours,2);break;case"m":t=Xt(de.Minutes,1);break;case"mm":t=Xt(de.Minutes,2);break;case"s":t=Xt(de.Seconds,1);break;case"ss":t=Xt(de.Seconds,2);break;case"S":t=Xt(de.FractionalSeconds,1);break;case"SS":t=Xt(de.FractionalSeconds,2);break;case"SSS":t=Xt(de.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=fm(hn.Short);break;case"ZZZZZ":t=fm(hn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=fm(hn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=fm(hn.Long);break;default:return null}return u0[n]=t,t}(p);h+=g?g(o,e,u):"''"===p?"'":p.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}function hm(n,t,e){const i=new Date(0);return i.setFullYear(n,t,e),i.setHours(0,0,0),i}function $r(n,t){const e=function NO(n){return Xn(n)[Q.LocaleId]}(n);if(Nh[e]=Nh[e]||{},Nh[e][t])return Nh[e][t];let i="";switch(t){case"shortDate":i=lm(n,Ot.Short);break;case"mediumDate":i=lm(n,Ot.Medium);break;case"longDate":i=lm(n,Ot.Long);break;case"fullDate":i=lm(n,Ot.Full);break;case"shortTime":i=um(n,Ot.Short);break;case"mediumTime":i=um(n,Ot.Medium);break;case"longTime":i=um(n,Ot.Long);break;case"fullTime":i=um(n,Ot.Full);break;case"short":const o=$r(n,"shortTime"),r=$r(n,"shortDate");i=pm(dm(n,Ot.Short),[o,r]);break;case"medium":const s=$r(n,"mediumTime"),c=$r(n,"mediumDate");i=pm(dm(n,Ot.Medium),[s,c]);break;case"long":const u=$r(n,"longTime"),h=$r(n,"longDate");i=pm(dm(n,Ot.Long),[u,h]);break;case"full":const p=$r(n,"fullTime"),g=$r(n,"fullDate");i=pm(dm(n,Ot.Full),[p,g])}return i&&(Nh[e][t]=i),i}function pm(n,t){return t&&(n=n.replace(/\{([^}]+)}/g,function(e,i){return null!=t&&i in t?t[i]:e})),n}function Ro(n,t,e="-",i,o){let r="";(n<0||o&&n<=0)&&(o?n=1-n:(n=-n,r=e));let s=String(n);for(;s.length<t;)s="0"+s;return i&&(s=s.slice(s.length-t)),r+s}function Xt(n,t,e=0,i=!1,o=!1){return function(r,s){let c=function ZO(n,t){switch(n){case de.FullYear:return t.getFullYear();case de.Month:return t.getMonth();case de.Date:return t.getDate();case de.Hours:return t.getHours();case de.Minutes:return t.getMinutes();case de.Seconds:return t.getSeconds();case de.FractionalSeconds:return t.getMilliseconds();case de.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${n}".`)}}(n,r);if((e>0||c>-e)&&(c+=e),n===de.Hours)0===c&&-12===e&&(c=12);else if(n===de.FractionalSeconds)return function QO(n,t){return Ro(n,3).substring(0,t)}(c,t);const u=Xi(s,le.MinusSign);return Ro(c,t,u,i,o)}}function Dt(n,t,e=Gt.Format,i=!1){return function(o,r){return function $O(n,t,e,i,o,r){switch(e){case ke.Months:return function PO(n,t,e){const i=Xn(n),r=eo([i[Q.MonthsFormat],i[Q.MonthsStandalone]],t);return eo(r,e)}(t,o,i)[n.getMonth()];case ke.Days:return function OO(n,t,e){const i=Xn(n),r=eo([i[Q.DaysFormat],i[Q.DaysStandalone]],t);return eo(r,e)}(t,o,i)[n.getDay()];case ke.DayPeriods:const s=n.getHours(),c=n.getMinutes();if(r){const h=function FO(n){const t=Xn(n);return kS(t),(t[Q.ExtraData][2]||[]).map(i=>"string"==typeof i?c0(i):[c0(i[0]),c0(i[1])])}(t),p=function VO(n,t,e){const i=Xn(n);kS(i);const r=eo([i[Q.ExtraData][0],i[Q.ExtraData][1]],t)||[];return eo(r,e)||[]}(t,o,i),g=h.findIndex(_=>{if(Array.isArray(_)){const[y,M]=_,x=s>=y.hours&&c>=y.minutes,E=s<M.hours||s===M.hours&&c<M.minutes;if(y.hours<M.hours){if(x&&E)return!0}else if(x||E)return!0}else if(_.hours===s&&_.minutes===c)return!0;return!1});if(-1!==g)return p[g]}return function AO(n,t,e){const i=Xn(n),r=eo([i[Q.DayPeriodsFormat],i[Q.DayPeriodsStandalone]],t);return eo(r,e)}(t,o,i)[s<12?0:1];case ke.Eras:return function jO(n,t){return eo(Xn(n)[Q.Eras],t)}(t,i)[n.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${e}`)}}(o,r,n,t,e,i)}}function fm(n){return function(t,e,i){const o=-1*i,r=Xi(e,le.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(n){case hn.Short:return(o>=0?"+":"")+Ro(s,2,r)+Ro(Math.abs(o%60),2,r);case hn.ShortGMT:return"GMT"+(o>=0?"+":"")+Ro(s,1,r);case hn.Long:return"GMT"+(o>=0?"+":"")+Ro(s,2,r)+":"+Ro(Math.abs(o%60),2,r);case hn.Extended:return 0===i?"Z":(o>=0?"+":"")+Ro(s,2,r)+":"+Ro(Math.abs(o%60),2,r);default:throw new Error(`Unknown zone width "${n}"`)}}}function ES(n){return hm(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))}function l0(n,t=!1){return function(e,i){let o;if(t){const r=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();o=1+Math.floor((s+r)/7)}else{const r=ES(e),s=function JO(n){const t=hm(n,0,1).getDay();return hm(n,0,1+(t<=4?4:11)-t)}(r.getFullYear()),c=r.getTime()-s.getTime();o=1+Math.round(c/6048e5)}return Ro(o,n,Xi(i,le.MinusSign))}}function mm(n,t=!1){return function(e,i){return Ro(ES(e).getFullYear(),n,Xi(i,le.MinusSign),t)}}const u0={};function LS(n,t){n=n.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?t:e}function NS(n){return n instanceof Date&&!isNaN(n.valueOf())}
|
|
1316
1316
|
/**
|
|
1317
1317
|
* @license
|
|
1318
1318
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1334,7 +1334,7 @@ function jS(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.
|
|
|
1334
1334
|
*
|
|
1335
1335
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1336
1336
|
* found in the LICENSE file at https://angular.io/license
|
|
1337
|
-
*/let
|
|
1337
|
+
*/let bm=(()=>{class n{constructor(e,i,o,r){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=o,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(mh(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ct(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return n.\u0275fac=function(e){return new(e||n)(I(Zr),I(Lh),I(Se),I(ki))},n.\u0275dir=B({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();
|
|
1338
1338
|
/**
|
|
1339
1339
|
* @license
|
|
1340
1340
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1349,7 +1349,7 @@ function jS(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.
|
|
|
1349
1349
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1350
1350
|
* found in the LICENSE file at https://angular.io/license
|
|
1351
1351
|
*/
|
|
1352
|
-
let
|
|
1352
|
+
let Xl=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new _P,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){BS("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){BS("ngIfElse",e),this._elseTemplateRef=e,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(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(I(Ln),I(dn))},n.\u0275dir=B({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class _P{constructor(){this.$implicit=null,this.ngIf=null}}function BS(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${ct(t)}'.`)}
|
|
1353
1353
|
/**
|
|
1354
1354
|
* @license
|
|
1355
1355
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1371,7 +1371,7 @@ function zo(n,t){return new V(2100,!1)}
|
|
|
1371
1371
|
*
|
|
1372
1372
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1373
1373
|
* found in the LICENSE file at https://angular.io/license
|
|
1374
|
-
*/class wP{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class DP{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const xP=new DP,SP=new wP;let US=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Yg(e))return xP;if(Bw(e))return SP;throw zo()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(I(
|
|
1374
|
+
*/class wP{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class DP{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const xP=new DP,SP=new wP;let US=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Yg(e))return xP;if(Bw(e))return SP;throw zo()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(I(ql,16))},n.\u0275pipe=on({name:"async",type:n,pure:!1,standalone:!0}),n})();
|
|
1375
1375
|
/**
|
|
1376
1376
|
* @license
|
|
1377
1377
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1386,7 +1386,7 @@ function zo(n,t){return new V(2100,!1)}
|
|
|
1386
1386
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1387
1387
|
* found in the LICENSE file at https://angular.io/license
|
|
1388
1388
|
*/
|
|
1389
|
-
const LP=new G("DATE_PIPE_DEFAULT_TIMEZONE");let YS=(()=>{class n{constructor(e,i){this.locale=e,this.defaultTimezone=i}transform(e,i="mediumDate",o,r){if(null==e||""===e||e!=e)return null;try{return WO(e,i,r||this.locale,o??this.defaultTimezone??void 0)}catch(s){throw zo()}}}return n.\u0275fac=function(e){return new(e||n)(I(hr,16),I(LP,24))},n.\u0275pipe=on({name:"date",type:n,pure:!0,standalone:!0}),n})(),qa=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=
|
|
1389
|
+
const LP=new G("DATE_PIPE_DEFAULT_TIMEZONE");let YS=(()=>{class n{constructor(e,i){this.locale=e,this.defaultTimezone=i}transform(e,i="mediumDate",o,r){if(null==e||""===e||e!=e)return null;try{return WO(e,i,r||this.locale,o??this.defaultTimezone??void 0)}catch(s){throw zo()}}}return n.\u0275fac=function(e){return new(e||n)(I(hr,16),I(LP,24))},n.\u0275pipe=on({name:"date",type:n,pure:!0,standalone:!0}),n})(),qa=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({}),n})();
|
|
1390
1390
|
/**
|
|
1391
1391
|
* @license
|
|
1392
1392
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1465,56 +1465,56 @@ class C0 extends
|
|
|
1465
1465
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1466
1466
|
* found in the LICENSE file at https://angular.io/license
|
|
1467
1467
|
*/
|
|
1468
|
-
class vj extends class xO{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function DO(n){
|
|
1468
|
+
class vj extends class xO{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function DO(n){cm||(cm=n)}(new C0)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function yj(){return Ph=Ph||document.querySelector("base"),Ph?Ph.getAttribute("href"):null}();return null==e?null:function Mj(n){Mm=Mm||document.createElement("a"),Mm.setAttribute("href",n);const t=Mm.pathname;return"/"===t.charAt(0)?t:`/${t}`}
|
|
1469
1469
|
/**
|
|
1470
1470
|
* @license
|
|
1471
1471
|
* Copyright Google LLC All Rights Reserved.
|
|
1472
1472
|
*
|
|
1473
1473
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1474
1474
|
* found in the LICENSE file at https://angular.io/license
|
|
1475
|
-
*/(e)}resetBaseElement(){Ph=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return jS(document.cookie,t)}}let
|
|
1475
|
+
*/(e)}resetBaseElement(){Ph=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return jS(document.cookie,t)}}let Mm,Ph=null;const XS=new G("TRANSITION_ID"),wj=[{provide:Wx,useFactory:function Cj(n,t,e){return()=>{e.get(nm).donePromise.then(()=>{const i=pr(),o=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let r=0;r<o.length;r++)i.remove(o[r])})}},deps:[XS,rt,kn],multi:!0}];let xj=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();
|
|
1476
1476
|
/**
|
|
1477
1477
|
* @license
|
|
1478
1478
|
* Copyright Google LLC All Rights Reserved.
|
|
1479
1479
|
*
|
|
1480
1480
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1481
1481
|
* found in the LICENSE file at https://angular.io/license
|
|
1482
|
-
*/const
|
|
1482
|
+
*/const Cm=new G("EventManagerPlugins");let wm=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>o.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}addGlobalEventListener(e,i,o){return this._findPluginFor(i).addGlobalEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const o=this._plugins;for(let r=0;r<o.length;r++){const s=o[r];if(s.supports(e))return this._eventNameToPlugin.set(e,s),s}throw new Error(`No event manager plugin found for event ${e}`)}}return n.\u0275fac=function(e){return new(e||n)(P(Cm),P(Ge))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();class eI{constructor(t){this._doc=t}addGlobalEventListener(t,e,i){const o=pr().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${e}`);return this.addEventListener(o,e,i)}}
|
|
1483
1483
|
/**
|
|
1484
1484
|
* @license
|
|
1485
1485
|
* Copyright Google LLC All Rights Reserved.
|
|
1486
1486
|
*
|
|
1487
1487
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1488
1488
|
* found in the LICENSE file at https://angular.io/license
|
|
1489
|
-
*/let tI=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),i.add(o))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),jh=(()=>{class n extends tI{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,o){e.forEach(r=>{const s=this._doc.createElement("style");s.textContent=r,o.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(nI),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,o)=>{this._addStylesToHost(e,o,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(nI))}}return n.\u0275fac=function(e){return new(e||n)(P(
|
|
1489
|
+
*/let tI=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),i.add(o))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),jh=(()=>{class n extends tI{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,o){e.forEach(r=>{const s=this._doc.createElement("style");s.textContent=r,o.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(nI),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,o)=>{this._addStylesToHost(e,o,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(nI))}}return n.\u0275fac=function(e){return new(e||n)(P(rt))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();function nI(n){pr().remove(n)}
|
|
1490
1490
|
/**
|
|
1491
1491
|
* @license
|
|
1492
1492
|
* Copyright Google LLC All Rights Reserved.
|
|
1493
1493
|
*
|
|
1494
1494
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1495
1495
|
* found in the LICENSE file at https://angular.io/license
|
|
1496
|
-
*/const w0={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/"},D0=/%COMP%/g;function
|
|
1496
|
+
*/const w0={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/"},D0=/%COMP%/g;function Dm(n,t,e){for(let i=0;i<t.length;i++){let o=t[i];Array.isArray(o)?Dm(n,o,e):(o=o.replace(D0,n),e.push(o))}return e}function rI(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let xm=(()=>{class n{constructor(e,i,o){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new x0(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case pn.Emulated:{let o=this.rendererByCompId.get(i.id);return o||(o=new Lj(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,o)),o.applyToHost(e),o}case 1:case pn.ShadowDom:return new Nj(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const o=Dm(i.id,i.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(P(wm),P(jh),P(Eh))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();class x0{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(w0[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(aI(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(aI(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,o){if(o){e=o+":"+e;const r=w0[o];r?t.setAttributeNS(r,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const o=w0[i];o?t.removeAttributeNS(o,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,o){o&(In.DashCase|In.Important)?t.style.setProperty(e,i,o&In.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&In.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,rI(i)):this.eventManager.addEventListener(t,e,rI(i))}}function aI(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class Lj extends x0{constructor(t,e,i,o){super(t),this.component=i;const r=Dm(o+"-"+i.id,i.styles,[]);e.addStyles(r),this.contentAttr=function Tj(n){return"_ngcontent-%COMP%".replace(D0,n)}(o+"-"+i.id),this.hostAttr=function kj(n){return"_nghost-%COMP%".replace(D0,n)}(o+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class Nj extends x0{constructor(t,e,i,o){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=Dm(o.id,o.styles,[]);for(let s=0;s<r.length;s++){const c=document.createElement("style");c.textContent=r[s],this.shadowRoot.appendChild(c)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}
|
|
1497
1497
|
/**
|
|
1498
1498
|
* @license
|
|
1499
1499
|
* Copyright Google LLC All Rights Reserved.
|
|
1500
1500
|
*
|
|
1501
1501
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1502
1502
|
* found in the LICENSE file at https://angular.io/license
|
|
1503
|
-
*/let Aj=(()=>{class n extends eI{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}}return n.\u0275fac=function(e){return new(e||n)(P(
|
|
1503
|
+
*/let Aj=(()=>{class n extends eI{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}}return n.\u0275fac=function(e){return new(e||n)(P(rt))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();
|
|
1504
1504
|
/**
|
|
1505
1505
|
* @license
|
|
1506
1506
|
* Copyright Google LLC All Rights Reserved.
|
|
1507
1507
|
*
|
|
1508
1508
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1509
1509
|
* found in the LICENSE file at https://angular.io/license
|
|
1510
|
-
*/const cI=["alt","control","meta","shift"],Oj={"\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"},Pj={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let jj=(()=>{class n extends eI{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,o){const r=n.parseEventName(i),s=n.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>pr().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=n._normalizeKey(i.pop());let s="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),s="code."),cI.forEach(h=>{const p=i.indexOf(h);p>-1&&(i.splice(p,1),s+=h+".")}),s+=r,0!=i.length||0===r.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(e,i){let o=Oj[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),cI.forEach(s=>{s!==o&&(0,Pj[s])(e)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{n.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(P(
|
|
1510
|
+
*/const cI=["alt","control","meta","shift"],Oj={"\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"},Pj={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let jj=(()=>{class n extends eI{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,o){const r=n.parseEventName(i),s=n.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>pr().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=n._normalizeKey(i.pop());let s="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),s="code."),cI.forEach(h=>{const p=i.indexOf(h);p>-1&&(i.splice(p,1),s+=h+".")}),s+=r,0!=i.length||0===r.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(e,i){let o=Oj[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),cI.forEach(s=>{s!==o&&(0,Pj[s])(e)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{n.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(P(rt))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();
|
|
1511
1511
|
/**
|
|
1512
1512
|
* @license
|
|
1513
1513
|
* Copyright Google LLC All Rights Reserved.
|
|
1514
1514
|
*
|
|
1515
1515
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1516
1516
|
* found in the LICENSE file at https://angular.io/license
|
|
1517
|
-
*/const uI=[{provide:
|
|
1517
|
+
*/const uI=[{provide:im,useValue:WS},{provide:Zx,useValue:function Rj(){C0.makeCurrent()},multi:!0},{provide:rt,useFactory:function Fj(){return function $b(n){jd=n}(document),document},deps:[]}],Vj=nS(MO,"browser",uI),dI=new G(""),hI=[{provide:om,useClass:
|
|
1518
1518
|
/**
|
|
1519
1519
|
* @license
|
|
1520
1520
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1522,7 +1522,7 @@ class vj extends class xO{}{constructor(){super(...arguments),this.supportsDOMEv
|
|
|
1522
1522
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1523
1523
|
* found in the LICENSE file at https://angular.io/license
|
|
1524
1524
|
*/
|
|
1525
|
-
class Dj{addToWindow(t){ut.getAngularTestability=(i,o=!0)=>{const r=t.findTestabilityInTree(i,o);if(null==r)throw new Error("Could not find testability for element.");return r},ut.getAllAngularTestabilities=()=>t.getAllTestabilities(),ut.getAllAngularRootElements=()=>t.getAllRootElements(),ut.frameworkStabilizers||(ut.frameworkStabilizers=[]),ut.frameworkStabilizers.push(i=>{const o=ut.getAllAngularTestabilities();let r=o.length,s=!1;const c=function(u){s=s||u,r--,0==r&&i(s)};o.forEach(function(u){u.whenStable(c)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?pr().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:Xx,useClass:$y,deps:[Ge,Ky,
|
|
1525
|
+
class Dj{addToWindow(t){ut.getAngularTestability=(i,o=!0)=>{const r=t.findTestabilityInTree(i,o);if(null==r)throw new Error("Could not find testability for element.");return r},ut.getAllAngularTestabilities=()=>t.getAllTestabilities(),ut.getAllAngularRootElements=()=>t.getAllRootElements(),ut.frameworkStabilizers||(ut.frameworkStabilizers=[]),ut.frameworkStabilizers.push(i=>{const o=ut.getAllAngularTestabilities();let r=o.length,s=!1;const c=function(u){s=s||u,r--,0==r&&i(s)};o.forEach(function(u){u.whenStable(c)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?pr().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:Xx,useClass:$y,deps:[Ge,Ky,om]},{provide:$y,useClass:$y,deps:[Ge,Ky,om]}],pI=[{provide:Yd,useValue:"root"},{provide:Ps,useFactory:function zj(){return new Ps},deps:[]},{provide:Cm,useClass:Aj,multi:!0,deps:[rt,Ge,im]},{provide:Cm,useClass:jj,multi:!0,deps:[rt]},{provide:xm,useClass:xm,deps:[wm,jh,Eh]},{provide:As,useExisting:xm},{provide:tI,useExisting:jh},{provide:jh,useClass:jh,deps:[rt]},{provide:wm,useClass:wm,deps:[Cm,Ge]},{provide:ZS,useClass:xj,deps:[]},[]];let fI=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:Eh,useValue:e.appId},{provide:XS,useExisting:Eh},wj]}}}return n.\u0275fac=function(e){return new(e||n)(P(dI,12))},n.\u0275mod=dt({type:n}),n.\u0275inj=st({providers:[...pI,...hI],imports:[qa,CO]}),n})();
|
|
1526
1526
|
/**
|
|
1527
1527
|
* @license
|
|
1528
1528
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1551,7 +1551,7 @@ class Dj{addToWindow(t){ut.getAngularTestability=(i,o=!0)=>{const r=t.findTestab
|
|
|
1551
1551
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1552
1552
|
* found in the LICENSE file at https://angular.io/license
|
|
1553
1553
|
*/
|
|
1554
|
-
class _I extends oe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new uo;return this._value}next(t){super.next(this._value=t)}}function Xa(...n){let t=n[n.length-1];return _r(t)?(n.pop(),
|
|
1554
|
+
class _I extends oe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new uo;return this._value}next(t){super.next(this._value=t)}}function Xa(...n){let t=n[n.length-1];return _r(t)?(n.pop(),gu(n,t)):mu(n)}class Jj{constructor(t){this.selector=t}call(t,e){return e.subscribe(new qj(t,this.selector,this.caught))}}class qj extends ss{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let e;try{e=this.selector(t,this.caught)}catch(r){return void super.error(r)}this._unsubscribeAndRecycle();const i=new sa(this);this.add(i);const o=fo(e,i);o!==i&&this.add(o)}}}function Us(){}function eu(n,t,e){return function(o){return o.lift(new Xj(n,t,e))}}class Xj{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new e4(t,this.nextOrObserver,this.error,this.complete))}}class e4 extends mt{constructor(t,e,i,o){super(t),this._tapNext=Us,this._tapError=Us,this._tapComplete=Us,this._tapError=i||Us,this._tapComplete=o||Us,co(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Us,this._tapError=e.error||Us,this._tapComplete=e.complete||Us)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function Ys(n,t){return function(i){return i.lift(new n4(n,t))}}class n4{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new i4(t,this.predicate,this.thisArg))}}class i4 extends mt{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}
|
|
1555
1555
|
/**
|
|
1556
1556
|
* @license Angular v14.3.0
|
|
1557
1557
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
@@ -1578,7 +1578,7 @@ class _I extends oe{constructor(t){super(),this._value=t}get value(){return this
|
|
|
1578
1578
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1579
1579
|
* found in the LICENSE file at https://angular.io/license
|
|
1580
1580
|
*/
|
|
1581
|
-
class o4{encodeKey(t){return yI(t)}encodeValue(t){return yI(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const s4=/%(\d[a-f0-9])/gi,a4={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function yI(n){return encodeURIComponent(n).replace(s4,(t,e)=>a4[e]??t)}function
|
|
1581
|
+
class o4{encodeKey(t){return yI(t)}encodeValue(t){return yI(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const s4=/%(\d[a-f0-9])/gi,a4={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function yI(n){return encodeURIComponent(n).replace(s4,(t,e)=>a4[e]??t)}function Sm(n){return`${n}`}class Gs{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new o4,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function r4(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[s,c]=-1==r?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,r)),t.decodeValue(o.slice(r+1))],u=e.get(s)||[];u.push(c),e.set(s,u)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],o=Array.isArray(i)?i.map(Sm):[Sm(i)];this.map.set(e,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const o=t[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Gs({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(Sm(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const o=i.indexOf(Sm(t.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}
|
|
1582
1582
|
/**
|
|
1583
1583
|
* @license
|
|
1584
1584
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1592,21 +1592,21 @@ class o4{encodeKey(t){return yI(t)}encodeValue(t){return yI(t)}decodeKey(t){retu
|
|
|
1592
1592
|
*
|
|
1593
1593
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1594
1594
|
* found in the LICENSE file at https://angular.io/license
|
|
1595
|
-
*/function MI(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function CI(n){return typeof Blob<"u"&&n instanceof Blob}function wI(n){return typeof FormData<"u"&&n instanceof FormData}class Rh{constructor(t,e,i,o){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function l4(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new Kr),this.context||(this.context=new c4),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const c=e.indexOf("?");this.urlWithParams=e+(-1===c?"?":c<e.length-1?"&":"")+s}}else this.params=new
|
|
1595
|
+
*/function MI(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function CI(n){return typeof Blob<"u"&&n instanceof Blob}function wI(n){return typeof FormData<"u"&&n instanceof FormData}class Rh{constructor(t,e,i,o){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function l4(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new Kr),this.context||(this.context=new c4),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const c=e.indexOf("?");this.urlWithParams=e+(-1===c?"?":c<e.length-1?"&":"")+s}}else this.params=new Gs,this.urlWithParams=e}serializeBody(){return null===this.body?null:MI(this.body)||CI(this.body)||wI(this.body)||function u4(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Gs?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||wI(this.body)?null:CI(this.body)?this.body.type||null:MI(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Gs?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const e=t.method||this.method,i=t.url||this.url,o=t.responseType||this.responseType,r=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,c=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,h=t.params||this.params;const p=t.context??this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((g,_)=>g.set(_,t.setHeaders[_]),u)),t.setParams&&(h=Object.keys(t.setParams).reduce((g,_)=>g.set(_,t.setParams[_]),h)),new Rh(e,i,r,{params:h,headers:u,context:p,reportProgress:c,responseType:o,withCredentials:s})}}
|
|
1596
1596
|
/**
|
|
1597
1597
|
* @license
|
|
1598
1598
|
* Copyright Google LLC All Rights Reserved.
|
|
1599
1599
|
*
|
|
1600
1600
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1601
1601
|
* found in the LICENSE file at https://angular.io/license
|
|
1602
|
-
*/var en=(()=>((en=en||{})[en.Sent=0]="Sent",en[en.UploadProgress=1]="UploadProgress",en[en.ResponseHeader=2]="ResponseHeader",en[en.DownloadProgress=3]="DownloadProgress",en[en.Response=4]="Response",en[en.User=5]="User",en))();class T0{constructor(t,e=200,i="OK"){this.headers=t.headers||new Kr,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class k0 extends T0{constructor(t={}){super(t),this.type=en.ResponseHeader}clone(t={}){return new k0({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class
|
|
1602
|
+
*/var en=(()=>((en=en||{})[en.Sent=0]="Sent",en[en.UploadProgress=1]="UploadProgress",en[en.ResponseHeader=2]="ResponseHeader",en[en.DownloadProgress=3]="DownloadProgress",en[en.Response=4]="Response",en[en.User=5]="User",en))();class T0{constructor(t,e=200,i="OK"){this.headers=t.headers||new Kr,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class k0 extends T0{constructor(t={}){super(t),this.type=en.ResponseHeader}clone(t={}){return new k0({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Im extends T0{constructor(t={}){super(t),this.type=en.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Im({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class DI extends T0{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}
|
|
1603
1603
|
/**
|
|
1604
1604
|
* @license
|
|
1605
1605
|
* Copyright Google LLC All Rights Reserved.
|
|
1606
1606
|
*
|
|
1607
1607
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1608
1608
|
* found in the LICENSE file at https://angular.io/license
|
|
1609
|
-
*/function E0(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let xI=(()=>{class n{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof Rh)r=e;else{let u,h;u=o.headers instanceof Kr?o.headers:new Kr(o.headers),o.params&&(h=o.params instanceof
|
|
1609
|
+
*/function E0(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let xI=(()=>{class n{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof Rh)r=e;else{let u,h;u=o.headers instanceof Kr?o.headers:new Kr(o.headers),o.params&&(h=o.params instanceof Gs?o.params:new Gs({fromObject:o.params})),r=new Rh(e,i,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=Xa(r).pipe(function t4(n,t){return Bn(n,t,1)}(u=>this.handler.handle(u)));if(e instanceof Rh||"events"===o.observe)return s;const c=s.pipe(Ys(u=>u instanceof Im));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return c.pipe(Cn(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(Cn(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(Cn(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return c.pipe(Cn(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Gs).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,E0(o,i))}post(e,i,o={}){return this.request("POST",e,E0(o,i))}put(e,i,o={}){return this.request("PUT",e,E0(o,i))}}return n.\u0275fac=function(e){return new(e||n)(P(bI))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();
|
|
1610
1610
|
/**
|
|
1611
1611
|
* @license
|
|
1612
1612
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1628,14 +1628,14 @@ class o4{encodeKey(t){return yI(t)}encodeValue(t){return yI(t)}decodeKey(t){retu
|
|
|
1628
1628
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1629
1629
|
* found in the LICENSE file at https://angular.io/license
|
|
1630
1630
|
*/
|
|
1631
|
-
const h4=/^\)\]\}',?\n/;let TI=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Be(i=>{const o=this.xhrFactory.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((y,M)=>o.setRequestHeader(y,M.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const y=e.detectContentTypeHeader();null!==y&&o.setRequestHeader("Content-Type",y)}if(e.responseType){const y=e.responseType.toLowerCase();o.responseType="json"!==y?y:"text"}const r=e.serializeBody();let s=null;const c=()=>{if(null!==s)return s;const y=o.statusText||"OK",M=new Kr(o.getAllResponseHeaders()),x=function p4(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(o)||e.url;return s=new k0({headers:M,status:o.status,statusText:y,url:x}),s},u=()=>{let{headers:y,status:M,statusText:x,url:E}=c(),O=null;204!==M&&(O=typeof o.response>"u"?o.responseText:o.response),0===M&&(M=O?200:0);let H=M>=200&&M<300;if("json"===e.responseType&&"string"==typeof O){const L=O;O=O.replace(h4,"");try{O=""!==O?JSON.parse(O):null}catch(Y){O=L,H&&(H=!1,O={error:Y,text:O})}}H?(i.next(new
|
|
1631
|
+
const h4=/^\)\]\}',?\n/;let TI=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Be(i=>{const o=this.xhrFactory.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((y,M)=>o.setRequestHeader(y,M.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const y=e.detectContentTypeHeader();null!==y&&o.setRequestHeader("Content-Type",y)}if(e.responseType){const y=e.responseType.toLowerCase();o.responseType="json"!==y?y:"text"}const r=e.serializeBody();let s=null;const c=()=>{if(null!==s)return s;const y=o.statusText||"OK",M=new Kr(o.getAllResponseHeaders()),x=function p4(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(o)||e.url;return s=new k0({headers:M,status:o.status,statusText:y,url:x}),s},u=()=>{let{headers:y,status:M,statusText:x,url:E}=c(),O=null;204!==M&&(O=typeof o.response>"u"?o.responseText:o.response),0===M&&(M=O?200:0);let H=M>=200&&M<300;if("json"===e.responseType&&"string"==typeof O){const L=O;O=O.replace(h4,"");try{O=""!==O?JSON.parse(O):null}catch(Y){O=L,H&&(H=!1,O={error:Y,text:O})}}H?(i.next(new Im({body:O,headers:y,status:M,statusText:x,url:E||void 0})),i.complete()):i.error(new DI({error:O,headers:y,status:M,statusText:x,url:E||void 0}))},h=y=>{const{url:M}=c(),x=new DI({error:y,status:o.status||0,statusText:o.statusText||"Unknown Error",url:M||void 0});i.error(x)};let p=!1;const g=y=>{p||(i.next(c()),p=!0);let M={type:en.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(M.total=y.total),"text"===e.responseType&&!!o.responseText&&(M.partialText=o.responseText),i.next(M)},_=y=>{let M={type:en.UploadProgress,loaded:y.loaded};y.lengthComputable&&(M.total=y.total),i.next(M)};return o.addEventListener("load",u),o.addEventListener("error",h),o.addEventListener("timeout",h),o.addEventListener("abort",h),e.reportProgress&&(o.addEventListener("progress",g),null!==r&&o.upload&&o.upload.addEventListener("progress",_)),o.send(r),i.next({type:en.Sent}),()=>{o.removeEventListener("error",h),o.removeEventListener("abort",h),o.removeEventListener("load",u),o.removeEventListener("timeout",h),e.reportProgress&&(o.removeEventListener("progress",g),null!==r&&o.upload&&o.upload.removeEventListener("progress",_)),o.readyState!==o.DONE&&o.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(P(ZS))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();
|
|
1632
1632
|
/**
|
|
1633
1633
|
* @license
|
|
1634
1634
|
* Copyright Google LLC All Rights Reserved.
|
|
1635
1635
|
*
|
|
1636
1636
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1637
1637
|
* found in the LICENSE file at https://angular.io/license
|
|
1638
|
-
*/const L0=new G("XSRF_COOKIE_NAME"),N0=new G("XSRF_HEADER_NAME");class kI{}let f4=(()=>{class n{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=jS(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(P(
|
|
1638
|
+
*/const L0=new G("XSRF_COOKIE_NAME"),N0=new G("XSRF_HEADER_NAME");class kI{}let f4=(()=>{class n{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=jS(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(P(rt),P(im),P(L0))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),A0=(()=>{class n{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const o=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||o.startsWith("http://")||o.startsWith("https://"))return i.handle(e);const r=this.tokenService.getToken();return null!==r&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,r)})),i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(P(kI),P(N0))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),g4=(()=>{class n{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(II,[]);this.chain=i.reduceRight((o,r)=>new SI(o,r),this.backend)}return this.chain.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(P(vI),P(kn))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),m4=(()=>{class n{static disable(){return{ngModule:n,providers:[{provide:A0,useClass:d4}]}}static withOptions(e={}){return{ngModule:n,providers:[e.cookieName?{provide:L0,useValue:e.cookieName}:[],e.headerName?{provide:N0,useValue:e.headerName}:[]]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({providers:[A0,{provide:II,useExisting:A0,multi:!0},{provide:kI,useClass:f4},{provide:L0,useValue:"XSRF-TOKEN"},{provide:N0,useValue:"X-XSRF-TOKEN"}]}),n})(),_4=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({providers:[xI,{provide:bI,useClass:g4},TI,{provide:vI,useExisting:TI}],imports:[m4.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),n})(),b4=(()=>{class n{constructor(e){this.http=e,this.$loadError=new _I(!1),this.$profile=this.http.get("/api/profile").pipe(function Kj(n){return function(e){const i=new Jj(n),o=e.lift(i);return i.caught=o}}(()=>Xa({user:"",email:"",local:"",timezone:""}))),this.loadMetadata()}loadMetadata(){this.$loadError.next(!1),this.$metadata=this.http.get("https://docsgoosestorage.blob.core.windows.net/static/docs.json").pipe(eu({next:e=>{const i=[];for(var o=0;o<e.applicationGroups.length;o++){const s=e.applicationGroups[o],c={name:s.name,subgroups:[]};i.push(c);for(var r=0;r<s.applications.length;r++){const u=s.applications[r],h=u.subGroup?u.subGroup:"";let p=c.subgroups.find(g=>g.name===h);p||(p={name:u.subGroup??"",applications:[]},c.subgroups.push(p)),p.applications.push(u)}}this.menu=i},error:()=>{this.$loadError.next(!0)}}))}}return n.\u0275fac=function(e){return new(e||n)(P(xI))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
1639
1639
|
/**
|
|
1640
1640
|
* @license
|
|
1641
1641
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1656,7 +1656,7 @@ class EI{}
|
|
|
1656
1656
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1657
1657
|
* found in the LICENSE file at https://angular.io/license
|
|
1658
1658
|
*/
|
|
1659
|
-
const Jr="*";function Ai(n,t){return{type:7,name:n,definitions:t,options:{}}}function Re(n,t=null){return{type:4,styles:t,timings:n}}function LI(n,t=null){return{type:2,steps:n,options:t}}function ve(n){return{type:6,styles:n,offset:null}}function Pt(n,t,e){return{type:0,name:n,styles:t,options:e}}function
|
|
1659
|
+
const Jr="*";function Ai(n,t){return{type:7,name:n,definitions:t,options:{}}}function Re(n,t=null){return{type:4,styles:t,timings:n}}function LI(n,t=null){return{type:2,steps:n,options:t}}function ve(n){return{type:6,styles:n,offset:null}}function Pt(n,t,e){return{type:0,name:n,styles:t,options:e}}function Tm(n){return{type:5,steps:n}}function We(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}
|
|
1660
1660
|
/**
|
|
1661
1661
|
* @license
|
|
1662
1662
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1707,7 +1707,7 @@ function NI(n){Promise.resolve().then(n)}
|
|
|
1707
1707
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1708
1708
|
* found in the LICENSE file at https://angular.io/license
|
|
1709
1709
|
*/
|
|
1710
|
-
class C4 extends ze{constructor(t,e){super()}schedule(t,e=0){return this}}class
|
|
1710
|
+
class C4 extends ze{constructor(t,e){super()}schedule(t,e=0){return this}}class km extends C4{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let o,i=!1;try{this.work(t)}catch(r){i=!0,o=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),o}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,o=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&i.splice(o,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let OI=(()=>{class n{constructor(e,i=n.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,o){return new this.SchedulerAction(this,e).schedule(o,i)}}return n.now=()=>Date.now(),n})();class Fo extends OI{constructor(t,e=OI.now){super(t,()=>Fo.delegate&&Fo.delegate!==this?Fo.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return Fo.delegate&&Fo.delegate!==this?Fo.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const P0=new class D4 extends Fo{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,o=-1,r=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++o<r&&(t=e.shift()));if(this.active=!1,i){for(;++o<r&&(t=e.shift());)t.unsubscribe();throw i}}}(class w4 extends km{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});let x4=1;const S4=Promise.resolve(),Em={};function PI(n){return n in Em&&(delete Em[n],!0)}const jI={setImmediate(n){const t=x4++;return Em[t]=!0,S4.then(()=>PI(t)&&n()),t},clearImmediate(n){PI(n)}},L4=(new class T4 extends Fo{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,o=-1,r=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++o<r&&(t=e.shift()));if(this.active=!1,i){for(;++o<r&&(t=e.shift());)t.unsubscribe();throw i}}}(class I4 extends km{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=jI.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(jI.clearImmediate(e),t.scheduled=void 0)}}),new class E4 extends Fo{}(class k4 extends km{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}})),N4=new Be(n=>n.complete());function zI(n){return n?function A4(n){return new Be(t=>n.schedule(()=>t.complete()))}(n):N4}function P4({error:n,subscriber:t}){t.error(n)}class to{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return Xa(this.value);case"E":return function O4(n,t){return new Be(t?e=>t.schedule(P4,0,{error:n,subscriber:e}):e=>e.error(n))}(this.error);case"C":return zI()}throw new Error("unexpected notification kind value")}static createNext(t){return typeof t<"u"?new to("N",t):to.undefinedValueNotification}static createError(t){return new to("E",void 0,t)}static createComplete(){return to.completeNotification}}to.completeNotification=new to("C"),to.undefinedValueNotification=new to("N",void 0);class Lm extends mt{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Lm.dispatch,this.delay,new R4(t,this.destination)))}_next(t){this.scheduleMessage(to.createNext(t))}_error(t){this.scheduleMessage(to.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(to.createComplete()),this.unsubscribe()}}class R4{constructor(t,e){this.notification=t,this.destination=e}}class FI extends oe{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new z4(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,r=i.length;let s;if(this.closed)throw new uo;if(this.isStopped||this.hasError?s=ze.EMPTY:(this.observers.push(t),s=new ap(this,t)),o&&t.add(t=new Lm(t,o)),e)for(let c=0;c<r&&!t.closed;c++)t.next(i[c]);else for(let c=0;c<r&&!t.closed;c++)t.next(i[c].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),s}_getNow(){return(this.scheduler||L4).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,i=this._windowTime,o=this._events,r=o.length;let s=0;for(;s<r&&!(t-o[s].time<i);)s++;return r>e&&(s=Math.max(s,r-e)),s>0&&o.splice(0,s),o}}class z4{constructor(t,e){this.time=t,this.value=e}}function Nm(n,t,e,i){return co(e)&&(i=e,e=void 0),i?Nm(n,t,e).pipe(Cn(o=>nn(o)?i(...o):i(o))):new Be(o=>{VI(n,t,function r(s){o.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},o,e)})}function VI(n,t,e,i,o){let r;if(function B4(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const s=n;n.addEventListener(t,e,o),r=()=>s.removeEventListener(t,e,o)}else if(function V4(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const s=n;n.on(t,e),r=()=>s.off(t,e)}else if(function F4(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const s=n;n.addListener(t,e),r=()=>s.removeListener(t,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let s=0,c=n.length;s<c;s++)VI(n[s],t,e,i,o)}i.add(r)}function gt(n){return t=>t.lift(new H4(n))}class H4{constructor(t){this.notifier=t}call(t,e){const i=new U4(t),o=fo(this.notifier,new sa(i));return o&&!i.seenValue?(i.add(o),e.subscribe(i)):i}}class U4 extends ss{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}const Y4=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})();function Ws(n){return t=>0===n?zI():t.lift(new G4(n))}class G4{constructor(t){if(this.total=t,this.total<0)throw new Y4}call(t,e){return e.subscribe(new W4(t,this.total))}}class W4 extends mt{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}const Fh=new Fo(km);class Q4{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new Z4(t,this.dueTime,this.scheduler))}}class Z4 extends mt{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule($4,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function $4(n){n.debouncedNext()}function j0(...n){return function K4(){return as(1)}()(Xa(...n))}function Am(...n){const t=n[n.length-1];return _r(t)?(n.pop(),e=>j0(n,e,t)):e=>j0(n,e)}class J4{constructor(t){this.total=t}call(t,e){return e.subscribe(new q4(t,this.total))}}class q4 extends mt{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}
|
|
1711
1711
|
/**
|
|
1712
1712
|
* @license
|
|
1713
1713
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1729,7 +1729,7 @@ class C4 extends ze{constructor(t,e){super()}schedule(t,e=0){return this}}class
|
|
|
1729
1729
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1730
1730
|
* found in the LICENSE file at https://angular.io/license
|
|
1731
1731
|
*/
|
|
1732
|
-
function
|
|
1732
|
+
function Om(n){return Array.isArray(n)?n:[n]}
|
|
1733
1733
|
/**
|
|
1734
1734
|
* @license
|
|
1735
1735
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1750,7 +1750,7 @@ function Am(n){return Array.isArray(n)?n:[n]}
|
|
|
1750
1750
|
*
|
|
1751
1751
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1752
1752
|
* found in the LICENSE file at https://angular.io/license
|
|
1753
|
-
*/class n2{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o2(t,this.durationSelector))}}class o2 extends ss{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:o}=this;e=o(t)}catch(o){return this.destination.error(o)}const i=fo(e,new
|
|
1753
|
+
*/class n2{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o2(t,this.durationSelector))}}class o2 extends ss{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:o}=this;e=o(t)}catch(o){return this.destination.error(o)}const i=fo(e,new sa(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=void 0,i.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function R0(n){return!nn(n)&&n-parseFloat(n)+1>=0}function s2(n){const{index:t,period:e,subscriber:i}=n;if(i.next(t),!i.closed){if(-1===e)return i.complete();n.index=t+1,this.schedule(n,e)}}function UI(n,t=Fh){
|
|
1754
1754
|
/**
|
|
1755
1755
|
* @license
|
|
1756
1756
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1772,7 +1772,7 @@ return function t2(n){return function(e){return e.lift(new n2(n))}}(()=>function
|
|
|
1772
1772
|
*
|
|
1773
1773
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1774
1774
|
* found in the LICENSE file at https://angular.io/license
|
|
1775
|
-
*/let z0;try{z0=typeof Intl<"u"&&Intl.v8BreakIterator}catch{z0=!1}let Vh,ec,F0,qr=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function GP(n){return n===WS}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!z0)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(P(
|
|
1775
|
+
*/let z0;try{z0=typeof Intl<"u"&&Intl.v8BreakIterator}catch{z0=!1}let Vh,ec,F0,qr=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function GP(n){return n===WS}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!z0)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(P(im))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
1776
1776
|
/**
|
|
1777
1777
|
* @license
|
|
1778
1778
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1786,7 +1786,7 @@ return function t2(n){return function(e){return e.lift(new n2(n))}}(()=>function
|
|
|
1786
1786
|
*
|
|
1787
1787
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1788
1788
|
* found in the LICENSE file at https://angular.io/license
|
|
1789
|
-
*/function c2(){if(null==ec){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ec=!1,ec;if("scrollBehavior"in document.documentElement.style)ec=!0;else{const n=Element.prototype.scrollTo;ec=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return ec}function GI(n){if(function l2(){if(null==F0){const n=typeof document<"u"?document.head:null;F0=!(!n||!n.createShadowRoot&&!n.attachShadow)}return F0}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function
|
|
1789
|
+
*/function c2(){if(null==ec){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ec=!1,ec;if("scrollBehavior"in document.documentElement.style)ec=!0;else{const n=Element.prototype.scrollTo;ec=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return ec}function GI(n){if(function l2(){if(null==F0){const n=typeof document<"u"?document.head:null;F0=!(!n||!n.createShadowRoot&&!n.attachShadow)}return F0}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function nu(n){return n.composedPath?n.composedPath()[0]:n.target}
|
|
1790
1790
|
/**
|
|
1791
1791
|
* @license
|
|
1792
1792
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1814,14 +1814,14 @@ return function t2(n){return function(e){return e.lift(new n2(n))}}(()=>function
|
|
|
1814
1814
|
*
|
|
1815
1815
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1816
1816
|
* found in the LICENSE file at https://angular.io/license
|
|
1817
|
-
*/const u2=new G("cdk-dir-doc",{providedIn:"root",factory:function d2(){return Io(
|
|
1817
|
+
*/const u2=new G("cdk-dir-doc",{providedIn:"root",factory:function d2(){return Io(rt)}
|
|
1818
1818
|
/**
|
|
1819
1819
|
* @license
|
|
1820
1820
|
* Copyright Google LLC All Rights Reserved.
|
|
1821
1821
|
*
|
|
1822
1822
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1823
1823
|
* found in the LICENSE file at https://angular.io/license
|
|
1824
|
-
*/}),h2=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let
|
|
1824
|
+
*/}),h2=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let jm=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new be,e){const o=e.documentElement?e.documentElement.dir:null;this.value=function p2(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?h2.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(P(u2,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Hh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({}),n})(),g2=(()=>{class n{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new oe,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Be(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(UI(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Xa()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Ys(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=_i(i),r=e.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Nm(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(P(Ge),P(qr),P(rt,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Rm=(()=>{class n{constructor(e,i,o){this._platform=e,this._change=new oe,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(UI(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(P(qr),P(Ge),P(rt,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),V0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({}),n})(),QI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({imports:[Hh,V0,Hh,V0]}),n})();
|
|
1825
1825
|
/**
|
|
1826
1826
|
* @license
|
|
1827
1827
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1852,7 +1852,7 @@ class y2 extends class v2{constructor(){this._isDisposed=!1,this.attachDomPortal
|
|
|
1852
1852
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1853
1853
|
* found in the LICENSE file at https://angular.io/license
|
|
1854
1854
|
*/
|
|
1855
|
-
let M2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=
|
|
1855
|
+
let M2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({}),n})();
|
|
1856
1856
|
/**
|
|
1857
1857
|
* @license
|
|
1858
1858
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1916,7 +1916,7 @@ const $I=c2();class C2{constructor(t,e){this._viewportRuler=t,this._previousHTML
|
|
|
1916
1916
|
*
|
|
1917
1917
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1918
1918
|
* found in the LICENSE file at https://angular.io/license
|
|
1919
|
-
*/let x2=(()=>{class n{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new KI,this.close=s=>new w2(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new C2(this._viewportRuler,this._document),this.reposition=s=>new D2(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}}return n.\u0275fac=function(e){return new(e||n)(P(g2),P(
|
|
1919
|
+
*/let x2=(()=>{class n{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new KI,this.close=s=>new w2(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new C2(this._viewportRuler,this._document),this.reposition=s=>new D2(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}}return n.\u0275fac=function(e){return new(e||n)(P(g2),P(Rm),P(Ge),P(rt))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
1920
1920
|
/**
|
|
1921
1921
|
* @license
|
|
1922
1922
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1945,7 +1945,7 @@ const $I=c2();class C2{constructor(t,e){this._viewportRuler=t,this._previousHTML
|
|
|
1945
1945
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1946
1946
|
* found in the LICENSE file at https://angular.io/license
|
|
1947
1947
|
*/
|
|
1948
|
-
let XI=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(P(
|
|
1948
|
+
let XI=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(P(rt))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),T2=(()=>{class n extends XI{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){const c=r[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(P(rt),P(Ge,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),k2=(()=>{class n extends XI{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=nu(r)},this._clickListener=r=>{const s=nu(r),c="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const u=this._attachedOverlays.slice();for(let h=u.length-1;h>-1;h--){const p=u[h];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(s)||p.overlayElement.contains(c))break;const g=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>g.next(r)):g.next(r)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(P(rt),P(qr),P(Ge,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),eT=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||WI()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r<o.length;r++)o[r].remove()}const i=this._document.createElement("div");i.classList.add(e),WI()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}return n.\u0275fac=function(e){return new(e||n)(P(rt),P(qr))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
1949
1949
|
/**
|
|
1950
1950
|
* @license
|
|
1951
1951
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1960,14 +1960,14 @@ let XI=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}n
|
|
|
1960
1960
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1961
1961
|
* found in the LICENSE file at https://angular.io/license
|
|
1962
1962
|
*/
|
|
1963
|
-
class E2{constructor(t,e,i,o,r,s,c,u,h,p=!1){this._portalOutlet=t,this._host=e,this._pane=i,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=c,this._location=u,this._outsideClickDispatcher=h,this._animationsDisabled=p,this._backdropElement=null,this._backdropClick=new oe,this._attachments=new oe,this._detachments=new oe,this._locationChanges=ze.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._backdropTransitionendHandler=g=>{this._disposeBackdrop(g.target)},this._keydownEvents=new oe,this._outsidePointerEvents=new oe,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(
|
|
1963
|
+
class E2{constructor(t,e,i,o,r,s,c,u,h,p=!1){this._portalOutlet=t,this._host=e,this._pane=i,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=c,this._location=u,this._outsideClickDispatcher=h,this._animationsDisabled=p,this._backdropElement=null,this._backdropClick=new oe,this._attachments=new oe,this._detachments=new oe,this._locationChanges=ze.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._backdropTransitionendHandler=g=>{this._disposeBackdrop(g.target)},this._keydownEvents=new oe,this._outsidePointerEvents=new oe,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ws(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=tn(this._config.width),t.height=tn(this._config.height),t.minWidth=tn(this._config.minWidth),t.minHeight=tn(this._config.minHeight),t.maxWidth=tn(this._config.maxWidth),t.maxHeight=tn(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const o=Om(e||[]).filter(r=>!!r);o.length&&(i?t.classList.add(...o):t.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(gt(Bi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}
|
|
1964
1964
|
/**
|
|
1965
1965
|
* @license
|
|
1966
1966
|
* Copyright Google LLC All Rights Reserved.
|
|
1967
1967
|
*
|
|
1968
1968
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1969
1969
|
* found in the LICENSE file at https://angular.io/license
|
|
1970
|
-
*/const tT="cdk-overlay-connected-position-bounding-box",L2=/([A-Za-z%]+)$/;class N2{constructor(t,e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new oe,this._resizeSubscription=ze.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(tT),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let s;for(let c of this._preferredPositions){let u=this._getOriginPoint(t,o,c),h=this._getOverlayPoint(u,e,c),p=this._getOverlayFit(h,e,i,c);if(p.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,u);this._canFitWithFlexibleDimensions(p,h,i)?r.push({position:c,origin:u,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(u,c)}):(!s||s.overlayFit.visibleArea<p.visibleArea)&&(s={overlayFit:p,overlayPoint:h,originPoint:u,position:c,overlayRect:e})}if(r.length){let c=null,u=-1;for(const h of r){const p=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);p>u&&(u=p,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&tc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(tT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let o,r;if("center"==i.originX)o=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;o="start"==i.originX?s:c}return e.left<0&&(o-=e.left),r="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(t,e,i){let o,r;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+o,y:t.y+r}}_getOverlayFit(t,e,i,o){const r=iT(e);let{x:s,y:c}=t,u=this._getOffset(o,"x"),h=this._getOffset(o,"y");u&&(s+=u),h&&(c+=h);let _=0-c,y=c+r.height-i.height,M=this._subtractOverflows(r.width,0-s,s+r.width-i.width),x=this._subtractOverflows(r.height,_,y),E=M*x;return{visibleArea:E,isCompletelyWithinViewport:r.width*r.height===E,fitsInViewportVertically:x===r.height,fitsInViewportHorizontally:M==r.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,r=i.right-e.x,s=nT(this._overlayRef.getConfig().minHeight),c=nT(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportHorizontally||null!=c&&c<=r;return(t.fitsInViewportVertically||null!=s&&s<=o)&&h}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const o=iT(e),r=this._viewportRect,s=Math.max(t.x+o.width-r.width,0),c=Math.max(t.y+o.height-r.height,0),u=Math.max(r.top-i.top-t.y,0),h=Math.max(r.left-i.left-t.x,0);let p=0,g=0;return p=o.width<=r.width?h||-s:t.x<this._viewportMargin?r.left-i.left-t.x:0,g=o.height<=r.height?u||-c:t.y<this._viewportMargin?r.top-i.top-t.y:0,this._previousPushAmount={x:p,y:g},{x:t.x+p,y:t.y+g}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const i=this._getScrollVisibility(),o=new I2(t,i);this._positionChanges.next(o)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let r=0;r<e.length;r++)e[r].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(t,e){const i=this._viewportRect,o=this._isRtl();let r,s,c,p,g,_;if("top"===e.overlayY)s=t.y,r=i.height-s+this._viewportMargin;else if("bottom"===e.overlayY)c=i.height-t.y+2*this._viewportMargin,r=i.height-c+this._viewportMargin;else{const y=Math.min(i.bottom-t.y+i.top,t.y),M=this._lastBoundingBoxSize.height;r=2*y,s=t.y-y,r>M&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-M/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)_=i.width-t.x+this._viewportMargin,p=t.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)g=t.x,p=i.right-t.x;else{const y=Math.min(i.right-t.x+i.left,t.x),M=this._lastBoundingBoxSize.width;p=2*y,g=t.x-y,p>M&&!this._isInitialRender&&!this._growAfterOpen&&(g=t.x-M/2)}return{top:s,left:g,bottom:c,right:_,width:p,height:r}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=tn(i.height),o.top=tn(i.top),o.bottom=tn(i.bottom),o.width=tn(i.width),o.left=tn(i.left),o.right=tn(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=tn(r)),s&&(o.maxWidth=tn(s))}this._lastBoundingBoxSize=i,tc(this._boundingBox.style,o)}_resetBoundingBoxStyles(){tc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){tc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const p=this._viewportRuler.getViewportScrollPosition();tc(i,this._getExactOverlayY(e,t,p)),tc(i,this._getExactOverlayX(e,t,p))}else i.position="static";let c="",u=this._getOffset(e,"x"),h=this._getOffset(e,"y");u&&(c+=`translateX(${u}px) `),h&&(c+=`translateY(${h}px)`),i.transform=c.trim(),s.maxHeight&&(o?i.maxHeight=tn(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=tn(s.maxWidth):r&&(i.maxWidth="")),tc(this._pane.style,i)}_getExactOverlayY(t,e,i){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=tn(r.y),o}_getExactOverlayX(t,e,i){let s,o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=tn(r.x),o}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:JI(t,i),isOriginOutsideView:H0(t,i),isOverlayClipped:JI(e,i),isOverlayOutsideView:H0(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,o)=>i-Math.max(o,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Am(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Se)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function tc(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function nT(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(L2);return e&&"px"!==e?null:parseFloat(t)}return n||null}function iT(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const oT="cdk-global-overlay-wrapper";
|
|
1970
|
+
*/const tT="cdk-overlay-connected-position-bounding-box",L2=/([A-Za-z%]+)$/;class N2{constructor(t,e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new oe,this._resizeSubscription=ze.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(tT),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let s;for(let c of this._preferredPositions){let u=this._getOriginPoint(t,o,c),h=this._getOverlayPoint(u,e,c),p=this._getOverlayFit(h,e,i,c);if(p.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,u);this._canFitWithFlexibleDimensions(p,h,i)?r.push({position:c,origin:u,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(u,c)}):(!s||s.overlayFit.visibleArea<p.visibleArea)&&(s={overlayFit:p,overlayPoint:h,originPoint:u,position:c,overlayRect:e})}if(r.length){let c=null,u=-1;for(const h of r){const p=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);p>u&&(u=p,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&tc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(tT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let o,r;if("center"==i.originX)o=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;o="start"==i.originX?s:c}return e.left<0&&(o-=e.left),r="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(t,e,i){let o,r;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+o,y:t.y+r}}_getOverlayFit(t,e,i,o){const r=iT(e);let{x:s,y:c}=t,u=this._getOffset(o,"x"),h=this._getOffset(o,"y");u&&(s+=u),h&&(c+=h);let _=0-c,y=c+r.height-i.height,M=this._subtractOverflows(r.width,0-s,s+r.width-i.width),x=this._subtractOverflows(r.height,_,y),E=M*x;return{visibleArea:E,isCompletelyWithinViewport:r.width*r.height===E,fitsInViewportVertically:x===r.height,fitsInViewportHorizontally:M==r.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,r=i.right-e.x,s=nT(this._overlayRef.getConfig().minHeight),c=nT(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportHorizontally||null!=c&&c<=r;return(t.fitsInViewportVertically||null!=s&&s<=o)&&h}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const o=iT(e),r=this._viewportRect,s=Math.max(t.x+o.width-r.width,0),c=Math.max(t.y+o.height-r.height,0),u=Math.max(r.top-i.top-t.y,0),h=Math.max(r.left-i.left-t.x,0);let p=0,g=0;return p=o.width<=r.width?h||-s:t.x<this._viewportMargin?r.left-i.left-t.x:0,g=o.height<=r.height?u||-c:t.y<this._viewportMargin?r.top-i.top-t.y:0,this._previousPushAmount={x:p,y:g},{x:t.x+p,y:t.y+g}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const i=this._getScrollVisibility(),o=new I2(t,i);this._positionChanges.next(o)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let r=0;r<e.length;r++)e[r].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(t,e){const i=this._viewportRect,o=this._isRtl();let r,s,c,p,g,_;if("top"===e.overlayY)s=t.y,r=i.height-s+this._viewportMargin;else if("bottom"===e.overlayY)c=i.height-t.y+2*this._viewportMargin,r=i.height-c+this._viewportMargin;else{const y=Math.min(i.bottom-t.y+i.top,t.y),M=this._lastBoundingBoxSize.height;r=2*y,s=t.y-y,r>M&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-M/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)_=i.width-t.x+this._viewportMargin,p=t.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)g=t.x,p=i.right-t.x;else{const y=Math.min(i.right-t.x+i.left,t.x),M=this._lastBoundingBoxSize.width;p=2*y,g=t.x-y,p>M&&!this._isInitialRender&&!this._growAfterOpen&&(g=t.x-M/2)}return{top:s,left:g,bottom:c,right:_,width:p,height:r}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=tn(i.height),o.top=tn(i.top),o.bottom=tn(i.bottom),o.width=tn(i.width),o.left=tn(i.left),o.right=tn(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=tn(r)),s&&(o.maxWidth=tn(s))}this._lastBoundingBoxSize=i,tc(this._boundingBox.style,o)}_resetBoundingBoxStyles(){tc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){tc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const p=this._viewportRuler.getViewportScrollPosition();tc(i,this._getExactOverlayY(e,t,p)),tc(i,this._getExactOverlayX(e,t,p))}else i.position="static";let c="",u=this._getOffset(e,"x"),h=this._getOffset(e,"y");u&&(c+=`translateX(${u}px) `),h&&(c+=`translateY(${h}px)`),i.transform=c.trim(),s.maxHeight&&(o?i.maxHeight=tn(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=tn(s.maxWidth):r&&(i.maxWidth="")),tc(this._pane.style,i)}_getExactOverlayY(t,e,i){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=tn(r.y),o}_getExactOverlayX(t,e,i){let s,o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=tn(r.x),o}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:JI(t,i),isOriginOutsideView:H0(t,i),isOverlayClipped:JI(e,i),isOverlayOutsideView:H0(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,o)=>i-Math.max(o,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Om(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Se)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function tc(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function nT(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(L2);return e&&"px"!==e?null:parseFloat(t)}return n||null}function iT(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const oT="cdk-global-overlay-wrapper";
|
|
1971
1971
|
/**
|
|
1972
1972
|
* @license
|
|
1973
1973
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1981,21 +1981,21 @@ class E2{constructor(t,e,i,o,r,s,c,u,h,p=!1){this._portalOutlet=t,this._host=e,t
|
|
|
1981
1981
|
*
|
|
1982
1982
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1983
1983
|
* found in the LICENSE file at https://angular.io/license
|
|
1984
|
-
*/let O2=(()=>{class n{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new A2}flexibleConnectedTo(e){return new N2(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(P(
|
|
1984
|
+
*/let O2=(()=>{class n{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new A2}flexibleConnectedTo(e){return new N2(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(P(Rm),P(rt),P(qr),P(eT))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),P2=0,zm=(()=>{class n{constructor(e,i,o,r,s,c,u,h,p,g,_,y){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=s,this._injector=c,this._ngZone=u,this._document=h,this._directionality=p,this._location=g,this._outsideClickDispatcher=_,this._animationsModuleType=y}create(e){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),s=new qI(e);return s.direction=s.direction||this._directionality.value,new E2(r,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+P2++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get($a)),new y2(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(P(x2),P(eT),P(at),P(O2),P(T2),P(kn),P(Ge),P(rt),P(jm),P(SS),P(k2),P(Gy,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();
|
|
1985
1985
|
/**
|
|
1986
1986
|
* @license
|
|
1987
1987
|
* Copyright Google LLC All Rights Reserved.
|
|
1988
1988
|
*
|
|
1989
1989
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1990
1990
|
* found in the LICENSE file at https://angular.io/license
|
|
1991
|
-
*/const z2={provide:new G("cdk-connected-overlay-scroll-strategy"),deps:[
|
|
1991
|
+
*/const z2={provide:new G("cdk-connected-overlay-scroll-strategy"),deps:[zm],useFactory:function R2(n){return()=>n.scrollStrategies.reposition()}};
|
|
1992
1992
|
/**
|
|
1993
1993
|
* @license
|
|
1994
1994
|
* Copyright Google LLC All Rights Reserved.
|
|
1995
1995
|
*
|
|
1996
1996
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1997
1997
|
* found in the LICENSE file at https://angular.io/license
|
|
1998
|
-
*/let F2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=
|
|
1998
|
+
*/let F2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({providers:[zm,z2],imports:[Hh,M2,QI,QI]}),n})(),G2=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),W2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({providers:[G2]}),n})();
|
|
1999
1999
|
/**
|
|
2000
2000
|
* @license
|
|
2001
2001
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2024,7 +2024,7 @@ class E2{constructor(t,e,i,o,r,s,c,u,h,p=!1){this._portalOutlet=t,this._host=e,t
|
|
|
2024
2024
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2025
2025
|
* found in the LICENSE file at https://angular.io/license
|
|
2026
2026
|
*/
|
|
2027
|
-
class Q2 extends mt{notifyNext(t,e,i,o,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class Z2 extends mt{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function $2(n,t,e,i,o=new Z2(n,e,i)){if(!o.closed)return t instanceof Be?t.subscribe(o):
|
|
2027
|
+
class Q2 extends mt{notifyNext(t,e,i,o,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class Z2 extends mt{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function $2(n,t,e,i,o=new Z2(n,e,i)){if(!o.closed)return t instanceof Be?t.subscribe(o):fu(t)(o)}const rT={};class J2{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new q2(t,this.resultSelector))}}class q2 extends Q2{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(rT),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;i<e;i++)this.add($2(this,t[i],void 0,i))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,i){const o=this.values,s=this.toRespond?o[i]===rT?--this.toRespond:this.toRespond:0;o[i]=e,0===s&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}
|
|
2028
2028
|
/**
|
|
2029
2029
|
* @license
|
|
2030
2030
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2039,14 +2039,14 @@ class Q2 extends mt{notifyNext(t,e,i,o,r){this.destination.next(e)}notifyError(t
|
|
|
2039
2039
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2040
2040
|
* found in the LICENSE file at https://angular.io/license
|
|
2041
2041
|
*/
|
|
2042
|
-
const sT=new Set;let
|
|
2042
|
+
const sT=new Set;let iu,X2=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):tR}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function eR(n){if(!sT.has(n))try{iu||(iu=document.createElement("style"),iu.setAttribute("type","text/css"),document.head.appendChild(iu)),iu.sheet&&(iu.sheet.insertRule(`@media ${n} {body{ }}`,0),sT.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(P(qr))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function tR(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}
|
|
2043
2043
|
/**
|
|
2044
2044
|
* @license
|
|
2045
2045
|
* Copyright Google LLC All Rights Reserved.
|
|
2046
2046
|
*
|
|
2047
2047
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2048
2048
|
* found in the LICENSE file at https://angular.io/license
|
|
2049
|
-
*/let nR=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new oe}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return aT(
|
|
2049
|
+
*/let nR=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new oe}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return aT(Om(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let r=function K2(...n){let t,e;return _r(n[n.length-1])&&(e=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&nn(n[0])&&(n=n[0]),mu(n,e).lift(new J2(t))}(aT(Om(e)).map(s=>this._registerQuery(s).observable));return r=j0(r.pipe(Ws(1)),r.pipe(function HI(n){return t=>t.lift(new J4(n))}(1),function BI(n,t=Fh){return e=>e.lift(new Q4(n,t))}(0))),r.pipe(Cn(s=>{const c={matches:!1,breakpoints:{}};return s.forEach(({matches:u,query:h})=>{c.matches=c.matches||u,c.breakpoints[h]=u}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),r={observable:new Be(s=>{const c=u=>this._zone.run(()=>s.next(u));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Am(i),Cn(({matches:s})=>({query:e,matches:s})),gt(this._destroySubject)),mql:i};return this._queries.set(e,r),r}}return n.\u0275fac=function(e){return new(e||n)(P(X2),P(Ge))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function aT(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}
|
|
2050
2050
|
/**
|
|
2051
2051
|
* @license
|
|
2052
2052
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2068,7 +2068,7 @@ const sT=new Set;let eu,X2=(()=>{class n{constructor(e){this._platform=e,this._m
|
|
|
2068
2068
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2069
2069
|
* found in the LICENSE file at https://angular.io/license
|
|
2070
2070
|
*/
|
|
2071
|
-
class _R extends class mR{constructor(t,e,i,o,r=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=0;i<e.length;i++){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(o)return o}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=e.length-1;i>=0;i--){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(
|
|
2071
|
+
class _R extends class mR{constructor(t,e,i,o,r=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=0;i<e.length;i++){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(o)return o}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=e.length-1;i>=0;i--){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Ws(1)).subscribe(t)}}{constructor(t,e,i,o,r,s,c){super(t,e,i,o,c.defer),this._focusTrapManager=r,this._inertStrategy=s,this._focusTrapManager.register(this)}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}
|
|
2072
2072
|
/**
|
|
2073
2073
|
* @license
|
|
2074
2074
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2096,7 +2096,7 @@ class _R extends class mR{constructor(t,e,i,o,r=!1){this._element=t,this._checke
|
|
|
2096
2096
|
*
|
|
2097
2097
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2098
2098
|
* found in the LICENSE file at https://angular.io/license
|
|
2099
|
-
*/let yR=(()=>{class n{constructor(){this._focusTrapStack=[]}register(e){this._focusTrapStack=this._focusTrapStack.filter(o=>o!==e);let i=this._focusTrapStack;i.length&&i[i.length-1]._disable(),i.push(e),e._enable()}deregister(e){e._disable();const i=this._focusTrapStack,o=i.indexOf(e);-1!==o&&(i.splice(o,1),i.length&&i[i.length-1]._enable())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hT=(()=>{class n{constructor(e,i,o,r,s){this._checker=e,this._ngZone=i,this._focusTrapManager=o,this._document=r,this._inertStrategy=s||new vR}create(e,i={defer:!1}){let o;return o="boolean"==typeof i?{defer:i}:i,new _R(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,o)}}return n.\u0275fac=function(e){return new(e||n)(P(rR),P(Ge),P(yR),P(
|
|
2099
|
+
*/let yR=(()=>{class n{constructor(){this._focusTrapStack=[]}register(e){this._focusTrapStack=this._focusTrapStack.filter(o=>o!==e);let i=this._focusTrapStack;i.length&&i[i.length-1]._disable(),i.push(e),e._enable()}deregister(e){e._disable();const i=this._focusTrapStack,o=i.indexOf(e);-1!==o&&(i.splice(o,1),i.length&&i[i.length-1]._enable())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hT=(()=>{class n{constructor(e,i,o,r,s){this._checker=e,this._ngZone=i,this._focusTrapManager=o,this._document=r,this._inertStrategy=s||new vR}create(e,i={defer:!1}){let o;return o="boolean"==typeof i?{defer:i}:i,new _R(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,o)}}return n.\u0275fac=function(e){return new(e||n)(P(rR),P(Ge),P(yR),P(rt),P(bR,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
2100
2100
|
/**
|
|
2101
2101
|
* @license
|
|
2102
2102
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2111,14 +2111,14 @@ class _R extends class mR{constructor(t,e,i,o,r=!1){this._element=t,this._checke
|
|
|
2111
2111
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2112
2112
|
* found in the LICENSE file at https://angular.io/license
|
|
2113
2113
|
*/
|
|
2114
|
-
const pT="cdk-high-contrast-black-on-white",fT="cdk-high-contrast-white-on-black",U0="cdk-high-contrast-active";let DR=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Io(nR).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(U0,pT,fT),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(U0,pT):2===i&&e.add(U0,fT)}}}return n.\u0275fac=function(e){return new(e||n)(P(qr),P(
|
|
2114
|
+
const pT="cdk-high-contrast-black-on-white",fT="cdk-high-contrast-white-on-black",U0="cdk-high-contrast-active";let DR=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Io(nR).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(U0,pT,fT),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(U0,pT):2===i&&e.add(U0,fT)}}}return n.\u0275fac=function(e){return new(e||n)(P(qr),P(rt))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xR=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(P(DR))},n.\u0275mod=dt({type:n}),n.\u0275inj=st({imports:[W2]}),n})();
|
|
2115
2115
|
/**
|
|
2116
2116
|
* @license
|
|
2117
2117
|
* Copyright Google LLC All Rights Reserved.
|
|
2118
2118
|
*
|
|
2119
2119
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2120
2120
|
* found in the LICENSE file at https://angular.io/license
|
|
2121
|
-
*/function
|
|
2121
|
+
*/function Fm(n,t){return new Be(e=>{const i=n.length;if(0===i)return void e.complete();const o=new Array(i);let r=0,s=0;for(let c=0;c<i;c++){const u=po(n[c]);let h=!1;e.add(u.subscribe({next:p=>{h||(h=!0,s++),o[c]=p},error:p=>e.error(p),complete:()=>{r++,(r===i||!h)&&(s===i&&e.next(t?t.reduce((p,g,_)=>(p[g]=o[_],p),{}):o),e.complete())}}))}})}
|
|
2122
2122
|
/**
|
|
2123
2123
|
* @license Angular v14.3.0
|
|
2124
2124
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
@@ -2130,21 +2130,21 @@ const pT="cdk-high-contrast-black-on-white",fT="cdk-high-contrast-white-on-black
|
|
|
2130
2130
|
*
|
|
2131
2131
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2132
2132
|
* found in the LICENSE file at https://angular.io/license
|
|
2133
|
-
*/let gT=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(I(ki),I(Se))},n.\u0275dir=B({type:n}),n})(),nc=(()=>{class n extends gT{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Xe(n)))(i||n)}}(),n.\u0275dir=B({type:n,features:[ne]}),n})();const Vo=new G("NgValueAccessor"),TR={provide:Vo,useExisting:Ze(()=>
|
|
2133
|
+
*/let gT=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(I(ki),I(Se))},n.\u0275dir=B({type:n}),n})(),nc=(()=>{class n extends gT{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Xe(n)))(i||n)}}(),n.\u0275dir=B({type:n,features:[ne]}),n})();const Vo=new G("NgValueAccessor"),TR={provide:Vo,useExisting:Ze(()=>Vm),multi:!0},ER=new G("CompositionEventMode");
|
|
2134
2134
|
/**
|
|
2135
2135
|
* @license
|
|
2136
2136
|
* Copyright Google LLC All Rights Reserved.
|
|
2137
2137
|
*
|
|
2138
2138
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2139
2139
|
* found in the LICENSE file at https://angular.io/license
|
|
2140
|
-
*/let
|
|
2140
|
+
*/let Vm=(()=>{class n extends gT{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function kR(){const n=pr()?pr().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(I(ki),I(Se),I(ER,8))},n.\u0275dir=B({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&Ct("input",function(r){return i._handleInput(r.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(r){return i._compositionEnd(r.target.value)})},features:[Me([TR]),ne]}),n})();
|
|
2141
2141
|
/**
|
|
2142
2142
|
* @license
|
|
2143
2143
|
* Copyright Google LLC All Rights Reserved.
|
|
2144
2144
|
*
|
|
2145
2145
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2146
2146
|
* found in the LICENSE file at https://angular.io/license
|
|
2147
|
-
*/function
|
|
2147
|
+
*/function Qs(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function _T(n){return null!=n&&"number"==typeof n.length}const yn=new G("NgValidators"),Zs=new G("NgAsyncValidators"),NR=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class bT{static min(t){return function vT(n){return t=>{if(Qs(t.value)||Qs(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}(t)}static max(t){return function yT(n){return t=>{if(Qs(t.value)||Qs(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function MT(n){return Qs(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function CT(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function wT(n){return Qs(n.value)||NR.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function DT(n){return t=>Qs(t.value)||!_T(t.value)?null:t.value.length<n?{minlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function xT(n){return t=>_T(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function ST(n){if(!n)return Bm;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(Qs(i.value))return null;const o=i.value;return t.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(t)}static nullValidator(t){return null}static compose(t){return NT(t)}static composeAsync(t){return AT(t)}}function Bm(n){return null}function IT(n){return null!=n}function TT(n){return Yg(n)?po(n):n}function kT(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function ET(n,t){return t.map(e=>e(n))}function LT(n){return n.map(t=>function AR(n){return!n.validate}(t)?t:e=>t.validate(e))}function NT(n){if(!n)return null;const t=n.filter(IT);return 0==t.length?null:function(e){return kT(ET(e,t))}}function Y0(n){return null!=n?NT(LT(n)):null}function AT(n){if(!n)return null;const t=n.filter(IT);return 0==t.length?null:function(e){
|
|
2148
2148
|
/**
|
|
2149
2149
|
* @license
|
|
2150
2150
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2159,7 +2159,7 @@ const pT="cdk-high-contrast-black-on-white",fT="cdk-high-contrast-white-on-black
|
|
|
2159
2159
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2160
2160
|
* found in the LICENSE file at https://angular.io/license
|
|
2161
2161
|
*/
|
|
2162
|
-
return function SR(...n){if(1===n.length){const t=n[0];if(nn(t))return
|
|
2162
|
+
return function SR(...n){if(1===n.length){const t=n[0];if(nn(t))return Fm(t,null);if(pu(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Fm(e.map(i=>t[i]),e)}}if("function"==typeof n[n.length-1]){const t=n.pop();return Fm(n=1===n.length&&nn(n[0])?n[0]:n,null).pipe(Cn(e=>t(...e)))}return Fm(n,null)}(ET(e,t).map(TT)).pipe(Cn(kT))}}function G0(n){return null!=n?AT(LT(n)):null}function OT(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function PT(n){return n._rawValidators}function jT(n){return n._rawAsyncValidators}function W0(n){return n?Array.isArray(n)?n:[n]:[]}function Hm(n,t){return Array.isArray(n)?n.includes(t):n===t}function RT(n,t){const e=W0(t);return W0(n).forEach(o=>{Hm(e,o)||e.push(o)}),e}function zT(n,t){return W0(t).filter(e=>!Hm(n,e))}
|
|
2163
2163
|
/**
|
|
2164
2164
|
* @license
|
|
2165
2165
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2202,14 +2202,14 @@ return function SR(...n){if(1===n.length){const t=n[0];if(nn(t))return zm(t,null
|
|
|
2202
2202
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2203
2203
|
* found in the LICENSE file at https://angular.io/license
|
|
2204
2204
|
*/
|
|
2205
|
-
const Uh="VALID",
|
|
2205
|
+
const Uh="VALID",Ym="INVALID",ou="PENDING",Yh="DISABLED";function K0(n){return(Gm(n)?n.validators:n)||null}function UT(n){return Array.isArray(n)?Y0(n):n||null}function J0(n,t){return(Gm(t)?t.asyncValidators:n)||null}function YT(n){return Array.isArray(n)?G0(n):n||null}function Gm(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class QT{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=UT(this._rawValidators),this._composedAsyncValidatorFn=YT(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Uh}get invalid(){return this.status===Ym}get pending(){return this.status==ou}get disabled(){return this.status===Yh}get enabled(){return this.status!==Yh}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=UT(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=YT(t)}addValidators(t){this.setValidators(RT(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(RT(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(zT(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(zT(t,this._rawAsyncValidators))}hasValidator(t){return Hm(this._rawValidators,t)}hasAsyncValidator(t){return Hm(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ou,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Yh,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Uh,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Uh||this.status===ou)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Yh:Uh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ou,this._hasOwnPendingAsyncValidator=!0;const e=TT(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new be,this.statusChanges=new be}_calculateStatus(){return this._allControlsDisabled()?Yh:this.errors?Ym:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ou)?ou:this._anyControlsHaveStatus(Ym)?Ym:Uh}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Gm(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}
|
|
2206
2206
|
/**
|
|
2207
2207
|
* @license
|
|
2208
2208
|
* Copyright Google LLC All Rights Reserved.
|
|
2209
2209
|
*
|
|
2210
2210
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2211
2211
|
* found in the LICENSE file at https://angular.io/license
|
|
2212
|
-
*/class q0 extends QT{constructor(t,e,i){super(K0(e),J0(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){(function WT(n,t,e){n._forEachChild((i,o)=>{if(void 0===e[o])throw new V(1002,"")})})(this,0,t),Object.keys(t).forEach(i=>{(function GT(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new V(1e3,"");if(!i[e])throw new V(1001,"")})(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const o=this.controls[i];o&&o.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,o)=>{i.reset(t[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,o)=>((i.enabled||this.disabled)&&(e[o]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((o,r)=>{i=e(i,o,r)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}function Gh(n,t){X0(n,t),t.valueAccessor.writeValue(n.value),n.disabled&&t.valueAccessor.setDisabledState?.(!0),function UR(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&ZT(n,t)})}(n,t),function GR(n,t){const e=(i,o)=>{t.valueAccessor.writeValue(i),o&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function YR(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&ZT(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function HR(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function
|
|
2212
|
+
*/class q0 extends QT{constructor(t,e,i){super(K0(e),J0(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){(function WT(n,t,e){n._forEachChild((i,o)=>{if(void 0===e[o])throw new V(1002,"")})})(this,0,t),Object.keys(t).forEach(i=>{(function GT(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new V(1e3,"");if(!i[e])throw new V(1001,"")})(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const o=this.controls[i];o&&o.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,o)=>{i.reset(t[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,o)=>((i.enabled||this.disabled)&&(e[o]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((o,r)=>{i=e(i,o,r)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}function Gh(n,t){X0(n,t),t.valueAccessor.writeValue(n.value),n.disabled&&t.valueAccessor.setDisabledState?.(!0),function UR(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&ZT(n,t)})}(n,t),function GR(n,t){const e=(i,o)=>{t.valueAccessor.writeValue(i),o&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function YR(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&ZT(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function HR(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function Qm(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),$m(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Zm(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function X0(n,t){const e=PT(n);null!==t.validator?n.setValidators(OT(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=jT(n);null!==t.asyncValidator?n.setAsyncValidators(OT(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const o=()=>n.updateValueAndValidity();Zm(t._rawValidators,o),Zm(t._rawAsyncValidators,o)}function $m(n,t){let e=!1;if(null!==n){if(null!==t.validator){const o=PT(n);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==t.validator);r.length!==o.length&&(e=!0,n.setValidators(r))}}if(null!==t.asyncValidator){const o=jT(n);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==t.asyncValidator);r.length!==o.length&&(e=!0,n.setAsyncValidators(r))}}}const i=()=>{};return Zm(t._rawValidators,i),Zm(t._rawAsyncValidators,i),e}function ZT(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function $T(n,t){X0(n,t)}function JT(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}
|
|
2213
2213
|
/**
|
|
2214
2214
|
* @license
|
|
2215
2215
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2217,7 +2217,7 @@ const Uh="VALID",Um="INVALID",tu="PENDING",Yh="DISABLED";function K0(n){return(Y
|
|
|
2217
2217
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2218
2218
|
* found in the LICENSE file at https://angular.io/license
|
|
2219
2219
|
*/
|
|
2220
|
-
const KR={provide:ti,useExisting:Ze(()
|
|
2220
|
+
const KR={provide:ti,useExisting:Ze(()=>Km)},Wh=(()=>Promise.resolve())();let Km=(()=>{class n extends ti{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new be,this.form=new q0({},Y0(e),G0(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Wh.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Gh(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Wh.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Wh.then(()=>{const i=this._findContainer(e.path),o=new q0({});$T(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Wh.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Wh.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,JT(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(I(yn,10),I(Zs,10))},n.\u0275dir=B({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&Ct("submit",function(r){return i.onSubmit(r)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Me([KR]),ne]}),n})();
|
|
2221
2221
|
/**
|
|
2222
2222
|
* @license
|
|
2223
2223
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2231,14 +2231,14 @@ const KR={provide:ti,useExisting:Ze(()=>$m)},Wh=(()=>Promise.resolve())();let $m
|
|
|
2231
2231
|
*
|
|
2232
2232
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2233
2233
|
* found in the LICENSE file at https://angular.io/license
|
|
2234
|
-
*/function XT(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const ek=class extends QT{constructor(t=null,e,i){super(K0(e),J0(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),
|
|
2234
|
+
*/function XT(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const ek=class extends QT{constructor(t=null,e,i){super(K0(e),J0(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Gm(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=XT(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){qT(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){qT(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){XT(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},XR={provide:Xr,useExisting:Ze(()=>nM)},ik=(()=>Promise.resolve())();
|
|
2235
2235
|
/**
|
|
2236
2236
|
* @license
|
|
2237
2237
|
* Copyright Google LLC All Rights Reserved.
|
|
2238
2238
|
*
|
|
2239
2239
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2240
2240
|
* found in the LICENSE file at https://angular.io/license
|
|
2241
|
-
*/let nM=(()=>{class n extends Xr{constructor(e,i,o,r,s){super(),this._changeDetectorRef=s,this.control=new ek,this._registered=!1,this.update=new be,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function tM(n,t){if(!t)return null;let e,i,o;return Array.isArray(t),t.forEach(r=>{r.constructor===
|
|
2241
|
+
*/let nM=(()=>{class n extends Xr{constructor(e,i,o,r,s){super(),this._changeDetectorRef=s,this.control=new ek,this._registered=!1,this.update=new be,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function tM(n,t){if(!t)return null;let e,i,o;return Array.isArray(t),t.forEach(r=>{r.constructor===Vm?e=r:function ZR(n){return Object.getPrototypeOf(n.constructor)===nc}(r)?i=r:o=r}),o||i||e||null}(0,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),function eM(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Gh(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){ik.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,o=0!==i&&function r0(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}
|
|
2242
2242
|
/**
|
|
2243
2243
|
* @license
|
|
2244
2244
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2253,7 +2253,7 @@ const KR={provide:ti,useExisting:Ze(()=>$m)},Wh=(()=>Promise.resolve())();let $m
|
|
|
2253
2253
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2254
2254
|
* found in the LICENSE file at https://angular.io/license
|
|
2255
2255
|
*/
|
|
2256
|
-
function
|
|
2256
|
+
function Wm(n,t){return[...t.path,n]}(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(I(ti,9),I(yn,10),I(Zs,10),I(Vo,10),I(ql,8))},n.\u0275dir=B({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Me([XR]),ne,an]}),n})(),rk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({}),n})();
|
|
2257
2257
|
/**
|
|
2258
2258
|
* @license
|
|
2259
2259
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2268,21 +2268,21 @@ function Gm(n,t){return[...t.path,n]}(e,this._parent):[e]}}return n.\u0275fac=fu
|
|
|
2268
2268
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2269
2269
|
* found in the LICENSE file at https://angular.io/license
|
|
2270
2270
|
*/
|
|
2271
|
-
const a3={provide:ti,useExisting:Ze(()=>
|
|
2271
|
+
const a3={provide:ti,useExisting:Ze(()=>Jm)};let Jm=(()=>{class n extends ti{constructor(e,i){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new be,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&($m(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Gh(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Qm(e.control||null,e,!1),function $R(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,JT(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,o=this.form.get(e.path);i!==o&&(Qm(i||null,e),(n=>n instanceof ek)(o)&&(Gh(o,e),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);$T(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function WR(n,t){return $m(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){X0(this.form,this),this._oldForm&&$m(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(I(yn,10),I(Zs,10))},n.\u0275dir=B({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&Ct("submit",function(r){return i.onSubmit(r)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Me([a3]),ne,an]}),n})(),x3=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({imports:[rk]}),n})(),S3=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({imports:[x3]}),n})();
|
|
2272
2272
|
/**
|
|
2273
2273
|
* @license
|
|
2274
2274
|
* Copyright Google LLC All Rights Reserved.
|
|
2275
2275
|
*
|
|
2276
2276
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2277
2277
|
* found in the LICENSE file at https://angular.io/license
|
|
2278
|
-
*/function k3(n){const{subscriber:t,counter:e,period:i}=n;t.next(e),this.schedule({subscriber:t,counter:e+1,period:i},i)}function cM(n,t){return"function"==typeof t?e=>e.pipe(cM((i,o)=>po(n(i,o)).pipe(Cn((r,s)=>t(i,r,o,s))))):e=>e.lift(new E3(n))}class E3{constructor(t){this.project=t}call(t,e){return e.subscribe(new L3(t,this.project))}}class L3 extends ss{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(o){return void this.destination.error(o)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const i=new
|
|
2278
|
+
*/function k3(n){const{subscriber:t,counter:e,period:i}=n;t.next(e),this.schedule({subscriber:t,counter:e+1,period:i},i)}function cM(n,t){return"function"==typeof t?e=>e.pipe(cM((i,o)=>po(n(i,o)).pipe(Cn((r,s)=>t(i,r,o,s))))):e=>e.lift(new E3(n))}class E3{constructor(t){this.project=t}call(t,e){return e.subscribe(new L3(t,this.project))}}class L3 extends ss{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(o){return void this.destination.error(o)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const i=new sa(this),o=this.destination;o.add(i),this.innerSubscription=fo(t,i),this.innerSubscription!==i&&o.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}
|
|
2279
2279
|
/**
|
|
2280
2280
|
* @license
|
|
2281
2281
|
* Copyright Google LLC All Rights Reserved.
|
|
2282
2282
|
*
|
|
2283
2283
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2284
2284
|
* found in the LICENSE file at https://angular.io/license
|
|
2285
|
-
*/function lM(n,t,e){for(let i in t)if(t.hasOwnProperty(i)){const o=t[i];o?n.setProperty(i,o,e?.has(i)?"important":""):n.removeProperty(i)}return n}function
|
|
2285
|
+
*/function lM(n,t,e){for(let i in t)if(t.hasOwnProperty(i)){const o=t[i];o?n.setProperty(i,o,e?.has(i)?"important":""):n.removeProperty(i)}return n}function ru(n,t){const e=t?"":"none";lM(n.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function wk(n,t,e){lM(n.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}function qm(n,t){return t&&"none"!=t?n+" "+t:n}
|
|
2286
2286
|
/**
|
|
2287
2287
|
* @license
|
|
2288
2288
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2303,7 +2303,7 @@ const a3={provide:ti,useExisting:Ze(()=>Km)};let Km=(()=>{class n extends ti{con
|
|
|
2303
2303
|
*
|
|
2304
2304
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2305
2305
|
* found in the LICENSE file at https://angular.io/license
|
|
2306
|
-
*/class Sk{constructor(t){this._document=t,this.positions=new Map}clear(){this.positions.clear()}cache(t){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),t.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:dM(e)})})}handleScroll(t){const e=
|
|
2306
|
+
*/class Sk{constructor(t){this._document=t,this.positions=new Map}clear(){this.positions.clear()}cache(t){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),t.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:dM(e)})})}handleScroll(t){const e=nu(t),i=this.positions.get(e);if(!i)return null;const o=i.scrollPosition;let r,s;if(e===this._document){const h=this.getViewportScrollPosition();r=h.top,s=h.left}else r=e.scrollTop,s=e.scrollLeft;const c=o.top-r,u=o.left-s;return this.positions.forEach((h,p)=>{h.clientRect&&e!==p&&e.contains(p)&&Qh(h.clientRect,c,u)}),o.top=r,o.left=s,{top:c,left:u}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}
|
|
2307
2307
|
/**
|
|
2308
2308
|
* @license
|
|
2309
2309
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2317,7 +2317,7 @@ const a3={provide:ti,useExisting:Ze(()=>Km)};let Km=(()=>{class n extends ti{con
|
|
|
2317
2317
|
*
|
|
2318
2318
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2319
2319
|
* found in the LICENSE file at https://angular.io/license
|
|
2320
|
-
*/const Lk=Bh({passive:!0}),
|
|
2320
|
+
*/const Lk=Bh({passive:!0}),Xm=Bh({passive:!1}),pM=new Set(["position"]);class P3{constructor(t,e,i,o,r,s){this._config=e,this._document=i,this._ngZone=o,this._viewportRuler=r,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new oe,this._pointerMoveSubscription=ze.EMPTY,this._pointerUpSubscription=ze.EMPTY,this._scrollSubscription=ze.EMPTY,this._resizeSubscription=ze.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new oe,this.started=new oe,this.released=new oe,this.ended=new oe,this.entered=new oe,this.exited=new oe,this.dropped=new oe,this.moved=this._moveEvents,this._pointerDown=c=>{if(this.beforeStarted.next(),this._handles.length){const u=this._getTargetHandle(c);u&&!this._disabledHandles.has(u)&&!this.disabled&&this._initializeDragSequence(u,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const u=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(u.x-this._pickupPositionOnPage.x)+Math.abs(u.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const y=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),M=this._dropContainer;if(!y)return void this._endDragSequence(c);(!M||!M.isDragging()&&!M.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}c.preventDefault();const h=this._getConstrainedPointerPosition(u);if(this._hasMoved=!0,this._lastKnownPointerPosition=u,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,u);else{const p=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,g=this._activeTransform;g.x=h.x-p.x+this._passiveTransform.x,g.y=h.y-p.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:c,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this._nativeDragStart=c=>{if(this._handles.length){const u=this._getTargetHandle(c);u&&!this._disabledHandles.has(u)&&!this.disabled&&c.preventDefault()}else this.disabled||c.preventDefault()},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new Sk(i),s.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=mi(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(i=>ru(i,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(i=>_i(i)),this._handles.forEach(i=>ru(i,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=_i(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Xm),e.addEventListener("touchstart",this._pointerDown,Lk),e.addEventListener("dragstart",this._nativeDragStart,Xm)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?_i(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),ru(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),ru(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){Zh(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const i=this._rootElement,o=i.parentNode,r=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();o.insertBefore(s,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),wk(i,!1,pM),this._document.body.appendChild(o.replaceChild(r,i)),this._getPreviewInsertionPoint(o,c).appendChild(this._preview),this.started.next({source:this,event:t}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),o=Zh(e),r=!o&&0!==e.button,s=this._rootElement,c=nu(e),u=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=o?function CR(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}
|
|
2321
2321
|
/**
|
|
2322
2322
|
* @license
|
|
2323
2323
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2332,7 +2332,7 @@ const a3={provide:ti,useExisting:Ze(()=>Km)};let Km=(()=>{class n extends ti{con
|
|
|
2332
2332
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2333
2333
|
* found in the LICENSE file at https://angular.io/license
|
|
2334
2334
|
*/
|
|
2335
|
-
function MR(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),i||r||u||h)return;if(this._handles.length){const _=s.style;this._rootElementTapHighlight=_.webkitTapHighlightColor||"",_.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(_=>this._updateOnScroll(_)),this._boundaryElement&&(this._boundaryRect=dM(this._boundaryElement));const p=this._previewTemplate;this._pickupPositionInElement=p&&p.template&&!p.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,t,e);const g=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:g.x,y:g.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){wk(this._rootElement,!0,pM),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),o=this._getPointerPositionOnPage(t),r=this._getDragDistance(o),s=e._isOverContainer(o.x,o.y);this.ended.next({source:this,distance:r,dropPoint:o,event:t}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:r,dropPoint:o,event:t}),e.drop(this,i,this._initialIndex,this._initialContainer,s,r,o,t),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:o}){let r=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=r,this._dropContainer.enter(this,t,e,r===this._initialContainer&&r.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:r,currentIndex:r.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,o),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,e):this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let o;if(i&&t){const r=t.matchSize?this._initialClientRect:null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),o=Ak(s,this._document),this._previewRef=s,t.matchSize?Ok(o,r):o.style.transform=
|
|
2335
|
+
function MR(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),i||r||u||h)return;if(this._handles.length){const _=s.style;this._rootElementTapHighlight=_.webkitTapHighlightColor||"",_.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(_=>this._updateOnScroll(_)),this._boundaryElement&&(this._boundaryRect=dM(this._boundaryElement));const p=this._previewTemplate;this._pickupPositionInElement=p&&p.template&&!p.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,t,e);const g=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:g.x,y:g.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){wk(this._rootElement,!0,pM),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),o=this._getPointerPositionOnPage(t),r=this._getDragDistance(o),s=e._isOverContainer(o.x,o.y);this.ended.next({source:this,distance:r,dropPoint:o,event:t}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:r,dropPoint:o,event:t}),e.drop(this,i,this._initialIndex,this._initialContainer,s,r,o,t),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:o}){let r=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=r,this._dropContainer.enter(this,t,e,r===this._initialContainer&&r.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:r,currentIndex:r.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,o),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,e):this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let o;if(i&&t){const r=t.matchSize?this._initialClientRect:null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),o=Ak(s,this._document),this._previewRef=s,t.matchSize?Ok(o,r):o.style.transform=e_(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else o=Ik(this._rootElement),Ok(o,this._initialClientRect),this._initialTransform&&(o.style.transform=this._initialTransform);return lM(o.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},pM),ru(o,!1),o.classList.add("cdk-drag-preview"),o.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(r=>o.classList.add(r)):o.classList.add(e)),o}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function N3(n){const t=getComputedStyle(n),e=uM(t,"transition-property"),i=e.find(c=>"transform"===c||"all"===c);if(!i)return 0;const o=e.indexOf(i),r=uM(t,"transition-duration"),s=uM(t,"transition-delay");return Dk(r[o])+Dk(s[o])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const o=s=>{(!s||nu(s)===this._preview&&"transform"===s.propertyName)&&(this._preview?.removeEventListener("transitionend",o),i(),clearTimeout(r))},r=setTimeout(o,1.5*e);this._preview.addEventListener("transitionend",o)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=Ak(this._placeholderRef,this._document)):i=Ik(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e,i){const o=e===this._rootElement?null:e,r=o?o.getBoundingClientRect():t,s=Zh(i)?i.targetTouches[0]:i,c=this._getViewportScrollPosition();return{x:r.left-t.left+(s.pageX-r.left-c.left),y:r.top-t.top+(s.pageY-r.top-c.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=Zh(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,o=i.pageX-e.left,r=i.pageY-e.top;if(this._ownerSVGElement){const s=this._ownerSVGElement.getScreenCTM();if(s){const c=this._ownerSVGElement.createSVGPoint();return c.x=o,c.y=r,c.matrixTransform(s.inverse())}}return{x:o,y:r}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:o}=this.constrainPosition?this.constrainPosition(t,this,this._initialClientRect,this._pickupPositionInElement):t;if("x"===this.lockAxis||"x"===e?o=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:r,y:s}=this._pickupPositionInElement,c=this._boundaryRect,{width:u,height:h}=this._getPreviewRect(),p=c.top+s,g=c.bottom-(h-s);i=Nk(i,c.left+r,c.right-(u-r)),o=Nk(o,p,g)}return{x:i,y:o}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,o=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,s=Math.abs(e-r.x),c=Math.abs(i-r.y);return s>this._config.pointerDirectionChangeThreshold&&(o.x=e>r.x?1:-1,r.x=e),c>this._config.pointerDirectionChangeThreshold&&(o.y=i>r.y?1:-1,r.y=i),o}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,ru(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,Xm),t.removeEventListener("touchstart",this._pointerDown,Lk),t.removeEventListener("dragstart",this._nativeDragStart,Xm)}_applyRootElementTransform(t,e){const i=e_(t,e),o=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=o.transform&&"none"!=o.transform?o.transform:""),o.transform=qm(i,this._initialTransform)}_applyPreviewTransform(t,e){const i=this._previewTemplate?.template?void 0:this._initialTransform,o=e_(t,e);this._preview.style.transform=qm(o,i)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._rootElement.getBoundingClientRect(),o=this._boundaryElement.getBoundingClientRect();if(0===o.width&&0===o.height||0===i.width&&0===i.height)return;const r=o.left-i.left,s=i.right-o.right,c=o.top-i.top,u=i.bottom-o.bottom;o.width>i.width?(r>0&&(t+=r),s>0&&(t-=s)):t=0,o.height>i.height?(c>0&&(e+=c),u>0&&(e-=u)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:Zh(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=nu(t);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&Qh(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=GI(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const o=this._document;return e||o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body}return _i(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}}function e_(n,t){return`translate3d(${Math.round(n)}px, ${Math.round(t)}px, 0)`}function Nk(n,t,e){return Math.max(t,Math.min(e,n))}function Zh(n){return"t"===n.type[0]}function Ak(n,t){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const i=t.createElement("div");return e.forEach(o=>i.appendChild(o)),i}function Ok(n,t){n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.transform=e_(t.left,t.top)
|
|
2336
2336
|
/**
|
|
2337
2337
|
* @license
|
|
2338
2338
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2346,7 +2346,7 @@ function MR(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(e);if(c&&c.dr
|
|
|
2346
2346
|
*
|
|
2347
2347
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2348
2348
|
* found in the LICENSE file at https://angular.io/license
|
|
2349
|
-
*/class R3{constructor(t,e){this._element=t,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(t){this.withItems(t)}sort(t,e,i,o){const r=this._itemPositions,s=this._getItemIndexFromPointerPosition(t,e,i,o);if(-1===s&&r.length>0)return null;const c="horizontal"===this.orientation,u=r.findIndex(E=>E.drag===t),h=r[s],g=h.clientRect,_=u>s?1:-1,y=this._getItemOffsetPx(r[u].clientRect,g,_),M=this._getSiblingOffsetPx(u,r,_),x=r.slice();return function j3(n,t,e){const i=$h(t,n.length-1),o=$h(e,n.length-1);if(i===o)return;const r=n[i],s=o<i?-1:1;for(let c=i;c!==o;c+=s)n[c]=n[c+s];n[o]=r}(r,u,s),r.forEach((E,O)=>{if(x[O]===E)return;const H=E.drag===t,L=H?y:M,Y=H?t.getPlaceholderElement():E.drag.getRootElement();E.offset+=L,c?(Y.style.transform=
|
|
2349
|
+
*/class R3{constructor(t,e){this._element=t,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(t){this.withItems(t)}sort(t,e,i,o){const r=this._itemPositions,s=this._getItemIndexFromPointerPosition(t,e,i,o);if(-1===s&&r.length>0)return null;const c="horizontal"===this.orientation,u=r.findIndex(E=>E.drag===t),h=r[s],g=h.clientRect,_=u>s?1:-1,y=this._getItemOffsetPx(r[u].clientRect,g,_),M=this._getSiblingOffsetPx(u,r,_),x=r.slice();return function j3(n,t,e){const i=$h(t,n.length-1),o=$h(e,n.length-1);if(i===o)return;const r=n[i],s=o<i?-1:1;for(let c=i;c!==o;c+=s)n[c]=n[c+s];n[o]=r}(r,u,s),r.forEach((E,O)=>{if(x[O]===E)return;const H=E.drag===t,L=H?y:M,Y=H?t.getPlaceholderElement():E.drag.getRootElement();E.offset+=L,c?(Y.style.transform=qm(`translate3d(${Math.round(E.offset)}px, 0, 0)`,E.initialTransform),Qh(E.clientRect,0,L)):(Y.style.transform=qm(`translate3d(0, ${Math.round(E.offset)}px, 0)`,E.initialTransform),Qh(E.clientRect,L,0))}),this._previousSwap.overlaps=hM(g,e,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=c?o.x:o.y,{previousIndex:u,currentIndex:s}}enter(t,e,i,o){const r=null==o||o<0?this._getItemIndexFromPointerPosition(t,e,i):o,s=this._activeDraggables,c=s.indexOf(t),u=t.getPlaceholderElement();let h=s[r];if(h===t&&(h=s[r+1]),!h&&(null==r||-1===r||r<s.length-1)&&this._shouldEnterAsFirstChild(e,i)&&(h=s[0]),c>-1&&s.splice(c,1),h&&!this._dragDropRegistry.isDragging(h)){const p=h.getRootElement();p.parentElement.insertBefore(u,p),s.splice(r,0,t)}else _i(this._element).appendChild(u),s.push(t);u.style.transform="",this._cacheItemPositions()}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}withSortPredicate(t){this._sortPredicate=t}reset(){this._activeDraggables.forEach(t=>{const e=t.getRootElement();if(e){const i=this._itemPositions.find(o=>o.drag===t)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===t)}updateOnScroll(t,e){this._itemPositions.forEach(({clientRect:i})=>{Qh(i,t,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}_cacheItemPositions(){const t="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(e=>{const i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:dM(i)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getItemOffsetPx(t,e,i){const o="horizontal"===this.orientation;let r=o?e.left-t.left:e.top-t.top;return-1===i&&(r+=o?e.width-t.width:e.height-t.height),r}_getSiblingOffsetPx(t,e,i){const o="horizontal"===this.orientation,r=e[t].clientRect,s=e[t+-1*i];let c=r[o?"width":"height"]*i;if(s){const u=o?"left":"top",h=o?"right":"bottom";-1===i?c-=s.clientRect[u]-r[h]:c+=r[u]-s.clientRect[h]}return c}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,o="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return o?t>=s.right:e>=s.bottom}{const s=i[0].clientRect;return o?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,i,o){const r="horizontal"===this.orientation,s=this._itemPositions.findIndex(({drag:c,clientRect:u})=>{if(c===t)return!1;if(o){const h=r?o.x:o.y;if(c===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return r?e>=Math.floor(u.left)&&e<Math.floor(u.right):i>=Math.floor(u.top)&&i<Math.floor(u.bottom)});return-1!==s&&this._sortPredicate(s,t)?s:-1}}
|
|
2350
2350
|
/**
|
|
2351
2351
|
* @license
|
|
2352
2352
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2382,14 +2382,14 @@ function T3(n=0,t=Fh){return(!R0(n)||n<0)&&(n=0),(!t||"function"!=typeof t.sched
|
|
|
2382
2382
|
*
|
|
2383
2383
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2384
2384
|
* found in the LICENSE file at https://angular.io/license
|
|
2385
|
-
*/(c,s.clientRect,t,e),(o||r)&&(i=c))}),!o&&!r){const{width:s,height:c}=this._viewportRuler.getViewportSize(),u={width:s,height:c,top:0,right:s,bottom:c,left:0};o=Rk(u,e),r=zk(u,t),i=window}i&&(o!==this._verticalScrollDirection||r!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=r,this._scrollNode=i,(o||r)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=_i(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=_i(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_reset(){this._isDragging=!1;const t=_i(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(t,e){return null!=this._clientRect&&hM(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(o=>o._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!hM(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const o=this._getShadowRoot().elementFromPoint(e,i);if(!o)return!1;const r=_i(this.element);return o===r||r.contains(o)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(o=>this.enterPredicate(o,this)||this._draggables.indexOf(o)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=GI(_i(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function Rk(n,t){const{top:e,bottom:i,height:o}=n,r=.05*o;return t>=e-r&&t<=e+r?1:t>=i-r&&t<=i+r?2:0}function zk(n,t){const{left:e,right:i,width:o}=n,r=.05*o;return t>=e-r&&t<=e+r?1:t>=i-r&&t<=i+r?2:0}const
|
|
2385
|
+
*/(c,s.clientRect,t,e),(o||r)&&(i=c))}),!o&&!r){const{width:s,height:c}=this._viewportRuler.getViewportSize(),u={width:s,height:c,top:0,right:s,bottom:c,left:0};o=Rk(u,e),r=zk(u,t),i=window}i&&(o!==this._verticalScrollDirection||r!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=r,this._scrollNode=i,(o||r)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=_i(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=_i(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_reset(){this._isDragging=!1;const t=_i(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(t,e){return null!=this._clientRect&&hM(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(o=>o._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!hM(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const o=this._getShadowRoot().elementFromPoint(e,i);if(!o)return!1;const r=_i(this.element);return o===r||r.contains(o)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(o=>this.enterPredicate(o,this)||this._draggables.indexOf(o)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=GI(_i(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function Rk(n,t){const{top:e,bottom:i,height:o}=n,r=.05*o;return t>=e-r&&t<=e+r?1:t>=i-r&&t<=i+r?2:0}function zk(n,t){const{left:e,right:i,width:o}=n,r=.05*o;return t>=e-r&&t<=e+r?1:t>=i-r&&t<=i+r?2:0}const t_=Bh({passive:!1,capture:!0});let V3=(()=>{class n{constructor(e,i){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=o=>o.isDragging(),this.pointerMove=new oe,this.pointerUp=new oe,this.scroll=new oe,this._preventDefaultWhileDragging=o=>{this._activeDragInstances.length>0&&o.preventDefault()},this._persistentTouchmoveListener=o=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&o.preventDefault(),this.pointerMove.next(o))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,t_)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,t_)}startDragging(e,i){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const o=i.type.startsWith("touch");this._globalListeners.set(o?"touchend":"mouseup",{handler:r=>this.pointerUp.next(r),options:!0}).set("scroll",{handler:r=>this.scroll.next(r),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:t_}),o||this._globalListeners.set("mousemove",{handler:r=>this.pointerMove.next(r),options:t_}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((r,s)=>{this._document.addEventListener(s,r.handler,r.options)})})}}stopDragging(e){const i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const i=[this.scroll];return e&&e!==this._document&&i.push(new Be(o=>this._ngZone.runOutsideAngular(()=>{const s=c=>{this._activeDragInstances.length&&o.next(c)};return e.addEventListener("scroll",s,!0),()=>{e.removeEventListener("scroll",s,!0)}}))),Bi(...i)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(P(Ge),P(rt))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
2386
2386
|
/**
|
|
2387
2387
|
* @license
|
|
2388
2388
|
* Copyright Google LLC All Rights Reserved.
|
|
2389
2389
|
*
|
|
2390
2390
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2391
2391
|
* found in the LICENSE file at https://angular.io/license
|
|
2392
|
-
*/const B3={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Fk=(()=>{class n{constructor(e,i,o,r){this._document=e,this._ngZone=i,this._viewportRuler=o,this._dragDropRegistry=r}createDrag(e,i=B3){return new P3(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new z3(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(P(
|
|
2392
|
+
*/const B3={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Fk=(()=>{class n{constructor(e,i,o,r){this._document=e,this._ngZone=i,this._viewportRuler=o,this._dragDropRegistry=r}createDrag(e,i=B3){return new P3(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new z3(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(P(rt),P(Ge),P(Rm),P(V3))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
2393
2393
|
/**
|
|
2394
2394
|
* @license
|
|
2395
2395
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2417,14 +2417,14 @@ function T3(n=0,t=Fh){return(!R0(n)||n<0)&&(n=0),(!t||"function"!=typeof t.sched
|
|
|
2417
2417
|
*
|
|
2418
2418
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2419
2419
|
* found in the LICENSE file at https://angular.io/license
|
|
2420
|
-
*/const G3=new G("CdkDragPlaceholder"),W3=new G("CdkDragPreview");let Z3=(()=>{class n{constructor(e,i,o,r,s,c,u,h,p,g,_){this.element=e,this.dropContainer=i,this._ngZone=r,this._viewContainerRef=s,this._dir=u,this._changeDetectorRef=p,this._selfHandle=g,this._parentDrag=_,this._destroyed=new oe,this.started=new be,this.released=new be,this.ended=new be,this.entered=new be,this.exited=new be,this.dropped=new be,this.moved=new Be(y=>{const M=this._dragRef.moved.pipe(Cn(x=>({source:this,pointerPosition:x.pointerPosition,event:x.event,delta:x.delta,distance:x.distance}))).subscribe(y);return()=>{M.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:c?.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),c&&this._assignDefaults(c),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=mi(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(
|
|
2420
|
+
*/const G3=new G("CdkDragPlaceholder"),W3=new G("CdkDragPreview");let Z3=(()=>{class n{constructor(e,i,o,r,s,c,u,h,p,g,_){this.element=e,this.dropContainer=i,this._ngZone=r,this._viewContainerRef=s,this._dir=u,this._changeDetectorRef=p,this._selfHandle=g,this._parentDrag=_,this._destroyed=new oe,this.started=new be,this.released=new be,this.ended=new be,this.entered=new be,this.exited=new be,this.dropped=new be,this.moved=new Be(y=>{const M=this._dragRef.moved.pipe(Cn(x=>({source:this,pointerPosition:x.pointerPosition,event:x.event,delta:x.delta,distance:x.distance}))).subscribe(y);return()=>{M.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:c?.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),c&&this._assignDefaults(c),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=mi(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ws(1),gt(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const i=e.rootElementSelector,o=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),o&&!o.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=n._dragInstances.indexOf(this);e>-1&&n._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const e=this.element.nativeElement;let i=e;this.rootElementSelector&&(i=void 0!==e.closest?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):_i(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const i=this._dir,o=this.dragStartDelay,r=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof o&&o?o:function X4(n,t=0){return function e2(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}(o),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(s).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe(Ws(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains("cdk-drag")){e.withParent(n._dragInstances.find(o=>o.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(e){e.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(e){const{lockAxis:i,dragStartDelay:o,constrainPosition:r,previewClass:s,boundaryElement:c,draggingDisabled:u,rootElementSelector:h,previewContainer:p}=e;this.disabled=u??!1,this.dragStartDelay=o||0,i&&(this.lockAxis=i),r&&(this.constrainPosition=r),s&&(this.previewClass=s),c&&(this.boundaryElement=c),h&&(this.rootElementSelector=h),p&&(this.previewContainer=p)}_setupHandlesListener(){this._handles.changes.pipe(Am(this._handles),eu(e=>{const i=e.filter(o=>o._parentDrag===this).map(o=>o.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),cM(e=>Bi(...e.map(i=>i._stateChanges.pipe(Am(i))))),gt(this._destroyed)).subscribe(e=>{const i=this._dragRef,o=e.element.nativeElement;e.disabled?i.disableHandle(o):i.enableHandle(o)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(I(Se),I(U3,12),I(rt),I(Ge),I(Ln),I(H3,8),I(jm,8),I(Fk),I(ql),I(gM,10),I(fM,12))},n.\u0275dir=B({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,i,o){if(1&e&&(yt(o,W3,5),yt(o,G3,5),yt(o,gM,5)),2&e){let r;Oe(r=Pe())&&(i._previewTemplate=r.first),Oe(r=Pe())&&(i._placeholderTemplate=r.first),Oe(r=Pe())&&(i._handles=r)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,i){2&e&&ge("cdk-drag-disabled",i.disabled)("cdk-drag-dragging",i._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Me([{provide:fM,useExisting:n}]),an]}),n})(),$3=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({providers:[Fk],imports:[V0]}),n})();
|
|
2421
2421
|
/**
|
|
2422
2422
|
* @license
|
|
2423
2423
|
* Copyright Google LLC All Rights Reserved.
|
|
2424
2424
|
*
|
|
2425
2425
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2426
2426
|
* found in the LICENSE file at https://angular.io/license
|
|
2427
|
-
*/lu(489);const no=["*"],Jk=["focusTrapElement"];function vz(n,t){if(1&n&&At(0,"div"),2&n){const e=Ft(2);Qg("hc-pop-arrow ",e._yAlignClass," ",e._xAlignClass,"")}}function yz(n,t){if(1&n){const e=_h();X(0,"div",0,1),Ct("click",function(){return Ui(e),Yi(Ft()._popContainerClicked())})("@transformPopover.done",function(o){return Ui(e),Yi(Ft()._onAnimationDone(o))}),_t(2),Yt(3,vz,1,4,"div",2),ue()}if(2&n){const e=Ft();Qg("",e._yAlignClass," ",e._xAlignClass,""),Wr("max-width",e.maxWidth),ge("hc-pop-container-basic",!e.disableStyle),at("ngClass",e._classList)("@transformPopover",e._getAnimation()),je(3),at("ngIf",e.showArrow)}}function Mz(n,t){1&n&&At(0,"div",4)}function Cz(n,t){if(1&n){const e=_h();X(0,"div",1),Ct("@transformPopover.done",function(o){return Ui(e),Yi(Ft()._onAnimationDone(o))}),X(1,"div",2),St(2),ue(),Yt(3,Mz,1,0,"div",3),ue()}if(2&n){const e=Ft();Qg("",e._yAlignClass," ",e._xAlignClass,""),Wr("max-width",e.maxWidth),ge("hc-pop-container-basic",!e.disableStyle),at("ngClass",e._classList)("@transformPopover",e._getAnimation()),je(2),Qa(" ",e.tooltipContent," "),je(1),at("ngIf",e.showArrow)}}const Sz=["hc-button",""];function kz(n,t){1&n&&(X(0,"span",7),St(1,"\xa0*"),ue())}function Ez(n,t){if(1&n&&(X(0,"span",5)(1,"label",5),_t(2,1),Yt(3,kz,2,0,"span",6),ue()()),2&n){const e=Ft();ge("hc-form-field-label-wrapper-tight",e.tight&&!e._mobileInput),at("ngClass",e.inline?"hc-form-field-label-wrapper-inline":"hc-form-field-label-wrapper"),je(1),ge("hc-form-field-label-tight",e.tight),at("ngClass",e.inline?"hc-form-field-label-inline":"hc-form-field-label"),Jt("for",e._control._componentId),je(2),at("ngIf",e._control._isRequired&&!e._control._isDisabled)}}function Lz(n,t){1&n&&(X(0,"div",12),_t(1,3),ue())}function Nz(n,t){1&n&&(X(0,"div",13),_t(1,4),ue())}function Az(n,t){if(1&n&&(X(0,"div"),Yt(1,Lz,2,0,"div",8),X(2,"div",9,10),_t(4,2),ue(),Yt(5,Nz,2,0,"div",11),ue()),2&n){const e=Ft();ge("hc-form-field-flex",!e.inline)("hc-form-field-flex-inline",e.inline)("hc-form-field-invalid",e._shouldShowErrorMessages())("hc-form-field-flex-focused",e._hasFocusedInput),je(1),at("ngIf",e._prefixChildren.length),je(1),ge("hc-form-field-infix-tight",e.tight&&!e._mobileInput)("hc-form-field-infix-mobile",e._mobileInput),je(3),at("ngIf",e._suffixChildren.length)}}function Oz(n,t){if(1&n&&(X(0,"div"),_t(1,5),ue()),2&n){const e=Ft();ge("hc-form-field-non-input",!e.inline)("hc-form-field-non-input-inline",e.inline)("hc-form-field-non-input-inline-tight",e.inline&&e.tight)("hc-form-field-invalid",e._shouldShowErrorMessages())}}function Pz(n,t){if(1&n&&(X(0,"hc-error"),St(1),ue()),2&n){const e=Ft(2);je(1),Wa(e._control._errorMessage)}}function jz(n,t){if(1&n&&(X(0,"div",14),Yt(1,Pz,2,1,"hc-error",15),_t(2,6),ue()),2&n){const e=Ft();je(1),at("ngIf",e._control._errorMessage&&e._control._errorMessage.length)}}const Rz=[[["hc-label-ext"]],[["hc-label"]],[["","hcInput",""]],[["","hcPrefix",""]],[["","hcSuffix",""]],"*",[["hc-error"]]],zz=["hc-label-ext","hc-label","[hcInput]","[hcPrefix]","[hcSuffix]","*","hc-error"];function gF(n,t){1&n&&(X(0,"div",3),function Bu(){fe.lFrame.currentNamespace="svg"}(),X(1,"svg",4),At(2,"path",5)(3,"path",6),ue()())}function bi(n){if(null==n)return!1;if("boolean"==typeof n)return n;if("false"===n.toLowerCase())return!1;if("true"===n.toLowerCase()||""===n)return!0;throw Error(String(n)+" is not a boolean value")}document.createElement("p"),new G("IAppSwitcherService"),new G("IAppSwitcherConfig");let Q5=(()=>{class n{constructor(e,i){this.elementRef=e,this._fontIcon="",this._fontSet="",this._previousFontIcon="",this._previousFontSet="",this._hostClass=!0,i||e.nativeElement.setAttribute("aria-hidden","true")}get fontIcon(){return this._fontIcon}set fontIcon(e){this._fontIcon=this._cleanupFontValue(e)}get fontSet(){return this._fontSet}set fontSet(e){this._fontSet=this._cleanupFontValue(e)}ngOnChanges(){this._updateFontIcon()}_updateFontIcon(){const e=this.elementRef.nativeElement;this._previousFontIcon!==this._fontIcon&&(this._previousFontIcon&&e.classList.remove(this._previousFontIcon),this._fontIcon&&(e.classList.add(this._fontIcon),this._previousFontIcon=this._fontIcon)),this._previousFontSet!==this._fontSet&&(this._previousFontSet&&e.classList.remove(this._previousFontSet),this._fontSet&&(e.classList.add(this._fontSet),this._previousFontSet=this._fontSet))}_cleanupFontValue(e){return(e||"").trim().split(" ")[0]}}return n.\u0275fac=function(e){return new(e||n)(I(Se),function Ar(n){return function Vp(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let o=0;for(;o<i;){const r=e[o];if(Op(r))break;if(0===r)o+=2;else if("number"==typeof r)for(o++;o<i&&"string"==typeof e[o];)o++;else{if(r===t)return e[o+1];o+=2}}}return null}(Tt(),n)}("aria-hidden"))},n.\u0275cmp=nt({type:n,selectors:[["hc-icon"]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-icon",i._hostClass)},inputs:{fontIcon:"fontIcon",fontSet:"fontSet"},features:[an],ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},styles:["[icon-sm],.hc-icon-sm{font-size:14px!important;height:14px!important;width:14px!important}[icon-md],.hc-icon-md{font-size:20px!important;height:20px!important;width:20px!important}[icon-lg],.hc-icon-lg{font-size:36px!important;height:36px!important;width:36px!important}.hc-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;font-size:20px;height:20px;text-align:center;width:20px}\n"],encapsulation:2}),n})();const a1=Ai("transformPopover",[We(":enter",[ve({opacity:0}),Re("{{openTransition}}",ve({opacity:1}))]),We(":leave",[Re("{{closeTransition}}",ve({opacity:0}))])]);var Qt=(()=>(function(n){n[n.OPEN=0]="OPEN",n[n.CLOSE=1]="CLOSE",n[n.TOGGLE=2]="TOGGLE",n[n.REPOSITION=3]="REPOSITION",n[n.UPDATE_CONFIG=4]="UPDATE_CONFIG",n[n.REALIGN=5]="REALIGN"}(Qt||(Qt={})),Qt))();class io{constructor(t,e){this.action=t,this.value=e}}let Z5=(()=>{class n{constructor(){this.store=new oe}dispatch(e){this.store.next(e)}events(){return this.store.asObservable()}dispose(){this.store.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();const c1=["noop","block","reposition","close"],l1=["click","mousedown","rightclick","hover","none"],u1=["before","start","center","end","after","mouse"],d1=["above","start","center","end","below","mouse"];function h_(n,t,e){return`Invalid ${n}: '${t}'. Valid options are ${e.map(i=>`'${i}'`).join(", ")}.`}let TM=(()=>{class n{constructor(e){this.ref=e,this._hostClass=!0,this._itemEnter=new be}focus(){this.ref.nativeElement.focus(),this._itemEnter.emit()}blur(){this.ref.nativeElement.blur()}}return n.\u0275fac=function(e){return new(e||n)(I(Se))},n.\u0275dir=B({type:n,selectors:[["","hcMenuItem",""],["","hcButtonItem",""]],hostVars:2,hostBindings:function(e,i){1&e&&Ct("mouseenter",function(){return i.focus()})("touchend",function(){return i.blur()})("touchcancel",function(){return i.blur()})("mouseleave",function(){return i.blur()}),2&e&&ge("hc-menu-item",i._hostClass)},outputs:{_itemEnter:"_itemEnter"}}),n})();const h1="100ms linear",p1="0ms linear";let kM=(()=>{class n{constructor(e,i,o){this._elementRef=e,this._focusTrapFactory=i,this._document=o,this.disableStyle=!1,this.showArrow=!0,this._horizontalAlign="center",this._verticalAlign="below",this._forceAlignment=!1,this._lockAlignment=!1,this._maxWidth="none",this._autoFocus=!1,this._autoFocusOverride=!1,this._restoreFocus=!0,this._restoreFocusOverride=!0,this._scrollStrategy="reposition",this._hasBackdrop=!0,this._interactiveClose=!0,this._openTransition=h1,this._closeTransition=h1,this.shouldAnimate=!0,this.backdropClass="",this.autoCloseOnContentClick=!1,this.opened=new be,this.closed=new be,this.afterOpen=new be,this.afterClose=new be,this.backdropClicked=new be,this.overlayKeydown=new be,this._offsetPos=[0,0],this._classList={},this._yAlignClass="",this._xAlignClass="",this._open=!1,this._subMenuOpen=!1,this._parentClose=new oe,this._parentCloseBlock=!1}get horizontalAlign(){return this._horizontalAlign}set horizontalAlign(e){this._validateHorizontalAlign(e),this._horizontalAlign!==e&&(this._horizontalAlign=e,this._dispatchConfigNotification(new io(Qt.REPOSITION)))}get xAlign(){return this.horizontalAlign}set xAlign(e){this.horizontalAlign=e}get verticalAlign(){return this._verticalAlign}set verticalAlign(e){this._validateVerticalAlign(e),this._verticalAlign!==e&&(this._verticalAlign=e,this._dispatchConfigNotification(new io(Qt.REPOSITION)))}get yAlign(){return this.verticalAlign}set yAlign(e){this.verticalAlign=e}get forceAlignment(){return this._forceAlignment}set forceAlignment(e){const i=mi(e);this._forceAlignment!==i&&(this._forceAlignment=i,this._dispatchConfigNotification(new io(Qt.REPOSITION)))}get lockAlignment(){return this._lockAlignment}set lockAlignment(e){const i=mi(e);this._lockAlignment!==i&&(this._lockAlignment=mi(e),this._dispatchConfigNotification(new io(Qt.REPOSITION)))}get maxWidth(){return this._maxWidth}set maxWidth(e){this._maxWidth=e}get autoFocus(){return this._autoFocus&&this._autoFocusOverride}set autoFocus(e){this._autoFocus=mi(e)}get restoreFocus(){return this._restoreFocus&&this._restoreFocusOverride}set restoreFocus(e){this._restoreFocus=mi(e)}get scrollStrategy(){return this._scrollStrategy}set scrollStrategy(e){this._validateScrollStrategy(e),this._scrollStrategy!==e&&(this._scrollStrategy=e,this._dispatchConfigNotification(new io(Qt.UPDATE_CONFIG)))}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=mi(e),this._dispatchConfigNotification(new io(Qt.UPDATE_CONFIG))}get interactiveClose(){return this._interactiveClose}set interactiveClose(e){this._interactiveClose=mi(e),this._dispatchConfigNotification(new io(Qt.UPDATE_CONFIG))}get openTransition(){return this._openTransition}set openTransition(e){e&&(this._openTransition=e)}get closeTransition(){return this._closeTransition}set closeTransition(e){e&&(this._closeTransition=e)}get parent(){return this._parentMenu}set parent(e){this._parentMenu&&this._parentClose.unsubscribe(),this._parentMenu=e,this._parentMenu&&(this._parentClose=this._parentMenu.closed.subscribe(()=>{this.isOpen()&&this.close()}))}ngOnInit(){this._setAlignmentClasses()}ngOnDestroy(){this._notifications&&this._notifications.dispose(),this._parentMenu&&this._parentClose.unsubscribe()}_popContainerClicked(){this.autoCloseOnContentClick&&this.close()}open(e={}){const i=new io(Qt.OPEN,e);this._dispatchActionNotification(i)}close(e){const i=new io(Qt.CLOSE,e);this._dispatchActionNotification(i),this.parent&&!this._parentCloseBlock&&this.parent.close()}toggle(){this.parent&&(this.parent._subMenuOpen=!this.isOpen());const e=new io(Qt.TOGGLE);this._dispatchActionNotification(e)}realign(){const e=new io(Qt.REALIGN);this._dispatchActionNotification(e)}isOpen(){return this._open}_getAnimation(){return{value:"visible",params:{openTransition:this.shouldAnimate?this.openTransition:p1,closeTransition:this.shouldAnimate?this.closeTransition:p1}}}_onAnimationDone(e){"visible"===e.toState?(this._trapFocus(),this.afterOpen.emit()):"void"===e.toState&&(this._restoreFocusAndDestroyTrap(),this.afterClose.emit())}_setAlignmentClasses(e=this.horizontalAlign,i=this.verticalAlign){this._setAlignmentClassesForAnimation(e,i),this._setAlignmentClassesForArrow()}_setAlignmentClassesForAnimation(e=this.horizontalAlign,i=this.verticalAlign){this._classList["hc-pop-before"]="before"===e||"end"===e,this._classList["hc-pop-after"]="after"===e||"start"===e,this._classList["hc-pop-above"]="above"===i||"end"===i,this._classList["hc-pop-below"]="below"===i||"start"===i,this._classList["hc-pop-center"]="center"===e||"center"===i}_setAlignmentClassesForArrow(e=this.horizontalAlign,i=this.verticalAlign){this._classList["hc-pop-show-arrow"]=this.showArrow&&("start"===e||"center"===e||"end"===e)&&("above"===i||"below"===i)||("start"===i||"center"===i||"end"===i)&&("before"===e||"after"===e),this._yAlignClass=this._classList["hc-pop-show-arrow"]?`hc-pop-arrow-y-${i}`:"",this._xAlignClass=this._classList["hc-pop-show-arrow"]?`hc-pop-arrow-x-${e}`:""}_keyFocus(e){const i=this._menuItems.toArray();e||i.reverse();let o=!1;for(let r=0;r<i.length;r++){if(o&&!i[r].ref.nativeElement.classList.contains("hc-divider")&&!i[r].ref.nativeElement.disabled)return void i[r].focus();i[r].ref.nativeElement===document.activeElement&&(o=!0)}for(let r=0;r<i.length;r++)if(!i[r].ref.nativeElement.classList.contains("hc-divider")&&!i[r].ref.nativeElement.disabled)return void i[r].focus()}_restoreFocusAndDestroyTrap(){const e=this._previouslyFocusedElement;e&&"focus"in e&&this.restoreFocus&&this._previouslyFocusedElement&&this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null,this._focusTrap&&(this._focusTrap.destroy(),this._focusTrap=void 0)}_savePreviouslyFocusedElement(){this._document&&(this._previouslyFocusedElement=this._document.activeElement)}_trapFocus(){!this._focusTrapElement||(!this._focusTrap&&this._focusTrapElement&&(this._focusTrap=this._focusTrapFactory.create(this._focusTrapElement.nativeElement)),this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady())}_dispatchConfigNotification(e){this._notifications&&this._notifications.dispatch(e)}_dispatchActionNotification(e){if(!this._notifications)throw function K5(){return Error("HcPopover is not anchored to any HcPopoverAnchorDirective.")}();this._notifications.dispatch(e)}_validateHorizontalAlign(e){if(-1===u1.indexOf(e))throw function J5(n){return Error(h_("horizontalAlign/xAlign",n,u1))}(e)}_validateVerticalAlign(e){if(-1===d1.indexOf(e))throw function q5(n){return Error(h_("verticalAlign/yAlign",n,d1))}(e)}_validateScrollStrategy(e){if(-1===c1.indexOf(e))throw function eV(n){return Error(h_("scrollStrategy",n,c1))}(e)}}return n.\u0275fac=function(e){return new(e||n)(I(Se),I(hT),I(ot,8))},n.\u0275cmp=nt({type:n,selectors:[["hc-pop"]],contentQueries:function(e,i,o){if(1&e&&yt(o,TM,5),2&e){let r;Ae(r=Oe())&&(i._menuItems=r)}},viewQuery:function(e,i){if(1&e&&(Ni(dn,5),Ni(Jk,5)),2&e){let o;Ae(o=Oe())&&(i._templateRef=o.first),Ae(o=Oe())&&(i._focusTrapElement=o.first)}},inputs:{disableStyle:"disableStyle",showArrow:"showArrow",horizontalAlign:"horizontalAlign",xAlign:"xAlign",verticalAlign:"verticalAlign",yAlign:"yAlign",forceAlignment:"forceAlignment",lockAlignment:"lockAlignment",maxWidth:"maxWidth",autoFocus:"autoFocus",restoreFocus:"restoreFocus",scrollStrategy:"scrollStrategy",hasBackdrop:"hasBackdrop",interactiveClose:"interactiveClose",openTransition:"openTransition",closeTransition:"closeTransition",parent:"parent",shouldAnimate:"shouldAnimate",backdropClass:"backdropClass",autoCloseOnContentClick:"autoCloseOnContentClick"},outputs:{opened:"opened",closed:"closed",afterOpen:"afterOpen",afterClose:"afterClose",backdropClicked:"backdropClicked",overlayKeydown:"overlayKeydown"},ngContentSelectors:no,decls:1,vars:0,consts:[[1,"hc-pop-container",3,"ngClass","click"],["focusTrapElement",""],[3,"class",4,"ngIf"]],template:function(e,i){1&e&&(vn(),Yt(0,yz,4,11,"ng-template"))},dependencies:[_m,Kl],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:2100}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.hc-pop-before.hc-pop-above{transform-origin:right bottom}[dir=rtl] .hc-pop-before.hc-pop-above{transform-origin:left bottom}.hc-pop-before.hc-pop-center{transform-origin:right center}[dir=rtl] .hc-pop-before.hc-pop-center{transform-origin:left center}.hc-pop-before.hc-pop-below{transform-origin:right top}[dir=rtl] .hc-pop-before.hc-pop-below{transform-origin:left top}.hc-pop-center.hc-pop-above{transform-origin:center bottom}.hc-pop-center.hc-pop-below{transform-origin:center top}.hc-pop-after.hc-pop-above{transform-origin:left bottom}[dir=rtl] .hc-pop-after.hc-pop-above{transform-origin:right bottom}.hc-pop-after.hc-pop-center{transform-origin:left center}[dir=rtl] .hc-pop-after.hc-pop-center{transform-origin:right center}.hc-pop-after.hc-pop-below{transform-origin:left top}[dir=rtl] .hc-pop-after.hc-pop-below{transform-origin:right top}.hc-pop-container-basic{background-color:#fff;border:1px solid #cccccc;border-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;color:#333;padding:12px}.hc-pop-show-arrow .hc-pop-arrow{background-color:#fff;border-style:solid;border-width:1px;display:block;height:10px;position:absolute;transform:rotate(45deg);width:10px}.hc-pop-arrow-x-start .hc-pop-arrow{left:5px}.hc-pop-arrow-x-center .hc-pop-arrow{left:calc(50% - 6px)}.hc-pop-arrow-x-end .hc-pop-arrow{left:calc(100% - 15px)}.hc-pop-arrow-y-start .hc-pop-arrow{top:5px}.hc-pop-arrow-y-center .hc-pop-arrow{top:calc(50% - 6px)}.hc-pop-arrow-y-end .hc-pop-arrow{top:calc(100% - 15px)}.hc-pop-arrow-y-above .hc-pop-arrow{border-color:transparent #cccccc #cccccc transparent;bottom:-6px}.hc-pop-arrow-y-below .hc-pop-arrow{border-color:#cccccc transparent transparent #cccccc;top:-6px}.hc-pop-arrow-x-before .hc-pop-arrow{border-color:#cccccc #cccccc transparent transparent;right:-6px}.hc-pop-arrow-x-after .hc-pop-arrow{border-color:transparent transparent #cccccc #cccccc;left:-6px}.hc-pop-arrow-y-above.hc-pop-show-arrow,.hc-pop-arrow-y-below.hc-pop-show-arrow{margin:6px 0;position:relative}.hc-pop-arrow-x-before.hc-pop-show-arrow,.hc-pop-arrow-x-after.hc-pop-show-arrow{margin:0 6px;position:relative}\n"],encapsulation:2,data:{animation:[a1]}}),n})(),tV=(()=>{class n extends kM{constructor(){super(...arguments),this.tooltipContent=""}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Xe(n)))(i||n)}}(),n.\u0275cmp=nt({type:n,selectors:[["hc-tooltip"]],inputs:{tooltipContent:"tooltipContent"},features:[ne],decls:2,vars:0,consts:[["_templateRef",""],[1,"hc-pop-container",",","hc-tooltip-container",3,"ngClass"],[1,"hc-tooltip"],["class","hc-pop-arrow hc-pop-arrow-y-above hc-pop-arrow-x-center",4,"ngIf"],[1,"hc-pop-arrow","hc-pop-arrow-y-above","hc-pop-arrow-x-center"]],template:function(e,i){1&e&&Yt(0,Cz,4,12,"ng-template",null,0,Fy)},dependencies:[_m,Kl],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:2100}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.hc-pop-before.hc-pop-above{transform-origin:right bottom}[dir=rtl] .hc-pop-before.hc-pop-above{transform-origin:left bottom}.hc-pop-before.hc-pop-center{transform-origin:right center}[dir=rtl] .hc-pop-before.hc-pop-center{transform-origin:left center}.hc-pop-before.hc-pop-below{transform-origin:right top}[dir=rtl] .hc-pop-before.hc-pop-below{transform-origin:left top}.hc-pop-center.hc-pop-above{transform-origin:center bottom}.hc-pop-center.hc-pop-below{transform-origin:center top}.hc-pop-after.hc-pop-above{transform-origin:left bottom}[dir=rtl] .hc-pop-after.hc-pop-above{transform-origin:right bottom}.hc-pop-after.hc-pop-center{transform-origin:left center}[dir=rtl] .hc-pop-after.hc-pop-center{transform-origin:right center}.hc-pop-after.hc-pop-below{transform-origin:left top}[dir=rtl] .hc-pop-after.hc-pop-below{transform-origin:right top}.hc-pop-container-basic{background-color:#fff;border:1px solid #cccccc;border-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;color:#333;padding:12px}.hc-pop-show-arrow .hc-pop-arrow{background-color:#fff;border-style:solid;border-width:1px;display:block;height:10px;position:absolute;transform:rotate(45deg);width:10px}.hc-pop-arrow-x-start .hc-pop-arrow{left:5px}.hc-pop-arrow-x-center .hc-pop-arrow{left:calc(50% - 6px)}.hc-pop-arrow-x-end .hc-pop-arrow{left:calc(100% - 15px)}.hc-pop-arrow-y-start .hc-pop-arrow{top:5px}.hc-pop-arrow-y-center .hc-pop-arrow{top:calc(50% - 6px)}.hc-pop-arrow-y-end .hc-pop-arrow{top:calc(100% - 15px)}.hc-pop-arrow-y-above .hc-pop-arrow{border-color:transparent #cccccc #cccccc transparent;bottom:-6px}.hc-pop-arrow-y-below .hc-pop-arrow{border-color:#cccccc transparent transparent #cccccc;top:-6px}.hc-pop-arrow-x-before .hc-pop-arrow{border-color:#cccccc #cccccc transparent transparent;right:-6px}.hc-pop-arrow-x-after .hc-pop-arrow{border-color:transparent transparent #cccccc #cccccc;left:-6px}.hc-pop-arrow-y-above.hc-pop-show-arrow,.hc-pop-arrow-y-below.hc-pop-show-arrow{margin:6px 0;position:relative}.hc-pop-arrow-x-before.hc-pop-show-arrow,.hc-pop-arrow-x-after.hc-pop-show-arrow{margin:0 6px;position:relative}\n",".hc-pop-container .hc-tooltip{background-color:#333;border-radius:4px;padding:7px;margin:-1px;color:#fff}.hc-pop-container .hc-tooltip+.hc-pop-arrow{background-color:#333!important;border-color:transparent!important}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:2100}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.hc-tooltip-container{line-height:14px}.hc-tooltip-container .hc-tooltip{margin-right:0;margin-left:0}.hc-tooltip-container .hc-pop-arrow{bottom:-6px}\n"],encapsulation:2,data:{animation:[a1]}}),n})(),f1=(()=>{class n{constructor(e,i,o,r){this._overlay=e,this._renderer=i,this._ngZone=o,this._dir=r,this.popoverOpened=new oe,this.popoverClosed=new oe,this._popoverOpen=!1,this._onDestroy=new oe,this._fixedPos=[]}ngOnDestroy(){this._destroyPopover(),this._notificationsSubscription&&this._notificationsSubscription.unsubscribe(),this._positionChangeSubscription&&this._positionChangeSubscription.unsubscribe(),this._onDestroy.next(),this._onDestroy.complete(),this.popoverOpened.complete(),this.popoverClosed.complete()}anchor(e,i,o){this._destroyPopover(),this._popover=e,this._viewContainerRef=i,this._anchor=o,this._popover._notifications=this._notifications=this._anchor._notifications=new Z5,this._subscribeToNotifications()}isPopoverOpen(){return this._popoverOpen}togglePopover(){return this._popoverOpen?this.closePopover():this.openPopover()}openPopover(e={}){this._popoverOpen||(this._applyOpenOptions(e),this._popover._componentOverlay=this._createOverlay(),this._subscribeToBackdrop(),this._subscribeToEscape(),this._subscribeToDetachments(),this._saveOpenedState(),this._popover._savePreviouslyFocusedElement())}closePopover(e,i=!1){this._unlistener&&this._unlistener(),this._popover._componentOverlay&&(this._saveClosedState(e,i),this._popover._componentOverlay.detach(),this._popover._restoreFocusAndDestroyTrap())}realignPopoverToAnchor(){this._popover._componentOverlay&&this._popover._componentOverlay.getConfig().positionStrategy.reapplyLastPosition()}getAnchorElement(){return this._anchor._elementRef}_applyOpenOptions(e){this._popover._restoreFocusOverride=!1!==e.restoreFocus,this._popover._autoFocusOverride=!1!==e.autoFocus,(e.x||e.y)&&(this._destroyPopoverOnceClosed(),this._fixedPos[0]=e.x?e.x:0,this._fixedPos[1]=e.y?e.y:0)}_createOverlay(){if(this._overlayRef)("mouse"===this._popover.horizontalAlign||"mouse"===this._popover.verticalAlign&&!this._fixedPos.length)&&this._overlayRef.updatePositionStrategy(this._getPositionStrategy(this._popover.horizontalAlign,this._popover.verticalAlign,this._popover.forceAlignment,this._popover.lockAlignment,this._anchor._elementRef));else{this._portal=new ZI(this._popover._templateRef,this._viewContainerRef);const i=this._getOverlayConfig({horizontalAlign:this._popover.horizontalAlign,verticalAlign:this._popover.verticalAlign,hasBackdrop:this._popover.hasBackdrop,backdropClass:this._popover.backdropClass,scrollStrategy:this._popover.scrollStrategy,forceAlignment:this._popover.forceAlignment,lockAlignment:this._popover.lockAlignment},this._anchor);this._fixedPos.length||this._subscribeToPositionChanges(i.positionStrategy),this._overlayRef=this._overlay.create(i)}return this._overlayRef.attach(this._portal),this._overlayRef}_destroyPopover(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}_destroyPopoverOnceClosed(){this.isPopoverOpen()&&this._overlayRef?this._overlayRef.detachments().pipe(Gs(1),gt(this._onDestroy)).subscribe(()=>this._destroyPopover()):this._destroyPopover()}_subscribeToNotifications(){this._notificationsSubscription&&this._notificationsSubscription.unsubscribe(),this._notificationsSubscription=this._notifications.events().subscribe(e=>{switch(e.action){case Qt.OPEN:this.openPopover(e.value);break;case Qt.CLOSE:this.closePopover(e.value);break;case Qt.TOGGLE:this.togglePopover();break;case Qt.REPOSITION:case Qt.UPDATE_CONFIG:this._destroyPopoverOnceClosed();break;case Qt.REALIGN:this.realignPopoverToAnchor()}})}_subscribeToBackdrop(){!this._overlayRef||(this._overlayRef.backdropClick().pipe(Jl(()=>this._popover.backdropClicked.emit()),Us(()=>this._popover.interactiveClose),gt(this.popoverClosed),gt(this._onDestroy)).subscribe(()=>this.closePopover()),this._overlayRef.backdropElement&&this._popover.interactiveClose&&(this._unlistener=this._renderer.listen(this._overlayRef.backdropElement,"contextmenu",e=>{e.preventDefault(),this._popover.backdropClicked.emit(),this.closePopover()})))}_subscribeToEscape(){!this._overlayRef||this._overlayRef.keydownEvents().pipe(Jl(e=>this._popover.overlayKeydown.emit(e)),Us(e=>"Escape"===e.key),Us(()=>this._popover.interactiveClose),gt(this.popoverClosed),gt(this._onDestroy)).subscribe(()=>this.closePopover())}_subscribeToDetachments(){!this._overlayRef||this._overlayRef.detachments().pipe(gt(this._onDestroy)).subscribe(()=>this._saveClosedState())}_saveOpenedState(){this._popoverOpen||(this._popover._open=this._popoverOpen=!0,this._popover.parent&&(this._popover.parent._subMenuOpen=!0),this.popoverOpened.next(),typeof this._context>"u"?this._popover.opened.emit():this._popover.opened.emit(this._context))}_saveClosedState(e,i=!1){this._popoverOpen&&(this._popover._open=this._popoverOpen=!1,this._popover.parent&&(this._popover.parent._subMenuOpen=i),this.popoverClosed.next(e),this._popover.closed.emit(e))}_getDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_getOverlayConfig(e,i){return new qI({positionStrategy:this._fixedPos.length?this._getFixedPositionStrategy():this._getPositionStrategy(e.horizontalAlign,e.verticalAlign,e.forceAlignment,e.lockAlignment,i._elementRef),hasBackdrop:"hover"!==i.trigger&&e.hasBackdrop,backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._getScrollStrategyInstance(e.scrollStrategy),direction:this._getDirection(),panelClass:"hover"!==i.trigger||i._hasSubmenu?"":"overlay-pointer-events"})}_subscribeToPositionChanges(e){this._positionChangeSubscription&&this._positionChangeSubscription.unsubscribe(),this._positionChangeSubscription=e.positionChanges.pipe(gt(this._onDestroy)).subscribe(i=>{this._ngZone.run(()=>{this._popover._setAlignmentClassesForAnimation(function oV(n){return"start"===n?"after":"end"===n?"before":"center"}(i.connectionPair.overlayX),function rV(n){return"top"===n?"below":"bottom"===n?"above":"center"}(i.connectionPair.overlayY)),this._popover._setAlignmentClassesForArrow(function nV(n,t){return n===t?n:"start"===n?"after":"end"===n?"before":"center"}(i.connectionPair.overlayX,i.connectionPair.originX),function iV(n,t){return n!==t||"top"!==n&&"bottom"!==n?"top"===n?"below":"bottom"===n?"above":"center":"top"===n?"start":"end"}(i.connectionPair.overlayY,i.connectionPair.originY))})})}_getScrollStrategyInstance(e){switch(e){case"block":return this._overlay.scrollStrategies.block();case"reposition":return this._overlay.scrollStrategies.reposition();case"close":return this._overlay.scrollStrategies.close();default:return this._overlay.scrollStrategies.noop()}}_getPositionStrategy(e,i,o,r,s){const u=[g1(e,i,this._popover._offsetPos)],h=this._overlay.position().flexibleConnectedTo(s).withPush(!1).withViewportMargin(0).withLockedPosition(r);if(!o){const p=this._getFallbacks(e,i);u.push(...p)}return h.withPositions(u)}_getFixedPositionStrategy(){return this._overlay.position().global().left(this._fixedPos[0]+"px").top(this._fixedPos[1]+"px")}_getFallbacks(e,i){const c="above"!==i&&"below"!==i?["above","start","center","end","below","mouse"]:["above","below"],u=[];return m1(e,"before"!==e&&"after"!==e?["before","start","center","end","after","mouse"]:["before","after"]).forEach(h=>{m1(i,c).forEach(p=>{u.push(g1(h,p,this._popover._offsetPos))})}),u.slice(1,u.length)}}return n.\u0275fac=function(e){return new(e||n)(P(Rm),P(ki),P(Ge),P(Pm,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();function g1(n,t,e){const{originX:i,overlayX:o}=function sV(n){switch(n){case"before":return{originX:"start",overlayX:"end"};case"start":case"mouse":return{originX:"start",overlayX:"start"};case"end":return{originX:"end",overlayX:"end"};case"after":return{originX:"end",overlayX:"start"};default:return{originX:"center",overlayX:"center"}}}(n),{originY:r,overlayY:s}=function aV(n){switch(n){case"above":return{originY:"top",overlayY:"bottom"};case"start":case"mouse":return{originY:"top",overlayY:"top"};case"end":return{originY:"bottom",overlayY:"bottom"};case"below":return{originY:"bottom",overlayY:"top"};default:return{originY:"center",overlayY:"center"}}}(t);return new S2({originX:i,originY:r},{overlayX:o,overlayY:s},e[0],e[1])}function m1(n,t){const e=t.indexOf(n),i=[n],o=t.slice(0,e),r=t.slice(e+1,t.length).reverse();for(;o.length&&r.length;){const s=r.pop();s&&i.push(s);const c=o.pop();c&&i.push(c)}for(;r.length;){const s=r.pop();s&&i.push(s)}for(;o.length;){const s=o.pop();s&&i.push(s)}return i}let _1=(()=>{class n{constructor(){this.notifiers=[],this.handleKeydown=e=>{this.notifiers.filter(i=>i.isOpen).forEach(i=>i.onKeyDown(e)),"ArrowRight"===e.key&&this.notifiers.filter(i=>document.activeElement===i.nativeElement&&i.hasSubmenu()).forEach(i=>i.onKeyDown(e))},window.addEventListener("keydown",this.handleKeydown)}ngOnDestroy(){window.removeEventListener("keydown",this.handleKeydown)}registerNotifier(e){this.notifiers.push(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),b1=(()=>{class n{constructor(e,i,o,r,s){this._elementRef=e,this._viewContainerRef=i,this._anchoring=o,this._accessibility=r,this._componentFactoryResolver=s,this._trigger="click",this._popoverDelay=0,this._maxWidth="none",this._hasSubmenu=!1,this.popoverOpened=new be,this.popoverClosed=new be,this._onDestroy=new oe}get attachedPopover(){return this._attachedPopover}set attachedPopover(e){this._validateAttachedPopover(e),this._attachedPopover=e,this._anchoring.anchor(this.attachedPopover,this._viewContainerRef,this)}get tooltipText(){return this._tooltipText}set tooltipText(e){this._tooltipText=e;const i=this._componentFactoryResolver.resolveComponentFactory(tV),o=this._viewContainerRef.createComponent(i).instance;o.tooltipContent=e,o.disableStyle=!0,o.verticalAlign="above",o.scrollStrategy="close",o.restoreFocus=!1,o.maxWidth=this._maxWidth,this.attachedPopover=o,this.trigger="hover",this.popoverDelay=300}get trigger(){return this._trigger}set trigger(e){this._validateTrigger(e),this._trigger!==e&&(this._trigger=e),this._dispatchConfigNotification(new io(Qt.UPDATE_CONFIG))}get popoverDelay(){return this._popoverDelay}set popoverDelay(e){this._popoverDelay=Number(e)}get maxWidth(){return this._attachedPopover.maxWidth}set maxWidth(e){this._maxWidth=e,this.attachedPopover&&(this._attachedPopover.maxWidth=e)}get restoreFocus(){return this._attachedPopover.restoreFocus&&this._attachedPopover._restoreFocusOverride}set restoreFocus(e){this.attachedPopover&&(this._attachedPopover.restoreFocus=bi(e))}get context(){return this._anchoring._context}set context(e){this._anchoring._context=e}get horizontalAlign(){return this._attachedPopover.horizontalAlign}set horizontalAlign(e){this.attachedPopover&&(this.attachedPopover.horizontalAlign=e)}get verticalAlign(){return this._attachedPopover.verticalAlign}set verticalAlign(e){this.attachedPopover&&(this.attachedPopover.verticalAlign=e)}ngOnInit(){Bi(this._anchoring.popoverOpened.pipe(Jl(()=>this.popoverOpened.emit())),this._anchoring.popoverClosed.pipe(Jl(o=>this.popoverClosed.emit(o)))).pipe(gt(this._onDestroy)).subscribe()}ngAfterContentInit(){this._setupKeyboardEvents()}ngOnDestroy(){clearTimeout(this.hoverInterval),this._onDestroy.next(),this._onDestroy.complete()}_showOrHideOnClick(e){this._hasSubmenu&&e&&(e.stopPropagation(),e.preventDefault()),"click"===this.trigger&&(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.togglePopover())}_showOrHideOnEnter(e){const i=e.target;i&&"BUTTON"===i.tagName||"Enter"!==e.key&&" "!==e.key||"click"!==this.trigger||this.togglePopover()}_showOrHideOnMouseOver(e){"mousedown"===this.trigger&&(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.togglePopover())}_showOrHideRightClick(e){return"rightclick"!==this.trigger||(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.togglePopover(),!1)}_showOnHover(e){"hover"===this.trigger&&(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.hoverInterval=window.setTimeout(()=>{this._hasSubmenu?this.openPopover():this.togglePopover()},this.popoverDelay))}_hideOnLeave(){"hover"===this.trigger&&(this._hasSubmenu||this.closePopover())}_keyEvent(e){this.attachedPopover.isOpen()&&this.attachedPopover._menuItems.length>0&&!this.attachedPopover._subMenuOpen&&("ArrowUp"===e.key||"Tab"===e.key&&e.shiftKey?(e.stopPropagation(),e.preventDefault(),this.attachedPopover._keyFocus(!1)):"ArrowDown"===e.key||"Tab"===e.key&&!e.shiftKey?(e.stopPropagation(),e.preventDefault(),this.attachedPopover._keyFocus(!0)):this.attachedPopover.parent&&this.attachedPopover.parent.isOpen()&&"ArrowLeft"===e.key&&(e.stopPropagation(),e.preventDefault(),this.closePopover())),this._hasSubmenu&&this._elementRef.nativeElement===document.activeElement&&"ArrowRight"===e.key&&(e.stopPropagation(),e.preventDefault(),this.openPopover(),this.attachedPopover._keyFocus(!0))}isPopoverOpen(){return this._anchoring.isPopoverOpen()}togglePopover(){this._anchoring.togglePopover()}openPopover(e={}){this._anchoring.openPopover(e)}closePopover(e,i=!1){clearTimeout(this.hoverInterval),this._anchoring.closePopover(e,i)}realignPopover(){this._anchoring.realignPopoverToAnchor()}getElement(){return this._elementRef}_validateAttachedPopover(e){if(!(e&&e instanceof kM))throw function $5(){return Error("HcPopoverAnchorDirective must be provided an HcPopover component instance.")}()}_validateTrigger(e){if(-1===l1.indexOf(e))throw function X5(n){return Error(h_("trigger",n,l1))}(e)}_dispatchConfigNotification(e){this._notifications&&this._notifications.dispatch(e)}_setupKeyboardEvents(){const e={isOpen:!1,nativeElement:this._elementRef.nativeElement,hasSubmenu:()=>this._hasSubmenu,onKeyDown:i=>this._keyEvent(i)};this.popoverClosed.asObservable().subscribe(()=>e.isOpen=!1),this.popoverOpened.asObservable().subscribe(()=>e.isOpen=!0),this._accessibility.registerNotifier(e)}}return n.\u0275fac=function(e){return new(e||n)(I(Se),I(Ln),I(f1),I(_1),I(st))},n.\u0275dir=B({type:n,selectors:[["","hcPop",""],["","hcTooltip",""]],hostVars:2,hostBindings:function(e,i){1&e&&Ct("click",function(r){return i._showOrHideOnClick(r)})("keydown",function(r){return i._showOrHideOnEnter(r)})("touchstart",function(r){return i._showOrHideOnMouseOver(r)})("mousedown",function(r){return i._showOrHideOnMouseOver(r)})("contextmenu",function(r){return i._showOrHideRightClick(r)})("mouseenter",function(r){return i._showOnHover(r)})("touchend",function(){return i._hideOnLeave()})("touchcancel",function(){return i._hideOnLeave()})("mouseleave",function(){return i._hideOnLeave()}),2&e&&ge("hc-menu-item-submenu",i._hasSubmenu)},inputs:{attachedPopover:["hcPop","attachedPopover"],tooltipText:["hcTooltip","tooltipText"],trigger:"trigger",popoverDelay:"popoverDelay",maxWidth:"maxWidth",restoreFocus:"restoreFocus",context:"context",horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"},outputs:{popoverOpened:"popoverOpened",popoverClosed:"popoverClosed"},exportAs:["hcPopAnchor"],features:[Me([f1])]}),n})(),cV=(()=>{class n{constructor(){this._hostClass=!0,this.unsubscribe$=new oe}ngAfterContentInit(){this.updateSubMenus(),this._menuItems.changes.pipe(gt(this.unsubscribe$)).subscribe(()=>this.updateSubMenus())}updateSubMenus(){this._subMenus.forEach(e=>{e._hasSubmenu=!0,e.trigger="hover"}),this._menuItems.forEach(e=>{e._itemEnter.pipe(gt(this.unsubscribe$)).subscribe(()=>{this._subMenus.forEach(i=>{if(i._elementRef.nativeElement!==e.ref.nativeElement&&i.attachedPopover.isOpen()){i.attachedPopover._parentCloseBlock=!0,i.attachedPopover._restoreFocusOverride=!1,i.closePopover({},!0),i.attachedPopover._restoreFocusOverride=!0;const o=i.attachedPopover.afterClose.subscribe(()=>{i.attachedPopover._parentCloseBlock=!1,o.unsubscribe()})}})})})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcMenu",""]],contentQueries:function(e,i,o){if(1&e&&(yt(o,b1,4),yt(o,TM,4)),2&e){let r;Ae(r=Oe())&&(i._subMenus=r),Ae(r=Oe())&&(i._menuItems=r)}},hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-menu-panel",i._hostClass)}}),n})(),lV=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcMenuIcon",""]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-menu-icon",i._hostClass)}}),n})(),uV=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcMenuText",""]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-menu-text",i._hostClass)}}),n})(),dV=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcDivider",""]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-divider",i._hostClass)}}),n})(),EM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=rt({providers:[_1],imports:[qa,F2,xR,Hh,Hh]}),n})(),pV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=rt({imports:[qa]}),n})();class oc{transform(t,e=2,i=1e6){if(null===t)return t;(e<0||!Number.isInteger(e))&&(e=2),(i<1e3||!Number.isInteger(i))&&(i=1e3);const o=Math.abs(t);let r="",s="";const c=t<0;if(o>=i)for(const u of oc.powers){let h=o/u.value;if(h=this.roundValue(h,e),h>=1){s=h.toString(),r=u.key;break}}else s=this.roundValue(o,e).toLocaleString();return(c?"-":"")+s+r}roundValue(t,e=2){const i=Math.pow(10,e);return Math.round(t*i)/i}}oc.powers=[{key:"Q",value:Math.pow(10,15)},{key:"T",value:Math.pow(10,12)},{key:"B",value:Math.pow(10,9)},{key:"M",value:Math.pow(10,6)},{key:"K",value:1e3}],oc.\u0275fac=function(t){return new(t||oc)},oc.\u0275pipe=on({name:"abbreviateNumber",type:oc,pure:!0});let fV=(()=>{class n{constructor(){this._hostHcIconLargeClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcIconLg",""]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-icon-lg",i._hostHcIconLargeClass)}}),n})(),gV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=rt({}),n})();const v1=["primary","primary-alt","destructive","neutral","secondary","minimal","link","link-inline"],mV=["blue","green","purple","red","orange","ruby-red","deep-red","red-orange","magenta","pink","light-pink","azure","teal","dark-green","brown","purple-gray","yellow","yellow-orange","tan"],_V=["sm","md","lg"],yV=["hc-icon-button","hc-button"];let MV=(()=>{class n{constructor(e,i){this.elementRef=e,this.renderer=i,this._disabled=!1,this.buttonStyle="primary",this.size="md";for(const o of yV)e.nativeElement.hasAttribute(o)&&i.addClass(e.nativeElement,o)}get buttonStyle(){return this._style}set buttonStyle(e){(function bV(n,t){if(v1.indexOf(n)<0&&mV.indexOf(n)<0)throw Error("Unsupported buttonStyle attribute value on "+t+": "+n)})(e,"ButtonComponent"),v1.indexOf(e)<0&&(e="button-"+e),this.setHostClass(this._style,e),this._style=e}get size(){return this._size}set size(e){(function vV(n,t){if(_V.indexOf(n)<0)throw Error("Unsupported size attribute value on "+t+": "+n)})(e,"ButtonComponent"),this.setHostClass(this._size,e),this._size=e}get disabled(){return this._disabled}set disabled(e){this._disabled=bi(e)}get _disabledAttr(){return this.disabled?"disabled":null}focus(){this.elementRef.nativeElement.focus()}setHostClass(e,i){e!==i&&(e&&this.renderer.removeClass(this.elementRef.nativeElement,this._hcClassify(e)),this.renderer.addClass(this.elementRef.nativeElement,this._hcClassify(i)))}_hcClassify(e){return`hc-${e}`}}return n.\u0275fac=function(e){return new(e||n)(I(Se),I(ki))},n.\u0275cmp=nt({type:n,selectors:[["button","hc-button",""],["button","hc-icon-button",""]],hostVars:1,hostBindings:function(e,i){2&e&&Jt("disabled",i._disabledAttr)},inputs:{buttonStyle:"buttonStyle",size:"size",disabled:"disabled"},attrs:Sz,ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},styles:['.hc-button{display:inline-flex;align-items:center;justify-content:center;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;user-select:none;background-image:none;border:none;border-radius:5px;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.hc-button[disabled]{cursor:not-allowed}.hc-button:focus{outline:none;border-bottom:none;box-shadow:0 0 0 2px #00aeff66}.hc-button:active{background-image:none;outline:none}.hc-button::-moz-focus-inner{border:0}.hc-button.hc-primary{color:#fff;background-color:#00a859}.hc-button.hc-primary:focus{background-color:#008647;box-shadow:0 0 0 3px #00a85966}.hc-button.hc-primary:hover{background-color:#009750;color:#fff}.hc-button.hc-primary:active{background-color:#008647;color:#fff}.hc-button.hc-primary[disabled],.hc-button.hc-primary[disabled]:hover,.hc-button.hc-primary[disabled]:focus,.hc-button.hc-primary[disabled]:active{background-color:#00a859;opacity:.35}.hc-button.hc-primary-alt{color:#fff;background-color:#6e53a3}.hc-button.hc-primary-alt:focus{background-color:#584282;box-shadow:0 0 0 3px #6e53a366}.hc-button.hc-primary-alt:hover{background-color:#634b93;color:#fff}.hc-button.hc-primary-alt:active{background-color:#584282;color:#fff}.hc-button.hc-primary-alt[disabled],.hc-button.hc-primary-alt[disabled]:hover,.hc-button.hc-primary-alt[disabled]:focus,.hc-button.hc-primary-alt[disabled]:active{background-color:#6e53a3;opacity:.35}.hc-button.hc-destructive{color:#fff;background-color:#f13c45}.hc-button.hc-destructive:focus{background-color:#c13037;box-shadow:0 0 0 3px #f13c4566}.hc-button.hc-destructive:hover{background-color:#d9363e;color:#fff}.hc-button.hc-destructive:active{background-color:#c13037;color:#fff}.hc-button.hc-destructive[disabled],.hc-button.hc-destructive[disabled]:hover,.hc-button.hc-destructive[disabled]:focus,.hc-button.hc-destructive[disabled]:active{background-color:#f13c45;opacity:.35}.hc-button.hc-neutral{color:#fff;background-color:#6d6e70}.hc-button.hc-neutral:focus{background-color:#57585a;box-shadow:0 0 0 3px #6d6e7066}.hc-button.hc-neutral:hover{background-color:#626365;color:#fff}.hc-button.hc-neutral:active{background-color:#57585a;color:#fff}.hc-button.hc-neutral[disabled],.hc-button.hc-neutral[disabled]:hover,.hc-button.hc-neutral[disabled]:focus,.hc-button.hc-neutral[disabled]:active{background-color:#6d6e70;opacity:.35}.hc-button.hc-secondary{color:#fff;background-color:#f1f1f1;color:#515353;border:1.5px solid #cccccc;height:36px;line-height:33px;padding-right:19px}.hc-button.hc-secondary:focus{background-color:#d9d9d9;box-shadow:0 0 0 3px #f1f1f166}.hc-button.hc-secondary:hover{background-color:#e5e5e5;color:#fff}.hc-button.hc-secondary:active{background-color:#d9d9d9;color:#fff}.hc-button.hc-secondary[disabled],.hc-button.hc-secondary[disabled]:hover,.hc-button.hc-secondary[disabled]:focus,.hc-button.hc-secondary[disabled]:active{background-color:#f1f1f1;opacity:.35}.hc-button.hc-secondary:hover{color:#333}.hc-button.hc-secondary:focus{box-shadow:0 0 0 2px #00aeff66}.hc-button.hc-secondary[disabled]:hover{color:#515353}.hc-button.hc-minimal{background-color:transparent;color:#6d6e70}.hc-button.hc-minimal:hover{color:#333;background-color:#e0e0e0}.hc-button.hc-minimal:active{background-color:#d3d3d3}.hc-button.hc-minimal[disabled],.hc-button.hc-minimal[disabled]:hover,.hc-button.hc-minimal[disabled]:focus,.hc-button.hc-minimal[disabled]:active{background-color:transparent;color:#ccc}.hc-button.hc-sm{padding:3px 12px;height:26px;min-width:auto;font-size:1rem;line-height:14px}.hc-button.hc-md{padding:0 20px;height:35px;min-width:150px;font-size:1.0714285714rem;line-height:15px}.hc-button.hc-lg{padding:0 30px;height:40px;min-width:200px;font-size:1.2142857143rem;line-height:17px}.hc-button.hc-link,.hc-button.hc-link-inline{background-color:transparent;color:#00aeff;font-weight:600}.hc-button.hc-link .label,.hc-button.hc-link-inline .label{color:#6d6e70;font-weight:400;margin-right:10px}.hc-button.hc-link .value,.hc-button.hc-link-inline .value{color:#333;font-weight:400;margin-right:10px}.hc-button.hc-link:hover,.hc-button.hc-link-inline:hover{color:#33beff}.hc-button.hc-link:active,.hc-button.hc-link-inline:active{color:#008bcc}.hc-button.hc-link[disabled],.hc-button.hc-link[disabled]:hover,.hc-button.hc-link[disabled]:focus,.hc-button.hc-link[disabled]:active,.hc-button.hc-link-inline[disabled],.hc-button.hc-link-inline[disabled]:hover,.hc-button.hc-link-inline[disabled]:focus,.hc-button.hc-link-inline[disabled]:active{opacity:.35;color:#00aeff}.hc-button.hc-link[disabled] .label,.hc-button.hc-link[disabled] .value,.hc-button.hc-link[disabled]:hover .label,.hc-button.hc-link[disabled]:hover .value,.hc-button.hc-link[disabled]:focus .label,.hc-button.hc-link[disabled]:focus .value,.hc-button.hc-link[disabled]:active .label,.hc-button.hc-link[disabled]:active .value,.hc-button.hc-link-inline[disabled] .label,.hc-button.hc-link-inline[disabled] .value,.hc-button.hc-link-inline[disabled]:hover .label,.hc-button.hc-link-inline[disabled]:hover .value,.hc-button.hc-link-inline[disabled]:focus .label,.hc-button.hc-link-inline[disabled]:focus .value,.hc-button.hc-link-inline[disabled]:active .label,.hc-button.hc-link-inline[disabled]:active .value{color:#333}.hc-button.hc-link-inline{padding:0;height:auto;width:auto;min-width:0;font-size:inherit;line-height:inherit;text-align:inherit;white-space:inherit;vertical-align:inherit;font-family:inherit;border:none}.hc-button.hc-link-inline:focus{outline:none;border-radius:0;box-shadow:0 2px #00aeff}.hc-button.hc-button-blue{color:#fff;background-color:#00aeff}.hc-button.hc-button-blue:focus{background-color:#008bcc;box-shadow:0 0 0 3px #00aeff66}.hc-button.hc-button-blue:hover{background-color:#009de6;color:#fff}.hc-button.hc-button-blue:active{background-color:#008bcc;color:#fff}.hc-button.hc-button-blue[disabled],.hc-button.hc-button-blue[disabled]:hover,.hc-button.hc-button-blue[disabled]:focus,.hc-button.hc-button-blue[disabled]:active{background-color:#00aeff;opacity:.35}.hc-button.hc-button-green{color:#fff;background-color:#00a859}.hc-button.hc-button-green:focus{background-color:#008647;box-shadow:0 0 0 3px #00a85966}.hc-button.hc-button-green:hover{background-color:#009750;color:#fff}.hc-button.hc-button-green:active{background-color:#008647;color:#fff}.hc-button.hc-button-green[disabled],.hc-button.hc-button-green[disabled]:hover,.hc-button.hc-button-green[disabled]:focus,.hc-button.hc-button-green[disabled]:active{background-color:#00a859;opacity:.35}.hc-button.hc-button-purple{color:#fff;background-color:#6e53a3}.hc-button.hc-button-purple:focus{background-color:#584282;box-shadow:0 0 0 3px #6e53a366}.hc-button.hc-button-purple:hover{background-color:#634b93;color:#fff}.hc-button.hc-button-purple:active{background-color:#584282;color:#fff}.hc-button.hc-button-purple[disabled],.hc-button.hc-button-purple[disabled]:hover,.hc-button.hc-button-purple[disabled]:focus,.hc-button.hc-button-purple[disabled]:active{background-color:#6e53a3;opacity:.35}.hc-button.hc-button-red{color:#fff;background-color:#f13c45}.hc-button.hc-button-red:focus{background-color:#c13037;box-shadow:0 0 0 3px #f13c4566}.hc-button.hc-button-red:hover{background-color:#d9363e;color:#fff}.hc-button.hc-button-red:active{background-color:#c13037;color:#fff}.hc-button.hc-button-red[disabled],.hc-button.hc-button-red[disabled]:hover,.hc-button.hc-button-red[disabled]:focus,.hc-button.hc-button-red[disabled]:active{background-color:#f13c45;opacity:.35}.hc-button.hc-button-orange{color:#fff;background-color:#f8961d}.hc-button.hc-button-orange:focus{background-color:#c67817;box-shadow:0 0 0 3px #f8961d66}.hc-button.hc-button-orange:hover{background-color:#df871a;color:#fff}.hc-button.hc-button-orange:active{background-color:#c67817;color:#fff}.hc-button.hc-button-orange[disabled],.hc-button.hc-button-orange[disabled]:hover,.hc-button.hc-button-orange[disabled]:focus,.hc-button.hc-button-orange[disabled]:active{background-color:#f8961d;opacity:.35}.hc-button.hc-button-ruby-red{color:#fff;background-color:#951c1e}.hc-button.hc-button-ruby-red:focus{background-color:#771618;box-shadow:0 0 0 3px #951c1e66}.hc-button.hc-button-ruby-red:hover{background-color:#86191b;color:#fff}.hc-button.hc-button-ruby-red:active{background-color:#771618;color:#fff}.hc-button.hc-button-ruby-red[disabled],.hc-button.hc-button-ruby-red[disabled]:hover,.hc-button.hc-button-ruby-red[disabled]:focus,.hc-button.hc-button-ruby-red[disabled]:active{background-color:#951c1e;opacity:.35}.hc-button.hc-button-deep-red{color:#fff;background-color:#cc2027}.hc-button.hc-button-deep-red:focus{background-color:#a31a1f;box-shadow:0 0 0 3px #cc202766}.hc-button.hc-button-deep-red:hover{background-color:#b81d23;color:#fff}.hc-button.hc-button-deep-red:active{background-color:#a31a1f;color:#fff}.hc-button.hc-button-deep-red[disabled],.hc-button.hc-button-deep-red[disabled]:hover,.hc-button.hc-button-deep-red[disabled]:focus,.hc-button.hc-button-deep-red[disabled]:active{background-color:#cc2027;opacity:.35}.hc-button.hc-button-red-orange{color:#fff;background-color:#f05323}.hc-button.hc-button-red-orange:focus{background-color:#c0421c;box-shadow:0 0 0 3px #f0532366}.hc-button.hc-button-red-orange:hover{background-color:#d84b20;color:#fff}.hc-button.hc-button-red-orange:active{background-color:#c0421c;color:#fff}.hc-button.hc-button-red-orange[disabled],.hc-button.hc-button-red-orange[disabled]:hover,.hc-button.hc-button-red-orange[disabled]:focus,.hc-button.hc-button-red-orange[disabled]:active{background-color:#f05323;opacity:.35}.hc-button.hc-button-magenta{color:#fff;background-color:#a94c9d}.hc-button.hc-button-magenta:focus{background-color:#873d7e;box-shadow:0 0 0 3px #a94c9d66}.hc-button.hc-button-magenta:hover{background-color:#98448d;color:#fff}.hc-button.hc-button-magenta:active{background-color:#873d7e;color:#fff}.hc-button.hc-button-magenta[disabled],.hc-button.hc-button-magenta[disabled]:hover,.hc-button.hc-button-magenta[disabled]:focus,.hc-button.hc-button-magenta[disabled]:active{background-color:#a94c9d;opacity:.35}.hc-button.hc-button-pink{color:#fff;background-color:#ef4767}.hc-button.hc-button-pink:focus{background-color:#bf3952;box-shadow:0 0 0 3px #ef476766}.hc-button.hc-button-pink:hover{background-color:#d7405d;color:#fff}.hc-button.hc-button-pink:active{background-color:#bf3952;color:#fff}.hc-button.hc-button-pink[disabled],.hc-button.hc-button-pink[disabled]:hover,.hc-button.hc-button-pink[disabled]:focus,.hc-button.hc-button-pink[disabled]:active{background-color:#ef4767;opacity:.35}.hc-button.hc-button-light-pink{color:#fff;background-color:#f8c8db}.hc-button.hc-button-light-pink:focus{background-color:#c6a0af;box-shadow:0 0 0 3px #f8c8db66}.hc-button.hc-button-light-pink:hover{background-color:#dfb4c5;color:#fff}.hc-button.hc-button-light-pink:active{background-color:#c6a0af;color:#fff}.hc-button.hc-button-light-pink[disabled],.hc-button.hc-button-light-pink[disabled]:hover,.hc-button.hc-button-light-pink[disabled]:focus,.hc-button.hc-button-light-pink[disabled]:active{background-color:#f8c8db;opacity:.35}.hc-button.hc-button-azure{color:#fff;background-color:#007bff}.hc-button.hc-button-azure:focus{background-color:#0062cc;box-shadow:0 0 0 3px #007bff66}.hc-button.hc-button-azure:hover{background-color:#006fe6;color:#fff}.hc-button.hc-button-azure:active{background-color:#0062cc;color:#fff}.hc-button.hc-button-azure[disabled],.hc-button.hc-button-azure[disabled]:hover,.hc-button.hc-button-azure[disabled]:focus,.hc-button.hc-button-azure[disabled]:active{background-color:#007bff;opacity:.35}.hc-button.hc-button-teal{color:#fff;background-color:#00acac}.hc-button.hc-button-teal:focus{background-color:#008a8a;box-shadow:0 0 0 3px #00acac66}.hc-button.hc-button-teal:hover{background-color:#009b9b;color:#fff}.hc-button.hc-button-teal:active{background-color:#008a8a;color:#fff}.hc-button.hc-button-teal[disabled],.hc-button.hc-button-teal[disabled]:hover,.hc-button.hc-button-teal[disabled]:focus,.hc-button.hc-button-teal[disabled]:active{background-color:#00acac;opacity:.35}.hc-button.hc-button-dark-green{color:#fff;background-color:#006c4e}.hc-button.hc-button-dark-green:focus{background-color:#00563e;box-shadow:0 0 0 3px #006c4e66}.hc-button.hc-button-dark-green:hover{background-color:#006146;color:#fff}.hc-button.hc-button-dark-green:active{background-color:#00563e;color:#fff}.hc-button.hc-button-dark-green[disabled],.hc-button.hc-button-dark-green[disabled]:hover,.hc-button.hc-button-dark-green[disabled]:focus,.hc-button.hc-button-dark-green[disabled]:active{background-color:#006c4e;opacity:.35}.hc-button.hc-button-brown{color:#fff;background-color:#553e36}.hc-button.hc-button-brown:focus{background-color:#44322b;box-shadow:0 0 0 3px #553e3666}.hc-button.hc-button-brown:hover{background-color:#4d3831;color:#fff}.hc-button.hc-button-brown:active{background-color:#44322b;color:#fff}.hc-button.hc-button-brown[disabled],.hc-button.hc-button-brown[disabled]:hover,.hc-button.hc-button-brown[disabled]:focus,.hc-button.hc-button-brown[disabled]:active{background-color:#553e36;opacity:.35}.hc-button.hc-button-purple-gray{color:#fff;background-color:#776c7f}.hc-button.hc-button-purple-gray:focus{background-color:#5f5666;box-shadow:0 0 0 3px #776c7f66}.hc-button.hc-button-purple-gray:hover{background-color:#6b6172;color:#fff}.hc-button.hc-button-purple-gray:active{background-color:#5f5666;color:#fff}.hc-button.hc-button-purple-gray[disabled],.hc-button.hc-button-purple-gray[disabled]:hover,.hc-button.hc-button-purple-gray[disabled]:focus,.hc-button.hc-button-purple-gray[disabled]:active{background-color:#776c7f;opacity:.35}.hc-button.hc-button-yellow{color:#fff;background-color:#f5ed56}.hc-button.hc-button-yellow:focus{background-color:#c4be45;box-shadow:0 0 0 3px #f5ed5666}.hc-button.hc-button-yellow:hover{background-color:#ddd54d;color:#fff}.hc-button.hc-button-yellow:active{background-color:#c4be45;color:#fff}.hc-button.hc-button-yellow[disabled],.hc-button.hc-button-yellow[disabled]:hover,.hc-button.hc-button-yellow[disabled]:focus,.hc-button.hc-button-yellow[disabled]:active{background-color:#f5ed56;opacity:.35}.hc-button.hc-button-yellow-orange{color:#fff;background-color:#e7c447}.hc-button.hc-button-yellow-orange:focus{background-color:#b99d39;box-shadow:0 0 0 3px #e7c44766}.hc-button.hc-button-yellow-orange:hover{background-color:#d0b040;color:#fff}.hc-button.hc-button-yellow-orange:active{background-color:#b99d39;color:#fff}.hc-button.hc-button-yellow-orange[disabled],.hc-button.hc-button-yellow-orange[disabled]:hover,.hc-button.hc-button-yellow-orange[disabled]:focus,.hc-button.hc-button-yellow-orange[disabled]:active{background-color:#e7c447;opacity:.35}.hc-button.hc-button-tan{color:#fff;background-color:#ebba82}.hc-button.hc-button-tan:focus{background-color:#bc9568;box-shadow:0 0 0 3px #ebba8266}.hc-button.hc-button-tan:hover{background-color:#d4a775;color:#fff}.hc-button.hc-button-tan:active{background-color:#bc9568;color:#fff}.hc-button.hc-button-tan[disabled],.hc-button.hc-button-tan[disabled]:hover,.hc-button.hc-button-tan[disabled]:focus,.hc-button.hc-button-tan[disabled]:active{background-color:#ebba82;opacity:.35}.hc-icon-button{display:inline-block;position:relative;height:35px;width:35px;line-height:35px;border-radius:5px;outline:none;border:none;margin:0;padding:0;background:transparent;text-decoration:none;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.hc-icon-button:focus{outline:none;box-shadow:0 0 0 2px #00aeff66}.hc-icon-button::-moz-focus-inner{border:0}.hc-split-button{display:inline-flex}.hc-split-button .hc-split-button-main{margin-right:0;border-bottom-right-radius:0;border-top-right-radius:0;min-width:auto}.hc-split-button .hc-split-button-toggle:not(.hc-secondary):not(.hc-minimal){min-width:auto;padding:8px 12px;margin-left:0;border-left:1px solid rgba(0,0,0,.12);border-bottom-left-radius:0;border-top-left-radius:0}.hc-split-button .hc-split-button-toggle:not(.hc-secondary):not(.hc-minimal):after{content:"";width:12px;height:8px;margin-top:2px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4Ljk4NyIgdmlld0JveD0iMCAwIDE0IDguOTg3Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iUGF0aF81IiBkYXRhLW5hbWU9IlBhdGggNSIgY2xhc3M9ImNscy0xIiBkPSJNMTUuMzQ4LTE0LjRhLjU2MS41NjEsMCwwLDAsMC0uNzkxbC0xLjQ0Mi0xLjQzM2EuNTUxLjU1MSwwLDAsMC0uNzgyLDBMOC41MTEtMTIuMDExLDMuOS0xNi42MjRhLjU1MS41NTEsMCwwLDAtLjc4MiwwTDEuNjc0LTE1LjE5MWEuNTYxLjU2MSwwLDAsMCwwLC43OTFMOC4xMi03Ljk2M2EuNTUxLjU1MSwwLDAsMCwuNzgyLDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS41MTEgMTYuNzg3KSIvPgo8L3N2Zz4K)}.hc-split-button .hc-split-button-toggle.hc-secondary{min-width:auto;padding:8px 12px;margin-left:0;border-left:0;border-bottom-left-radius:0;border-top-left-radius:0}.hc-split-button .hc-split-button-toggle.hc-secondary:after{content:"";width:12px;height:8px;margin-top:2px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4Ljk4NyIgdmlld0JveD0iMCAwIDE0IDguOTg3Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMzMzOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iUGF0aF81IiBkYXRhLW5hbWU9IlBhdGggNSIgY2xhc3M9ImNscy0xIiBkPSJNMTUuMzQ4LTE0LjRhLjU2MS41NjEsMCwwLDAsMC0uNzkxbC0xLjQ0Mi0xLjQzM2EuNTUxLjU1MSwwLDAsMC0uNzgyLDBMOC41MTEtMTIuMDExLDMuOS0xNi42MjRhLjU1MS41NTEsMCwwLDAtLjc4MiwwTDEuNjc0LTE1LjE5MWEuNTYxLjU2MSwwLDAsMCwwLC43OTFMOC4xMi03Ljk2M2EuNTUxLjU1MSwwLDAsMCwuNzgyLDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS41MTEgMTYuNzg3KSIvPgo8L3N2Zz4K)}.hc-split-button .hc-split-button-toggle.hc-minimal{min-width:auto;padding:8px 12px;margin-left:0;border-left:0;border-bottom-left-radius:0;border-top-left-radius:0;border-left:2px solid rgba(0,0,0,.12)!important}.hc-split-button .hc-split-button-toggle.hc-minimal:after{content:"";width:12px;height:8px;margin-top:2px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4Ljk4NyIgdmlld0JveD0iMCAwIDE0IDguOTg3Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMzMzOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iUGF0aF81IiBkYXRhLW5hbWU9IlBhdGggNSIgY2xhc3M9ImNscy0xIiBkPSJNMTUuMzQ4LTE0LjRhLjU2MS41NjEsMCwwLDAsMC0uNzkxbC0xLjQ0Mi0xLjQzM2EuNTUxLjU1MSwwLDAsMC0uNzgyLDBMOC41MTEtMTIuMDExLDMuOS0xNi42MjRhLjU1MS41NTEsMCwwLDAtLjc4MiwwTDEuNjc0LTE1LjE5MWEuNTYxLjU2MSwwLDAsMCwwLC43OTFMOC4xMi03Ljk2M2EuNTUxLjU1MSwwLDAsMCwuNzgyLDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS41MTEgMTYuNzg3KSIvPgo8L3N2Zz4K)}.hc-split-button .hc-split-button-toggle.hc-sm{padding:3px 7px}.hc-split-button .hc-split-button-toggle.hc-sm:after{width:10px;height:6px;margin-top:1px}.hc-split-button .hc-split-button-toggle.hc-lg{padding:0 16px}.hc-split-button .hc-split-button-toggle.hc-lg:after{width:14px;height:9px}.hc-filters-icon{width:19px;height:19px;display:block;margin-right:7px;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjU0NjEgNDcuMjUgMTkuMjgxIDIwIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMDBhZWZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8ZyBpZD0iRmlsdGVyc19CdXR0b24iIGRhdGEtbmFtZT0iRmlsdGVycyBCdXR0b24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU0NjEgNjcuMjUpIHJvdGF0ZSgtOTApIj4KICAgIDxwYXRoIGlkPSJQYXRoXzMwNCIgZGF0YS1uYW1lPSJQYXRoIDMwNCIgY2xhc3M9ImNscy0xIiBkPSJNOS45MzksMi45OTNWLjcxOUEuNzE5LjcxOSwwLDAsMCw4LjUuNzE5djIuMzZtMCw0Ljg5MnYxMC41OWgwYS43MTkuNzE5LDAsMSwwLDEuNDM5LDBWNy45NDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02LjA1NCkiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzMwNSIgZGF0YS1uYW1lPSJQYXRoIDMwNSIgY2xhc3M9ImNscy0xIiBkPSJNNi40NzUsMTEuMDIzYTMuMjM3LDMuMjM3LDAsMCwwLTYuNDc1LDAsMy4yMzcsMy4yMzcsMCwwLDAsNi40NzUsMFptLTUuMDM2LDBhMS43ODQsMS43ODQsMCwxLDEsMS43ODQsMS43ODRBMS43OTMsMS43OTMsMCwwLDEsMS40MzksMTEuMDIzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtNS41NTUpIi8+CiAgICA8cGF0aCBpZD0iUGF0aF8zMDYiIGRhdGEtbmFtZT0iUGF0aCAzMDYiIGNsYXNzPSJjbHMtMSIgZD0iTTU2LjkzOSwyLjk5M1YuNzE5YS43MTkuNzE5LDAsMCwwLTEuNDM5LDB2Mi4zNm0wLDQuODkydjEwLjU5aDBhLjcxOS43MTksMCwxLDAsMS40MzksMFY3Ljk0MiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM5LjUyOSkiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzMwNyIgZGF0YS1uYW1lPSJQYXRoIDMwNyIgY2xhc3M9ImNscy0xIiBkPSJNNTMuNDc1LDExLjAyM2EzLjIzNywzLjIzNywwLDEsMC0zLjI1MiwzLjIyM0EzLjIxOCwzLjIxOCwwLDAsMCw1My40NzUsMTEuMDIzWm0tNS4wMzYsMGExLjc4NCwxLjc4NCwwLDEsMSwxLjc4NCwxLjc4NEExLjc5MywxLjc5MywwLDAsMSw0OC40MzksMTEuMDIzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMzLjQ3NSAtNS41NTUpIi8+CiAgICA8cGF0aCBpZD0iUGF0aF8zMDgiIGRhdGEtbmFtZT0iUGF0aCAzMDgiIGNsYXNzPSJjbHMtMSIgZD0iTTMyLjUsMTYuMjg4djIuMjczYS43MTkuNzE5LDAsMCwwLDEuNDM5LDBWMTYuMm0wLTQuODkyVi43MTloMGEuNzE5LjcxOSwwLDAsMC0xLjQzOSwwVjExLjMzOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIzLjE0NykiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzMwOSIgZGF0YS1uYW1lPSJQYXRoIDMwOSIgY2xhc3M9ImNscy0xIiBkPSJNMjMuNSw0MC4wMjNBMy4yMzcsMy4yMzcsMCwxLDAsMjYuNzUyLDM2LjgsMy4yMTgsMy4yMTgsMCwwLDAsMjMuNSw0MC4wMjNabTUuMDM2LDBhMS43ODQsMS43ODQsMCwxLDEtMS43ODQtMS43ODRBMS43OTMsMS43OTMsMCwwLDEsMjguNTM2LDQwLjAyM1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNi43MzcgLTI2LjIxKSIvPgogIDwvZz4KPC9zdmc+Cg==)}\n'],encapsulation:2,changeDetection:0}),n})(),CV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=rt({imports:[qa,EM,EM]}),n})();class ep{constructor(){this._errorState=!1,this._errorMessage="",this._errors={},this._isDisabled=!1,this._isRequired=!1,this._tight=!1}}const wV={provide:yn,useExisting:Ze(()=>DV),multi:!0};let DV=(()=>{class n{constructor(){this._required=!1}validate(e){return this.required?bT.requiredTrue(e):null}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}registerOnValidatorChange(e){this._onChange=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["hc-checkbox","required","","formControlName",""],["hc-checkbox","required","","formControl",""],["hc-checkbox","required","","ngModel",""]],inputs:{required:"required"},features:[Me([wV])]}),n})();
|
|
2427
|
+
*/hu(489);const no=["*"],Jk=["focusTrapElement"];function vz(n,t){if(1&n&&Nt(0,"div"),2&n){const e=Vt(2);Qg("hc-pop-arrow ",e._yAlignClass," ",e._xAlignClass,"")}}function yz(n,t){if(1&n){const e=bh();X(0,"div",0,1),Ct("click",function(){return Ui(e),Yi(Vt()._popContainerClicked())})("@transformPopover.done",function(o){return Ui(e),Yi(Vt()._onAnimationDone(o))}),_t(2),Ft(3,vz,1,4,"div",2),ce()}if(2&n){const e=Vt();Qg("",e._yAlignClass," ",e._xAlignClass,""),Wr("max-width",e.maxWidth),ge("hc-pop-container-basic",!e.disableStyle),ot("ngClass",e._classList)("@transformPopover",e._getAnimation()),Le(3),ot("ngIf",e.showArrow)}}function Mz(n,t){1&n&&Nt(0,"div",4)}function Cz(n,t){if(1&n){const e=bh();X(0,"div",1),Ct("@transformPopover.done",function(o){return Ui(e),Yi(Vt()._onAnimationDone(o))}),X(1,"div",2),wt(2),ce(),Ft(3,Mz,1,0,"div",3),ce()}if(2&n){const e=Vt();Qg("",e._yAlignClass," ",e._xAlignClass,""),Wr("max-width",e.maxWidth),ge("hc-pop-container-basic",!e.disableStyle),ot("ngClass",e._classList)("@transformPopover",e._getAnimation()),Le(2),Vs(" ",e.tooltipContent," "),Le(1),ot("ngIf",e.showArrow)}}const Sz=["hc-button",""];function kz(n,t){1&n&&(X(0,"span",7),wt(1,"\xa0*"),ce())}function Ez(n,t){if(1&n&&(X(0,"span",5)(1,"label",5),_t(2,1),Ft(3,kz,2,0,"span",6),ce()()),2&n){const e=Vt();ge("hc-form-field-label-wrapper-tight",e.tight&&!e._mobileInput),ot("ngClass",e.inline?"hc-form-field-label-wrapper-inline":"hc-form-field-label-wrapper"),Le(1),ge("hc-form-field-label-tight",e.tight),ot("ngClass",e.inline?"hc-form-field-label-inline":"hc-form-field-label"),Jt("for",e._control._componentId),Le(2),ot("ngIf",e._control._isRequired&&!e._control._isDisabled)}}function Lz(n,t){1&n&&(X(0,"div",12),_t(1,3),ce())}function Nz(n,t){1&n&&(X(0,"div",13),_t(1,4),ce())}function Az(n,t){if(1&n&&(X(0,"div"),Ft(1,Lz,2,0,"div",8),X(2,"div",9,10),_t(4,2),ce(),Ft(5,Nz,2,0,"div",11),ce()),2&n){const e=Vt();ge("hc-form-field-flex",!e.inline)("hc-form-field-flex-inline",e.inline)("hc-form-field-invalid",e._shouldShowErrorMessages())("hc-form-field-flex-focused",e._hasFocusedInput),Le(1),ot("ngIf",e._prefixChildren.length),Le(1),ge("hc-form-field-infix-tight",e.tight&&!e._mobileInput)("hc-form-field-infix-mobile",e._mobileInput),Le(3),ot("ngIf",e._suffixChildren.length)}}function Oz(n,t){if(1&n&&(X(0,"div"),_t(1,5),ce()),2&n){const e=Vt();ge("hc-form-field-non-input",!e.inline)("hc-form-field-non-input-inline",e.inline)("hc-form-field-non-input-inline-tight",e.inline&&e.tight)("hc-form-field-invalid",e._shouldShowErrorMessages())}}function Pz(n,t){if(1&n&&(X(0,"hc-error"),wt(1),ce()),2&n){const e=Vt(2);Le(1),Qa(e._control._errorMessage)}}function jz(n,t){if(1&n&&(X(0,"div",14),Ft(1,Pz,2,1,"hc-error",15),_t(2,6),ce()),2&n){const e=Vt();Le(1),ot("ngIf",e._control._errorMessage&&e._control._errorMessage.length)}}const Rz=[[["hc-label-ext"]],[["hc-label"]],[["","hcInput",""]],[["","hcPrefix",""]],[["","hcSuffix",""]],"*",[["hc-error"]]],zz=["hc-label-ext","hc-label","[hcInput]","[hcPrefix]","[hcSuffix]","*","hc-error"];function gF(n,t){1&n&&(X(0,"div",3),function Yu(){fe.lFrame.currentNamespace="svg"}(),X(1,"svg",4),Nt(2,"path",5)(3,"path",6),ce()())}function bi(n){if(null==n)return!1;if("boolean"==typeof n)return n;if("false"===n.toLowerCase())return!1;if("true"===n.toLowerCase()||""===n)return!0;throw Error(String(n)+" is not a boolean value")}document.createElement("p"),new G("IAppSwitcherService"),new G("IAppSwitcherConfig");let Q5=(()=>{class n{constructor(e,i){this.elementRef=e,this._fontIcon="",this._fontSet="",this._previousFontIcon="",this._previousFontSet="",this._hostClass=!0,i||e.nativeElement.setAttribute("aria-hidden","true")}get fontIcon(){return this._fontIcon}set fontIcon(e){this._fontIcon=this._cleanupFontValue(e)}get fontSet(){return this._fontSet}set fontSet(e){this._fontSet=this._cleanupFontValue(e)}ngOnChanges(){this._updateFontIcon()}_updateFontIcon(){const e=this.elementRef.nativeElement;this._previousFontIcon!==this._fontIcon&&(this._previousFontIcon&&e.classList.remove(this._previousFontIcon),this._fontIcon&&(e.classList.add(this._fontIcon),this._previousFontIcon=this._fontIcon)),this._previousFontSet!==this._fontSet&&(this._previousFontSet&&e.classList.remove(this._previousFontSet),this._fontSet&&(e.classList.add(this._fontSet),this._previousFontSet=this._fontSet))}_cleanupFontValue(e){return(e||"").trim().split(" ")[0]}}return n.\u0275fac=function(e){return new(e||n)(I(Se),function Ar(n){return function Vp(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let o=0;for(;o<i;){const r=e[o];if(Op(r))break;if(0===r)o+=2;else if("number"==typeof r)for(o++;o<i&&"string"==typeof e[o];)o++;else{if(r===t)return e[o+1];o+=2}}}return null}(Tt(),n)}("aria-hidden"))},n.\u0275cmp=nt({type:n,selectors:[["hc-icon"]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-icon",i._hostClass)},inputs:{fontIcon:"fontIcon",fontSet:"fontSet"},features:[an],ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},styles:["[icon-sm],.hc-icon-sm{font-size:14px!important;height:14px!important;width:14px!important}[icon-md],.hc-icon-md{font-size:20px!important;height:20px!important;width:20px!important}[icon-lg],.hc-icon-lg{font-size:36px!important;height:36px!important;width:36px!important}.hc-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;font-size:20px;height:20px;text-align:center;width:20px}\n"],encapsulation:2}),n})();const a1=Ai("transformPopover",[We(":enter",[ve({opacity:0}),Re("{{openTransition}}",ve({opacity:1}))]),We(":leave",[Re("{{closeTransition}}",ve({opacity:0}))])]);var Qt=(()=>(function(n){n[n.OPEN=0]="OPEN",n[n.CLOSE=1]="CLOSE",n[n.TOGGLE=2]="TOGGLE",n[n.REPOSITION=3]="REPOSITION",n[n.UPDATE_CONFIG=4]="UPDATE_CONFIG",n[n.REALIGN=5]="REALIGN"}(Qt||(Qt={})),Qt))();class io{constructor(t,e){this.action=t,this.value=e}}let Z5=(()=>{class n{constructor(){this.store=new oe}dispatch(e){this.store.next(e)}events(){return this.store.asObservable()}dispose(){this.store.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();const c1=["noop","block","reposition","close"],l1=["click","mousedown","rightclick","hover","none"],u1=["before","start","center","end","after","mouse"],d1=["above","start","center","end","below","mouse"];function p_(n,t,e){return`Invalid ${n}: '${t}'. Valid options are ${e.map(i=>`'${i}'`).join(", ")}.`}let TM=(()=>{class n{constructor(e){this.ref=e,this._hostClass=!0,this._itemEnter=new be}focus(){this.ref.nativeElement.focus(),this._itemEnter.emit()}blur(){this.ref.nativeElement.blur()}}return n.\u0275fac=function(e){return new(e||n)(I(Se))},n.\u0275dir=B({type:n,selectors:[["","hcMenuItem",""],["","hcButtonItem",""]],hostVars:2,hostBindings:function(e,i){1&e&&Ct("mouseenter",function(){return i.focus()})("touchend",function(){return i.blur()})("touchcancel",function(){return i.blur()})("mouseleave",function(){return i.blur()}),2&e&&ge("hc-menu-item",i._hostClass)},outputs:{_itemEnter:"_itemEnter"}}),n})();const h1="100ms linear",p1="0ms linear";let kM=(()=>{class n{constructor(e,i,o){this._elementRef=e,this._focusTrapFactory=i,this._document=o,this.disableStyle=!1,this.showArrow=!0,this._horizontalAlign="center",this._verticalAlign="below",this._forceAlignment=!1,this._lockAlignment=!1,this._maxWidth="none",this._autoFocus=!1,this._autoFocusOverride=!1,this._restoreFocus=!0,this._restoreFocusOverride=!0,this._scrollStrategy="reposition",this._hasBackdrop=!0,this._interactiveClose=!0,this._openTransition=h1,this._closeTransition=h1,this.shouldAnimate=!0,this.backdropClass="",this.autoCloseOnContentClick=!1,this.opened=new be,this.closed=new be,this.afterOpen=new be,this.afterClose=new be,this.backdropClicked=new be,this.overlayKeydown=new be,this._offsetPos=[0,0],this._classList={},this._yAlignClass="",this._xAlignClass="",this._open=!1,this._subMenuOpen=!1,this._parentClose=new oe,this._parentCloseBlock=!1}get horizontalAlign(){return this._horizontalAlign}set horizontalAlign(e){this._validateHorizontalAlign(e),this._horizontalAlign!==e&&(this._horizontalAlign=e,this._dispatchConfigNotification(new io(Qt.REPOSITION)))}get xAlign(){return this.horizontalAlign}set xAlign(e){this.horizontalAlign=e}get verticalAlign(){return this._verticalAlign}set verticalAlign(e){this._validateVerticalAlign(e),this._verticalAlign!==e&&(this._verticalAlign=e,this._dispatchConfigNotification(new io(Qt.REPOSITION)))}get yAlign(){return this.verticalAlign}set yAlign(e){this.verticalAlign=e}get forceAlignment(){return this._forceAlignment}set forceAlignment(e){const i=mi(e);this._forceAlignment!==i&&(this._forceAlignment=i,this._dispatchConfigNotification(new io(Qt.REPOSITION)))}get lockAlignment(){return this._lockAlignment}set lockAlignment(e){const i=mi(e);this._lockAlignment!==i&&(this._lockAlignment=mi(e),this._dispatchConfigNotification(new io(Qt.REPOSITION)))}get maxWidth(){return this._maxWidth}set maxWidth(e){this._maxWidth=e}get autoFocus(){return this._autoFocus&&this._autoFocusOverride}set autoFocus(e){this._autoFocus=mi(e)}get restoreFocus(){return this._restoreFocus&&this._restoreFocusOverride}set restoreFocus(e){this._restoreFocus=mi(e)}get scrollStrategy(){return this._scrollStrategy}set scrollStrategy(e){this._validateScrollStrategy(e),this._scrollStrategy!==e&&(this._scrollStrategy=e,this._dispatchConfigNotification(new io(Qt.UPDATE_CONFIG)))}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=mi(e),this._dispatchConfigNotification(new io(Qt.UPDATE_CONFIG))}get interactiveClose(){return this._interactiveClose}set interactiveClose(e){this._interactiveClose=mi(e),this._dispatchConfigNotification(new io(Qt.UPDATE_CONFIG))}get openTransition(){return this._openTransition}set openTransition(e){e&&(this._openTransition=e)}get closeTransition(){return this._closeTransition}set closeTransition(e){e&&(this._closeTransition=e)}get parent(){return this._parentMenu}set parent(e){this._parentMenu&&this._parentClose.unsubscribe(),this._parentMenu=e,this._parentMenu&&(this._parentClose=this._parentMenu.closed.subscribe(()=>{this.isOpen()&&this.close()}))}ngOnInit(){this._setAlignmentClasses()}ngOnDestroy(){this._notifications&&this._notifications.dispose(),this._parentMenu&&this._parentClose.unsubscribe()}_popContainerClicked(){this.autoCloseOnContentClick&&this.close()}open(e={}){const i=new io(Qt.OPEN,e);this._dispatchActionNotification(i)}close(e){const i=new io(Qt.CLOSE,e);this._dispatchActionNotification(i),this.parent&&!this._parentCloseBlock&&this.parent.close()}toggle(){this.parent&&(this.parent._subMenuOpen=!this.isOpen());const e=new io(Qt.TOGGLE);this._dispatchActionNotification(e)}realign(){const e=new io(Qt.REALIGN);this._dispatchActionNotification(e)}isOpen(){return this._open}_getAnimation(){return{value:"visible",params:{openTransition:this.shouldAnimate?this.openTransition:p1,closeTransition:this.shouldAnimate?this.closeTransition:p1}}}_onAnimationDone(e){"visible"===e.toState?(this._trapFocus(),this.afterOpen.emit()):"void"===e.toState&&(this._restoreFocusAndDestroyTrap(),this.afterClose.emit())}_setAlignmentClasses(e=this.horizontalAlign,i=this.verticalAlign){this._setAlignmentClassesForAnimation(e,i),this._setAlignmentClassesForArrow()}_setAlignmentClassesForAnimation(e=this.horizontalAlign,i=this.verticalAlign){this._classList["hc-pop-before"]="before"===e||"end"===e,this._classList["hc-pop-after"]="after"===e||"start"===e,this._classList["hc-pop-above"]="above"===i||"end"===i,this._classList["hc-pop-below"]="below"===i||"start"===i,this._classList["hc-pop-center"]="center"===e||"center"===i}_setAlignmentClassesForArrow(e=this.horizontalAlign,i=this.verticalAlign){this._classList["hc-pop-show-arrow"]=this.showArrow&&("start"===e||"center"===e||"end"===e)&&("above"===i||"below"===i)||("start"===i||"center"===i||"end"===i)&&("before"===e||"after"===e),this._yAlignClass=this._classList["hc-pop-show-arrow"]?`hc-pop-arrow-y-${i}`:"",this._xAlignClass=this._classList["hc-pop-show-arrow"]?`hc-pop-arrow-x-${e}`:""}_keyFocus(e){const i=this._menuItems.toArray();e||i.reverse();let o=!1;for(let r=0;r<i.length;r++){if(o&&!i[r].ref.nativeElement.classList.contains("hc-divider")&&!i[r].ref.nativeElement.disabled)return void i[r].focus();i[r].ref.nativeElement===document.activeElement&&(o=!0)}for(let r=0;r<i.length;r++)if(!i[r].ref.nativeElement.classList.contains("hc-divider")&&!i[r].ref.nativeElement.disabled)return void i[r].focus()}_restoreFocusAndDestroyTrap(){const e=this._previouslyFocusedElement;e&&"focus"in e&&this.restoreFocus&&this._previouslyFocusedElement&&this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null,this._focusTrap&&(this._focusTrap.destroy(),this._focusTrap=void 0)}_savePreviouslyFocusedElement(){this._document&&(this._previouslyFocusedElement=this._document.activeElement)}_trapFocus(){!this._focusTrapElement||(!this._focusTrap&&this._focusTrapElement&&(this._focusTrap=this._focusTrapFactory.create(this._focusTrapElement.nativeElement)),this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady())}_dispatchConfigNotification(e){this._notifications&&this._notifications.dispatch(e)}_dispatchActionNotification(e){if(!this._notifications)throw function K5(){return Error("HcPopover is not anchored to any HcPopoverAnchorDirective.")}();this._notifications.dispatch(e)}_validateHorizontalAlign(e){if(-1===u1.indexOf(e))throw function J5(n){return Error(p_("horizontalAlign/xAlign",n,u1))}(e)}_validateVerticalAlign(e){if(-1===d1.indexOf(e))throw function q5(n){return Error(p_("verticalAlign/yAlign",n,d1))}(e)}_validateScrollStrategy(e){if(-1===c1.indexOf(e))throw function eV(n){return Error(p_("scrollStrategy",n,c1))}(e)}}return n.\u0275fac=function(e){return new(e||n)(I(Se),I(hT),I(rt,8))},n.\u0275cmp=nt({type:n,selectors:[["hc-pop"]],contentQueries:function(e,i,o){if(1&e&&yt(o,TM,5),2&e){let r;Oe(r=Pe())&&(i._menuItems=r)}},viewQuery:function(e,i){if(1&e&&(Ni(dn,5),Ni(Jk,5)),2&e){let o;Oe(o=Pe())&&(i._templateRef=o.first),Oe(o=Pe())&&(i._focusTrapElement=o.first)}},inputs:{disableStyle:"disableStyle",showArrow:"showArrow",horizontalAlign:"horizontalAlign",xAlign:"xAlign",verticalAlign:"verticalAlign",yAlign:"yAlign",forceAlignment:"forceAlignment",lockAlignment:"lockAlignment",maxWidth:"maxWidth",autoFocus:"autoFocus",restoreFocus:"restoreFocus",scrollStrategy:"scrollStrategy",hasBackdrop:"hasBackdrop",interactiveClose:"interactiveClose",openTransition:"openTransition",closeTransition:"closeTransition",parent:"parent",shouldAnimate:"shouldAnimate",backdropClass:"backdropClass",autoCloseOnContentClick:"autoCloseOnContentClick"},outputs:{opened:"opened",closed:"closed",afterOpen:"afterOpen",afterClose:"afterClose",backdropClicked:"backdropClicked",overlayKeydown:"overlayKeydown"},ngContentSelectors:no,decls:1,vars:0,consts:[[1,"hc-pop-container",3,"ngClass","click"],["focusTrapElement",""],[3,"class",4,"ngIf"]],template:function(e,i){1&e&&(vn(),Ft(0,yz,4,11,"ng-template"))},dependencies:[bm,Xl],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:2100}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.hc-pop-before.hc-pop-above{transform-origin:right bottom}[dir=rtl] .hc-pop-before.hc-pop-above{transform-origin:left bottom}.hc-pop-before.hc-pop-center{transform-origin:right center}[dir=rtl] .hc-pop-before.hc-pop-center{transform-origin:left center}.hc-pop-before.hc-pop-below{transform-origin:right top}[dir=rtl] .hc-pop-before.hc-pop-below{transform-origin:left top}.hc-pop-center.hc-pop-above{transform-origin:center bottom}.hc-pop-center.hc-pop-below{transform-origin:center top}.hc-pop-after.hc-pop-above{transform-origin:left bottom}[dir=rtl] .hc-pop-after.hc-pop-above{transform-origin:right bottom}.hc-pop-after.hc-pop-center{transform-origin:left center}[dir=rtl] .hc-pop-after.hc-pop-center{transform-origin:right center}.hc-pop-after.hc-pop-below{transform-origin:left top}[dir=rtl] .hc-pop-after.hc-pop-below{transform-origin:right top}.hc-pop-container-basic{background-color:#fff;border:1px solid #cccccc;border-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;color:#333;padding:12px}.hc-pop-show-arrow .hc-pop-arrow{background-color:#fff;border-style:solid;border-width:1px;display:block;height:10px;position:absolute;transform:rotate(45deg);width:10px}.hc-pop-arrow-x-start .hc-pop-arrow{left:5px}.hc-pop-arrow-x-center .hc-pop-arrow{left:calc(50% - 6px)}.hc-pop-arrow-x-end .hc-pop-arrow{left:calc(100% - 15px)}.hc-pop-arrow-y-start .hc-pop-arrow{top:5px}.hc-pop-arrow-y-center .hc-pop-arrow{top:calc(50% - 6px)}.hc-pop-arrow-y-end .hc-pop-arrow{top:calc(100% - 15px)}.hc-pop-arrow-y-above .hc-pop-arrow{border-color:transparent #cccccc #cccccc transparent;bottom:-6px}.hc-pop-arrow-y-below .hc-pop-arrow{border-color:#cccccc transparent transparent #cccccc;top:-6px}.hc-pop-arrow-x-before .hc-pop-arrow{border-color:#cccccc #cccccc transparent transparent;right:-6px}.hc-pop-arrow-x-after .hc-pop-arrow{border-color:transparent transparent #cccccc #cccccc;left:-6px}.hc-pop-arrow-y-above.hc-pop-show-arrow,.hc-pop-arrow-y-below.hc-pop-show-arrow{margin:6px 0;position:relative}.hc-pop-arrow-x-before.hc-pop-show-arrow,.hc-pop-arrow-x-after.hc-pop-show-arrow{margin:0 6px;position:relative}\n"],encapsulation:2,data:{animation:[a1]}}),n})(),tV=(()=>{class n extends kM{constructor(){super(...arguments),this.tooltipContent=""}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Xe(n)))(i||n)}}(),n.\u0275cmp=nt({type:n,selectors:[["hc-tooltip"]],inputs:{tooltipContent:"tooltipContent"},features:[ne],decls:2,vars:0,consts:[["_templateRef",""],[1,"hc-pop-container",",","hc-tooltip-container",3,"ngClass"],[1,"hc-tooltip"],["class","hc-pop-arrow hc-pop-arrow-y-above hc-pop-arrow-x-center",4,"ngIf"],[1,"hc-pop-arrow","hc-pop-arrow-y-above","hc-pop-arrow-x-center"]],template:function(e,i){1&e&&Ft(0,Cz,4,12,"ng-template",null,0,Fy)},dependencies:[bm,Xl],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:2100}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.hc-pop-before.hc-pop-above{transform-origin:right bottom}[dir=rtl] .hc-pop-before.hc-pop-above{transform-origin:left bottom}.hc-pop-before.hc-pop-center{transform-origin:right center}[dir=rtl] .hc-pop-before.hc-pop-center{transform-origin:left center}.hc-pop-before.hc-pop-below{transform-origin:right top}[dir=rtl] .hc-pop-before.hc-pop-below{transform-origin:left top}.hc-pop-center.hc-pop-above{transform-origin:center bottom}.hc-pop-center.hc-pop-below{transform-origin:center top}.hc-pop-after.hc-pop-above{transform-origin:left bottom}[dir=rtl] .hc-pop-after.hc-pop-above{transform-origin:right bottom}.hc-pop-after.hc-pop-center{transform-origin:left center}[dir=rtl] .hc-pop-after.hc-pop-center{transform-origin:right center}.hc-pop-after.hc-pop-below{transform-origin:left top}[dir=rtl] .hc-pop-after.hc-pop-below{transform-origin:right top}.hc-pop-container-basic{background-color:#fff;border:1px solid #cccccc;border-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;color:#333;padding:12px}.hc-pop-show-arrow .hc-pop-arrow{background-color:#fff;border-style:solid;border-width:1px;display:block;height:10px;position:absolute;transform:rotate(45deg);width:10px}.hc-pop-arrow-x-start .hc-pop-arrow{left:5px}.hc-pop-arrow-x-center .hc-pop-arrow{left:calc(50% - 6px)}.hc-pop-arrow-x-end .hc-pop-arrow{left:calc(100% - 15px)}.hc-pop-arrow-y-start .hc-pop-arrow{top:5px}.hc-pop-arrow-y-center .hc-pop-arrow{top:calc(50% - 6px)}.hc-pop-arrow-y-end .hc-pop-arrow{top:calc(100% - 15px)}.hc-pop-arrow-y-above .hc-pop-arrow{border-color:transparent #cccccc #cccccc transparent;bottom:-6px}.hc-pop-arrow-y-below .hc-pop-arrow{border-color:#cccccc transparent transparent #cccccc;top:-6px}.hc-pop-arrow-x-before .hc-pop-arrow{border-color:#cccccc #cccccc transparent transparent;right:-6px}.hc-pop-arrow-x-after .hc-pop-arrow{border-color:transparent transparent #cccccc #cccccc;left:-6px}.hc-pop-arrow-y-above.hc-pop-show-arrow,.hc-pop-arrow-y-below.hc-pop-show-arrow{margin:6px 0;position:relative}.hc-pop-arrow-x-before.hc-pop-show-arrow,.hc-pop-arrow-x-after.hc-pop-show-arrow{margin:0 6px;position:relative}\n",".hc-pop-container .hc-tooltip{background-color:#333;border-radius:4px;padding:7px;margin:-1px;color:#fff}.hc-pop-container .hc-tooltip+.hc-pop-arrow{background-color:#333!important;border-color:transparent!important}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:2100}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.hc-tooltip-container{line-height:14px}.hc-tooltip-container .hc-tooltip{margin-right:0;margin-left:0}.hc-tooltip-container .hc-pop-arrow{bottom:-6px}\n"],encapsulation:2,data:{animation:[a1]}}),n})(),f1=(()=>{class n{constructor(e,i,o,r){this._overlay=e,this._renderer=i,this._ngZone=o,this._dir=r,this.popoverOpened=new oe,this.popoverClosed=new oe,this._popoverOpen=!1,this._onDestroy=new oe,this._fixedPos=[]}ngOnDestroy(){this._destroyPopover(),this._notificationsSubscription&&this._notificationsSubscription.unsubscribe(),this._positionChangeSubscription&&this._positionChangeSubscription.unsubscribe(),this._onDestroy.next(),this._onDestroy.complete(),this.popoverOpened.complete(),this.popoverClosed.complete()}anchor(e,i,o){this._destroyPopover(),this._popover=e,this._viewContainerRef=i,this._anchor=o,this._popover._notifications=this._notifications=this._anchor._notifications=new Z5,this._subscribeToNotifications()}isPopoverOpen(){return this._popoverOpen}togglePopover(){return this._popoverOpen?this.closePopover():this.openPopover()}openPopover(e={}){this._popoverOpen||(this._applyOpenOptions(e),this._popover._componentOverlay=this._createOverlay(),this._subscribeToBackdrop(),this._subscribeToEscape(),this._subscribeToDetachments(),this._saveOpenedState(),this._popover._savePreviouslyFocusedElement())}closePopover(e,i=!1){this._unlistener&&this._unlistener(),this._popover._componentOverlay&&(this._saveClosedState(e,i),this._popover._componentOverlay.detach(),this._popover._restoreFocusAndDestroyTrap())}realignPopoverToAnchor(){this._popover._componentOverlay&&this._popover._componentOverlay.getConfig().positionStrategy.reapplyLastPosition()}getAnchorElement(){return this._anchor._elementRef}_applyOpenOptions(e){this._popover._restoreFocusOverride=!1!==e.restoreFocus,this._popover._autoFocusOverride=!1!==e.autoFocus,(e.x||e.y)&&(this._destroyPopoverOnceClosed(),this._fixedPos[0]=e.x?e.x:0,this._fixedPos[1]=e.y?e.y:0)}_createOverlay(){if(this._overlayRef)("mouse"===this._popover.horizontalAlign||"mouse"===this._popover.verticalAlign&&!this._fixedPos.length)&&this._overlayRef.updatePositionStrategy(this._getPositionStrategy(this._popover.horizontalAlign,this._popover.verticalAlign,this._popover.forceAlignment,this._popover.lockAlignment,this._anchor._elementRef));else{this._portal=new ZI(this._popover._templateRef,this._viewContainerRef);const i=this._getOverlayConfig({horizontalAlign:this._popover.horizontalAlign,verticalAlign:this._popover.verticalAlign,hasBackdrop:this._popover.hasBackdrop,backdropClass:this._popover.backdropClass,scrollStrategy:this._popover.scrollStrategy,forceAlignment:this._popover.forceAlignment,lockAlignment:this._popover.lockAlignment},this._anchor);this._fixedPos.length||this._subscribeToPositionChanges(i.positionStrategy),this._overlayRef=this._overlay.create(i)}return this._overlayRef.attach(this._portal),this._overlayRef}_destroyPopover(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}_destroyPopoverOnceClosed(){this.isPopoverOpen()&&this._overlayRef?this._overlayRef.detachments().pipe(Ws(1),gt(this._onDestroy)).subscribe(()=>this._destroyPopover()):this._destroyPopover()}_subscribeToNotifications(){this._notificationsSubscription&&this._notificationsSubscription.unsubscribe(),this._notificationsSubscription=this._notifications.events().subscribe(e=>{switch(e.action){case Qt.OPEN:this.openPopover(e.value);break;case Qt.CLOSE:this.closePopover(e.value);break;case Qt.TOGGLE:this.togglePopover();break;case Qt.REPOSITION:case Qt.UPDATE_CONFIG:this._destroyPopoverOnceClosed();break;case Qt.REALIGN:this.realignPopoverToAnchor()}})}_subscribeToBackdrop(){!this._overlayRef||(this._overlayRef.backdropClick().pipe(eu(()=>this._popover.backdropClicked.emit()),Ys(()=>this._popover.interactiveClose),gt(this.popoverClosed),gt(this._onDestroy)).subscribe(()=>this.closePopover()),this._overlayRef.backdropElement&&this._popover.interactiveClose&&(this._unlistener=this._renderer.listen(this._overlayRef.backdropElement,"contextmenu",e=>{e.preventDefault(),this._popover.backdropClicked.emit(),this.closePopover()})))}_subscribeToEscape(){!this._overlayRef||this._overlayRef.keydownEvents().pipe(eu(e=>this._popover.overlayKeydown.emit(e)),Ys(e=>"Escape"===e.key),Ys(()=>this._popover.interactiveClose),gt(this.popoverClosed),gt(this._onDestroy)).subscribe(()=>this.closePopover())}_subscribeToDetachments(){!this._overlayRef||this._overlayRef.detachments().pipe(gt(this._onDestroy)).subscribe(()=>this._saveClosedState())}_saveOpenedState(){this._popoverOpen||(this._popover._open=this._popoverOpen=!0,this._popover.parent&&(this._popover.parent._subMenuOpen=!0),this.popoverOpened.next(),typeof this._context>"u"?this._popover.opened.emit():this._popover.opened.emit(this._context))}_saveClosedState(e,i=!1){this._popoverOpen&&(this._popover._open=this._popoverOpen=!1,this._popover.parent&&(this._popover.parent._subMenuOpen=i),this.popoverClosed.next(e),this._popover.closed.emit(e))}_getDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_getOverlayConfig(e,i){return new qI({positionStrategy:this._fixedPos.length?this._getFixedPositionStrategy():this._getPositionStrategy(e.horizontalAlign,e.verticalAlign,e.forceAlignment,e.lockAlignment,i._elementRef),hasBackdrop:"hover"!==i.trigger&&e.hasBackdrop,backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._getScrollStrategyInstance(e.scrollStrategy),direction:this._getDirection(),panelClass:"hover"!==i.trigger||i._hasSubmenu?"":"overlay-pointer-events"})}_subscribeToPositionChanges(e){this._positionChangeSubscription&&this._positionChangeSubscription.unsubscribe(),this._positionChangeSubscription=e.positionChanges.pipe(gt(this._onDestroy)).subscribe(i=>{this._ngZone.run(()=>{this._popover._setAlignmentClassesForAnimation(function oV(n){return"start"===n?"after":"end"===n?"before":"center"}(i.connectionPair.overlayX),function rV(n){return"top"===n?"below":"bottom"===n?"above":"center"}(i.connectionPair.overlayY)),this._popover._setAlignmentClassesForArrow(function nV(n,t){return n===t?n:"start"===n?"after":"end"===n?"before":"center"}(i.connectionPair.overlayX,i.connectionPair.originX),function iV(n,t){return n!==t||"top"!==n&&"bottom"!==n?"top"===n?"below":"bottom"===n?"above":"center":"top"===n?"start":"end"}(i.connectionPair.overlayY,i.connectionPair.originY))})})}_getScrollStrategyInstance(e){switch(e){case"block":return this._overlay.scrollStrategies.block();case"reposition":return this._overlay.scrollStrategies.reposition();case"close":return this._overlay.scrollStrategies.close();default:return this._overlay.scrollStrategies.noop()}}_getPositionStrategy(e,i,o,r,s){const u=[g1(e,i,this._popover._offsetPos)],h=this._overlay.position().flexibleConnectedTo(s).withPush(!1).withViewportMargin(0).withLockedPosition(r);if(!o){const p=this._getFallbacks(e,i);u.push(...p)}return h.withPositions(u)}_getFixedPositionStrategy(){return this._overlay.position().global().left(this._fixedPos[0]+"px").top(this._fixedPos[1]+"px")}_getFallbacks(e,i){const c="above"!==i&&"below"!==i?["above","start","center","end","below","mouse"]:["above","below"],u=[];return m1(e,"before"!==e&&"after"!==e?["before","start","center","end","after","mouse"]:["before","after"]).forEach(h=>{m1(i,c).forEach(p=>{u.push(g1(h,p,this._popover._offsetPos))})}),u.slice(1,u.length)}}return n.\u0275fac=function(e){return new(e||n)(P(zm),P(ki),P(Ge),P(jm,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();function g1(n,t,e){const{originX:i,overlayX:o}=function sV(n){switch(n){case"before":return{originX:"start",overlayX:"end"};case"start":case"mouse":return{originX:"start",overlayX:"start"};case"end":return{originX:"end",overlayX:"end"};case"after":return{originX:"end",overlayX:"start"};default:return{originX:"center",overlayX:"center"}}}(n),{originY:r,overlayY:s}=function aV(n){switch(n){case"above":return{originY:"top",overlayY:"bottom"};case"start":case"mouse":return{originY:"top",overlayY:"top"};case"end":return{originY:"bottom",overlayY:"bottom"};case"below":return{originY:"bottom",overlayY:"top"};default:return{originY:"center",overlayY:"center"}}}(t);return new S2({originX:i,originY:r},{overlayX:o,overlayY:s},e[0],e[1])}function m1(n,t){const e=t.indexOf(n),i=[n],o=t.slice(0,e),r=t.slice(e+1,t.length).reverse();for(;o.length&&r.length;){const s=r.pop();s&&i.push(s);const c=o.pop();c&&i.push(c)}for(;r.length;){const s=r.pop();s&&i.push(s)}for(;o.length;){const s=o.pop();s&&i.push(s)}return i}let _1=(()=>{class n{constructor(){this.notifiers=[],this.handleKeydown=e=>{this.notifiers.filter(i=>i.isOpen).forEach(i=>i.onKeyDown(e)),"ArrowRight"===e.key&&this.notifiers.filter(i=>document.activeElement===i.nativeElement&&i.hasSubmenu()).forEach(i=>i.onKeyDown(e))},window.addEventListener("keydown",this.handleKeydown)}ngOnDestroy(){window.removeEventListener("keydown",this.handleKeydown)}registerNotifier(e){this.notifiers.push(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),b1=(()=>{class n{constructor(e,i,o,r,s){this._elementRef=e,this._viewContainerRef=i,this._anchoring=o,this._accessibility=r,this._componentFactoryResolver=s,this._trigger="click",this._popoverDelay=0,this._maxWidth="none",this._hasSubmenu=!1,this.popoverOpened=new be,this.popoverClosed=new be,this._onDestroy=new oe}get attachedPopover(){return this._attachedPopover}set attachedPopover(e){this._validateAttachedPopover(e),this._attachedPopover=e,this._anchoring.anchor(this.attachedPopover,this._viewContainerRef,this)}get tooltipText(){return this._tooltipText}set tooltipText(e){this._tooltipText=e;const i=this._componentFactoryResolver.resolveComponentFactory(tV),o=this._viewContainerRef.createComponent(i).instance;o.tooltipContent=e,o.disableStyle=!0,o.verticalAlign="above",o.scrollStrategy="close",o.restoreFocus=!1,o.maxWidth=this._maxWidth,this.attachedPopover=o,this.trigger="hover",this.popoverDelay=300}get trigger(){return this._trigger}set trigger(e){this._validateTrigger(e),this._trigger!==e&&(this._trigger=e),this._dispatchConfigNotification(new io(Qt.UPDATE_CONFIG))}get popoverDelay(){return this._popoverDelay}set popoverDelay(e){this._popoverDelay=Number(e)}get maxWidth(){return this._attachedPopover.maxWidth}set maxWidth(e){this._maxWidth=e,this.attachedPopover&&(this._attachedPopover.maxWidth=e)}get restoreFocus(){return this._attachedPopover.restoreFocus&&this._attachedPopover._restoreFocusOverride}set restoreFocus(e){this.attachedPopover&&(this._attachedPopover.restoreFocus=bi(e))}get context(){return this._anchoring._context}set context(e){this._anchoring._context=e}get horizontalAlign(){return this._attachedPopover.horizontalAlign}set horizontalAlign(e){this.attachedPopover&&(this.attachedPopover.horizontalAlign=e)}get verticalAlign(){return this._attachedPopover.verticalAlign}set verticalAlign(e){this.attachedPopover&&(this.attachedPopover.verticalAlign=e)}ngOnInit(){Bi(this._anchoring.popoverOpened.pipe(eu(()=>this.popoverOpened.emit())),this._anchoring.popoverClosed.pipe(eu(o=>this.popoverClosed.emit(o)))).pipe(gt(this._onDestroy)).subscribe()}ngAfterContentInit(){this._setupKeyboardEvents()}ngOnDestroy(){clearTimeout(this.hoverInterval),this._onDestroy.next(),this._onDestroy.complete()}_showOrHideOnClick(e){this._hasSubmenu&&e&&(e.stopPropagation(),e.preventDefault()),"click"===this.trigger&&(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.togglePopover())}_showOrHideOnEnter(e){const i=e.target;i&&"BUTTON"===i.tagName||"Enter"!==e.key&&" "!==e.key||"click"!==this.trigger||this.togglePopover()}_showOrHideOnMouseOver(e){"mousedown"===this.trigger&&(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.togglePopover())}_showOrHideRightClick(e){return"rightclick"!==this.trigger||(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.togglePopover(),!1)}_showOnHover(e){"hover"===this.trigger&&(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.hoverInterval=window.setTimeout(()=>{this._hasSubmenu?this.openPopover():this.togglePopover()},this.popoverDelay))}_hideOnLeave(){"hover"===this.trigger&&(this._hasSubmenu||this.closePopover())}_keyEvent(e){this.attachedPopover.isOpen()&&this.attachedPopover._menuItems.length>0&&!this.attachedPopover._subMenuOpen&&("ArrowUp"===e.key||"Tab"===e.key&&e.shiftKey?(e.stopPropagation(),e.preventDefault(),this.attachedPopover._keyFocus(!1)):"ArrowDown"===e.key||"Tab"===e.key&&!e.shiftKey?(e.stopPropagation(),e.preventDefault(),this.attachedPopover._keyFocus(!0)):this.attachedPopover.parent&&this.attachedPopover.parent.isOpen()&&"ArrowLeft"===e.key&&(e.stopPropagation(),e.preventDefault(),this.closePopover())),this._hasSubmenu&&this._elementRef.nativeElement===document.activeElement&&"ArrowRight"===e.key&&(e.stopPropagation(),e.preventDefault(),this.openPopover(),this.attachedPopover._keyFocus(!0))}isPopoverOpen(){return this._anchoring.isPopoverOpen()}togglePopover(){this._anchoring.togglePopover()}openPopover(e={}){this._anchoring.openPopover(e)}closePopover(e,i=!1){clearTimeout(this.hoverInterval),this._anchoring.closePopover(e,i)}realignPopover(){this._anchoring.realignPopoverToAnchor()}getElement(){return this._elementRef}_validateAttachedPopover(e){if(!(e&&e instanceof kM))throw function $5(){return Error("HcPopoverAnchorDirective must be provided an HcPopover component instance.")}()}_validateTrigger(e){if(-1===l1.indexOf(e))throw function X5(n){return Error(p_("trigger",n,l1))}(e)}_dispatchConfigNotification(e){this._notifications&&this._notifications.dispatch(e)}_setupKeyboardEvents(){const e={isOpen:!1,nativeElement:this._elementRef.nativeElement,hasSubmenu:()=>this._hasSubmenu,onKeyDown:i=>this._keyEvent(i)};this.popoverClosed.asObservable().subscribe(()=>e.isOpen=!1),this.popoverOpened.asObservable().subscribe(()=>e.isOpen=!0),this._accessibility.registerNotifier(e)}}return n.\u0275fac=function(e){return new(e||n)(I(Se),I(Ln),I(f1),I(_1),I(at))},n.\u0275dir=B({type:n,selectors:[["","hcPop",""],["","hcTooltip",""]],hostVars:2,hostBindings:function(e,i){1&e&&Ct("click",function(r){return i._showOrHideOnClick(r)})("keydown",function(r){return i._showOrHideOnEnter(r)})("touchstart",function(r){return i._showOrHideOnMouseOver(r)})("mousedown",function(r){return i._showOrHideOnMouseOver(r)})("contextmenu",function(r){return i._showOrHideRightClick(r)})("mouseenter",function(r){return i._showOnHover(r)})("touchend",function(){return i._hideOnLeave()})("touchcancel",function(){return i._hideOnLeave()})("mouseleave",function(){return i._hideOnLeave()}),2&e&&ge("hc-menu-item-submenu",i._hasSubmenu)},inputs:{attachedPopover:["hcPop","attachedPopover"],tooltipText:["hcTooltip","tooltipText"],trigger:"trigger",popoverDelay:"popoverDelay",maxWidth:"maxWidth",restoreFocus:"restoreFocus",context:"context",horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"},outputs:{popoverOpened:"popoverOpened",popoverClosed:"popoverClosed"},exportAs:["hcPopAnchor"],features:[Me([f1])]}),n})(),cV=(()=>{class n{constructor(){this._hostClass=!0,this.unsubscribe$=new oe}ngAfterContentInit(){this.updateSubMenus(),this._menuItems.changes.pipe(gt(this.unsubscribe$)).subscribe(()=>this.updateSubMenus())}updateSubMenus(){this._subMenus.forEach(e=>{e._hasSubmenu=!0,e.trigger="hover"}),this._menuItems.forEach(e=>{e._itemEnter.pipe(gt(this.unsubscribe$)).subscribe(()=>{this._subMenus.forEach(i=>{if(i._elementRef.nativeElement!==e.ref.nativeElement&&i.attachedPopover.isOpen()){i.attachedPopover._parentCloseBlock=!0,i.attachedPopover._restoreFocusOverride=!1,i.closePopover({},!0),i.attachedPopover._restoreFocusOverride=!0;const o=i.attachedPopover.afterClose.subscribe(()=>{i.attachedPopover._parentCloseBlock=!1,o.unsubscribe()})}})})})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcMenu",""]],contentQueries:function(e,i,o){if(1&e&&(yt(o,b1,4),yt(o,TM,4)),2&e){let r;Oe(r=Pe())&&(i._subMenus=r),Oe(r=Pe())&&(i._menuItems=r)}},hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-menu-panel",i._hostClass)}}),n})(),lV=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcMenuIcon",""]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-menu-icon",i._hostClass)}}),n})(),uV=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcMenuText",""]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-menu-text",i._hostClass)}}),n})(),dV=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcDivider",""]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-divider",i._hostClass)}}),n})(),EM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({providers:[_1],imports:[qa,F2,xR,Hh,Hh]}),n})(),pV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({imports:[qa]}),n})();class oc{transform(t,e=2,i=1e6){if(null===t)return t;(e<0||!Number.isInteger(e))&&(e=2),(i<1e3||!Number.isInteger(i))&&(i=1e3);const o=Math.abs(t);let r="",s="";const c=t<0;if(o>=i)for(const u of oc.powers){let h=o/u.value;if(h=this.roundValue(h,e),h>=1){s=h.toString(),r=u.key;break}}else s=this.roundValue(o,e).toLocaleString();return(c?"-":"")+s+r}roundValue(t,e=2){const i=Math.pow(10,e);return Math.round(t*i)/i}}oc.powers=[{key:"Q",value:Math.pow(10,15)},{key:"T",value:Math.pow(10,12)},{key:"B",value:Math.pow(10,9)},{key:"M",value:Math.pow(10,6)},{key:"K",value:1e3}],oc.\u0275fac=function(t){return new(t||oc)},oc.\u0275pipe=on({name:"abbreviateNumber",type:oc,pure:!0});let fV=(()=>{class n{constructor(){this._hostHcIconLargeClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcIconLg",""]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-icon-lg",i._hostHcIconLargeClass)}}),n})(),gV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({}),n})();const v1=["primary","primary-alt","destructive","neutral","secondary","minimal","link","link-inline"],mV=["blue","green","purple","red","orange","ruby-red","deep-red","red-orange","magenta","pink","light-pink","azure","teal","dark-green","brown","purple-gray","yellow","yellow-orange","tan"],_V=["sm","md","lg"],yV=["hc-icon-button","hc-button"];let MV=(()=>{class n{constructor(e,i){this.elementRef=e,this.renderer=i,this._disabled=!1,this.buttonStyle="primary",this.size="md";for(const o of yV)e.nativeElement.hasAttribute(o)&&i.addClass(e.nativeElement,o)}get buttonStyle(){return this._style}set buttonStyle(e){(function bV(n,t){if(v1.indexOf(n)<0&&mV.indexOf(n)<0)throw Error("Unsupported buttonStyle attribute value on "+t+": "+n)})(e,"ButtonComponent"),v1.indexOf(e)<0&&(e="button-"+e),this.setHostClass(this._style,e),this._style=e}get size(){return this._size}set size(e){(function vV(n,t){if(_V.indexOf(n)<0)throw Error("Unsupported size attribute value on "+t+": "+n)})(e,"ButtonComponent"),this.setHostClass(this._size,e),this._size=e}get disabled(){return this._disabled}set disabled(e){this._disabled=bi(e)}get _disabledAttr(){return this.disabled?"disabled":null}focus(){this.elementRef.nativeElement.focus()}setHostClass(e,i){e!==i&&(e&&this.renderer.removeClass(this.elementRef.nativeElement,this._hcClassify(e)),this.renderer.addClass(this.elementRef.nativeElement,this._hcClassify(i)))}_hcClassify(e){return`hc-${e}`}}return n.\u0275fac=function(e){return new(e||n)(I(Se),I(ki))},n.\u0275cmp=nt({type:n,selectors:[["button","hc-button",""],["button","hc-icon-button",""]],hostVars:1,hostBindings:function(e,i){2&e&&Jt("disabled",i._disabledAttr)},inputs:{buttonStyle:"buttonStyle",size:"size",disabled:"disabled"},attrs:Sz,ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},styles:['.hc-button{display:inline-flex;align-items:center;justify-content:center;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;user-select:none;background-image:none;border:none;border-radius:5px;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.hc-button[disabled]{cursor:not-allowed}.hc-button:focus{outline:none;border-bottom:none;box-shadow:0 0 0 2px #00aeff66}.hc-button:active{background-image:none;outline:none}.hc-button::-moz-focus-inner{border:0}.hc-button.hc-primary{color:#fff;background-color:#00a859}.hc-button.hc-primary:focus{background-color:#008647;box-shadow:0 0 0 3px #00a85966}.hc-button.hc-primary:hover{background-color:#009750;color:#fff}.hc-button.hc-primary:active{background-color:#008647;color:#fff}.hc-button.hc-primary[disabled],.hc-button.hc-primary[disabled]:hover,.hc-button.hc-primary[disabled]:focus,.hc-button.hc-primary[disabled]:active{background-color:#00a859;opacity:.35}.hc-button.hc-primary-alt{color:#fff;background-color:#6e53a3}.hc-button.hc-primary-alt:focus{background-color:#584282;box-shadow:0 0 0 3px #6e53a366}.hc-button.hc-primary-alt:hover{background-color:#634b93;color:#fff}.hc-button.hc-primary-alt:active{background-color:#584282;color:#fff}.hc-button.hc-primary-alt[disabled],.hc-button.hc-primary-alt[disabled]:hover,.hc-button.hc-primary-alt[disabled]:focus,.hc-button.hc-primary-alt[disabled]:active{background-color:#6e53a3;opacity:.35}.hc-button.hc-destructive{color:#fff;background-color:#f13c45}.hc-button.hc-destructive:focus{background-color:#c13037;box-shadow:0 0 0 3px #f13c4566}.hc-button.hc-destructive:hover{background-color:#d9363e;color:#fff}.hc-button.hc-destructive:active{background-color:#c13037;color:#fff}.hc-button.hc-destructive[disabled],.hc-button.hc-destructive[disabled]:hover,.hc-button.hc-destructive[disabled]:focus,.hc-button.hc-destructive[disabled]:active{background-color:#f13c45;opacity:.35}.hc-button.hc-neutral{color:#fff;background-color:#6d6e70}.hc-button.hc-neutral:focus{background-color:#57585a;box-shadow:0 0 0 3px #6d6e7066}.hc-button.hc-neutral:hover{background-color:#626365;color:#fff}.hc-button.hc-neutral:active{background-color:#57585a;color:#fff}.hc-button.hc-neutral[disabled],.hc-button.hc-neutral[disabled]:hover,.hc-button.hc-neutral[disabled]:focus,.hc-button.hc-neutral[disabled]:active{background-color:#6d6e70;opacity:.35}.hc-button.hc-secondary{color:#fff;background-color:#f1f1f1;color:#515353;border:1.5px solid #cccccc;height:36px;line-height:33px;padding-right:19px}.hc-button.hc-secondary:focus{background-color:#d9d9d9;box-shadow:0 0 0 3px #f1f1f166}.hc-button.hc-secondary:hover{background-color:#e5e5e5;color:#fff}.hc-button.hc-secondary:active{background-color:#d9d9d9;color:#fff}.hc-button.hc-secondary[disabled],.hc-button.hc-secondary[disabled]:hover,.hc-button.hc-secondary[disabled]:focus,.hc-button.hc-secondary[disabled]:active{background-color:#f1f1f1;opacity:.35}.hc-button.hc-secondary:hover{color:#333}.hc-button.hc-secondary:focus{box-shadow:0 0 0 2px #00aeff66}.hc-button.hc-secondary[disabled]:hover{color:#515353}.hc-button.hc-minimal{background-color:transparent;color:#6d6e70}.hc-button.hc-minimal:hover{color:#333;background-color:#e0e0e0}.hc-button.hc-minimal:active{background-color:#d3d3d3}.hc-button.hc-minimal[disabled],.hc-button.hc-minimal[disabled]:hover,.hc-button.hc-minimal[disabled]:focus,.hc-button.hc-minimal[disabled]:active{background-color:transparent;color:#ccc}.hc-button.hc-sm{padding:3px 12px;height:26px;min-width:auto;font-size:1rem;line-height:14px}.hc-button.hc-md{padding:0 20px;height:35px;min-width:150px;font-size:1.0714285714rem;line-height:15px}.hc-button.hc-lg{padding:0 30px;height:40px;min-width:200px;font-size:1.2142857143rem;line-height:17px}.hc-button.hc-link,.hc-button.hc-link-inline{background-color:transparent;color:#00aeff;font-weight:600}.hc-button.hc-link .label,.hc-button.hc-link-inline .label{color:#6d6e70;font-weight:400;margin-right:10px}.hc-button.hc-link .value,.hc-button.hc-link-inline .value{color:#333;font-weight:400;margin-right:10px}.hc-button.hc-link:hover,.hc-button.hc-link-inline:hover{color:#33beff}.hc-button.hc-link:active,.hc-button.hc-link-inline:active{color:#008bcc}.hc-button.hc-link[disabled],.hc-button.hc-link[disabled]:hover,.hc-button.hc-link[disabled]:focus,.hc-button.hc-link[disabled]:active,.hc-button.hc-link-inline[disabled],.hc-button.hc-link-inline[disabled]:hover,.hc-button.hc-link-inline[disabled]:focus,.hc-button.hc-link-inline[disabled]:active{opacity:.35;color:#00aeff}.hc-button.hc-link[disabled] .label,.hc-button.hc-link[disabled] .value,.hc-button.hc-link[disabled]:hover .label,.hc-button.hc-link[disabled]:hover .value,.hc-button.hc-link[disabled]:focus .label,.hc-button.hc-link[disabled]:focus .value,.hc-button.hc-link[disabled]:active .label,.hc-button.hc-link[disabled]:active .value,.hc-button.hc-link-inline[disabled] .label,.hc-button.hc-link-inline[disabled] .value,.hc-button.hc-link-inline[disabled]:hover .label,.hc-button.hc-link-inline[disabled]:hover .value,.hc-button.hc-link-inline[disabled]:focus .label,.hc-button.hc-link-inline[disabled]:focus .value,.hc-button.hc-link-inline[disabled]:active .label,.hc-button.hc-link-inline[disabled]:active .value{color:#333}.hc-button.hc-link-inline{padding:0;height:auto;width:auto;min-width:0;font-size:inherit;line-height:inherit;text-align:inherit;white-space:inherit;vertical-align:inherit;font-family:inherit;border:none}.hc-button.hc-link-inline:focus{outline:none;border-radius:0;box-shadow:0 2px #00aeff}.hc-button.hc-button-blue{color:#fff;background-color:#00aeff}.hc-button.hc-button-blue:focus{background-color:#008bcc;box-shadow:0 0 0 3px #00aeff66}.hc-button.hc-button-blue:hover{background-color:#009de6;color:#fff}.hc-button.hc-button-blue:active{background-color:#008bcc;color:#fff}.hc-button.hc-button-blue[disabled],.hc-button.hc-button-blue[disabled]:hover,.hc-button.hc-button-blue[disabled]:focus,.hc-button.hc-button-blue[disabled]:active{background-color:#00aeff;opacity:.35}.hc-button.hc-button-green{color:#fff;background-color:#00a859}.hc-button.hc-button-green:focus{background-color:#008647;box-shadow:0 0 0 3px #00a85966}.hc-button.hc-button-green:hover{background-color:#009750;color:#fff}.hc-button.hc-button-green:active{background-color:#008647;color:#fff}.hc-button.hc-button-green[disabled],.hc-button.hc-button-green[disabled]:hover,.hc-button.hc-button-green[disabled]:focus,.hc-button.hc-button-green[disabled]:active{background-color:#00a859;opacity:.35}.hc-button.hc-button-purple{color:#fff;background-color:#6e53a3}.hc-button.hc-button-purple:focus{background-color:#584282;box-shadow:0 0 0 3px #6e53a366}.hc-button.hc-button-purple:hover{background-color:#634b93;color:#fff}.hc-button.hc-button-purple:active{background-color:#584282;color:#fff}.hc-button.hc-button-purple[disabled],.hc-button.hc-button-purple[disabled]:hover,.hc-button.hc-button-purple[disabled]:focus,.hc-button.hc-button-purple[disabled]:active{background-color:#6e53a3;opacity:.35}.hc-button.hc-button-red{color:#fff;background-color:#f13c45}.hc-button.hc-button-red:focus{background-color:#c13037;box-shadow:0 0 0 3px #f13c4566}.hc-button.hc-button-red:hover{background-color:#d9363e;color:#fff}.hc-button.hc-button-red:active{background-color:#c13037;color:#fff}.hc-button.hc-button-red[disabled],.hc-button.hc-button-red[disabled]:hover,.hc-button.hc-button-red[disabled]:focus,.hc-button.hc-button-red[disabled]:active{background-color:#f13c45;opacity:.35}.hc-button.hc-button-orange{color:#fff;background-color:#f8961d}.hc-button.hc-button-orange:focus{background-color:#c67817;box-shadow:0 0 0 3px #f8961d66}.hc-button.hc-button-orange:hover{background-color:#df871a;color:#fff}.hc-button.hc-button-orange:active{background-color:#c67817;color:#fff}.hc-button.hc-button-orange[disabled],.hc-button.hc-button-orange[disabled]:hover,.hc-button.hc-button-orange[disabled]:focus,.hc-button.hc-button-orange[disabled]:active{background-color:#f8961d;opacity:.35}.hc-button.hc-button-ruby-red{color:#fff;background-color:#951c1e}.hc-button.hc-button-ruby-red:focus{background-color:#771618;box-shadow:0 0 0 3px #951c1e66}.hc-button.hc-button-ruby-red:hover{background-color:#86191b;color:#fff}.hc-button.hc-button-ruby-red:active{background-color:#771618;color:#fff}.hc-button.hc-button-ruby-red[disabled],.hc-button.hc-button-ruby-red[disabled]:hover,.hc-button.hc-button-ruby-red[disabled]:focus,.hc-button.hc-button-ruby-red[disabled]:active{background-color:#951c1e;opacity:.35}.hc-button.hc-button-deep-red{color:#fff;background-color:#cc2027}.hc-button.hc-button-deep-red:focus{background-color:#a31a1f;box-shadow:0 0 0 3px #cc202766}.hc-button.hc-button-deep-red:hover{background-color:#b81d23;color:#fff}.hc-button.hc-button-deep-red:active{background-color:#a31a1f;color:#fff}.hc-button.hc-button-deep-red[disabled],.hc-button.hc-button-deep-red[disabled]:hover,.hc-button.hc-button-deep-red[disabled]:focus,.hc-button.hc-button-deep-red[disabled]:active{background-color:#cc2027;opacity:.35}.hc-button.hc-button-red-orange{color:#fff;background-color:#f05323}.hc-button.hc-button-red-orange:focus{background-color:#c0421c;box-shadow:0 0 0 3px #f0532366}.hc-button.hc-button-red-orange:hover{background-color:#d84b20;color:#fff}.hc-button.hc-button-red-orange:active{background-color:#c0421c;color:#fff}.hc-button.hc-button-red-orange[disabled],.hc-button.hc-button-red-orange[disabled]:hover,.hc-button.hc-button-red-orange[disabled]:focus,.hc-button.hc-button-red-orange[disabled]:active{background-color:#f05323;opacity:.35}.hc-button.hc-button-magenta{color:#fff;background-color:#a94c9d}.hc-button.hc-button-magenta:focus{background-color:#873d7e;box-shadow:0 0 0 3px #a94c9d66}.hc-button.hc-button-magenta:hover{background-color:#98448d;color:#fff}.hc-button.hc-button-magenta:active{background-color:#873d7e;color:#fff}.hc-button.hc-button-magenta[disabled],.hc-button.hc-button-magenta[disabled]:hover,.hc-button.hc-button-magenta[disabled]:focus,.hc-button.hc-button-magenta[disabled]:active{background-color:#a94c9d;opacity:.35}.hc-button.hc-button-pink{color:#fff;background-color:#ef4767}.hc-button.hc-button-pink:focus{background-color:#bf3952;box-shadow:0 0 0 3px #ef476766}.hc-button.hc-button-pink:hover{background-color:#d7405d;color:#fff}.hc-button.hc-button-pink:active{background-color:#bf3952;color:#fff}.hc-button.hc-button-pink[disabled],.hc-button.hc-button-pink[disabled]:hover,.hc-button.hc-button-pink[disabled]:focus,.hc-button.hc-button-pink[disabled]:active{background-color:#ef4767;opacity:.35}.hc-button.hc-button-light-pink{color:#fff;background-color:#f8c8db}.hc-button.hc-button-light-pink:focus{background-color:#c6a0af;box-shadow:0 0 0 3px #f8c8db66}.hc-button.hc-button-light-pink:hover{background-color:#dfb4c5;color:#fff}.hc-button.hc-button-light-pink:active{background-color:#c6a0af;color:#fff}.hc-button.hc-button-light-pink[disabled],.hc-button.hc-button-light-pink[disabled]:hover,.hc-button.hc-button-light-pink[disabled]:focus,.hc-button.hc-button-light-pink[disabled]:active{background-color:#f8c8db;opacity:.35}.hc-button.hc-button-azure{color:#fff;background-color:#007bff}.hc-button.hc-button-azure:focus{background-color:#0062cc;box-shadow:0 0 0 3px #007bff66}.hc-button.hc-button-azure:hover{background-color:#006fe6;color:#fff}.hc-button.hc-button-azure:active{background-color:#0062cc;color:#fff}.hc-button.hc-button-azure[disabled],.hc-button.hc-button-azure[disabled]:hover,.hc-button.hc-button-azure[disabled]:focus,.hc-button.hc-button-azure[disabled]:active{background-color:#007bff;opacity:.35}.hc-button.hc-button-teal{color:#fff;background-color:#00acac}.hc-button.hc-button-teal:focus{background-color:#008a8a;box-shadow:0 0 0 3px #00acac66}.hc-button.hc-button-teal:hover{background-color:#009b9b;color:#fff}.hc-button.hc-button-teal:active{background-color:#008a8a;color:#fff}.hc-button.hc-button-teal[disabled],.hc-button.hc-button-teal[disabled]:hover,.hc-button.hc-button-teal[disabled]:focus,.hc-button.hc-button-teal[disabled]:active{background-color:#00acac;opacity:.35}.hc-button.hc-button-dark-green{color:#fff;background-color:#006c4e}.hc-button.hc-button-dark-green:focus{background-color:#00563e;box-shadow:0 0 0 3px #006c4e66}.hc-button.hc-button-dark-green:hover{background-color:#006146;color:#fff}.hc-button.hc-button-dark-green:active{background-color:#00563e;color:#fff}.hc-button.hc-button-dark-green[disabled],.hc-button.hc-button-dark-green[disabled]:hover,.hc-button.hc-button-dark-green[disabled]:focus,.hc-button.hc-button-dark-green[disabled]:active{background-color:#006c4e;opacity:.35}.hc-button.hc-button-brown{color:#fff;background-color:#553e36}.hc-button.hc-button-brown:focus{background-color:#44322b;box-shadow:0 0 0 3px #553e3666}.hc-button.hc-button-brown:hover{background-color:#4d3831;color:#fff}.hc-button.hc-button-brown:active{background-color:#44322b;color:#fff}.hc-button.hc-button-brown[disabled],.hc-button.hc-button-brown[disabled]:hover,.hc-button.hc-button-brown[disabled]:focus,.hc-button.hc-button-brown[disabled]:active{background-color:#553e36;opacity:.35}.hc-button.hc-button-purple-gray{color:#fff;background-color:#776c7f}.hc-button.hc-button-purple-gray:focus{background-color:#5f5666;box-shadow:0 0 0 3px #776c7f66}.hc-button.hc-button-purple-gray:hover{background-color:#6b6172;color:#fff}.hc-button.hc-button-purple-gray:active{background-color:#5f5666;color:#fff}.hc-button.hc-button-purple-gray[disabled],.hc-button.hc-button-purple-gray[disabled]:hover,.hc-button.hc-button-purple-gray[disabled]:focus,.hc-button.hc-button-purple-gray[disabled]:active{background-color:#776c7f;opacity:.35}.hc-button.hc-button-yellow{color:#fff;background-color:#f5ed56}.hc-button.hc-button-yellow:focus{background-color:#c4be45;box-shadow:0 0 0 3px #f5ed5666}.hc-button.hc-button-yellow:hover{background-color:#ddd54d;color:#fff}.hc-button.hc-button-yellow:active{background-color:#c4be45;color:#fff}.hc-button.hc-button-yellow[disabled],.hc-button.hc-button-yellow[disabled]:hover,.hc-button.hc-button-yellow[disabled]:focus,.hc-button.hc-button-yellow[disabled]:active{background-color:#f5ed56;opacity:.35}.hc-button.hc-button-yellow-orange{color:#fff;background-color:#e7c447}.hc-button.hc-button-yellow-orange:focus{background-color:#b99d39;box-shadow:0 0 0 3px #e7c44766}.hc-button.hc-button-yellow-orange:hover{background-color:#d0b040;color:#fff}.hc-button.hc-button-yellow-orange:active{background-color:#b99d39;color:#fff}.hc-button.hc-button-yellow-orange[disabled],.hc-button.hc-button-yellow-orange[disabled]:hover,.hc-button.hc-button-yellow-orange[disabled]:focus,.hc-button.hc-button-yellow-orange[disabled]:active{background-color:#e7c447;opacity:.35}.hc-button.hc-button-tan{color:#fff;background-color:#ebba82}.hc-button.hc-button-tan:focus{background-color:#bc9568;box-shadow:0 0 0 3px #ebba8266}.hc-button.hc-button-tan:hover{background-color:#d4a775;color:#fff}.hc-button.hc-button-tan:active{background-color:#bc9568;color:#fff}.hc-button.hc-button-tan[disabled],.hc-button.hc-button-tan[disabled]:hover,.hc-button.hc-button-tan[disabled]:focus,.hc-button.hc-button-tan[disabled]:active{background-color:#ebba82;opacity:.35}.hc-icon-button{display:inline-block;position:relative;height:35px;width:35px;line-height:35px;border-radius:5px;outline:none;border:none;margin:0;padding:0;background:transparent;text-decoration:none;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.hc-icon-button:focus{outline:none;box-shadow:0 0 0 2px #00aeff66}.hc-icon-button::-moz-focus-inner{border:0}.hc-split-button{display:inline-flex}.hc-split-button .hc-split-button-main{margin-right:0;border-bottom-right-radius:0;border-top-right-radius:0;min-width:auto}.hc-split-button .hc-split-button-toggle:not(.hc-secondary):not(.hc-minimal){min-width:auto;padding:8px 12px;margin-left:0;border-left:1px solid rgba(0,0,0,.12);border-bottom-left-radius:0;border-top-left-radius:0}.hc-split-button .hc-split-button-toggle:not(.hc-secondary):not(.hc-minimal):after{content:"";width:12px;height:8px;margin-top:2px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4Ljk4NyIgdmlld0JveD0iMCAwIDE0IDguOTg3Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iUGF0aF81IiBkYXRhLW5hbWU9IlBhdGggNSIgY2xhc3M9ImNscy0xIiBkPSJNMTUuMzQ4LTE0LjRhLjU2MS41NjEsMCwwLDAsMC0uNzkxbC0xLjQ0Mi0xLjQzM2EuNTUxLjU1MSwwLDAsMC0uNzgyLDBMOC41MTEtMTIuMDExLDMuOS0xNi42MjRhLjU1MS41NTEsMCwwLDAtLjc4MiwwTDEuNjc0LTE1LjE5MWEuNTYxLjU2MSwwLDAsMCwwLC43OTFMOC4xMi03Ljk2M2EuNTUxLjU1MSwwLDAsMCwuNzgyLDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS41MTEgMTYuNzg3KSIvPgo8L3N2Zz4K)}.hc-split-button .hc-split-button-toggle.hc-secondary{min-width:auto;padding:8px 12px;margin-left:0;border-left:0;border-bottom-left-radius:0;border-top-left-radius:0}.hc-split-button .hc-split-button-toggle.hc-secondary:after{content:"";width:12px;height:8px;margin-top:2px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4Ljk4NyIgdmlld0JveD0iMCAwIDE0IDguOTg3Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMzMzOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iUGF0aF81IiBkYXRhLW5hbWU9IlBhdGggNSIgY2xhc3M9ImNscy0xIiBkPSJNMTUuMzQ4LTE0LjRhLjU2MS41NjEsMCwwLDAsMC0uNzkxbC0xLjQ0Mi0xLjQzM2EuNTUxLjU1MSwwLDAsMC0uNzgyLDBMOC41MTEtMTIuMDExLDMuOS0xNi42MjRhLjU1MS41NTEsMCwwLDAtLjc4MiwwTDEuNjc0LTE1LjE5MWEuNTYxLjU2MSwwLDAsMCwwLC43OTFMOC4xMi03Ljk2M2EuNTUxLjU1MSwwLDAsMCwuNzgyLDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS41MTEgMTYuNzg3KSIvPgo8L3N2Zz4K)}.hc-split-button .hc-split-button-toggle.hc-minimal{min-width:auto;padding:8px 12px;margin-left:0;border-left:0;border-bottom-left-radius:0;border-top-left-radius:0;border-left:2px solid rgba(0,0,0,.12)!important}.hc-split-button .hc-split-button-toggle.hc-minimal:after{content:"";width:12px;height:8px;margin-top:2px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4Ljk4NyIgdmlld0JveD0iMCAwIDE0IDguOTg3Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMzMzOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iUGF0aF81IiBkYXRhLW5hbWU9IlBhdGggNSIgY2xhc3M9ImNscy0xIiBkPSJNMTUuMzQ4LTE0LjRhLjU2MS41NjEsMCwwLDAsMC0uNzkxbC0xLjQ0Mi0xLjQzM2EuNTUxLjU1MSwwLDAsMC0uNzgyLDBMOC41MTEtMTIuMDExLDMuOS0xNi42MjRhLjU1MS41NTEsMCwwLDAtLjc4MiwwTDEuNjc0LTE1LjE5MWEuNTYxLjU2MSwwLDAsMCwwLC43OTFMOC4xMi03Ljk2M2EuNTUxLjU1MSwwLDAsMCwuNzgyLDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS41MTEgMTYuNzg3KSIvPgo8L3N2Zz4K)}.hc-split-button .hc-split-button-toggle.hc-sm{padding:3px 7px}.hc-split-button .hc-split-button-toggle.hc-sm:after{width:10px;height:6px;margin-top:1px}.hc-split-button .hc-split-button-toggle.hc-lg{padding:0 16px}.hc-split-button .hc-split-button-toggle.hc-lg:after{width:14px;height:9px}.hc-filters-icon{width:19px;height:19px;display:block;margin-right:7px;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjU0NjEgNDcuMjUgMTkuMjgxIDIwIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMDBhZWZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8ZyBpZD0iRmlsdGVyc19CdXR0b24iIGRhdGEtbmFtZT0iRmlsdGVycyBCdXR0b24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU0NjEgNjcuMjUpIHJvdGF0ZSgtOTApIj4KICAgIDxwYXRoIGlkPSJQYXRoXzMwNCIgZGF0YS1uYW1lPSJQYXRoIDMwNCIgY2xhc3M9ImNscy0xIiBkPSJNOS45MzksMi45OTNWLjcxOUEuNzE5LjcxOSwwLDAsMCw4LjUuNzE5djIuMzZtMCw0Ljg5MnYxMC41OWgwYS43MTkuNzE5LDAsMSwwLDEuNDM5LDBWNy45NDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02LjA1NCkiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzMwNSIgZGF0YS1uYW1lPSJQYXRoIDMwNSIgY2xhc3M9ImNscy0xIiBkPSJNNi40NzUsMTEuMDIzYTMuMjM3LDMuMjM3LDAsMCwwLTYuNDc1LDAsMy4yMzcsMy4yMzcsMCwwLDAsNi40NzUsMFptLTUuMDM2LDBhMS43ODQsMS43ODQsMCwxLDEsMS43ODQsMS43ODRBMS43OTMsMS43OTMsMCwwLDEsMS40MzksMTEuMDIzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtNS41NTUpIi8+CiAgICA8cGF0aCBpZD0iUGF0aF8zMDYiIGRhdGEtbmFtZT0iUGF0aCAzMDYiIGNsYXNzPSJjbHMtMSIgZD0iTTU2LjkzOSwyLjk5M1YuNzE5YS43MTkuNzE5LDAsMCwwLTEuNDM5LDB2Mi4zNm0wLDQuODkydjEwLjU5aDBhLjcxOS43MTksMCwxLDAsMS40MzksMFY3Ljk0MiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM5LjUyOSkiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzMwNyIgZGF0YS1uYW1lPSJQYXRoIDMwNyIgY2xhc3M9ImNscy0xIiBkPSJNNTMuNDc1LDExLjAyM2EzLjIzNywzLjIzNywwLDEsMC0zLjI1MiwzLjIyM0EzLjIxOCwzLjIxOCwwLDAsMCw1My40NzUsMTEuMDIzWm0tNS4wMzYsMGExLjc4NCwxLjc4NCwwLDEsMSwxLjc4NCwxLjc4NEExLjc5MywxLjc5MywwLDAsMSw0OC40MzksMTEuMDIzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMzLjQ3NSAtNS41NTUpIi8+CiAgICA8cGF0aCBpZD0iUGF0aF8zMDgiIGRhdGEtbmFtZT0iUGF0aCAzMDgiIGNsYXNzPSJjbHMtMSIgZD0iTTMyLjUsMTYuMjg4djIuMjczYS43MTkuNzE5LDAsMCwwLDEuNDM5LDBWMTYuMm0wLTQuODkyVi43MTloMGEuNzE5LjcxOSwwLDAsMC0xLjQzOSwwVjExLjMzOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIzLjE0NykiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzMwOSIgZGF0YS1uYW1lPSJQYXRoIDMwOSIgY2xhc3M9ImNscy0xIiBkPSJNMjMuNSw0MC4wMjNBMy4yMzcsMy4yMzcsMCwxLDAsMjYuNzUyLDM2LjgsMy4yMTgsMy4yMTgsMCwwLDAsMjMuNSw0MC4wMjNabTUuMDM2LDBhMS43ODQsMS43ODQsMCwxLDEtMS43ODQtMS43ODRBMS43OTMsMS43OTMsMCwwLDEsMjguNTM2LDQwLjAyM1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNi43MzcgLTI2LjIxKSIvPgogIDwvZz4KPC9zdmc+Cg==)}\n'],encapsulation:2,changeDetection:0}),n})(),CV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({imports:[qa,EM,EM]}),n})();class ep{constructor(){this._errorState=!1,this._errorMessage="",this._errors={},this._isDisabled=!1,this._isRequired=!1,this._tight=!1}}const wV={provide:yn,useExisting:Ze(()=>DV),multi:!0};let DV=(()=>{class n{constructor(){this._required=!1}validate(e){return this.required?bT.requiredTrue(e):null}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}registerOnValidatorChange(e){this._onChange=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["hc-checkbox","required","","formControlName",""],["hc-checkbox","required","","formControl",""],["hc-checkbox","required","","ngModel",""]],inputs:{required:"required"},features:[Me([wV])]}),n})();
|
|
2428
2428
|
/**
|
|
2429
2429
|
* @license
|
|
2430
2430
|
* Copyright Health Catalyst All Rights Reserved.
|
|
@@ -2432,7 +2432,7 @@ function T3(n=0,t=Fh){return(!R0(n)||n<0)&&(n=0),(!t||"function"!=typeof t.sched
|
|
|
2432
2432
|
* Use of this source code is governed by an Apache-2.0 license that can be
|
|
2433
2433
|
* found in the LICENSE file at https://raw.githubusercontent.com/HealthCatalyst/Fabric.Cashmere/dev/LICENSE
|
|
2434
2434
|
*/
|
|
2435
|
-
function y1(n){return Error(`Datepicker: No provider found for ${n}. You must import one of the following modules at your application root: HcNativeDateModule, MatMomentDateModule, or provide a custom implementation.`)}const SV=new G("hc-date-formats");new G("HC_DATE_LOCALE",{providedIn:"root",factory:function IV(){return Io(hr)}});class TV{constructor(){this._localeChanges=new oe}get localeChanges(){return this._localeChanges}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)||this.getHours(t)-this.getHours(e)||this.getMinutes(t)-this.getMinutes(e)}sameDate(t,e){if(t&&e){const i=this.isValid(t),o=this.isValid(e);return i&&o?!this.compareDate(t,e):i===o}return t===e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}let EV=1;const LV=["button","checkbox","file","hidden","image","radio","reset"];let M1=(()=>{class n extends ep{constructor(e,i,o,r){super(),this._elementRef=e,this._ngControl=r,this._focused=!1,this._mobile=!1,this._uniqueInputId="hc-input-"+EV++,this._unsubscribe=new oe,this._componentId=this._uniqueInputId,this._type="input",this._readonly=!1,this.focusChanged=new be,this.inputEvent=new be,this._hostHcInputClass=!0,this.mobileChange=new be,this._form=i||o}get type(){return this._type}set type(e){if(LV.indexOf(e)>-1)throw function kV(n){return new Error(`hc-input doesn't support the following type: ${n}`)}(e);this._type=e,this._isTextArea()||(this._elementRef.nativeElement.type=this.type)}get id(){return this._componentId||this._uniqueInputId}set id(e){this._componentId=e||this._uniqueInputId}get readonly(){return this._readonly}set readonly(e){this._readonly=bi(e)}get disabled(){return this._ngControl&&this._ngControl.disabled?this._ngControl.disabled:this._isDisabled}set disabled(e){this._isDisabled=bi(e),this._focused&&(this._focused=!1)}get required(){return this._isRequired}set required(e){this._isRequired=bi(e)}get _hostId(){return this._componentId||this._uniqueInputId}get _hostReadOnly(){return this.readonly}get _hostDisabled(){return this.disabled}get _hostRequired(){return this._isRequired}_onBlur(){this._changeFocus(!1),this._updateErrorState()}_onFocus(){this._changeFocus(!0)}get value(){return this._elementRef.nativeElement.value}set value(e){e!==this.value&&(this._elementRef.nativeElement.value=e)}_inputEvent(e){this.inputEvent.emit(e)}_changeEvent(e){this.inputEvent.emit(e)}get mobile(){return this._mobile}set mobile(e){e!==this._mobile&&(this._mobile=e,this.mobileChange.emit(this._mobile))}ngAfterViewInit(){this._ngControl&&this._ngControl.statusChanges&&this._ngControl.statusChanges.pipe(gt(this._unsubscribe)).subscribe(()=>this._updateErrorState()),this._form&&this._form.ngSubmit.pipe(gt(this._unsubscribe)).subscribe(()=>this._updateErrorState())}focus(){this._elementRef.nativeElement.focus()}_changeFocus(e){this._focused!==e&&!this.readonly&&(this._focused=e,this.focusChanged.emit(e))}_isTextArea(){return"textarea"!==this._elementRef.nativeElement.nodeName.toLowerCase()}_updateErrorState(){const i=!!(this._ngControl&&this._ngControl.invalid&&(this._ngControl.touched||this._form&&this._form.submitted));this._errorState!==i&&(this._errorState=i)}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}}return n.\u0275fac=function(e){return new(e||n)(I(Se),I($m,8),I(Km,8),I(Xr,10))},n.\u0275dir=B({type:n,selectors:[["","hcInput",""]],hostVars:6,hostBindings:function(e,i){1&e&&Ct("blur",function(){return i._onBlur()})("focus",function(){return i._onFocus()})("input",function(r){return i._inputEvent(r)})("change",function(r){return i._changeEvent(r)}),2&e&&(vh("readonly",i._hostReadOnly)("disabled",i._hostDisabled)("required",i._hostRequired),Jt("id",i._hostId),ge("hc-input",i._hostHcInputClass))},inputs:{type:"type",id:"id",readonly:"readonly",disabled:"disabled",required:"required",value:"value",mobile:"mobile"},outputs:{focusChanged:"focusChanged",inputEvent:"inputEvent",mobileChange:"mobileChange"},features:[Me([{provide:ep,useExisting:Ze(()=>n)}]),ne]}),n})(),C1=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=nt({type:n,selectors:[["hc-error"]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-error",i._hostClass)},ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},encapsulation:2}),n})(),NV=(()=>{class n{constructor(){this._hostHcPrefixClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcPrefix",""]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-prefix",i._hostHcPrefixClass)}}),n})(),w1=(()=>{class n{constructor(){this._hostHcSuffixClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcSuffix",""]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-suffix",i._hostHcSuffixClass)}}),n})(),AV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=nt({type:n,selectors:[["hc-label"]],ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},encapsulation:2}),n})(),D1=(()=>{class n{constructor(e){this._elementRef=e,this._inline=!1,this._tight=!1,this.unsubscribe$=new oe,this._classHcFormFieldClass=!0,this._hasFocusedInput=!1,this._mobileInput=!1}get _disabledClass(){return this._inputChildren.length>0?this._inputChildren.first.disabled:this._control._isDisabled}get hasLabel(){return!!this._labelChildren.length}get hasInput(){return!!this._inputChildren.length}get inline(){return this._inline}set inline(e){this._inline=bi(e)}get tight(){return this._tight}set tight(e){this._tight=bi(e),this._updateTightControls()}ngAfterContentInit(){if(!this._control)throw function OV(){return new Error("HcFormField must contain a component that extends HcFormControl")}();this._updateTightControls(),this._controls.changes.pipe(gt(this.unsubscribe$)).subscribe(()=>this._updateTightControls()),this.hasInput&&(this._inputChildren.first.focusChanged.pipe(gt(this.unsubscribe$)).subscribe(e=>{this._hasFocusedInput=e}),this._mobileInput=this._inputChildren.first.mobile,this._inputChildren.first.mobileChange.pipe(gt(this.unsubscribe$)).subscribe(e=>{this._mobileInput=e}))}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}_updateTightControls(){this._controls&&this._controls.forEach(e=>{e._tight=this._tight})}getConnectedOverlayOrigin(){return this._elementRef}_shouldShowErrorMessages(){return this._control._errorState&&(this._errorChildren&&this._errorChildren.length>0||!!this._control._errorMessage&&this._control._errorMessage.length>0)}}return n.\u0275fac=function(e){return new(e||n)(I(Se))},n.\u0275cmp=nt({type:n,selectors:[["hc-form-field"]],contentQueries:function(e,i,o){if(1&e&&(yt(o,ep,5),yt(o,ep,4),yt(o,C1,4),yt(o,NV,4),yt(o,w1,4),yt(o,M1,4),yt(o,AV,4)),2&e){let r;Ae(r=Oe())&&(i._control=r.first),Ae(r=Oe())&&(i._controls=r),Ae(r=Oe())&&(i._errorChildren=r),Ae(r=Oe())&&(i._prefixChildren=r),Ae(r=Oe())&&(i._suffixChildren=r),Ae(r=Oe())&&(i._inputChildren=r),Ae(r=Oe())&&(i._labelChildren=r)}},hostVars:4,hostBindings:function(e,i){2&e&&ge("hc-form-field",i._classHcFormFieldClass)("hc-form-field-disabled",i._disabledClass)},inputs:{inline:"inline",tight:"tight"},ngContentSelectors:zz,decls:7,vars:12,consts:[[3,"ngClass","hc-form-field-label-wrapper-tight",4,"ngIf"],[1,"hc-form-field-content-wrapper"],[3,"hc-form-field-flex","hc-form-field-flex-inline","hc-form-field-invalid","hc-form-field-flex-focused",4,"ngIf"],[3,"hc-form-field-non-input","hc-form-field-non-input-inline","hc-form-field-non-input-inline-tight","hc-form-field-invalid",4,"ngIf"],["class","hc-form-field-error-wrapper",4,"ngIf"],[3,"ngClass"],["class","hc-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"hc-required-marker"],["class","hc-form-field-prefix",4,"ngIf"],[1,"hc-form-field-infix"],["inputs",""],["class","hc-form-field-suffix",4,"ngIf"],[1,"hc-form-field-prefix"],[1,"hc-form-field-suffix"],[1,"hc-form-field-error-wrapper"],[4,"ngIf"]],template:function(e,i){1&e&&(vn(Rz),X(0,"div"),Yt(1,Ez,4,8,"span",0),X(2,"div",1),_t(3),Yt(4,Az,6,14,"div",2),Yt(5,Oz,2,8,"div",3),Yt(6,jz,3,1,"div",4),ue()()),2&e&&(ge("hc-form-field-wrapper-inline",i.inline)("hc-form-field-wrapper",!i.inline)("hc-form-field-no-label",!i.hasLabel)("hc-form-field-wrapper-tight",i.tight),je(1),at("ngIf",i.hasLabel),je(3),at("ngIf",i.hasInput),je(1),at("ngIf",!i.hasInput),je(1),at("ngIf",i._shouldShowErrorMessages()))},dependencies:[_m,Kl,C1],styles:[".hc-form-field{position:relative;text-align:left;font-size:inherit;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5;flex-direction:inherit}.hc-form-field-wrapper{position:relative;padding-bottom:1.525em;flex-direction:inherit}.hc-form-field-wrapper-inline{display:inline-flex;width:100%;padding-bottom:inherit}.hc-form-field-wrapper-tight:not(.hc-form-field-wrapper-inline){padding-bottom:10px}.hc-form-field-content-wrapper{display:flex;flex-direction:inherit;flex-wrap:wrap;width:100%}.hc-form-field-flex{display:inline-flex;align-items:center;box-sizing:border-box;width:100%;border:1px solid #c0c5cc;background:#fff}.hc-form-field-flex:hover{border:1px solid #00aeff;background-color:#f2fbff}.hc-form-field-flex.hc-form-field-flex-focused{border:1px solid #00aeff;background-color:#fff;box-shadow:0 0 3px #00aeff;outline:none}.hc-form-field-disabled .hc-form-field-flex{cursor:not-allowed;border:1px solid #e0e0e0;background-color:#f0f3f6;color:#adadad}.hc-form-field-flex-inline{display:inline-flex;align-items:center;box-sizing:border-box;border:1px solid #c0c5cc;background:#fff}.hc-form-field-flex-inline:hover{border:1px solid #00aeff;background-color:#f2fbff}.hc-form-field-flex-inline.hc-form-field-flex-focused{border:1px solid #00aeff;background-color:#fff;box-shadow:0 0 3px #00aeff;outline:none}.hc-form-field-disabled .hc-form-field-flex-inline{cursor:not-allowed;border:1px solid #e0e0e0;background-color:#f0f3f6;color:#adadad}.hc-form-field-invalid.hc-form-field-flex,.hc-form-field-invalid.hc-form-field-flex-inline{border:1px solid #cc2027}.hc-form-field-invalid.hc-form-field-flex.hc-form-field-flex-focused,.hc-form-field-invalid.hc-form-field-flex-inline.hc-form-field-flex-focused{box-shadow:0 0 3px #cc2027}.hc-form-field-non-input{display:inline-flex;flex-direction:inherit;width:100%}.hc-form-field-non-input-inline{display:inline-flex;flex:0 0 100%;min-height:35px;align-items:center}.hc-form-field-non-input-inline-tight{min-height:auto}.hc-form-field-prefix,.hc-form-field-suffix{white-space:nowrap;flex:none;position:relative}.hc-form-field-prefix .hc-icon,.hc-form-field-suffix .hc-icon{color:#a1a1a1;font-size:125%;line-height:1.305}.hc-form-field-wrapper-tight .hc-form-field-prefix .hc-icon,.hc-form-field-wrapper-tight .hc-form-field-suffix .hc-icon{line-height:1.3}.hc-form-field-disabled .hc-form-field-prefix,.hc-form-field-disabled .hc-form-field-suffix{opacity:.5}.hc-suffix:not(:first-child){margin-left:7px}.hc-prefix:not(:last-child){margin-right:7px}.hc-form-field-suffix{padding-right:7px;display:flex;align-items:center}.hc-form-field-prefix{padding-left:7px;display:flex;align-items:center}.hc-form-field-infix{display:block;position:relative;flex:auto;padding:.393em 10px}.hc-form-field-infix-tight{padding:.1965em 7px;font-size:.9285714286rem}.hc-form-field-infix-mobile{font-size:1.1428571429rem}.hc-form-field-label-wrapper{box-sizing:content-box;width:100%}.hc-form-field-label-wrapper .hc-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.hc-form-field-label-wrapper.hc-form-field-label-wrapper-tight{font-size:.9285714286rem}.hc-form-field-label-wrapper-inline{flex:1 0 auto;padding:7px 15px 0 0}.hc-form-field-label-wrapper-inline .hc-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.hc-form-field-label-wrapper-inline.hc-form-field-label-wrapper-tight{padding-top:0;line-height:1.9}.hc-form-field-label{display:block;width:100%;margin-bottom:3px;font:inherit;font-size:1rem;color:inherit}.hc-form-field-label-extension{color:#6d6e70;font-size:.8571428571rem;margin-bottom:10px}.hc-form-field-label-inline{width:100%;font:inherit;font-size:1rem;color:inherit}.hc-form-field-label-tight{font-size:.9285714286rem}.hc-form-field-error-wrapper{box-sizing:border-box;width:100%;overflow:hidden;margin-top:.5333333333em;font-size:75%}.hc-error{display:block;color:#cc2027}.hc-required-marker{color:#cc2027}\n",".hc-icon-left{margin-right:5px}.hc-icon-right{margin-left:5px}.hc-input{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;text-align:inherit}.hc-input[disabled]{cursor:not-allowed}.hc-input:-moz-ui-invalid{box-shadow:none}.hc-input::-ms-clear,.hc-input::-ms-reveal{display:none}.hc-input::placeholder{color:#c0c5cc}.hc-input:-ms-input-placeholder{color:#c0c5cc}.hc-input::-ms-input-placeholder{color:#c0c5cc}textarea.hc-input{resize:vertical;overflow:auto;padding:2px 0;margin:-2px 0}\n"],encapsulation:2}),n})();Ai("transformPanel",[Pt("void",ve({opacity:0,transform:"scale(1, 0.8)"})),We("void => enter",Re("120ms cubic-bezier(0, 0, 0.2, 1)",ve({opacity:1,transform:"scale(1, 1)"}))),We("* => void",Re("100ms linear",ve({opacity:0})))]),Ai("fadeInCalendar",[Pt("void",ve({opacity:0})),Pt("enter",ve({opacity:1})),We("void => *",Re("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))]);const PV={provide:Vo,useExisting:Ze(()=>x1),multi:!0},jV={provide:yn,useExisting:Ze(()=>x1),multi:!0};class p_{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let x1=(()=>{class n{constructor(e,i,o,r){if(this._elementRef=e,this._dateAdapter=i,this._dateFormats=o,this._formField=r,this.dateChange=new be,this.dateInput=new be,this._valueChange=new be,this._disabledChange=new be,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=ze.EMPTY,this._localeSubscription=ze.EMPTY,this._timeDate=new Date,this._parseValidator=()=>this._lastValueValid?null:{hcDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=s=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(s.value));return!this.min||!c||this._dateAdapter.compareDate(this.min,c)<=0?null:{hcDatepickerMin:{min:this.min,actual:c}}},this._maxValidator=s=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(s.value));return!this.max||!c||this._dateAdapter.compareDate(this.max,c)>=0?null:{hcDatepickerMax:{max:this.max,actual:c}}},this._filterValidator=s=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(s.value));return this._dateFilter&&c&&!this._dateFilter(c)?{hcDatepickerFilter:!0}:null},this._validator=bT.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw y1("DateAdapter");if(!this._dateFormats)throw y1("HC_DATE_FORMATS");this._localeSubscription=i.localeChanges.subscribe(()=>{this.value=this.value}),this._allowsBlankValues=!1}set hcDatepicker(e){!e||(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(i=>{this.setDate(i)}))}set hcDatepickerFilter(e){this._dateFilter=e,this._validatorOnChange()}get value(){return this._value}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);const i=this.value;this._value=e,this._formatValue(e),e&&(this._timeDate=e),this._dateAdapter.sameDate(i,e)||this._valueChange.emit(e)}get min(){return this._min}set min(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get max(){return this._max}set max(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(e){const i=bi(e),o=this._elementRef.nativeElement;this._disabled!==i&&(this._disabled=i,this._disabledChange.emit(i)),i&&o.blur&&o.blur()}get allowsBlankValues(){return this._allowsBlankValues}set allowsBlankValues(e){this._allowsBlankValues=bi(e)}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}focus(){this._elementRef.nativeElement.focus()}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}setDate(e){this.value=e,this._cvaOnChange(e),this._onTouched(),this.dateInput.emit(new p_(this,this._elementRef.nativeElement)),this.dateChange.emit(new p_(this,this._elementRef.nativeElement))}_onKeydown(e){this._datepicker&&e.altKey&&"ArrowDown"===e.key&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}_onInput(e){"time"===(this._datepicker?this._datepicker.mode:this._mode)&&(e=this._timeDate.getDate()+"/"+(this._timeDate.getMonth()+1)+"/"+this._timeDate.getFullYear()+" "+e);let o=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);if(o&&!this._elementRef.nativeElement.value.match(/[1-9][0-9][0-9]/g)){const s=new Date;o.getFullYear()>=s.getFullYear()+30?o.setFullYear(o.getFullYear()-100):o.getFullYear()<s.getFullYear()-70&&o.setFullYear(o.getFullYear()+100)}this._lastValueValid=!(!this._allowsBlankValues||""!=e.trim())||!o||this._dateAdapter.isValid(o),o=this._getValidDateOrNull(o),this._dateAdapter.sameDate(o,this._value)||(this._value=o,this._cvaOnChange(o),this._valueChange.emit(o),this.dateInput.emit(new p_(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new p_(this,this._elementRef.nativeElement))}_onBlur(){(this.value||this._elementRef.nativeElement.value)&&this._formatValue(this.value),this._onTouched()}_formatValue(e){let i=this._dateFormats.display.dateInput,o="date",r=12;if(this._datepicker?(o=this._datepicker.mode,r=+this._datepicker.hourCycle):this._mode&&(o=this._mode,this._hourCycle&&(r=this._hourCycle)),"time"===o){const s=this._dateFormats.display.timeInput;s.hour12=12===r,i=s}else if("date-time"===o){const s=this._dateFormats.display.dateTimeInput;s.hour12=12===r,i=s}this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,i):""}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return n.\u0275fac=function(e){return new(e||n)(I(Se),I(TV,8),I(SV,8),I(D1,8))},n.\u0275dir=B({type:n,selectors:[["input","hcDatepicker",""]],hostVars:5,hostBindings:function(e,i){1&e&&Ct("input",function(r){return i._onInput(r.target.value)})("change",function(){return i._onChange()})("blur",function(){return i._onBlur()})("keydown",function(r){return i._onKeydown(r)}),2&e&&(vh("disabled",i.disabled),Jt("aria-haspopup",!0)("aria-owns",(null==i._datepicker?null:i._datepicker.opened)&&i._datepicker.id||null)("min",i.min?i._dateAdapter.toIso8601(i.min):null)("max",i.max?i._dateAdapter.toIso8601(i.max):null))},inputs:{hcDatepicker:"hcDatepicker",hcDatepickerFilter:"hcDatepickerFilter",value:"value",min:"min",max:"max",disabled:"disabled",_mode:"_mode",_hourCycle:"_hourCycle",allowsBlankValues:"allowsBlankValues"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Me([PV,jV,{provide:ep,useExisting:Ze(()=>n)}])]}),n})();!function RV(n,t){const e=Array(n);for(let i=0;i<n;i++)e[i]=t(i)}(31,n=>String(n+1)),new G("hc-datepicker-scroll-strategy");let S1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=rt({imports:[qa]}),n})(),VV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=rt({imports:[qa,S1]}),n})();class g_{close(t){}dismiss(){}}let ZV=(()=>{class n{constructor(){this._modalBodyClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=nt({type:n,selectors:[["hc-modal-body"]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-modal-body",i._modalBodyClass)},ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},encapsulation:2}),n})(),$V=(()=>{class n{constructor(){this._modalFooterClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=nt({type:n,selectors:[["hc-modal-footer"]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-modal-footer",i._modalFooterClass)},ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},encapsulation:2}),n})(),KV=(()=>{class n{constructor(){this._modalHeaderClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=nt({type:n,selectors:[["hc-modal-header"]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-modal-header",i._modalHeaderClass)},ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},encapsulation:2}),n})(),JV=(()=>{class n{constructor(){this._modalWrapperClass=!0,this._tight=!1,this._modalMinHeight="auto"}get tight(){return this._tight}set tight(e){this._tight=bi(e)}ngAfterContentInit(){let e=0;this._modalHeader&&(e+=55,this._modalMinHeight=e+"px"),this._modalBody&&(e+=120,this._modalMinHeight=e+"px"),this._modalFooter&&(e+=55,this._modalMinHeight=e+"px")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=nt({type:n,selectors:[["hc-modal"]],contentQueries:function(e,i,o){if(1&e&&(yt(o,KV,5),yt(o,ZV,5),yt(o,$V,5)),2&e){let r;Ae(r=Oe())&&(i._modalHeader=r.first),Ae(r=Oe())&&(i._modalBody=r.first),Ae(r=Oe())&&(i._modalFooter=r.first)}},hostVars:4,hostBindings:function(e,i){2&e&&(Wr("min-height",i._modalMinHeight),ge("hc-modal-content",i._modalWrapperClass))},inputs:{tight:"tight"},ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},encapsulation:2}),n})(),qV=(()=>{class n{constructor(e,i,o,r){this.activeModal=e,this.el=i,this._document=o,this._focusTrapFactory=r,this._ignoreOverlayClick=!1,this._isDraggable=!1,this._isResizable=!1,this._size="auto",this._tight=!1,this._disableFullScreen=!1,this._restoreFocus=!0,this._autoFocus=!1,this._hostClass=!0}_fadeInOut(){return Pt}_overlayClick(e){let i=!0;const o=this._eventPath(e),r=o.findIndex(c=>c===this.el.nativeElement)>-1,s=o.map(c=>c.classList);for(const c of s)c&&c.contains("hc-modal-content")&&(i=!1);!this._ignoreOverlayClick&&i&&r&&this.activeModal.dismiss()}_eventPath(e){const i=e.composedPath&&e.composedPath()||e.path,o=e.target;return null!=i?i.indexOf(window)<0?i.concat(window):i:o===window?[window]:[o].concat(function r(s,c){c=c||[];const u=s.parentNode;return u?r(u,c.concat(u)):c}(o),window)}_savePreviouslyFocusedElement(){this._document&&(this._previouslyFocusedElement=this._document.activeElement)}_trapFocus(){!this._focusTrapElement||(this._savePreviouslyFocusedElement(),!this._focusTrap&&this._focusTrapElement&&(this._focusTrap=this._focusTrapFactory.create(this._focusTrapElement.nativeElement)),this._autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady())}}return n.\u0275fac=function(e){return new(e||n)(I(g_),I(Se),I(ot,8),I(hT))},n.\u0275cmp=nt({type:n,selectors:[["hc-modal-window"]],viewQuery:function(e,i){if(1&e&&Ni(Jk,5),2&e){let o;Ae(o=Oe())&&(i._focusTrapElement=o.first)}},hostVars:3,hostBindings:function(e,i){1&e&&Ct("mousedown",function(r){return i._overlayClick(r)}),2&e&&(yh("@fadeInOut",i._fadeInOut),ge("hc-modal-window",i._hostClass))},ngContentSelectors:no,decls:4,vars:8,consts:[["cdkDrag","","cdkDragBoundary",".hc-modal-window",3,"cdkDragDisabled"],["focusTrapElement",""],["class","hc-modal-drag-handle","cdkDragHandle","",4,"ngIf"],["cdkDragHandle","",1,"hc-modal-drag-handle"],["width","24px","fill","currentColor","viewBox","0 0 24 24"],["d","M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"],["d","M0 0h24v24H0z","fill","none"]],template:function(e,i){1&e&&(vn(),X(0,"div",0,1),Yt(2,gF,4,0,"div",2),_t(3),ue()),2&e&&(function CD(n,t,e,i,o,r,s,c,u){Po(On,dr,zl(z(),n,t,e,i,o,r,s,c,u),!0)}("hc-modal ",i._disableFullScreen?"":"hc-modal-responsive"," ",i._isResizable?"hc-modal-resizable":"hc-modal-static"," hc-modal-",i._size,"\n ",i._tight?"hc-modal-tight":"",""),at("cdkDragDisabled",!i._isDraggable),je(2),at("ngIf",i._isDraggable))},dependencies:[Kl,Z3,Y3],styles:[".hc-modal-window{align-items:center;display:flex;justify-content:center;inset:0;position:fixed}.hc-modal{display:flex;flex-direction:column;justify-content:center;position:relative}.hc-modal-auto hc-modal{width:auto;justify-content:center}.hc-modal-sm hc-modal{width:300px;height:auto;border-radius:6px}.hc-modal-sm hc-modal .hc-modal-footer{justify-content:flex-end;flex-direction:row;position:relative}.hc-modal-sm hc-modal .hc-modal-header{justify-content:flex-start}.hc-modal-sm hc-modal .hc-modal-content{border-radius:6px}.hc-modal-sm hc-modal .hc-modal-body{margin-bottom:0}.hc-modal-md hc-modal{width:500px}.hc-modal-lg hc-modal{width:768px}.hc-modal-xl hc-modal{width:992px}.hc-modal-resizable hc-modal{resize:both;overflow:hidden;min-width:300px}.hc-modal-static hc-modal{min-height:auto!important}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm){max-height:100%;height:100%;justify-content:flex-end}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm).hc-modal-auto{width:100%;justify-content:flex-end}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-footer{flex-direction:column-reverse}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-footer .hc-button{margin-left:0;width:100%}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-content{height:calc(100% - 53px)!important;width:100vw!important;border-radius:0}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-center-component{justify-content:flex-end}}.hc-modal-tight .hc-modal-header{font-size:1.1428571429rem;min-height:45px;padding:15px}.hc-modal-tight .hc-modal-body,.hc-modal-tight .hc-modal-footer{padding:15px}\n"],encapsulation:2,data:{animation:[Ai("fadeInOut",[Pt("in",ve({opacity:1})),We("void <=> *",[ve({opacity:0}),Re("0.2s ease-in-out")])])]}}),n})(),XV=(()=>{class n{constructor(e){this.activeModal=e,this._ignoreEscapeKey=!1,this._hostClass=!0}_fadeInOut(){return Pt}_escapeKey(){this._ignoreEscapeKey||this.activeModal.dismiss()}}return n.\u0275fac=function(e){return new(e||n)(I(g_))},n.\u0275cmp=nt({type:n,selectors:[["hc-modal-overlay"]],hostVars:3,hostBindings:function(e,i){1&e&&Ct("keyup.escape",function(){return i._escapeKey()},0,Gd),2&e&&(yh("@fadeInOut",i._fadeInOut),ge("hc-modal-overlay",i._hostClass))},inputs:{_ignoreEscapeKey:"_ignoreEscapeKey"},decls:0,vars:0,template:function(e,i){},styles:[".hc-modal-overlay{background-color:#000;position:fixed;inset:0;opacity:.5;display:block}\n"],encapsulation:2,data:{animation:[Ai("fadeInOut",[Pt("in",ve({opacity:.5})),We("void <=> *",[ve({opacity:0}),Re("0.2s ease-in-out")])])]}}),n})();class eB{constructor(){this._result=new oe,this._modalClose=new be}get result(){return this._result.asObservable()}close(t){this.removeModalElements(),this._result.next(t)}dismiss(){this.removeModalElements()}removeModalElements(){if(this.window){const t=this.window.location.nativeElement;t.parentNode.removeChild(t),this.window.destroy()}if(this.overlay){const t=this.overlay.location.nativeElement;t.parentNode.removeChild(t),this.overlay.destroy()}if(this.componentRef){const t=this.componentRef.location.nativeElement;t.parentNode.removeChild(t),this.componentRef.destroy()}this._removeOpenClass&&this._removeOpenClass(),this._modalClose.emit(),this.window=null,this.overlay=null,this.componentRef=null,this._removeOpenClass=null}}let N1=(()=>{class n{constructor(e,i,o,r){this._componentFactory=e,this._injector=i,this._applicationRef=o,this.allowMultiple=!1,this._zIndexBase=2e3,this._zIndexCounter=this._zIndexBase,this._modalsOpen=0,this._renderer=r.createRenderer(null,null)}open(e,i){if(!this.allowMultiple&&0!==this._modalsOpen)throw new Error("Multiple modals may not be opened at the same time\n when the allowMultiple property on ModalService is set to false.");let o=document.querySelector("body");const s={container:o,data:{},ignoreEscapeKey:!1,size:"auto",tight:!1,ignoreOverlayClick:!1,isDraggable:!1,isResizable:!1,disableFullScreen:!1,restoreFocus:!0,autoFocus:!1,...i};if(s.container&&(o=s.container),!o)throw new Error("Modal requires that a container be set in the modal options");const c=new eB,u=new g_;c.data=s.data,u.data=s.data;const h=kn.create({providers:[{provide:g_,useValue:u}],parent:this._injector});this._renderer.addClass(o,"hc-modal-open"),c._removeOpenClass=()=>this._renderer.removeClass(o,"hc-modal-open"),this.allowMultiple&&(this._zIndexCounter=this._zIndexBase+2*this._modalsOpen);const p=this._componentFactory.resolveComponentFactory(XV).create(h);let g;if(this._renderer.setStyle(p.location.nativeElement,"z-index",this._zIndexCounter),p.instance._ignoreEscapeKey=s.ignoreEscapeKey,this._applicationRef.attachView(p.hostView),o.appendChild(p.location.nativeElement),c.overlay=p,e instanceof dn){const y=e.createEmbeddedView(u);this._applicationRef.attachView(y),g=[y.rootNodes]}else{const y=this._componentFactory.resolveComponentFactory(e).create(h);this._renderer.addClass(y.location.nativeElement,"hc-modal-center-component"),this._applicationRef.attachView(y.hostView),c.componentRef=y,g=[[y.location.nativeElement]]}const _=this._componentFactory.resolveComponentFactory(qV).create(h,g);return this._renderer.setStyle(_.location.nativeElement,"z-index",this._zIndexCounter+1),_.instance._ignoreOverlayClick=s.ignoreOverlayClick,_.instance._isDraggable=s.isDraggable,_.instance._isResizable=s.isResizable,_.instance._size=s.size,_.instance._tight=s.tight,_.instance._disableFullScreen=s.disableFullScreen,_.instance._autoFocus=s.autoFocus,_.instance._restoreFocus=s.restoreFocus,this._applicationRef.attachView(_.hostView),o.appendChild(_.location.nativeElement),c.window=_,setTimeout(()=>{_.instance._trapFocus()}),u.close=y=>{c.close(y)},u.dismiss=()=>c.dismiss(),this._modalsOpen++,c._modalClose.subscribe(()=>{this._modalsOpen--,c._modalClose.unsubscribe(),c.window&&this._restoreFocusAndDestroyTrap(c.window.instance)}),c}_restoreFocusAndDestroyTrap(e){const i=e._previouslyFocusedElement;i&&"focus"in i&&e._restoreFocus&&i.focus(),e._focusTrap&&e._focusTrap.destroy()}}return n.\u0275fac=function(e){return new(e||n)(P(st),P(kn),P($a),P(As))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),tB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=rt({providers:[N1],imports:[qa,$3]}),n})();new G("ng-select-selection-model");
|
|
2435
|
+
function y1(n){return Error(`Datepicker: No provider found for ${n}. You must import one of the following modules at your application root: HcNativeDateModule, MatMomentDateModule, or provide a custom implementation.`)}const SV=new G("hc-date-formats");new G("HC_DATE_LOCALE",{providedIn:"root",factory:function IV(){return Io(hr)}});class TV{constructor(){this._localeChanges=new oe}get localeChanges(){return this._localeChanges}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)||this.getHours(t)-this.getHours(e)||this.getMinutes(t)-this.getMinutes(e)}sameDate(t,e){if(t&&e){const i=this.isValid(t),o=this.isValid(e);return i&&o?!this.compareDate(t,e):i===o}return t===e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}let EV=1;const LV=["button","checkbox","file","hidden","image","radio","reset"];let M1=(()=>{class n extends ep{constructor(e,i,o,r){super(),this._elementRef=e,this._ngControl=r,this._focused=!1,this._mobile=!1,this._uniqueInputId="hc-input-"+EV++,this._unsubscribe=new oe,this._componentId=this._uniqueInputId,this._type="input",this._readonly=!1,this.focusChanged=new be,this.inputEvent=new be,this._hostHcInputClass=!0,this.mobileChange=new be,this._form=i||o}get type(){return this._type}set type(e){if(LV.indexOf(e)>-1)throw function kV(n){return new Error(`hc-input doesn't support the following type: ${n}`)}(e);this._type=e,this._isTextArea()||(this._elementRef.nativeElement.type=this.type)}get id(){return this._componentId||this._uniqueInputId}set id(e){this._componentId=e||this._uniqueInputId}get readonly(){return this._readonly}set readonly(e){this._readonly=bi(e)}get disabled(){return this._ngControl&&this._ngControl.disabled?this._ngControl.disabled:this._isDisabled}set disabled(e){this._isDisabled=bi(e),this._focused&&(this._focused=!1)}get required(){return this._isRequired}set required(e){this._isRequired=bi(e)}get _hostId(){return this._componentId||this._uniqueInputId}get _hostReadOnly(){return this.readonly}get _hostDisabled(){return this.disabled}get _hostRequired(){return this._isRequired}_onBlur(){this._changeFocus(!1),this._updateErrorState()}_onFocus(){this._changeFocus(!0)}get value(){return this._elementRef.nativeElement.value}set value(e){e!==this.value&&(this._elementRef.nativeElement.value=e)}_inputEvent(e){this.inputEvent.emit(e)}_changeEvent(e){this.inputEvent.emit(e)}get mobile(){return this._mobile}set mobile(e){e!==this._mobile&&(this._mobile=e,this.mobileChange.emit(this._mobile))}ngAfterViewInit(){this._ngControl&&this._ngControl.statusChanges&&this._ngControl.statusChanges.pipe(gt(this._unsubscribe)).subscribe(()=>this._updateErrorState()),this._form&&this._form.ngSubmit.pipe(gt(this._unsubscribe)).subscribe(()=>this._updateErrorState())}focus(){this._elementRef.nativeElement.focus()}_changeFocus(e){this._focused!==e&&!this.readonly&&(this._focused=e,this.focusChanged.emit(e))}_isTextArea(){return"textarea"!==this._elementRef.nativeElement.nodeName.toLowerCase()}_updateErrorState(){const i=!!(this._ngControl&&this._ngControl.invalid&&(this._ngControl.touched||this._form&&this._form.submitted));this._errorState!==i&&(this._errorState=i)}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}}return n.\u0275fac=function(e){return new(e||n)(I(Se),I(Km,8),I(Jm,8),I(Xr,10))},n.\u0275dir=B({type:n,selectors:[["","hcInput",""]],hostVars:6,hostBindings:function(e,i){1&e&&Ct("blur",function(){return i._onBlur()})("focus",function(){return i._onFocus()})("input",function(r){return i._inputEvent(r)})("change",function(r){return i._changeEvent(r)}),2&e&&(yh("readonly",i._hostReadOnly)("disabled",i._hostDisabled)("required",i._hostRequired),Jt("id",i._hostId),ge("hc-input",i._hostHcInputClass))},inputs:{type:"type",id:"id",readonly:"readonly",disabled:"disabled",required:"required",value:"value",mobile:"mobile"},outputs:{focusChanged:"focusChanged",inputEvent:"inputEvent",mobileChange:"mobileChange"},features:[Me([{provide:ep,useExisting:Ze(()=>n)}]),ne]}),n})(),C1=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=nt({type:n,selectors:[["hc-error"]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-error",i._hostClass)},ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},encapsulation:2}),n})(),NV=(()=>{class n{constructor(){this._hostHcPrefixClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcPrefix",""]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-prefix",i._hostHcPrefixClass)}}),n})(),w1=(()=>{class n{constructor(){this._hostHcSuffixClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["","hcSuffix",""]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-suffix",i._hostHcSuffixClass)}}),n})(),AV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=nt({type:n,selectors:[["hc-label"]],ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},encapsulation:2}),n})(),D1=(()=>{class n{constructor(e){this._elementRef=e,this._inline=!1,this._tight=!1,this.unsubscribe$=new oe,this._classHcFormFieldClass=!0,this._hasFocusedInput=!1,this._mobileInput=!1}get _disabledClass(){return this._inputChildren.length>0?this._inputChildren.first.disabled:this._control._isDisabled}get hasLabel(){return!!this._labelChildren.length}get hasInput(){return!!this._inputChildren.length}get inline(){return this._inline}set inline(e){this._inline=bi(e)}get tight(){return this._tight}set tight(e){this._tight=bi(e),this._updateTightControls()}ngAfterContentInit(){if(!this._control)throw function OV(){return new Error("HcFormField must contain a component that extends HcFormControl")}();this._updateTightControls(),this._controls.changes.pipe(gt(this.unsubscribe$)).subscribe(()=>this._updateTightControls()),this.hasInput&&(this._inputChildren.first.focusChanged.pipe(gt(this.unsubscribe$)).subscribe(e=>{this._hasFocusedInput=e}),this._mobileInput=this._inputChildren.first.mobile,this._inputChildren.first.mobileChange.pipe(gt(this.unsubscribe$)).subscribe(e=>{this._mobileInput=e}))}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}_updateTightControls(){this._controls&&this._controls.forEach(e=>{e._tight=this._tight})}getConnectedOverlayOrigin(){return this._elementRef}_shouldShowErrorMessages(){return this._control._errorState&&(this._errorChildren&&this._errorChildren.length>0||!!this._control._errorMessage&&this._control._errorMessage.length>0)}}return n.\u0275fac=function(e){return new(e||n)(I(Se))},n.\u0275cmp=nt({type:n,selectors:[["hc-form-field"]],contentQueries:function(e,i,o){if(1&e&&(yt(o,ep,5),yt(o,ep,4),yt(o,C1,4),yt(o,NV,4),yt(o,w1,4),yt(o,M1,4),yt(o,AV,4)),2&e){let r;Oe(r=Pe())&&(i._control=r.first),Oe(r=Pe())&&(i._controls=r),Oe(r=Pe())&&(i._errorChildren=r),Oe(r=Pe())&&(i._prefixChildren=r),Oe(r=Pe())&&(i._suffixChildren=r),Oe(r=Pe())&&(i._inputChildren=r),Oe(r=Pe())&&(i._labelChildren=r)}},hostVars:4,hostBindings:function(e,i){2&e&&ge("hc-form-field",i._classHcFormFieldClass)("hc-form-field-disabled",i._disabledClass)},inputs:{inline:"inline",tight:"tight"},ngContentSelectors:zz,decls:7,vars:12,consts:[[3,"ngClass","hc-form-field-label-wrapper-tight",4,"ngIf"],[1,"hc-form-field-content-wrapper"],[3,"hc-form-field-flex","hc-form-field-flex-inline","hc-form-field-invalid","hc-form-field-flex-focused",4,"ngIf"],[3,"hc-form-field-non-input","hc-form-field-non-input-inline","hc-form-field-non-input-inline-tight","hc-form-field-invalid",4,"ngIf"],["class","hc-form-field-error-wrapper",4,"ngIf"],[3,"ngClass"],["class","hc-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"hc-required-marker"],["class","hc-form-field-prefix",4,"ngIf"],[1,"hc-form-field-infix"],["inputs",""],["class","hc-form-field-suffix",4,"ngIf"],[1,"hc-form-field-prefix"],[1,"hc-form-field-suffix"],[1,"hc-form-field-error-wrapper"],[4,"ngIf"]],template:function(e,i){1&e&&(vn(Rz),X(0,"div"),Ft(1,Ez,4,8,"span",0),X(2,"div",1),_t(3),Ft(4,Az,6,14,"div",2),Ft(5,Oz,2,8,"div",3),Ft(6,jz,3,1,"div",4),ce()()),2&e&&(ge("hc-form-field-wrapper-inline",i.inline)("hc-form-field-wrapper",!i.inline)("hc-form-field-no-label",!i.hasLabel)("hc-form-field-wrapper-tight",i.tight),Le(1),ot("ngIf",i.hasLabel),Le(3),ot("ngIf",i.hasInput),Le(1),ot("ngIf",!i.hasInput),Le(1),ot("ngIf",i._shouldShowErrorMessages()))},dependencies:[bm,Xl,C1],styles:[".hc-form-field{position:relative;text-align:left;font-size:inherit;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5;flex-direction:inherit}.hc-form-field-wrapper{position:relative;padding-bottom:1.525em;flex-direction:inherit}.hc-form-field-wrapper-inline{display:inline-flex;width:100%;padding-bottom:inherit}.hc-form-field-wrapper-tight:not(.hc-form-field-wrapper-inline){padding-bottom:10px}.hc-form-field-content-wrapper{display:flex;flex-direction:inherit;flex-wrap:wrap;width:100%}.hc-form-field-flex{display:inline-flex;align-items:center;box-sizing:border-box;width:100%;border:1px solid #c0c5cc;background:#fff}.hc-form-field-flex:hover{border:1px solid #00aeff;background-color:#f2fbff}.hc-form-field-flex.hc-form-field-flex-focused{border:1px solid #00aeff;background-color:#fff;box-shadow:0 0 3px #00aeff;outline:none}.hc-form-field-disabled .hc-form-field-flex{cursor:not-allowed;border:1px solid #e0e0e0;background-color:#f0f3f6;color:#adadad}.hc-form-field-flex-inline{display:inline-flex;align-items:center;box-sizing:border-box;border:1px solid #c0c5cc;background:#fff}.hc-form-field-flex-inline:hover{border:1px solid #00aeff;background-color:#f2fbff}.hc-form-field-flex-inline.hc-form-field-flex-focused{border:1px solid #00aeff;background-color:#fff;box-shadow:0 0 3px #00aeff;outline:none}.hc-form-field-disabled .hc-form-field-flex-inline{cursor:not-allowed;border:1px solid #e0e0e0;background-color:#f0f3f6;color:#adadad}.hc-form-field-invalid.hc-form-field-flex,.hc-form-field-invalid.hc-form-field-flex-inline{border:1px solid #cc2027}.hc-form-field-invalid.hc-form-field-flex.hc-form-field-flex-focused,.hc-form-field-invalid.hc-form-field-flex-inline.hc-form-field-flex-focused{box-shadow:0 0 3px #cc2027}.hc-form-field-non-input{display:inline-flex;flex-direction:inherit;width:100%}.hc-form-field-non-input-inline{display:inline-flex;flex:0 0 100%;min-height:35px;align-items:center}.hc-form-field-non-input-inline-tight{min-height:auto}.hc-form-field-prefix,.hc-form-field-suffix{white-space:nowrap;flex:none;position:relative}.hc-form-field-prefix .hc-icon,.hc-form-field-suffix .hc-icon{color:#a1a1a1;font-size:125%;line-height:1.305}.hc-form-field-wrapper-tight .hc-form-field-prefix .hc-icon,.hc-form-field-wrapper-tight .hc-form-field-suffix .hc-icon{line-height:1.3}.hc-form-field-disabled .hc-form-field-prefix,.hc-form-field-disabled .hc-form-field-suffix{opacity:.5}.hc-suffix:not(:first-child){margin-left:7px}.hc-prefix:not(:last-child){margin-right:7px}.hc-form-field-suffix{padding-right:7px;display:flex;align-items:center}.hc-form-field-prefix{padding-left:7px;display:flex;align-items:center}.hc-form-field-infix{display:block;position:relative;flex:auto;padding:.393em 10px}.hc-form-field-infix-tight{padding:.1965em 7px;font-size:.9285714286rem}.hc-form-field-infix-mobile{font-size:1.1428571429rem}.hc-form-field-label-wrapper{box-sizing:content-box;width:100%}.hc-form-field-label-wrapper .hc-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.hc-form-field-label-wrapper.hc-form-field-label-wrapper-tight{font-size:.9285714286rem}.hc-form-field-label-wrapper-inline{flex:1 0 auto;padding:7px 15px 0 0}.hc-form-field-label-wrapper-inline .hc-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.hc-form-field-label-wrapper-inline.hc-form-field-label-wrapper-tight{padding-top:0;line-height:1.9}.hc-form-field-label{display:block;width:100%;margin-bottom:3px;font:inherit;font-size:1rem;color:inherit}.hc-form-field-label-extension{color:#6d6e70;font-size:.8571428571rem;margin-bottom:10px}.hc-form-field-label-inline{width:100%;font:inherit;font-size:1rem;color:inherit}.hc-form-field-label-tight{font-size:.9285714286rem}.hc-form-field-error-wrapper{box-sizing:border-box;width:100%;overflow:hidden;margin-top:.5333333333em;font-size:75%}.hc-error{display:block;color:#cc2027}.hc-required-marker{color:#cc2027}\n",".hc-icon-left{margin-right:5px}.hc-icon-right{margin-left:5px}.hc-input{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;text-align:inherit}.hc-input[disabled]{cursor:not-allowed}.hc-input:-moz-ui-invalid{box-shadow:none}.hc-input::-ms-clear,.hc-input::-ms-reveal{display:none}.hc-input::placeholder{color:#c0c5cc}.hc-input:-ms-input-placeholder{color:#c0c5cc}.hc-input::-ms-input-placeholder{color:#c0c5cc}textarea.hc-input{resize:vertical;overflow:auto;padding:2px 0;margin:-2px 0}\n"],encapsulation:2}),n})();Ai("transformPanel",[Pt("void",ve({opacity:0,transform:"scale(1, 0.8)"})),We("void => enter",Re("120ms cubic-bezier(0, 0, 0.2, 1)",ve({opacity:1,transform:"scale(1, 1)"}))),We("* => void",Re("100ms linear",ve({opacity:0})))]),Ai("fadeInCalendar",[Pt("void",ve({opacity:0})),Pt("enter",ve({opacity:1})),We("void => *",Re("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))]);const PV={provide:Vo,useExisting:Ze(()=>x1),multi:!0},jV={provide:yn,useExisting:Ze(()=>x1),multi:!0};class f_{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let x1=(()=>{class n{constructor(e,i,o,r){if(this._elementRef=e,this._dateAdapter=i,this._dateFormats=o,this._formField=r,this.dateChange=new be,this.dateInput=new be,this._valueChange=new be,this._disabledChange=new be,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=ze.EMPTY,this._localeSubscription=ze.EMPTY,this._timeDate=new Date,this._parseValidator=()=>this._lastValueValid?null:{hcDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=s=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(s.value));return!this.min||!c||this._dateAdapter.compareDate(this.min,c)<=0?null:{hcDatepickerMin:{min:this.min,actual:c}}},this._maxValidator=s=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(s.value));return!this.max||!c||this._dateAdapter.compareDate(this.max,c)>=0?null:{hcDatepickerMax:{max:this.max,actual:c}}},this._filterValidator=s=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(s.value));return this._dateFilter&&c&&!this._dateFilter(c)?{hcDatepickerFilter:!0}:null},this._validator=bT.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw y1("DateAdapter");if(!this._dateFormats)throw y1("HC_DATE_FORMATS");this._localeSubscription=i.localeChanges.subscribe(()=>{this.value=this.value}),this._allowsBlankValues=!1}set hcDatepicker(e){!e||(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(i=>{this.setDate(i)}))}set hcDatepickerFilter(e){this._dateFilter=e,this._validatorOnChange()}get value(){return this._value}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);const i=this.value;this._value=e,this._formatValue(e),e&&(this._timeDate=e),this._dateAdapter.sameDate(i,e)||this._valueChange.emit(e)}get min(){return this._min}set min(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get max(){return this._max}set max(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(e){const i=bi(e),o=this._elementRef.nativeElement;this._disabled!==i&&(this._disabled=i,this._disabledChange.emit(i)),i&&o.blur&&o.blur()}get allowsBlankValues(){return this._allowsBlankValues}set allowsBlankValues(e){this._allowsBlankValues=bi(e)}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}focus(){this._elementRef.nativeElement.focus()}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}setDate(e){this.value=e,this._cvaOnChange(e),this._onTouched(),this.dateInput.emit(new f_(this,this._elementRef.nativeElement)),this.dateChange.emit(new f_(this,this._elementRef.nativeElement))}_onKeydown(e){this._datepicker&&e.altKey&&"ArrowDown"===e.key&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}_onInput(e){"time"===(this._datepicker?this._datepicker.mode:this._mode)&&(e=this._timeDate.getDate()+"/"+(this._timeDate.getMonth()+1)+"/"+this._timeDate.getFullYear()+" "+e);let o=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);if(o&&!this._elementRef.nativeElement.value.match(/[1-9][0-9][0-9]/g)){const s=new Date;o.getFullYear()>=s.getFullYear()+30?o.setFullYear(o.getFullYear()-100):o.getFullYear()<s.getFullYear()-70&&o.setFullYear(o.getFullYear()+100)}this._lastValueValid=!(!this._allowsBlankValues||""!=e.trim())||!o||this._dateAdapter.isValid(o),o=this._getValidDateOrNull(o),this._dateAdapter.sameDate(o,this._value)||(this._value=o,this._cvaOnChange(o),this._valueChange.emit(o),this.dateInput.emit(new f_(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new f_(this,this._elementRef.nativeElement))}_onBlur(){(this.value||this._elementRef.nativeElement.value)&&this._formatValue(this.value),this._onTouched()}_formatValue(e){let i=this._dateFormats.display.dateInput,o="date",r=12;if(this._datepicker?(o=this._datepicker.mode,r=+this._datepicker.hourCycle):this._mode&&(o=this._mode,this._hourCycle&&(r=this._hourCycle)),"time"===o){const s=this._dateFormats.display.timeInput;s.hour12=12===r,i=s}else if("date-time"===o){const s=this._dateFormats.display.dateTimeInput;s.hour12=12===r,i=s}this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,i):""}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return n.\u0275fac=function(e){return new(e||n)(I(Se),I(TV,8),I(SV,8),I(D1,8))},n.\u0275dir=B({type:n,selectors:[["input","hcDatepicker",""]],hostVars:5,hostBindings:function(e,i){1&e&&Ct("input",function(r){return i._onInput(r.target.value)})("change",function(){return i._onChange()})("blur",function(){return i._onBlur()})("keydown",function(r){return i._onKeydown(r)}),2&e&&(yh("disabled",i.disabled),Jt("aria-haspopup",!0)("aria-owns",(null==i._datepicker?null:i._datepicker.opened)&&i._datepicker.id||null)("min",i.min?i._dateAdapter.toIso8601(i.min):null)("max",i.max?i._dateAdapter.toIso8601(i.max):null))},inputs:{hcDatepicker:"hcDatepicker",hcDatepickerFilter:"hcDatepickerFilter",value:"value",min:"min",max:"max",disabled:"disabled",_mode:"_mode",_hourCycle:"_hourCycle",allowsBlankValues:"allowsBlankValues"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Me([PV,jV,{provide:ep,useExisting:Ze(()=>n)}])]}),n})();!function RV(n,t){const e=Array(n);for(let i=0;i<n;i++)e[i]=t(i)}(31,n=>String(n+1)),new G("hc-datepicker-scroll-strategy");let S1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({imports:[qa]}),n})(),VV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({imports:[qa,S1]}),n})();class m_{close(t){}dismiss(){}}let ZV=(()=>{class n{constructor(){this._modalBodyClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=nt({type:n,selectors:[["hc-modal-body"]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-modal-body",i._modalBodyClass)},ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},encapsulation:2}),n})(),$V=(()=>{class n{constructor(){this._modalFooterClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=nt({type:n,selectors:[["hc-modal-footer"]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-modal-footer",i._modalFooterClass)},ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},encapsulation:2}),n})(),KV=(()=>{class n{constructor(){this._modalHeaderClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=nt({type:n,selectors:[["hc-modal-header"]],hostVars:2,hostBindings:function(e,i){2&e&&ge("hc-modal-header",i._modalHeaderClass)},ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},encapsulation:2}),n})(),JV=(()=>{class n{constructor(){this._modalWrapperClass=!0,this._tight=!1,this._modalMinHeight="auto"}get tight(){return this._tight}set tight(e){this._tight=bi(e)}ngAfterContentInit(){let e=0;this._modalHeader&&(e+=55,this._modalMinHeight=e+"px"),this._modalBody&&(e+=120,this._modalMinHeight=e+"px"),this._modalFooter&&(e+=55,this._modalMinHeight=e+"px")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=nt({type:n,selectors:[["hc-modal"]],contentQueries:function(e,i,o){if(1&e&&(yt(o,KV,5),yt(o,ZV,5),yt(o,$V,5)),2&e){let r;Oe(r=Pe())&&(i._modalHeader=r.first),Oe(r=Pe())&&(i._modalBody=r.first),Oe(r=Pe())&&(i._modalFooter=r.first)}},hostVars:4,hostBindings:function(e,i){2&e&&(Wr("min-height",i._modalMinHeight),ge("hc-modal-content",i._modalWrapperClass))},inputs:{tight:"tight"},ngContentSelectors:no,decls:1,vars:0,template:function(e,i){1&e&&(vn(),_t(0))},encapsulation:2}),n})(),qV=(()=>{class n{constructor(e,i,o,r){this.activeModal=e,this.el=i,this._document=o,this._focusTrapFactory=r,this._ignoreOverlayClick=!1,this._isDraggable=!1,this._isResizable=!1,this._size="auto",this._tight=!1,this._disableFullScreen=!1,this._restoreFocus=!0,this._autoFocus=!1,this._hostClass=!0}_fadeInOut(){return Pt}_overlayClick(e){let i=!0;const o=this._eventPath(e),r=o.findIndex(c=>c===this.el.nativeElement)>-1,s=o.map(c=>c.classList);for(const c of s)c&&c.contains("hc-modal-content")&&(i=!1);!this._ignoreOverlayClick&&i&&r&&this.activeModal.dismiss()}_eventPath(e){const i=e.composedPath&&e.composedPath()||e.path,o=e.target;return null!=i?i.indexOf(window)<0?i.concat(window):i:o===window?[window]:[o].concat(function r(s,c){c=c||[];const u=s.parentNode;return u?r(u,c.concat(u)):c}(o),window)}_savePreviouslyFocusedElement(){this._document&&(this._previouslyFocusedElement=this._document.activeElement)}_trapFocus(){!this._focusTrapElement||(this._savePreviouslyFocusedElement(),!this._focusTrap&&this._focusTrapElement&&(this._focusTrap=this._focusTrapFactory.create(this._focusTrapElement.nativeElement)),this._autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady())}}return n.\u0275fac=function(e){return new(e||n)(I(m_),I(Se),I(rt,8),I(hT))},n.\u0275cmp=nt({type:n,selectors:[["hc-modal-window"]],viewQuery:function(e,i){if(1&e&&Ni(Jk,5),2&e){let o;Oe(o=Pe())&&(i._focusTrapElement=o.first)}},hostVars:3,hostBindings:function(e,i){1&e&&Ct("mousedown",function(r){return i._overlayClick(r)}),2&e&&(Mh("@fadeInOut",i._fadeInOut),ge("hc-modal-window",i._hostClass))},ngContentSelectors:no,decls:4,vars:8,consts:[["cdkDrag","","cdkDragBoundary",".hc-modal-window",3,"cdkDragDisabled"],["focusTrapElement",""],["class","hc-modal-drag-handle","cdkDragHandle","",4,"ngIf"],["cdkDragHandle","",1,"hc-modal-drag-handle"],["width","24px","fill","currentColor","viewBox","0 0 24 24"],["d","M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"],["d","M0 0h24v24H0z","fill","none"]],template:function(e,i){1&e&&(vn(),X(0,"div",0,1),Ft(2,gF,4,0,"div",2),_t(3),ce()),2&e&&(function CD(n,t,e,i,o,r,s,c,u){Po(On,dr,zl(z(),n,t,e,i,o,r,s,c,u),!0)}("hc-modal ",i._disableFullScreen?"":"hc-modal-responsive"," ",i._isResizable?"hc-modal-resizable":"hc-modal-static"," hc-modal-",i._size,"\n ",i._tight?"hc-modal-tight":"",""),ot("cdkDragDisabled",!i._isDraggable),Le(2),ot("ngIf",i._isDraggable))},dependencies:[Xl,Z3,Y3],styles:[".hc-modal-window{align-items:center;display:flex;justify-content:center;inset:0;position:fixed}.hc-modal{display:flex;flex-direction:column;justify-content:center;position:relative}.hc-modal-auto hc-modal{width:auto;justify-content:center}.hc-modal-sm hc-modal{width:300px;height:auto;border-radius:6px}.hc-modal-sm hc-modal .hc-modal-footer{justify-content:flex-end;flex-direction:row;position:relative}.hc-modal-sm hc-modal .hc-modal-header{justify-content:flex-start}.hc-modal-sm hc-modal .hc-modal-content{border-radius:6px}.hc-modal-sm hc-modal .hc-modal-body{margin-bottom:0}.hc-modal-md hc-modal{width:500px}.hc-modal-lg hc-modal{width:768px}.hc-modal-xl hc-modal{width:992px}.hc-modal-resizable hc-modal{resize:both;overflow:hidden;min-width:300px}.hc-modal-static hc-modal{min-height:auto!important}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm){max-height:100%;height:100%;justify-content:flex-end}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm).hc-modal-auto{width:100%;justify-content:flex-end}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-footer{flex-direction:column-reverse}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-footer .hc-button{margin-left:0;width:100%}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-content{height:calc(100% - 53px)!important;width:100vw!important;border-radius:0}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-center-component{justify-content:flex-end}}.hc-modal-tight .hc-modal-header{font-size:1.1428571429rem;min-height:45px;padding:15px}.hc-modal-tight .hc-modal-body,.hc-modal-tight .hc-modal-footer{padding:15px}\n"],encapsulation:2,data:{animation:[Ai("fadeInOut",[Pt("in",ve({opacity:1})),We("void <=> *",[ve({opacity:0}),Re("0.2s ease-in-out")])])]}}),n})(),XV=(()=>{class n{constructor(e){this.activeModal=e,this._ignoreEscapeKey=!1,this._hostClass=!0}_fadeInOut(){return Pt}_escapeKey(){this._ignoreEscapeKey||this.activeModal.dismiss()}}return n.\u0275fac=function(e){return new(e||n)(I(m_))},n.\u0275cmp=nt({type:n,selectors:[["hc-modal-overlay"]],hostVars:3,hostBindings:function(e,i){1&e&&Ct("keyup.escape",function(){return i._escapeKey()},0,Zd),2&e&&(Mh("@fadeInOut",i._fadeInOut),ge("hc-modal-overlay",i._hostClass))},inputs:{_ignoreEscapeKey:"_ignoreEscapeKey"},decls:0,vars:0,template:function(e,i){},styles:[".hc-modal-overlay{background-color:#000;position:fixed;inset:0;opacity:.5;display:block}\n"],encapsulation:2,data:{animation:[Ai("fadeInOut",[Pt("in",ve({opacity:.5})),We("void <=> *",[ve({opacity:0}),Re("0.2s ease-in-out")])])]}}),n})();class eB{constructor(){this._result=new oe,this._modalClose=new be}get result(){return this._result.asObservable()}close(t){this.removeModalElements(),this._result.next(t)}dismiss(){this.removeModalElements()}removeModalElements(){if(this.window){const t=this.window.location.nativeElement;t.parentNode.removeChild(t),this.window.destroy()}if(this.overlay){const t=this.overlay.location.nativeElement;t.parentNode.removeChild(t),this.overlay.destroy()}if(this.componentRef){const t=this.componentRef.location.nativeElement;t.parentNode.removeChild(t),this.componentRef.destroy()}this._removeOpenClass&&this._removeOpenClass(),this._modalClose.emit(),this.window=null,this.overlay=null,this.componentRef=null,this._removeOpenClass=null}}let N1=(()=>{class n{constructor(e,i,o,r){this._componentFactory=e,this._injector=i,this._applicationRef=o,this.allowMultiple=!1,this._zIndexBase=2e3,this._zIndexCounter=this._zIndexBase,this._modalsOpen=0,this._renderer=r.createRenderer(null,null)}open(e,i){if(!this.allowMultiple&&0!==this._modalsOpen)throw new Error("Multiple modals may not be opened at the same time\n when the allowMultiple property on ModalService is set to false.");let o=document.querySelector("body");const s={container:o,data:{},ignoreEscapeKey:!1,size:"auto",tight:!1,ignoreOverlayClick:!1,isDraggable:!1,isResizable:!1,disableFullScreen:!1,restoreFocus:!0,autoFocus:!1,...i};if(s.container&&(o=s.container),!o)throw new Error("Modal requires that a container be set in the modal options");const c=new eB,u=new m_;c.data=s.data,u.data=s.data;const h=kn.create({providers:[{provide:m_,useValue:u}],parent:this._injector});this._renderer.addClass(o,"hc-modal-open"),c._removeOpenClass=()=>this._renderer.removeClass(o,"hc-modal-open"),this.allowMultiple&&(this._zIndexCounter=this._zIndexBase+2*this._modalsOpen);const p=this._componentFactory.resolveComponentFactory(XV).create(h);let g;if(this._renderer.setStyle(p.location.nativeElement,"z-index",this._zIndexCounter),p.instance._ignoreEscapeKey=s.ignoreEscapeKey,this._applicationRef.attachView(p.hostView),o.appendChild(p.location.nativeElement),c.overlay=p,e instanceof dn){const y=e.createEmbeddedView(u);this._applicationRef.attachView(y),g=[y.rootNodes]}else{const y=this._componentFactory.resolveComponentFactory(e).create(h);this._renderer.addClass(y.location.nativeElement,"hc-modal-center-component"),this._applicationRef.attachView(y.hostView),c.componentRef=y,g=[[y.location.nativeElement]]}const _=this._componentFactory.resolveComponentFactory(qV).create(h,g);return this._renderer.setStyle(_.location.nativeElement,"z-index",this._zIndexCounter+1),_.instance._ignoreOverlayClick=s.ignoreOverlayClick,_.instance._isDraggable=s.isDraggable,_.instance._isResizable=s.isResizable,_.instance._size=s.size,_.instance._tight=s.tight,_.instance._disableFullScreen=s.disableFullScreen,_.instance._autoFocus=s.autoFocus,_.instance._restoreFocus=s.restoreFocus,this._applicationRef.attachView(_.hostView),o.appendChild(_.location.nativeElement),c.window=_,setTimeout(()=>{_.instance._trapFocus()}),u.close=y=>{c.close(y)},u.dismiss=()=>c.dismiss(),this._modalsOpen++,c._modalClose.subscribe(()=>{this._modalsOpen--,c._modalClose.unsubscribe(),c.window&&this._restoreFocusAndDestroyTrap(c.window.instance)}),c}_restoreFocusAndDestroyTrap(e){const i=e._previouslyFocusedElement;i&&"focus"in i&&e._restoreFocus&&i.focus(),e._focusTrap&&e._focusTrap.destroy()}}return n.\u0275fac=function(e){return new(e||n)(P(at),P(kn),P($a),P(As))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),tB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({providers:[N1],imports:[qa,$3]}),n})();new G("ng-select-selection-model");
|
|
2436
2436
|
/**
|
|
2437
2437
|
* @license
|
|
2438
2438
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2440,14 +2440,14 @@ function y1(n){return Error(`Datepicker: No provider found for ${n}. You must im
|
|
|
2440
2440
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2441
2441
|
* found in the LICENSE file at https://angular.io/license
|
|
2442
2442
|
*/
|
|
2443
|
-
const
|
|
2443
|
+
const $s="225ms cubic-bezier(0.4,0.0,0.2,1)";
|
|
2444
2444
|
/**
|
|
2445
2445
|
* @license
|
|
2446
2446
|
* Copyright Google LLC All Rights Reserved.
|
|
2447
2447
|
*
|
|
2448
2448
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2449
2449
|
* found in the LICENSE file at https://angular.io/license
|
|
2450
|
-
*/Ai("indicator",[Pt("active-asc, asc",ve({transform:"translateY(0px)"})),Pt("active-desc, desc",ve({transform:"translateY(10px)"})),We("active-asc <=> active-desc",Re(Zs))]),Ai("leftPointer",[Pt("active-asc, asc",ve({transform:"rotate(-45deg)"})),Pt("active-desc, desc",ve({transform:"rotate(45deg)"})),We("active-asc <=> active-desc",Re(Zs))]),Ai("rightPointer",[Pt("active-asc, asc",ve({transform:"rotate(45deg)"})),Pt("active-desc, desc",ve({transform:"rotate(-45deg)"})),We("active-asc <=> active-desc",Re(Zs))]),Ai("arrowOpacity",[Pt("desc-to-active, asc-to-active, active",ve({opacity:1})),Pt("desc-to-hint, asc-to-hint, hint",ve({opacity:.54})),Pt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",ve({opacity:0})),We("* => asc, * => desc, * => active, * => hint, * => void",Re("0ms")),We("* <=> *",Re(Zs))]),Ai("arrowPosition",[We("* => desc-to-hint, * => desc-to-active",Re(Zs,Im([ve({transform:"translateY(-25%)"}),ve({transform:"translateY(0)"})]))),We("* => hint-to-desc, * => active-to-desc",Re(Zs,Im([ve({transform:"translateY(0)"}),ve({transform:"translateY(25%)"})]))),We("* => asc-to-hint, * => asc-to-active",Re(Zs,Im([ve({transform:"translateY(25%)"}),ve({transform:"translateY(0)"})]))),We("* => hint-to-asc, * => active-to-asc",Re(Zs,Im([ve({transform:"translateY(0)"}),ve({transform:"translateY(-25%)"})]))),Pt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",ve({transform:"translateY(0)"})),Pt("hint-to-desc, active-to-desc, desc",ve({transform:"translateY(-25%)"})),Pt("hint-to-asc, active-to-asc, asc",ve({transform:"translateY(25%)"}))]),Ai("allowChildren",[We("* <=> *",[function M4(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}("@*",function y4(n=null){return{type:9,options:n}}(),{optional:!0})])]);new xa,new Ds;let NB=(()=>{class n{transform(e,i){return e&&i?e.filter(o=>-1!==o.name.toLowerCase().indexOf(i)):e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=on({name:"filterApps",type:n,pure:!0}),n})(),AB=(()=>{class n{transform(e,i){return e&&i?e.filter(o=>-1!==o.name.toLowerCase().indexOf(i)||o.applications.some(r=>-1!==r.name.toLowerCase().indexOf(i))):e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=on({name:"filterGroups",type:n,pure:!0}),n})();const OB=["aboutModal"],PB=["bannerSelect"];function jB(n,t){if(1&n&&(X(0,"a",40)(1,"span",30),St(2),ue()()),2&n){const e=t.$implicit;at("href",e.url,ja),je(2),Wa(e.name)}}function RB(n,t){if(1&n&&(gh(0),X(1,"span",39),St(2),ue(),Yt(3,jB,3,2,"a",25),Ih(4,"filterApps"),mh()),2&n){const e=t.$implicit,i=Ft(2);je(2),Wa(e.name),je(1),at("ngForOf",Ey(4,2,e.applications,i.filter))}}function zB(n,t){if(1&n&&(X(0,"a",40)(1,"span",30),St(2),ue()()),2&n){const e=t.$implicit;at("href",e.url,ja),je(2),Wa(e.name)}}function FB(n,t){if(1&n){const e=_h();X(0,"hc-modal")(1,"div",41)(2,"div",42),At(3,"img",43),X(4,"div",44)(5,"div",45),At(6,"img",46),ue(),X(7,"div",47),At(8,"img",48),X(9,"div",49),St(10,"Version 1.2"),ue()()()(),X(11,"div",50)(12,"div"),At(13,"hc-icon",51),X(14,"div")(15,"strong"),St(16,"Metadata Last Updated"),ue(),X(17,"div",52),St(18),Ih(19,"date"),ue()()()(),X(20,"div",53),St(21),X(22,"a",54),St(23,"Health Catalyst"),ue(),St(24," . All rights reserved "),At(25,"br"),X(26,"a",55),St(27,"Terms and Conditions"),ue(),St(28," | "),X(29,"a",56),St(30,"Privacy Policy"),ue()()(),At(31,"hr",57),X(32,"div",58)(33,"button",59),Ct("click",function(){return Yi((0,Ui(e).close)())}),St(34,"Close"),ue()()()}if(2&n){const e=Ft().ngIf,i=Ft();je(18),Wa(ky(19,2,e.lastModified)),je(3),Qa(" Copyright ",i.currentYear," ")}}function VB(n,t){if(1&n){const e=_h();X(0,"div")(1,"div",1)(2,"div",2)(3,"a",3),At(4,"img",4),ue(),X(5,"div",5)(6,"div",6)(7,"ul",7)(8,"li",8),Ct("popoverOpened",function(){return Ui(e),Yi(Ft().setAppsWidth(!1))}),St(9," Applications "),At(10,"hc-icon",9),ue(),X(11,"li",10),St(12,"Developers"),At(13,"hc-icon",9),ue()()()(),X(14,"div",11)(15,"button",12),At(16,"hc-icon",13),ue()()()(),X(17,"hc-pop",14,15)(19,"hc-form-field")(20,"input",16,17),Ct("ngModelChange",function(o){return Ui(e),Yi(Ft().filter=o)}),ue(),X(22,"hc-icon",18),Ct("click",function(){return Ui(e),Yi(Ft().filter="")}),ue(),At(23,"hc-icon",19),ue(),X(24,"div",20),Yt(25,RB,5,5,"ng-container",21),Ih(26,"filterGroups"),ue()(),X(27,"hc-pop",22,23)(29,"div",24),Yt(30,zB,3,2,"a",25),ue()(),X(31,"hc-pop",26,27)(33,"div",24)(34,"a",28),At(35,"hc-icon",29),X(36,"span",30),St(37,"HC Community"),ue()(),X(38,"a",31),At(39,"hc-icon",32),X(40,"span",30),St(41,"Client Support"),ue()(),X(42,"a",33),At(43,"hc-icon",34),X(44,"span",30),St(45,"HealthCatalyst.com"),ue()(),At(46,"div",35),X(47,"button",36),Ct("click",function(){return Ui(e),Yi(Ft().displayAboutModal())}),At(48,"hc-icon",37),X(49,"span",30),St(50,"About"),ue()()()(),Yt(51,FB,35,4,"ng-template",null,38,Fy),ue()}if(2&n){const e=t.ngIf,i=Ug(18),o=Ug(28),r=Ug(32),s=Ft();je(8),at("hcPop",i),je(3),wD("display:",s.showdevmenu,""),at("hcPop",o),je(4),at("hcPop",r),je(2),at("showArrow",!1),je(3),at("ngModel",s.filter),je(4),Wr("width",s.appsMenuWidth),je(1),at("ngForOf",Ey(26,17,e.applicationGroups,s.filter)),je(2),at("autoCloseOnContentClick",!0)("showArrow",!1),je(3),at("ngForOf",e.developerMenu),je(1),at("autoCloseOnContentClick",!0)("showArrow",!1),je(3),Gg("href","https://community.healthcatalyst.com",s.hcclink,"",ja)}}let BB=(()=>{class n{constructor(e,i){this.metadataService=e,this.modalService=i,this.currentYear=(new Date).getFullYear().toString(),this.appsMenuWidth="300px",this.showdevmenu="",this.hcclink="",this.prodcatlink=""}ngOnInit(){}displayAboutModal(){this.modalService.open(this.aboutModal,{size:"md"})}setAppsWidth(e){this.appsMenuWidth=e?this.bannerSelect.nativeElement.clientWidth+"px":"300px"}}return n.\u0275fac=function(e){return new(e||n)(I(b4),I(N1))},n.\u0275cmp=nt({type:n,selectors:[["docs-navbar"]],viewQuery:function(e,i){if(1&e&&(Ni(OB,5),Ni(PB,5)),2&e){let o;Ae(o=Oe())&&(i.aboutModal=o.first),Ae(o=Oe())&&(i.bannerSelect=o.first)}},inputs:{showdevmenu:"showdevmenu",hcclink:"hcclink",prodcatlink:"prodcatlink"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"docs-navbar"],[1,"docs-container"],["href","https://docs.healthcatalyst.com"],["src","https://docsgoosestorage.blob.core.windows.net/static/docsLogo.svg","height","31px","width","336px","alt","Documentation Logo",1,"docs-navbar-logo"],[1,"docs-navbar-left"],["id","navbar"],[1,"nav","level1","navbar-nav"],["tabindex","1",1,"docs-navbar-link",3,"hcPop","popoverOpened"],["fontSet","fa","fontIcon","fa-angle-down",1,"docs-navbar-chevron"],["tabindex","2",1,"docs-navbar-link",3,"hcPop"],[1,"docs-navbar-right"],["hc-button","","buttonStyle","minimal","tabindex","3",1,"docs-navbar-icon",3,"hcPop"],["fontSet","fa","fontIcon","fa-question-circle-o"],["horizontalAlign","start",3,"showArrow"],["appsMenu",""],["hcInput","","placeholder","Filter list",3,"ngModel","ngModelChange"],["searchBox",""],["hcSuffix","","fontSet","fa","fontIcon","fa-times-circle",1,"clear-search-ico",3,"click"],["hcSuffix","","fontSet","fa","fontIcon","fa-search"],["hcMenu","",1,"docs-apps-menu"],[4,"ngFor","ngForOf"],["horizontalAlign","start",3,"autoCloseOnContentClick","showArrow"],["devMenu",""],["hcMenu",""],["hcMenuItem","",3,"href",4,"ngFor","ngForOf"],["horizontalAlign","end",3,"autoCloseOnContentClick","showArrow"],["helpMenu",""],["hcMenuItem","","target","_blank",3,"href"],["hcMenuIcon","","fontSet","fa","fontIcon","fa-comments-o"],["hcMenuText",""],["hcMenuItem","","href","https://community.healthcatalyst.com/client-support/","target","_blank"],["hcMenuIcon","","fontSet","fa","fontIcon","fa-bug"],["hcMenuItem","","href","https://www.healthcatalyst.com/","target","_blank"],["hcMenuIcon","","fontSet","hc-icons","fontIcon","hci-catalyst-logo"],["hcMenuItem","","hcDivider",""],["hcMenuItem","",3,"click"],["hcMenuIcon","","fontSet","fa","fontIcon","fa-info-circle"],["aboutModal",""],[1,"docs-apps-menu-section"],["hcMenuItem","",3,"href"],[1,"about-modal-content"],[1,"about-header"],["src","https://docsgoosestorage.blob.core.windows.net/static/HealthCatalyst_Horizontal.svg",1,"about-logo"],[1,"about-app"],[1,"about-icon"],["src","https://cashmere.healthcatalyst.net/assets/product-icons/Documentation.svg"],[1,"about-name","docs-about-name"],["src","https://docsgoosestorage.blob.core.windows.net/static/aboutDocsLogo.svg"],[1,"about-version"],[1,"about-reference"],["fontSet","fa","fontIcon","fa-clock-o","hcIconLg",""],[1,"about-reference-detail"],[1,"about-footer"],["href","https://www.healthcatalyst.com/"],["href","https://www.healthcatalyst.com/terms-conditions/"],["href","https://www.healthcatalyst.com/privacy-policy/"],[1,"about-divider"],[1,"about-close-container"],["hc-button","",1,"about-close",3,"click"]],template:function(e,i){1&e&&(Yt(0,VB,53,20,"div",0),Ih(1,"async")),2&e&&at("ngIf",ky(1,1,i.metadataService.$metadata))},dependencies:[FS,Kl,MV,kM,b1,cV,TM,lV,uV,dV,D1,w1,M1,Q5,fV,JV,Fm,BT,nM,US,YS,NB,AB],styles:['@charset "UTF-8";.hc-icon-left[_ngcontent-%COMP%]{margin-right:5px}.hc-icon-right[_ngcontent-%COMP%]{margin-left:5px}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:2100}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}.hc-menu-panel[_ngcontent-%COMP%]{position:relative;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;display:flex;flex-direction:column;padding:5px 16px;margin:-12px;background-color:#fff;border-radius:4px}.hc-menu-panel[_ngcontent-%COMP%] .hc-divider[_ngcontent-%COMP%]{width:auto;margin:5px 0}.hc-divider.hc-menu-item[_ngcontent-%COMP%]{margin:5px -16px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button), a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button){font-size:1rem;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#333;padding:6px 16px;margin:0 -16px;border:0;background:0 0;text-align:left;display:flex;align-items:center}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button)[disabled], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button)[disabled]{opacity:.5}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):active, button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):hover, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):active, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):hover{color:#333}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):focus:not([disabled]), a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):focus:not([disabled]){background-color:#b3e7ff;color:#333;cursor:pointer;box-shadow:none;outline:none}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu{padding-right:40px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu:after, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu:after{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAzMCI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMzMzM7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5BcnRib2FyZCAxPC90aXRsZT48cGF0aCBpZD0iUGF0aF8xMjIyMSIgZGF0YS1uYW1lPSJQYXRoIDEyMjIxIiBjbGFzcz0iY2xzLTEiIGQ9Ik0xOS42NCwxNS4yOWExLDEsMCwwLDAtLjMyLS43NkwxMS44Miw3QTEuMDYsMS4wNiwwLDAsMCwxMCw3Ljc5djE1YTEuMDgsMS4wOCwwLDAsMCwxLjA3LDEuMDcsMS4wNSwxLjA1LDAsMCwwLC43NS0uMzJsNy41LTcuNUExLDEsMCwwLDAsMTkuNjQsMTUuMjlaIi8+PC9zdmc+);position:absolute;width:20px;height:20px;right:10px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-icon[_ngcontent-%COMP%], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-icon[_ngcontent-%COMP%]{font-size:16px;height:16px;width:16px;margin-right:14px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%]{flex:1 0 auto;margin-left:15px;color:#ccc;text-align:right}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%] hc-icon[_ngcontent-%COMP%], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%] hc-icon[_ngcontent-%COMP%]{margin-right:0;color:#333}.hc-elip-menu[_ngcontent-%COMP%]{transform:rotate(90deg);background-color:transparent;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNzUgMzYiPjxkZWZzPjxzdHlsZT4uYXtmaWxsOiM1MTUzNTM7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJhIiBkPSJNMzcuNSwxMjVhMTgsMTgsMCwxLDEsMTgsMTgsMTguMDUsMTguMDUsMCwwLDEtMTgtMThaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjxwYXRoIGNsYXNzPSJhIiBkPSJNMTA3LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxMDcsMTI1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM3LjUgLTEwNykiLz48cGF0aCBjbGFzcz0iYSIgZD0iTTE3Ni41LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxNzYuNSwxMjVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjwvc3ZnPg==);background-repeat:no-repeat;background-size:16px 16px;background-position:center;height:22px;width:28px;padding:0;border-radius:4px;border:2px solid transparent}.hc-elip-menu[_ngcontent-%COMP%]:hover{background-color:#00000026;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNzUgMzYiPjxkZWZzPjxzdHlsZT4uYXtmaWxsOiMzMzM7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJhIiBkPSJNMzcuNSwxMjVhMTgsMTgsMCwxLDEsMTgsMTgsMTguMDUsMTguMDUsMCwwLDEtMTgtMThaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjxwYXRoIGNsYXNzPSJhIiBkPSJNMTA3LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxMDcsMTI1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM3LjUgLTEwNykiLz48cGF0aCBjbGFzcz0iYSIgZD0iTTE3Ni41LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxNzYuNSwxMjVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjwvc3ZnPg==)}.hc-elip-menu[_ngcontent-%COMP%]:focus{outline:none;border:2px solid #00aeff}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;color:#333}h1[_ngcontent-%COMP%]{font-size:2.5714285714rem;font-weight:300;line-height:1.2;color:#333;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}h2[_ngcontent-%COMP%]{font-size:1.5714285714rem;font-weight:600;line-height:1.5;color:#333}h3[_ngcontent-%COMP%]{font-size:1.2857142857rem;font-weight:600;line-height:1.5;color:#333}h4[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;line-height:1.5;color:#333}p[_ngcontent-%COMP%]{font-size:1.1428571429rem;font-weight:400;line-height:1.5;color:#333}code[_ngcontent-%COMP%]{color:#5e676f;font-family:Consolas,Menlo,Ubuntu Mono,monospace;background-color:#f0f3f6;border-radius:3px;padding:3px 7px;font-size:1rem;font-weight:400;line-height:1.4}pre[_ngcontent-%COMP%]{border:1px solid #d7dde4;padding:0;margin:16px auto;border-radius:5px;display:block;background-color:#f0f3f6;font-weight:400}pre[_ngcontent-%COMP%]::selection, pre[_ngcontent-%COMP%] *[_ngcontent-%COMP%]::selection{background-color:#009de6;color:#fff}pre[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:1rem;line-height:1.4;padding:15px 0;background-color:#f0f3f6}pre[_ngcontent-%COMP%] > code[_ngcontent-%COMP%]{overflow-x:auto;display:block;font-size:1rem;padding:15px;line-height:1.4;background-color:#f0f3f6;color:#333;border:unset;border-radius:5px}a[_ngcontent-%COMP%]{text-decoration:none;color:#00aeff}a[_ngcontent-%COMP%]:hover{color:#33beff}a[_ngcontent-%COMP%]:active{color:#008bcc}.hc-font-xsm[_ngcontent-%COMP%]{font-size:.8571428571rem}.hc-font-sm[_ngcontent-%COMP%]{font-size:1rem}.hc-font-md[_ngcontent-%COMP%]{font-size:1.1428571429rem}.hc-font-lg[_ngcontent-%COMP%]{font-size:1.2857142857rem}.hc-font-xlg[_ngcontent-%COMP%]{font-size:1.5714285714rem}.hc-font-light[_ngcontent-%COMP%]{font-weight:300}.hc-font-reg[_ngcontent-%COMP%]{font-weight:400}strong[_ngcontent-%COMP%], .hc-font-bold[_ngcontent-%COMP%]{font-weight:600}.hc-font-xbold[_ngcontent-%COMP%]{font-weight:700}.hc-text-titlecase[_ngcontent-%COMP%]{text-transform:capitalize}.hc-text-uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.hc-text-lowercase[_ngcontent-%COMP%]{text-transform:lowercase}.hc-text-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}em[_ngcontent-%COMP%], .hc-font-em[_ngcontent-%COMP%]{color:#6d6e70;font-style:italic}.hc-text-highlight[_ngcontent-%COMP%]{color:#333;background-color:#f5ed56}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;display:table}article[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:table;padding-left:20px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:before{content:"\\2022 ";display:table-cell;padding-right:10px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child{margin-top:6px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child{margin-bottom:6px!important}article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding-left:6px;margin-left:40px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:table;margin-left:0}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"\\2013 ";display:table-cell;padding-right:15px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-top:6px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:6px!important}article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style-type:lower-alpha;padding-left:6px;margin-left:18px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"- ";display:table-cell;padding-right:15px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-top:6px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:6px!important}article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:lower-roman;padding-left:10px;margin-left:12px!important}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{vertical-align:top}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;margin-left:15px!important;display:table}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;margin-left:30px!important;padding-right:10px;padding-left:6px!important}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;padding-right:6px;margin-left:0!important;display:table}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{padding-right:12px}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;display:table}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{padding-right:10px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child{padding-top:6px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child{padding-bottom:6px}blockquote[_ngcontent-%COMP%]{background-color:#d7dde4;padding:10px 20px;border-left:5px solid #708090}.about-modal-content[_ngcontent-%COMP%]{padding:15px 0;color:#6d6e70;text-align:center;overflow-y:auto}.about-header[_ngcontent-%COMP%]{width:100%;padding-bottom:20px}.about-logo[_ngcontent-%COMP%]{height:50px;width:279px;margin-bottom:15px}.about-app[_ngcontent-%COMP%]{width:100%;height:55px;display:flex;justify-content:center;align-items:center;background-color:#006d9a}.about-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:75px;height:75px;margin-right:17px}.about-name[_ngcontent-%COMP%]{text-align:left}.about-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:24px;width:97px;margin-left:-2px}.about-version[_ngcontent-%COMP%]{font-size:1rem;color:#fff;font-weight:300}.about-footer[_ngcontent-%COMP%]{font-size:.8571428571rem;line-height:18px;text-align:center}.about-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#00aeff;font-weight:700}.about-reference[_ngcontent-%COMP%]{display:table;text-align:center;vertical-align:middle;padding:15px 0;margin:0 auto}.about-reference[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-row;flex-flow:row;text-align:left}.about-reference[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle;padding:0 0 20px 40px}.about-reference-detail[_ngcontent-%COMP%]{font-weight:600;color:#333;font-size:1.1428571429rem;line-height:24px}.about-divider[_ngcontent-%COMP%]{border:none;height:1px;background-color:#e0e0e0;margin:0}.about-close-container[_ngcontent-%COMP%]{display:flex}.about-close[_ngcontent-%COMP%]{margin:20px auto}.hc-modal-header[_ngcontent-%COMP%]{align-items:center;border-bottom:1px solid #e0e0e0;color:#333;display:flex;font-size:1.2857142857rem;font-weight:600;min-height:55px;padding:15px 25px;justify-content:flex-start}.hc-modal-header-tight[_ngcontent-%COMP%]{font-size:1.1428571429rem;min-height:45px;padding:15px}.hc-modal-drag-handle[_ngcontent-%COMP%]{position:absolute;right:0;top:0;display:flex;justify-content:center;align-items:center;color:#ccc;cursor:move;width:74px;height:54px}@media (max-width: 768px){.hc-modal-drag-handle[_ngcontent-%COMP%]{display:none}}.hc-modal-body[_ngcontent-%COMP%]{overflow:auto;height:inherit;padding:15px 25px;margin-bottom:0}.hc-modal-body-tight[_ngcontent-%COMP%]{padding:15px}.hc-modal-close-button[_ngcontent-%COMP%]{background-color:transparent;border:0;color:#333;cursor:pointer;font-size:2rem;font-weight:700;line-height:1;opacity:.5;padding:0;text-shadow:0 1px 0 #fff;-webkit-appearance:none}.hc-modal-close-button[_ngcontent-%COMP%]:focus, .hc-modal-close-button[_ngcontent-%COMP%]:hover{color:#333;opacity:.75;text-decoration:none}.hc-modal-footer[_ngcontent-%COMP%]{align-items:center;bottom:0;display:flex;width:100%;border-top:1px solid #e0e0e0;padding:15px 25px;justify-content:flex-end;flex-direction:row;position:relative}.hc-modal-footer[_ngcontent-%COMP%] .hc-button[_ngcontent-%COMP%]{margin-left:10px;width:auto}.hc-modal-footer-tight[_ngcontent-%COMP%]{padding:15px}.hc-modal-content[_ngcontent-%COMP%]{background-color:#fff;display:flex;flex-direction:column;justify-content:flex-start;max-height:100%;border-radius:6px;height:auto}.hc-modal-open[_ngcontent-%COMP%]{overflow:hidden}.hc-modal-center-component[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;justify-content:center}.docs-navbar[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;width:100%;height:64px;display:flex;align-items:center;background-color:#00aeff;position:relative;z-index:100}.docs-container[_ngcontent-%COMP%]{width:95%;max-width:1200px;margin:0 auto;display:flex}.docs-navbar-logo[_ngcontent-%COMP%]{margin-top:2px}.docs-logo[_ngcontent-%COMP%]{display:flex;align-items:center}.docs-navbar-right[_ngcontent-%COMP%]{margin-left:auto;display:flex}.docs-navbar-left[_ngcontent-%COMP%]{margin-left:60px;display:flex}.docs-navbar-link[_ngcontent-%COMP%]{height:100%;padding:8px 20px;text-decoration:none;color:#fff;display:inline-flex;align-items:center;font-size:16px;font-weight:300;cursor:pointer;border-radius:5px}.docs-navbar-link[_ngcontent-%COMP%]:hover, .docs-navbar-icon[_ngcontent-%COMP%]:hover{background-color:#009de6!important}.docs-navbar-link[_ngcontent-%COMP%]:active, .docs-navbar-icon[_ngcontent-%COMP%]:active{background-color:#008bcc!important}.docs-navbar-link[_ngcontent-%COMP%]:focus, .docs-navbar-icon[_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 0 2px #006d9a66}.navbar-link-disabled[_ngcontent-%COMP%]{pointer-events:none}.docs-navbar-divider[_ngcontent-%COMP%]{background-color:#fff;width:1px;margin:9px 0;display:block}.docs-navbar-chevron[_ngcontent-%COMP%]{margin-left:6px}.docs-navbar-icon[_ngcontent-%COMP%]{color:#fff!important;min-width:45px!important;padding:0 15px!important;border-radius:5px;margin-right:5px}.docs-apps-menu[_ngcontent-%COMP%]{max-height:500px;overflow-y:auto;padding-bottom:15px}.docs-apps-menu-section[_ngcontent-%COMP%]{font-size:14px;line-height:1;font-weight:600;margin:15px 0 10px;padding-bottom:5px;border-bottom:1px solid #cccccc}.hc-menu-text[_ngcontent-%COMP%]{font-size:14px;line-height:1}.clear-search-ico[_ngcontent-%COMP%]{opacity:.5;cursor:pointer;margin-right:5px;position:relative;top:1px}.clear-search-ico[_ngcontent-%COMP%]:hover{opacity:1}.docs-about-name[_ngcontent-%COMP%]{line-height:1}.about-version[_ngcontent-%COMP%]{font-size:inherit}.about-reference-detail[_ngcontent-%COMP%]{font-size:inherit;line-height:1}.about-footer[_ngcontent-%COMP%]{font-size:12px}.hc-button.hc-md[_ngcontent-%COMP%]{font-size:inherit}.docs-about-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:150px}@media (max-width: 1100px){.docs-navbar-left[_ngcontent-%COMP%]{margin-left:3%}}@media (max-width: 1024px){.docs-navbar-left[_ngcontent-%COMP%], .docs-banner-hero[_ngcontent-%COMP%]{display:none}.docs-banner[_ngcontent-%COMP%]{height:auto}.docs-navbar-right[_ngcontent-%COMP%]{margin-right:-20px}.docs-container[_ngcontent-%COMP%]{justify-content:space-around}.docs-banner-right-container[_ngcontent-%COMP%]{margin-top:20px}.docs-banner-select[_ngcontent-%COMP%]{margin-bottom:35px}}@media (max-width: 700px){.docs-navbar-right[_ngcontent-%COMP%]{display:none}}']}),n})();
|
|
2450
|
+
*/Ai("indicator",[Pt("active-asc, asc",ve({transform:"translateY(0px)"})),Pt("active-desc, desc",ve({transform:"translateY(10px)"})),We("active-asc <=> active-desc",Re($s))]),Ai("leftPointer",[Pt("active-asc, asc",ve({transform:"rotate(-45deg)"})),Pt("active-desc, desc",ve({transform:"rotate(45deg)"})),We("active-asc <=> active-desc",Re($s))]),Ai("rightPointer",[Pt("active-asc, asc",ve({transform:"rotate(45deg)"})),Pt("active-desc, desc",ve({transform:"rotate(-45deg)"})),We("active-asc <=> active-desc",Re($s))]),Ai("arrowOpacity",[Pt("desc-to-active, asc-to-active, active",ve({opacity:1})),Pt("desc-to-hint, asc-to-hint, hint",ve({opacity:.54})),Pt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",ve({opacity:0})),We("* => asc, * => desc, * => active, * => hint, * => void",Re("0ms")),We("* <=> *",Re($s))]),Ai("arrowPosition",[We("* => desc-to-hint, * => desc-to-active",Re($s,Tm([ve({transform:"translateY(-25%)"}),ve({transform:"translateY(0)"})]))),We("* => hint-to-desc, * => active-to-desc",Re($s,Tm([ve({transform:"translateY(0)"}),ve({transform:"translateY(25%)"})]))),We("* => asc-to-hint, * => asc-to-active",Re($s,Tm([ve({transform:"translateY(25%)"}),ve({transform:"translateY(0)"})]))),We("* => hint-to-asc, * => active-to-asc",Re($s,Tm([ve({transform:"translateY(0)"}),ve({transform:"translateY(-25%)"})]))),Pt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",ve({transform:"translateY(0)"})),Pt("hint-to-desc, active-to-desc, desc",ve({transform:"translateY(-25%)"})),Pt("hint-to-asc, active-to-asc, asc",ve({transform:"translateY(25%)"}))]),Ai("allowChildren",[We("* <=> *",[function M4(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}("@*",function y4(n=null){return{type:9,options:n}}(),{optional:!0})])]);new Sa,new Ds;let NB=(()=>{class n{transform(e,i){return e&&i?e.filter(o=>-1!==o.name.toLowerCase().indexOf(i)):e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=on({name:"filterApps",type:n,pure:!0}),n})(),AB=(()=>{class n{transform(e,i){return e&&i?e.filter(o=>-1!==o.name.toLowerCase().indexOf(i)||o.applications.some(r=>-1!==r.name.toLowerCase().indexOf(i))):e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=on({name:"filterGroups",type:n,pure:!0}),n})();const OB=["aboutModal"],PB=["bannerSelect"];function jB(n,t){if(1&n&&(Ul(0),Nt(1,"span",39),X(2,"span",40),wt(3),ce(),Yl()),2&n){const e=t.ngIf;Le(3),Vs(" ",e.user," ")}}function RB(n,t){if(1&n&&(X(0,"a",42)(1,"span",30),wt(2),ce()()),2&n){const e=t.$implicit;ot("href",e.url,Ra),Le(2),Qa(e.name)}}function zB(n,t){if(1&n&&(Ul(0),X(1,"span",41),wt(2),ce(),Ft(3,RB,3,2,"a",25),$l(4,"filterApps"),Yl()),2&n){const e=t.$implicit,i=Vt(2);Le(2),Qa(e.name),Le(1),ot("ngForOf",Ey(4,2,e.applications,i.filter))}}function FB(n,t){if(1&n&&(X(0,"a",42)(1,"span",30),wt(2),ce()()),2&n){const e=t.$implicit;ot("href",e.url,Ra),Le(2),Qa(e.name)}}function VB(n,t){if(1&n){const e=bh();X(0,"hc-modal")(1,"div",43)(2,"div",44),Nt(3,"img",45),X(4,"div",46)(5,"div",47),Nt(6,"img",48),ce(),X(7,"div",49),Nt(8,"img",50),X(9,"div",51),wt(10,"Version 1.2"),ce()()()(),X(11,"div",52)(12,"div"),Nt(13,"hc-icon",53),X(14,"div")(15,"strong"),wt(16,"Metadata Last Updated"),ce(),X(17,"div",54),wt(18),$l(19,"date"),ce()()()(),X(20,"div",55),wt(21),X(22,"a",56),wt(23,"Health Catalyst"),ce(),wt(24," . All rights reserved "),Nt(25,"br"),X(26,"a",57),wt(27,"Terms and Conditions"),ce(),wt(28," | "),X(29,"a",58),wt(30,"Privacy Policy"),ce()()(),Nt(31,"hr",59),X(32,"div",60)(33,"button",61),Ct("click",function(){return Yi((0,Ui(e).close)())}),wt(34,"Close"),ce()()()}if(2&n){const e=Vt().ngIf,i=Vt();Le(18),Qa(qg(19,2,e.lastModified)),Le(3),Vs(" Copyright ",i.currentYear," ")}}function BB(n,t){if(1&n){const e=bh();X(0,"div")(1,"div",1)(2,"div",2)(3,"a",3),Nt(4,"img",4),ce(),X(5,"div",5)(6,"div",6)(7,"ul",7)(8,"li",8),Ct("popoverOpened",function(){return Ui(e),Yi(Vt().setAppsWidth(!1))}),wt(9," Applications "),Nt(10,"hc-icon",9),ce(),X(11,"li",10),wt(12,"Developers"),Nt(13,"hc-icon",9),ce()()()(),X(14,"div",11)(15,"button",12),Nt(16,"hc-icon",13),ce(),Ft(17,jB,4,1,"ng-container",0),$l(18,"async"),ce()()(),X(19,"hc-pop",14,15)(21,"hc-form-field")(22,"input",16,17),Ct("ngModelChange",function(o){return Ui(e),Yi(Vt().filter=o)}),ce(),X(24,"hc-icon",18),Ct("click",function(){return Ui(e),Yi(Vt().filter="")}),ce(),Nt(25,"hc-icon",19),ce(),X(26,"div",20),Ft(27,zB,5,5,"ng-container",21),$l(28,"filterGroups"),ce()(),X(29,"hc-pop",22,23)(31,"div",24),Ft(32,FB,3,2,"a",25),ce()(),X(33,"hc-pop",26,27)(35,"div",24)(36,"a",28),Nt(37,"hc-icon",29),X(38,"span",30),wt(39,"HC Community"),ce()(),X(40,"a",31),Nt(41,"hc-icon",32),X(42,"span",30),wt(43,"Client Support"),ce()(),X(44,"a",33),Nt(45,"hc-icon",34),X(46,"span",30),wt(47,"HealthCatalyst.com"),ce()(),Nt(48,"div",35),X(49,"button",36),Ct("click",function(){return Ui(e),Yi(Vt().displayAboutModal())}),Nt(50,"hc-icon",37),X(51,"span",30),wt(52,"About"),ce()()()(),Ft(53,VB,35,4,"ng-template",null,38,Fy),ce()}if(2&n){const e=t.ngIf,i=Ug(20),o=Ug(30),r=Ug(34),s=Vt();Le(8),ot("hcPop",i),Le(3),wD("display:",s.showdevmenu,""),ot("hcPop",o),Le(4),ot("hcPop",r),Le(2),ot("ngIf",qg(18,18,s.metadataService.$profile&&""!==s.metadataService.$profile)),Le(2),ot("showArrow",!1),Le(3),ot("ngModel",s.filter),Le(4),Wr("width",s.appsMenuWidth),Le(1),ot("ngForOf",Ey(28,20,e.applicationGroups,s.filter)),Le(2),ot("autoCloseOnContentClick",!0)("showArrow",!1),Le(3),ot("ngForOf",e.developerMenu),Le(1),ot("autoCloseOnContentClick",!0)("showArrow",!1),Le(3),Gg("href","https://community.healthcatalyst.com",s.hcclink,"",Ra)}}let HB=(()=>{class n{constructor(e,i){this.metadataService=e,this.modalService=i,this.currentYear=(new Date).getFullYear().toString(),this.appsMenuWidth="300px",this.showdevmenu="",this.hcclink="",this.prodcatlink=""}ngOnInit(){}displayAboutModal(){this.modalService.open(this.aboutModal,{size:"md"})}setAppsWidth(e){this.appsMenuWidth=e?this.bannerSelect.nativeElement.clientWidth+"px":"300px"}}return n.\u0275fac=function(e){return new(e||n)(I(b4),I(N1))},n.\u0275cmp=nt({type:n,selectors:[["docs-navbar"]],viewQuery:function(e,i){if(1&e&&(Ni(OB,5),Ni(PB,5)),2&e){let o;Oe(o=Pe())&&(i.aboutModal=o.first),Oe(o=Pe())&&(i.bannerSelect=o.first)}},inputs:{showdevmenu:"showdevmenu",hcclink:"hcclink",prodcatlink:"prodcatlink"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"docs-navbar"],[1,"docs-container"],["href","https://docs.healthcatalyst.com"],["src","https://docsgoosestorage.blob.core.windows.net/static/docsLogo.svg","height","31px","width","336px","alt","Documentation Logo",1,"docs-navbar-logo"],[1,"docs-navbar-left"],["id","navbar"],[1,"nav","level1","navbar-nav"],["tabindex","1",1,"docs-navbar-link",3,"hcPop","popoverOpened"],["fontSet","fa","fontIcon","fa-angle-down",1,"docs-navbar-chevron"],["tabindex","2",1,"docs-navbar-link",3,"hcPop"],[1,"docs-navbar-right"],["hc-button","","buttonStyle","minimal","tabindex","3",1,"docs-navbar-icon",3,"hcPop"],["fontSet","fa","fontIcon","fa-question-circle-o"],["horizontalAlign","start",3,"showArrow"],["appsMenu",""],["hcInput","","placeholder","Filter list",3,"ngModel","ngModelChange"],["searchBox",""],["hcSuffix","","fontSet","fa","fontIcon","fa-times-circle",1,"clear-search-ico",3,"click"],["hcSuffix","","fontSet","fa","fontIcon","fa-search"],["hcMenu","",1,"docs-apps-menu"],[4,"ngFor","ngForOf"],["horizontalAlign","start",3,"autoCloseOnContentClick","showArrow"],["devMenu",""],["hcMenu",""],["hcMenuItem","",3,"href",4,"ngFor","ngForOf"],["horizontalAlign","end",3,"autoCloseOnContentClick","showArrow"],["helpMenu",""],["hcMenuItem","","target","_blank",3,"href"],["hcMenuIcon","","fontSet","fa","fontIcon","fa-comments-o"],["hcMenuText",""],["hcMenuItem","","href","https://community.healthcatalyst.com/client-support/","target","_blank"],["hcMenuIcon","","fontSet","fa","fontIcon","fa-bug"],["hcMenuItem","","href","https://www.healthcatalyst.com/","target","_blank"],["hcMenuIcon","","fontSet","hc-icons","fontIcon","hci-catalyst-logo"],["hcMenuItem","","hcDivider",""],["hcMenuItem","",3,"click"],["hcMenuIcon","","fontSet","fa","fontIcon","fa-info-circle"],["aboutModal",""],[1,"docs-navbar-divider"],[1,"docs-navbar-link","navbar-link-disabled"],[1,"docs-apps-menu-section"],["hcMenuItem","",3,"href"],[1,"about-modal-content"],[1,"about-header"],["src","https://docsgoosestorage.blob.core.windows.net/static/HealthCatalyst_Horizontal.svg",1,"about-logo"],[1,"about-app"],[1,"about-icon"],["src","https://cashmere.healthcatalyst.net/assets/product-icons/Documentation.svg"],[1,"about-name","docs-about-name"],["src","https://docsgoosestorage.blob.core.windows.net/static/aboutDocsLogo.svg"],[1,"about-version"],[1,"about-reference"],["fontSet","fa","fontIcon","fa-clock-o","hcIconLg",""],[1,"about-reference-detail"],[1,"about-footer"],["href","https://www.healthcatalyst.com/"],["href","https://www.healthcatalyst.com/terms-conditions/"],["href","https://www.healthcatalyst.com/privacy-policy/"],[1,"about-divider"],[1,"about-close-container"],["hc-button","",1,"about-close",3,"click"]],template:function(e,i){1&e&&(Ft(0,BB,55,23,"div",0),$l(1,"async")),2&e&&ot("ngIf",qg(1,1,i.metadataService.$metadata))},dependencies:[FS,Xl,MV,kM,b1,cV,TM,lV,uV,dV,D1,w1,M1,Q5,fV,JV,Vm,BT,nM,US,YS,NB,AB],styles:['@charset "UTF-8";.hc-icon-left[_ngcontent-%COMP%]{margin-right:5px}.hc-icon-right[_ngcontent-%COMP%]{margin-left:5px}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:2100}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}.hc-menu-panel[_ngcontent-%COMP%]{position:relative;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;display:flex;flex-direction:column;padding:5px 16px;margin:-12px;background-color:#fff;border-radius:4px}.hc-menu-panel[_ngcontent-%COMP%] .hc-divider[_ngcontent-%COMP%]{width:auto;margin:5px 0}.hc-divider.hc-menu-item[_ngcontent-%COMP%]{margin:5px -16px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button), a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button){font-size:1rem;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#333;padding:6px 16px;margin:0 -16px;border:0;background:0 0;text-align:left;display:flex;align-items:center}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button)[disabled], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button)[disabled]{opacity:.5}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):active, button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):hover, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):active, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):hover{color:#333}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):focus:not([disabled]), a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):focus:not([disabled]){background-color:#b3e7ff;color:#333;cursor:pointer;box-shadow:none;outline:none}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu{padding-right:40px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu:after, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu:after{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAzMCI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMzMzM7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5BcnRib2FyZCAxPC90aXRsZT48cGF0aCBpZD0iUGF0aF8xMjIyMSIgZGF0YS1uYW1lPSJQYXRoIDEyMjIxIiBjbGFzcz0iY2xzLTEiIGQ9Ik0xOS42NCwxNS4yOWExLDEsMCwwLDAtLjMyLS43NkwxMS44Miw3QTEuMDYsMS4wNiwwLDAsMCwxMCw3Ljc5djE1YTEuMDgsMS4wOCwwLDAsMCwxLjA3LDEuMDcsMS4wNSwxLjA1LDAsMCwwLC43NS0uMzJsNy41LTcuNUExLDEsMCwwLDAsMTkuNjQsMTUuMjlaIi8+PC9zdmc+);position:absolute;width:20px;height:20px;right:10px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-icon[_ngcontent-%COMP%], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-icon[_ngcontent-%COMP%]{font-size:16px;height:16px;width:16px;margin-right:14px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%]{flex:1 0 auto;margin-left:15px;color:#ccc;text-align:right}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%] hc-icon[_ngcontent-%COMP%], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%] hc-icon[_ngcontent-%COMP%]{margin-right:0;color:#333}.hc-elip-menu[_ngcontent-%COMP%]{transform:rotate(90deg);background-color:transparent;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNzUgMzYiPjxkZWZzPjxzdHlsZT4uYXtmaWxsOiM1MTUzNTM7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJhIiBkPSJNMzcuNSwxMjVhMTgsMTgsMCwxLDEsMTgsMTgsMTguMDUsMTguMDUsMCwwLDEtMTgtMThaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjxwYXRoIGNsYXNzPSJhIiBkPSJNMTA3LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxMDcsMTI1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM3LjUgLTEwNykiLz48cGF0aCBjbGFzcz0iYSIgZD0iTTE3Ni41LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxNzYuNSwxMjVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjwvc3ZnPg==);background-repeat:no-repeat;background-size:16px 16px;background-position:center;height:22px;width:28px;padding:0;border-radius:4px;border:2px solid transparent}.hc-elip-menu[_ngcontent-%COMP%]:hover{background-color:#00000026;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNzUgMzYiPjxkZWZzPjxzdHlsZT4uYXtmaWxsOiMzMzM7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJhIiBkPSJNMzcuNSwxMjVhMTgsMTgsMCwxLDEsMTgsMTgsMTguMDUsMTguMDUsMCwwLDEtMTgtMThaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjxwYXRoIGNsYXNzPSJhIiBkPSJNMTA3LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxMDcsMTI1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM3LjUgLTEwNykiLz48cGF0aCBjbGFzcz0iYSIgZD0iTTE3Ni41LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxNzYuNSwxMjVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjwvc3ZnPg==)}.hc-elip-menu[_ngcontent-%COMP%]:focus{outline:none;border:2px solid #00aeff}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;color:#333}h1[_ngcontent-%COMP%]{font-size:2.5714285714rem;font-weight:300;line-height:1.2;color:#333;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}h2[_ngcontent-%COMP%]{font-size:1.5714285714rem;font-weight:600;line-height:1.5;color:#333}h3[_ngcontent-%COMP%]{font-size:1.2857142857rem;font-weight:600;line-height:1.5;color:#333}h4[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;line-height:1.5;color:#333}p[_ngcontent-%COMP%]{font-size:1.1428571429rem;font-weight:400;line-height:1.5;color:#333}code[_ngcontent-%COMP%]{color:#5e676f;font-family:Consolas,Menlo,Ubuntu Mono,monospace;background-color:#f0f3f6;border-radius:3px;padding:3px 7px;font-size:1rem;font-weight:400;line-height:1.4}pre[_ngcontent-%COMP%]{border:1px solid #d7dde4;padding:0;margin:16px auto;border-radius:5px;display:block;background-color:#f0f3f6;font-weight:400}pre[_ngcontent-%COMP%]::selection, pre[_ngcontent-%COMP%] *[_ngcontent-%COMP%]::selection{background-color:#009de6;color:#fff}pre[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:1rem;line-height:1.4;padding:15px 0;background-color:#f0f3f6}pre[_ngcontent-%COMP%] > code[_ngcontent-%COMP%]{overflow-x:auto;display:block;font-size:1rem;padding:15px;line-height:1.4;background-color:#f0f3f6;color:#333;border:unset;border-radius:5px}a[_ngcontent-%COMP%]{text-decoration:none;color:#00aeff}a[_ngcontent-%COMP%]:hover{color:#33beff}a[_ngcontent-%COMP%]:active{color:#008bcc}.hc-font-xsm[_ngcontent-%COMP%]{font-size:.8571428571rem}.hc-font-sm[_ngcontent-%COMP%]{font-size:1rem}.hc-font-md[_ngcontent-%COMP%]{font-size:1.1428571429rem}.hc-font-lg[_ngcontent-%COMP%]{font-size:1.2857142857rem}.hc-font-xlg[_ngcontent-%COMP%]{font-size:1.5714285714rem}.hc-font-light[_ngcontent-%COMP%]{font-weight:300}.hc-font-reg[_ngcontent-%COMP%]{font-weight:400}strong[_ngcontent-%COMP%], .hc-font-bold[_ngcontent-%COMP%]{font-weight:600}.hc-font-xbold[_ngcontent-%COMP%]{font-weight:700}.hc-text-titlecase[_ngcontent-%COMP%]{text-transform:capitalize}.hc-text-uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.hc-text-lowercase[_ngcontent-%COMP%]{text-transform:lowercase}.hc-text-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}em[_ngcontent-%COMP%], .hc-font-em[_ngcontent-%COMP%]{color:#6d6e70;font-style:italic}.hc-text-highlight[_ngcontent-%COMP%]{color:#333;background-color:#f5ed56}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;display:table}article[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:table;padding-left:20px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:before{content:"\\2022 ";display:table-cell;padding-right:10px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child{margin-top:6px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child{margin-bottom:6px!important}article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding-left:6px;margin-left:40px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:table;margin-left:0}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"\\2013 ";display:table-cell;padding-right:15px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-top:6px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:6px!important}article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style-type:lower-alpha;padding-left:6px;margin-left:18px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"- ";display:table-cell;padding-right:15px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-top:6px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:6px!important}article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:lower-roman;padding-left:10px;margin-left:12px!important}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{vertical-align:top}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;margin-left:15px!important;display:table}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;margin-left:30px!important;padding-right:10px;padding-left:6px!important}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;padding-right:6px;margin-left:0!important;display:table}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{padding-right:12px}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;display:table}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{padding-right:10px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child{padding-top:6px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child{padding-bottom:6px}blockquote[_ngcontent-%COMP%]{background-color:#d7dde4;padding:10px 20px;border-left:5px solid #708090}.about-modal-content[_ngcontent-%COMP%]{padding:15px 0;color:#6d6e70;text-align:center;overflow-y:auto}.about-header[_ngcontent-%COMP%]{width:100%;padding-bottom:20px}.about-logo[_ngcontent-%COMP%]{height:50px;width:279px;margin-bottom:15px}.about-app[_ngcontent-%COMP%]{width:100%;height:55px;display:flex;justify-content:center;align-items:center;background-color:#006d9a}.about-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:75px;height:75px;margin-right:17px}.about-name[_ngcontent-%COMP%]{text-align:left}.about-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:24px;width:97px;margin-left:-2px}.about-version[_ngcontent-%COMP%]{font-size:1rem;color:#fff;font-weight:300}.about-footer[_ngcontent-%COMP%]{font-size:.8571428571rem;line-height:18px;text-align:center}.about-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#00aeff;font-weight:700}.about-reference[_ngcontent-%COMP%]{display:table;text-align:center;vertical-align:middle;padding:15px 0;margin:0 auto}.about-reference[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-row;flex-flow:row;text-align:left}.about-reference[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle;padding:0 0 20px 40px}.about-reference-detail[_ngcontent-%COMP%]{font-weight:600;color:#333;font-size:1.1428571429rem;line-height:24px}.about-divider[_ngcontent-%COMP%]{border:none;height:1px;background-color:#e0e0e0;margin:0}.about-close-container[_ngcontent-%COMP%]{display:flex}.about-close[_ngcontent-%COMP%]{margin:20px auto}.hc-modal-header[_ngcontent-%COMP%]{align-items:center;border-bottom:1px solid #e0e0e0;color:#333;display:flex;font-size:1.2857142857rem;font-weight:600;min-height:55px;padding:15px 25px;justify-content:flex-start}.hc-modal-header-tight[_ngcontent-%COMP%]{font-size:1.1428571429rem;min-height:45px;padding:15px}.hc-modal-drag-handle[_ngcontent-%COMP%]{position:absolute;right:0;top:0;display:flex;justify-content:center;align-items:center;color:#ccc;cursor:move;width:74px;height:54px}@media (max-width: 768px){.hc-modal-drag-handle[_ngcontent-%COMP%]{display:none}}.hc-modal-body[_ngcontent-%COMP%]{overflow:auto;height:inherit;padding:15px 25px;margin-bottom:0}.hc-modal-body-tight[_ngcontent-%COMP%]{padding:15px}.hc-modal-close-button[_ngcontent-%COMP%]{background-color:transparent;border:0;color:#333;cursor:pointer;font-size:2rem;font-weight:700;line-height:1;opacity:.5;padding:0;text-shadow:0 1px 0 #fff;-webkit-appearance:none}.hc-modal-close-button[_ngcontent-%COMP%]:focus, .hc-modal-close-button[_ngcontent-%COMP%]:hover{color:#333;opacity:.75;text-decoration:none}.hc-modal-footer[_ngcontent-%COMP%]{align-items:center;bottom:0;display:flex;width:100%;border-top:1px solid #e0e0e0;padding:15px 25px;justify-content:flex-end;flex-direction:row;position:relative}.hc-modal-footer[_ngcontent-%COMP%] .hc-button[_ngcontent-%COMP%]{margin-left:10px;width:auto}.hc-modal-footer-tight[_ngcontent-%COMP%]{padding:15px}.hc-modal-content[_ngcontent-%COMP%]{background-color:#fff;display:flex;flex-direction:column;justify-content:flex-start;max-height:100%;border-radius:6px;height:auto}.hc-modal-open[_ngcontent-%COMP%]{overflow:hidden}.hc-modal-center-component[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;justify-content:center}.docs-navbar[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;width:100%;height:64px;display:flex;align-items:center;background-color:#00aeff;position:relative;z-index:100}.docs-container[_ngcontent-%COMP%]{width:95%;max-width:1200px;margin:0 auto;display:flex}.docs-navbar-logo[_ngcontent-%COMP%]{margin-top:2px}.docs-logo[_ngcontent-%COMP%]{display:flex;align-items:center}.docs-navbar-right[_ngcontent-%COMP%]{margin-left:auto;display:flex}.docs-navbar-left[_ngcontent-%COMP%]{margin-left:60px;display:flex}.docs-navbar-link[_ngcontent-%COMP%]{height:100%;padding:8px 20px;text-decoration:none;color:#fff;display:inline-flex;align-items:center;font-size:16px;font-weight:300;cursor:pointer;border-radius:5px}.docs-navbar-link[_ngcontent-%COMP%]:hover, .docs-navbar-icon[_ngcontent-%COMP%]:hover{background-color:#009de6!important}.docs-navbar-link[_ngcontent-%COMP%]:active, .docs-navbar-icon[_ngcontent-%COMP%]:active{background-color:#008bcc!important}.docs-navbar-link[_ngcontent-%COMP%]:focus, .docs-navbar-icon[_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 0 2px #006d9a66}.navbar-link-disabled[_ngcontent-%COMP%]{pointer-events:none}.docs-navbar-divider[_ngcontent-%COMP%]{background-color:#fff;width:1px;margin:9px 0;display:block}.docs-navbar-chevron[_ngcontent-%COMP%]{margin-left:6px}.docs-navbar-icon[_ngcontent-%COMP%]{color:#fff!important;min-width:45px!important;padding:0 15px!important;border-radius:5px;margin-right:5px}.docs-apps-menu[_ngcontent-%COMP%]{max-height:500px;overflow-y:auto;padding-bottom:15px}.docs-apps-menu-section[_ngcontent-%COMP%]{font-size:14px;line-height:1;font-weight:600;margin:15px 0 10px;padding-bottom:5px;border-bottom:1px solid #cccccc}.hc-menu-text[_ngcontent-%COMP%]{font-size:14px;line-height:1}.clear-search-ico[_ngcontent-%COMP%]{opacity:.5;cursor:pointer;margin-right:5px;position:relative;top:1px}.clear-search-ico[_ngcontent-%COMP%]:hover{opacity:1}.docs-about-name[_ngcontent-%COMP%]{line-height:1}.about-version[_ngcontent-%COMP%]{font-size:inherit}.about-reference-detail[_ngcontent-%COMP%]{font-size:inherit;line-height:1}.about-footer[_ngcontent-%COMP%]{font-size:12px}.hc-button.hc-md[_ngcontent-%COMP%]{font-size:inherit}.docs-about-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:150px}@media (max-width: 1100px){.docs-navbar-left[_ngcontent-%COMP%]{margin-left:3%}}@media (max-width: 1024px){.docs-navbar-left[_ngcontent-%COMP%], .docs-banner-hero[_ngcontent-%COMP%]{display:none}.docs-banner[_ngcontent-%COMP%]{height:auto}.docs-navbar-right[_ngcontent-%COMP%]{margin-right:-20px}.docs-container[_ngcontent-%COMP%]{justify-content:space-around}.docs-banner-right-container[_ngcontent-%COMP%]{margin-top:20px}.docs-banner-select[_ngcontent-%COMP%]{margin-bottom:35px}}@media (max-width: 700px){.docs-navbar-right[_ngcontent-%COMP%]{display:none}}']}),n})();
|
|
2451
2451
|
/**
|
|
2452
2452
|
* @license Angular v14.3.0
|
|
2453
2453
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
@@ -2459,14 +2459,14 @@ const Zs="225ms cubic-bezier(0.4,0.0,0.2,1)";
|
|
|
2459
2459
|
*
|
|
2460
2460
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2461
2461
|
* found in the LICENSE file at https://angular.io/license
|
|
2462
|
-
*/const
|
|
2462
|
+
*/const __={schedule(n,t){const e=setTimeout(n,t);return()=>clearTimeout(e)},scheduleBeforeRender(n){if(typeof window>"u")return __.schedule(n,0);if(typeof window.requestAnimationFrame>"u")return __.schedule(n,16);const t=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(t)}};let jM;function JB(n,t,e){let i=e;return function YB(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&t.some((o,r)=>!("*"===o||!function WB(n,t){if(!jM){const e=Element.prototype;jM=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&jM.call(n,t)}(n,o)||(i=r,0))),i
|
|
2463
2463
|
/**
|
|
2464
2464
|
* @license
|
|
2465
2465
|
* Copyright Google LLC All Rights Reserved.
|
|
2466
2466
|
*
|
|
2467
2467
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2468
2468
|
* found in the LICENSE file at https://angular.io/license
|
|
2469
|
-
*/}class
|
|
2469
|
+
*/}class XB{constructor(t,e){this.componentFactory=e.get(at).resolveComponentFactory(t)}create(t){return new eH(this.componentFactory,t)}}class eH{constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new FI(1),this.events=this.eventEmitters.pipe(cM(i=>Bi(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(Ge),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=__.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){this.runInZone(()=>{null!==this.componentRef?function QB(n,t){return n===t||n!=n&&t!=t}(e,this.getInputValue(t))&&(void 0!==e||!this.unchangedInputs.has(t))||(this.recordInputChange(t,e),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)})}initializeComponent(t){const e=kn.create({providers:[],parent:this.injector}),i=
|
|
2470
2470
|
/**
|
|
2471
2471
|
* @license
|
|
2472
2472
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2474,14 +2474,14 @@ const Zs="225ms cubic-bezier(0.4,0.0,0.2,1)";
|
|
|
2474
2474
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2475
2475
|
* found in the LICENSE file at https://angular.io/license
|
|
2476
2476
|
*/
|
|
2477
|
-
function
|
|
2477
|
+
function KB(n,t){const e=n.childNodes,i=t.map(()=>[]);let o=-1;t.some((r,s)=>"*"===r&&(o=s,!0));for(let r=0,s=e.length;r<s;++r){const c=e[r],u=JB(c,t,o);-1!==u&&i[u].push(c)}return i}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,t),this.viewChangeDetectorRef=this.componentRef.injector.get(ql),this.implementsOnChanges=function GB(n){return"function"==typeof n}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get($a).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:i,templateName:o})=>t.instance[i].pipe(Cn(s=>({name:o,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=__.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=e);const o=this.unchangedInputs.has(t),r=o?void 0:this.getInputValue(t);this.inputChanges[t]=new vo(r,e,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}
|
|
2478
2478
|
/**
|
|
2479
2479
|
* @license
|
|
2480
2480
|
* Copyright Google LLC All Rights Reserved.
|
|
2481
2481
|
*
|
|
2482
2482
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2483
2483
|
* found in the LICENSE file at https://angular.io/license
|
|
2484
|
-
*/class
|
|
2484
|
+
*/class tH extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}
|
|
2485
2485
|
/**
|
|
2486
2486
|
* @license
|
|
2487
2487
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2496,7 +2496,7 @@ function $B(n,t){const e=n.childNodes,i=t.map(()=>[]);let o=-1;t.some((r,s)=>"*"
|
|
|
2496
2496
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2497
2497
|
* found in the LICENSE file at https://angular.io/license
|
|
2498
2498
|
*/
|
|
2499
|
-
let
|
|
2499
|
+
let iH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({imports:[CV,S1,VV,gV,EM,tB,pV]}),n})();
|
|
2500
2500
|
/**
|
|
2501
2501
|
* @license Angular v14.3.0
|
|
2502
2502
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
@@ -2516,7 +2516,7 @@ let nH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275m
|
|
|
2516
2516
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2517
2517
|
* found in the LICENSE file at https://angular.io/license
|
|
2518
2518
|
*/
|
|
2519
|
-
function
|
|
2519
|
+
function zH(){return typeof window<"u"&&typeof window.document<"u"}function RM(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ks(n){switch(n.length){case 0:return new zh;case 1:return n[0];default:return new AI(n)}}function V1(n,t,e,i,o=new Map,r=new Map){const s=[],c=[];let u=-1,h=null;if(i.forEach(p=>{const g=p.get("offset"),_=g==u,y=_&&h||new Map;p.forEach((M,x)=>{let E=x,O=M;if("offset"!==x)switch(E=t.normalizePropertyName(E,s),O){case"!":O=o.get(x);break;case Jr:O=r.get(x);break;default:O=t.normalizeStyleValue(x,E,O,s)}y.set(E,O)}),_||c.push(y),h=y,u=g}),s.length)throw function SH(n){return new V(3502,!1)}();return c}function zM(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&FM(e,"start",n)));break;case"done":n.onDone(()=>i(e&&FM(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&FM(e,"destroy",n)))}}function FM(n,t,e){const r=VM(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),s=n._data;return null!=s&&(r._data=s),r}function VM(n,t,e,i,o="",r=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:o,totalTime:r,disabled:!!s}}function Oi(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function B1(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let BM=(n,t)=>!1,H1=(n,t,e)=>[],U1=null;function HM(n){const t=n.parentNode||n.host;return t===U1?null:t}(RM()||typeof Element<"u")&&(zH()?(U1=(()=>document.documentElement)(),BM=(n,t)=>{for(;t;){if(t===n)return!0;t=HM(t)}return!1}):BM=(n,t)=>n.contains(t),H1=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let rc=null,Y1=!1;const G1=BM,W1=H1;
|
|
2520
2520
|
/**
|
|
2521
2521
|
* @license
|
|
2522
2522
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2524,7 +2524,7 @@ function RH(){return typeof window<"u"&&typeof window.document<"u"}function RM()
|
|
|
2524
2524
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2525
2525
|
* found in the LICENSE file at https://angular.io/license
|
|
2526
2526
|
*/
|
|
2527
|
-
let Q1=(()=>{class n{validateStyleProperty(e){return function
|
|
2527
|
+
let Q1=(()=>{class n{validateStyleProperty(e){return function VH(n){rc||(rc=function BH(){return typeof document<"u"?document.body:null}()||{},Y1=!!rc.style&&"WebkitAppearance"in rc.style);let t=!0;return rc.style&&!function FH(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in rc.style,!t&&Y1&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in rc.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return G1(e,i)}getParentElement(e){return HM(e)}query(e,i,o){return W1(e,i,o)}computeStyle(e,i,o){return o||""}animate(e,i,o,r,s,c=[],u){return new zh(o,r)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),UM=(()=>{class n{}
|
|
2528
2528
|
/**
|
|
2529
2529
|
* @license
|
|
2530
2530
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2532,28 +2532,28 @@ let Q1=(()=>{class n{validateStyleProperty(e){return function FH(n){rc||(rc=func
|
|
|
2532
2532
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2533
2533
|
* found in the LICENSE file at https://angular.io/license
|
|
2534
2534
|
*/
|
|
2535
|
-
return n.NOOP=new Q1,n})();const YM="ng-enter",
|
|
2535
|
+
return n.NOOP=new Q1,n})();const YM="ng-enter",b_="ng-leave",v_="ng-trigger",y_=".ng-trigger",$1="ng-animating",GM=".ng-animating";function ns(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:WM(parseFloat(t[1]),t[2])}function WM(n,t){return"s"===t?1e3*n:n}function M_(n,t,e){return n.hasOwnProperty("duration")?n:function YH(n,t,e){let o,r=0,s="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return t.push(F1()),{duration:0,delay:0,easing:""};o=WM(parseFloat(c[1]),c[2]);const u=c[3];null!=u&&(r=WM(parseFloat(u),c[4]));const h=c[5];h&&(s=h)}else o=n;if(!e){let c=!1,u=t.length;o<0&&(t.push(function oH(){return new V(3100,!1)}()),c=!0),r<0&&(t.push(function rH(){return new V(3101,!1)}()),c=!0),c&&t.splice(u,0,F1())}return{duration:o,delay:r,easing:s}}(n,t,e)}function np(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function K1(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function Js(n,t=new Map,e){if(e)for(let[i,o]of e)t.set(i,o);for(let[i,o]of n)t.set(i,o);return t}function q1(n,t,e){return e?t+":"+e+";":""}function X1(n){let t="";for(let e=0;e<n.style.length;e++){const i=n.style.item(e);t+=q1(0,i,n.style.getPropertyValue(i))}for(const e in n.style)n.style.hasOwnProperty(e)&&!e.startsWith("_")&&(t+=q1(0,ZH(e),n.style[e]));n.setAttribute("style",t)}function fr(n,t,e){n.style&&(t.forEach((i,o)=>{const r=ZM(o);e&&!e.has(o)&&e.set(o,n.style[r]),n.style[r]=i}),RM()&&X1(n))}function sc(n,t){n.style&&(t.forEach((e,i)=>{const o=ZM(i);n.style[o]=""}),RM()&&X1(n))}function ip(n){return Array.isArray(n)?1==n.length?n[0]:LI(n):n}const QM=new RegExp("{{\\s*(.+?)\\s*}}","g");function eE(n){let t=[];if("string"==typeof n){let e;for(;e=QM.exec(n);)t.push(e[1]);QM.lastIndex=0}return t}function op(n,t,e){const i=n.toString(),o=i.replace(QM,(r,s)=>{let c=t[s];return null==c&&(e.push(function aH(n){return new V(3003,!1)}()),c=""),c.toString()});return o==i?n:o}function C_(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const QH=/-+([a-z0-9])/g;function ZM(n){return n.replace(QH,(...t)=>t[1].toUpperCase())}function ZH(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Pi(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function cH(n){return new V(3004,!1)}()}}function tE(n,t){return window.getComputedStyle(n)[t]}
|
|
2536
2536
|
/**
|
|
2537
2537
|
* @license
|
|
2538
2538
|
* Copyright Google LLC All Rights Reserved.
|
|
2539
2539
|
*
|
|
2540
2540
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2541
2541
|
* found in the LICENSE file at https://angular.io/license
|
|
2542
|
-
*/function
|
|
2542
|
+
*/function eU(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function tU(n,t,e){if(":"==n[0]){const u=function nU(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return t.push(function CH(n){return new V(3016,!1)}()),"* => *"}}(n,e);if("function"==typeof u)return void t.push(u);n=u}const i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function MH(n){return new V(3015,!1)}()),t;const o=i[1],r=i[2],s=i[3];t.push(nE(o,s));"<"==r[0]&&!("*"==o&&"*"==s)&&t.push(nE(s,o))}(i,e,t)):e.push(n),e}const S_=new Set(["true","1"]),I_=new Set(["false","0"]);function nE(n,t){const e=S_.has(n)||I_.has(n),i=S_.has(t)||I_.has(t);return(o,r)=>{let s="*"==n||n==o,c="*"==t||t==r;return!s&&e&&"boolean"==typeof o&&(s=o?S_.has(n):I_.has(n)),!c&&i&&"boolean"==typeof r&&(c=r?S_.has(t):I_.has(t)),s&&c}}
|
|
2543
2543
|
/**
|
|
2544
2544
|
* @license
|
|
2545
2545
|
* Copyright Google LLC All Rights Reserved.
|
|
2546
2546
|
*
|
|
2547
2547
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2548
2548
|
* found in the LICENSE file at https://angular.io/license
|
|
2549
|
-
*/const
|
|
2549
|
+
*/const iU=new RegExp("s*:selfs*,?","g");function $M(n,t,e,i){return new oU(n).build(t,e,i)}class oU{constructor(t){this._driver=t}build(t,e,i){const o=new aU(e);return this._resetContextStyleTimingState(o),Pi(this,ip(t),o)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,o=e.depCount=0;const r=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function uH(){return new V(3006,!1)}()),t.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const u=c,h=u.name;h.toString().split(/\s*,\s*/).forEach(p=>{u.name=p,r.push(this.visitState(u,e))}),u.name=h}else if(1==c.type){const u=this.visitTransition(c,e);i+=u.queryCount,o+=u.depCount,s.push(u)}else e.errors.push(function dH(){return new V(3007,!1)}())}),{type:7,name:t.name,states:r,transitions:s,queryCount:i,depCount:o,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),o=t.options&&t.options.params||null;if(i.containsDynamicStyles){const r=new Set,s=o||{};i.styles.forEach(c=>{c instanceof Map&&c.forEach(u=>{eE(u).forEach(h=>{s.hasOwnProperty(h)||r.add(h)})})}),r.size&&(C_(r.values()),e.errors.push(function hH(n,t){return new V(3008,!1)}()))}return{type:0,name:t.name,style:i,options:o?{params:o}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Pi(this,ip(t.animation),e);return{type:1,matchers:eU(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:ac(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Pi(this,i,e)),options:ac(t.options)}}visitGroup(t,e){const i=e.currentTime;let o=0;const r=t.steps.map(s=>{e.currentTime=i;const c=Pi(this,s,e);return o=Math.max(o,e.currentTime),c});return e.currentTime=o,{type:3,steps:r,options:ac(t.options)}}visitAnimate(t,e){const i=function lU(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return KM(M_(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=KM(0,0,"");return r.dynamic=!0,r.strValue=e,r}const o=M_(e,t);return KM(o.duration,o.delay,o.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let o,r=t.styles?t.styles:ve({});if(5==r.type)o=this.visitKeyframes(r,e);else{let s=t.styles,c=!1;if(!s){c=!0;const h={};i.easing&&(h.easing=i.easing),s=ve(h)}e.currentTime+=i.duration+i.delay;const u=this.visitStyle(s,e);u.isEmptyStep=c,o=u}return e.currentAnimateTimings=null,{type:4,timings:i,style:o,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],o=Array.isArray(t.styles)?t.styles:[t.styles];for(let c of o)"string"==typeof c?c===Jr?i.push(c):e.errors.push(new V(3002,!1)):i.push(K1(c));let r=!1,s=null;return i.forEach(c=>{if(c instanceof Map&&(c.has("easing")&&(s=c.get("easing"),c.delete("easing")),!r))for(let u of c.values())if(u.toString().indexOf("{{")>=0){r=!0;break}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let o=e.currentTime,r=e.currentTime;i&&r>0&&(r-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((c,u)=>{const h=e.collectedStyles.get(e.currentQuerySelector),p=h.get(u);let g=!0;p&&(r!=o&&r>=p.startTime&&o<=p.endTime&&(e.errors.push(function fH(n,t,e,i,o){return new V(3010,!1)}()),g=!1),r=p.startTime),g&&h.set(u,{startTime:r,endTime:o}),e.options&&function WH(n,t,e){const i=t.params||{},o=eE(n);o.length&&o.forEach(r=>{i.hasOwnProperty(r)||e.push(function sH(n){return new V(3001,!1)}())})}(c,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function gH(){return new V(3011,!1)}()),i;let r=0;const s=[];let c=!1,u=!1,h=0;const p=t.steps.map(O=>{const H=this._makeStyleAst(O,e);let L=null!=H.offset?H.offset:function cU(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(H.styles),Y=0;return null!=L&&(r++,Y=H.offset=L),u=u||Y<0||Y>1,c=c||Y<h,h=Y,s.push(Y),H});u&&e.errors.push(function mH(){return new V(3012,!1)}()),c&&e.errors.push(function _H(){return new V(3200,!1)}());const g=t.steps.length;let _=0;r>0&&r<g?e.errors.push(function bH(){return new V(3202,!1)}()):0==r&&(_=1/(g-1));const y=g-1,M=e.currentTime,x=e.currentAnimateTimings,E=x.duration;return p.forEach((O,H)=>{const L=_>0?H==y?1:_*H:s[H],Y=L*E;e.currentTime=M+x.delay+Y,x.duration=Y,this._validateStyleAst(O,e),O.offset=L,i.styles.push(O)}),i}visitReference(t,e){return{type:8,animation:Pi(this,ip(t.animation),e),options:ac(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ac(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ac(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,o=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function rU(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(iU,"")),n=n.replace(/@\*/g,y_).replace(/@\w+/g,e=>y_+"-"+e.slice(1)).replace(/:animating/g,GM),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+r:r,Oi(e.collectedStyles,e.currentQuerySelector,new Map);const c=Pi(this,ip(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:c,originalSelector:t.selector,options:ac(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function vH(){return new V(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:M_(t.timings,e.errors,!0);return{type:12,animation:Pi(this,ip(t.animation),e),timings:i,options:null}}}class aU{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ac(n){return n?(n=np(n)).params&&(n.params=function sU(n){return n?np(n):null}(n.params)):n={},n}function KM(n,t,e){return{duration:n,delay:t,easing:e}}function JM(n,t,e,i,o,r,s=null,c=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:o,delay:r,totalTime:o+r,easing:s,subTimeline:c}}class T_{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}
|
|
2550
2550
|
/**
|
|
2551
2551
|
* @license
|
|
2552
2552
|
* Copyright Google LLC All Rights Reserved.
|
|
2553
2553
|
*
|
|
2554
2554
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2555
2555
|
* found in the LICENSE file at https://angular.io/license
|
|
2556
|
-
*/const dU=new RegExp(":enter","g"),pU=new RegExp(":leave","g");function qM(n,t,e,i,o,r=new Map,s=new Map,c,u,h=[]){return(new fU).buildKeyframes(n,t,e,i,o,r,s,c,u,h)}class fU{buildKeyframes(t,e,i,o,r,s,c,u,h,p=[]){h=h||new I_;const g=new XM(t,e,h,o,r,p,[]);g.options=u;const _=u.delay?ns(u.delay):0;g.currentTimeline.delayNextStep(_),g.currentTimeline.setStyles([s],null,g.errors,u),Pi(this,i,g);const y=g.timelines.filter(M=>M.containsAnimation());if(y.length&&c.size){let M;for(let x=y.length-1;x>=0;x--){const E=y[x];if(E.element===e){M=E;break}}M&&!M.allowOnlyTimelineStyles()&&M.setStyles([c],null,g.errors,u)}return y.length?y.map(M=>M.buildKeyframes()):[JM(e,[],[],[],0,_,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,o,o.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const o of t){const r=o?.delay;if(r){const s="number"==typeof r?r:ns(op(r,o?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let r=e.currentTimeline.currentTime;const s=null!=i.duration?ns(i.duration):null,c=null!=i.delay?ns(i.delay):null;return 0!==s&&t.forEach(u=>{const h=e.appendInstructionToTimeline(u,s,c);r=Math.max(r,h.duration+h.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),Pi(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let o=e;const r=t.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=T_);const s=ns(r.delay);o.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Pi(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let o=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?ns(t.options.delay):0;t.steps.forEach(s=>{const c=e.createSubContext(t.options);r&&c.delayNextStep(r),Pi(this,s,c),o=Math.max(o,c.currentTimeline.currentTime),i.push(c.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(o),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return y_(e.params?op(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=o&&o.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(r):i.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,r=i.duration,c=e.createSubContext().currentTimeline;c.easing=i.easing,t.styles.forEach(u=>{c.forwardTime((u.offset||0)*r),c.setStyles(u.styles,u.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(o+r),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,o=t.options||{},r=o.delay?ns(o.delay):0;r&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=T_);let s=i;const c=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=c.length;let u=null;c.forEach((h,p)=>{e.currentQueryIndex=p;const g=e.createSubContext(t.options,h);r&&g.delayNextStep(r),h===e.element&&(u=g.currentTimeline),Pi(this,t.animation,g),g.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,g.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,o=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),c=s*(e.currentQueryTotal-1);let u=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":u=c-u;break;case"full":u=i.currentStaggerTime}const p=e.currentTimeline;u&&p.delayNextStep(u);const g=p.currentTime;Pi(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=o.currentTime-g+(o.startTime-i.currentTimeline.startTime)}}const T_={};class XM{constructor(t,e,i,o,r,s,c,u){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=s,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=T_,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new k_(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let o=this.options;null!=i.duration&&(o.duration=ns(i.duration)),null!=i.delay&&(o.delay=ns(i.delay));const r=i.params;if(r){let s=o.params;s||(s=this.options.params={}),Object.keys(r).forEach(c=>{(!e||!s.hasOwnProperty(c))&&(s[c]=op(r[c],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return t}createSubContext(t=null,e,i){const o=e||this.element,r=new XM(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=T_,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const o={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},r=new gU(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,o,t.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,o,r,s){let c=[];if(o&&c.push(this.element),t.length>0){t=(t=t.replace(dU,"."+this._enterClassName)).replace(pU,"."+this._leaveClassName);let h=this._driver.query(this.element,t,1!=i);0!==i&&(h=i<0?h.slice(h.length+i,h.length):h.slice(0,i)),c.push(...h)}return!r&&0==c.length&&s.push(function vH(n){return new V(3014,!1)}()),c}}class k_{constructor(t,e,i,o){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new k_(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Jr),this._currentKeyframe.set(e,Jr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,o){e&&this._previousKeyframe.set("easing",e);const r=o&&o.params||{},s=function mU(n,t){const e=new Map;let i;return n.forEach(o=>{if("*"===o){i=i||t.keys();for(let r of i)e.set(r,Jr)}else Ks(o,e)}),e}(t,this._globalTimelineStyles);for(let[c,u]of s){const h=op(u,r,i);this._pendingStyles.set(c,h),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??Jr),this._updateStyle(c,h)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((c,u)=>{const h=Ks(c,new Map,this._backFill);h.forEach((p,g)=>{"!"===p?t.add(g):p===Jr&&e.add(g)}),i||h.set("offset",u/this.duration),o.push(h)});const r=t.size?M_(t.values()):[],s=e.size?M_(e.values()):[];if(i){const c=o[0],u=new Map(c);c.set("offset",0),u.set("offset",1),o=[c,u]}return JM(this.element,o,r,s,this.duration,this.startTime,this.easing,!1)}}class gU extends k_{constructor(t,e,i,o,r,s,c=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=c,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=i+e,c=e/s,u=Ks(t[0]);u.set("offset",0),r.push(u);const h=Ks(t[0]);h.set("offset",rE(c)),r.push(h);const p=t.length-1;for(let g=1;g<=p;g++){let _=Ks(t[g]);const y=_.get("offset");_.set("offset",rE((e+y*i)/s)),r.push(_)}i=s,e=0,o="",t=r}return JM(this.element,t,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function rE(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}
|
|
2556
|
+
*/const hU=new RegExp(":enter","g"),fU=new RegExp(":leave","g");function qM(n,t,e,i,o,r=new Map,s=new Map,c,u,h=[]){return(new gU).buildKeyframes(n,t,e,i,o,r,s,c,u,h)}class gU{buildKeyframes(t,e,i,o,r,s,c,u,h,p=[]){h=h||new T_;const g=new XM(t,e,h,o,r,p,[]);g.options=u;const _=u.delay?ns(u.delay):0;g.currentTimeline.delayNextStep(_),g.currentTimeline.setStyles([s],null,g.errors,u),Pi(this,i,g);const y=g.timelines.filter(M=>M.containsAnimation());if(y.length&&c.size){let M;for(let x=y.length-1;x>=0;x--){const E=y[x];if(E.element===e){M=E;break}}M&&!M.allowOnlyTimelineStyles()&&M.setStyles([c],null,g.errors,u)}return y.length?y.map(M=>M.buildKeyframes()):[JM(e,[],[],[],0,_,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,o,o.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const o of t){const r=o?.delay;if(r){const s="number"==typeof r?r:ns(op(r,o?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let r=e.currentTimeline.currentTime;const s=null!=i.duration?ns(i.duration):null,c=null!=i.delay?ns(i.delay):null;return 0!==s&&t.forEach(u=>{const h=e.appendInstructionToTimeline(u,s,c);r=Math.max(r,h.duration+h.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),Pi(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let o=e;const r=t.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=k_);const s=ns(r.delay);o.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Pi(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let o=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?ns(t.options.delay):0;t.steps.forEach(s=>{const c=e.createSubContext(t.options);r&&c.delayNextStep(r),Pi(this,s,c),o=Math.max(o,c.currentTimeline.currentTime),i.push(c.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(o),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return M_(e.params?op(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=o&&o.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(r):i.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,r=i.duration,c=e.createSubContext().currentTimeline;c.easing=i.easing,t.styles.forEach(u=>{c.forwardTime((u.offset||0)*r),c.setStyles(u.styles,u.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(o+r),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,o=t.options||{},r=o.delay?ns(o.delay):0;r&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=k_);let s=i;const c=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=c.length;let u=null;c.forEach((h,p)=>{e.currentQueryIndex=p;const g=e.createSubContext(t.options,h);r&&g.delayNextStep(r),h===e.element&&(u=g.currentTimeline),Pi(this,t.animation,g),g.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,g.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,o=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),c=s*(e.currentQueryTotal-1);let u=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":u=c-u;break;case"full":u=i.currentStaggerTime}const p=e.currentTimeline;u&&p.delayNextStep(u);const g=p.currentTime;Pi(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=o.currentTime-g+(o.startTime-i.currentTimeline.startTime)}}const k_={};class XM{constructor(t,e,i,o,r,s,c,u){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=s,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=k_,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new E_(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let o=this.options;null!=i.duration&&(o.duration=ns(i.duration)),null!=i.delay&&(o.delay=ns(i.delay));const r=i.params;if(r){let s=o.params;s||(s=this.options.params={}),Object.keys(r).forEach(c=>{(!e||!s.hasOwnProperty(c))&&(s[c]=op(r[c],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return t}createSubContext(t=null,e,i){const o=e||this.element,r=new XM(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=k_,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const o={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},r=new mU(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,o,t.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,o,r,s){let c=[];if(o&&c.push(this.element),t.length>0){t=(t=t.replace(hU,"."+this._enterClassName)).replace(fU,"."+this._leaveClassName);let h=this._driver.query(this.element,t,1!=i);0!==i&&(h=i<0?h.slice(h.length+i,h.length):h.slice(0,i)),c.push(...h)}return!r&&0==c.length&&s.push(function yH(n){return new V(3014,!1)}()),c}}class E_{constructor(t,e,i,o){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new E_(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Jr),this._currentKeyframe.set(e,Jr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,o){e&&this._previousKeyframe.set("easing",e);const r=o&&o.params||{},s=function _U(n,t){const e=new Map;let i;return n.forEach(o=>{if("*"===o){i=i||t.keys();for(let r of i)e.set(r,Jr)}else Js(o,e)}),e}(t,this._globalTimelineStyles);for(let[c,u]of s){const h=op(u,r,i);this._pendingStyles.set(c,h),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??Jr),this._updateStyle(c,h)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((c,u)=>{const h=Js(c,new Map,this._backFill);h.forEach((p,g)=>{"!"===p?t.add(g):p===Jr&&e.add(g)}),i||h.set("offset",u/this.duration),o.push(h)});const r=t.size?C_(t.values()):[],s=e.size?C_(e.values()):[];if(i){const c=o[0],u=new Map(c);c.set("offset",0),u.set("offset",1),o=[c,u]}return JM(this.element,o,r,s,this.duration,this.startTime,this.easing,!1)}}class mU extends E_{constructor(t,e,i,o,r,s,c=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=c,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=i+e,c=e/s,u=Js(t[0]);u.set("offset",0),r.push(u);const h=Js(t[0]);h.set("offset",rE(c)),r.push(h);const p=t.length-1;for(let g=1;g<=p;g++){let _=Js(t[g]);const y=_.get("offset");_.set("offset",rE((e+y*i)/s)),r.push(_)}i=s,e=0,o="",t=r}return JM(this.element,t,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function rE(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}
|
|
2557
2557
|
/**
|
|
2558
2558
|
* @license
|
|
2559
2559
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2569,35 +2569,35 @@ class eC{}
|
|
|
2569
2569
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2570
2570
|
* found in the LICENSE file at https://angular.io/license
|
|
2571
2571
|
*/
|
|
2572
|
-
const
|
|
2572
|
+
const bU=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class vU extends eC{normalizePropertyName(t,e){return ZM(t)}normalizeStyleValue(t,e,i,o){let r="";const s=i.toString().trim();if(bU.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const c=i.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&o.push(function lH(n,t){return new V(3005,!1)}())}return s+r}}
|
|
2573
2573
|
/**
|
|
2574
2574
|
* @license
|
|
2575
2575
|
* Copyright Google LLC All Rights Reserved.
|
|
2576
2576
|
*
|
|
2577
2577
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2578
2578
|
* found in the LICENSE file at https://angular.io/license
|
|
2579
|
-
*/function sE(n,t,e,i,o,r,s,c,u,h,p,g,_){return{type:0,element:n,triggerName:t,isRemovalTransition:o,fromState:e,fromStyles:r,toState:i,toStyles:s,timelines:c,queriedElements:u,preStyleProps:h,postStyleProps:p,totalTime:g,errors:_}}const tC={};class aE{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,o){return function
|
|
2579
|
+
*/function sE(n,t,e,i,o,r,s,c,u,h,p,g,_){return{type:0,element:n,triggerName:t,isRemovalTransition:o,fromState:e,fromStyles:r,toState:i,toStyles:s,timelines:c,queriedElements:u,preStyleProps:h,postStyleProps:p,totalTime:g,errors:_}}const tC={};class aE{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,o){return function yU(n,t,e,i,o){return n.some(r=>r(t,e,i,o))}(this.ast.matchers,t,e,i,o)}buildStyles(t,e,i){let o=this._stateStyles.get("*");return void 0!==t&&(o=this._stateStyles.get(t?.toString())||o),o?o.buildStyles(e,i):new Map}build(t,e,i,o,r,s,c,u,h,p){const g=[],_=this.ast.options&&this.ast.options.params||tC,M=this.buildStyles(i,c&&c.params||tC,g),x=u&&u.params||tC,E=this.buildStyles(o,x,g),O=new Set,H=new Map,L=new Map,Y="void"===o,Ee={params:MU(x,_),delay:this.ast.options?.delay},Qe=p?[]:qM(t,e,this.ast.animation,r,s,M,E,Ee,h,g);let jt=0;if(Qe.forEach(Ri=>{jt=Math.max(Ri.duration+Ri.delay,jt)}),g.length)return sE(e,this._triggerName,i,o,Y,M,E,[],[],H,L,jt,g);Qe.forEach(Ri=>{const zi=Ri.element,lu=Oi(H,zi,new Set);Ri.preStyleProps.forEach(Bo=>lu.add(Bo));const is=Oi(L,zi,new Set);Ri.postStyleProps.forEach(Bo=>is.add(Bo)),zi!==e&&O.add(zi)});const ji=C_(O.values());return sE(e,this._triggerName,i,o,Y,M,E,Qe,ji,H,L,jt)}}function MU(n,t){const e=np(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class CU{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,o=np(this.defaultParams);return Object.keys(t).forEach(r=>{const s=t[r];null!==s&&(o[r]=s)}),this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((s,c)=>{s&&(s=op(s,o,e));const u=this.normalizer.normalizePropertyName(c,e);s=this.normalizer.normalizeStyleValue(c,u,s,e),i.set(u,s)})}),i}}class DU{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(o=>{this.states.set(o.name,new CU(o.style,o.options&&o.options.params||{},i))}),cE(this.states,"true","1"),cE(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new aE(t,o,this.states))}),this.fallbackTransition=function xU(n,t,e){return new aE(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,c)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,o){return this.transitionFactories.find(s=>s.match(t,e,i,o))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function cE(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}
|
|
2580
2580
|
/**
|
|
2581
2581
|
* @license
|
|
2582
2582
|
* Copyright Google LLC All Rights Reserved.
|
|
2583
2583
|
*
|
|
2584
2584
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2585
2585
|
* found in the LICENSE file at https://angular.io/license
|
|
2586
|
-
*/const
|
|
2586
|
+
*/const SU=new T_;class IU{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],r=$M(this._driver,e,i,[]);if(i.length)throw function IH(n){return new V(3503,!1)}();this._animations.set(t,r)}_buildPlayer(t,e,i){const o=t.element,r=V1(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(o,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const o=[],r=this._animations.get(t);let s;const c=new Map;if(r?(s=qM(this._driver,e,r,YM,b_,new Map,new Map,i,SU,o),s.forEach(p=>{const g=Oi(c,p.element,new Map);p.postStyleProps.forEach(_=>g.set(_,null))})):(o.push(function TH(){return new V(3300,!1)}()),s=[]),o.length)throw function kH(n){return new V(3504,!1)}();c.forEach((p,g)=>{p.forEach((_,y)=>{p.set(y,this._driver.computeStyle(g,y,Jr))})});const h=Ks(s.map(p=>{const g=c.get(p.element);return this._buildPlayer(p,new Map,g)}));return this._playersById.set(t,h),h.onDestroy(()=>this.destroy(t)),this.players.push(h),h}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function EH(n){return new V(3301,!1)}();return e}listen(t,e,i,o){const r=VM(e,"","","");return zM(this._getPlayer(t),i,r,o),()=>{}}command(t,e,i,o){if("register"==i)return void this.register(t,o[0]);if("create"==i)return void this.create(t,e,o[0]||{});const r=this._getPlayer(t);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(t)}}}
|
|
2587
2587
|
/**
|
|
2588
2588
|
* @license
|
|
2589
2589
|
* Copyright Google LLC All Rights Reserved.
|
|
2590
2590
|
*
|
|
2591
2591
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2592
2592
|
* found in the LICENSE file at https://angular.io/license
|
|
2593
|
-
*/const lE="ng-animate-queued",nC="ng-animate-disabled",LU=[],uE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},NU={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},oo="__ng_removed";class iC{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function jU(n){return n??null}(i?t.value:t),i){const r=np(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const rp="void",oC=new iC(rp);class AU{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,ro(e,this._hostClassName)}listen(t,e,i,o){if(!this._triggers.has(e))throw function EH(n,t){return new V(3302,!1)}();if(null==i||0==i.length)throw function LH(n){return new V(3303,!1)}();if(!function RU(n){return"start"==n||"done"==n}(i))throw function NH(n,t){return new V(3400,!1)}();const r=Oi(this._elementListeners,t,[]),s={name:e,phase:i,callback:o};r.push(s);const c=Oi(this._engine.statesByElement,t,new Map);return c.has(e)||(ro(t,b_),ro(t,b_+"-"+e),c.set(e,oC)),()=>{this._engine.afterFlush(()=>{const u=r.indexOf(s);u>=0&&r.splice(u,1),this._triggers.has(e)||c.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function AH(n){return new V(3401,!1)}();return e}trigger(t,e,i,o=!0){const r=this._getTrigger(e),s=new rC(this.id,e,t);let c=this._engine.statesByElement.get(t);c||(ro(t,b_),ro(t,b_+"-"+e),this._engine.statesByElement.set(t,c=new Map));let u=c.get(e);const h=new iC(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&u&&h.absorbOptions(u.options),c.set(e,h),u||(u=oC),h.value!==rp&&u.value===h.value){if(!function VU(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let o=0;o<e.length;o++){const r=e[o];if(!t.hasOwnProperty(r)||n[r]!==t[r])return!1}return!0}(u.params,h.params)){const x=[],E=r.matchStyles(u.value,u.params,x),O=r.matchStyles(h.value,h.params,x);x.length?this._engine.reportError(x):this._engine.afterFlush(()=>{sc(t,E),fr(t,O)})}return}const _=Oi(this._engine.playersByElement,t,[]);_.forEach(x=>{x.namespaceId==this.id&&x.triggerName==e&&x.queued&&x.destroy()});let y=r.matchTransition(u.value,h.value,t,h.params),M=!1;if(!y){if(!o)return;y=r.fallbackTransition,M=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:y,fromState:u,toState:h,player:s,isFallbackTransition:M}),M||(ro(t,lE),s.onStart(()=>{ru(t,lE)})),s.onDone(()=>{let x=this.players.indexOf(s);x>=0&&this.players.splice(x,1);const E=this._engine.playersByElement.get(t);if(E){let O=E.indexOf(s);O>=0&&E.splice(O,1)}}),this.players.push(s),_.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,v_,!0);i.forEach(o=>{if(o[oo])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(s=>s.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(t,e,i,o){const r=this._engine.statesByElement.get(t),s=new Map;if(r){const c=[];if(r.forEach((u,h)=>{if(s.set(h,u.value),this._triggers.has(h)){const p=this.trigger(t,h,rp,o);p&&c.push(p)}}),c.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&$s(c).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const o=new Set;e.forEach(r=>{const s=r.name;if(o.has(s))return;o.add(s);const u=this._triggers.get(s).fallbackTransition,h=i.get(s)||oC,p=new iC(rp),g=new rC(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:u,fromState:h,toState:p,player:g,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let o=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(t):[];if(r&&r.length)o=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(t),o)i.markElementAsRemoved(this.id,t,!1,e);else{const r=t[oo];(!r||r===uE)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){ro(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(c=>{if(c.name==i.triggerName){const u=VM(r,i.triggerName,i.fromState.value,i.toState.value);u._data=t,zM(i.player,c.phase,u,c.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const r=i.transition.ast.depCount,s=o.transition.ast.depCount;return 0==r||0==s?r-s:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class OU{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,r)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new AU(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,c=this.driver.getParentElement(e);for(;c;){const u=o.get(c);if(u){const h=i.indexOf(u);i.splice(h+1,0,t),s=!0;break}c=this.driver.getParentElement(c)}s||i.unshift(t)}else i.push(t);return o.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let o=this._namespaceLookup[t];o&&o.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let o of i.values())if(o.namespaceId){const r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}return e}trigger(t,e,i,o){if(E_(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,i,o),!0}return!1}insertNode(t,e,i,o){if(!E_(e))return;const r=e[oo];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),ro(t,nC)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),ru(t,nC))}removeNode(t,e,i,o){if(E_(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,o):this.markElementAsRemoved(t,e,!1,o),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(t,e,i,o,r){this.collectedLeaveElements.push(e),e[oo]={namespaceId:t,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(t,e,i,o,r){return E_(e)?this._fetchNamespace(t).listen(e,i,o,r):()=>{}}_buildInstruction(t,e,i,o,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,o,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,v_,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,GM,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return $s(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[oo];if(e&&e.setForRemoval){if(t[oo]=uE,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(nC)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)ro(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,t)}finally{for(let o=0;o<i.length;o++)i[o]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?$s(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(t){throw function OH(n){return new V(3402,!1)}()}_flushAnimations(t,e){const i=new I_,o=[],r=new Map,s=[],c=new Map,u=new Map,h=new Map,p=new Set;this.disabledNodes.forEach(J=>{p.add(J);const ie=this.driver.query(J,".ng-animate-queued",!0);for(let he=0;he<ie.length;he++)p.add(ie[he])});const g=this.bodyNode,_=Array.from(this.statesByElement.keys()),y=pE(_,this.collectedEnterElements),M=new Map;let x=0;y.forEach((J,ie)=>{const he=YM+x++;M.set(ie,he),J.forEach(tt=>ro(tt,he))});const E=[],O=new Set,H=new Set;for(let J=0;J<this.collectedLeaveElements.length;J++){const ie=this.collectedLeaveElements[J],he=ie[oo];he&&he.setForRemoval&&(E.push(ie),O.add(ie),he.hasAnimation?this.driver.query(ie,".ng-star-inserted",!0).forEach(tt=>O.add(tt)):H.add(ie))}const L=new Map,Y=pE(_,Array.from(O));Y.forEach((J,ie)=>{const he=__+x++;L.set(ie,he),J.forEach(tt=>ro(tt,he))}),t.push(()=>{y.forEach((J,ie)=>{const he=M.get(ie);J.forEach(tt=>ru(tt,he))}),Y.forEach((J,ie)=>{const he=L.get(ie);J.forEach(tt=>ru(tt,he))}),E.forEach(J=>{this.processLeaveNode(J)})});const Ee=[],Qe=[];for(let J=this._namespaceList.length-1;J>=0;J--)this._namespaceList[J].drainQueuedTransitions(e).forEach(he=>{const tt=he.player,Mn=he.element;if(Ee.push(tt),this.collectedEnterElements.length){const Fn=Mn[oo];if(Fn&&Fn.setForMove){if(Fn.previousTriggersValues&&Fn.previousTriggersValues.has(he.triggerName)){const cc=Fn.previousTriggersValues.get(he.triggerName),so=this.statesByElement.get(he.element);if(so&&so.has(he.triggerName)){const A_=so.get(he.triggerName);A_.value=cc,so.set(he.triggerName,A_)}}return void tt.destroy()}}const gr=!g||!this.driver.containsElement(g,Mn),Fi=L.get(Mn),Js=M.get(Mn),Rt=this._buildInstruction(he,i,Js,Fi,gr);if(Rt.errors&&Rt.errors.length)return void Qe.push(Rt);if(gr)return tt.onStart(()=>sc(Mn,Rt.fromStyles)),tt.onDestroy(()=>fr(Mn,Rt.toStyles)),void o.push(tt);if(he.isFallbackTransition)return tt.onStart(()=>sc(Mn,Rt.fromStyles)),tt.onDestroy(()=>fr(Mn,Rt.toStyles)),void o.push(tt);const CE=[];Rt.timelines.forEach(Fn=>{Fn.stretchStartingKeyframe=!0,this.disabledNodes.has(Fn.element)||CE.push(Fn)}),Rt.timelines=CE,i.append(Mn,Rt.timelines),s.push({instruction:Rt,player:tt,element:Mn}),Rt.queriedElements.forEach(Fn=>Oi(c,Fn,[]).push(tt)),Rt.preStyleProps.forEach((Fn,cc)=>{if(Fn.size){let so=u.get(cc);so||u.set(cc,so=new Set),Fn.forEach((A_,cC)=>so.add(cC))}}),Rt.postStyleProps.forEach((Fn,cc)=>{let so=h.get(cc);so||h.set(cc,so=new Set),Fn.forEach((A_,cC)=>so.add(cC))})});if(Qe.length){const J=[];Qe.forEach(ie=>{J.push(function PH(n,t){return new V(3505,!1)}
|
|
2593
|
+
*/const lE="ng-animate-queued",nC="ng-animate-disabled",NU=[],uE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},AU={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},oo="__ng_removed";class iC{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function RU(n){return n??null}(i?t.value:t),i){const r=np(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const rp="void",oC=new iC(rp);class OU{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,ro(e,this._hostClassName)}listen(t,e,i,o){if(!this._triggers.has(e))throw function LH(n,t){return new V(3302,!1)}();if(null==i||0==i.length)throw function NH(n){return new V(3303,!1)}();if(!function zU(n){return"start"==n||"done"==n}(i))throw function AH(n,t){return new V(3400,!1)}();const r=Oi(this._elementListeners,t,[]),s={name:e,phase:i,callback:o};r.push(s);const c=Oi(this._engine.statesByElement,t,new Map);return c.has(e)||(ro(t,v_),ro(t,v_+"-"+e),c.set(e,oC)),()=>{this._engine.afterFlush(()=>{const u=r.indexOf(s);u>=0&&r.splice(u,1),this._triggers.has(e)||c.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function OH(n){return new V(3401,!1)}();return e}trigger(t,e,i,o=!0){const r=this._getTrigger(e),s=new rC(this.id,e,t);let c=this._engine.statesByElement.get(t);c||(ro(t,v_),ro(t,v_+"-"+e),this._engine.statesByElement.set(t,c=new Map));let u=c.get(e);const h=new iC(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&u&&h.absorbOptions(u.options),c.set(e,h),u||(u=oC),h.value!==rp&&u.value===h.value){if(!function BU(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let o=0;o<e.length;o++){const r=e[o];if(!t.hasOwnProperty(r)||n[r]!==t[r])return!1}return!0}(u.params,h.params)){const x=[],E=r.matchStyles(u.value,u.params,x),O=r.matchStyles(h.value,h.params,x);x.length?this._engine.reportError(x):this._engine.afterFlush(()=>{sc(t,E),fr(t,O)})}return}const _=Oi(this._engine.playersByElement,t,[]);_.forEach(x=>{x.namespaceId==this.id&&x.triggerName==e&&x.queued&&x.destroy()});let y=r.matchTransition(u.value,h.value,t,h.params),M=!1;if(!y){if(!o)return;y=r.fallbackTransition,M=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:y,fromState:u,toState:h,player:s,isFallbackTransition:M}),M||(ro(t,lE),s.onStart(()=>{cu(t,lE)})),s.onDone(()=>{let x=this.players.indexOf(s);x>=0&&this.players.splice(x,1);const E=this._engine.playersByElement.get(t);if(E){let O=E.indexOf(s);O>=0&&E.splice(O,1)}}),this.players.push(s),_.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,y_,!0);i.forEach(o=>{if(o[oo])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(s=>s.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(t,e,i,o){const r=this._engine.statesByElement.get(t),s=new Map;if(r){const c=[];if(r.forEach((u,h)=>{if(s.set(h,u.value),this._triggers.has(h)){const p=this.trigger(t,h,rp,o);p&&c.push(p)}}),c.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&Ks(c).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const o=new Set;e.forEach(r=>{const s=r.name;if(o.has(s))return;o.add(s);const u=this._triggers.get(s).fallbackTransition,h=i.get(s)||oC,p=new iC(rp),g=new rC(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:u,fromState:h,toState:p,player:g,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let o=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(t):[];if(r&&r.length)o=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(t),o)i.markElementAsRemoved(this.id,t,!1,e);else{const r=t[oo];(!r||r===uE)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){ro(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(c=>{if(c.name==i.triggerName){const u=VM(r,i.triggerName,i.fromState.value,i.toState.value);u._data=t,zM(i.player,c.phase,u,c.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const r=i.transition.ast.depCount,s=o.transition.ast.depCount;return 0==r||0==s?r-s:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class PU{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,r)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new OU(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,c=this.driver.getParentElement(e);for(;c;){const u=o.get(c);if(u){const h=i.indexOf(u);i.splice(h+1,0,t),s=!0;break}c=this.driver.getParentElement(c)}s||i.unshift(t)}else i.push(t);return o.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let o=this._namespaceLookup[t];o&&o.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let o of i.values())if(o.namespaceId){const r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}return e}trigger(t,e,i,o){if(L_(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,i,o),!0}return!1}insertNode(t,e,i,o){if(!L_(e))return;const r=e[oo];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),ro(t,nC)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),cu(t,nC))}removeNode(t,e,i,o){if(L_(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,o):this.markElementAsRemoved(t,e,!1,o),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(t,e,i,o,r){this.collectedLeaveElements.push(e),e[oo]={namespaceId:t,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(t,e,i,o,r){return L_(e)?this._fetchNamespace(t).listen(e,i,o,r):()=>{}}_buildInstruction(t,e,i,o,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,o,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,y_,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,GM,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Ks(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[oo];if(e&&e.setForRemoval){if(t[oo]=uE,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(nC)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)ro(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,t)}finally{for(let o=0;o<i.length;o++)i[o]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Ks(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(t){throw function PH(n){return new V(3402,!1)}()}_flushAnimations(t,e){const i=new T_,o=[],r=new Map,s=[],c=new Map,u=new Map,h=new Map,p=new Set;this.disabledNodes.forEach(J=>{p.add(J);const ie=this.driver.query(J,".ng-animate-queued",!0);for(let he=0;he<ie.length;he++)p.add(ie[he])});const g=this.bodyNode,_=Array.from(this.statesByElement.keys()),y=pE(_,this.collectedEnterElements),M=new Map;let x=0;y.forEach((J,ie)=>{const he=YM+x++;M.set(ie,he),J.forEach(tt=>ro(tt,he))});const E=[],O=new Set,H=new Set;for(let J=0;J<this.collectedLeaveElements.length;J++){const ie=this.collectedLeaveElements[J],he=ie[oo];he&&he.setForRemoval&&(E.push(ie),O.add(ie),he.hasAnimation?this.driver.query(ie,".ng-star-inserted",!0).forEach(tt=>O.add(tt)):H.add(ie))}const L=new Map,Y=pE(_,Array.from(O));Y.forEach((J,ie)=>{const he=b_+x++;L.set(ie,he),J.forEach(tt=>ro(tt,he))}),t.push(()=>{y.forEach((J,ie)=>{const he=M.get(ie);J.forEach(tt=>cu(tt,he))}),Y.forEach((J,ie)=>{const he=L.get(ie);J.forEach(tt=>cu(tt,he))}),E.forEach(J=>{this.processLeaveNode(J)})});const Ee=[],Qe=[];for(let J=this._namespaceList.length-1;J>=0;J--)this._namespaceList[J].drainQueuedTransitions(e).forEach(he=>{const tt=he.player,Mn=he.element;if(Ee.push(tt),this.collectedEnterElements.length){const Fn=Mn[oo];if(Fn&&Fn.setForMove){if(Fn.previousTriggersValues&&Fn.previousTriggersValues.has(he.triggerName)){const cc=Fn.previousTriggersValues.get(he.triggerName),so=this.statesByElement.get(he.element);if(so&&so.has(he.triggerName)){const O_=so.get(he.triggerName);O_.value=cc,so.set(he.triggerName,O_)}}return void tt.destroy()}}const gr=!g||!this.driver.containsElement(g,Mn),Fi=L.get(Mn),qs=M.get(Mn),Rt=this._buildInstruction(he,i,qs,Fi,gr);if(Rt.errors&&Rt.errors.length)return void Qe.push(Rt);if(gr)return tt.onStart(()=>sc(Mn,Rt.fromStyles)),tt.onDestroy(()=>fr(Mn,Rt.toStyles)),void o.push(tt);if(he.isFallbackTransition)return tt.onStart(()=>sc(Mn,Rt.fromStyles)),tt.onDestroy(()=>fr(Mn,Rt.toStyles)),void o.push(tt);const CE=[];Rt.timelines.forEach(Fn=>{Fn.stretchStartingKeyframe=!0,this.disabledNodes.has(Fn.element)||CE.push(Fn)}),Rt.timelines=CE,i.append(Mn,Rt.timelines),s.push({instruction:Rt,player:tt,element:Mn}),Rt.queriedElements.forEach(Fn=>Oi(c,Fn,[]).push(tt)),Rt.preStyleProps.forEach((Fn,cc)=>{if(Fn.size){let so=u.get(cc);so||u.set(cc,so=new Set),Fn.forEach((O_,cC)=>so.add(cC))}}),Rt.postStyleProps.forEach((Fn,cc)=>{let so=h.get(cc);so||h.set(cc,so=new Set),Fn.forEach((O_,cC)=>so.add(cC))})});if(Qe.length){const J=[];Qe.forEach(ie=>{J.push(function jH(n,t){return new V(3505,!1)}
|
|
2594
2594
|
/**
|
|
2595
2595
|
* @license
|
|
2596
2596
|
* Copyright Google LLC All Rights Reserved.
|
|
2597
2597
|
*
|
|
2598
2598
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2599
2599
|
* found in the LICENSE file at https://angular.io/license
|
|
2600
|
-
*/())}),Ee.forEach(ie=>ie.destroy()),this.reportError(J)}const jt=new Map,ji=new Map;s.forEach(J=>{const ie=J.element;i.has(ie)&&(ji.set(ie,ie),this._beforeAnimationBuild(J.player.namespaceId,J.instruction,jt))}),o.forEach(J=>{const ie=J.element;this._getPreviousPlayers(ie,!1,J.namespaceId,J.triggerName,null).forEach(tt=>{Oi(jt,ie,[]).push(tt),tt.destroy()})});const Ri=E.filter(J=>gE(J,u,h)),zi=new Map;hE(zi,this.driver,H,h,Jr).forEach(J=>{gE(J,u,h)&&Ri.push(J)});const is=new Map;y.forEach((J,ie)=>{hE(is,this.driver,new Set(J),u,"!")}),Ri.forEach(J=>{const ie=zi.get(J),he=is.get(J);zi.set(J,new Map([...Array.from(ie?.entries()??[]),...Array.from(he?.entries()??[])]))});const Bo=[],au=[],cu={};s.forEach(J=>{const{element:ie,player:he,instruction:tt}=J;if(i.has(ie)){if(p.has(ie))return he.onDestroy(()=>fr(ie,tt.toStyles)),he.disabled=!0,he.overrideTotalTime(tt.totalTime),void o.push(he);let Mn=cu;if(ji.size>1){let Fi=ie;const Js=[];for(;Fi=Fi.parentNode;){const Rt=ji.get(Fi);if(Rt){Mn=Rt;break}Js.push(Fi)}Js.forEach(Rt=>ji.set(Rt,Mn))}const gr=this._buildAnimation(he.namespaceId,tt,jt,r,is,zi);if(he.setRealPlayer(gr),Mn===cu)Bo.push(he);else{const Fi=this.playersByElement.get(Mn);Fi&&Fi.length&&(he.parentPlayer=$s(Fi)),o.push(he)}}else sc(ie,tt.fromStyles),he.onDestroy(()=>fr(ie,tt.toStyles)),au.push(he),p.has(ie)&&o.push(he)}),au.forEach(J=>{const ie=r.get(J.element);if(ie&&ie.length){const he=$s(ie);J.setRealPlayer(he)}}),o.forEach(J=>{J.parentPlayer?J.syncPlayerEvents(J.parentPlayer):J.destroy()});for(let J=0;J<E.length;J++){const ie=E[J],he=ie[oo];if(ru(ie,__),he&&he.hasAnimation)continue;let tt=[];if(c.size){let gr=c.get(ie);gr&&gr.length&&tt.push(...gr);let Fi=this.driver.query(ie,GM,!0);for(let Js=0;Js<Fi.length;Js++){let Rt=c.get(Fi[Js]);Rt&&Rt.length&&tt.push(...Rt)}}const Mn=tt.filter(gr=>!gr.destroyed);Mn.length?zU(this,ie,Mn):this.processLeaveNode(ie)}return E.length=0,Bo.forEach(J=>{this.players.push(J),J.onDone(()=>{J.destroy();const ie=this.players.indexOf(J);this.players.splice(ie,1)}),J.play()}),Bo}elementContainsData(t,e){let i=!1;const o=e[oo];return o&&o.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,o,r){let s=[];if(e){const c=this.playersByQueriedElement.get(t);c&&(s=c)}else{const c=this.playersByElement.get(t);if(c){const u=!r||r==rp;c.forEach(h=>{h.queued||!u&&h.triggerName!=o||s.push(h)})}}return(i||o)&&(s=s.filter(c=>!(i&&i!=c.namespaceId||o&&o!=c.triggerName))),s}_beforeAnimationBuild(t,e,i){const r=e.element,s=e.isRemovalTransition?void 0:t,c=e.isRemovalTransition?void 0:e.triggerName;for(const u of e.timelines){const h=u.element,p=h!==r,g=Oi(i,h,[]);this._getPreviousPlayers(h,p,s,c,e.toState).forEach(y=>{const M=y.getRealPlayer();M.beforeDestroy&&M.beforeDestroy(),y.destroy(),g.push(y)})}sc(r,e.fromStyles)}_buildAnimation(t,e,i,o,r,s){const c=e.triggerName,u=e.element,h=[],p=new Set,g=new Set,_=e.timelines.map(M=>{const x=M.element;p.add(x);const E=x[oo];if(E&&E.removedBeforeQueried)return new zh(M.duration,M.delay);const O=x!==u,H=function FU(n){const t=[];return fE(n,t),t}((i.get(x)||LU).map(jt=>jt.getRealPlayer())).filter(jt=>!!jt.element&&jt.element===x),L=r.get(x),Y=s.get(x),Ee=V1(0,this._normalizer,0,M.keyframes,L,Y),Qe=this._buildPlayer(M,Ee,H);if(M.subTimeline&&o&&g.add(x),O){const jt=new rC(t,c,x);jt.setRealPlayer(Qe),h.push(jt)}return Qe});h.forEach(M=>{Oi(this.playersByQueriedElement,M.element,[]).push(M),M.onDone(()=>function PU(n,t,e){let i=n.get(t);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,M.element,M))}),p.forEach(M=>ro(M,$1));const y=$s(_);return y.onDestroy(()=>{p.forEach(M=>ru(M,$1)),fr(u,e.toStyles)}),g.forEach(M=>{Oi(o,M,[]).push(y)}),y}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new zh(t.duration,t.delay)}}class rC{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new zh,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(o=>zM(t,i,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Oi(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function E_(n){return n&&1===n.nodeType}function dE(n,t){const e=n.style.display;return n.style.display=t??"none",e}function hE(n,t,e,i,o){const r=[];e.forEach(u=>r.push(dE(u)));const s=[];i.forEach((u,h)=>{const p=new Map;u.forEach(g=>{const _=t.computeStyle(h,g,o);p.set(g,_),(!_||0==_.length)&&(h[oo]=NU,s.push(h))}),n.set(h,p)});let c=0;return e.forEach(u=>dE(u,r[c++])),s}function pE(n,t){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==t.length)return e;const o=new Set(t),r=new Map;function s(c){if(!c)return 1;let u=r.get(c);if(u)return u;const h=c.parentNode;return u=e.has(h)?h:o.has(h)?1:s(h),r.set(c,u),u}return t.forEach(c=>{const u=s(c);1!==u&&e.get(u).push(c)}),e}function ro(n,t){n.classList?.add(t)}function ru(n,t){n.classList?.remove(t)}function zU(n,t,e){$s(e).onDone(()=>n.processLeaveNode(t))}function fE(n,t){for(let e=0;e<n.length;e++){const i=n[e];i instanceof AI?fE(i.players,t):t.push(i)}}function gE(n,t,e){const i=e.get(n);if(!i)return!1;let o=t.get(n);return o?i.forEach(r=>o.add(r)):t.set(n,i),e.delete(n),!0}class L_{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,r)=>{},this._transitionEngine=new OU(t,e,i),this._timelineEngine=new SU(t,e,i),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(t,e,i,o,r){const s=t+"-"+o;let c=this._triggerCache[s];if(!c){const u=[],p=$M(this._driver,r,u,[]);if(u.length)throw function DH(n,t){return new V(3404,!1)}();c=function CU(n,t,e){return new wU(n,t,e)}(o,p,this._normalizer),this._triggerCache[s]=c}this._transitionEngine.registerTrigger(e,o,c)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,o){this._transitionEngine.insertNode(t,e,i,o)}onRemove(t,e,i,o){this._transitionEngine.removeNode(t,e,o||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,o){if("@"==i.charAt(0)){const[r,s]=B1(i);this._timelineEngine.command(r,e,s,o)}else this._transitionEngine.trigger(t,e,i,o)}listen(t,e,i,o,r){if("@"==i.charAt(0)){const[s,c]=B1(i);return this._timelineEngine.listen(s,e,c,r)}return this._transitionEngine.listen(t,e,i,o,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let HU=(()=>{class n{constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let r=n.initialStylesByElement.get(e);r||n.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&fr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(fr(this._element,this._initialStyles),this._endStyles&&(fr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(sc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(sc(this._element,this._endStyles),this._endStyles=null),fr(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function sC(n){let t=null;return n.forEach((e,i)=>{(function UU(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class mE{constructor(t,e,i,o){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&t.set(o,this._finished?i:tE(this.element,o))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class YU{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return G1(t,e)}getParentElement(t){return HM(t)}query(t,e,i){return W1(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,o,r,s=[]){const u={duration:i,delay:o,fill:0==o?"both":"forwards"};r&&(u.easing=r);const h=new Map,p=s.filter(y=>y instanceof mE);(function ZH(n,t){return 0===n||0===t})(i,o)&&p.forEach(y=>{y.currentSnapshot.forEach((M,x)=>h.set(x,M))});let g=function YH(n){return n.length?n[0]instanceof Map?n:n.map(t=>K1(t)):[]}(e).map(y=>Ks(y));g=function $H(n,t,e){if(e.size&&t.length){let i=t[0],o=[];if(e.forEach((r,s)=>{i.has(s)||o.push(s),i.set(s,r)}),o.length)for(let r=1;r<t.length;r++){let s=t[r];o.forEach(c=>s.set(c,tE(n,c)))}}return t}(t,g,h);const _=function BU(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=sC(t[0]),t.length>1&&(i=sC(t[t.length-1]))):t instanceof Map&&(e=sC(t)),e||i?new HU(n,e,i):null}(t,g);return new mE(t,g,u,_)}}
|
|
2600
|
+
*/())}),Ee.forEach(ie=>ie.destroy()),this.reportError(J)}const jt=new Map,ji=new Map;s.forEach(J=>{const ie=J.element;i.has(ie)&&(ji.set(ie,ie),this._beforeAnimationBuild(J.player.namespaceId,J.instruction,jt))}),o.forEach(J=>{const ie=J.element;this._getPreviousPlayers(ie,!1,J.namespaceId,J.triggerName,null).forEach(tt=>{Oi(jt,ie,[]).push(tt),tt.destroy()})});const Ri=E.filter(J=>gE(J,u,h)),zi=new Map;hE(zi,this.driver,H,h,Jr).forEach(J=>{gE(J,u,h)&&Ri.push(J)});const is=new Map;y.forEach((J,ie)=>{hE(is,this.driver,new Set(J),u,"!")}),Ri.forEach(J=>{const ie=zi.get(J),he=is.get(J);zi.set(J,new Map([...Array.from(ie?.entries()??[]),...Array.from(he?.entries()??[])]))});const Bo=[],uu=[],du={};s.forEach(J=>{const{element:ie,player:he,instruction:tt}=J;if(i.has(ie)){if(p.has(ie))return he.onDestroy(()=>fr(ie,tt.toStyles)),he.disabled=!0,he.overrideTotalTime(tt.totalTime),void o.push(he);let Mn=du;if(ji.size>1){let Fi=ie;const qs=[];for(;Fi=Fi.parentNode;){const Rt=ji.get(Fi);if(Rt){Mn=Rt;break}qs.push(Fi)}qs.forEach(Rt=>ji.set(Rt,Mn))}const gr=this._buildAnimation(he.namespaceId,tt,jt,r,is,zi);if(he.setRealPlayer(gr),Mn===du)Bo.push(he);else{const Fi=this.playersByElement.get(Mn);Fi&&Fi.length&&(he.parentPlayer=Ks(Fi)),o.push(he)}}else sc(ie,tt.fromStyles),he.onDestroy(()=>fr(ie,tt.toStyles)),uu.push(he),p.has(ie)&&o.push(he)}),uu.forEach(J=>{const ie=r.get(J.element);if(ie&&ie.length){const he=Ks(ie);J.setRealPlayer(he)}}),o.forEach(J=>{J.parentPlayer?J.syncPlayerEvents(J.parentPlayer):J.destroy()});for(let J=0;J<E.length;J++){const ie=E[J],he=ie[oo];if(cu(ie,b_),he&&he.hasAnimation)continue;let tt=[];if(c.size){let gr=c.get(ie);gr&&gr.length&&tt.push(...gr);let Fi=this.driver.query(ie,GM,!0);for(let qs=0;qs<Fi.length;qs++){let Rt=c.get(Fi[qs]);Rt&&Rt.length&&tt.push(...Rt)}}const Mn=tt.filter(gr=>!gr.destroyed);Mn.length?FU(this,ie,Mn):this.processLeaveNode(ie)}return E.length=0,Bo.forEach(J=>{this.players.push(J),J.onDone(()=>{J.destroy();const ie=this.players.indexOf(J);this.players.splice(ie,1)}),J.play()}),Bo}elementContainsData(t,e){let i=!1;const o=e[oo];return o&&o.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,o,r){let s=[];if(e){const c=this.playersByQueriedElement.get(t);c&&(s=c)}else{const c=this.playersByElement.get(t);if(c){const u=!r||r==rp;c.forEach(h=>{h.queued||!u&&h.triggerName!=o||s.push(h)})}}return(i||o)&&(s=s.filter(c=>!(i&&i!=c.namespaceId||o&&o!=c.triggerName))),s}_beforeAnimationBuild(t,e,i){const r=e.element,s=e.isRemovalTransition?void 0:t,c=e.isRemovalTransition?void 0:e.triggerName;for(const u of e.timelines){const h=u.element,p=h!==r,g=Oi(i,h,[]);this._getPreviousPlayers(h,p,s,c,e.toState).forEach(y=>{const M=y.getRealPlayer();M.beforeDestroy&&M.beforeDestroy(),y.destroy(),g.push(y)})}sc(r,e.fromStyles)}_buildAnimation(t,e,i,o,r,s){const c=e.triggerName,u=e.element,h=[],p=new Set,g=new Set,_=e.timelines.map(M=>{const x=M.element;p.add(x);const E=x[oo];if(E&&E.removedBeforeQueried)return new zh(M.duration,M.delay);const O=x!==u,H=function VU(n){const t=[];return fE(n,t),t}((i.get(x)||NU).map(jt=>jt.getRealPlayer())).filter(jt=>!!jt.element&&jt.element===x),L=r.get(x),Y=s.get(x),Ee=V1(0,this._normalizer,0,M.keyframes,L,Y),Qe=this._buildPlayer(M,Ee,H);if(M.subTimeline&&o&&g.add(x),O){const jt=new rC(t,c,x);jt.setRealPlayer(Qe),h.push(jt)}return Qe});h.forEach(M=>{Oi(this.playersByQueriedElement,M.element,[]).push(M),M.onDone(()=>function jU(n,t,e){let i=n.get(t);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,M.element,M))}),p.forEach(M=>ro(M,$1));const y=Ks(_);return y.onDestroy(()=>{p.forEach(M=>cu(M,$1)),fr(u,e.toStyles)}),g.forEach(M=>{Oi(o,M,[]).push(y)}),y}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new zh(t.duration,t.delay)}}class rC{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new zh,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(o=>zM(t,i,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Oi(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function L_(n){return n&&1===n.nodeType}function dE(n,t){const e=n.style.display;return n.style.display=t??"none",e}function hE(n,t,e,i,o){const r=[];e.forEach(u=>r.push(dE(u)));const s=[];i.forEach((u,h)=>{const p=new Map;u.forEach(g=>{const _=t.computeStyle(h,g,o);p.set(g,_),(!_||0==_.length)&&(h[oo]=AU,s.push(h))}),n.set(h,p)});let c=0;return e.forEach(u=>dE(u,r[c++])),s}function pE(n,t){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==t.length)return e;const o=new Set(t),r=new Map;function s(c){if(!c)return 1;let u=r.get(c);if(u)return u;const h=c.parentNode;return u=e.has(h)?h:o.has(h)?1:s(h),r.set(c,u),u}return t.forEach(c=>{const u=s(c);1!==u&&e.get(u).push(c)}),e}function ro(n,t){n.classList?.add(t)}function cu(n,t){n.classList?.remove(t)}function FU(n,t,e){Ks(e).onDone(()=>n.processLeaveNode(t))}function fE(n,t){for(let e=0;e<n.length;e++){const i=n[e];i instanceof AI?fE(i.players,t):t.push(i)}}function gE(n,t,e){const i=e.get(n);if(!i)return!1;let o=t.get(n);return o?i.forEach(r=>o.add(r)):t.set(n,i),e.delete(n),!0}class N_{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,r)=>{},this._transitionEngine=new PU(t,e,i),this._timelineEngine=new IU(t,e,i),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(t,e,i,o,r){const s=t+"-"+o;let c=this._triggerCache[s];if(!c){const u=[],p=$M(this._driver,r,u,[]);if(u.length)throw function xH(n,t){return new V(3404,!1)}();c=function wU(n,t,e){return new DU(n,t,e)}(o,p,this._normalizer),this._triggerCache[s]=c}this._transitionEngine.registerTrigger(e,o,c)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,o){this._transitionEngine.insertNode(t,e,i,o)}onRemove(t,e,i,o){this._transitionEngine.removeNode(t,e,o||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,o){if("@"==i.charAt(0)){const[r,s]=B1(i);this._timelineEngine.command(r,e,s,o)}else this._transitionEngine.trigger(t,e,i,o)}listen(t,e,i,o,r){if("@"==i.charAt(0)){const[s,c]=B1(i);return this._timelineEngine.listen(s,e,c,r)}return this._transitionEngine.listen(t,e,i,o,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let UU=(()=>{class n{constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let r=n.initialStylesByElement.get(e);r||n.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&fr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(fr(this._element,this._initialStyles),this._endStyles&&(fr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(sc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(sc(this._element,this._endStyles),this._endStyles=null),fr(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function sC(n){let t=null;return n.forEach((e,i)=>{(function YU(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class mE{constructor(t,e,i,o){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&t.set(o,this._finished?i:tE(this.element,o))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class GU{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return G1(t,e)}getParentElement(t){return HM(t)}query(t,e,i){return W1(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,o,r,s=[]){const u={duration:i,delay:o,fill:0==o?"both":"forwards"};r&&(u.easing=r);const h=new Map,p=s.filter(y=>y instanceof mE);(function $H(n,t){return 0===n||0===t})(i,o)&&p.forEach(y=>{y.currentSnapshot.forEach((M,x)=>h.set(x,M))});let g=function GH(n){return n.length?n[0]instanceof Map?n:n.map(t=>K1(t)):[]}(e).map(y=>Js(y));g=function KH(n,t,e){if(e.size&&t.length){let i=t[0],o=[];if(e.forEach((r,s)=>{i.has(s)||o.push(s),i.set(s,r)}),o.length)for(let r=1;r<t.length;r++){let s=t[r];o.forEach(c=>s.set(c,tE(n,c)))}}return t}(t,g,h);const _=function HU(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=sC(t[0]),t.length>1&&(i=sC(t[t.length-1]))):t instanceof Map&&(e=sC(t)),e||i?new UU(n,e,i):null}(t,g);return new mE(t,g,u,_)}}
|
|
2601
2601
|
/**
|
|
2602
2602
|
* @license
|
|
2603
2603
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2637,28 +2637,28 @@ const _U=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight"
|
|
|
2637
2637
|
*
|
|
2638
2638
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2639
2639
|
* found in the LICENSE file at https://angular.io/license
|
|
2640
|
-
*/let
|
|
2640
|
+
*/let WU=(()=>{class n extends EI{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:pn.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?LI(e):e;return _E(this._renderer,null,i,"register",[o]),new QU(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(P(As),P(rt))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();class QU extends class v4{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new ZU(this._id,t,e||{},this._renderer)}}class ZU{constructor(t,e,i,o){this.id=t,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return _E(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function _E(n,t,e,i,o){return n.setProperty(t,`@@${e}:${i}`,o)}const bE="@.disabled";let $U=(()=>{class n{constructor(e,i,o){this.delegate=e,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(r,s)=>{const c=s?.parentNode(r);c&&s.removeChild(c,r)}}createRenderer(e,i){const r=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let p=this._rendererCache.get(r);return p||(p=new vE("",r,this.engine,()=>this._rendererCache.delete(r)),this._rendererCache.set(r,p)),p}const s=i.id,c=i.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const u=p=>{Array.isArray(p)?p.forEach(u):this.engine.registerTrigger(s,c,e,p.name,p)};return i.data.animation.forEach(u),new KU(this,c,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,o){e>=0&&e<this._microtaskId?this._zone.run(()=>i(o)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(r=>{const[s,c]=r;s(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(P(As),P(N_),P(Ge))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();class vE{constructor(t,e,i,o){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=o,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,o=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,o)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,o){this.delegate.setAttribute(t,e,i,o)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,o){this.delegate.setStyle(t,e,i,o)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==bE?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class KU extends vE{constructor(t,e,i,o,r){super(e,i,o,r),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==bE?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const o=function JU(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let r=e.slice(1),s="";return"@"!=r.charAt(0)&&([r,s]=function qU(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}
|
|
2641
2641
|
/**
|
|
2642
2642
|
* @license
|
|
2643
2643
|
* Copyright Google LLC All Rights Reserved.
|
|
2644
2644
|
*
|
|
2645
2645
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2646
2646
|
* found in the LICENSE file at https://angular.io/license
|
|
2647
|
-
*/(r)),this.engine.listen(this.namespaceId,o,r,s,c=>{this.factory.scheduleListenerCallback(c._data||-1,i,c)})}return this.delegate.listen(t,e,i)}}let
|
|
2647
|
+
*/(r)),this.engine.listen(this.namespaceId,o,r,s,c=>{this.factory.scheduleListenerCallback(c._data||-1,i,c)})}return this.delegate.listen(t,e,i)}}let XU=(()=>{class n extends N_{constructor(e,i,o,r){super(e.body,i,o)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(P(rt),P(UM),P(eC),P($a))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();const yE=[{provide:EI,useClass:WU},{provide:eC,useFactory:function eY(){return new vU}},{provide:N_,useClass:XU},{provide:As,useFactory:function tY(n,t,e){return new $U(n,t,e)},deps:[xm,N_,Ge]}],aC=[{provide:UM,useFactory:()=>new GU},{provide:Gy,useValue:"BrowserAnimations"},...yE],ME=[{provide:UM,useClass:Q1},{provide:Gy,useValue:"NoopAnimations"},...yE];
|
|
2648
2648
|
/**
|
|
2649
2649
|
* @license
|
|
2650
2650
|
* Copyright Google LLC All Rights Reserved.
|
|
2651
2651
|
*
|
|
2652
2652
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2653
2653
|
* found in the LICENSE file at https://angular.io/license
|
|
2654
|
-
*/let
|
|
2654
|
+
*/let nY=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?ME:aC}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=dt({type:n}),n.\u0275inj=st({providers:aC,imports:[fI]}),n})(),iY=(()=>{class n{constructor(e){const i=function nH(n,t){const e=function $B(n,t){return t.get(at).resolveComponentFactory(n).inputs}(n,t.injector),i=t.strategyFactory||new XB(n,t.injector),o=function ZB(n){const t={};return n.forEach(({propName:e,templateName:i})=>{t[function UB(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=e}),t}(e);class r extends tH{constructor(c){super(),this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){const c=this._ngElementStrategy=i.create(this.injector||t.injector);e.forEach(({propName:u})=>{if(!this.hasOwnProperty(u))return;const h=this[u];delete this[u],c.setInputValue(u,h)})}return this._ngElementStrategy}attributeChangedCallback(c,u,h,p){this.ngElementStrategy.setInputValue(o[c],h)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{const u=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(u)})}}return r.observedAttributes=Object.keys(o),e.forEach(({propName:s})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c)},configurable:!0,enumerable:!0})}),r
|
|
2655
2655
|
/**
|
|
2656
2656
|
* @license
|
|
2657
2657
|
* Copyright Google LLC All Rights Reserved.
|
|
2658
2658
|
*
|
|
2659
2659
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2660
2660
|
* found in the LICENSE file at https://angular.io/license
|
|
2661
|
-
*/}(
|
|
2661
|
+
*/}(HB,{injector:e});customElements.define("docs-navbar",i)}ngDoBootstrap(){}}return n.\u0275fac=function(e){return new(e||n)(P(kn))},n.\u0275mod=dt({type:n}),n.\u0275inj=st({imports:[fI,_4,iH,S3,nY]}),n})();Vj().bootstrapModule(iY).catch(n=>console.log(n))},489:function(ao,os,hu){var co;
|
|
2662
2662
|
/**
|
|
2663
2663
|
* @license
|
|
2664
2664
|
* Lodash <https://lodash.com/>
|
|
@@ -2666,4 +2666,4 @@ const _U=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight"
|
|
|
2666
2666
|
* Released under MIT license <https://lodash.com/license>
|
|
2667
2667
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
2668
2668
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
2669
|
-
*/ao=lu.nmd(ao),function(){var w,nn="Expected a function",sp="__lodash_hash_undefined__",ze="__lodash_placeholder__",br=1/0,ho=9007199254740991,Vn=4294967295,R_=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],vr="[object Arguments]",na="[object Array]",ia="[object Boolean]",oa="[object Date]",pc="[object Error]",fc="[object Function]",up="[object GeneratorFunction]",Ci="[object Map]",po="[object Number]",Uo="[object Object]",ss="[object Promise]",fo="[object RegExp]",Bn="[object Set]",sa="[object String]",gc="[object Symbol]",as="[object WeakMap]",Bi="[object ArrayBuffer]",yr="[object DataView]",fu="[object Float32Array]",gu="[object Float64Array]",mc="[object Int8Array]",mu="[object Int16Array]",_u="[object Int32Array]",dp="[object Uint8Array]",bu="[object Uint8ClampedArray]",vu="[object Uint16Array]",yu="[object Uint32Array]",z_=/\b__p \+= '';/g,F_=/\b(__p \+=) '' \+/g,lt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_c=/&(?:amp|lt|gt|quot|#39);/g,ct=/[&<>"']/g,Mu=RegExp(_c.source),V_=RegExp(ct.source),Ze=/<%-([\s\S]+?)%>/g,le=/<%([\s\S]+?)%>/g,bc=/<%=([\s\S]+?)%>/g,hC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/,vc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pe=/[\\^$.*+?()[\]{}|]/g,Ke=RegExp(pe.source),Cu=/^\s+/,pC=/\s/,B_=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,yc=/\{\n\/\* \[wrapped with (.+)\] \*/,Hn=/,? & /,fC=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,H_=/[()=,{}\[\]\/\s]/,gC=/\\(\\)?/g,go=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,U_=/\w*$/,mC=/^[-+]0x[0-9a-f]+$/i,_C=/^0b[01]+$/i,bC=/^\[object .+?Constructor\]$/,Y_=/^0o[0-7]+$/i,vC=/^(?:0|[1-9]\d*)$/,G_=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,wu=/($^)/,Un=/['\n\r\u2028\u2029\\]/g,Ue="\\ud800-\\udfff",$="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",W_="\\u2700-\\u27bf",rt="a-z\\xdf-\\xf6\\xf8-\\xff",pp="A-Z\\xc0-\\xd6\\xd8-\\xde",Du="\\ufe0e\\ufe0f",aa="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fp="["+Ue+"]",gp="["+aa+"]",ae="["+$+"]",Cc="\\d+",Z_="["+W_+"]",Yn="["+rt+"]",xu="[^"+Ue+aa+Cc+W_+rt+pp+"]",mp="\\ud83c[\\udffb-\\udfff]",ii="[^"+Ue+"]",_p="(?:\\ud83c[\\udde6-\\uddff]){2}",bp="[\\ud800-\\udbff][\\udc00-\\udfff]",pn="["+pp+"]",$_="(?:"+Yn+"|"+xu+")",DC="(?:"+pn+"|"+xu+")",Mr="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",$e="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",la="(?:"+ae+"|"+mp+")?",wc="["+Du+"]?",cs=wc+la+"(?:\\u200d(?:"+[ii,_p,bp].join("|")+")"+wc+la+")*",K_="(?:"+[Z_,_p,bp].join("|")+")"+cs,nt="(?:"+[ii+ae+"?",ae,_p,bp,fp].join("|")+")",J_=RegExp("['\u2019]","g"),yp=RegExp(ae,"g"),Dc=RegExp(mp+"(?="+mp+")|"+nt+cs,"g"),dt=RegExp([pn+"?"+Yn+"+"+Mr+"(?="+[gp,pn,"$"].join("|")+")",DC+"+"+$e+"(?="+[gp,pn+$_,"$"].join("|")+")",pn+"?"+$_+"+"+Mr,pn+"+"+$e,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cc,K_].join("|"),"g"),q_=RegExp("[\\u200d"+Ue+$+Du+"]"),Mp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,B=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],on=-1,ee={};ee[fu]=ee[gu]=ee[mc]=ee[mu]=ee[_u]=ee[dp]=ee[bu]=ee[vu]=ee[yu]=!0,ee[vr]=ee[na]=ee[Bi]=ee[ia]=ee[yr]=ee[oa]=ee[pc]=ee[fc]=ee[Ci]=ee[po]=ee[Uo]=ee[fo]=ee[Bn]=ee[sa]=ee[as]=!1;var xe={};xe[vr]=xe[na]=xe[Bi]=xe[yr]=xe[ia]=xe[oa]=xe[fu]=xe[gu]=xe[mc]=xe[mu]=xe[_u]=xe[Ci]=xe[po]=xe[Uo]=xe[fo]=xe[Bn]=xe[sa]=xe[gc]=xe[dp]=xe[bu]=xe[vu]=xe[yu]=!0,xe[pc]=xe[fc]=xe[as]=!1;var oi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},W=parseFloat,Ce=parseInt,bt="object"==typeof global&&global&&global.Object===Object&&global,Wn="object"==typeof self&&self&&self.Object===Object&&self,Dt=bt||Wn||Function("return this")(),Bt=os&&!os.nodeType&&os,wi=Bt&&ao&&!ao.nodeType&&ao,xt=wi&&wi.exports===Bt,Cr=xt&&bt.process,fn=function(){try{return wi&&wi.require&&wi.require("util").types||Cr&&Cr.binding&&Cr.binding("util")}catch{}}(),we=fn&&fn.isArrayBuffer,da=fn&&fn.isDate,wr=fn&&fn.isMap,xc=fn&&fn.isRegExp,Go=fn&&fn.isSet,rn=fn&&fn.isTypedArray;function sn(S,N,k){switch(k.length){case 0:return S.call(N);case 1:return S.call(N,k[0]);case 2:return S.call(N,k[0],k[1]);case 3:return S.call(N,k[0],k[1],k[2])}return S.apply(N,k)}function ls(S,N,k,K){for(var ye=-1,He=null==S?0:S.length;++ye<He;){var Je=S[ye];N(K,Je,k(Je),S)}return K}function It(S,N){for(var k=-1,K=null==S?0:S.length;++k<K&&!1!==N(S[k],k,S););return S}function us(S,N){for(var k=null==S?0:S.length;k--&&!1!==N(S[k],k,S););return S}function Iu(S,N){for(var k=-1,K=null==S?0:S.length;++k<K;)if(!N(S[k],k,S))return!1;return!0}function Ye(S,N){for(var k=-1,K=null==S?0:S.length,ye=0,He=[];++k<K;){var Je=S[k];N(Je,k,S)&&(He[ye++]=Je)}return He}function Sc(S,N){return!(null==S||!S.length)&&bo(S,N,0)>-1}function Tu(S,N,k){for(var K=-1,ye=null==S?0:S.length;++K<ye;)if(k(N,S[K]))return!0;return!1}function ht(S,N){for(var k=-1,K=null==S?0:S.length,ye=Array(K);++k<K;)ye[k]=N(S[k],k,S);return ye}function Hi(S,N){for(var k=-1,K=N.length,ye=S.length;++k<K;)S[ye+k]=N[k];return S}function Dr(S,N,k,K){var ye=-1,He=null==S?0:S.length;for(K&&He&&(k=S[++ye]);++ye<He;)k=N(k,S[ye],ye,S);return k}function Ic(S,N,k,K){var ye=null==S?0:S.length;for(K&&ye&&(k=S[--ye]);ye--;)k=N(k,S[ye],ye,S);return k}function _o(S,N){for(var k=-1,K=null==S?0:S.length;++k<K;)if(N(S[k],k,S))return!0;return!1}var gn=wp("length");function ri(S,N,k){var K;return k(S,function(ye,He,Je){if(N(ye,He,Je))return K=He,!1}),K}function ds(S,N,k,K){for(var ye=S.length,He=k+(K?1:-1);K?He--:++He<ye;)if(N(S[He],He,S))return He;return-1}function bo(S,N,k){return N==N?function ib(S,N,k){for(var K=k-1,ye=S.length;++K<ye;)if(S[K]===N)return K;return-1}(S,N,k):ds(S,si,k)}function Tc(S,N,k,K){for(var ye=k-1,He=S.length;++ye<He;)if(K(S[ye],N))return ye;return-1}function si(S){return S!=S}function Cp(S,N){var k=null==S?0:S.length;return k?xp(S,N)/k:NaN}function wp(S){return function(N){return null==N?w:N[S]}}function ku(S){return function(N){return null==S?w:S[N]}}function Dp(S,N,k,K,ye){return ye(S,function(He,Je,pt){k=K?(K=!1,He):N(k,He,Je,pt)}),k}function xp(S,N){for(var k,K=-1,ye=S.length;++K<ye;){var He=N(S[K]);He!==w&&(k=k===w?He:k+He)}return k}function Sp(S,N){for(var k=-1,K=Array(S);++k<S;)K[k]=N(k);return K}function eb(S){return S&&S.slice(0,Lp(S)+1).replace(Cu,"")}function ai(S){return function(N){return S(N)}}function Ip(S,N){return ht(N,function(k){return S[k]})}function kc(S,N){return S.has(N)}function tb(S,N){for(var k=-1,K=S.length;++k<K&&bo(N,S[k],0)>-1;);return k}function nb(S,N){for(var k=S.length;k--&&bo(N,S[k],0)>-1;);return k}function IC(S,N){for(var k=S.length,K=0;k--;)S[k]===N&&++K;return K}var TC=ku({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),kC=ku({"&":"&","<":"<",">":">",'"':""","'":"'"});function EC(S){return"\\"+oi[S]}function Wo(S){return q_.test(S)}function kp(S){var N=-1,k=Array(S.size);return S.forEach(function(K,ye){k[++N]=[ye,K]}),k}function Qo(S,N){return function(k){return S(N(k))}}function vo(S,N){for(var k=-1,K=S.length,ye=0,He=[];++k<K;){var Je=S[k];(Je===N||Je===ze)&&(S[k]=ze,He[ye++]=k)}return He}function an(S){var N=-1,k=Array(S.size);return S.forEach(function(K){k[++N]=K}),k}function xr(S){return Wo(S)?function rb(S){for(var N=Dc.lastIndex=0;Dc.test(S);)++N;return N}(S):gn(S)}function ci(S){return Wo(S)?function li(S){return S.match(Dc)||[]}(S):function X_(S){return S.split("")}(S)}function Lp(S){for(var N=S.length;N--&&pC.test(S.charAt(N)););return N}var Eu=ku({"&":"&","<":"<",">":">",""":'"',"'":"'"}),hs=function S(N){var a,k=(N=null==N?Dt:hs.defaults(Dt.Object(),N,hs.pick(Dt,B))).Array,K=N.Date,ye=N.Error,He=N.Function,Je=N.Math,pt=N.Object,ha=N.RegExp,ps=N.String,Mt=N.TypeError,Ec=k.prototype,fs=pt.prototype,Di=N["__core-js_shared__"],pa=He.prototype.toString,qe=fs.hasOwnProperty,fe=0,Nu=(a=/[^.]+$/.exec(Di&&Di.keys&&Di.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",Au=fs.toString,ab=pa.call(pt),cb=Dt._,lb=ha("^"+pa.call(qe).replace(pe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),fa=xt?N.Buffer:w,Zo=N.Symbol,Nc=N.Uint8Array,z=fa?fa.allocUnsafe:w,Ne=Qo(pt.getPrototypeOf,pt),Ui=pt.create,Yi=fs.propertyIsEnumerable,Tt=Ec.splice,Ou=Zo?Zo.isConcatSpreadable:w,yo=Zo?Zo.iterator:w,mn=Zo?Zo.toStringTag:w,gs=function(){try{var a=Nt(pt,"defineProperty");return a({},"",{}),a}catch{}}(),Pu=N.clearTimeout!==Dt.clearTimeout&&N.clearTimeout,AC=K&&K.now!==Dt.Date.now&&K.now,ub=N.setTimeout!==Dt.setTimeout&&N.setTimeout,ju=Je.ceil,ga=Je.floor,cn=pt.getOwnPropertySymbols,Mo=fa?fa.isBuffer:w,Ru=N.isFinite,ms=Ec.join,Co=Qo(pt.keys,pt),Ht=Je.max,ln=Je.min,db=K.now,hb=N.parseInt,Ac=Je.random,zu=Ec.reverse,Oc=Nt(N,"DataView"),Sr=Nt(N,"Map"),Fu=Nt(N,"Promise"),Ir=Nt(N,"Set"),Tr=Nt(N,"WeakMap"),_s=Nt(pt,"create"),ma=Tr&&new Tr,kr={},Np=nr(Oc),Vu=nr(Sr),pb=nr(Fu),fb=nr(Ir),Dn=nr(Tr),xi=Zo?Zo.prototype:w,ft=xi?xi.valueOf:w,Bu=xi?xi.toString:w;function b(a){if(kt(a)&&!me(a)&&!(a instanceof Pe)){if(a instanceof ui)return a;if(qe.call(a,"__wrapped__"))return Md(a)}return new ui(a)}var bs=function(){function a(){}return function(l){if(!vt(l))return{};if(Ui)return Ui(l);a.prototype=l;var d=new a;return a.prototype=w,d}}();function Pc(){}function ui(a,l){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=w}function Pe(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Vn,this.__views__=[]}function wo(a){var l=-1,d=null==a?0:a.length;for(this.clear();++l<d;){var f=a[l];this.set(f[0],f[1])}}function Do(a){var l=-1,d=null==a?0:a.length;for(this.clear();++l<d;){var f=a[l];this.set(f[0],f[1])}}function Ko(a){var l=-1,d=null==a?0:a.length;for(this.clear();++l<d;){var f=a[l];this.set(f[0],f[1])}}function Jo(a){var l=-1,d=null==a?0:a.length;for(this.__data__=new Ko;++l<d;)this.add(a[l])}function _n(a){var l=this.__data__=new Do(a);this.size=l.size}function Fp(a,l){var d=me(a),f=!d&&Yr(a),m=!d&&!f&&Kn(a),v=!d&&!f&&!m&&Va(a),C=d||f||m||v,D=C?Sp(a.length,ps):[],T=D.length;for(var j in a)(l||qe.call(a,j))&&(!C||!("length"==j||m&&("offset"==j||"parent"==j)||v&&("buffer"==j||"byteLength"==j||"byteOffset"==j)||Zi(j,T)))&&D.push(j);return D}function Si(a){var l=a.length;return l?a[Ku(0,l-1)]:w}function yb(a,l){return ul(Zn(a),qo(l,0,a.length))}function va(a){return ul(Zn(a))}function ya(a,l,d){(d!==w&&!$n(a[l],d)||d===w&&!(l in a))&&Gi(a,l,d)}function Er(a,l,d){var f=a[l];(!qe.call(a,l)||!$n(f,d)||d===w&&!(l in a))&&Gi(a,l,d)}function Lr(a,l){for(var d=a.length;d--;)if($n(a[d][0],l))return d;return-1}function Hc(a,l,d,f){return xo(a,function(m,v,C){l(f,m,d(m),C)}),f}function Vp(a,l){return a&&Ii(l,Kt(l),a)}function Gi(a,l,d){"__proto__"==l&&gs?gs(a,l,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[l]=d}function Uc(a,l){for(var d=-1,f=l.length,m=k(f),v=null==a;++d<f;)m[d]=v?w:Wd(a,l[d]);return m}function qo(a,l,d){return a==a&&(d!==w&&(a=a<=d?a:d),l!==w&&(a=a>=l?a:l)),a}function di(a,l,d,f,m,v){var C,D=1&l,T=2&l,j=4&l;if(d&&(C=m?d(a,f,m,v):d(a)),C!==w)return C;if(!vt(a))return a;var R=me(a);if(R){if(C=function Pb(a){var l=a.length,d=new a.constructor(l);return l&&"string"==typeof a[0]&&qe.call(a,"index")&&(d.index=a.index,d.input=a.input),d}(a),!D)return Zn(a,C)}else{var F=et(a),U=F==fc||F==up;if(Kn(a))return $p(a,D);if(F==Uo||F==vr||U&&!m){if(C=T||U?{}:pd(a),!D)return T?function YC(a,l){return Ii(a,cl(a),l)}(a,function Bp(a,l){return a&&Ii(l,bn(l),a)}(C,a)):function Tb(a,l){return Ii(a,al(a),l)}(a,Vp(C,a))}else{if(!xe[F])return m?a:{};C=function jb(a,l,d){var f=a.constructor;switch(l){case Bi:return qc(a);case ia:case oa:return new f(+a);case yr:return function Sa(a,l){var d=l?qc(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}(a,d);case fu:case gu:case mc:case mu:case _u:case dp:case bu:case vu:case yu:return Jp(a,d);case Ci:return new f;case po:case sa:return new f(a);case fo:return function Xc(a){var l=new a.constructor(a.source,U_.exec(a));return l.lastIndex=a.lastIndex,l}(a);case Bn:return new f;case gc:return function Kp(a){return ft?pt(ft.call(a)):{}}(a)}}(a,F,D)}}v||(v=new _n);var q=v.get(a);if(q)return q;v.set(a,C),Xf(a)?a.forEach(function(se){C.add(di(se,l,d,se,a,v))}):wl(a)&&a.forEach(function(se,Le){C.set(Le,di(se,l,d,Le,a,v))});var Ie=R?w:(j?T?Ta:ol:T?bn:Kt)(a);return It(Ie||a,function(se,Le){Ie&&(se=a[Le=se]),Er(C,Le,di(se,l,d,Le,a,v))}),C}function ys(a,l,d){var f=d.length;if(null==a)return!f;for(a=pt(a);f--;){var m=d[f],C=a[m];if(C===w&&!(m in a)||!(0,l[m])(C))return!1}return!0}function Hp(a,l,d){if("function"!=typeof a)throw new Mt(nn);return Br(function(){a.apply(w,d)},l)}function Ms(a,l,d,f){var m=-1,v=Sc,C=!0,D=a.length,T=[],j=l.length;if(!D)return T;d&&(l=ht(l,ai(d))),f?(v=Tu,C=!1):l.length>=200&&(v=kc,C=!1,l=new Jo(l));e:for(;++m<D;){var R=a[m],F=null==d?R:d(R);if(R=f||0!==R?R:0,C&&F==F){for(var U=j;U--;)if(l[U]===F)continue e;T.push(R)}else v(l,F,f)||T.push(R)}return T}b.templateSettings={escape:Ze,evaluate:le,interpolate:bc,variable:"",imports:{_:b}},(b.prototype=Pc.prototype).constructor=b,(ui.prototype=bs(Pc.prototype)).constructor=ui,(Pe.prototype=bs(Pc.prototype)).constructor=Pe,wo.prototype.clear=function Ap(){this.__data__=_s?_s(null):{},this.size=0},wo.prototype.delete=function gb(a){var l=this.has(a)&&delete this.__data__[a];return this.size-=l?1:0,l},wo.prototype.get=function $o(a){var l=this.__data__;if(_s){var d=l[a];return d===sp?w:d}return qe.call(l,a)?l[a]:w},wo.prototype.has=function _a(a){var l=this.__data__;return _s?l[a]!==w:qe.call(l,a)},wo.prototype.set=function mb(a,l){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=_s&&l===w?sp:l,this},Do.prototype.clear=function ba(){this.__data__=[],this.size=0},Do.prototype.delete=function Hu(a){var l=this.__data__,d=Lr(l,a);return!(d<0||(d==l.length-1?l.pop():Tt.call(l,d,1),--this.size,0))},Do.prototype.get=function _b(a){var l=this.__data__,d=Lr(l,a);return d<0?w:l[d][1]},Do.prototype.has=function bb(a){return Lr(this.__data__,a)>-1},Do.prototype.set=function OC(a,l){var d=this.__data__,f=Lr(d,a);return f<0?(++this.size,d.push([a,l])):d[f][1]=l,this},Ko.prototype.clear=function Fc(){this.size=0,this.__data__={hash:new wo,map:new(Sr||Do),string:new wo}},Ko.prototype.delete=function Op(a){var l=sl(this,a).delete(a);return this.size-=l?1:0,l},Ko.prototype.get=function Pp(a){return sl(this,a).get(a)},Ko.prototype.has=function Vc(a){return sl(this,a).has(a)},Ko.prototype.set=function jp(a,l){var d=sl(this,a),f=d.size;return d.set(a,l),this.size+=d.size==f?0:1,this},Jo.prototype.add=Jo.prototype.push=function vs(a){return this.__data__.set(a,sp),this},Jo.prototype.has=function vb(a){return this.__data__.has(a)},_n.prototype.clear=function Uu(){this.__data__=new Do,this.size=0},_n.prototype.delete=function Bc(a){var l=this.__data__,d=l.delete(a);return this.size=l.size,d},_n.prototype.get=function PC(a){return this.__data__.get(a)},_n.prototype.has=function Rp(a){return this.__data__.has(a)},_n.prototype.set=function zp(a,l){var d=this.__data__;if(d instanceof Do){var f=d.__data__;if(!Sr||f.length<199)return f.push([a,l]),this.size=++d.size,this;d=this.__data__=new Ko(f)}return d.set(a,l),this.size=d.size,this};var xo=ef(xn),Nr=ef(Xo,!0);function Mb(a,l){var d=!0;return xo(a,function(f,m,v){return d=!!l(f,m,v)}),d}function Xe(a,l,d){for(var f=-1,m=a.length;++f<m;){var v=a[f],C=l(v);if(null!=C&&(D===w?C==C&&!pi(C):d(C,D)))var D=C,T=v}return T}function Up(a,l){var d=[];return xo(a,function(f,m,v){l(f,m,v)&&d.push(f)}),d}function Zt(a,l,d,f,m){var v=-1,C=a.length;for(d||(d=Rb),m||(m=[]);++v<C;){var D=a[v];l>0&&d(D)?l>1?Zt(D,l-1,d,f,m):Hi(m,D):f||(m[m.length]=D)}return m}var Ar=Ia(),Or=Ia(!0);function xn(a,l){return a&&Ar(a,l,Kt)}function Xo(a,l){return a&&Or(a,l,Kt)}function Ma(a,l){return Ye(l,function(d){return Jn(a[d])})}function So(a,l){for(var d=0,f=(l=Qi(l,a)).length;null!=a&&d<f;)a=a[$i(l[d++])];return d&&d==f?a:w}function Pr(a,l,d){var f=l(a);return me(a)?f:Hi(f,d(a))}function An(a){return null==a?a===w?"[object Undefined]":"[object Null]":mn&&mn in pt(a)?function hd(a){var l=qe.call(a,mn),d=a[mn];try{a[mn]=w;var f=!0}catch{}var m=Au.call(a);return f&&(l?a[mn]=d:delete a[mn]),m}(a):function gf(a){return Au.call(a)}(a)}function Gu(a,l){return a>l}function G(a,l){return null!=a&&qe.call(a,l)}function jC(a,l){return null!=a&&l in pt(a)}function Yp(a,l,d){for(var f=d?Tu:Sc,m=a[0].length,v=a.length,C=v,D=k(v),T=1/0,j=[];C--;){var R=a[C];C&&l&&(R=ht(R,ai(l))),T=ln(R.length,T),D[C]=!d&&(l||m>=120&&R.length>=120)?new Jo(C&&R):w}R=a[0];var F=-1,U=D[0];e:for(;++F<m&&j.length<T;){var q=R[F],re=l?l(q):q;if(q=d||0!==q?q:0,!(U?kc(U,re):f(j,re,d))){for(C=v;--C;){var Ie=D[C];if(!(Ie?kc(Ie,re):f(a[C],re,d)))continue e}U&&U.push(re),j.push(q)}}return j}function Gc(a,l,d){var f=null==(a=Vr(a,l=Qi(l,a)))?a:a[$i(hi(l))];return null==f?w:sn(f,a,d)}function Cb(a){return kt(a)&&An(a)==vr}function Wc(a,l,d,f,m){return a===l||(null==a||null==l||!kt(a)&&!kt(l)?a!=a&&l!=l:function VC(a,l,d,f,m,v){var C=me(a),D=me(l),T=C?na:et(a),j=D?na:et(l),R=(T=T==vr?Uo:T)==Uo,F=(j=j==vr?Uo:j)==Uo,U=T==j;if(U&&Kn(a)){if(!Kn(l))return!1;C=!0,R=!1}if(U&&!R)return v||(v=new _n),C||Va(a)?In(a,l,d,f,m,v):function Ab(a,l,d,f,m,v,C){switch(d){case yr:if(a.byteLength!=l.byteLength||a.byteOffset!=l.byteOffset)return!1;a=a.buffer,l=l.buffer;case Bi:return!(a.byteLength!=l.byteLength||!v(new Nc(a),new Nc(l)));case ia:case oa:case po:return $n(+a,+l);case pc:return a.name==l.name&&a.message==l.message;case fo:case sa:return a==l+"";case Ci:var D=kp;case Bn:if(D||(D=an),a.size!=l.size&&!(1&f))return!1;var j=C.get(a);if(j)return j==l;f|=2,C.set(a,l);var R=In(D(a),D(l),f,m,v,C);return C.delete(a),R;case gc:if(ft)return ft.call(a)==ft.call(l)}return!1}(a,l,T,d,f,m,v);if(!(1&d)){var q=R&&qe.call(a,"__wrapped__"),re=F&&qe.call(l,"__wrapped__");if(q||re){var Ie=q?a.value():a,se=re?l.value():l;return v||(v=new _n),m(Ie,se,d,f,v)}}return!!U&&(v||(v=new _n),function Ob(a,l,d,f,m,v){var C=1&d,D=ol(a),T=D.length;if(T!=ol(l).length&&!C)return!1;for(var F=T;F--;){var U=D[F];if(!(C?U in l:qe.call(l,U)))return!1}var q=v.get(a),re=v.get(l);if(q&&re)return q==l&&re==a;var Ie=!0;v.set(a,l),v.set(l,a);for(var se=C;++F<T;){var Le=a[U=D[F]],Fe=l[U];if(f)var Rn=C?f(Fe,Le,U,l,a,v):f(Le,Fe,U,a,l,v);if(!(Rn===w?Le===Fe||m(Le,Fe,d,f,v):Rn)){Ie=!1;break}se||(se="constructor"==U)}if(Ie&&!se){var En=a.constructor,qn=l.constructor;En!=qn&&"constructor"in a&&"constructor"in l&&!("function"==typeof En&&En instanceof En&&"function"==typeof qn&&qn instanceof qn)&&(Ie=!1)}return v.delete(a),v.delete(l),Ie}(a,l,d,f,m,v))}(a,l,d,f,Wc,m))}function wa(a,l,d,f){var m=d.length,v=m,C=!f;if(null==a)return!v;for(a=pt(a);m--;){var D=d[m];if(C&&D[2]?D[1]!==a[D[0]]:!(D[0]in a))return!1}for(;++m<v;){var T=(D=d[m])[0],j=a[T],R=D[1];if(C&&D[2]){if(j===w&&!(T in a))return!1}else{var F=new _n;if(f)var U=f(j,R,T,a,l,F);if(!(U===w?Wc(R,j,3,f,F):U))return!1}}return!0}function Cs(a){return!(!vt(a)||function zb(a){return!!Nu&&Nu in a}(a))&&(Jn(a)?lb:bC).test(nr(a))}function Wi(a){return"function"==typeof a?a:null==a?jn:"object"==typeof a?me(a)?Wp(a[0],a[1]):Gp(a):El(a)}function Qc(a){if(!La(a))return Co(a);var l=[];for(var d in pt(a))qe.call(a,d)&&"constructor"!=d&&l.push(d);return l}function jr(a,l){return a<l}function Wu(a,l){var d=-1,f=Pn(a)?k(a.length):[];return xo(a,function(m,v,C){f[++d]=l(m,v,C)}),f}function Gp(a){var l=dd(a);return 1==l.length&&l[0][2]?ff(l[0][0],l[0][1]):function(d){return d===a||wa(d,a,l)}}function Wp(a,l){return fd(a)&&Es(l)?ff($i(a),l):function(d){var f=Wd(d,a);return f===w&&f===l?pg(d,a):Wc(l,f,3)}}function Qu(a,l,d,f,m){a!==l&&Ar(l,function(v,C){if(m||(m=new _n),vt(v))!function HC(a,l,d,f,m,v,C){var D=ll(a,d),T=ll(l,d),j=C.get(T);if(j)ya(a,d,j);else{var R=v?v(D,T,d+"",a,l,C):w,F=R===w;if(F){var U=me(T),q=!U&&Kn(T),re=!U&&!q&&Va(T);R=T,U||q||re?me(D)?R=D:st(D)?R=Zn(D):q?(F=!1,R=$p(T,!0)):re?(F=!1,R=Jp(T,!0)):R=[]:Fa(T)||Yr(T)?(R=D,Yr(D)?R=rg(D):(!vt(D)||Jn(D))&&(R=pd(T))):F=!1}F&&(C.set(T,R),m(R,T,f,v,C),C.delete(T)),ya(a,d,R)}}(a,l,C,d,Qu,f,m);else{var D=f?f(ll(a,C),v,C+"",a,l,m):w;D===w&&(D=v),ya(a,C,D)}},bn)}function Zu(a,l){var d=a.length;if(d)return Zi(l+=l<0?d:0,d)?a[l]:w}function On(a,l,d){l=l.length?ht(l,function(v){return me(v)?function(C){return So(C,1===v.length?v[0]:v)}:v}):[jn];var f=-1;return l=ht(l,ai(te())),function xC(S,N){var k=S.length;for(S.sort(N);k--;)S[k]=S[k].value;return S}(Wu(a,function(v,C,D){return{criteria:ht(l,function(j){return j(v)}),index:++f,value:v}}),function(v,C){return function xs(a,l,d){for(var f=-1,m=a.criteria,v=l.criteria,C=m.length,D=d.length;++f<C;){var T=qp(m[f],v[f]);if(T)return f>=D?T:T*("desc"==d[f]?-1:1)}return a.index-l.index}(v,C,d)})}function Rr(a,l,d){for(var f=-1,m=l.length,v={};++f<m;){var C=l[f],D=So(a,C);d(D,C)&&er(v,Qi(C,a),D)}return v}function $c(a,l,d,f){var m=f?Tc:bo,v=-1,C=l.length,D=a;for(a===l&&(l=Zn(l)),d&&(D=ht(a,ai(d)));++v<C;)for(var T=0,j=l[v],R=d?d(j):j;(T=m(D,R,T,f))>-1;)D!==a&&Tt.call(D,T,1),Tt.call(a,T,1);return a}function Qp(a,l){for(var d=a?l.length:0,f=d-1;d--;){var m=l[d];if(d==f||m!==v){var v=m;Zi(m)?Tt.call(a,m,1):P(a,m)}}return a}function Ku(a,l){return a+ga(Ac()*(l-a+1))}function Ju(a,l){var d="";if(!a||l<1||l>ho)return d;do{l%2&&(d+=a),(l=ga(l/2))&&(a+=a)}while(l);return d}function Te(a,l){return vd(Vb(a,l,jn),a+"")}function xb(a){return Si(Rs(a))}function qu(a,l){var d=Rs(a);return ul(d,qo(l,0,d.length))}function er(a,l,d,f){if(!vt(a))return a;for(var m=-1,v=(l=Qi(l,a)).length,C=v-1,D=a;null!=D&&++m<v;){var T=$i(l[m]),j=d;if("__proto__"===T||"constructor"===T||"prototype"===T)return a;if(m!=C){var R=D[T];(j=f?f(R,T,D):w)===w&&(j=vt(R)?R:Zi(l[m+1])?[]:{})}Er(D,T,j),D=D[T]}return a}var Sb=ma?function(a,l){return ma.set(a,l),a}:jn,Da=gs?function(a,l){return gs(a,"toString",{configurable:!0,enumerable:!1,value:oh(l),writable:!0})}:jn;function Xu(a){return ul(Rs(a))}function Sn(a,l,d){var f=-1,m=a.length;l<0&&(l=-l>m?0:m+l),(d=d>m?m:d)<0&&(d+=m),m=l>d?0:d-l>>>0,l>>>=0;for(var v=k(m);++f<m;)v[f]=a[f+l];return v}function Ib(a,l){var d;return xo(a,function(f,m,v){return!(d=l(f,m,v))}),!!d}function Kc(a,l,d){var f=0,m=null==a?f:a.length;if("number"==typeof l&&l==l&&m<=2147483647){for(;f<m;){var v=f+m>>>1,C=a[v];null!==C&&!pi(C)&&(d?C<=l:C<l)?f=v+1:m=v}return m}return ed(a,l,jn,d)}function ed(a,l,d,f){var m=0,v=null==a?0:a.length;if(0===v)return 0;for(var C=(l=d(l))!=l,D=null===l,T=pi(l),j=l===w;m<v;){var R=ga((m+v)/2),F=d(a[R]),U=F!==w,q=null===F,re=F==F,Ie=pi(F);if(C)var se=f||re;else se=j?re&&(f||U):D?re&&U&&(f||!q):T?re&&U&&!q&&(f||!Ie):!q&&!Ie&&(f?F<=l:F<l);se?m=R+1:v=R}return ln(v,4294967294)}function td(a,l){for(var d=-1,f=a.length,m=0,v=[];++d<f;){var C=a[d],D=l?l(C):C;if(!d||!$n(D,T)){var T=D;v[m++]=0===C?0:C}}return v}function ws(a){return"number"==typeof a?a:pi(a)?NaN:+a}function $t(a){if("string"==typeof a)return a;if(me(a))return ht(a,$t)+"";if(pi(a))return Bu?Bu.call(a):"";var l=a+"";return"0"==l&&1/a==-br?"-0":l}function tr(a,l,d){var f=-1,m=Sc,v=a.length,C=!0,D=[],T=D;if(d)C=!1,m=Tu;else if(v>=200){var j=l?null:Nb(a);if(j)return an(j);C=!1,m=kc,T=new Jo}else T=l?[]:D;e:for(;++f<v;){var R=a[f],F=l?l(R):R;if(R=d||0!==R?R:0,C&&F==F){for(var U=T.length;U--;)if(T[U]===F)continue e;l&&T.push(F),D.push(R)}else m(T,F,d)||(T!==D&&T.push(F),D.push(R))}return D}function P(a,l){return null==(a=Vr(a,l=Qi(l,a)))||delete a[$i(hi(l))]}function nd(a,l,d,f){return er(a,l,d(So(a,l)),f)}function Io(a,l,d,f){for(var m=a.length,v=f?m:-1;(f?v--:++v<m)&&l(a[v],v,a););return d?Sn(a,f?0:v,f?v+1:m):Sn(a,f?v+1:0,f?m:v)}function Jc(a,l){var d=a;return d instanceof Pe&&(d=d.value()),Dr(l,function(f,m){return m.func.apply(m.thisArg,Hi([f],m.args))},d)}function zr(a,l,d){var f=a.length;if(f<2)return f?tr(a[0]):[];for(var m=-1,v=k(f);++m<f;)for(var C=a[m],D=-1;++D<f;)D!=m&&(v[m]=Ms(v[m]||C,a[D],l,d));return tr(Zt(v,1),l,d)}function Zp(a,l,d){for(var f=-1,m=a.length,v=l.length,C={};++f<m;)d(C,a[f],f<v?l[f]:w);return C}function id(a){return st(a)?a:[]}function od(a){return"function"==typeof a?a:jn}function Qi(a,l){return me(a)?a:fd(a,l)?[a]:vf(it(a))}var xa=Te;function To(a,l,d){var f=a.length;return d=d===w?f:d,!l&&d>=f?a:Sn(a,l,d)}var Ds=Pu||function(a){return Dt.clearTimeout(a)};function $p(a,l){if(l)return a.slice();var d=a.length,f=z?z(d):new a.constructor(d);return a.copy(f),f}function qc(a){var l=new a.constructor(a.byteLength);return new Nc(l).set(new Nc(a)),l}function Jp(a,l){var d=l?qc(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function qp(a,l){if(a!==l){var d=a!==w,f=null===a,m=a==a,v=pi(a),C=l!==w,D=null===l,T=l==l,j=pi(l);if(!D&&!j&&!v&&a>l||v&&C&&T&&!D&&!j||f&&C&&T||!d&&T||!m)return 1;if(!f&&!v&&!j&&a<l||j&&d&&m&&!f&&!v||D&&d&&m||!C&&m||!T)return-1}return 0}function Ss(a,l,d,f){for(var m=-1,v=a.length,C=d.length,D=-1,T=l.length,j=Ht(v-C,0),R=k(T+j),F=!f;++D<T;)R[D]=l[D];for(;++m<C;)(F||m<v)&&(R[d[m]]=a[m]);for(;j--;)R[D++]=a[m++];return R}function Xp(a,l,d,f){for(var m=-1,v=a.length,C=-1,D=d.length,T=-1,j=l.length,R=Ht(v-D,0),F=k(R+j),U=!f;++m<R;)F[m]=a[m];for(var q=m;++T<j;)F[q+T]=l[T];for(;++C<D;)(U||m<v)&&(F[q+d[C]]=a[m++]);return F}function Zn(a,l){var d=-1,f=a.length;for(l||(l=k(f));++d<f;)l[d]=a[d];return l}function Ii(a,l,d,f){var m=!d;d||(d={});for(var v=-1,C=l.length;++v<C;){var D=l[v],T=f?f(d[D],a[D],D,d,a):w;T===w&&(T=a[D]),m?Gi(d,D,T):Er(d,D,T)}return d}function el(a,l){return function(d,f){var m=me(d)?ls:Hc,v=l?l():{};return m(d,a,te(f,2),v)}}function Is(a){return Te(function(l,d){var f=-1,m=d.length,v=m>1?d[m-1]:w,C=m>2?d[2]:w;for(v=a.length>3&&"function"==typeof v?(m--,v):w,C&&Tn(d[0],d[1],C)&&(v=m<3?w:v,m=1),l=pt(l);++f<m;){var D=d[f];D&&a(l,D,f,v)}return l})}function ef(a,l){return function(d,f){if(null==d)return d;if(!Pn(d))return a(d,f);for(var m=d.length,v=l?m:-1,C=pt(d);(l?v--:++v<m)&&!1!==f(C[v],v,C););return d}}function Ia(a){return function(l,d,f){for(var m=-1,v=pt(l),C=f(l),D=C.length;D--;){var T=C[a?D:++m];if(!1===d(v[T],T,v))break}return l}}function nf(a){return function(l){var d=Wo(l=it(l))?ci(l):w,f=d?d[0]:l.charAt(0),m=d?To(d,1).join(""):l.slice(1);return f[a]()+m}}function Fr(a){return function(l){return Dr(Dg(Sl(l).replace(J_,"")),a,"")}}function tl(a){return function(){var l=arguments;switch(l.length){case 0:return new a;case 1:return new a(l[0]);case 2:return new a(l[0],l[1]);case 3:return new a(l[0],l[1],l[2]);case 4:return new a(l[0],l[1],l[2],l[3]);case 5:return new a(l[0],l[1],l[2],l[3],l[4]);case 6:return new a(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new a(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var d=bs(a.prototype),f=a.apply(d,l);return vt(f)?f:d}}function kb(a){return function(l,d,f){var m=pt(l);if(!Pn(l)){var v=te(d,3);l=Kt(l),d=function(D){return v(m[D],D,m)}}var C=a(l,d,f);return C>-1?m[v?l[C]:C]:w}}function sf(a){return ko(function(l){var d=l.length,f=d,m=ui.prototype.thru;for(a&&l.reverse();f--;){var v=l[f];if("function"!=typeof v)throw new Mt(nn);if(m&&!C&&"wrapper"==rl(v))var C=new ui([],!0)}for(f=C?f:d;++f<d;){var D=rl(v=l[f]),T="wrapper"==D?ud(v):w;C=T&&Ea(T[0])&&424==T[1]&&!T[4].length&&1==T[9]?C[rl(T[0])].apply(C,T[3]):1==v.length&&Ea(v)?C[D]():C.thru(v)}return function(){var j=arguments,R=j[0];if(C&&1==j.length&&me(R))return C.plant(R).value();for(var F=0,U=d?l[F].apply(this,j):R;++F<d;)U=l[F].call(this,U);return U}})}function nl(a,l,d,f,m,v,C,D,T,j){var R=128&l,F=1&l,U=2&l,q=24&l,re=512&l,Ie=U?w:tl(a);return function se(){for(var Le=arguments.length,Fe=k(Le),Rn=Le;Rn--;)Fe[Rn]=arguments[Rn];if(q)var En=ks(se),qn=IC(Fe,En);if(f&&(Fe=Ss(Fe,f,m,q)),v&&(Fe=Xp(Fe,v,C,q)),Le-=qn,q&&Le<j){var Lt=vo(Fe,En);return Lb(a,l,nl,se.placeholder,d,Fe,Lt,D,T,j-Le)}var fi=F?d:this,Ao=U?fi[a]:a;return Le=Fe.length,D?Fe=bd(Fe,D):re&&Le>1&&Fe.reverse(),R&&T<Le&&(Fe.length=T),this&&this!==Dt&&this instanceof se&&(Ao=Ie||tl(Ao)),Ao.apply(fi,Fe)}}function il(a,l){return function(d,f){return function zC(a,l,d,f){return xn(a,function(m,v,C){l(f,d(m),v,C)}),f}(d,a,l(f),{})}}function rd(a,l){return function(d,f){var m;if(d===w&&f===w)return l;if(d!==w&&(m=d),f!==w){if(m===w)return f;"string"==typeof d||"string"==typeof f?(d=$t(d),f=$t(f)):(d=ws(d),f=ws(f)),m=a(d,f)}return m}}function af(a){return ko(function(l){return l=ht(l,ai(te())),Te(function(d){var f=this;return a(l,function(m){return sn(m,f,d)})})})}function Ts(a,l){var d=(l=l===w?" ":$t(l)).length;if(d<2)return d?Ju(l,a):l;var f=Ju(l,ju(a/xr(l)));return Wo(l)?To(ci(f),0,a).join(""):f.slice(0,a)}function Eb(a){return function(l,d,f){return f&&"number"!=typeof f&&Tn(l,d,f)&&(d=f=w),l=Ji(l),d===w?(d=l,l=0):d=Ji(d),function Db(a,l,d,f){for(var m=-1,v=Ht(ju((l-a)/(d||1)),0),C=k(v);v--;)C[f?v:++m]=a,a+=d;return C}(l,d,f=f===w?l<d?1:-1:Ji(f),a)}}function sd(a){return function(l,d){return"string"==typeof l&&"string"==typeof d||(l=Et(l),d=Et(d)),a(l,d)}}function Lb(a,l,d,f,m,v,C,D,T,j){var R=8&l;l|=R?32:64,4&(l&=~(R?64:32))||(l&=-4);var Ie=[a,l,m,R?v:w,R?C:w,R?w:v,R?w:C,D,T,j],se=d.apply(w,Ie);return Ea(a)&&mf(se,Ie),se.placeholder=f,_f(se,a,l)}function cf(a){var l=Je[a];return function(d,f){if(d=Et(d),(f=null==f?0:ln(De(f),292))&&Ru(d)){var m=(it(d)+"e").split("e");return+((m=(it(l(m[0]+"e"+(+m[1]+f)))+"e").split("e"))[0]+"e"+(+m[1]-f))}return l(d)}}var Nb=Ir&&1/an(new Ir([,-0]))[1]==br?function(a){return new Ir(a)}:Eg;function ad(a){return function(l){var d=et(l);return d==Ci?kp(l):d==Bn?function Ep(S){var N=-1,k=Array(S.size);return S.forEach(function(K){k[++N]=[K,K]}),k}(l):function SC(S,N){return ht(N,function(k){return[k,S[k]]})}(l,a(l))}}function Ti(a,l,d,f,m,v,C,D){var T=2&l;if(!T&&"function"!=typeof a)throw new Mt(nn);var j=f?f.length:0;if(j||(l&=-97,f=m=w),C=C===w?C:Ht(De(C),0),D=D===w?D:De(D),j-=m?m.length:0,64&l){var R=f,F=m;f=m=w}var U=T?w:ud(a),q=[a,l,d,f,m,R,F,v,C,D];if(U&&function md(a,l){var d=a[1],f=l[1],m=d|f;if(!(m<131||(128==f&&8==d||128==f&&256==d&&a[7].length<=l[8]||384==f&&l[7].length<=l[8]&&8==d)))return a;1&f&&(a[2]=l[2],m|=1&d?0:4);var D=l[3];if(D){var T=a[3];a[3]=T?Ss(T,D,l[4]):D,a[4]=T?vo(a[3],ze):l[4]}(D=l[5])&&(a[5]=(T=a[5])?Xp(T,D,l[6]):D,a[6]=T?vo(a[5],ze):l[6]),(D=l[7])&&(a[7]=D),128&f&&(a[8]=null==a[8]?l[8]:ln(a[8],l[8])),null==a[9]&&(a[9]=l[9]),a[0]=l[0],a[1]=m}(q,U),a=q[0],l=q[1],d=q[2],f=q[3],m=q[4],!(D=q[9]=q[9]===w?T?0:a.length:Ht(q[9]-j,0))&&24&l&&(l&=-25),l&&1!=l)re=8==l||16==l?function rf(a,l,d){var f=tl(a);return function m(){for(var v=arguments.length,C=k(v),D=v,T=ks(m);D--;)C[D]=arguments[D];var j=v<3&&C[0]!==T&&C[v-1]!==T?[]:vo(C,T);return(v-=j.length)<d?Lb(a,l,nl,m.placeholder,w,C,j,w,w,d-v):sn(this&&this!==Dt&&this instanceof m?f:a,this,C)}}(a,l,D):32!=l&&33!=l||m.length?nl.apply(w,q):function GC(a,l,d,f){var m=1&l,v=tl(a);return function C(){for(var D=-1,T=arguments.length,j=-1,R=f.length,F=k(R+T),U=this&&this!==Dt&&this instanceof C?v:a;++j<R;)F[j]=f[j];for(;T--;)F[j++]=arguments[++D];return sn(U,m?d:this,F)}}(a,l,d,f);else var re=function tf(a,l,d){var f=1&l,m=tl(a);return function v(){return(this&&this!==Dt&&this instanceof v?m:a).apply(f?d:this,arguments)}}(a,l,d);return _f((U?Sb:mf)(re,q),a,l)}function cd(a,l,d,f){return a===w||$n(a,fs[d])&&!qe.call(f,d)?l:a}function ld(a,l,d,f,m,v){return vt(a)&&vt(l)&&(v.set(l,a),Qu(a,l,w,ld,v),v.delete(l)),a}function lf(a){return Fa(a)?w:a}function In(a,l,d,f,m,v){var C=1&d,D=a.length,T=l.length;if(D!=T&&!(C&&T>D))return!1;var j=v.get(a),R=v.get(l);if(j&&R)return j==l&&R==a;var F=-1,U=!0,q=2&d?new Jo:w;for(v.set(a,l),v.set(l,a);++F<D;){var re=a[F],Ie=l[F];if(f)var se=C?f(Ie,re,F,l,a,v):f(re,Ie,F,a,l,v);if(se!==w){if(se)continue;U=!1;break}if(q){if(!_o(l,function(Le,Fe){if(!kc(q,Fe)&&(re===Le||m(re,Le,d,f,v)))return q.push(Fe)})){U=!1;break}}else if(re!==Ie&&!m(re,Ie,d,f,v)){U=!1;break}}return v.delete(a),v.delete(l),U}function ko(a){return vd(Vb(a,w,Dd),a+"")}function ol(a){return Pr(a,Kt,al)}function Ta(a){return Pr(a,bn,cl)}var ud=ma?function(a){return ma.get(a)}:Eg;function rl(a){for(var l=a.name+"",d=kr[l],f=qe.call(kr,l)?d.length:0;f--;){var m=d[f],v=m.func;if(null==v||v==a)return m.name}return l}function ks(a){return(qe.call(b,"placeholder")?b:a).placeholder}function te(){var a=b.iteratee||Ha;return a=a===Ha?Wi:a,arguments.length?a(arguments[0],arguments[1]):a}function sl(a,l){var d=a.__data__;return function gd(a){var l=typeof a;return"string"==l||"number"==l||"symbol"==l||"boolean"==l?"__proto__"!==a:null===a}(l)?d["string"==typeof l?"string":"hash"]:d.map}function dd(a){for(var l=Kt(a),d=l.length;d--;){var f=l[d],m=a[f];l[d]=[f,m,Es(m)]}return l}function Nt(a,l){var d=function Tp(S,N){return null==S?w:S[N]}(a,l);return Cs(d)?d:w}var al=cn?function(a){return null==a?[]:(a=pt(a),Ye(cn(a),function(l){return Yi.call(a,l)}))}:Ll,cl=cn?function(a){for(var l=[];a;)Hi(l,al(a)),a=Ne(a);return l}:Ll,et=An;function df(a,l,d){for(var f=-1,m=(l=Qi(l,a)).length,v=!1;++f<m;){var C=$i(l[f]);if(!(v=null!=a&&d(a,C)))break;a=a[C]}return v||++f!=m?v:!!(m=null==a?0:a.length)&&Os(m)&&Zi(C,m)&&(me(a)||Yr(a))}function pd(a){return"function"!=typeof a.constructor||La(a)?{}:bs(Ne(a))}function Rb(a){return me(a)||Yr(a)||!!(Ou&&a&&a[Ou])}function Zi(a,l){var d=typeof a;return!!(l=l??ho)&&("number"==d||"symbol"!=d&&vC.test(a))&&a>-1&&a%1==0&&a<l}function Tn(a,l,d){if(!vt(d))return!1;var f=typeof l;return!!("number"==f?Pn(d)&&Zi(l,d.length):"string"==f&&l in d)&&$n(d[l],a)}function fd(a,l){if(me(a))return!1;var d=typeof a;return!("number"!=d&&"symbol"!=d&&"boolean"!=d&&null!=a&&!pi(a))||V.test(a)||!hC.test(a)||null!=l&&a in pt(l)}function Ea(a){var l=rl(a),d=b[l];if("function"!=typeof d||!(l in Pe.prototype))return!1;if(a===d)return!0;var f=ud(d);return!!f&&a===f[0]}(Oc&&et(new Oc(new ArrayBuffer(1)))!=yr||Sr&&et(new Sr)!=Ci||Fu&&et(Fu.resolve())!=ss||Ir&&et(new Ir)!=Bn||Tr&&et(new Tr)!=as)&&(et=function(a){var l=An(a),d=l==Uo?a.constructor:w,f=d?nr(d):"";if(f)switch(f){case Np:return yr;case Vu:return Ci;case pb:return ss;case fb:return Bn;case Dn:return as}return l});var pf=Di?Jn:Ua;function La(a){var l=a&&a.constructor;return a===("function"==typeof l&&l.prototype||fs)}function Es(a){return a==a&&!vt(a)}function ff(a,l){return function(d){return null!=d&&d[a]===l&&(l!==w||a in pt(d))}}function Vb(a,l,d){return l=Ht(l===w?a.length-1:l,0),function(){for(var f=arguments,m=-1,v=Ht(f.length-l,0),C=k(v);++m<v;)C[m]=f[l+m];m=-1;for(var D=k(l+1);++m<l;)D[m]=f[m];return D[l]=d(C),sn(a,this,D)}}function Vr(a,l){return l.length<2?a:So(a,Sn(l,0,-1))}function bd(a,l){for(var d=a.length,f=ln(l.length,d),m=Zn(a);f--;){var v=l[f];a[f]=Zi(v,d)?m[v]:w}return a}function ll(a,l){if(("constructor"!==l||"function"!=typeof a[l])&&"__proto__"!=l)return a[l]}var mf=bf(Sb),Br=ub||function(a,l){return Dt.setTimeout(a,l)},vd=bf(Da);function _f(a,l,d){var f=l+"";return vd(a,function hf(a,l){var d=l.length;if(!d)return a;var f=d-1;return l[f]=(d>1?"& ":"")+l[f],l=l.join(d>2?", ":" "),a.replace(B_,"{\n/* [wrapped with "+l+"] */\n")}(f,function yd(a,l){return It(R_,function(d){var f="_."+d[0];l&d[1]&&!Sc(a,f)&&a.push(f)}),a.sort()}(function uf(a){var l=a.match(yc);return l?l[1].split(Hn):[]}(f),d)))}function bf(a){var l=0,d=0;return function(){var f=db(),m=16-(f-d);if(d=f,m>0){if(++l>=800)return arguments[0]}else l=0;return a.apply(w,arguments)}}function ul(a,l){var d=-1,f=a.length,m=f-1;for(l=l===w?f:l;++d<l;){var v=Ku(d,m),C=a[v];a[v]=a[d],a[d]=C}return a.length=l,a}var vf=function Fb(a){var l=Ki(a,function(f){return 500===d.size&&d.clear(),f}),d=l.cache;return l}(function(a){var l=[];return 46===a.charCodeAt(0)&&l.push(""),a.replace(vc,function(d,f,m,v){l.push(m?v.replace(gC,"$1"):f||d)}),l});function $i(a){if("string"==typeof a||pi(a))return a;var l=a+"";return"0"==l&&1/a==-br?"-0":l}function nr(a){if(null!=a){try{return pa.call(a)}catch{}try{return a+""}catch{}}return""}function Md(a){if(a instanceof Pe)return a.clone();var l=new ui(a.__wrapped__,a.__chain__);return l.__actions__=Zn(a.__actions__),l.__index__=a.__index__,l.__values__=a.__values__,l}var yf=Te(function(a,l){return st(a)?Ms(a,Zt(l,1,st,!0)):[]}),Mf=Te(function(a,l){var d=hi(l);return st(d)&&(d=w),st(a)?Ms(a,Zt(l,1,st,!0),te(d,2)):[]}),Hr=Te(function(a,l){var d=hi(l);return st(d)&&(d=w),st(a)?Ms(a,Zt(l,1,st,!0),w,d):[]});function Df(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=null==d?0:De(d);return m<0&&(m=Ht(f+m,0)),ds(a,te(l,3),m)}function wd(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=f-1;return d!==w&&(m=De(d),m=d<0?Ht(f+m,0):ln(m,f-1)),ds(a,te(l,3),m,!0)}function Dd(a){return null!=a&&a.length?Zt(a,1):[]}function Na(a){return a&&a.length?a[0]:w}var Sd=Te(function(a){var l=ht(a,id);return l.length&&l[0]===a[0]?Yp(l):[]}),Id=Te(function(a){var l=hi(a),d=ht(a,id);return l===hi(d)?l=w:d.pop(),d.length&&d[0]===a[0]?Yp(d,te(l,2)):[]}),Td=Te(function(a){var l=hi(a),d=ht(a,id);return(l="function"==typeof l?l:w)&&d.pop(),d.length&&d[0]===a[0]?Yp(d,w,l):[]});function hi(a){var l=null==a?0:a.length;return l?a[l-1]:w}var Gb=Te(kd);function kd(a,l){return a&&a.length&&l&&l.length?$c(a,l):a}var Ld=ko(function(a,l){var d=null==a?0:a.length,f=Uc(a,l);return Qp(a,ht(l,function(m){return Zi(m,d)?+m:m}).sort(qp)),f});function Nd(a){return null==a?a:zu.call(a)}var Jb=Te(function(a){return tr(Zt(a,1,st,!0))}),qb=Te(function(a){var l=hi(a);return st(l)&&(l=w),tr(Zt(a,1,st,!0),te(l,2))}),Xb=Te(function(a){var l=hi(a);return l="function"==typeof l?l:w,tr(Zt(a,1,st,!0),w,l)});function Of(a){if(!a||!a.length)return[];var l=0;return a=Ye(a,function(d){if(st(d))return l=Ht(d.length,l),!0}),Sp(l,function(d){return ht(a,wp(d))})}function tv(a,l){if(!a||!a.length)return[];var d=Of(a);return null==l?d:ht(d,function(f){return sn(l,w,f)})}var ZC=Te(function(a,l){return st(a)?Ms(a,l):[]}),$C=Te(function(a){return zr(Ye(a,st))}),KC=Te(function(a){var l=hi(a);return st(l)&&(l=w),zr(Ye(a,st),te(l,2))}),Pf=Te(function(a){var l=hi(a);return l="function"==typeof l?l:w,zr(Ye(a,st),w,l)}),nv=Te(Of),rv=Te(function(a){var l=a.length,d=l>1?a[l-1]:w;return d="function"==typeof d?(a.pop(),d):w,tv(a,d)});function gl(a){var l=b(a);return l.__chain__=!0,l}function or(a,l){return l(a)}var jf=ko(function(a){var l=a.length,d=l?a[0]:0,f=this.__wrapped__,m=function(v){return Uc(v,a)};return!(l>1||this.__actions__.length)&&f instanceof Pe&&Zi(d)?((f=f.slice(d,+d+(l?1:0))).__actions__.push({func:or,args:[m],thisArg:w}),new ui(f,this.__chain__).thru(function(v){return l&&!v.length&&v.push(w),v})):this.thru(m)}),ew=el(function(a,l,d){qe.call(a,d)?++a[d]:Gi(a,d,1)}),sv=kb(Df),av=kb(wd);function Pa(a,l){return(me(a)?It:xo)(a,te(l,3))}function Bf(a,l){return(me(a)?us:Nr)(a,te(l,3))}var Rd=el(function(a,l,d){qe.call(a,d)?a[d].push(l):Gi(a,d,[l])}),zt=Te(function(a,l,d){var f=-1,m="function"==typeof l,v=Pn(a)?k(a.length):[];return xo(a,function(C){v[++f]=m?sn(l,C,d):Gc(C,l,d)}),v}),dv=el(function(a,l,d){Gi(a,d,l)});function ml(a,l){return(me(a)?ht:Wu)(a,te(l,3))}var Hf=el(function(a,l,d){a[d?0:1].push(l)},function(){return[[],[]]}),Uf=Te(function(a,l){if(null==a)return[];var d=l.length;return d>1&&Tn(a,l[0],l[1])?l=[]:d>2&&Tn(l[0],l[1],l[2])&&(l=[l[0]]),On(a,Zt(l,1),[])}),za=AC||function(){return Dt.Date.now()};function zd(a,l,d){return l=d?w:l,Ti(a,128,w,w,w,w,l=a&&null==l?a.length:l)}function Gf(a,l){var d;if("function"!=typeof l)throw new Mt(nn);return a=De(a),function(){return--a>0&&(d=l.apply(this,arguments)),a<=1&&(l=w),d}}var _l=Te(function(a,l,d){var f=1;if(d.length){var m=vo(d,ks(_l));f|=32}return Ti(a,f,l,d,m)}),Fd=Te(function(a,l,d){var f=3;if(d.length){var m=vo(d,ks(Fd));f|=32}return Ti(l,f,a,d,m)});function Wf(a,l,d){var f,m,v,C,D,T,j=0,R=!1,F=!1,U=!0;if("function"!=typeof a)throw new Mt(nn);function q(Lt){var fi=f,Ao=m;return f=m=w,j=Lt,C=a.apply(Ao,fi)}function re(Lt){return j=Lt,D=Br(Le,l),R?q(Lt):C}function se(Lt){var fi=Lt-T;return T===w||fi>=l||fi<0||F&&Lt-j>=v}function Le(){var Lt=za();if(se(Lt))return Fe(Lt);D=Br(Le,function Ie(Lt){var Li=l-(Lt-T);return F?ln(Li,v-(Lt-j)):Li}(Lt))}function Fe(Lt){return D=w,U&&f?q(Lt):(f=m=w,C)}function qn(){var Lt=za(),fi=se(Lt);if(f=arguments,m=this,T=Lt,fi){if(D===w)return re(T);if(F)return Ds(D),D=Br(Le,l),q(T)}return D===w&&(D=Br(Le,l)),C}return l=Et(l)||0,vt(d)&&(R=!!d.leading,v=(F="maxWait"in d)?Ht(Et(d.maxWait)||0,l):v,U="trailing"in d?!!d.trailing:U),qn.cancel=function Rn(){D!==w&&Ds(D),j=0,f=T=m=D=w},qn.flush=function En(){return D===w?C:Fe(za())},qn}var Vd=Te(function(a,l){return Hp(a,1,l)}),Qf=Te(function(a,l,d){return Hp(a,Et(l)||0,d)});function Ki(a,l){if("function"!=typeof a||null!=l&&"function"!=typeof l)throw new Mt(nn);var d=function(){var f=arguments,m=l?l.apply(this,f):f[0],v=d.cache;if(v.has(m))return v.get(m);var C=a.apply(this,f);return d.cache=v.set(m,C)||v,C};return d.cache=new(Ki.Cache||Ko),d}function vl(a){if("function"!=typeof a)throw new Mt(nn);return function(){var l=arguments;switch(l.length){case 0:return!a.call(this);case 1:return!a.call(this,l[0]);case 2:return!a.call(this,l[0],l[1]);case 3:return!a.call(this,l[0],l[1],l[2])}return!a.apply(this,l)}}Ki.Cache=Ko;var yl=xa(function(a,l){var d=(l=1==l.length&&me(l[0])?ht(l[0],ai(te())):ht(Zt(l,1),ai(te()))).length;return Te(function(f){for(var m=-1,v=ln(f.length,d);++m<v;)f[m]=l[m].call(this,f[m]);return sn(a,this,f)})}),Hd=Te(function(a,l){var d=vo(l,ks(Hd));return Ti(a,32,w,l,d)}),Ml=Te(function(a,l){var d=vo(l,ks(Ml));return Ti(a,64,w,l,d)}),Cl=ko(function(a,l){return Ti(a,256,w,w,w,l)});function $n(a,l){return a===l||a!=a&&l!=l}var Dv=sd(Gu),Jf=sd(function(a,l){return a>=l}),Yr=Cb(function(){return arguments}())?Cb:function(a){return kt(a)&&qe.call(a,"callee")&&!Yi.call(a,"callee")},me=k.isArray,ow=we?ai(we):function FC(a){return kt(a)&&An(a)==Bi};function Pn(a){return null!=a&&Os(a.length)&&!Jn(a)}function st(a){return kt(a)&&Pn(a)}var Kn=Mo||Ua,Se=da?ai(da):function Ca(a){return kt(a)&&An(a)==oa};function Yd(a){if(!kt(a))return!1;var l=An(a);return l==pc||"[object DOMException]"==l||"string"==typeof a.message&&"string"==typeof a.name&&!Fa(a)}function Jn(a){if(!vt(a))return!1;var l=An(a);return l==fc||l==up||"[object AsyncFunction]"==l||"[object Proxy]"==l}function qf(a){return"number"==typeof a&&a==De(a)}function Os(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=ho}function vt(a){var l=typeof a;return null!=a&&("object"==l||"function"==l)}function kt(a){return null!=a&&"object"==typeof a}var wl=wr?ai(wr):function Ut(a){return kt(a)&&et(a)==Ci};function Gd(a){return"number"==typeof a||kt(a)&&An(a)==po}function Fa(a){if(!kt(a)||An(a)!=Uo)return!1;var l=Ne(a);if(null===l)return!0;var d=qe.call(l,"constructor")&&l.constructor;return"function"==typeof d&&d instanceof d&&pa.call(d)==ab}var rr=xc?ai(xc):function BC(a){return kt(a)&&An(a)==fo},Xf=Go?ai(Go):function wb(a){return kt(a)&&et(a)==Bn};function Dl(a){return"string"==typeof a||!me(a)&&kt(a)&&An(a)==sa}function pi(a){return"symbol"==typeof a||kt(a)&&An(a)==gc}var Va=rn?ai(rn):function Qn(a){return kt(a)&&Os(a.length)&&!!ee[An(a)]},aw=sd(jr),ng=sd(function(a,l){return a<=l});function ig(a){if(!a)return[];if(Pn(a))return Dl(a)?ci(a):Zn(a);if(yo&&a[yo])return function NC(S){for(var N,k=[];!(N=S.next()).done;)k.push(N.value);return k}(a[yo]());var l=et(a);return(l==Ci?kp:l==Bn?an:Rs)(a)}function Ji(a){return a?(a=Et(a))===br||a===-br?17976931348623157e292*(a<0?-1:1):a==a?a:0:0===a?a:0}function De(a){var l=Ji(a),d=l%1;return l==l?d?l-d:l:0}function og(a){return a?qo(De(a),0,Vn):0}function Et(a){if("number"==typeof a)return a;if(pi(a))return NaN;if(vt(a)){var l="function"==typeof a.valueOf?a.valueOf():a;a=vt(l)?l+"":l}if("string"!=typeof a)return 0===a?a:+a;a=eb(a);var d=_C.test(a);return d||Y_.test(a)?Ce(a.slice(2),d?2:8):mC.test(a)?NaN:+a}function rg(a){return Ii(a,bn(a))}function it(a){return null==a?"":$t(a)}var Av=Is(function(a,l){if(La(l)||Pn(l))Ii(l,Kt(l),a);else for(var d in l)qe.call(l,d)&&Er(a,d,l[d])}),ag=Is(function(a,l){Ii(l,bn(l),a)}),xl=Is(function(a,l,d,f){Ii(l,bn(l),a,f)}),cg=Is(function(a,l,d,f){Ii(l,Kt(l),a,f)}),Ov=ko(Uc),jv=Te(function(a,l){a=pt(a);var d=-1,f=l.length,m=f>2?l[2]:w;for(m&&Tn(l[0],l[1],m)&&(f=1);++d<f;)for(var v=l[d],C=bn(v),D=-1,T=C.length;++D<T;){var j=C[D],R=a[j];(R===w||$n(R,fs[j])&&!qe.call(a,j))&&(a[j]=v[j])}return a}),_e=Te(function(a){return a.push(w,ld),sn(Hv,w,a)});function Wd(a,l,d){var f=null==a?w:So(a,l);return f===w?d:f}function pg(a,l){return null!=a&&df(a,l,jC)}var fg=il(function(a,l,d){null!=l&&"function"!=typeof l.toString&&(l=Au.call(l)),a[l]=d},oh(jn)),gg=il(function(a,l,d){null!=l&&"function"!=typeof l.toString&&(l=Au.call(l)),qe.call(a,l)?a[l].push(d):a[l]=[d]},te),kn=Te(Gc);function Kt(a){return Pn(a)?Fp(a):Qc(a)}function bn(a){return Pn(a)?Fp(a,!0):function Zc(a){if(!vt(a))return function _d(a){var l=[];if(null!=a)for(var d in pt(a))l.push(d);return l}(a);var l=La(a),d=[];for(var f in a)"constructor"==f&&(l||!qe.call(a,f))||d.push(f);return d}(a)}var cw=Is(function(a,l,d){Qu(a,l,d)}),Hv=Is(function(a,l,d,f){Qu(a,l,d,f)}),lw=ko(function(a,l){var d={};if(null==a)return d;var f=!1;l=ht(l,function(v){return v=Qi(v,a),f||(f=v.length>1),v}),Ii(a,Ta(a),d),f&&(d=di(d,7,lf));for(var m=l.length;m--;)P(d,l[m]);return d}),mg=ko(function(a,l){return null==a?{}:function $u(a,l){return Rr(a,l,function(d,f){return pg(a,f)})}(a,l)});function Yv(a,l){if(null==a)return{};var d=ht(Ta(a),function(f){return[f]});return l=te(l),Rr(a,d,function(f,m){return l(f,m[0])})}var Zd=ad(Kt),Ba=ad(bn);function Rs(a){return null==a?[]:Ip(a,Kt(a))}var vg=Fr(function(a,l,d){return l=l.toLowerCase(),a+(d?$d(l):l)});function $d(a){return ih(it(a).toLowerCase())}function Sl(a){return(a=it(a))&&a.replace(G_,TC).replace(yp,"")}var dw=Fr(function(a,l,d){return a+(d?"-":"")+l.toLowerCase()}),I=Fr(function(a,l,d){return a+(d?" ":"")+l.toLowerCase()}),ey=nf("toLowerCase"),No=Fr(function(a,l,d){return a+(d?"_":"")+l.toLowerCase()}),Cg=Fr(function(a,l,d){return a+(d?" ":"")+ih(l)}),fw=Fr(function(a,l,d){return a+(d?" ":"")+l.toUpperCase()}),ih=nf("toUpperCase");function Dg(a,l,d){return a=it(a),(l=d?w:l)===w?function LC(S){return Mp.test(S)}(a)?function Lu(S){return S.match(dt)||[]}(a):function Nn(S){return S.match(fC)||[]}(a):a.match(l)||[]}var xg=Te(function(a,l){try{return sn(a,w,l)}catch(d){return Yd(d)?d:new ye(d)}}),ny=ko(function(a,l){return It(l,function(d){d=$i(d),Gi(a,d,_l(a[d],a))}),a});function oh(a){return function(){return a}}var Ig=sf(),Tg=sf(!0);function jn(a){return a}function Ha(a){return Wi("function"==typeof a?a:di(a,1))}var vw=Te(function(a,l){return function(d){return Gc(d,a,l)}}),yw=Te(function(a,l){return function(d){return Gc(a,d,l)}});function kg(a,l,d){var f=Kt(l),m=Ma(l,f);null==d&&(!vt(l)||!m.length&&f.length)&&(d=l,l=a,a=this,m=Ma(l,Kt(l)));var v=!(vt(d)&&"chain"in d&&!d.chain),C=Jn(a);return It(m,function(D){var T=l[D];a[D]=T,C&&(a.prototype[D]=function(){var j=this.__chain__;if(v||j){var R=a(this.__wrapped__),F=R.__actions__=Zn(this.__actions__);return F.push({func:T,args:arguments,thisArg:a}),R.__chain__=j,R}return T.apply(a,Hi([this.value()],arguments))})}),a}function Eg(){}var ww=af(ht),Dw=af(Iu),sr=af(_o);function El(a){return fd(a)?wp($i(a)):function UC(a){return function(l){return So(l,a)}}(a)}var Lg=Eb(),rh=Eb(!0);function Ll(){return[]}function Ua(){return!1}var ay=rd(function(a,l){return a+l},0),cy=cf("ceil"),Nl=rd(function(a,l){return a/l},1),zs=cf("floor"),ch=rd(function(a,l){return a*l},1),lh=cf("round"),jg=rd(function(a,l){return a-l},0);return b.after=function Yf(a,l){if("function"!=typeof l)throw new Mt(nn);return a=De(a),function(){if(--a<1)return l.apply(this,arguments)}},b.ary=zd,b.assign=Av,b.assignIn=ag,b.assignInWith=xl,b.assignWith=cg,b.at=Ov,b.before=Gf,b.bind=_l,b.bindAll=ny,b.bindKey=Fd,b.castArray=function Kf(){if(!arguments.length)return[];var a=arguments[0];return me(a)?a:[a]},b.chain=gl,b.chunk=function Cd(a,l,d){l=(d?Tn(a,l,d):l===w)?1:Ht(De(l),0);var f=null==a?0:a.length;if(!f||l<1)return[];for(var m=0,v=0,C=k(ju(f/l));m<f;)C[v++]=Sn(a,m,m+=l);return C},b.compact=function Bb(a){for(var l=-1,d=null==a?0:a.length,f=0,m=[];++l<d;){var v=a[l];v&&(m[f++]=v)}return m},b.concat=function Hb(){var a=arguments.length;if(!a)return[];for(var l=k(a-1),d=arguments[0],f=a;f--;)l[f-1]=arguments[f];return Hi(me(d)?Zn(d):[d],Zt(l,1))},b.cond=function Sg(a){var l=null==a?0:a.length,d=te();return a=l?ht(a,function(f){if("function"!=typeof f[1])throw new Mt(nn);return[d(f[0]),f[1]]}):[],Te(function(f){for(var m=-1;++m<l;){var v=a[m];if(sn(v[0],this,f))return sn(v[1],this,f)}})},b.conforms=function gw(a){return function Yc(a){var l=Kt(a);return function(d){return ys(d,a,l)}}(di(a,1))},b.constant=oh,b.countBy=ew,b.create=function Pv(a,l){var d=bs(a);return null==l?d:Vp(d,l)},b.curry=function bl(a,l,d){var f=Ti(a,8,w,w,w,w,w,l=d?w:l);return f.placeholder=bl.placeholder,f},b.curryRight=function _v(a,l,d){var f=Ti(a,16,w,w,w,w,w,l=d?w:l);return f.placeholder=_v.placeholder,f},b.debounce=Wf,b.defaults=jv,b.defaultsDeep=_e,b.defer=Vd,b.delay=Qf,b.difference=yf,b.differenceBy=Mf,b.differenceWith=Hr,b.drop=function Cf(a,l,d){var f=null==a?0:a.length;return f?Sn(a,(l=d||l===w?1:De(l))<0?0:l,f):[]},b.dropRight=function wf(a,l,d){var f=null==a?0:a.length;return f?Sn(a,0,(l=f-(l=d||l===w?1:De(l)))<0?0:l):[]},b.dropRightWhile=function Ub(a,l){return a&&a.length?Io(a,te(l,3),!0,!0):[]},b.dropWhile=function WC(a,l){return a&&a.length?Io(a,te(l,3),!0):[]},b.fill=function dl(a,l,d,f){var m=null==a?0:a.length;return m?(d&&"number"!=typeof d&&Tn(a,l,d)&&(d=0,f=m),function Yu(a,l,d,f){var m=a.length;for((d=De(d))<0&&(d=-d>m?0:m+d),(f=f===w||f>m?m:De(f))<0&&(f+=m),f=d>f?0:og(f);d<f;)a[d++]=l;return a}(a,l,d,f)):[]},b.filter=function Ff(a,l){return(me(a)?Ye:Up)(a,te(l,3))},b.flatMap=function cv(a,l){return Zt(ml(a,l),1)},b.flatMapDeep=function lv(a,l){return Zt(ml(a,l),br)},b.flatMapDepth=function Vf(a,l,d){return d=d===w?1:De(d),Zt(ml(a,l),d)},b.flatten=Dd,b.flattenDeep=function xf(a){return null!=a&&a.length?Zt(a,br):[]},b.flattenDepth=function xd(a,l){return null!=a&&a.length?Zt(a,l=l===w?1:De(l)):[]},b.flip=function Zf(a){return Ti(a,512)},b.flow=Ig,b.flowRight=Tg,b.fromPairs=function Sf(a){for(var l=-1,d=null==a?0:a.length,f={};++l<d;){var m=a[l];f[m[0]]=m[1]}return f},b.functions=function Fv(a){return null==a?[]:Ma(a,Kt(a))},b.functionsIn=function hg(a){return null==a?[]:Ma(a,bn(a))},b.groupBy=Rd,b.initial=function If(a){return null!=a&&a.length?Sn(a,0,-1):[]},b.intersection=Sd,b.intersectionBy=Id,b.intersectionWith=Td,b.invert=fg,b.invertBy=gg,b.invokeMap=zt,b.iteratee=Ha,b.keyBy=dv,b.keys=Kt,b.keysIn=bn,b.map=ml,b.mapKeys=function Qd(a,l){var d={};return l=te(l,3),xn(a,function(f,m,v){Gi(d,l(f,m,v),f)}),d},b.mapValues=function Bv(a,l){var d={};return l=te(l,3),xn(a,function(f,m,v){Gi(d,m,l(f,m,v))}),d},b.matches=function _w(a){return Gp(di(a,1))},b.matchesProperty=function bw(a,l){return Wp(a,di(l,1))},b.memoize=Ki,b.merge=cw,b.mergeWith=Hv,b.method=vw,b.methodOf=yw,b.mixin=kg,b.negate=vl,b.nthArg=function Cw(a){return a=De(a),Te(function(l){return Zu(l,a)})},b.omit=lw,b.omitBy=function Uv(a,l){return Yv(a,vl(te(l)))},b.once=function Bd(a){return Gf(2,a)},b.orderBy=function ja(a,l,d,f){return null==a?[]:(me(l)||(l=null==l?[]:[l]),me(d=f?w:d)||(d=null==d?[]:[d]),On(a,l,d))},b.over=ww,b.overArgs=yl,b.overEvery=Dw,b.overSome=sr,b.partial=Hd,b.partialRight=Ml,b.partition=Hf,b.pick=mg,b.pickBy=Yv,b.property=El,b.propertyOf=function iy(a){return function(l){return null==a?w:So(a,l)}},b.pull=Gb,b.pullAll=kd,b.pullAllBy=function Ed(a,l,d){return a&&a.length&&l&&l.length?$c(a,l,te(d,2)):a},b.pullAllWith=function pl(a,l,d){return a&&a.length&&l&&l.length?$c(a,l,w,d):a},b.pullAt=Ld,b.range=Lg,b.rangeRight=rh,b.rearg=Cl,b.reject=function fv(a,l){return(me(a)?Ye:Up)(a,vl(te(l,3)))},b.remove=function Ur(a,l){var d=[];if(!a||!a.length)return d;var f=-1,m=[],v=a.length;for(l=te(l,3);++f<v;){var C=a[f];l(C,f,a)&&(d.push(C),m.push(f))}return Qp(a,m),d},b.rest=function Ls(a,l){if("function"!=typeof a)throw new Mt(nn);return Te(a,l=l===w?l:De(l))},b.reverse=Nd,b.sampleSize=function mv(a,l,d){return l=(d?Tn(a,l,d):l===w)?1:De(l),(me(a)?yb:qu)(a,l)},b.set=function js(a,l,d){return null==a?a:er(a,l,d)},b.setWith=function Wv(a,l,d,f){return f="function"==typeof f?f:w,null==a?a:er(a,l,d,f)},b.shuffle=function nw(a){return(me(a)?va:Xu)(a)},b.slice=function Wb(a,l,d){var f=null==a?0:a.length;return f?(d&&"number"!=typeof d&&Tn(a,l,d)?(l=0,d=f):(l=null==l?0:De(l),d=d===w?f:De(d)),Sn(a,l,d)):[]},b.sortBy=Uf,b.sortedUniq=function Od(a){return a&&a.length?td(a):[]},b.sortedUniqBy=function Ef(a,l){return a&&a.length?td(a,te(l,2)):[]},b.split=function qd(a,l,d){return d&&"number"!=typeof d&&Tn(a,l,d)&&(l=d=w),(d=d===w?Vn:d>>>0)?(a=it(a))&&("string"==typeof l||null!=l&&!rr(l))&&!(l=$t(l))&&Wo(a)?To(ci(a),0,d):a.split(l,d):[]},b.spread=function $f(a,l){if("function"!=typeof a)throw new Mt(nn);return l=null==l?0:Ht(De(l),0),Te(function(d){var f=d[l],m=To(d,0,l);return f&&Hi(m,f),sn(a,this,m)})},b.tail=function Lf(a){var l=null==a?0:a.length;return l?Sn(a,1,l):[]},b.take=function Nf(a,l,d){return a&&a.length?Sn(a,0,(l=d||l===w?1:De(l))<0?0:l):[]},b.takeRight=function Af(a,l,d){var f=null==a?0:a.length;return f?Sn(a,(l=f-(l=d||l===w?1:De(l)))<0?0:l,f):[]},b.takeRightWhile=function $b(a,l){return a&&a.length?Io(a,te(l,3),!1,!0):[]},b.takeWhile=function Kb(a,l){return a&&a.length?Io(a,te(l,3)):[]},b.tap=function Eo(a,l){return l(a),a},b.throttle=function Ud(a,l,d){var f=!0,m=!0;if("function"!=typeof a)throw new Mt(nn);return vt(d)&&(f="leading"in d?!!d.leading:f,m="trailing"in d?!!d.trailing:m),Wf(a,l,{leading:f,maxWait:l,trailing:m})},b.thru=or,b.toArray=ig,b.toPairs=Zd,b.toPairsIn=Ba,b.toPath=function sy(a){return me(a)?ht(a,$i):pi(a)?[a]:Zn(vf(it(a)))},b.toPlainObject=rg,b.transform=function Qv(a,l,d){var f=me(a),m=f||Kn(a)||Va(a);if(l=te(l,4),null==d){var v=a&&a.constructor;d=m?f?new v:[]:vt(a)&&Jn(v)?bs(Ne(a)):{}}return(m?It:xn)(a,function(C,D,T){return l(d,C,D,T)}),d},b.unary=function bv(a){return zd(a,1)},b.union=Jb,b.unionBy=qb,b.unionWith=Xb,b.uniq=function ir(a){return a&&a.length?tr(a):[]},b.uniqBy=function Oa(a,l){return a&&a.length?tr(a,te(l,2)):[]},b.uniqWith=function ev(a,l){return l="function"==typeof l?l:w,a&&a.length?tr(a,w,l):[]},b.unset=function _g(a,l){return null==a||P(a,l)},b.unzip=Of,b.unzipWith=tv,b.update=function Zv(a,l,d){return null==a?a:nd(a,l,od(d))},b.updateWith=function $v(a,l,d,f){return f="function"==typeof f?f:w,null==a?a:nd(a,l,od(d),f)},b.values=Rs,b.valuesIn=function Kv(a){return null==a?[]:Ip(a,bn(a))},b.without=ZC,b.words=Dg,b.wrap=function vv(a,l){return Hd(od(l),a)},b.xor=$C,b.xorBy=KC,b.xorWith=Pf,b.zip=nv,b.zipObject=function iv(a,l){return Zp(a||[],l||[],Er)},b.zipObjectDeep=function ov(a,l){return Zp(a||[],l||[],er)},b.zipWith=rv,b.entries=Zd,b.entriesIn=Ba,b.extend=ag,b.extendWith=xl,kg(b,b),b.add=ay,b.attempt=xg,b.camelCase=vg,b.capitalize=$d,b.ceil=cy,b.clamp=function Jv(a,l,d){return d===w&&(d=l,l=w),d!==w&&(d=(d=Et(d))==d?d:0),l!==w&&(l=(l=Et(l))==l?l:0),qo(Et(a),l,d)},b.clone=function Ns(a){return di(a,4)},b.cloneDeep=function Mv(a){return di(a,5)},b.cloneDeepWith=function Cv(a,l){return di(a,5,l="function"==typeof l?l:w)},b.cloneWith=function yv(a,l){return di(a,4,l="function"==typeof l?l:w)},b.conformsTo=function wv(a,l){return null==l||ys(a,l,Kt(l))},b.deburr=Sl,b.defaultTo=function mw(a,l){return null==a||a!=a?l:a},b.divide=Nl,b.endsWith=function uw(a,l,d){a=it(a),l=$t(l);var f=a.length,m=d=d===w?f:qo(De(d),0,f);return(d-=l.length)>=0&&a.slice(d,m)==l},b.eq=$n,b.escape=function Kd(a){return(a=it(a))&&V_.test(a)?a.replace(ct,kC):a},b.escapeRegExp=function Xv(a){return(a=it(a))&&Ke.test(a)?a.replace(pe,"\\$&"):a},b.every=function tw(a,l,d){var f=me(a)?Iu:Mb;return d&&Tn(a,l,d)&&(l=w),f(a,te(l,3))},b.find=sv,b.findIndex=Df,b.findKey=function je(a,l){return ri(a,te(l,3),xn)},b.findLast=av,b.findLastIndex=wd,b.findLastKey=function lg(a,l){return ri(a,te(l,3),Xo)},b.floor=zs,b.forEach=Pa,b.forEachRight=Bf,b.forIn=function ug(a,l){return null==a?a:Ar(a,te(l,3),bn)},b.forInRight=function Rv(a,l){return null==a?a:Or(a,te(l,3),bn)},b.forOwn=function zv(a,l){return a&&xn(a,te(l,3))},b.forOwnRight=function dg(a,l){return a&&Xo(a,te(l,3))},b.get=Wd,b.gt=Dv,b.gte=Jf,b.has=function Vv(a,l){return null!=a&&df(a,l,G)},b.hasIn=pg,b.head=Na,b.identity=jn,b.includes=function uv(a,l,d,f){a=Pn(a)?a:Rs(a),d=d&&!f?De(d):0;var m=a.length;return d<0&&(d=Ht(m+d,0)),Dl(a)?d<=m&&a.indexOf(l,d)>-1:!!m&&bo(a,l,d)>-1},b.indexOf=function hl(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=null==d?0:De(d);return m<0&&(m=Ht(f+m,0)),bo(a,l,m)},b.inRange=function bg(a,l,d){return l=Ji(l),d===w?(d=l,l=0):d=Ji(d),function RC(a,l,d){return a>=ln(l,d)&&a<Ht(l,d)}(a=Et(a),l,d)},b.invoke=kn,b.isArguments=Yr,b.isArray=me,b.isArrayBuffer=ow,b.isArrayLike=Pn,b.isArrayLikeObject=st,b.isBoolean=function xv(a){return!0===a||!1===a||kt(a)&&An(a)==ia},b.isBuffer=Kn,b.isDate=Se,b.isElement=function Sv(a){return kt(a)&&1===a.nodeType&&!Fa(a)},b.isEmpty=function rw(a){if(null==a)return!0;if(Pn(a)&&(me(a)||"string"==typeof a||"function"==typeof a.splice||Kn(a)||Va(a)||Yr(a)))return!a.length;var l=et(a);if(l==Ci||l==Bn)return!a.size;if(La(a))return!Qc(a).length;for(var d in a)if(qe.call(a,d))return!1;return!0},b.isEqual=function As(a,l){return Wc(a,l)},b.isEqualWith=function ki(a,l,d){var f=(d="function"==typeof d?d:w)?d(a,l):w;return f===w?Wc(a,l,w,d):!!f},b.isError=Yd,b.isFinite=function Iv(a){return"number"==typeof a&&Ru(a)},b.isFunction=Jn,b.isInteger=qf,b.isLength=Os,b.isMap=wl,b.isMatch=function Ps(a,l){return a===l||wa(a,l,dd(l))},b.isMatchWith=function Tv(a,l,d){return d="function"==typeof d?d:w,wa(a,l,dd(l),d)},b.isNaN=function kv(a){return Gd(a)&&a!=+a},b.isNative=function Ev(a){if(pf(a))throw new ye("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Cs(a)},b.isNil=function Nv(a){return null==a},b.isNull=function Lv(a){return null===a},b.isNumber=Gd,b.isObject=vt,b.isObjectLike=kt,b.isPlainObject=Fa,b.isRegExp=rr,b.isSafeInteger=function Lo(a){return qf(a)&&a>=-ho&&a<=ho},b.isSet=Xf,b.isString=Dl,b.isSymbol=pi,b.isTypedArray=Va,b.isUndefined=function eg(a){return a===w},b.isWeakMap=function sw(a){return kt(a)&&et(a)==as},b.isWeakSet=function tg(a){return kt(a)&&"[object WeakSet]"==An(a)},b.join=function Aa(a,l){return null==a?"":ms.call(a,l)},b.kebabCase=dw,b.last=hi,b.lastIndexOf=function Tf(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=f;return d!==w&&(m=(m=De(d))<0?Ht(f+m,0):ln(m,f-1)),l==l?function ob(S,N,k){for(var K=k+1;K--;)if(S[K]===N)return K;return K}(a,l,m):ds(a,si,m,!0)},b.lowerCase=I,b.lowerFirst=ey,b.lt=aw,b.lte=ng,b.max=function sh(a){return a&&a.length?Xe(a,jn,Gu):w},b.maxBy=function Fs(a,l){return a&&a.length?Xe(a,te(l,2),Gu):w},b.mean=function ah(a){return Cp(a,jn)},b.meanBy=function Al(a,l){return Cp(a,te(l,2))},b.min=function Og(a){return a&&a.length?Xe(a,jn,jr):w},b.minBy=function Pg(a,l){return a&&a.length?Xe(a,te(l,2),jr):w},b.stubArray=Ll,b.stubFalse=Ua,b.stubObject=function oy(){return{}},b.stubString=function ar(){return""},b.stubTrue=function Ng(){return!0},b.multiply=ch,b.nth=function Yb(a,l){return a&&a.length?Zu(a,De(l)):w},b.noConflict=function Mw(){return Dt._===this&&(Dt._=cb),this},b.noop=Eg,b.now=za,b.pad=function yg(a,l,d){a=it(a);var f=(l=De(l))?xr(a):0;if(!l||f>=l)return a;var m=(l-f)/2;return Ts(ga(m),d)+a+Ts(ju(m),d)},b.padEnd=function Il(a,l,d){a=it(a);var f=(l=De(l))?xr(a):0;return l&&f<l?a+Ts(l-f,d):a},b.padStart=function Ei(a,l,d){a=it(a);var f=(l=De(l))?xr(a):0;return l&&f<l?Ts(l-f,d)+a:a},b.parseInt=function Mg(a,l,d){return d||null==l?l=0:l&&(l=+l),hb(it(a).replace(Cu,""),l||0)},b.random=function qv(a,l,d){if(d&&"boolean"!=typeof d&&Tn(a,l,d)&&(l=d=w),d===w&&("boolean"==typeof l?(d=l,l=w):"boolean"==typeof a&&(d=a,a=w)),a===w&&l===w?(a=0,l=1):(a=Ji(a),l===w?(l=a,a=0):l=Ji(l)),a>l){var f=a;a=l,l=f}if(d||a%1||l%1){var m=Ac();return ln(a+m*(l-a+W("1e-"+((m+"").length-1))),l)}return Ku(a,l)},b.reduce=function hv(a,l,d){var f=me(a)?Dr:Dp,m=arguments.length<3;return f(a,te(l,4),d,m,xo)},b.reduceRight=function pv(a,l,d){var f=me(a)?Ic:Dp,m=arguments.length<3;return f(a,te(l,4),d,m,Nr)},b.repeat=function ty(a,l,d){return l=(d?Tn(a,l,d):l===w)?1:De(l),Ju(it(a),l)},b.replace=function Jd(){var a=arguments,l=it(a[0]);return a.length<3?l:l.replace(a[1],a[2])},b.result=function Gv(a,l,d){var f=-1,m=(l=Qi(l,a)).length;for(m||(m=1,a=w);++f<m;){var v=null==a?w:a[$i(l[f])];v===w&&(f=m,v=d),a=Jn(v)?v.call(a):v}return a},b.round=lh,b.runInContext=S,b.sample=function gv(a){return(me(a)?Si:xb)(a)},b.size=function iw(a){if(null==a)return 0;if(Pn(a))return Dl(a)?xr(a):a.length;var l=et(a);return l==Ci||l==Bn?a.size:Qc(a).length},b.snakeCase=No,b.some=function Ra(a,l,d){var f=me(a)?_o:Ib;return d&&Tn(a,l,d)&&(l=w),f(a,te(l,3))},b.sortedIndex=function QC(a,l){return Kc(a,l)},b.sortedIndexBy=function Qb(a,l,d){return ed(a,l,te(d,2))},b.sortedIndexOf=function Ad(a,l){var d=null==a?0:a.length;if(d){var f=Kc(a,l);if(f<d&&$n(a[f],l))return f}return-1},b.sortedLastIndex=function Zb(a,l){return Kc(a,l,!0)},b.sortedLastIndexBy=function kf(a,l,d){return ed(a,l,te(d,2),!0)},b.sortedLastIndexOf=function fl(a,l){if(null!=a&&a.length){var f=Kc(a,l,!0)-1;if($n(a[f],l))return f}return-1},b.startCase=Cg,b.startsWith=function Xd(a,l,d){return a=it(a),d=null==d?0:qo(De(d),0,a.length),l=$t(l),a.slice(d,d+l.length)==l},b.subtract=jg,b.sum=function uh(a){return a&&a.length?xp(a,jn):0},b.sumBy=function ly(a,l){return a&&a.length?xp(a,te(l,2)):0},b.template=function hw(a,l,d){var f=b.templateSettings;d&&Tn(a,l,d)&&(l=w),a=it(a),l=xl({},l,f,cd);var D,T,m=xl({},l.imports,f.imports,cd),v=Kt(m),C=Ip(m,v),j=0,R=l.interpolate||wu,F="__p += '",U=ha((l.escape||wu).source+"|"+R.source+"|"+(R===bc?go:wu).source+"|"+(l.evaluate||wu).source+"|$","g"),q="//# sourceURL="+(qe.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++on+"]")+"\n";a.replace(U,function(se,Le,Fe,Rn,En,qn){return Fe||(Fe=Rn),F+=a.slice(j,qn).replace(Un,EC),Le&&(D=!0,F+="' +\n__e("+Le+") +\n'"),En&&(T=!0,F+="';\n"+En+";\n__p += '"),Fe&&(F+="' +\n((__t = ("+Fe+")) == null ? '' : __t) +\n'"),j=qn+se.length,se}),F+="';\n";var re=qe.call(l,"variable")&&l.variable;if(re){if(H_.test(re))throw new ye("Invalid `variable` option passed into `_.template`")}else F="with (obj) {\n"+F+"\n}\n";F=(T?F.replace(z_,""):F).replace(F_,"$1").replace(lt,"$1;"),F="function("+(re||"obj")+") {\n"+(re?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(D?", __e = _.escape":"")+(T?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+F+"return __p\n}";var Ie=xg(function(){return He(v,q+"return "+F).apply(w,C)});if(Ie.source=F,Yd(Ie))throw Ie;return Ie},b.times=function ry(a,l){if((a=De(a))<1||a>ho)return[];var d=Vn,f=ln(a,Vn);l=te(l),a-=Vn;for(var m=Sp(f,l);++d<a;)l(d);return m},b.toFinite=Ji,b.toInteger=De,b.toLength=og,b.toLower=function wg(a){return it(a).toLowerCase()},b.toNumber=Et,b.toSafeInteger=function sg(a){return a?qo(De(a),-ho,ho):0===a?a:0},b.toString=it,b.toUpper=function pw(a){return it(a).toUpperCase()},b.trim=function Tl(a,l,d){if((a=it(a))&&(d||l===w))return eb(a);if(!a||!(l=$t(l)))return a;var f=ci(a),m=ci(l);return To(f,tb(f,m),nb(f,m)+1).join("")},b.trimEnd=function kl(a,l,d){if((a=it(a))&&(d||l===w))return a.slice(0,Lp(a)+1);if(!a||!(l=$t(l)))return a;var f=ci(a);return To(f,0,nb(f,ci(l))+1).join("")},b.trimStart=function eh(a,l,d){if((a=it(a))&&(d||l===w))return a.replace(Cu,"");if(!a||!(l=$t(l)))return a;var f=ci(a);return To(f,tb(f,ci(l))).join("")},b.truncate=function th(a,l){var d=30,f="...";if(vt(l)){var m="separator"in l?l.separator:m;d="length"in l?De(l.length):d,f="omission"in l?$t(l.omission):f}var v=(a=it(a)).length;if(Wo(a)){var C=ci(a);v=C.length}if(d>=v)return a;var D=d-xr(f);if(D<1)return f;var T=C?To(C,0,D).join(""):a.slice(0,D);if(m===w)return T+f;if(C&&(D+=T.length-D),rr(m)){if(a.slice(D).search(m)){var j,R=T;for(m.global||(m=ha(m.source,it(U_.exec(m))+"g")),m.lastIndex=0;j=m.exec(R);)var F=j.index;T=T.slice(0,F===w?D:F)}}else if(a.indexOf($t(m),D)!=D){var U=T.lastIndexOf(m);U>-1&&(T=T.slice(0,U))}return T+f},b.unescape=function nh(a){return(a=it(a))&&Mu.test(a)?a.replace(_c,Eu):a},b.uniqueId=function Ag(a){var l=++fe;return it(a)+l},b.upperCase=fw,b.upperFirst=ih,b.each=Pa,b.eachRight=Bf,b.first=Na,kg(b,function(){var a={};return xn(b,function(l,d){qe.call(b.prototype,d)||(a[d]=l)}),a}(),{chain:!1}),b.VERSION="4.17.21",It(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){b[a].placeholder=b}),It(["drop","take"],function(a,l){Pe.prototype[a]=function(d){d=d===w?1:Ht(De(d),0);var f=this.__filtered__&&!l?new Pe(this):this.clone();return f.__filtered__?f.__takeCount__=ln(d,f.__takeCount__):f.__views__.push({size:ln(d,Vn),type:a+(f.__dir__<0?"Right":"")}),f},Pe.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),It(["filter","map","takeWhile"],function(a,l){var d=l+1,f=1==d||3==d;Pe.prototype[a]=function(m){var v=this.clone();return v.__iteratees__.push({iteratee:te(m,3),type:d}),v.__filtered__=v.__filtered__||f,v}}),It(["head","last"],function(a,l){var d="take"+(l?"Right":"");Pe.prototype[a]=function(){return this[d](1).value()[0]}}),It(["initial","tail"],function(a,l){var d="drop"+(l?"":"Right");Pe.prototype[a]=function(){return this.__filtered__?new Pe(this):this[d](1)}}),Pe.prototype.compact=function(){return this.filter(jn)},Pe.prototype.find=function(a){return this.filter(a).head()},Pe.prototype.findLast=function(a){return this.reverse().find(a)},Pe.prototype.invokeMap=Te(function(a,l){return"function"==typeof a?new Pe(this):this.map(function(d){return Gc(d,a,l)})}),Pe.prototype.reject=function(a){return this.filter(vl(te(a)))},Pe.prototype.slice=function(a,l){a=De(a);var d=this;return d.__filtered__&&(a>0||l<0)?new Pe(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),l!==w&&(d=(l=De(l))<0?d.dropRight(-l):d.take(l-a)),d)},Pe.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Pe.prototype.toArray=function(){return this.take(Vn)},xn(Pe.prototype,function(a,l){var d=/^(?:filter|find|map|reject)|While$/.test(l),f=/^(?:head|last)$/.test(l),m=b[f?"take"+("last"==l?"Right":""):l],v=f||/^find/.test(l);!m||(b.prototype[l]=function(){var C=this.__wrapped__,D=f?[1]:arguments,T=C instanceof Pe,j=D[0],R=T||me(C),F=function(Le){var Fe=m.apply(b,Hi([Le],D));return f&&U?Fe[0]:Fe};R&&d&&"function"==typeof j&&1!=j.length&&(T=R=!1);var U=this.__chain__,q=!!this.__actions__.length,re=v&&!U,Ie=T&&!q;if(!v&&R){C=Ie?C:new Pe(this);var se=a.apply(C,D);return se.__actions__.push({func:or,args:[F],thisArg:w}),new ui(se,U)}return re&&Ie?a.apply(this,D):(se=this.thru(F),re?f?se.value()[0]:se.value():se)})}),It(["pop","push","shift","sort","splice","unshift"],function(a){var l=Ec[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",f=/^(?:pop|shift)$/.test(a);b.prototype[a]=function(){var m=arguments;if(f&&!this.__chain__){var v=this.value();return l.apply(me(v)?v:[],m)}return this[d](function(C){return l.apply(me(C)?C:[],m)})}}),xn(Pe.prototype,function(a,l){var d=b[l];if(d){var f=d.name+"";qe.call(kr,f)||(kr[f]=[]),kr[f].push({name:l,func:d})}}),kr[nl(w,2).name]=[{name:"wrapper",func:w}],Pe.prototype.clone=function jc(){var a=new Pe(this.__wrapped__);return a.__actions__=Zn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Zn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Zn(this.__views__),a},Pe.prototype.reverse=function Rc(){if(this.__filtered__){var a=new Pe(this);a.__dir__=-1,a.__filtered__=!0}else(a=this.clone()).__dir__*=-1;return a},Pe.prototype.value=function zc(){var a=this.__wrapped__.value(),l=this.__dir__,d=me(a),f=l<0,m=d?a.length:0,v=function ka(a,l,d){for(var f=-1,m=d.length;++f<m;){var v=d[f],C=v.size;switch(v.type){case"drop":a+=C;break;case"dropRight":l-=C;break;case"take":l=ln(l,a+C);break;case"takeRight":a=Ht(a,l-C)}}return{start:a,end:l}}(0,m,this.__views__),C=v.start,D=v.end,T=D-C,j=f?D:C-1,R=this.__iteratees__,F=R.length,U=0,q=ln(T,this.__takeCount__);if(!d||!f&&m==T&&q==T)return Jc(a,this.__actions__);var re=[];e:for(;T--&&U<q;){for(var Ie=-1,se=a[j+=l];++Ie<F;){var Le=R[Ie],Rn=Le.type,En=(0,Le.iteratee)(se);if(2==Rn)se=En;else if(!En){if(1==Rn)continue e;break e}}re[U++]=se}return re},b.prototype.at=jf,b.prototype.chain=function Rf(){return gl(this)},b.prototype.commit=function zf(){return new ui(this.value(),this.__chain__)},b.prototype.next=function JC(){this.__values__===w&&(this.__values__=ig(this.value()));var a=this.__index__>=this.__values__.length;return{done:a,value:a?w:this.__values__[this.__index__++]}},b.prototype.plant=function XC(a){for(var l,d=this;d instanceof Pc;){var f=Md(d);f.__index__=0,f.__values__=w,l?m.__wrapped__=f:l=f;var m=f;d=d.__wrapped__}return m.__wrapped__=a,l},b.prototype.reverse=function Pd(){var a=this.__wrapped__;if(a instanceof Pe){var l=a;return this.__actions__.length&&(l=new Pe(this)),(l=l.reverse()).__actions__.push({func:or,args:[Nd],thisArg:w}),new ui(l,this.__chain__)}return this.thru(Nd)},b.prototype.toJSON=b.prototype.valueOf=b.prototype.value=function jd(){return Jc(this.__wrapped__,this.__actions__)},b.prototype.first=b.prototype.head,yo&&(b.prototype[yo]=function qC(){return this}),b}();Dt._=hs,(co=function(){return hs}.call(os,lu,os,ao))!==w&&(ao.exports=co)}.call(this)}},ao=>{ao(ao.s=357)}]);
|
|
2669
|
+
*/ao=hu.nmd(ao),function(){var w,nn="Expected a function",sp="__lodash_hash_undefined__",ze="__lodash_placeholder__",br=1/0,ho=9007199254740991,Vn=4294967295,z_=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],vr="[object Arguments]",ia="[object Array]",oa="[object Boolean]",ra="[object Date]",pc="[object Error]",fc="[object Function]",up="[object GeneratorFunction]",Ci="[object Map]",po="[object Number]",Uo="[object Object]",ss="[object Promise]",fo="[object RegExp]",Bn="[object Set]",aa="[object String]",gc="[object Symbol]",as="[object WeakMap]",Bi="[object ArrayBuffer]",yr="[object DataView]",_u="[object Float32Array]",bu="[object Float64Array]",mc="[object Int8Array]",vu="[object Int16Array]",yu="[object Int32Array]",dp="[object Uint8Array]",Mu="[object Uint8ClampedArray]",Cu="[object Uint16Array]",wu="[object Uint32Array]",F_=/\b__p \+= '';/g,V_=/\b(__p \+=) '' \+/g,lt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_c=/&(?:amp|lt|gt|quot|#39);/g,ct=/[&<>"']/g,Du=RegExp(_c.source),B_=RegExp(ct.source),Ze=/<%-([\s\S]+?)%>/g,ue=/<%([\s\S]+?)%>/g,bc=/<%=([\s\S]+?)%>/g,hC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/,vc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pe=/[\\^$.*+?()[\]{}|]/g,Ke=RegExp(pe.source),xu=/^\s+/,pC=/\s/,H_=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,yc=/\{\n\/\* \[wrapped with (.+)\] \*/,Hn=/,? & /,fC=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,U_=/[()=,{}\[\]\/\s]/,gC=/\\(\\)?/g,go=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Y_=/\w*$/,mC=/^[-+]0x[0-9a-f]+$/i,_C=/^0b[01]+$/i,bC=/^\[object .+?Constructor\]$/,G_=/^0o[0-7]+$/i,vC=/^(?:0|[1-9]\d*)$/,W_=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Su=/($^)/,Un=/['\n\r\u2028\u2029\\]/g,Ue="\\ud800-\\udfff",$="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Q_="\\u2700-\\u27bf",st="a-z\\xdf-\\xf6\\xf8-\\xff",pp="A-Z\\xc0-\\xd6\\xd8-\\xde",Iu="\\ufe0e\\ufe0f",ca="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fp="["+Ue+"]",gp="["+ca+"]",ae="["+$+"]",Cc="\\d+",$_="["+Q_+"]",Yn="["+st+"]",Tu="[^"+Ue+ca+Cc+Q_+st+pp+"]",mp="\\ud83c[\\udffb-\\udfff]",ii="[^"+Ue+"]",_p="(?:\\ud83c[\\udde6-\\uddff]){2}",bp="[\\ud800-\\udbff][\\udc00-\\udfff]",pn="["+pp+"]",K_="(?:"+Yn+"|"+Tu+")",DC="(?:"+pn+"|"+Tu+")",Mr="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",$e="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ua="(?:"+ae+"|"+mp+")?",wc="["+Iu+"]?",cs=wc+ua+"(?:\\u200d(?:"+[ii,_p,bp].join("|")+")"+wc+ua+")*",J_="(?:"+[$_,_p,bp].join("|")+")"+cs,nt="(?:"+[ii+ae+"?",ae,_p,bp,fp].join("|")+")",q_=RegExp("['\u2019]","g"),yp=RegExp(ae,"g"),Dc=RegExp(mp+"(?="+mp+")|"+nt+cs,"g"),dt=RegExp([pn+"?"+Yn+"+"+Mr+"(?="+[gp,pn,"$"].join("|")+")",DC+"+"+$e+"(?="+[gp,pn+K_,"$"].join("|")+")",pn+"?"+K_+"+"+Mr,pn+"+"+$e,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cc,J_].join("|"),"g"),X_=RegExp("[\\u200d"+Ue+$+Iu+"]"),Mp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,B=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],on=-1,ee={};ee[_u]=ee[bu]=ee[mc]=ee[vu]=ee[yu]=ee[dp]=ee[Mu]=ee[Cu]=ee[wu]=!0,ee[vr]=ee[ia]=ee[Bi]=ee[oa]=ee[yr]=ee[ra]=ee[pc]=ee[fc]=ee[Ci]=ee[po]=ee[Uo]=ee[fo]=ee[Bn]=ee[aa]=ee[as]=!1;var xe={};xe[vr]=xe[ia]=xe[Bi]=xe[yr]=xe[oa]=xe[ra]=xe[_u]=xe[bu]=xe[mc]=xe[vu]=xe[yu]=xe[Ci]=xe[po]=xe[Uo]=xe[fo]=xe[Bn]=xe[aa]=xe[gc]=xe[dp]=xe[Mu]=xe[Cu]=xe[wu]=!0,xe[pc]=xe[fc]=xe[as]=!1;var oi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},W=parseFloat,Ce=parseInt,bt="object"==typeof global&&global&&global.Object===Object&&global,Wn="object"==typeof self&&self&&self.Object===Object&&self,xt=bt||Wn||Function("return this")(),Ht=os&&!os.nodeType&&os,wi=Ht&&ao&&!ao.nodeType&&ao,St=wi&&wi.exports===Ht,Cr=St&&bt.process,fn=function(){try{return wi&&wi.require&&wi.require("util").types||Cr&&Cr.binding&&Cr.binding("util")}catch{}}(),we=fn&&fn.isArrayBuffer,ha=fn&&fn.isDate,wr=fn&&fn.isMap,xc=fn&&fn.isRegExp,Go=fn&&fn.isSet,rn=fn&&fn.isTypedArray;function sn(S,N,k){switch(k.length){case 0:return S.call(N);case 1:return S.call(N,k[0]);case 2:return S.call(N,k[0],k[1]);case 3:return S.call(N,k[0],k[1],k[2])}return S.apply(N,k)}function ls(S,N,k,K){for(var ye=-1,He=null==S?0:S.length;++ye<He;){var Je=S[ye];N(K,Je,k(Je),S)}return K}function It(S,N){for(var k=-1,K=null==S?0:S.length;++k<K&&!1!==N(S[k],k,S););return S}function us(S,N){for(var k=null==S?0:S.length;k--&&!1!==N(S[k],k,S););return S}function Eu(S,N){for(var k=-1,K=null==S?0:S.length;++k<K;)if(!N(S[k],k,S))return!1;return!0}function Ye(S,N){for(var k=-1,K=null==S?0:S.length,ye=0,He=[];++k<K;){var Je=S[k];N(Je,k,S)&&(He[ye++]=Je)}return He}function Sc(S,N){return!(null==S||!S.length)&&bo(S,N,0)>-1}function Lu(S,N,k){for(var K=-1,ye=null==S?0:S.length;++K<ye;)if(k(N,S[K]))return!0;return!1}function ht(S,N){for(var k=-1,K=null==S?0:S.length,ye=Array(K);++k<K;)ye[k]=N(S[k],k,S);return ye}function Hi(S,N){for(var k=-1,K=N.length,ye=S.length;++k<K;)S[ye+k]=N[k];return S}function Dr(S,N,k,K){var ye=-1,He=null==S?0:S.length;for(K&&He&&(k=S[++ye]);++ye<He;)k=N(k,S[ye],ye,S);return k}function Ic(S,N,k,K){var ye=null==S?0:S.length;for(K&&ye&&(k=S[--ye]);ye--;)k=N(k,S[ye],ye,S);return k}function _o(S,N){for(var k=-1,K=null==S?0:S.length;++k<K;)if(N(S[k],k,S))return!0;return!1}var gn=wp("length");function ri(S,N,k){var K;return k(S,function(ye,He,Je){if(N(ye,He,Je))return K=He,!1}),K}function ds(S,N,k,K){for(var ye=S.length,He=k+(K?1:-1);K?He--:++He<ye;)if(N(S[He],He,S))return He;return-1}function bo(S,N,k){return N==N?function ob(S,N,k){for(var K=k-1,ye=S.length;++K<ye;)if(S[K]===N)return K;return-1}(S,N,k):ds(S,si,k)}function Tc(S,N,k,K){for(var ye=k-1,He=S.length;++ye<He;)if(K(S[ye],N))return ye;return-1}function si(S){return S!=S}function Cp(S,N){var k=null==S?0:S.length;return k?xp(S,N)/k:NaN}function wp(S){return function(N){return null==N?w:N[S]}}function Nu(S){return function(N){return null==S?w:S[N]}}function Dp(S,N,k,K,ye){return ye(S,function(He,Je,pt){k=K?(K=!1,He):N(k,He,Je,pt)}),k}function xp(S,N){for(var k,K=-1,ye=S.length;++K<ye;){var He=N(S[K]);He!==w&&(k=k===w?He:k+He)}return k}function Sp(S,N){for(var k=-1,K=Array(S);++k<S;)K[k]=N(k);return K}function tb(S){return S&&S.slice(0,Lp(S)+1).replace(xu,"")}function ai(S){return function(N){return S(N)}}function Ip(S,N){return ht(N,function(k){return S[k]})}function kc(S,N){return S.has(N)}function nb(S,N){for(var k=-1,K=S.length;++k<K&&bo(N,S[k],0)>-1;);return k}function ib(S,N){for(var k=S.length;k--&&bo(N,S[k],0)>-1;);return k}function IC(S,N){for(var k=S.length,K=0;k--;)S[k]===N&&++K;return K}var TC=Nu({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),kC=Nu({"&":"&","<":"<",">":">",'"':""","'":"'"});function EC(S){return"\\"+oi[S]}function Wo(S){return X_.test(S)}function kp(S){var N=-1,k=Array(S.size);return S.forEach(function(K,ye){k[++N]=[ye,K]}),k}function Qo(S,N){return function(k){return S(N(k))}}function vo(S,N){for(var k=-1,K=S.length,ye=0,He=[];++k<K;){var Je=S[k];(Je===N||Je===ze)&&(S[k]=ze,He[ye++]=k)}return He}function an(S){var N=-1,k=Array(S.size);return S.forEach(function(K){k[++N]=K}),k}function xr(S){return Wo(S)?function sb(S){for(var N=Dc.lastIndex=0;Dc.test(S);)++N;return N}(S):gn(S)}function ci(S){return Wo(S)?function li(S){return S.match(Dc)||[]}(S):function eb(S){return S.split("")}(S)}function Lp(S){for(var N=S.length;N--&&pC.test(S.charAt(N)););return N}var Au=Nu({"&":"&","<":"<",">":">",""":'"',"'":"'"}),hs=function S(N){var a,k=(N=null==N?xt:hs.defaults(xt.Object(),N,hs.pick(xt,B))).Array,K=N.Date,ye=N.Error,He=N.Function,Je=N.Math,pt=N.Object,pa=N.RegExp,ps=N.String,Mt=N.TypeError,Ec=k.prototype,fs=pt.prototype,Di=N["__core-js_shared__"],fa=He.prototype.toString,qe=fs.hasOwnProperty,fe=0,Pu=(a=/[^.]+$/.exec(Di&&Di.keys&&Di.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",ju=fs.toString,cb=fa.call(pt),lb=xt._,ub=pa("^"+fa.call(qe).replace(pe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ga=St?N.Buffer:w,Zo=N.Symbol,Nc=N.Uint8Array,z=ga?ga.allocUnsafe:w,Ae=Qo(pt.getPrototypeOf,pt),Ui=pt.create,Yi=fs.propertyIsEnumerable,Tt=Ec.splice,Ru=Zo?Zo.isConcatSpreadable:w,yo=Zo?Zo.iterator:w,mn=Zo?Zo.toStringTag:w,gs=function(){try{var a=At(pt,"defineProperty");return a({},"",{}),a}catch{}}(),zu=N.clearTimeout!==xt.clearTimeout&&N.clearTimeout,AC=K&&K.now!==xt.Date.now&&K.now,db=N.setTimeout!==xt.setTimeout&&N.setTimeout,Fu=Je.ceil,ma=Je.floor,cn=pt.getOwnPropertySymbols,Mo=ga?ga.isBuffer:w,Vu=N.isFinite,ms=Ec.join,Co=Qo(pt.keys,pt),Ut=Je.max,ln=Je.min,hb=K.now,pb=N.parseInt,Ac=Je.random,Bu=Ec.reverse,Oc=At(N,"DataView"),Sr=At(N,"Map"),Hu=At(N,"Promise"),Ir=At(N,"Set"),Tr=At(N,"WeakMap"),_s=At(pt,"create"),_a=Tr&&new Tr,kr={},Np=nr(Oc),Uu=nr(Sr),fb=nr(Hu),gb=nr(Ir),Dn=nr(Tr),xi=Zo?Zo.prototype:w,ft=xi?xi.valueOf:w,Yu=xi?xi.toString:w;function b(a){if(kt(a)&&!me(a)&&!(a instanceof je)){if(a instanceof ui)return a;if(qe.call(a,"__wrapped__"))return Dd(a)}return new ui(a)}var bs=function(){function a(){}return function(l){if(!vt(l))return{};if(Ui)return Ui(l);a.prototype=l;var d=new a;return a.prototype=w,d}}();function Pc(){}function ui(a,l){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=w}function je(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Vn,this.__views__=[]}function wo(a){var l=-1,d=null==a?0:a.length;for(this.clear();++l<d;){var f=a[l];this.set(f[0],f[1])}}function Do(a){var l=-1,d=null==a?0:a.length;for(this.clear();++l<d;){var f=a[l];this.set(f[0],f[1])}}function Ko(a){var l=-1,d=null==a?0:a.length;for(this.clear();++l<d;){var f=a[l];this.set(f[0],f[1])}}function Jo(a){var l=-1,d=null==a?0:a.length;for(this.__data__=new Ko;++l<d;)this.add(a[l])}function _n(a){var l=this.__data__=new Do(a);this.size=l.size}function Fp(a,l){var d=me(a),f=!d&&Yr(a),m=!d&&!f&&Kn(a),v=!d&&!f&&!m&&Ba(a),C=d||f||m||v,D=C?Sp(a.length,ps):[],T=D.length;for(var j in a)(l||qe.call(a,j))&&(!C||!("length"==j||m&&("offset"==j||"parent"==j)||v&&("buffer"==j||"byteLength"==j||"byteOffset"==j)||Zi(j,T)))&&D.push(j);return D}function Si(a){var l=a.length;return l?a[Xu(0,l-1)]:w}function Mb(a,l){return ul(Zn(a),qo(l,0,a.length))}function ya(a){return ul(Zn(a))}function Ma(a,l,d){(d!==w&&!$n(a[l],d)||d===w&&!(l in a))&&Gi(a,l,d)}function Er(a,l,d){var f=a[l];(!qe.call(a,l)||!$n(f,d)||d===w&&!(l in a))&&Gi(a,l,d)}function Lr(a,l){for(var d=a.length;d--;)if($n(a[d][0],l))return d;return-1}function Hc(a,l,d,f){return xo(a,function(m,v,C){l(f,m,d(m),C)}),f}function Vp(a,l){return a&&Ii(l,Kt(l),a)}function Gi(a,l,d){"__proto__"==l&&gs?gs(a,l,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[l]=d}function Uc(a,l){for(var d=-1,f=l.length,m=k(f),v=null==a;++d<f;)m[d]=v?w:$d(a,l[d]);return m}function qo(a,l,d){return a==a&&(d!==w&&(a=a<=d?a:d),l!==w&&(a=a>=l?a:l)),a}function di(a,l,d,f,m,v){var C,D=1&l,T=2&l,j=4&l;if(d&&(C=m?d(a,f,m,v):d(a)),C!==w)return C;if(!vt(a))return a;var R=me(a);if(R){if(C=function jb(a){var l=a.length,d=new a.constructor(l);return l&&"string"==typeof a[0]&&qe.call(a,"index")&&(d.index=a.index,d.input=a.input),d}(a),!D)return Zn(a,C)}else{var F=et(a),U=F==fc||F==up;if(Kn(a))return $p(a,D);if(F==Uo||F==vr||U&&!m){if(C=T||U?{}:md(a),!D)return T?function YC(a,l){return Ii(a,cl(a),l)}(a,function Bp(a,l){return a&&Ii(l,bn(l),a)}(C,a)):function kb(a,l){return Ii(a,al(a),l)}(a,Vp(C,a))}else{if(!xe[F])return m?a:{};C=function Rb(a,l,d){var f=a.constructor;switch(l){case Bi:return qc(a);case oa:case ra:return new f(+a);case yr:return function Ia(a,l){var d=l?qc(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}(a,d);case _u:case bu:case mc:case vu:case yu:case dp:case Mu:case Cu:case wu:return Jp(a,d);case Ci:return new f;case po:case aa:return new f(a);case fo:return function Xc(a){var l=new a.constructor(a.source,Y_.exec(a));return l.lastIndex=a.lastIndex,l}(a);case Bn:return new f;case gc:return function Kp(a){return ft?pt(ft.call(a)):{}}(a)}}(a,F,D)}}v||(v=new _n);var q=v.get(a);if(q)return q;v.set(a,C),Xf(a)?a.forEach(function(se){C.add(di(se,l,d,se,a,v))}):wl(a)&&a.forEach(function(se,Ne){C.set(Ne,di(se,l,d,Ne,a,v))});var Ie=R?w:(j?T?ka:ol:T?bn:Kt)(a);return It(Ie||a,function(se,Ne){Ie&&(se=a[Ne=se]),Er(C,Ne,di(se,l,d,Ne,a,v))}),C}function ys(a,l,d){var f=d.length;if(null==a)return!f;for(a=pt(a);f--;){var m=d[f],C=a[m];if(C===w&&!(m in a)||!(0,l[m])(C))return!1}return!0}function Hp(a,l,d){if("function"!=typeof a)throw new Mt(nn);return Br(function(){a.apply(w,d)},l)}function Ms(a,l,d,f){var m=-1,v=Sc,C=!0,D=a.length,T=[],j=l.length;if(!D)return T;d&&(l=ht(l,ai(d))),f?(v=Lu,C=!1):l.length>=200&&(v=kc,C=!1,l=new Jo(l));e:for(;++m<D;){var R=a[m],F=null==d?R:d(R);if(R=f||0!==R?R:0,C&&F==F){for(var U=j;U--;)if(l[U]===F)continue e;T.push(R)}else v(l,F,f)||T.push(R)}return T}b.templateSettings={escape:Ze,evaluate:ue,interpolate:bc,variable:"",imports:{_:b}},(b.prototype=Pc.prototype).constructor=b,(ui.prototype=bs(Pc.prototype)).constructor=ui,(je.prototype=bs(Pc.prototype)).constructor=je,wo.prototype.clear=function Ap(){this.__data__=_s?_s(null):{},this.size=0},wo.prototype.delete=function mb(a){var l=this.has(a)&&delete this.__data__[a];return this.size-=l?1:0,l},wo.prototype.get=function $o(a){var l=this.__data__;if(_s){var d=l[a];return d===sp?w:d}return qe.call(l,a)?l[a]:w},wo.prototype.has=function ba(a){var l=this.__data__;return _s?l[a]!==w:qe.call(l,a)},wo.prototype.set=function _b(a,l){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=_s&&l===w?sp:l,this},Do.prototype.clear=function va(){this.__data__=[],this.size=0},Do.prototype.delete=function Gu(a){var l=this.__data__,d=Lr(l,a);return!(d<0||(d==l.length-1?l.pop():Tt.call(l,d,1),--this.size,0))},Do.prototype.get=function bb(a){var l=this.__data__,d=Lr(l,a);return d<0?w:l[d][1]},Do.prototype.has=function vb(a){return Lr(this.__data__,a)>-1},Do.prototype.set=function OC(a,l){var d=this.__data__,f=Lr(d,a);return f<0?(++this.size,d.push([a,l])):d[f][1]=l,this},Ko.prototype.clear=function Fc(){this.size=0,this.__data__={hash:new wo,map:new(Sr||Do),string:new wo}},Ko.prototype.delete=function Op(a){var l=sl(this,a).delete(a);return this.size-=l?1:0,l},Ko.prototype.get=function Pp(a){return sl(this,a).get(a)},Ko.prototype.has=function Vc(a){return sl(this,a).has(a)},Ko.prototype.set=function jp(a,l){var d=sl(this,a),f=d.size;return d.set(a,l),this.size+=d.size==f?0:1,this},Jo.prototype.add=Jo.prototype.push=function vs(a){return this.__data__.set(a,sp),this},Jo.prototype.has=function yb(a){return this.__data__.has(a)},_n.prototype.clear=function Wu(){this.__data__=new Do,this.size=0},_n.prototype.delete=function Bc(a){var l=this.__data__,d=l.delete(a);return this.size=l.size,d},_n.prototype.get=function PC(a){return this.__data__.get(a)},_n.prototype.has=function Rp(a){return this.__data__.has(a)},_n.prototype.set=function zp(a,l){var d=this.__data__;if(d instanceof Do){var f=d.__data__;if(!Sr||f.length<199)return f.push([a,l]),this.size=++d.size,this;d=this.__data__=new Ko(f)}return d.set(a,l),this.size=d.size,this};var xo=ef(xn),Nr=ef(Xo,!0);function Cb(a,l){var d=!0;return xo(a,function(f,m,v){return d=!!l(f,m,v)}),d}function Xe(a,l,d){for(var f=-1,m=a.length;++f<m;){var v=a[f],C=l(v);if(null!=C&&(D===w?C==C&&!pi(C):d(C,D)))var D=C,T=v}return T}function Up(a,l){var d=[];return xo(a,function(f,m,v){l(f,m,v)&&d.push(f)}),d}function Zt(a,l,d,f,m){var v=-1,C=a.length;for(d||(d=zb),m||(m=[]);++v<C;){var D=a[v];l>0&&d(D)?l>1?Zt(D,l-1,d,f,m):Hi(m,D):f||(m[m.length]=D)}return m}var Ar=Ta(),Or=Ta(!0);function xn(a,l){return a&&Ar(a,l,Kt)}function Xo(a,l){return a&&Or(a,l,Kt)}function Ca(a,l){return Ye(l,function(d){return Jn(a[d])})}function So(a,l){for(var d=0,f=(l=Qi(l,a)).length;null!=a&&d<f;)a=a[$i(l[d++])];return d&&d==f?a:w}function Pr(a,l,d){var f=l(a);return me(a)?f:Hi(f,d(a))}function An(a){return null==a?a===w?"[object Undefined]":"[object Null]":mn&&mn in pt(a)?function gd(a){var l=qe.call(a,mn),d=a[mn];try{a[mn]=w;var f=!0}catch{}var m=ju.call(a);return f&&(l?a[mn]=d:delete a[mn]),m}(a):function gf(a){return ju.call(a)}(a)}function Zu(a,l){return a>l}function G(a,l){return null!=a&&qe.call(a,l)}function jC(a,l){return null!=a&&l in pt(a)}function Yp(a,l,d){for(var f=d?Lu:Sc,m=a[0].length,v=a.length,C=v,D=k(v),T=1/0,j=[];C--;){var R=a[C];C&&l&&(R=ht(R,ai(l))),T=ln(R.length,T),D[C]=!d&&(l||m>=120&&R.length>=120)?new Jo(C&&R):w}R=a[0];var F=-1,U=D[0];e:for(;++F<m&&j.length<T;){var q=R[F],re=l?l(q):q;if(q=d||0!==q?q:0,!(U?kc(U,re):f(j,re,d))){for(C=v;--C;){var Ie=D[C];if(!(Ie?kc(Ie,re):f(a[C],re,d)))continue e}U&&U.push(re),j.push(q)}}return j}function Gc(a,l,d){var f=null==(a=Vr(a,l=Qi(l,a)))?a:a[$i(hi(l))];return null==f?w:sn(f,a,d)}function wb(a){return kt(a)&&An(a)==vr}function Wc(a,l,d,f,m){return a===l||(null==a||null==l||!kt(a)&&!kt(l)?a!=a&&l!=l:function VC(a,l,d,f,m,v){var C=me(a),D=me(l),T=C?ia:et(a),j=D?ia:et(l),R=(T=T==vr?Uo:T)==Uo,F=(j=j==vr?Uo:j)==Uo,U=T==j;if(U&&Kn(a)){if(!Kn(l))return!1;C=!0,R=!1}if(U&&!R)return v||(v=new _n),C||Ba(a)?In(a,l,d,f,m,v):function Ob(a,l,d,f,m,v,C){switch(d){case yr:if(a.byteLength!=l.byteLength||a.byteOffset!=l.byteOffset)return!1;a=a.buffer,l=l.buffer;case Bi:return!(a.byteLength!=l.byteLength||!v(new Nc(a),new Nc(l)));case oa:case ra:case po:return $n(+a,+l);case pc:return a.name==l.name&&a.message==l.message;case fo:case aa:return a==l+"";case Ci:var D=kp;case Bn:if(D||(D=an),a.size!=l.size&&!(1&f))return!1;var j=C.get(a);if(j)return j==l;f|=2,C.set(a,l);var R=In(D(a),D(l),f,m,v,C);return C.delete(a),R;case gc:if(ft)return ft.call(a)==ft.call(l)}return!1}(a,l,T,d,f,m,v);if(!(1&d)){var q=R&&qe.call(a,"__wrapped__"),re=F&&qe.call(l,"__wrapped__");if(q||re){var Ie=q?a.value():a,se=re?l.value():l;return v||(v=new _n),m(Ie,se,d,f,v)}}return!!U&&(v||(v=new _n),function Pb(a,l,d,f,m,v){var C=1&d,D=ol(a),T=D.length;if(T!=ol(l).length&&!C)return!1;for(var F=T;F--;){var U=D[F];if(!(C?U in l:qe.call(l,U)))return!1}var q=v.get(a),re=v.get(l);if(q&&re)return q==l&&re==a;var Ie=!0;v.set(a,l),v.set(l,a);for(var se=C;++F<T;){var Ne=a[U=D[F]],Fe=l[U];if(f)var Rn=C?f(Fe,Ne,U,l,a,v):f(Ne,Fe,U,a,l,v);if(!(Rn===w?Ne===Fe||m(Ne,Fe,d,f,v):Rn)){Ie=!1;break}se||(se="constructor"==U)}if(Ie&&!se){var En=a.constructor,qn=l.constructor;En!=qn&&"constructor"in a&&"constructor"in l&&!("function"==typeof En&&En instanceof En&&"function"==typeof qn&&qn instanceof qn)&&(Ie=!1)}return v.delete(a),v.delete(l),Ie}(a,l,d,f,m,v))}(a,l,d,f,Wc,m))}function Da(a,l,d,f){var m=d.length,v=m,C=!f;if(null==a)return!v;for(a=pt(a);m--;){var D=d[m];if(C&&D[2]?D[1]!==a[D[0]]:!(D[0]in a))return!1}for(;++m<v;){var T=(D=d[m])[0],j=a[T],R=D[1];if(C&&D[2]){if(j===w&&!(T in a))return!1}else{var F=new _n;if(f)var U=f(j,R,T,a,l,F);if(!(U===w?Wc(R,j,3,f,F):U))return!1}}return!0}function Cs(a){return!(!vt(a)||function Fb(a){return!!Pu&&Pu in a}(a))&&(Jn(a)?ub:bC).test(nr(a))}function Wi(a){return"function"==typeof a?a:null==a?jn:"object"==typeof a?me(a)?Wp(a[0],a[1]):Gp(a):El(a)}function Qc(a){if(!Na(a))return Co(a);var l=[];for(var d in pt(a))qe.call(a,d)&&"constructor"!=d&&l.push(d);return l}function jr(a,l){return a<l}function $u(a,l){var d=-1,f=Pn(a)?k(a.length):[];return xo(a,function(m,v,C){f[++d]=l(m,v,C)}),f}function Gp(a){var l=fd(a);return 1==l.length&&l[0][2]?ff(l[0][0],l[0][1]):function(d){return d===a||Da(d,a,l)}}function Wp(a,l){return _d(a)&&Es(l)?ff($i(a),l):function(d){var f=$d(d,a);return f===w&&f===l?pg(d,a):Wc(l,f,3)}}function Ku(a,l,d,f,m){a!==l&&Ar(l,function(v,C){if(m||(m=new _n),vt(v))!function HC(a,l,d,f,m,v,C){var D=ll(a,d),T=ll(l,d),j=C.get(T);if(j)Ma(a,d,j);else{var R=v?v(D,T,d+"",a,l,C):w,F=R===w;if(F){var U=me(T),q=!U&&Kn(T),re=!U&&!q&&Ba(T);R=T,U||q||re?me(D)?R=D:at(D)?R=Zn(D):q?(F=!1,R=$p(T,!0)):re?(F=!1,R=Jp(T,!0)):R=[]:Va(T)||Yr(T)?(R=D,Yr(D)?R=rg(D):(!vt(D)||Jn(D))&&(R=md(T))):F=!1}F&&(C.set(T,R),m(R,T,f,v,C),C.delete(T)),Ma(a,d,R)}}(a,l,C,d,Ku,f,m);else{var D=f?f(ll(a,C),v,C+"",a,l,m):w;D===w&&(D=v),Ma(a,C,D)}},bn)}function Ju(a,l){var d=a.length;if(d)return Zi(l+=l<0?d:0,d)?a[l]:w}function On(a,l,d){l=l.length?ht(l,function(v){return me(v)?function(C){return So(C,1===v.length?v[0]:v)}:v}):[jn];var f=-1;return l=ht(l,ai(te())),function xC(S,N){var k=S.length;for(S.sort(N);k--;)S[k]=S[k].value;return S}($u(a,function(v,C,D){return{criteria:ht(l,function(j){return j(v)}),index:++f,value:v}}),function(v,C){return function xs(a,l,d){for(var f=-1,m=a.criteria,v=l.criteria,C=m.length,D=d.length;++f<C;){var T=qp(m[f],v[f]);if(T)return f>=D?T:T*("desc"==d[f]?-1:1)}return a.index-l.index}(v,C,d)})}function Rr(a,l,d){for(var f=-1,m=l.length,v={};++f<m;){var C=l[f],D=So(a,C);d(D,C)&&er(v,Qi(C,a),D)}return v}function $c(a,l,d,f){var m=f?Tc:bo,v=-1,C=l.length,D=a;for(a===l&&(l=Zn(l)),d&&(D=ht(a,ai(d)));++v<C;)for(var T=0,j=l[v],R=d?d(j):j;(T=m(D,R,T,f))>-1;)D!==a&&Tt.call(D,T,1),Tt.call(a,T,1);return a}function Qp(a,l){for(var d=a?l.length:0,f=d-1;d--;){var m=l[d];if(d==f||m!==v){var v=m;Zi(m)?Tt.call(a,m,1):P(a,m)}}return a}function Xu(a,l){return a+ma(Ac()*(l-a+1))}function ed(a,l){var d="";if(!a||l<1||l>ho)return d;do{l%2&&(d+=a),(l=ma(l/2))&&(a+=a)}while(l);return d}function Te(a,l){return Cd(Bb(a,l,jn),a+"")}function Sb(a){return Si(Rs(a))}function td(a,l){var d=Rs(a);return ul(d,qo(l,0,d.length))}function er(a,l,d,f){if(!vt(a))return a;for(var m=-1,v=(l=Qi(l,a)).length,C=v-1,D=a;null!=D&&++m<v;){var T=$i(l[m]),j=d;if("__proto__"===T||"constructor"===T||"prototype"===T)return a;if(m!=C){var R=D[T];(j=f?f(R,T,D):w)===w&&(j=vt(R)?R:Zi(l[m+1])?[]:{})}Er(D,T,j),D=D[T]}return a}var Ib=_a?function(a,l){return _a.set(a,l),a}:jn,xa=gs?function(a,l){return gs(a,"toString",{configurable:!0,enumerable:!1,value:ah(l),writable:!0})}:jn;function nd(a){return ul(Rs(a))}function Sn(a,l,d){var f=-1,m=a.length;l<0&&(l=-l>m?0:m+l),(d=d>m?m:d)<0&&(d+=m),m=l>d?0:d-l>>>0,l>>>=0;for(var v=k(m);++f<m;)v[f]=a[f+l];return v}function Tb(a,l){var d;return xo(a,function(f,m,v){return!(d=l(f,m,v))}),!!d}function Kc(a,l,d){var f=0,m=null==a?f:a.length;if("number"==typeof l&&l==l&&m<=2147483647){for(;f<m;){var v=f+m>>>1,C=a[v];null!==C&&!pi(C)&&(d?C<=l:C<l)?f=v+1:m=v}return m}return id(a,l,jn,d)}function id(a,l,d,f){var m=0,v=null==a?0:a.length;if(0===v)return 0;for(var C=(l=d(l))!=l,D=null===l,T=pi(l),j=l===w;m<v;){var R=ma((m+v)/2),F=d(a[R]),U=F!==w,q=null===F,re=F==F,Ie=pi(F);if(C)var se=f||re;else se=j?re&&(f||U):D?re&&U&&(f||!q):T?re&&U&&!q&&(f||!Ie):!q&&!Ie&&(f?F<=l:F<l);se?m=R+1:v=R}return ln(v,4294967294)}function od(a,l){for(var d=-1,f=a.length,m=0,v=[];++d<f;){var C=a[d],D=l?l(C):C;if(!d||!$n(D,T)){var T=D;v[m++]=0===C?0:C}}return v}function ws(a){return"number"==typeof a?a:pi(a)?NaN:+a}function $t(a){if("string"==typeof a)return a;if(me(a))return ht(a,$t)+"";if(pi(a))return Yu?Yu.call(a):"";var l=a+"";return"0"==l&&1/a==-br?"-0":l}function tr(a,l,d){var f=-1,m=Sc,v=a.length,C=!0,D=[],T=D;if(d)C=!1,m=Lu;else if(v>=200){var j=l?null:Ab(a);if(j)return an(j);C=!1,m=kc,T=new Jo}else T=l?[]:D;e:for(;++f<v;){var R=a[f],F=l?l(R):R;if(R=d||0!==R?R:0,C&&F==F){for(var U=T.length;U--;)if(T[U]===F)continue e;l&&T.push(F),D.push(R)}else m(T,F,d)||(T!==D&&T.push(F),D.push(R))}return D}function P(a,l){return null==(a=Vr(a,l=Qi(l,a)))||delete a[$i(hi(l))]}function rd(a,l,d,f){return er(a,l,d(So(a,l)),f)}function Io(a,l,d,f){for(var m=a.length,v=f?m:-1;(f?v--:++v<m)&&l(a[v],v,a););return d?Sn(a,f?0:v,f?v+1:m):Sn(a,f?v+1:0,f?m:v)}function Jc(a,l){var d=a;return d instanceof je&&(d=d.value()),Dr(l,function(f,m){return m.func.apply(m.thisArg,Hi([f],m.args))},d)}function zr(a,l,d){var f=a.length;if(f<2)return f?tr(a[0]):[];for(var m=-1,v=k(f);++m<f;)for(var C=a[m],D=-1;++D<f;)D!=m&&(v[m]=Ms(v[m]||C,a[D],l,d));return tr(Zt(v,1),l,d)}function Zp(a,l,d){for(var f=-1,m=a.length,v=l.length,C={};++f<m;)d(C,a[f],f<v?l[f]:w);return C}function sd(a){return at(a)?a:[]}function ad(a){return"function"==typeof a?a:jn}function Qi(a,l){return me(a)?a:_d(a,l)?[a]:vf(it(a))}var Sa=Te;function To(a,l,d){var f=a.length;return d=d===w?f:d,!l&&d>=f?a:Sn(a,l,d)}var Ds=zu||function(a){return xt.clearTimeout(a)};function $p(a,l){if(l)return a.slice();var d=a.length,f=z?z(d):new a.constructor(d);return a.copy(f),f}function qc(a){var l=new a.constructor(a.byteLength);return new Nc(l).set(new Nc(a)),l}function Jp(a,l){var d=l?qc(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function qp(a,l){if(a!==l){var d=a!==w,f=null===a,m=a==a,v=pi(a),C=l!==w,D=null===l,T=l==l,j=pi(l);if(!D&&!j&&!v&&a>l||v&&C&&T&&!D&&!j||f&&C&&T||!d&&T||!m)return 1;if(!f&&!v&&!j&&a<l||j&&d&&m&&!f&&!v||D&&d&&m||!C&&m||!T)return-1}return 0}function Ss(a,l,d,f){for(var m=-1,v=a.length,C=d.length,D=-1,T=l.length,j=Ut(v-C,0),R=k(T+j),F=!f;++D<T;)R[D]=l[D];for(;++m<C;)(F||m<v)&&(R[d[m]]=a[m]);for(;j--;)R[D++]=a[m++];return R}function Xp(a,l,d,f){for(var m=-1,v=a.length,C=-1,D=d.length,T=-1,j=l.length,R=Ut(v-D,0),F=k(R+j),U=!f;++m<R;)F[m]=a[m];for(var q=m;++T<j;)F[q+T]=l[T];for(;++C<D;)(U||m<v)&&(F[q+d[C]]=a[m++]);return F}function Zn(a,l){var d=-1,f=a.length;for(l||(l=k(f));++d<f;)l[d]=a[d];return l}function Ii(a,l,d,f){var m=!d;d||(d={});for(var v=-1,C=l.length;++v<C;){var D=l[v],T=f?f(d[D],a[D],D,d,a):w;T===w&&(T=a[D]),m?Gi(d,D,T):Er(d,D,T)}return d}function el(a,l){return function(d,f){var m=me(d)?ls:Hc,v=l?l():{};return m(d,a,te(f,2),v)}}function Is(a){return Te(function(l,d){var f=-1,m=d.length,v=m>1?d[m-1]:w,C=m>2?d[2]:w;for(v=a.length>3&&"function"==typeof v?(m--,v):w,C&&Tn(d[0],d[1],C)&&(v=m<3?w:v,m=1),l=pt(l);++f<m;){var D=d[f];D&&a(l,D,f,v)}return l})}function ef(a,l){return function(d,f){if(null==d)return d;if(!Pn(d))return a(d,f);for(var m=d.length,v=l?m:-1,C=pt(d);(l?v--:++v<m)&&!1!==f(C[v],v,C););return d}}function Ta(a){return function(l,d,f){for(var m=-1,v=pt(l),C=f(l),D=C.length;D--;){var T=C[a?D:++m];if(!1===d(v[T],T,v))break}return l}}function nf(a){return function(l){var d=Wo(l=it(l))?ci(l):w,f=d?d[0]:l.charAt(0),m=d?To(d,1).join(""):l.slice(1);return f[a]()+m}}function Fr(a){return function(l){return Dr(Dg(Sl(l).replace(q_,"")),a,"")}}function tl(a){return function(){var l=arguments;switch(l.length){case 0:return new a;case 1:return new a(l[0]);case 2:return new a(l[0],l[1]);case 3:return new a(l[0],l[1],l[2]);case 4:return new a(l[0],l[1],l[2],l[3]);case 5:return new a(l[0],l[1],l[2],l[3],l[4]);case 6:return new a(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new a(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var d=bs(a.prototype),f=a.apply(d,l);return vt(f)?f:d}}function Eb(a){return function(l,d,f){var m=pt(l);if(!Pn(l)){var v=te(d,3);l=Kt(l),d=function(D){return v(m[D],D,m)}}var C=a(l,d,f);return C>-1?m[v?l[C]:C]:w}}function sf(a){return ko(function(l){var d=l.length,f=d,m=ui.prototype.thru;for(a&&l.reverse();f--;){var v=l[f];if("function"!=typeof v)throw new Mt(nn);if(m&&!C&&"wrapper"==rl(v))var C=new ui([],!0)}for(f=C?f:d;++f<d;){var D=rl(v=l[f]),T="wrapper"==D?pd(v):w;C=T&&La(T[0])&&424==T[1]&&!T[4].length&&1==T[9]?C[rl(T[0])].apply(C,T[3]):1==v.length&&La(v)?C[D]():C.thru(v)}return function(){var j=arguments,R=j[0];if(C&&1==j.length&&me(R))return C.plant(R).value();for(var F=0,U=d?l[F].apply(this,j):R;++F<d;)U=l[F].call(this,U);return U}})}function nl(a,l,d,f,m,v,C,D,T,j){var R=128&l,F=1&l,U=2&l,q=24&l,re=512&l,Ie=U?w:tl(a);return function se(){for(var Ne=arguments.length,Fe=k(Ne),Rn=Ne;Rn--;)Fe[Rn]=arguments[Rn];if(q)var En=ks(se),qn=IC(Fe,En);if(f&&(Fe=Ss(Fe,f,m,q)),v&&(Fe=Xp(Fe,v,C,q)),Ne-=qn,q&&Ne<j){var Lt=vo(Fe,En);return Nb(a,l,nl,se.placeholder,d,Fe,Lt,D,T,j-Ne)}var fi=F?d:this,Ao=U?fi[a]:a;return Ne=Fe.length,D?Fe=Md(Fe,D):re&&Ne>1&&Fe.reverse(),R&&T<Ne&&(Fe.length=T),this&&this!==xt&&this instanceof se&&(Ao=Ie||tl(Ao)),Ao.apply(fi,Fe)}}function il(a,l){return function(d,f){return function zC(a,l,d,f){return xn(a,function(m,v,C){l(f,d(m),v,C)}),f}(d,a,l(f),{})}}function cd(a,l){return function(d,f){var m;if(d===w&&f===w)return l;if(d!==w&&(m=d),f!==w){if(m===w)return f;"string"==typeof d||"string"==typeof f?(d=$t(d),f=$t(f)):(d=ws(d),f=ws(f)),m=a(d,f)}return m}}function af(a){return ko(function(l){return l=ht(l,ai(te())),Te(function(d){var f=this;return a(l,function(m){return sn(m,f,d)})})})}function Ts(a,l){var d=(l=l===w?" ":$t(l)).length;if(d<2)return d?ed(l,a):l;var f=ed(l,Fu(a/xr(l)));return Wo(l)?To(ci(f),0,a).join(""):f.slice(0,a)}function Lb(a){return function(l,d,f){return f&&"number"!=typeof f&&Tn(l,d,f)&&(d=f=w),l=Ji(l),d===w?(d=l,l=0):d=Ji(d),function xb(a,l,d,f){for(var m=-1,v=Ut(Fu((l-a)/(d||1)),0),C=k(v);v--;)C[f?v:++m]=a,a+=d;return C}(l,d,f=f===w?l<d?1:-1:Ji(f),a)}}function ld(a){return function(l,d){return"string"==typeof l&&"string"==typeof d||(l=Et(l),d=Et(d)),a(l,d)}}function Nb(a,l,d,f,m,v,C,D,T,j){var R=8&l;l|=R?32:64,4&(l&=~(R?64:32))||(l&=-4);var Ie=[a,l,m,R?v:w,R?C:w,R?w:v,R?w:C,D,T,j],se=d.apply(w,Ie);return La(a)&&mf(se,Ie),se.placeholder=f,_f(se,a,l)}function cf(a){var l=Je[a];return function(d,f){if(d=Et(d),(f=null==f?0:ln(De(f),292))&&Vu(d)){var m=(it(d)+"e").split("e");return+((m=(it(l(m[0]+"e"+(+m[1]+f)))+"e").split("e"))[0]+"e"+(+m[1]-f))}return l(d)}}var Ab=Ir&&1/an(new Ir([,-0]))[1]==br?function(a){return new Ir(a)}:Eg;function ud(a){return function(l){var d=et(l);return d==Ci?kp(l):d==Bn?function Ep(S){var N=-1,k=Array(S.size);return S.forEach(function(K){k[++N]=[K,K]}),k}(l):function SC(S,N){return ht(N,function(k){return[k,S[k]]})}(l,a(l))}}function Ti(a,l,d,f,m,v,C,D){var T=2&l;if(!T&&"function"!=typeof a)throw new Mt(nn);var j=f?f.length:0;if(j||(l&=-97,f=m=w),C=C===w?C:Ut(De(C),0),D=D===w?D:De(D),j-=m?m.length:0,64&l){var R=f,F=m;f=m=w}var U=T?w:pd(a),q=[a,l,d,f,m,R,F,v,C,D];if(U&&function vd(a,l){var d=a[1],f=l[1],m=d|f;if(!(m<131||(128==f&&8==d||128==f&&256==d&&a[7].length<=l[8]||384==f&&l[7].length<=l[8]&&8==d)))return a;1&f&&(a[2]=l[2],m|=1&d?0:4);var D=l[3];if(D){var T=a[3];a[3]=T?Ss(T,D,l[4]):D,a[4]=T?vo(a[3],ze):l[4]}(D=l[5])&&(a[5]=(T=a[5])?Xp(T,D,l[6]):D,a[6]=T?vo(a[5],ze):l[6]),(D=l[7])&&(a[7]=D),128&f&&(a[8]=null==a[8]?l[8]:ln(a[8],l[8])),null==a[9]&&(a[9]=l[9]),a[0]=l[0],a[1]=m}(q,U),a=q[0],l=q[1],d=q[2],f=q[3],m=q[4],!(D=q[9]=q[9]===w?T?0:a.length:Ut(q[9]-j,0))&&24&l&&(l&=-25),l&&1!=l)re=8==l||16==l?function rf(a,l,d){var f=tl(a);return function m(){for(var v=arguments.length,C=k(v),D=v,T=ks(m);D--;)C[D]=arguments[D];var j=v<3&&C[0]!==T&&C[v-1]!==T?[]:vo(C,T);return(v-=j.length)<d?Nb(a,l,nl,m.placeholder,w,C,j,w,w,d-v):sn(this&&this!==xt&&this instanceof m?f:a,this,C)}}(a,l,D):32!=l&&33!=l||m.length?nl.apply(w,q):function GC(a,l,d,f){var m=1&l,v=tl(a);return function C(){for(var D=-1,T=arguments.length,j=-1,R=f.length,F=k(R+T),U=this&&this!==xt&&this instanceof C?v:a;++j<R;)F[j]=f[j];for(;T--;)F[j++]=arguments[++D];return sn(U,m?d:this,F)}}(a,l,d,f);else var re=function tf(a,l,d){var f=1&l,m=tl(a);return function v(){return(this&&this!==xt&&this instanceof v?m:a).apply(f?d:this,arguments)}}(a,l,d);return _f((U?Ib:mf)(re,q),a,l)}function dd(a,l,d,f){return a===w||$n(a,fs[d])&&!qe.call(f,d)?l:a}function hd(a,l,d,f,m,v){return vt(a)&&vt(l)&&(v.set(l,a),Ku(a,l,w,hd,v),v.delete(l)),a}function lf(a){return Va(a)?w:a}function In(a,l,d,f,m,v){var C=1&d,D=a.length,T=l.length;if(D!=T&&!(C&&T>D))return!1;var j=v.get(a),R=v.get(l);if(j&&R)return j==l&&R==a;var F=-1,U=!0,q=2&d?new Jo:w;for(v.set(a,l),v.set(l,a);++F<D;){var re=a[F],Ie=l[F];if(f)var se=C?f(Ie,re,F,l,a,v):f(re,Ie,F,a,l,v);if(se!==w){if(se)continue;U=!1;break}if(q){if(!_o(l,function(Ne,Fe){if(!kc(q,Fe)&&(re===Ne||m(re,Ne,d,f,v)))return q.push(Fe)})){U=!1;break}}else if(re!==Ie&&!m(re,Ie,d,f,v)){U=!1;break}}return v.delete(a),v.delete(l),U}function ko(a){return Cd(Bb(a,w,Id),a+"")}function ol(a){return Pr(a,Kt,al)}function ka(a){return Pr(a,bn,cl)}var pd=_a?function(a){return _a.get(a)}:Eg;function rl(a){for(var l=a.name+"",d=kr[l],f=qe.call(kr,l)?d.length:0;f--;){var m=d[f],v=m.func;if(null==v||v==a)return m.name}return l}function ks(a){return(qe.call(b,"placeholder")?b:a).placeholder}function te(){var a=b.iteratee||Ua;return a=a===Ua?Wi:a,arguments.length?a(arguments[0],arguments[1]):a}function sl(a,l){var d=a.__data__;return function bd(a){var l=typeof a;return"string"==l||"number"==l||"symbol"==l||"boolean"==l?"__proto__"!==a:null===a}(l)?d["string"==typeof l?"string":"hash"]:d.map}function fd(a){for(var l=Kt(a),d=l.length;d--;){var f=l[d],m=a[f];l[d]=[f,m,Es(m)]}return l}function At(a,l){var d=function Tp(S,N){return null==S?w:S[N]}(a,l);return Cs(d)?d:w}var al=cn?function(a){return null==a?[]:(a=pt(a),Ye(cn(a),function(l){return Yi.call(a,l)}))}:Ll,cl=cn?function(a){for(var l=[];a;)Hi(l,al(a)),a=Ae(a);return l}:Ll,et=An;function df(a,l,d){for(var f=-1,m=(l=Qi(l,a)).length,v=!1;++f<m;){var C=$i(l[f]);if(!(v=null!=a&&d(a,C)))break;a=a[C]}return v||++f!=m?v:!!(m=null==a?0:a.length)&&Os(m)&&Zi(C,m)&&(me(a)||Yr(a))}function md(a){return"function"!=typeof a.constructor||Na(a)?{}:bs(Ae(a))}function zb(a){return me(a)||Yr(a)||!!(Ru&&a&&a[Ru])}function Zi(a,l){var d=typeof a;return!!(l=l??ho)&&("number"==d||"symbol"!=d&&vC.test(a))&&a>-1&&a%1==0&&a<l}function Tn(a,l,d){if(!vt(d))return!1;var f=typeof l;return!!("number"==f?Pn(d)&&Zi(l,d.length):"string"==f&&l in d)&&$n(d[l],a)}function _d(a,l){if(me(a))return!1;var d=typeof a;return!("number"!=d&&"symbol"!=d&&"boolean"!=d&&null!=a&&!pi(a))||V.test(a)||!hC.test(a)||null!=l&&a in pt(l)}function La(a){var l=rl(a),d=b[l];if("function"!=typeof d||!(l in je.prototype))return!1;if(a===d)return!0;var f=pd(d);return!!f&&a===f[0]}(Oc&&et(new Oc(new ArrayBuffer(1)))!=yr||Sr&&et(new Sr)!=Ci||Hu&&et(Hu.resolve())!=ss||Ir&&et(new Ir)!=Bn||Tr&&et(new Tr)!=as)&&(et=function(a){var l=An(a),d=l==Uo?a.constructor:w,f=d?nr(d):"";if(f)switch(f){case Np:return yr;case Uu:return Ci;case fb:return ss;case gb:return Bn;case Dn:return as}return l});var pf=Di?Jn:Ya;function Na(a){var l=a&&a.constructor;return a===("function"==typeof l&&l.prototype||fs)}function Es(a){return a==a&&!vt(a)}function ff(a,l){return function(d){return null!=d&&d[a]===l&&(l!==w||a in pt(d))}}function Bb(a,l,d){return l=Ut(l===w?a.length-1:l,0),function(){for(var f=arguments,m=-1,v=Ut(f.length-l,0),C=k(v);++m<v;)C[m]=f[l+m];m=-1;for(var D=k(l+1);++m<l;)D[m]=f[m];return D[l]=d(C),sn(a,this,D)}}function Vr(a,l){return l.length<2?a:So(a,Sn(l,0,-1))}function Md(a,l){for(var d=a.length,f=ln(l.length,d),m=Zn(a);f--;){var v=l[f];a[f]=Zi(v,d)?m[v]:w}return a}function ll(a,l){if(("constructor"!==l||"function"!=typeof a[l])&&"__proto__"!=l)return a[l]}var mf=bf(Ib),Br=db||function(a,l){return xt.setTimeout(a,l)},Cd=bf(xa);function _f(a,l,d){var f=l+"";return Cd(a,function hf(a,l){var d=l.length;if(!d)return a;var f=d-1;return l[f]=(d>1?"& ":"")+l[f],l=l.join(d>2?", ":" "),a.replace(H_,"{\n/* [wrapped with "+l+"] */\n")}(f,function wd(a,l){return It(z_,function(d){var f="_."+d[0];l&d[1]&&!Sc(a,f)&&a.push(f)}),a.sort()}(function uf(a){var l=a.match(yc);return l?l[1].split(Hn):[]}(f),d)))}function bf(a){var l=0,d=0;return function(){var f=hb(),m=16-(f-d);if(d=f,m>0){if(++l>=800)return arguments[0]}else l=0;return a.apply(w,arguments)}}function ul(a,l){var d=-1,f=a.length,m=f-1;for(l=l===w?f:l;++d<l;){var v=Xu(d,m),C=a[v];a[v]=a[d],a[d]=C}return a.length=l,a}var vf=function Vb(a){var l=Ki(a,function(f){return 500===d.size&&d.clear(),f}),d=l.cache;return l}(function(a){var l=[];return 46===a.charCodeAt(0)&&l.push(""),a.replace(vc,function(d,f,m,v){l.push(m?v.replace(gC,"$1"):f||d)}),l});function $i(a){if("string"==typeof a||pi(a))return a;var l=a+"";return"0"==l&&1/a==-br?"-0":l}function nr(a){if(null!=a){try{return fa.call(a)}catch{}try{return a+""}catch{}}return""}function Dd(a){if(a instanceof je)return a.clone();var l=new ui(a.__wrapped__,a.__chain__);return l.__actions__=Zn(a.__actions__),l.__index__=a.__index__,l.__values__=a.__values__,l}var yf=Te(function(a,l){return at(a)?Ms(a,Zt(l,1,at,!0)):[]}),Mf=Te(function(a,l){var d=hi(l);return at(d)&&(d=w),at(a)?Ms(a,Zt(l,1,at,!0),te(d,2)):[]}),Hr=Te(function(a,l){var d=hi(l);return at(d)&&(d=w),at(a)?Ms(a,Zt(l,1,at,!0),w,d):[]});function Df(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=null==d?0:De(d);return m<0&&(m=Ut(f+m,0)),ds(a,te(l,3),m)}function Sd(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=f-1;return d!==w&&(m=De(d),m=d<0?Ut(f+m,0):ln(m,f-1)),ds(a,te(l,3),m,!0)}function Id(a){return null!=a&&a.length?Zt(a,1):[]}function Aa(a){return a&&a.length?a[0]:w}var kd=Te(function(a){var l=ht(a,sd);return l.length&&l[0]===a[0]?Yp(l):[]}),Ed=Te(function(a){var l=hi(a),d=ht(a,sd);return l===hi(d)?l=w:d.pop(),d.length&&d[0]===a[0]?Yp(d,te(l,2)):[]}),Ld=Te(function(a){var l=hi(a),d=ht(a,sd);return(l="function"==typeof l?l:w)&&d.pop(),d.length&&d[0]===a[0]?Yp(d,w,l):[]});function hi(a){var l=null==a?0:a.length;return l?a[l-1]:w}var Wb=Te(Nd);function Nd(a,l){return a&&a.length&&l&&l.length?$c(a,l):a}var Od=ko(function(a,l){var d=null==a?0:a.length,f=Uc(a,l);return Qp(a,ht(l,function(m){return Zi(m,d)?+m:m}).sort(qp)),f});function Pd(a){return null==a?a:Bu.call(a)}var qb=Te(function(a){return tr(Zt(a,1,at,!0))}),Xb=Te(function(a){var l=hi(a);return at(l)&&(l=w),tr(Zt(a,1,at,!0),te(l,2))}),ev=Te(function(a){var l=hi(a);return l="function"==typeof l?l:w,tr(Zt(a,1,at,!0),w,l)});function Of(a){if(!a||!a.length)return[];var l=0;return a=Ye(a,function(d){if(at(d))return l=Ut(d.length,l),!0}),Sp(l,function(d){return ht(a,wp(d))})}function nv(a,l){if(!a||!a.length)return[];var d=Of(a);return null==l?d:ht(d,function(f){return sn(l,w,f)})}var ZC=Te(function(a,l){return at(a)?Ms(a,l):[]}),$C=Te(function(a){return zr(Ye(a,at))}),KC=Te(function(a){var l=hi(a);return at(l)&&(l=w),zr(Ye(a,at),te(l,2))}),Pf=Te(function(a){var l=hi(a);return l="function"==typeof l?l:w,zr(Ye(a,at),w,l)}),iv=Te(Of),sv=Te(function(a){var l=a.length,d=l>1?a[l-1]:w;return d="function"==typeof d?(a.pop(),d):w,nv(a,d)});function gl(a){var l=b(a);return l.__chain__=!0,l}function or(a,l){return l(a)}var jf=ko(function(a){var l=a.length,d=l?a[0]:0,f=this.__wrapped__,m=function(v){return Uc(v,a)};return!(l>1||this.__actions__.length)&&f instanceof je&&Zi(d)?((f=f.slice(d,+d+(l?1:0))).__actions__.push({func:or,args:[m],thisArg:w}),new ui(f,this.__chain__).thru(function(v){return l&&!v.length&&v.push(w),v})):this.thru(m)}),ew=el(function(a,l,d){qe.call(a,d)?++a[d]:Gi(a,d,1)}),av=Eb(Df),cv=Eb(Sd);function ja(a,l){return(me(a)?It:xo)(a,te(l,3))}function Bf(a,l){return(me(a)?us:Nr)(a,te(l,3))}var Vd=el(function(a,l,d){qe.call(a,d)?a[d].push(l):Gi(a,d,[l])}),zt=Te(function(a,l,d){var f=-1,m="function"==typeof l,v=Pn(a)?k(a.length):[];return xo(a,function(C){v[++f]=m?sn(l,C,d):Gc(C,l,d)}),v}),hv=el(function(a,l,d){Gi(a,d,l)});function ml(a,l){return(me(a)?ht:$u)(a,te(l,3))}var Hf=el(function(a,l,d){a[d?0:1].push(l)},function(){return[[],[]]}),Uf=Te(function(a,l){if(null==a)return[];var d=l.length;return d>1&&Tn(a,l[0],l[1])?l=[]:d>2&&Tn(l[0],l[1],l[2])&&(l=[l[0]]),On(a,Zt(l,1),[])}),Fa=AC||function(){return xt.Date.now()};function Bd(a,l,d){return l=d?w:l,Ti(a,128,w,w,w,w,l=a&&null==l?a.length:l)}function Gf(a,l){var d;if("function"!=typeof l)throw new Mt(nn);return a=De(a),function(){return--a>0&&(d=l.apply(this,arguments)),a<=1&&(l=w),d}}var _l=Te(function(a,l,d){var f=1;if(d.length){var m=vo(d,ks(_l));f|=32}return Ti(a,f,l,d,m)}),Hd=Te(function(a,l,d){var f=3;if(d.length){var m=vo(d,ks(Hd));f|=32}return Ti(l,f,a,d,m)});function Wf(a,l,d){var f,m,v,C,D,T,j=0,R=!1,F=!1,U=!0;if("function"!=typeof a)throw new Mt(nn);function q(Lt){var fi=f,Ao=m;return f=m=w,j=Lt,C=a.apply(Ao,fi)}function re(Lt){return j=Lt,D=Br(Ne,l),R?q(Lt):C}function se(Lt){var fi=Lt-T;return T===w||fi>=l||fi<0||F&&Lt-j>=v}function Ne(){var Lt=Fa();if(se(Lt))return Fe(Lt);D=Br(Ne,function Ie(Lt){var Li=l-(Lt-T);return F?ln(Li,v-(Lt-j)):Li}(Lt))}function Fe(Lt){return D=w,U&&f?q(Lt):(f=m=w,C)}function qn(){var Lt=Fa(),fi=se(Lt);if(f=arguments,m=this,T=Lt,fi){if(D===w)return re(T);if(F)return Ds(D),D=Br(Ne,l),q(T)}return D===w&&(D=Br(Ne,l)),C}return l=Et(l)||0,vt(d)&&(R=!!d.leading,v=(F="maxWait"in d)?Ut(Et(d.maxWait)||0,l):v,U="trailing"in d?!!d.trailing:U),qn.cancel=function Rn(){D!==w&&Ds(D),j=0,f=T=m=D=w},qn.flush=function En(){return D===w?C:Fe(Fa())},qn}var Ud=Te(function(a,l){return Hp(a,1,l)}),Qf=Te(function(a,l,d){return Hp(a,Et(l)||0,d)});function Ki(a,l){if("function"!=typeof a||null!=l&&"function"!=typeof l)throw new Mt(nn);var d=function(){var f=arguments,m=l?l.apply(this,f):f[0],v=d.cache;if(v.has(m))return v.get(m);var C=a.apply(this,f);return d.cache=v.set(m,C)||v,C};return d.cache=new(Ki.Cache||Ko),d}function vl(a){if("function"!=typeof a)throw new Mt(nn);return function(){var l=arguments;switch(l.length){case 0:return!a.call(this);case 1:return!a.call(this,l[0]);case 2:return!a.call(this,l[0],l[1]);case 3:return!a.call(this,l[0],l[1],l[2])}return!a.apply(this,l)}}Ki.Cache=Ko;var yl=Sa(function(a,l){var d=(l=1==l.length&&me(l[0])?ht(l[0],ai(te())):ht(Zt(l,1),ai(te()))).length;return Te(function(f){for(var m=-1,v=ln(f.length,d);++m<v;)f[m]=l[m].call(this,f[m]);return sn(a,this,f)})}),Gd=Te(function(a,l){var d=vo(l,ks(Gd));return Ti(a,32,w,l,d)}),Ml=Te(function(a,l){var d=vo(l,ks(Ml));return Ti(a,64,w,l,d)}),Cl=ko(function(a,l){return Ti(a,256,w,w,w,l)});function $n(a,l){return a===l||a!=a&&l!=l}var xv=ld(Zu),Jf=ld(function(a,l){return a>=l}),Yr=wb(function(){return arguments}())?wb:function(a){return kt(a)&&qe.call(a,"callee")&&!Yi.call(a,"callee")},me=k.isArray,ow=we?ai(we):function FC(a){return kt(a)&&An(a)==Bi};function Pn(a){return null!=a&&Os(a.length)&&!Jn(a)}function at(a){return kt(a)&&Pn(a)}var Kn=Mo||Ya,Se=ha?ai(ha):function wa(a){return kt(a)&&An(a)==ra};function Qd(a){if(!kt(a))return!1;var l=An(a);return l==pc||"[object DOMException]"==l||"string"==typeof a.message&&"string"==typeof a.name&&!Va(a)}function Jn(a){if(!vt(a))return!1;var l=An(a);return l==fc||l==up||"[object AsyncFunction]"==l||"[object Proxy]"==l}function qf(a){return"number"==typeof a&&a==De(a)}function Os(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=ho}function vt(a){var l=typeof a;return null!=a&&("object"==l||"function"==l)}function kt(a){return null!=a&&"object"==typeof a}var wl=wr?ai(wr):function Yt(a){return kt(a)&&et(a)==Ci};function Zd(a){return"number"==typeof a||kt(a)&&An(a)==po}function Va(a){if(!kt(a)||An(a)!=Uo)return!1;var l=Ae(a);if(null===l)return!0;var d=qe.call(l,"constructor")&&l.constructor;return"function"==typeof d&&d instanceof d&&fa.call(d)==cb}var rr=xc?ai(xc):function BC(a){return kt(a)&&An(a)==fo},Xf=Go?ai(Go):function Db(a){return kt(a)&&et(a)==Bn};function Dl(a){return"string"==typeof a||!me(a)&&kt(a)&&An(a)==aa}function pi(a){return"symbol"==typeof a||kt(a)&&An(a)==gc}var Ba=rn?ai(rn):function Qn(a){return kt(a)&&Os(a.length)&&!!ee[An(a)]},aw=ld(jr),ng=ld(function(a,l){return a<=l});function ig(a){if(!a)return[];if(Pn(a))return Dl(a)?ci(a):Zn(a);if(yo&&a[yo])return function NC(S){for(var N,k=[];!(N=S.next()).done;)k.push(N.value);return k}(a[yo]());var l=et(a);return(l==Ci?kp:l==Bn?an:Rs)(a)}function Ji(a){return a?(a=Et(a))===br||a===-br?17976931348623157e292*(a<0?-1:1):a==a?a:0:0===a?a:0}function De(a){var l=Ji(a),d=l%1;return l==l?d?l-d:l:0}function og(a){return a?qo(De(a),0,Vn):0}function Et(a){if("number"==typeof a)return a;if(pi(a))return NaN;if(vt(a)){var l="function"==typeof a.valueOf?a.valueOf():a;a=vt(l)?l+"":l}if("string"!=typeof a)return 0===a?a:+a;a=tb(a);var d=_C.test(a);return d||G_.test(a)?Ce(a.slice(2),d?2:8):mC.test(a)?NaN:+a}function rg(a){return Ii(a,bn(a))}function it(a){return null==a?"":$t(a)}var Ov=Is(function(a,l){if(Na(l)||Pn(l))Ii(l,Kt(l),a);else for(var d in l)qe.call(l,d)&&Er(a,d,l[d])}),ag=Is(function(a,l){Ii(l,bn(l),a)}),xl=Is(function(a,l,d,f){Ii(l,bn(l),a,f)}),cg=Is(function(a,l,d,f){Ii(l,Kt(l),a,f)}),Pv=ko(Uc),Rv=Te(function(a,l){a=pt(a);var d=-1,f=l.length,m=f>2?l[2]:w;for(m&&Tn(l[0],l[1],m)&&(f=1);++d<f;)for(var v=l[d],C=bn(v),D=-1,T=C.length;++D<T;){var j=C[D],R=a[j];(R===w||$n(R,fs[j])&&!qe.call(a,j))&&(a[j]=v[j])}return a}),_e=Te(function(a){return a.push(w,hd),sn(Uv,w,a)});function $d(a,l,d){var f=null==a?w:So(a,l);return f===w?d:f}function pg(a,l){return null!=a&&df(a,l,jC)}var fg=il(function(a,l,d){null!=l&&"function"!=typeof l.toString&&(l=ju.call(l)),a[l]=d},ah(jn)),gg=il(function(a,l,d){null!=l&&"function"!=typeof l.toString&&(l=ju.call(l)),qe.call(a,l)?a[l].push(d):a[l]=[d]},te),kn=Te(Gc);function Kt(a){return Pn(a)?Fp(a):Qc(a)}function bn(a){return Pn(a)?Fp(a,!0):function Zc(a){if(!vt(a))return function yd(a){var l=[];if(null!=a)for(var d in pt(a))l.push(d);return l}(a);var l=Na(a),d=[];for(var f in a)"constructor"==f&&(l||!qe.call(a,f))||d.push(f);return d}(a)}var cw=Is(function(a,l,d){Ku(a,l,d)}),Uv=Is(function(a,l,d,f){Ku(a,l,d,f)}),lw=ko(function(a,l){var d={};if(null==a)return d;var f=!1;l=ht(l,function(v){return v=Qi(v,a),f||(f=v.length>1),v}),Ii(a,ka(a),d),f&&(d=di(d,7,lf));for(var m=l.length;m--;)P(d,l[m]);return d}),mg=ko(function(a,l){return null==a?{}:function qu(a,l){return Rr(a,l,function(d,f){return pg(a,f)})}(a,l)});function Gv(a,l){if(null==a)return{};var d=ht(ka(a),function(f){return[f]});return l=te(l),Rr(a,d,function(f,m){return l(f,m[0])})}var Jd=ud(Kt),Ha=ud(bn);function Rs(a){return null==a?[]:Ip(a,Kt(a))}var vg=Fr(function(a,l,d){return l=l.toLowerCase(),a+(d?qd(l):l)});function qd(a){return sh(it(a).toLowerCase())}function Sl(a){return(a=it(a))&&a.replace(W_,TC).replace(yp,"")}var dw=Fr(function(a,l,d){return a+(d?"-":"")+l.toLowerCase()}),I=Fr(function(a,l,d){return a+(d?" ":"")+l.toLowerCase()}),ty=nf("toLowerCase"),No=Fr(function(a,l,d){return a+(d?"_":"")+l.toLowerCase()}),Cg=Fr(function(a,l,d){return a+(d?" ":"")+sh(l)}),fw=Fr(function(a,l,d){return a+(d?" ":"")+l.toUpperCase()}),sh=nf("toUpperCase");function Dg(a,l,d){return a=it(a),(l=d?w:l)===w?function LC(S){return Mp.test(S)}(a)?function Ou(S){return S.match(dt)||[]}(a):function Nn(S){return S.match(fC)||[]}(a):a.match(l)||[]}var xg=Te(function(a,l){try{return sn(a,w,l)}catch(d){return Qd(d)?d:new ye(d)}}),iy=ko(function(a,l){return It(l,function(d){d=$i(d),Gi(a,d,_l(a[d],a))}),a});function ah(a){return function(){return a}}var Ig=sf(),Tg=sf(!0);function jn(a){return a}function Ua(a){return Wi("function"==typeof a?a:di(a,1))}var vw=Te(function(a,l){return function(d){return Gc(d,a,l)}}),yw=Te(function(a,l){return function(d){return Gc(a,d,l)}});function kg(a,l,d){var f=Kt(l),m=Ca(l,f);null==d&&(!vt(l)||!m.length&&f.length)&&(d=l,l=a,a=this,m=Ca(l,Kt(l)));var v=!(vt(d)&&"chain"in d&&!d.chain),C=Jn(a);return It(m,function(D){var T=l[D];a[D]=T,C&&(a.prototype[D]=function(){var j=this.__chain__;if(v||j){var R=a(this.__wrapped__),F=R.__actions__=Zn(this.__actions__);return F.push({func:T,args:arguments,thisArg:a}),R.__chain__=j,R}return T.apply(a,Hi([this.value()],arguments))})}),a}function Eg(){}var ww=af(ht),Dw=af(Eu),sr=af(_o);function El(a){return _d(a)?wp($i(a)):function UC(a){return function(l){return So(l,a)}}(a)}var Lg=Lb(),ch=Lb(!0);function Ll(){return[]}function Ya(){return!1}var cy=cd(function(a,l){return a+l},0),ly=cf("ceil"),Nl=cd(function(a,l){return a/l},1),zs=cf("floor"),dh=cd(function(a,l){return a*l},1),hh=cf("round"),jg=cd(function(a,l){return a-l},0);return b.after=function Yf(a,l){if("function"!=typeof l)throw new Mt(nn);return a=De(a),function(){if(--a<1)return l.apply(this,arguments)}},b.ary=Bd,b.assign=Ov,b.assignIn=ag,b.assignInWith=xl,b.assignWith=cg,b.at=Pv,b.before=Gf,b.bind=_l,b.bindAll=iy,b.bindKey=Hd,b.castArray=function Kf(){if(!arguments.length)return[];var a=arguments[0];return me(a)?a:[a]},b.chain=gl,b.chunk=function xd(a,l,d){l=(d?Tn(a,l,d):l===w)?1:Ut(De(l),0);var f=null==a?0:a.length;if(!f||l<1)return[];for(var m=0,v=0,C=k(Fu(f/l));m<f;)C[v++]=Sn(a,m,m+=l);return C},b.compact=function Hb(a){for(var l=-1,d=null==a?0:a.length,f=0,m=[];++l<d;){var v=a[l];v&&(m[f++]=v)}return m},b.concat=function Ub(){var a=arguments.length;if(!a)return[];for(var l=k(a-1),d=arguments[0],f=a;f--;)l[f-1]=arguments[f];return Hi(me(d)?Zn(d):[d],Zt(l,1))},b.cond=function Sg(a){var l=null==a?0:a.length,d=te();return a=l?ht(a,function(f){if("function"!=typeof f[1])throw new Mt(nn);return[d(f[0]),f[1]]}):[],Te(function(f){for(var m=-1;++m<l;){var v=a[m];if(sn(v[0],this,f))return sn(v[1],this,f)}})},b.conforms=function gw(a){return function Yc(a){var l=Kt(a);return function(d){return ys(d,a,l)}}(di(a,1))},b.constant=ah,b.countBy=ew,b.create=function jv(a,l){var d=bs(a);return null==l?d:Vp(d,l)},b.curry=function bl(a,l,d){var f=Ti(a,8,w,w,w,w,w,l=d?w:l);return f.placeholder=bl.placeholder,f},b.curryRight=function bv(a,l,d){var f=Ti(a,16,w,w,w,w,w,l=d?w:l);return f.placeholder=bv.placeholder,f},b.debounce=Wf,b.defaults=Rv,b.defaultsDeep=_e,b.defer=Ud,b.delay=Qf,b.difference=yf,b.differenceBy=Mf,b.differenceWith=Hr,b.drop=function Cf(a,l,d){var f=null==a?0:a.length;return f?Sn(a,(l=d||l===w?1:De(l))<0?0:l,f):[]},b.dropRight=function wf(a,l,d){var f=null==a?0:a.length;return f?Sn(a,0,(l=f-(l=d||l===w?1:De(l)))<0?0:l):[]},b.dropRightWhile=function Yb(a,l){return a&&a.length?Io(a,te(l,3),!0,!0):[]},b.dropWhile=function WC(a,l){return a&&a.length?Io(a,te(l,3),!0):[]},b.fill=function dl(a,l,d,f){var m=null==a?0:a.length;return m?(d&&"number"!=typeof d&&Tn(a,l,d)&&(d=0,f=m),function Qu(a,l,d,f){var m=a.length;for((d=De(d))<0&&(d=-d>m?0:m+d),(f=f===w||f>m?m:De(f))<0&&(f+=m),f=d>f?0:og(f);d<f;)a[d++]=l;return a}(a,l,d,f)):[]},b.filter=function Ff(a,l){return(me(a)?Ye:Up)(a,te(l,3))},b.flatMap=function lv(a,l){return Zt(ml(a,l),1)},b.flatMapDeep=function uv(a,l){return Zt(ml(a,l),br)},b.flatMapDepth=function Vf(a,l,d){return d=d===w?1:De(d),Zt(ml(a,l),d)},b.flatten=Id,b.flattenDeep=function xf(a){return null!=a&&a.length?Zt(a,br):[]},b.flattenDepth=function Td(a,l){return null!=a&&a.length?Zt(a,l=l===w?1:De(l)):[]},b.flip=function Zf(a){return Ti(a,512)},b.flow=Ig,b.flowRight=Tg,b.fromPairs=function Sf(a){for(var l=-1,d=null==a?0:a.length,f={};++l<d;){var m=a[l];f[m[0]]=m[1]}return f},b.functions=function Vv(a){return null==a?[]:Ca(a,Kt(a))},b.functionsIn=function hg(a){return null==a?[]:Ca(a,bn(a))},b.groupBy=Vd,b.initial=function If(a){return null!=a&&a.length?Sn(a,0,-1):[]},b.intersection=kd,b.intersectionBy=Ed,b.intersectionWith=Ld,b.invert=fg,b.invertBy=gg,b.invokeMap=zt,b.iteratee=Ua,b.keyBy=hv,b.keys=Kt,b.keysIn=bn,b.map=ml,b.mapKeys=function Kd(a,l){var d={};return l=te(l,3),xn(a,function(f,m,v){Gi(d,l(f,m,v),f)}),d},b.mapValues=function Hv(a,l){var d={};return l=te(l,3),xn(a,function(f,m,v){Gi(d,m,l(f,m,v))}),d},b.matches=function _w(a){return Gp(di(a,1))},b.matchesProperty=function bw(a,l){return Wp(a,di(l,1))},b.memoize=Ki,b.merge=cw,b.mergeWith=Uv,b.method=vw,b.methodOf=yw,b.mixin=kg,b.negate=vl,b.nthArg=function Cw(a){return a=De(a),Te(function(l){return Ju(l,a)})},b.omit=lw,b.omitBy=function Yv(a,l){return Gv(a,vl(te(l)))},b.once=function Yd(a){return Gf(2,a)},b.orderBy=function Ra(a,l,d,f){return null==a?[]:(me(l)||(l=null==l?[]:[l]),me(d=f?w:d)||(d=null==d?[]:[d]),On(a,l,d))},b.over=ww,b.overArgs=yl,b.overEvery=Dw,b.overSome=sr,b.partial=Gd,b.partialRight=Ml,b.partition=Hf,b.pick=mg,b.pickBy=Gv,b.property=El,b.propertyOf=function oy(a){return function(l){return null==a?w:So(a,l)}},b.pull=Wb,b.pullAll=Nd,b.pullAllBy=function Ad(a,l,d){return a&&a.length&&l&&l.length?$c(a,l,te(d,2)):a},b.pullAllWith=function pl(a,l,d){return a&&a.length&&l&&l.length?$c(a,l,w,d):a},b.pullAt=Od,b.range=Lg,b.rangeRight=ch,b.rearg=Cl,b.reject=function gv(a,l){return(me(a)?Ye:Up)(a,vl(te(l,3)))},b.remove=function Ur(a,l){var d=[];if(!a||!a.length)return d;var f=-1,m=[],v=a.length;for(l=te(l,3);++f<v;){var C=a[f];l(C,f,a)&&(d.push(C),m.push(f))}return Qp(a,m),d},b.rest=function Ls(a,l){if("function"!=typeof a)throw new Mt(nn);return Te(a,l=l===w?l:De(l))},b.reverse=Pd,b.sampleSize=function _v(a,l,d){return l=(d?Tn(a,l,d):l===w)?1:De(l),(me(a)?Mb:td)(a,l)},b.set=function js(a,l,d){return null==a?a:er(a,l,d)},b.setWith=function Qv(a,l,d,f){return f="function"==typeof f?f:w,null==a?a:er(a,l,d,f)},b.shuffle=function nw(a){return(me(a)?ya:nd)(a)},b.slice=function Qb(a,l,d){var f=null==a?0:a.length;return f?(d&&"number"!=typeof d&&Tn(a,l,d)?(l=0,d=f):(l=null==l?0:De(l),d=d===w?f:De(d)),Sn(a,l,d)):[]},b.sortBy=Uf,b.sortedUniq=function Rd(a){return a&&a.length?od(a):[]},b.sortedUniqBy=function Ef(a,l){return a&&a.length?od(a,te(l,2)):[]},b.split=function th(a,l,d){return d&&"number"!=typeof d&&Tn(a,l,d)&&(l=d=w),(d=d===w?Vn:d>>>0)?(a=it(a))&&("string"==typeof l||null!=l&&!rr(l))&&!(l=$t(l))&&Wo(a)?To(ci(a),0,d):a.split(l,d):[]},b.spread=function $f(a,l){if("function"!=typeof a)throw new Mt(nn);return l=null==l?0:Ut(De(l),0),Te(function(d){var f=d[l],m=To(d,0,l);return f&&Hi(m,f),sn(a,this,m)})},b.tail=function Lf(a){var l=null==a?0:a.length;return l?Sn(a,1,l):[]},b.take=function Nf(a,l,d){return a&&a.length?Sn(a,0,(l=d||l===w?1:De(l))<0?0:l):[]},b.takeRight=function Af(a,l,d){var f=null==a?0:a.length;return f?Sn(a,(l=f-(l=d||l===w?1:De(l)))<0?0:l,f):[]},b.takeRightWhile=function Kb(a,l){return a&&a.length?Io(a,te(l,3),!1,!0):[]},b.takeWhile=function Jb(a,l){return a&&a.length?Io(a,te(l,3)):[]},b.tap=function Eo(a,l){return l(a),a},b.throttle=function Wd(a,l,d){var f=!0,m=!0;if("function"!=typeof a)throw new Mt(nn);return vt(d)&&(f="leading"in d?!!d.leading:f,m="trailing"in d?!!d.trailing:m),Wf(a,l,{leading:f,maxWait:l,trailing:m})},b.thru=or,b.toArray=ig,b.toPairs=Jd,b.toPairsIn=Ha,b.toPath=function ay(a){return me(a)?ht(a,$i):pi(a)?[a]:Zn(vf(it(a)))},b.toPlainObject=rg,b.transform=function Zv(a,l,d){var f=me(a),m=f||Kn(a)||Ba(a);if(l=te(l,4),null==d){var v=a&&a.constructor;d=m?f?new v:[]:vt(a)&&Jn(v)?bs(Ae(a)):{}}return(m?It:xn)(a,function(C,D,T){return l(d,C,D,T)}),d},b.unary=function vv(a){return Bd(a,1)},b.union=qb,b.unionBy=Xb,b.unionWith=ev,b.uniq=function ir(a){return a&&a.length?tr(a):[]},b.uniqBy=function Pa(a,l){return a&&a.length?tr(a,te(l,2)):[]},b.uniqWith=function tv(a,l){return l="function"==typeof l?l:w,a&&a.length?tr(a,w,l):[]},b.unset=function _g(a,l){return null==a||P(a,l)},b.unzip=Of,b.unzipWith=nv,b.update=function $v(a,l,d){return null==a?a:rd(a,l,ad(d))},b.updateWith=function Kv(a,l,d,f){return f="function"==typeof f?f:w,null==a?a:rd(a,l,ad(d),f)},b.values=Rs,b.valuesIn=function Jv(a){return null==a?[]:Ip(a,bn(a))},b.without=ZC,b.words=Dg,b.wrap=function yv(a,l){return Gd(ad(l),a)},b.xor=$C,b.xorBy=KC,b.xorWith=Pf,b.zip=iv,b.zipObject=function ov(a,l){return Zp(a||[],l||[],Er)},b.zipObjectDeep=function rv(a,l){return Zp(a||[],l||[],er)},b.zipWith=sv,b.entries=Jd,b.entriesIn=Ha,b.extend=ag,b.extendWith=xl,kg(b,b),b.add=cy,b.attempt=xg,b.camelCase=vg,b.capitalize=qd,b.ceil=ly,b.clamp=function qv(a,l,d){return d===w&&(d=l,l=w),d!==w&&(d=(d=Et(d))==d?d:0),l!==w&&(l=(l=Et(l))==l?l:0),qo(Et(a),l,d)},b.clone=function Ns(a){return di(a,4)},b.cloneDeep=function Cv(a){return di(a,5)},b.cloneDeepWith=function wv(a,l){return di(a,5,l="function"==typeof l?l:w)},b.cloneWith=function Mv(a,l){return di(a,4,l="function"==typeof l?l:w)},b.conformsTo=function Dv(a,l){return null==l||ys(a,l,Kt(l))},b.deburr=Sl,b.defaultTo=function mw(a,l){return null==a||a!=a?l:a},b.divide=Nl,b.endsWith=function uw(a,l,d){a=it(a),l=$t(l);var f=a.length,m=d=d===w?f:qo(De(d),0,f);return(d-=l.length)>=0&&a.slice(d,m)==l},b.eq=$n,b.escape=function Xd(a){return(a=it(a))&&B_.test(a)?a.replace(ct,kC):a},b.escapeRegExp=function ey(a){return(a=it(a))&&Ke.test(a)?a.replace(pe,"\\$&"):a},b.every=function tw(a,l,d){var f=me(a)?Eu:Cb;return d&&Tn(a,l,d)&&(l=w),f(a,te(l,3))},b.find=av,b.findIndex=Df,b.findKey=function Le(a,l){return ri(a,te(l,3),xn)},b.findLast=cv,b.findLastIndex=Sd,b.findLastKey=function lg(a,l){return ri(a,te(l,3),Xo)},b.floor=zs,b.forEach=ja,b.forEachRight=Bf,b.forIn=function ug(a,l){return null==a?a:Ar(a,te(l,3),bn)},b.forInRight=function zv(a,l){return null==a?a:Or(a,te(l,3),bn)},b.forOwn=function Fv(a,l){return a&&xn(a,te(l,3))},b.forOwnRight=function dg(a,l){return a&&Xo(a,te(l,3))},b.get=$d,b.gt=xv,b.gte=Jf,b.has=function Bv(a,l){return null!=a&&df(a,l,G)},b.hasIn=pg,b.head=Aa,b.identity=jn,b.includes=function dv(a,l,d,f){a=Pn(a)?a:Rs(a),d=d&&!f?De(d):0;var m=a.length;return d<0&&(d=Ut(m+d,0)),Dl(a)?d<=m&&a.indexOf(l,d)>-1:!!m&&bo(a,l,d)>-1},b.indexOf=function hl(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=null==d?0:De(d);return m<0&&(m=Ut(f+m,0)),bo(a,l,m)},b.inRange=function bg(a,l,d){return l=Ji(l),d===w?(d=l,l=0):d=Ji(d),function RC(a,l,d){return a>=ln(l,d)&&a<Ut(l,d)}(a=Et(a),l,d)},b.invoke=kn,b.isArguments=Yr,b.isArray=me,b.isArrayBuffer=ow,b.isArrayLike=Pn,b.isArrayLikeObject=at,b.isBoolean=function Sv(a){return!0===a||!1===a||kt(a)&&An(a)==oa},b.isBuffer=Kn,b.isDate=Se,b.isElement=function Iv(a){return kt(a)&&1===a.nodeType&&!Va(a)},b.isEmpty=function rw(a){if(null==a)return!0;if(Pn(a)&&(me(a)||"string"==typeof a||"function"==typeof a.splice||Kn(a)||Ba(a)||Yr(a)))return!a.length;var l=et(a);if(l==Ci||l==Bn)return!a.size;if(Na(a))return!Qc(a).length;for(var d in a)if(qe.call(a,d))return!1;return!0},b.isEqual=function As(a,l){return Wc(a,l)},b.isEqualWith=function ki(a,l,d){var f=(d="function"==typeof d?d:w)?d(a,l):w;return f===w?Wc(a,l,w,d):!!f},b.isError=Qd,b.isFinite=function Tv(a){return"number"==typeof a&&Vu(a)},b.isFunction=Jn,b.isInteger=qf,b.isLength=Os,b.isMap=wl,b.isMatch=function Ps(a,l){return a===l||Da(a,l,fd(l))},b.isMatchWith=function kv(a,l,d){return d="function"==typeof d?d:w,Da(a,l,fd(l),d)},b.isNaN=function Ev(a){return Zd(a)&&a!=+a},b.isNative=function Lv(a){if(pf(a))throw new ye("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Cs(a)},b.isNil=function Av(a){return null==a},b.isNull=function Nv(a){return null===a},b.isNumber=Zd,b.isObject=vt,b.isObjectLike=kt,b.isPlainObject=Va,b.isRegExp=rr,b.isSafeInteger=function Lo(a){return qf(a)&&a>=-ho&&a<=ho},b.isSet=Xf,b.isString=Dl,b.isSymbol=pi,b.isTypedArray=Ba,b.isUndefined=function eg(a){return a===w},b.isWeakMap=function sw(a){return kt(a)&&et(a)==as},b.isWeakSet=function tg(a){return kt(a)&&"[object WeakSet]"==An(a)},b.join=function Oa(a,l){return null==a?"":ms.call(a,l)},b.kebabCase=dw,b.last=hi,b.lastIndexOf=function Tf(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=f;return d!==w&&(m=(m=De(d))<0?Ut(f+m,0):ln(m,f-1)),l==l?function rb(S,N,k){for(var K=k+1;K--;)if(S[K]===N)return K;return K}(a,l,m):ds(a,si,m,!0)},b.lowerCase=I,b.lowerFirst=ty,b.lt=aw,b.lte=ng,b.max=function lh(a){return a&&a.length?Xe(a,jn,Zu):w},b.maxBy=function Fs(a,l){return a&&a.length?Xe(a,te(l,2),Zu):w},b.mean=function uh(a){return Cp(a,jn)},b.meanBy=function Al(a,l){return Cp(a,te(l,2))},b.min=function Og(a){return a&&a.length?Xe(a,jn,jr):w},b.minBy=function Pg(a,l){return a&&a.length?Xe(a,te(l,2),jr):w},b.stubArray=Ll,b.stubFalse=Ya,b.stubObject=function ry(){return{}},b.stubString=function ar(){return""},b.stubTrue=function Ng(){return!0},b.multiply=dh,b.nth=function Gb(a,l){return a&&a.length?Ju(a,De(l)):w},b.noConflict=function Mw(){return xt._===this&&(xt._=lb),this},b.noop=Eg,b.now=Fa,b.pad=function yg(a,l,d){a=it(a);var f=(l=De(l))?xr(a):0;if(!l||f>=l)return a;var m=(l-f)/2;return Ts(ma(m),d)+a+Ts(Fu(m),d)},b.padEnd=function Il(a,l,d){a=it(a);var f=(l=De(l))?xr(a):0;return l&&f<l?a+Ts(l-f,d):a},b.padStart=function Ei(a,l,d){a=it(a);var f=(l=De(l))?xr(a):0;return l&&f<l?Ts(l-f,d)+a:a},b.parseInt=function Mg(a,l,d){return d||null==l?l=0:l&&(l=+l),pb(it(a).replace(xu,""),l||0)},b.random=function Xv(a,l,d){if(d&&"boolean"!=typeof d&&Tn(a,l,d)&&(l=d=w),d===w&&("boolean"==typeof l?(d=l,l=w):"boolean"==typeof a&&(d=a,a=w)),a===w&&l===w?(a=0,l=1):(a=Ji(a),l===w?(l=a,a=0):l=Ji(l)),a>l){var f=a;a=l,l=f}if(d||a%1||l%1){var m=Ac();return ln(a+m*(l-a+W("1e-"+((m+"").length-1))),l)}return Xu(a,l)},b.reduce=function pv(a,l,d){var f=me(a)?Dr:Dp,m=arguments.length<3;return f(a,te(l,4),d,m,xo)},b.reduceRight=function fv(a,l,d){var f=me(a)?Ic:Dp,m=arguments.length<3;return f(a,te(l,4),d,m,Nr)},b.repeat=function ny(a,l,d){return l=(d?Tn(a,l,d):l===w)?1:De(l),ed(it(a),l)},b.replace=function eh(){var a=arguments,l=it(a[0]);return a.length<3?l:l.replace(a[1],a[2])},b.result=function Wv(a,l,d){var f=-1,m=(l=Qi(l,a)).length;for(m||(m=1,a=w);++f<m;){var v=null==a?w:a[$i(l[f])];v===w&&(f=m,v=d),a=Jn(v)?v.call(a):v}return a},b.round=hh,b.runInContext=S,b.sample=function mv(a){return(me(a)?Si:Sb)(a)},b.size=function iw(a){if(null==a)return 0;if(Pn(a))return Dl(a)?xr(a):a.length;var l=et(a);return l==Ci||l==Bn?a.size:Qc(a).length},b.snakeCase=No,b.some=function za(a,l,d){var f=me(a)?_o:Tb;return d&&Tn(a,l,d)&&(l=w),f(a,te(l,3))},b.sortedIndex=function QC(a,l){return Kc(a,l)},b.sortedIndexBy=function Zb(a,l,d){return id(a,l,te(d,2))},b.sortedIndexOf=function jd(a,l){var d=null==a?0:a.length;if(d){var f=Kc(a,l);if(f<d&&$n(a[f],l))return f}return-1},b.sortedLastIndex=function $b(a,l){return Kc(a,l,!0)},b.sortedLastIndexBy=function kf(a,l,d){return id(a,l,te(d,2),!0)},b.sortedLastIndexOf=function fl(a,l){if(null!=a&&a.length){var f=Kc(a,l,!0)-1;if($n(a[f],l))return f}return-1},b.startCase=Cg,b.startsWith=function nh(a,l,d){return a=it(a),d=null==d?0:qo(De(d),0,a.length),l=$t(l),a.slice(d,d+l.length)==l},b.subtract=jg,b.sum=function ph(a){return a&&a.length?xp(a,jn):0},b.sumBy=function uy(a,l){return a&&a.length?xp(a,te(l,2)):0},b.template=function hw(a,l,d){var f=b.templateSettings;d&&Tn(a,l,d)&&(l=w),a=it(a),l=xl({},l,f,dd);var D,T,m=xl({},l.imports,f.imports,dd),v=Kt(m),C=Ip(m,v),j=0,R=l.interpolate||Su,F="__p += '",U=pa((l.escape||Su).source+"|"+R.source+"|"+(R===bc?go:Su).source+"|"+(l.evaluate||Su).source+"|$","g"),q="//# sourceURL="+(qe.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++on+"]")+"\n";a.replace(U,function(se,Ne,Fe,Rn,En,qn){return Fe||(Fe=Rn),F+=a.slice(j,qn).replace(Un,EC),Ne&&(D=!0,F+="' +\n__e("+Ne+") +\n'"),En&&(T=!0,F+="';\n"+En+";\n__p += '"),Fe&&(F+="' +\n((__t = ("+Fe+")) == null ? '' : __t) +\n'"),j=qn+se.length,se}),F+="';\n";var re=qe.call(l,"variable")&&l.variable;if(re){if(U_.test(re))throw new ye("Invalid `variable` option passed into `_.template`")}else F="with (obj) {\n"+F+"\n}\n";F=(T?F.replace(F_,""):F).replace(V_,"$1").replace(lt,"$1;"),F="function("+(re||"obj")+") {\n"+(re?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(D?", __e = _.escape":"")+(T?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+F+"return __p\n}";var Ie=xg(function(){return He(v,q+"return "+F).apply(w,C)});if(Ie.source=F,Qd(Ie))throw Ie;return Ie},b.times=function sy(a,l){if((a=De(a))<1||a>ho)return[];var d=Vn,f=ln(a,Vn);l=te(l),a-=Vn;for(var m=Sp(f,l);++d<a;)l(d);return m},b.toFinite=Ji,b.toInteger=De,b.toLength=og,b.toLower=function wg(a){return it(a).toLowerCase()},b.toNumber=Et,b.toSafeInteger=function sg(a){return a?qo(De(a),-ho,ho):0===a?a:0},b.toString=it,b.toUpper=function pw(a){return it(a).toUpperCase()},b.trim=function Tl(a,l,d){if((a=it(a))&&(d||l===w))return tb(a);if(!a||!(l=$t(l)))return a;var f=ci(a),m=ci(l);return To(f,nb(f,m),ib(f,m)+1).join("")},b.trimEnd=function kl(a,l,d){if((a=it(a))&&(d||l===w))return a.slice(0,Lp(a)+1);if(!a||!(l=$t(l)))return a;var f=ci(a);return To(f,0,ib(f,ci(l))+1).join("")},b.trimStart=function ih(a,l,d){if((a=it(a))&&(d||l===w))return a.replace(xu,"");if(!a||!(l=$t(l)))return a;var f=ci(a);return To(f,nb(f,ci(l))).join("")},b.truncate=function oh(a,l){var d=30,f="...";if(vt(l)){var m="separator"in l?l.separator:m;d="length"in l?De(l.length):d,f="omission"in l?$t(l.omission):f}var v=(a=it(a)).length;if(Wo(a)){var C=ci(a);v=C.length}if(d>=v)return a;var D=d-xr(f);if(D<1)return f;var T=C?To(C,0,D).join(""):a.slice(0,D);if(m===w)return T+f;if(C&&(D+=T.length-D),rr(m)){if(a.slice(D).search(m)){var j,R=T;for(m.global||(m=pa(m.source,it(Y_.exec(m))+"g")),m.lastIndex=0;j=m.exec(R);)var F=j.index;T=T.slice(0,F===w?D:F)}}else if(a.indexOf($t(m),D)!=D){var U=T.lastIndexOf(m);U>-1&&(T=T.slice(0,U))}return T+f},b.unescape=function rh(a){return(a=it(a))&&Du.test(a)?a.replace(_c,Au):a},b.uniqueId=function Ag(a){var l=++fe;return it(a)+l},b.upperCase=fw,b.upperFirst=sh,b.each=ja,b.eachRight=Bf,b.first=Aa,kg(b,function(){var a={};return xn(b,function(l,d){qe.call(b.prototype,d)||(a[d]=l)}),a}(),{chain:!1}),b.VERSION="4.17.21",It(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){b[a].placeholder=b}),It(["drop","take"],function(a,l){je.prototype[a]=function(d){d=d===w?1:Ut(De(d),0);var f=this.__filtered__&&!l?new je(this):this.clone();return f.__filtered__?f.__takeCount__=ln(d,f.__takeCount__):f.__views__.push({size:ln(d,Vn),type:a+(f.__dir__<0?"Right":"")}),f},je.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),It(["filter","map","takeWhile"],function(a,l){var d=l+1,f=1==d||3==d;je.prototype[a]=function(m){var v=this.clone();return v.__iteratees__.push({iteratee:te(m,3),type:d}),v.__filtered__=v.__filtered__||f,v}}),It(["head","last"],function(a,l){var d="take"+(l?"Right":"");je.prototype[a]=function(){return this[d](1).value()[0]}}),It(["initial","tail"],function(a,l){var d="drop"+(l?"":"Right");je.prototype[a]=function(){return this.__filtered__?new je(this):this[d](1)}}),je.prototype.compact=function(){return this.filter(jn)},je.prototype.find=function(a){return this.filter(a).head()},je.prototype.findLast=function(a){return this.reverse().find(a)},je.prototype.invokeMap=Te(function(a,l){return"function"==typeof a?new je(this):this.map(function(d){return Gc(d,a,l)})}),je.prototype.reject=function(a){return this.filter(vl(te(a)))},je.prototype.slice=function(a,l){a=De(a);var d=this;return d.__filtered__&&(a>0||l<0)?new je(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),l!==w&&(d=(l=De(l))<0?d.dropRight(-l):d.take(l-a)),d)},je.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},je.prototype.toArray=function(){return this.take(Vn)},xn(je.prototype,function(a,l){var d=/^(?:filter|find|map|reject)|While$/.test(l),f=/^(?:head|last)$/.test(l),m=b[f?"take"+("last"==l?"Right":""):l],v=f||/^find/.test(l);!m||(b.prototype[l]=function(){var C=this.__wrapped__,D=f?[1]:arguments,T=C instanceof je,j=D[0],R=T||me(C),F=function(Ne){var Fe=m.apply(b,Hi([Ne],D));return f&&U?Fe[0]:Fe};R&&d&&"function"==typeof j&&1!=j.length&&(T=R=!1);var U=this.__chain__,q=!!this.__actions__.length,re=v&&!U,Ie=T&&!q;if(!v&&R){C=Ie?C:new je(this);var se=a.apply(C,D);return se.__actions__.push({func:or,args:[F],thisArg:w}),new ui(se,U)}return re&&Ie?a.apply(this,D):(se=this.thru(F),re?f?se.value()[0]:se.value():se)})}),It(["pop","push","shift","sort","splice","unshift"],function(a){var l=Ec[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",f=/^(?:pop|shift)$/.test(a);b.prototype[a]=function(){var m=arguments;if(f&&!this.__chain__){var v=this.value();return l.apply(me(v)?v:[],m)}return this[d](function(C){return l.apply(me(C)?C:[],m)})}}),xn(je.prototype,function(a,l){var d=b[l];if(d){var f=d.name+"";qe.call(kr,f)||(kr[f]=[]),kr[f].push({name:l,func:d})}}),kr[nl(w,2).name]=[{name:"wrapper",func:w}],je.prototype.clone=function jc(){var a=new je(this.__wrapped__);return a.__actions__=Zn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Zn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Zn(this.__views__),a},je.prototype.reverse=function Rc(){if(this.__filtered__){var a=new je(this);a.__dir__=-1,a.__filtered__=!0}else(a=this.clone()).__dir__*=-1;return a},je.prototype.value=function zc(){var a=this.__wrapped__.value(),l=this.__dir__,d=me(a),f=l<0,m=d?a.length:0,v=function Ea(a,l,d){for(var f=-1,m=d.length;++f<m;){var v=d[f],C=v.size;switch(v.type){case"drop":a+=C;break;case"dropRight":l-=C;break;case"take":l=ln(l,a+C);break;case"takeRight":a=Ut(a,l-C)}}return{start:a,end:l}}(0,m,this.__views__),C=v.start,D=v.end,T=D-C,j=f?D:C-1,R=this.__iteratees__,F=R.length,U=0,q=ln(T,this.__takeCount__);if(!d||!f&&m==T&&q==T)return Jc(a,this.__actions__);var re=[];e:for(;T--&&U<q;){for(var Ie=-1,se=a[j+=l];++Ie<F;){var Ne=R[Ie],Rn=Ne.type,En=(0,Ne.iteratee)(se);if(2==Rn)se=En;else if(!En){if(1==Rn)continue e;break e}}re[U++]=se}return re},b.prototype.at=jf,b.prototype.chain=function Rf(){return gl(this)},b.prototype.commit=function zf(){return new ui(this.value(),this.__chain__)},b.prototype.next=function JC(){this.__values__===w&&(this.__values__=ig(this.value()));var a=this.__index__>=this.__values__.length;return{done:a,value:a?w:this.__values__[this.__index__++]}},b.prototype.plant=function XC(a){for(var l,d=this;d instanceof Pc;){var f=Dd(d);f.__index__=0,f.__values__=w,l?m.__wrapped__=f:l=f;var m=f;d=d.__wrapped__}return m.__wrapped__=a,l},b.prototype.reverse=function zd(){var a=this.__wrapped__;if(a instanceof je){var l=a;return this.__actions__.length&&(l=new je(this)),(l=l.reverse()).__actions__.push({func:or,args:[Pd],thisArg:w}),new ui(l,this.__chain__)}return this.thru(Pd)},b.prototype.toJSON=b.prototype.valueOf=b.prototype.value=function Fd(){return Jc(this.__wrapped__,this.__actions__)},b.prototype.first=b.prototype.head,yo&&(b.prototype[yo]=function qC(){return this}),b}();xt._=hs,(co=function(){return hs}.call(os,hu,os,ao))!==w&&(ao.exports=co)}.call(this)}},ao=>{ao(ao.s=357)}]);
|