diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..71d98e9 Binary files /dev/null and b/.DS_Store differ diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/apps/.DS_Store b/apps/.DS_Store new file mode 100644 index 0000000..8067953 Binary files /dev/null and b/apps/.DS_Store differ diff --git a/apps/demo/3rdpartylicenses.txt b/apps/demo/3rdpartylicenses.txt new file mode 100644 index 0000000..4871066 --- /dev/null +++ b/apps/demo/3rdpartylicenses.txt @@ -0,0 +1,328 @@ + +-------------------------------------------------------------------------------- +Package: @angular/core +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: rxjs +License: "Apache-2.0" + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +-------------------------------------------------------------------------------- +Package: tslib +License: "0BSD" + +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +-------------------------------------------------------------------------------- +Package: @angular/common +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: @angular/platform-browser +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: @angular/animations +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: @angular/forms +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: @angular/cdk +License: "MIT" + +The MIT License + +Copyright (c) 2024 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +-------------------------------------------------------------------------------- +Package: @angular/material +License: "MIT" + +The MIT License + +Copyright (c) 2024 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +-------------------------------------------------------------------------------- +Package: zone.js +License: "MIT" + +The MIT License + +Copyright (c) 2010-2024 Google LLC. https://angular.io/license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +-------------------------------------------------------------------------------- diff --git a/apps/demo/browser/en-US/index.html b/apps/demo/browser/en-US/index.html new file mode 100644 index 0000000..abcda0c --- /dev/null +++ b/apps/demo/browser/en-US/index.html @@ -0,0 +1,18 @@ + + + + + + CronEditor + + + + + + + + + + + + diff --git a/apps/demo/browser/en-US/main-P2QJCJVB.js b/apps/demo/browser/en-US/main-P2QJCJVB.js new file mode 100644 index 0000000..13d645b --- /dev/null +++ b/apps/demo/browser/en-US/main-P2QJCJVB.js @@ -0,0 +1,12 @@ +var iI=Object.defineProperty,nI=Object.defineProperties;var rI=Object.getOwnPropertyDescriptors;var fs=Object.getOwnPropertySymbols;var uf=Object.prototype.hasOwnProperty,hf=Object.prototype.propertyIsEnumerable;var df=(i,t,e)=>t in i?iI(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,$=(i,t)=>{for(var e in t||={})uf.call(t,e)&&df(i,e,t[e]);if(fs)for(var e of fs(t))hf.call(t,e)&&df(i,e,t[e]);return i;},Te=(i,t)=>nI(i,rI(t));var mf=(i,t)=>{var e={};for(var n in i)uf.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&fs)for(var n of fs(i))t.indexOf(n)<0&&hf.call(i,n)&&(e[n]=i[n]);return e;};var Tc=(i,t,e)=>new Promise((n,r)=>{var o=l=>{try{a(e.next(l));}catch(c){r(c);}},s=l=>{try{a(e.throw(l));}catch(c){r(c);}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((e=e.apply(i,t)).next());});function ff(i,t){return Object.is(i,t);}var Ye=null,Xr=!1,ps=1,Ot=Symbol("SIGNAL");function de(i){let t=Ye;return Ye=i,t;}function pf(){return Ye;}function oI(){return Xr;}var qn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Oc(i){if(Xr)throw new Error("");if(Ye===null)return;Ye.consumerOnSignalRead(i);let t=Ye.nextProducerIndex++;if(Is(Ye),ti.nextProducerIndex;)i.producerNode.pop(),i.producerLastReadVersion.pop(),i.producerIndexOfThis.pop();}}function bs(i){Is(i);for(let t=0;t0;}function Is(i){i.producerNode??=[],i.producerIndexOfThis??=[],i.producerLastReadVersion??=[];}function If(i){i.liveConsumerNode??=[],i.liveConsumerIndexOfThis??=[];}function wf(i){return i.producerNode!==void 0;}function Nc(i){let t=Object.create(aI);t.computation=i;let e=()=>{if(gf(t),Oc(t),t.value===gs)throw t.error;return t.value;};return e[Ot]=t,e;}var kc=Symbol("UNSET"),Rc=Symbol("COMPUTING"),gs=Symbol("ERRORED"),aI=Te($({},qn),{value:kc,dirty:!0,error:null,equal:ff,producerMustRecompute(i){return i.value===kc||i.value===Rc;},producerRecomputeValue(i){if(i.value===Rc)throw new Error("Detected cycle in computations.");let t=i.value;i.value=Rc;let e=Qr(i),n;try{n=i.computation();}catch(r){n=gs,i.error=r;}finally{_s(i,e);}if(t!==kc&&t!==gs&&n!==gs&&i.equal(t,n)){i.value=t;return;}i.value=n,i.version++;}});function lI(){throw new Error();}var Ef=lI;function Cf(){Ef();}function Df(i){Ef=i;}var cI=null;function xf(i){let t=Object.create(Mf);t.value=i;let e=()=>(Oc(t),t.value);return e[Ot]=t,e;}function Fc(i,t){bf()||Cf(),i.equal(i.value,t)||(i.value=t,dI(i));}function Sf(i,t){bf()||Cf(),Fc(i,t(i.value));}var Mf=Te($({},qn),{equal:ff,value:void 0});function dI(i){i.version++,sI(),_f(i),cI?.();}function Tf(i,t,e){let n=Object.create(uI);e&&(n.consumerAllowSignalWrites=!0),n.fn=i,n.schedule=t;let r=l=>{n.cleanupFn=l;};function o(l){return l.fn===null&&l.schedule===null;}function s(l){o(l)||(vs(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Ac);}let a=()=>{if(n.fn===null)return;if(oI())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!bs(n))return;n.hasRun=!0;let l=Qr(n);try{n.cleanupFn(),n.cleanupFn=Ac,n.fn(r);}finally{_s(n,l);}};return n.ref={notify:()=>vf(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[Ot]:n},n.ref;}var Ac=()=>{},uI=Te($({},qn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:i=>{i.schedule!==null&&i.schedule(i.ref);},hasRun:!1,cleanupFn:Ac});function ie(i){return typeof i=="function";}function ws(i){let e=i(n=>{Error.call(n),n.stack=new Error().stack;});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e;}var Es=ws(i=>function(e){i(this),this.message=e?`${e.length} errors occurred during unsubscription: +${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=e;});function mn(i,t){if(i){let e=i.indexOf(t);0<=e&&i.splice(e,1);}}var pe=class i{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null;}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:n}=this;if(ie(n))try{n();}catch(o){t=o instanceof Es?o.errors:[o];}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{kf(o);}catch(s){t=t??[],s instanceof Es?t=[...t,...s.errors]:t.push(s);}}if(t)throw new Es(t);}}add(t){var e;if(t&&t!==this)if(this.closed)kf(t);else{if(t instanceof i){if(t.closed||t._hasParent(this))return;t._addParent(this);}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t);}}_hasParent(t){let{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t);}_addParent(t){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t;}_removeParent(t){let{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&mn(e,t);}remove(t){let{_finalizers:e}=this;e&&mn(e,t),t instanceof i&&t._removeParent(this);}};pe.EMPTY=(()=>{let i=new pe();return i.closed=!0,i;})();var Pc=pe.EMPTY;function Cs(i){return i instanceof pe||i&&"closed"in i&&ie(i.remove)&&ie(i.add)&&ie(i.unsubscribe);}function kf(i){ie(i)?i():i.unsubscribe();}var Ut={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Xn={setTimeout(i,t,...e){let{delegate:n}=Xn;return n?.setTimeout?n.setTimeout(i,t,...e):setTimeout(i,t,...e);},clearTimeout(i){let{delegate:t}=Xn;return(t?.clearTimeout||clearTimeout)(i);},delegate:void 0};function Ds(i){Xn.setTimeout(()=>{let{onUnhandledError:t}=Ut;if(t)t(i);else throw i;});}function Zr(){}var Rf=Lc("C",void 0,void 0);function Af(i){return Lc("E",void 0,i);}function Of(i){return Lc("N",i,void 0);}function Lc(i,t,e){return{kind:i,value:t,error:e};}var fn=null;function Yn(i){if(Ut.useDeprecatedSynchronousErrorHandling){let t=!fn;if(t&&(fn={errorThrown:!1,error:null}),i(),t){let{errorThrown:e,error:n}=fn;if(fn=null,e)throw n;}}else i();}function Nf(i){Ut.useDeprecatedSynchronousErrorHandling&&fn&&(fn.errorThrown=!0,fn.error=i);}var pn=class extends pe{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Cs(t)&&t.add(this)):this.destination=fI;}static create(t,e,n){return new xi(t,e,n);}next(t){this.isStopped?Bc(Of(t),this):this._next(t);}error(t){this.isStopped?Bc(Af(t),this):(this.isStopped=!0,this._error(t));}complete(){this.isStopped?Bc(Rf,this):(this.isStopped=!0,this._complete());}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null);}_next(t){this.destination.next(t);}_error(t){try{this.destination.error(t);}finally{this.unsubscribe();}}_complete(){try{this.destination.complete();}finally{this.unsubscribe();}}},hI=Function.prototype.bind;function Vc(i,t){return hI.call(i,t);}var jc=class{constructor(t){this.partialObserver=t;}next(t){let{partialObserver:e}=this;if(e.next)try{e.next(t);}catch(n){xs(n);}}error(t){let{partialObserver:e}=this;if(e.error)try{e.error(t);}catch(n){xs(n);}else xs(t);}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete();}catch(e){xs(e);}}},xi=class extends pn{constructor(t,e,n){super();let r;if(ie(t)||!t)r={next:t??void 0,error:e??void 0,complete:n??void 0};else{let o;this&&Ut.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Vc(t.next,o),error:t.error&&Vc(t.error,o),complete:t.complete&&Vc(t.complete,o)}):r=t;}this.destination=new jc(r);}};function xs(i){Ut.useDeprecatedSynchronousErrorHandling?Nf(i):Ds(i);}function mI(i){throw i;}function Bc(i,t){let{onStoppedNotification:e}=Ut;e&&Xn.setTimeout(()=>e(i,t));}var fI={closed:!0,next:Zr,error:mI,complete:Zr};var Qn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $t(i){return i;}function Ff(i){return i.length===0?$t:i.length===1?i[0]:function(e){return i.reduce((n,r)=>r(n),e);};}var se=(()=>{class i{constructor(e){e&&(this._subscribe=e);}lift(e){let n=new i();return n.source=this,n.operator=e,n;}subscribe(e,n,r){let o=gI(e)?e:new xi(e,n,r);return Yn(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o));}),o;}_trySubscribe(e){try{return this._subscribe(e);}catch(n){e.error(n);}}forEach(e,n){return n=Pf(n),new n((r,o)=>{let s=new xi({next:a=>{try{e(a);}catch(l){o(l),s.unsubscribe();}},error:o,complete:r});this.subscribe(s);});}_subscribe(e){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(e);}[Qn](){return this;}pipe(...e){return Ff(e)(this);}toPromise(e){return e=Pf(e),new e((n,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>n(o));});}}return i.create=t=>new i(t),i;})();function Pf(i){var t;return(t=i??Ut.Promise)!==null&&t!==void 0?t:Promise;}function pI(i){return i&&ie(i.next)&&ie(i.error)&&ie(i.complete);}function gI(i){return i&&i instanceof pn||pI(i)&&Cs(i);}function _I(i){return ie(i?.lift);}function Ce(i){return t=>{if(_I(t))return t.lift(function(e){try{return i(e,this);}catch(n){this.error(n);}});throw new TypeError("Unable to lift unknown Observable type");};}function Ie(i,t,e,n,r){return new Hc(i,t,e,n,r);}var Hc=class extends pn{constructor(t,e,n,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a);}catch(l){t.error(l);}}:super._next,this._error=r?function(a){try{r(a);}catch(l){t.error(l);}finally{this.unsubscribe();}}:super._error,this._complete=n?function(){try{n();}catch(a){t.error(a);}finally{this.unsubscribe();}}:super._complete;}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((t=this.onFinalize)===null||t===void 0||t.call(this));}}};var Lf=ws(i=>function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed";});var P=(()=>{class i extends se{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null;}lift(e){let n=new Ss(this,this);return n.operator=e,n;}_throwIfClosed(){if(this.closed)throw new Lf();}next(e){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(e);}});}error(e){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:n}=this;for(;n.length;)n.shift().error(e);}});}complete(){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete();}});}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null;}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0;}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e);}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e);}_innerSubscribe(e){let{hasError:n,isStopped:r,observers:o}=this;return n||r?Pc:(this.currentObservers=null,o.push(e),new pe(()=>{this.currentObservers=null,mn(o,e);}));}_checkFinalizedStatuses(e){let{hasError:n,thrownError:r,isStopped:o}=this;n?e.error(r):o&&e.complete();}asObservable(){let e=new se();return e.source=this,e;}}return i.create=(t,e)=>new Ss(t,e),i;})(),Ss=class extends P{constructor(t,e){super(),this.destination=t,this.source=e;}next(t){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.next)===null||n===void 0||n.call(e,t);}error(t){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.error)===null||n===void 0||n.call(e,t);}complete(){var t,e;(e=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||e===void 0||e.call(t);}_subscribe(t){var e,n;return(n=(e=this.source)===null||e===void 0?void 0:e.subscribe(t))!==null&&n!==void 0?n:Pc;}};var Ui=class extends P{constructor(t){super(),this._value=t;}get value(){return this.getValue();}_subscribe(t){let e=super._subscribe(t);return!e.closed&&t.next(this._value),e;}getValue(){let{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n;}next(t){super.next(this._value=t);}};var Kr={now(){return(Kr.delegate||Date).now();},delegate:void 0};var Ms=class extends P{constructor(t=1/0,e=1/0,n=Kr){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e);}next(t){let{isStopped:e,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(n.push(t),!r&&n.push(o.now()+s)),this._trimBuffer(),super.next(t);}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let s=0;si.complete());function As(i){return i&&ie(i.schedule);}function zc(i){return i[i.length-1];}function Os(i){return ie(zc(i))?i.pop():void 0;}function li(i){return As(zc(i))?i.pop():void 0;}function Bf(i,t){return typeof zc(i)=="number"?i.pop():t;}function Hf(i,t,e,n){function r(o){return o instanceof e?o:new e(function(s){s(o);});}return new(e||(e=Promise))(function(o,s){function a(d){try{c(n.next(d));}catch(u){s(u);}}function l(d){try{c(n.throw(d));}catch(u){s(u);}}function c(d){d.done?o(d.value):r(d.value).then(a,l);}c((n=n.apply(i,t||[])).next());});}function jf(i){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&i[t],n=0;if(e)return e.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&n>=i.length&&(i=void 0),{value:i&&i[n++],done:!i};}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.");}function gn(i){return this instanceof gn?(this.v=i,this):new gn(i);}function zf(i,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(i,t||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this;},r;function s(h){return function(f){return Promise.resolve(f).then(h,u);};}function a(h,f){n[h]&&(r[h]=function(b){return new Promise(function(E,C){o.push([h,b,E,C])>1||l(h,b);});},f&&(r[h]=f(r[h])));}function l(h,f){try{c(n[h](f));}catch(b){m(o[0][3],b);}}function c(h){h.value instanceof gn?Promise.resolve(h.value.v).then(d,u):m(o[0][2],h);}function d(h){l("next",h);}function u(h){l("throw",h);}function m(h,f){h(f),o.shift(),o.length&&l(o[0][0],o[0][1]);}}function Gf(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=i[Symbol.asyncIterator],e;return t?t.call(i):(i=typeof jf=="function"?jf(i):i[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this;},e);function n(o){e[o]=i[o]&&function(s){return new Promise(function(a,l){s=i[o](s),r(a,l,s.done,s.value);});};}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a});},s);}}var Kn=i=>i&&typeof i.length=="number"&&typeof i!="function";function Ns(i){return ie(i?.then);}function Fs(i){return ie(i[Qn]);}function Ps(i){return Symbol.asyncIterator&&ie(i?.[Symbol.asyncIterator]);}function Ls(i){return new TypeError(`You provided ${i!==null&&typeof i=="object"?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`);}function bI(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator;}var Vs=bI();function Bs(i){return ie(i?.[Vs]);}function js(i){return zf(this,arguments,function*(){let e=i.getReader();try{for(;;){let{value:n,done:r}=yield gn(e.read());if(r)return yield gn(void 0);yield yield gn(n);}}finally{e.releaseLock();}});}function Hs(i){return ie(i?.getReader);}function Ae(i){if(i instanceof se)return i;if(i!=null){if(Fs(i))return vI(i);if(Kn(i))return yI(i);if(Ns(i))return II(i);if(Ps(i))return Uf(i);if(Bs(i))return wI(i);if(Hs(i))return EI(i);}throw Ls(i);}function vI(i){return new se(t=>{let e=i[Qn]();if(ie(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable");});}function yI(i){return new se(t=>{for(let e=0;e{i.then(e=>{t.closed||(t.next(e),t.complete());},e=>t.error(e)).then(null,Ds);});}function wI(i){return new se(t=>{for(let e of i)if(t.next(e),t.closed)return;t.complete();});}function Uf(i){return new se(t=>{CI(i,t).catch(e=>t.error(e));});}function EI(i){return Uf(js(i));}function CI(i,t){var e,n,r,o;return Hf(this,void 0,void 0,function*(){try{for(e=Gf(i);n=yield e.next(),!n.done;){let s=n.value;if(t.next(s),t.closed)return;}}catch(s){r={error:s};}finally{try{n&&!n.done&&(o=e.return)&&(yield o.call(e));}finally{if(r)throw r.error;}}t.complete();});}function gt(i,t,e,n=0,r=!1){let o=t.schedule(function(){e(),r?i.add(this.schedule(null,n)):this.unsubscribe();},n);if(i.add(o),!r)return o;}function zs(i,t=0){return Ce((e,n)=>{e.subscribe(Ie(n,r=>gt(n,i,()=>n.next(r),t),()=>gt(n,i,()=>n.complete(),t),r=>gt(n,i,()=>n.error(r),t)));});}function Gs(i,t=0){return Ce((e,n)=>{n.add(i.schedule(()=>e.subscribe(n),t));});}function $f(i,t){return Ae(i).pipe(Gs(t),zs(t));}function Wf(i,t){return Ae(i).pipe(Gs(t),zs(t));}function qf(i,t){return new se(e=>{let n=0;return t.schedule(function(){n===i.length?e.complete():(e.next(i[n++]),e.closed||this.schedule());});});}function Xf(i,t){return new se(e=>{let n;return gt(e,t,()=>{n=i[Vs](),gt(e,t,()=>{let r,o;try{({value:r,done:o}=n.next());}catch(s){e.error(s);return;}o?e.complete():e.next(r);},0,!0);}),()=>ie(n?.return)&&n.return();});}function Us(i,t){if(!i)throw new Error("Iterable cannot be null");return new se(e=>{gt(e,t,()=>{let n=i[Symbol.asyncIterator]();gt(e,t,()=>{n.next().then(r=>{r.done?e.complete():e.next(r.value);});},0,!0);});});}function Yf(i,t){return Us(js(i),t);}function Qf(i,t){if(i!=null){if(Fs(i))return $f(i,t);if(Kn(i))return qf(i,t);if(Ns(i))return Wf(i,t);if(Ps(i))return Us(i,t);if(Bs(i))return Xf(i,t);if(Hs(i))return Yf(i,t);}throw Ls(i);}function Nt(i,t){return t?Qf(i,t):Ae(i);}function $i(...i){let t=li(i);return Nt(i,t);}function Zf(i){return i instanceof Date&&!isNaN(i);}function Qe(i,t){return Ce((e,n)=>{let r=0;e.subscribe(Ie(n,o=>{n.next(i.call(t,o,r++));}));});}var{isArray:DI}=Array;function xI(i,t){return DI(t)?i(...t):i(t);}function Jn(i){return Qe(t=>xI(i,t));}var{isArray:SI}=Array,{getPrototypeOf:MI,prototype:TI,keys:kI}=Object;function $s(i){if(i.length===1){let t=i[0];if(SI(t))return{args:t,keys:null};if(RI(t)){let e=kI(t);return{args:e.map(n=>t[n]),keys:e};}}return{args:i,keys:null};}function RI(i){return i&&typeof i=="object"&&MI(i)===TI;}function Ws(i,t){return i.reduce((e,n,r)=>(e[n]=t[r],e),{});}function Gc(...i){let t=li(i),e=Os(i),{args:n,keys:r}=$s(i);if(n.length===0)return Nt([],t);let o=new se(AI(n,t,r?s=>Ws(r,s):$t));return e?o.pipe(Jn(e)):o;}function AI(i,t,e=$t){return n=>{Kf(t,()=>{let{length:r}=i,o=new Array(r),s=r,a=r;for(let l=0;l{let c=Nt(i[l],t),d=!1;c.subscribe(Ie(n,u=>{o[l]=u,d||(d=!0,a--),a||n.next(e(o.slice()));},()=>{--s||n.complete();}));},n);},n);};}function Kf(i,t,e){i?gt(e,i,t):t();}function Jf(i,t,e,n,r,o,s,a){let l=[],c=0,d=0,u=!1,m=()=>{u&&!l.length&&!c&&t.complete();},h=b=>c{o&&t.next(b),c++;let E=!1;Ae(e(b,d++)).subscribe(Ie(t,C=>{r?.(C),o?h(C):t.next(C);},()=>{E=!0;},void 0,()=>{if(E)try{for(c--;l.length&&cf(C)):f(C);}m();}catch(C){t.error(C);}}));};return i.subscribe(Ie(t,h,()=>{u=!0,m();})),()=>{a?.();};}function to(i,t,e=1/0){return ie(t)?to((n,r)=>Qe((o,s)=>t(n,o,r,s))(Ae(i(n,r))),e):(typeof t=="number"&&(e=t),Ce((n,r)=>Jf(n,r,i,e)));}function qs(i=1/0){return to($t,i);}function ep(){return qs(1);}function er(...i){return ep()(Nt(i,li(i)));}function Uc(i){return new se(t=>{Ae(i()).subscribe(t);});}function $c(...i){let t=Os(i),{args:e,keys:n}=$s(i),r=new se(o=>{let{length:s}=e;if(!s){o.complete();return;}let a=new Array(s),l=s,c=s;for(let d=0;d{u||(u=!0,c--),a[d]=m;},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(n?Ws(n,a):a),o.complete());}));}});return t?r.pipe(Jn(t)):r;}var OI=["addListener","removeListener"],NI=["addEventListener","removeEventListener"],FI=["on","off"];function Wt(i,t,e,n){if(ie(e)&&(n=e,e=void 0),n)return Wt(i,t,e).pipe(Jn(n));let[r,o]=VI(i)?NI.map(s=>a=>i[s](t,a,e)):PI(i)?OI.map(tp(i,t)):LI(i)?FI.map(tp(i,t)):[];if(!r&&Kn(i))return to(s=>Wt(s,t,e))(Ae(i));if(!r)throw new TypeError("Invalid event target");return new se(s=>{let a=(...l)=>s.next(1o(a);});}function tp(i,t){return e=>n=>i[e](t,n);}function PI(i){return ie(i.addListener)&&ie(i.removeListener);}function LI(i){return ie(i.on)&&ie(i.off);}function VI(i){return ie(i.addEventListener)&&ie(i.removeEventListener);}function io(i=0,t,e=Vf){let n=-1;return t!=null&&(As(t)?e=t:n=t),new se(r=>{let o=Zf(i)?+i-e.now():i;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=n?this.schedule(void 0,n):r.complete());},o);});}function wt(...i){let t=li(i),e=Bf(i,1/0),n=i;return n.length?n.length===1?Ae(n[0]):qs(e)(Nt(n,t)):Si;}function Ze(i,t){return Ce((e,n)=>{let r=0;e.subscribe(Ie(n,o=>i.call(t,o,r++)&&n.next(o)));});}function ip(i){return Ce((t,e)=>{let n=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let c=r;r=null,e.next(c);}s&&e.complete();},l=()=>{o=null,s&&e.complete();};t.subscribe(Ie(e,c=>{n=!0,r=c,o||Ae(i(c)).subscribe(o=Ie(e,a,l));},()=>{s=!0,(!n||!o||o.closed)&&e.complete();}));});}function Xs(i,t=eo){return ip(()=>io(i,t));}function Ft(i,t=eo){return Ce((e,n)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,n.next(c);}};function l(){let c=s+i,d=t.now();if(d{o=c,s=t.now(),r||(r=t.schedule(l,i),n.add(r));},()=>{a(),n.complete();},void 0,()=>{o=r=null;}));});}function tr(i){return i<=0?()=>Si:Ce((t,e)=>{let n=0;t.subscribe(Ie(e,r=>{++n<=i&&(e.next(r),i<=n&&e.complete());}));});}function Wi(i,t=$t){return i=i??BI,Ce((e,n)=>{let r,o=!0;e.subscribe(Ie(n,s=>{let a=t(s);(o||!i(r,a))&&(o=!1,r=a,n.next(s));}));});}function BI(i,t){return i===t;}function np(i={}){let{connector:t=()=>new P(),resetOnError:e=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=i;return o=>{let s,a,l,c=0,d=!1,u=!1,m=()=>{a?.unsubscribe(),a=void 0;},h=()=>{m(),s=l=void 0,d=u=!1;},f=()=>{let b=s;h(),b?.unsubscribe();};return Ce((b,E)=>{c++,!u&&!d&&m();let C=l=l??t();E.add(()=>{c--,c===0&&!u&&!d&&(a=Wc(f,r));}),C.subscribe(E),!s&&c>0&&(s=new xi({next:B=>C.next(B),error:B=>{u=!0,m(),a=Wc(h,e,B),C.error(B);},complete:()=>{d=!0,m(),a=Wc(h,n),C.complete();}}),Ae(b).subscribe(s));})(o);};}function Wc(i,t,...e){if(t===!0){i();return;}if(t===!1)return;let n=new xi({next:()=>{n.unsubscribe(),i();}});return Ae(t(...e)).subscribe(n);}function Ys(i,t,e){let n,r=!1;return i&&typeof i=="object"?({bufferSize:n=1/0,windowTime:t=1/0,refCount:r=!1,scheduler:e}=i):n=i??1/0,np({connector:()=>new Ms(n,t,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r});}function _n(i){return Ze((t,e)=>i<=e);}function qt(...i){let t=li(i);return Ce((e,n)=>{(t?er(i,e,t):er(i,e)).subscribe(n);});}function bn(i,t){return Ce((e,n)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&n.complete();e.subscribe(Ie(n,l=>{r?.unsubscribe();let c=0,d=o++;Ae(i(l,d)).subscribe(r=Ie(n,u=>n.next(t?t(l,u,d,c++):u),()=>{r=null,a();}));},()=>{s=!0,a();}));});}function Se(i){return Ce((t,e)=>{Ae(i).subscribe(Ie(e,()=>e.complete(),Zr)),!e.closed&&t.subscribe(e);});}function qc(i,t=!1){return Ce((e,n)=>{let r=0;e.subscribe(Ie(n,o=>{let s=i(o,r++);(s||t)&&n.next(o),!s&&n.complete();}));});}function Xc(i,t,e){let n=ie(i)||t||e?{next:i,error:t,complete:e}:i;return n?Ce((r,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;r.subscribe(Ie(o,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),o.next(l);},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete();},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),o.error(l);},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n);}));}):$t;}var jI="https://g.co/ng/security#xss",D=class extends Error{constructor(t,e){super(_u(t,e)),this.code=t;}};function _u(i,t){return`${`NG0${Math.abs(i)}`}${t?": "+t:""}`;}function po(i){return{toString:i}.toString();}var Qs="__parameters__";function HI(i){return function(...e){if(i){let n=i(...e);for(let r in n)this[r]=n[r];}};}function Gp(i,t,e){return po(()=>{let n=HI(t);function r(...o){if(this instanceof r)return n.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(Qs)?l[Qs]:Object.defineProperty(l,Qs,{value:[]})[Qs];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l;}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=i,r.annotationCls=r,r;});}var Zt=globalThis;function Oe(i){for(let t in i)if(i[t]===Oe)return t;throw Error("Could not find renamed property on target object.");}function zI(i,t){for(let e in t)t.hasOwnProperty(e)&&!i.hasOwnProperty(e)&&(i[e]=t[e]);}function ft(i){if(typeof i=="string")return i;if(Array.isArray(i))return"["+i.map(ft).join(", ")+"]";if(i==null)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;let t=i.toString();if(t==null)return""+t;let e=t.indexOf(` +`);return e===-1?t:t.substring(0,e);}function cd(i,t){return i==null||i===""?t===null?"":t:t==null||t===""?i:i+" "+t;}var GI=Oe({__forward_ref__:Oe});function it(i){return i.__forward_ref__=it,i.toString=function(){return ft(this());},i;}function mt(i){return Up(i)?i():i;}function Up(i){return typeof i=="function"&&i.hasOwnProperty(GI)&&i.__forward_ref__===it;}function UI(i,t,e){i!=t&&$I(e,i,t,"==");}function $I(i,t,e,n){throw new Error(`ASSERTION ERROR: ${i}`+(n==null?"":` [Expected=> ${e} ${n} ${t} <=Actual]`));}function x(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0};}function T(i){return{providers:i.providers||[],imports:i.imports||[]};}function bu(i){return rp(i,$p)||rp(i,Wp);}function rp(i,t){return i.hasOwnProperty(t)?i[t]:null;}function WI(i){let t=i&&(i[$p]||i[Wp]);return t||null;}function op(i){return i&&(i.hasOwnProperty(sp)||i.hasOwnProperty(qI))?i[sp]:null;}var $p=Oe({ɵprov:Oe}),sp=Oe({ɵinj:Oe}),Wp=Oe({ngInjectableDef:Oe}),qI=Oe({ngInjectorDef:Oe}),w=class{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.ɵprov=x({token:this,providedIn:e.providedIn||"root",factory:e.factory}));}get multi(){return this;}toString(){return`InjectionToken ${this._desc}`;}};function qp(i){return i&&!!i.ɵproviders;}var XI=Oe({ɵcmp:Oe}),YI=Oe({ɵdir:Oe}),QI=Oe({ɵpipe:Oe}),ZI=Oe({ɵmod:Oe}),ca=Oe({ɵfac:Oe}),ro=Oe({__NG_ELEMENT_ID__:Oe}),ap=Oe({__NG_ENV_ID__:Oe});function vu(i){return typeof i=="string"?i:i==null?"":String(i);}function KI(i){return typeof i=="function"?i.name||i.toString():typeof i=="object"&&i!=null&&typeof i.type=="function"?i.type.name||i.type.toString():vu(i);}function JI(i,t){let e=t?`. Dependency path: ${t.join(" > ")} > ${i}`:"";throw new D(-200,i);}function yu(i,t){throw new D(-201,!1);}var me=function(i){return i[i.Default=0]="Default",i[i.Host=1]="Host",i[i.Self=2]="Self",i[i.SkipSelf=4]="SkipSelf",i[i.Optional=8]="Optional",i;}(me||{}),dd;function Xp(){return dd;}function ci(i){let t=dd;return dd=i,t;}function Yp(i,t,e){let n=bu(i);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(e&me.Optional)return null;if(t!==void 0)return t;yu(i,"Injector");}var ew={},ao=ew,ud="__NG_DI_FLAG__",da="ngTempTokenPath",tw="ngTokenPath",iw=/\n/gm,nw="\u0275",lp="__source",ar;function rw(){return ar;}function ir(i){let t=ar;return ar=i,t;}function ow(i,t=me.Default){if(ar===void 0)throw new D(-203,!1);return ar===null?Yp(i,void 0,t):ar.get(i,t&me.Optional?null:void 0,t);}function I(i,t=me.Default){return(Xp()||ow)(mt(i),t);}function M(i,t=me.Default){return I(i,Va(t));}function Va(i){return typeof i>"u"||typeof i=="number"?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4);}function hd(i){let t=[];for(let e=0;e ");else if(typeof t=="object"){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):ft(a)));}r=`{${o.join(", ")}}`;}return`${e}${n?"("+n+")":""}[${r}]: ${i.replace(iw,` + `)}`;}var Zp=Qp(Gp("Optional"),8);var cw=Qp(Gp("SkipSelf"),4);function cr(i,t){let e=i.hasOwnProperty(ca);return e?i[ca]:null;}function dw(i,t,e){if(i.length!==t.length)return!1;for(let n=0;nArray.isArray(e)?Iu(e,t):t(e));}function Kp(i,t,e){t>=i.length?i.push(e):i.splice(t,0,e);}function ua(i,t){return t>=i.length-1?i.pop():i.splice(t,1)[0];}function hw(i,t){let e=[];for(let n=0;nt;){let o=r-2;i[r]=i[o],r--;}i[t]=e,i[t+1]=n;}}function Ba(i,t,e){let n=go(i,t);return n>=0?i[n|1]=e:(n=~n,mw(i,n,t,e)),n;}function Yc(i,t){let e=go(i,t);if(e>=0)return i[e|1];}function go(i,t){return fw(i,t,1);}function fw(i,t,e){let n=0,r=i.length>>e;for(;r!==n;){let o=n+(r-n>>1),s=i[o<t?r=o:n=o+1;}return~(r<t){s=o-1;break;}}}for(;o-1){let o;for(;++ro?u="":u=r[d+1].toLowerCase(),n&2&&c!==u){if(Xt(n))return!1;s=!0;}}}}return Xt(n)||s;}function Xt(i){return(i&1)===0;}function yw(i,t,e,n){if(t===null)return-1;let r=0;if(n||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]";}else n&8?r+="."+s:n&4&&(r+=" "+s);}else r!==""&&!Xt(s)&&(t+=dp(o,r),r=""),n=s,o=o||!Xt(n);e++;}return r!==""&&(t+=dp(o,r)),t;}function xw(i){return i.map(Dw).join(",");}function Sw(i){let t=[],e=[],n=1,r=2;for(;n{let t=ag(i),e=Te($({},t),{decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===tg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&i.dependencies||null,getStandaloneInjector:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||hi.Emulated,styles:i.styles||ot,_:null,schemas:i.schemas||null,tView:null,id:""});lg(e);let n=i.dependencies;return e.directiveDefs=hp(n,!1),e.pipeDefs=hp(n,!0),e.id=Aw(e),e;});}function Mw(i){return ur(i)||og(i);}function Tw(i){return i!==null;}function k(i){return po(()=>({type:i.type,bootstrap:i.bootstrap||ot,declarations:i.declarations||ot,imports:i.imports||ot,exports:i.exports||ot,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}));}function up(i,t){if(i==null)return dr;let e={};for(let n in i)if(i.hasOwnProperty(n)){let r=i[n],o,s,a=Yi.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),t?(e[o]=a!==Yi.None?[n,a]:n,t[o]=s):e[o]=n;}return e;}function L(i){return po(()=>{let t=ag(i);return lg(t),t;});}function ur(i){return i[XI]||null;}function og(i){return i[YI]||null;}function sg(i){return i[QI]||null;}function kw(i){let t=ur(i)||og(i)||sg(i);return t!==null?t.standalone:!1;}function Rw(i,t){let e=i[ZI]||null;if(!e&&t===!0)throw new Error(`Type ${ft(i)} does not have '\u0275mod' property.`);return e;}function ag(i){let t={};return{type:i.type,providersResolver:null,factory:null,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:i.inputs||dr,exportAs:i.exportAs||null,standalone:i.standalone===!0,signals:i.signals===!0,selectors:i.selectors||ot,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:up(i.inputs,t),outputs:up(i.outputs),debugInfo:null};}function lg(i){i.features?.forEach(t=>t(i));}function hp(i,t){if(!i)return null;let e=t?sg:Mw;return()=>(typeof i=="function"?i():i).map(n=>e(n)).filter(Tw);}function Aw(i){let t=0,e=[i.selectors,i.ngContentSelectors,i.hostVars,i.hostAttrs,i.consts,i.vars,i.decls,i.encapsulation,i.standalone,i.signals,i.exportAs,JSON.stringify(i.inputs),JSON.stringify(i.outputs),Object.getOwnPropertyNames(i.type.prototype),!!i.contentQueries,!!i.viewQuery].join("|");for(let r of e)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t;}function Ow(...i){return{ɵproviders:cg(!0,i),ɵfromNgModule:!0};}function cg(i,...t){let e=[],n=new Set(),r,o=s=>{e.push(s);};return Iu(t,s=>{let a=s;fd(a,o,[],n)&&(r||=[],r.push(a));}),r!==void 0&&dg(r,o),e;}function dg(i,t){for(let e=0;e{t(o,n);});}}function fd(i,t,e,n){if(i=mt(i),!i)return!1;let r=null,o=op(i),s=!o&&ur(i);if(!o&&!s){let l=i.ngModule;if(o=op(l),o)r=l;else return!1;}else{if(s&&!s.standalone)return!1;r=i;}let a=n.has(r);if(s){if(a)return!1;if(n.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)fd(c,t,e,n);}}else if(o){if(o.imports!=null&&!a){n.add(r);let c;try{Iu(o.imports,d=>{fd(d,t,e,n)&&(c||=[],c.push(d));});}finally{}c!==void 0&&dg(c,t);}if(!a){let c=cr(r)||(()=>new r());t({provide:r,useFactory:c,deps:ot},r),t({provide:eg,useValue:r,multi:!0},r),t({provide:lo,useValue:()=>I(r),multi:!0},r);}let l=o.providers;if(l!=null&&!a){let c=i;Eu(l,d=>{t(d,c);});}}else return!1;return r!==i&&i.providers!==void 0;}function Eu(i,t){for(let e of i)qp(e)&&(e=e.ɵproviders),Array.isArray(e)?Eu(e,t):t(e);}var Nw=Oe({provide:String,useValue:Oe});function ug(i){return i!==null&&typeof i=="object"&&Nw in i;}function Fw(i){return!!(i&&i.useExisting);}function Pw(i){return!!(i&&i.useFactory);}function hr(i){return typeof i=="function";}function Lw(i){return!!i.useClass;}var ja=new w(""),ia={},Vw={},Qc;function Cu(){return Qc===void 0&&(Qc=new ha()),Qc;}var mi=class{},ma=class extends mi{get destroyed(){return this._destroyed;}constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,this.records=new Map(),this._ngOnDestroyHooks=new Set(),this._onDestroyHooks=[],this._destroyed=!1,gd(t,s=>this.processProvider(s)),this.records.set(Jp,nr(void 0,this)),r.has("environment")&&this.records.set(mi,nr(void 0,this));let o=this.records.get(ja);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(eg,ot,me.Self));}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=de(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n();}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),de(t);}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t);}runInContext(t){this.assertNotDestroyed();let e=ir(this),n=ci(void 0),r;try{return t();}finally{ir(e),ci(n);}}get(t,e=ao,n=me.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ap))return t[ap](this);n=Va(n);let r,o=ir(this),s=ci(void 0);try{if(!(n&me.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=Gw(t)&&bu(t);c&&this.injectableDefInScope(c)?l=nr(pd(t),ia):l=null,this.records.set(t,l);}if(l!=null)return this.hydrate(t,l);}let a=n&me.Self?Cu():this.parent;return e=n&me.Optional&&e===ao?null:e,a.get(t,e);}catch(a){if(a.name==="NullInjectorError"){if((a[da]=a[da]||[]).unshift(ft(t)),o)throw a;return aw(a,t,"R3InjectorError",this.source);}else throw a;}finally{ci(s),ir(o);}}resolveInjectorInitializers(){let t=de(null),e=ir(this),n=ci(void 0),r;try{let o=this.get(lo,ot,me.Self);for(let s of o)s();}finally{ir(e),ci(n),de(t);}}toString(){let t=[],e=this.records;for(let n of e.keys())t.push(ft(n));return`R3Injector[${t.join(", ")}]`;}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1);}processProvider(t){t=mt(t);let e=hr(t)?t:mt(t&&t.provide),n=jw(t);if(!hr(t)&&t.multi===!0){let r=this.records.get(e);r||(r=nr(void 0,ia,!0),r.factory=()=>hd(r.multi),this.records.set(e,r)),e=t,r.multi.push(t);}this.records.set(e,n);}hydrate(t,e){let n=de(null);try{return e.value===ia&&(e.value=Vw,e.value=e.factory()),typeof e.value=="object"&&e.value&&zw(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value;}finally{de(n);}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=mt(t.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e);}removeOnDestroy(t){let e=this._onDestroyHooks.indexOf(t);e!==-1&&this._onDestroyHooks.splice(e,1);}};function pd(i){let t=bu(i),e=t!==null?t.factory:cr(i);if(e!==null)return e;if(i instanceof w)throw new D(204,!1);if(i instanceof Function)return Bw(i);throw new D(204,!1);}function Bw(i){if(i.length>0)throw new D(204,!1);let e=WI(i);return e!==null?()=>e.factory(i):()=>new i();}function jw(i){if(ug(i))return nr(void 0,i.useValue);{let t=hg(i);return nr(t,ia);}}function hg(i,t,e){let n;if(hr(i)){let r=mt(i);return cr(r)||pd(r);}else if(ug(i))n=()=>mt(i.useValue);else if(Pw(i))n=()=>i.useFactory(...hd(i.deps||[]));else if(Fw(i))n=()=>I(mt(i.useExisting));else{let r=mt(i&&(i.useClass||i.provide));if(Hw(i))n=()=>new r(...hd(i.deps));else return cr(r)||pd(r);}return n;}function nr(i,t,e=!1){return{factory:i,value:t,multi:e?[]:void 0};}function Hw(i){return!!i.deps;}function zw(i){return i!==null&&typeof i=="object"&&typeof i.ngOnDestroy=="function";}function Gw(i){return typeof i=="function"||typeof i=="object"&&i instanceof w;}function gd(i,t){for(let e of i)Array.isArray(e)?gd(e,t):e&&qp(e)?gd(e.ɵproviders,t):t(e);}function mg(){return Xp()!==void 0||rw()!=null;}function Du(i){if(!mg())throw new D(-203,!1);}function Uw(i){let t=Zt.ng;if(t&&t.ɵcompilerFacade)return t.ɵcompilerFacade;throw new Error("JIT compiler unavailable");}function $w(i){return typeof i=="function";}var Ni=0,te=1,W=2,lt=3,Qt=4,pt=5,mr=6,fa=7,st=8,fr=9,Ti=10,Pe=11,uo=12,mp=13,Ir=14,_t=15,yn=16,rr=17,ki=18,Ha=19,fg=20,qi=21,na=22,Pt=23,tt=25,pg=1;var In=7,pa=8,pr=9,at=10,ga=function(i){return i[i.None=0]="None",i[i.HasTransplantedViews=2]="HasTransplantedViews",i;}(ga||{});function Xi(i){return Array.isArray(i)&&typeof i[pg]=="object";}function Fi(i){return Array.isArray(i)&&i[pg]===!0;}function xu(i){return(i.flags&4)!==0;}function za(i){return i.componentOffset>-1;}function Ga(i){return(i.flags&1)===1;}function Qi(i){return!!i.template;}function _d(i){return(i[W]&512)!==0;}var bd=class{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n;}isFirstChange(){return this.firstChange;}};function gg(i,t,e,n){t!==null?t.applyValueToInputSignal(t,n):i[e]=n;}function qe(){return _g;}function _g(i){return i.type.prototype.ngOnChanges&&(i.setInput=qw),Ww;}qe.ngInherit=!0;function Ww(){let i=vg(this),t=i?.current;if(t){let e=i.previous;if(e===dr)i.previous=t;else for(let n in t)e[n]=t[n];i.current=null,this.ngOnChanges(t);}}function qw(i,t,e,n,r){let o=this.declaredInputs[n],s=vg(i)||Xw(i,{previous:dr,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new bd(c&&c.currentValue,e,l===dr),gg(i,t,r,e);}var bg="__ngSimpleChanges__";function vg(i){return i[bg]||null;}function Xw(i,t){return i[bg]=t;}var fp=null;var di=function(i,t,e){fp?.(i,t,e);},yg="svg",Yw="math";function Kt(i){for(;Array.isArray(i);)i=i[Ni];return i;}function Ig(i,t){return Kt(t[i]);}function Vt(i,t){return Kt(t[i.index]);}function Su(i,t){return i.data[t];}function Qw(i,t){return i[t];}function en(i,t){let e=t[i];return Xi(e)?e:e[Ni];}function Zw(i){return(i[W]&4)===4;}function Mu(i){return(i[W]&128)===128;}function Kw(i){return Fi(i[lt]);}function Ri(i,t){return t==null?null:i[t];}function wg(i){i[rr]=0;}function Eg(i){i[W]&1024||(i[W]|=1024,Mu(i)&&$a(i));}function Jw(i,t){for(;i>0;)t=t[Ir],i--;return t;}function Ua(i){return!!(i[W]&9216||i[Pt]?.dirty);}function vd(i){i[Ti].changeDetectionScheduler?.notify(8),i[W]&64&&(i[W]|=1024),Ua(i)&&$a(i);}function $a(i){i[Ti].changeDetectionScheduler?.notify(0);let t=wn(i);for(;t!==null&&!(t[W]&8192||(t[W]|=8192,!Mu(t)));)t=wn(t);}function Cg(i,t){if((i[W]&256)===256)throw new D(911,!1);i[qi]===null&&(i[qi]=[]),i[qi].push(t);}function eE(i,t){if(i[qi]===null)return;let e=i[qi].indexOf(t);e!==-1&&i[qi].splice(e,1);}function wn(i){let t=i[lt];return Fi(t)?t[lt]:t;}var re={lFrame:Fg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Dg=!1;function tE(){return re.lFrame.elementDepthCount;}function iE(){re.lFrame.elementDepthCount++;}function nE(){re.lFrame.elementDepthCount--;}function xg(){return re.bindingsEnabled;}function Sg(){return re.skipHydrationRootTNode!==null;}function rE(i){return re.skipHydrationRootTNode===i;}function oE(){re.skipHydrationRootTNode=null;}function oe(){return re.lFrame.lView;}function Be(){return re.lFrame.tView;}function Q(i){return re.lFrame.contextLView=i,i[st];}function Z(i){return re.lFrame.contextLView=null,i;}function nt(){let i=Mg();for(;i!==null&&i.type===64;)i=i.parent;return i;}function Mg(){return re.lFrame.currentTNode;}function ho(){let i=re.lFrame,t=i.currentTNode;return i.isParent?t:t.parent;}function fi(i,t){let e=re.lFrame;e.currentTNode=i,e.isParent=t;}function Tu(){return re.lFrame.isParent;}function ku(){re.lFrame.isParent=!1;}function sE(){return re.lFrame.contextLView;}function Tg(){return Dg;}function pp(i){Dg=i;}function kg(){let i=re.lFrame,t=i.bindingRootIndex;return t===-1&&(t=i.bindingRootIndex=i.tView.bindingStartIndex),t;}function aE(i){return re.lFrame.bindingIndex=i;}function Mn(){return re.lFrame.bindingIndex++;}function Rg(i){let t=re.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+i,e;}function lE(){return re.lFrame.inI18n;}function Ag(i){re.lFrame.inI18n=i;}function cE(i,t){let e=re.lFrame;e.bindingIndex=e.bindingRootIndex=i,yd(t);}function dE(){return re.lFrame.currentDirectiveIndex;}function yd(i){re.lFrame.currentDirectiveIndex=i;}function uE(i){let t=re.lFrame.currentDirectiveIndex;return t===-1?null:i[t];}function Ru(){return re.lFrame.currentQueryIndex;}function Wa(i){re.lFrame.currentQueryIndex=i;}function hE(i){let t=i[te];return t.type===2?t.declTNode:t.type===1?i[pt]:null;}function Og(i,t,e){if(e&me.SkipSelf){let r=t,o=i;for(;r=r.parent,r===null&&!(e&me.Host);)if(r=hE(o),r===null||(o=o[Ir],r.type&10))break;if(r===null)return!1;t=r,i=o;}let n=re.lFrame=Ng();return n.currentTNode=t,n.lView=i,!0;}function Au(i){let t=Ng(),e=i[te];re.lFrame=t,t.currentTNode=e.firstChild,t.lView=i,t.tView=e,t.contextLView=i,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1;}function Ng(){let i=re.lFrame,t=i===null?null:i.child;return t===null?Fg(i):t;}function Fg(i){let 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:i,child:null,inI18n:!1};return i!==null&&(i.child=t),t;}function Pg(){let i=re.lFrame;return re.lFrame=i.parent,i.currentTNode=null,i.lView=null,i;}var Lg=Pg;function Ou(){let i=Pg();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0;}function mE(i){return(re.lFrame.contextLView=Jw(i,re.lFrame.contextLView))[st];}function tn(){return re.lFrame.selectedIndex;}function En(i){re.lFrame.selectedIndex=i;}function qa(){let i=re.lFrame;return Su(i.tView,i.selectedIndex);}function wr(){re.lFrame.currentNamespace=yg;}function Nu(){fE();}function fE(){re.lFrame.currentNamespace=null;}function pE(){return re.lFrame.currentNamespace;}var Vg=!0;function _o(){return Vg;}function bo(i){Vg=i;}function gE(i,t,e){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(n){let s=_g(t);(e.preOrderHooks??=[]).push(i,s),(e.preOrderCheckHooks??=[]).push(i,s);}r&&(e.preOrderHooks??=[]).push(0-i,r),o&&((e.preOrderHooks??=[]).push(i,o),(e.preOrderCheckHooks??=[]).push(i,o));}function Xa(i,t){for(let e=t.directiveStart,n=t.directiveEnd;e=n)break;}else t[l]<0&&(i[rr]+=65536),(a>14>16&&(i[W]&3)===t&&(i[W]+=16384,gp(a,o)):gp(a,o);}var lr=-1,Cn=class{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n;}};function bE(i){return i instanceof Cn;}function vE(i){return(i.flags&8)!==0;}function yE(i){return(i.flags&16)!==0;}var Kc={},Id=class{constructor(t,e){this.injector=t,this.parentInjector=e;}get(t,e,n){n=Va(n);let r=this.injector.get(t,Kc,n);return r!==Kc||e===Kc?r:this.parentInjector.get(t,e,n);}};function jg(i){return i!==lr;}function _a(i){return i&32767;}function IE(i){return i>>16;}function ba(i,t){let e=IE(i),n=t;for(;e>0;)n=n[Ir],e--;return n;}var wd=!0;function _p(i){let t=wd;return wd=i,t;}var wE=256,Hg=wE-1,zg=5,EE=0,ui={};function CE(i,t,e){let n;typeof e=="string"?n=e.charCodeAt(0)||0:e.hasOwnProperty(ro)&&(n=e[ro]),n==null&&(n=e[ro]=EE++);let r=n&Hg,o=1<>zg)]|=o;}function va(i,t){let e=Gg(i,t);if(e!==-1)return e;let n=t[te];n.firstCreatePass&&(i.injectorIndex=t.length,Jc(n.data,i),Jc(t,null),Jc(n.blueprint,null));let r=Fu(i,t),o=i.injectorIndex;if(jg(r)){let s=_a(r),a=ba(r,t),l=a[te].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c];}return t[o+8]=r,o;}function Jc(i,t){i.push(0,0,0,0,0,0,0,0,t);}function Gg(i,t){return i.injectorIndex===-1||i.parent&&i.parent.injectorIndex===i.injectorIndex||t[i.injectorIndex+8]===null?-1:i.injectorIndex;}function Fu(i,t){if(i.parent&&i.parent.injectorIndex!==-1)return i.parent.injectorIndex;let e=0,n=null,r=t;for(;r!==null;){if(n=Xg(r),n===null)return lr;if(e++,r=r[Ir],n.injectorIndex!==-1)return n.injectorIndex|e<<16;}return lr;}function Ed(i,t,e){CE(i,t,e);}function DE(i,t){if(t==="class")return i.classes;if(t==="style")return i.styles;let e=i.attrs;if(e){let n=e.length,r=0;for(;r>20,u=n?a:a+d,m=r?a+d:c;for(let h=u;h=l&&f.type===e)return h;}if(r){let h=s[l];if(h&&Qi(h)&&h.type===e)return l;}return null;}function Dn(i,t,e,n){let r=i[e],o=t.data;if(bE(r)){let s=r;s.resolving&&JI(KI(o[e]));let a=_p(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?ci(s.injectImpl):null,d=Og(i,n,me.Default);try{r=i[e]=s.factory(void 0,o,i,n),t.firstCreatePass&&e>=n.directiveStart&&gE(e,o[e],t);}finally{c!==null&&ci(c),_p(a),s.resolving=!1,Lg();}}return r;}function SE(i){if(typeof i=="string")return i.charCodeAt(0)||0;let t=i.hasOwnProperty(ro)?i[ro]:void 0;return typeof t=="number"?t>=0?t&Hg:ME:t;}function bp(i,t,e){let n=1<>zg)]&n);}function vp(i,t){return!(i&me.Self)&&!(i&me.Host&&t);}var vn=class{constructor(t,e){this._tNode=t,this._lView=e;}get(t,e,n){return Wg(this._tNode,this._lView,t,Va(n),e);}};function ME(){return new vn(nt(),oe());}function vo(i){return po(()=>{let t=i.prototype.constructor,e=t[ca]||Cd(t),n=Object.prototype,r=Object.getPrototypeOf(i.prototype).constructor;for(;r&&r!==n;){let o=r[ca]||Cd(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r);}return o=>new o();});}function Cd(i){return Up(i)?()=>{let t=Cd(mt(i));return t&&t();}:cr(i);}function TE(i,t,e,n,r){let o=i,s=t;for(;o!==null&&s!==null&&s[W]&2048&&!(s[W]&512);){let a=qg(o,s,e,n|me.Self,ui);if(a!==ui)return a;let l=o.parent;if(!l){let c=s[fg];if(c){let d=c.get(e,ui,n);if(d!==ui)return d;}l=Xg(s),s=s[Ir];}o=l;}return r;}function Xg(i){let t=i[te],e=t.type;return e===2?t.declTNode:e===1?i[pt]:null;}function Bt(i){return DE(nt(),i);}function yp(i,t=null,e=null,n){let r=Yg(i,t,e,n);return r.resolveInjectorInitializers(),r;}function Yg(i,t=null,e=null,n,r=new Set()){let o=[e||ot,Ow(i)];return n=n||(typeof i=="object"?void 0:ft(i)),new ma(o,t||Cu(),n||null,r);}var Le=class i{static{this.THROW_IF_NOT_FOUND=ao;}static{this.NULL=new ha();}static create(t,e){if(Array.isArray(t))return yp({name:""},e,t,"");{let n=t.name??"";return yp({name:n},t.parent,t.providers,n);}}static{this.ɵprov=x({token:i,providedIn:"any",factory:()=>I(Jp)});}static{this.__NG_ELEMENT_ID__=-1;}};var kE=new w("");kE.__NG_ELEMENT_ID__=i=>{let t=nt();if(t===null)throw new D(204,!1);if(t.type&2)return t.value;if(i&me.Optional)return null;throw new D(204,!1);};var RE="ngOriginalError";function ed(i){return i[RE];}var Qg=!0,Ya=(()=>{class i{static{this.__NG_ELEMENT_ID__=AE;}static{this.__NG_ENV_ID__=e=>e;}}return i;})(),Dd=class extends Ya{constructor(t){super(),this._lView=t;}onDestroy(t){return Cg(this._lView,t),()=>eE(this._lView,t);}};function AE(){return new Dd(oe());}var yo=(()=>{class i{constructor(){this.taskId=0,this.pendingTasks=new Set(),this.hasPendingTasks=new Ui(!1);}get _hasPendingTasks(){return this.hasPendingTasks.value;}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e;}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1);}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1);}static{this.ɵprov=x({token:i,providedIn:"root",factory:()=>new i()});}}return i;})();var xd=class extends P{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,mg()&&(this.destroyRef=M(Ya,{optional:!0})??void 0,this.pendingTasks=M(yo,{optional:!0})??void 0);}emit(t){let e=de(null);try{super.next(t);}finally{de(e);}}subscribe(t,e,n){let r=t,o=e||(()=>null),s=n;if(t&&typeof t=="object"){let l=t;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l);}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return t instanceof pe&&t.add(a),a;}wrapInTimeout(t){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{t(e),n!==void 0&&this.pendingTasks?.remove(n);});};}},V=xd;function ya(...i){}function Zg(i){let t,e;function n(){i=ya;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),t!==void 0&&clearTimeout(t);}catch{}}return t=setTimeout(()=>{i(),n();}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{i(),n();})),()=>n();}function Ip(i){return queueMicrotask(()=>i()),()=>{i=ya;};}var Pu="isAngularZone",Ia=Pu+"_ID",OE=0,S=class i{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new V(!1),this.onMicrotaskEmpty=new V(!1),this.onStable=new V(!1),this.onError=new V(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=Qg}=t;if(typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec())),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,PE(s);}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Pu)===!0;}static assertInAngularZone(){if(!i.isInAngularZone())throw new D(909,!1);}static assertNotInAngularZone(){if(i.isInAngularZone())throw new D(909,!1);}run(t,e,n){return this._inner.run(t,e,n);}runTask(t,e,n,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,NE,ya,ya);try{return o.runTask(s,e,n);}finally{o.cancelTask(s);}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n);}runOutsideAngular(t){return this._outer.run(t);}},NE={};function Lu(i){if(i._nesting==0&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null);}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null));}finally{i.isStable=!0;}}}function FE(i){if(i.isCheckStableRunning||i.callbackScheduled)return;i.callbackScheduled=!0;function t(){Zg(()=>{i.callbackScheduled=!1,Sd(i),i.isCheckStableRunning=!0,Lu(i),i.isCheckStableRunning=!1;});}i.scheduleInRootZone?Zone.root.run(()=>{t();}):i._outer.run(()=>{t();}),Sd(i);}function PE(i){let t=()=>{FE(i);},e=OE++;i._inner=i._inner.fork({name:"angular",properties:{[Pu]:!0,[Ia]:e,[Ia+e]:!0},onInvokeTask:(n,r,o,s,a,l)=>{if(LE(l))return n.invokeTask(o,s,a,l);try{return wp(i),n.invokeTask(o,s,a,l);}finally{(i.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||i.shouldCoalesceRunChangeDetection)&&t(),Ep(i);}},onInvoke:(n,r,o,s,a,l,c)=>{try{return wp(i),n.invoke(o,s,a,l,c);}finally{i.shouldCoalesceRunChangeDetection&&!i.callbackScheduled&&!VE(l)&&t(),Ep(i);}},onHasTask:(n,r,o,s)=>{n.hasTask(o,s),r===o&&(s.change=="microTask"?(i._hasPendingMicrotasks=s.microTask,Sd(i),Lu(i)):s.change=="macroTask"&&(i.hasPendingMacrotasks=s.macroTask));},onHandleError:(n,r,o,s)=>(n.handleError(o,s),i.runOutsideAngular(()=>i.onError.emit(s)),!1)});}function Sd(i){i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&i.callbackScheduled===!0?i.hasPendingMicrotasks=!0:i.hasPendingMicrotasks=!1;}function wp(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null));}function Ep(i){i._nesting--,Lu(i);}var wa=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new V(),this.onMicrotaskEmpty=new V(),this.onStable=new V(),this.onError=new V();}run(t,e,n){return t.apply(e,n);}runGuarded(t,e,n){return t.apply(e,n);}runOutsideAngular(t){return t();}runTask(t,e,n,r){return t.apply(e,n);}};function LE(i){return Kg(i,"__ignore_ng_zone__");}function VE(i){return Kg(i,"__scheduler_tick__");}function Kg(i,t){return!Array.isArray(i)||i.length!==1?!1:i[0]?.data?.[t]===!0;}function BE(i="zone.js",t){return i==="noop"?new wa():i==="zone.js"?new S(t):i;}var Jt=class{constructor(){this._console=console;}handleError(t){let e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e);}_findOriginalError(t){let e=t&&ed(t);for(;e&&ed(e);)e=ed(e);return e||null;}},jE=new w("",{providedIn:"root",factory:()=>{let i=M(S),t=M(Jt);return e=>i.runOutsideAngular(()=>t.handleError(e));}});function HE(){return Er(nt(),oe());}function Er(i,t){return new N(Vt(i,t));}var N=(()=>{class i{constructor(e){this.nativeElement=e;}static{this.__NG_ELEMENT_ID__=HE;}}return i;})();function Jg(i){return i instanceof N?i.nativeElement:i;}function zE(){return this._results[Symbol.iterator]();}var Ai=class i{get changes(){return this._changes??=new V();}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=i.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=zE);}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){this.dirty=!1;let n=uw(t);(this._changesDetected=!dw(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0]);}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this);}onDirty(t){this._onDirty=t;}setDirty(){this.dirty=!0,this._onDirty?.();}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe());}};function e_(i){return(i.flags&128)===128;}var t_=new Map(),GE=0;function UE(){return GE++;}function $E(i){t_.set(i[Ha],i);}function Md(i){t_.delete(i[Ha]);}var Cp="__ngContext__";function Zi(i,t){Xi(t)?(i[Cp]=t[Ha],$E(t)):i[Cp]=t;}function i_(i){return r_(i[uo]);}function n_(i){return r_(i[Qt]);}function r_(i){for(;i!==null&&!Fi(i);)i=i[Qt];return i;}var Td;function o_(i){Td=i;}function s_(){if(Td!==void 0)return Td;if(typeof document<"u")return document;throw new D(210,!1);}var Io=new w("",{providedIn:"root",factory:()=>WE}),WE="ng",Vu=new w(""),Pi=new w("",{providedIn:"platform",factory:()=>"unknown"});var Ke=new w(""),wo=new w("",{providedIn:"root",factory:()=>s_().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var qE="h",XE="b";var YE=()=>null;function Bu(i,t,e=!1){return YE(i,t,e);}var a_=!1,QE=new w("",{providedIn:"root",factory:()=>a_});var Zs;function ZE(){if(Zs===void 0&&(Zs=null,Zt.trustedTypes))try{Zs=Zt.trustedTypes.createPolicy("angular",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i});}catch{}return Zs;}function ju(i){return ZE()?.createHTML(i)||i;}var kd=class{constructor(t){this.changingThisBreaksApplicationSecurity=t;}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${jI})`;}};function Qa(i){return i instanceof kd?i.changingThisBreaksApplicationSecurity:i;}function KE(i){let t=new Ad(i);return JE()?new Rd(t):t;}var Rd=class{constructor(t){this.inertDocumentHelper=t;}getInertBodyElement(t){t=""+t;try{let e=new window.DOMParser().parseFromString(ju(t),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e);}catch{return null;}}},Ad=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");}getInertBodyElement(t){let e=this.inertDocument.createElement("template");return e.innerHTML=ju(t),e;}};function JE(){try{return!!new window.DOMParser().parseFromString(ju(""),"text/html");}catch{return!1;}}var eC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function l_(i){return i=String(i),i.match(eC)?i:"unsafe:"+i;}function nn(i){let t={};for(let e of i.split(","))t[e]=!0;return t;}function Eo(...i){let t={};for(let e of i)for(let n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t;}var tC=nn("area,br,col,hr,img,wbr"),c_=nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),d_=nn("rp,rt"),iC=Eo(d_,c_),nC=Eo(c_,nn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),rC=Eo(d_,nn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),oC=Eo(tC,nC,rC,iC),u_=nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),sC=nn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),aC=nn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),lC=Eo(u_,sC,aC);function cC(i){return"content"in i&&dC(i)?i.content:null;}function dC(i){return i.nodeType===Node.ELEMENT_NODE&&i.nodeName==="TEMPLATE";}var uC=/^>|^->||--!>|)/g,mC="\u200B$1\u200B";function fC(i){return i.replace(uC,t=>t.replace(hC,mC));}function pC(i){return i instanceof Function?i():i;}function h_(i){return(i??M(Le)).get(Pi)==="browser";}var Oi=function(i){return i[i.Important=1]="Important",i[i.DashCase=2]="DashCase",i;}(Oi||{}),Od;function Hu(i,t){return Od(i,t);}function gC(i){Od===void 0&&(Od=i());}function or(i,t,e,n,r){if(n!=null){let o,s=!1;Fi(n)?o=n:Xi(n)&&(s=!0,n=n[Ni]);let a=Kt(n);i===0&&e!==null?r==null?v_(t,e,a):gr(t,e,a,r||null,!0):i===1&&e!==null?gr(t,e,a,r||null,!0):i===2?DC(t,a,s):i===3&&t.destroyNode(a),o!=null&&SC(t,i,o,e,r);}}function m_(i,t){return i.createText(t);}function _C(i,t,e){i.setValue(t,e);}function f_(i,t){return i.createComment(fC(t));}function zu(i,t,e){return i.createElement(t,e);}function bC(i,t){p_(i,t),t[Ni]=null,t[pt]=null;}function vC(i,t,e,n,r,o){n[Ni]=r,n[pt]=t,Ja(i,n,e,1,r,o);}function p_(i,t){t[Ti].changeDetectionScheduler?.notify(9),Ja(i,t,t[Pe],2,null,null);}function yC(i){let t=i[uo];if(!t)return td(i[te],i);for(;t;){let e=null;if(Xi(t))e=t[uo];else{let n=t[at];n&&(e=n);}if(!e){for(;t&&!t[Qt]&&t!==i;)Xi(t)&&td(t[te],t),t=t[lt];t===null&&(t=i),Xi(t)&&td(t[te],t),e=t&&t[Qt];}t=e;}}function IC(i,t,e,n){let r=at+n,o=e.length;n>0&&(e[r-1][Qt]=t),n0&&(i[e-1][Qt]=n[Qt]);let o=ua(i,at+t);bC(n[te],n);let s=o[ki];s!==null&&s.detachView(o[te]),n[lt]=null,n[Qt]=null,n[W]&=-129;}return n;}function Za(i,t){if(!(t[W]&256)){let e=t[Pe];e.destroyNode&&Ja(i,t,e,3,null,null),yC(t);}}function td(i,t){if(t[W]&256)return;let e=de(null);try{t[W]&=-129,t[W]|=256,t[Pt]&&vs(t[Pt]),EC(i,t),wC(i,t),t[te].type===1&&t[Pe].destroy();let n=t[yn];if(n!==null&&Fi(t[lt])){n!==t[lt]&&Gu(n,t);let r=t[ki];r!==null&&r.detachView(i);}Md(t);}finally{de(e);}}function wC(i,t){let e=i.cleanup,n=t[fa];if(e!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2;}else{let s=n[e[o+1]];e[o].call(s);}n!==null&&(t[fa]=null);let r=t[qi];if(r!==null){t[qi]=null;for(let o=0;o-1){let{encapsulation:o}=i.data[n.directiveStart+r];if(o===hi.None||o===hi.Emulated)return null;}return Vt(n,e);}}function gr(i,t,e,n,r){i.insertBefore(t,e,n,r);}function v_(i,t,e){i.appendChild(t,e);}function Dp(i,t,e,n,r){n!==null?gr(i,t,e,n,r):v_(i,t,e);}function y_(i,t){return i.parentNode(t);}function CC(i,t){return i.nextSibling(t);}function I_(i,t,e){return E_(i,t,e);}function w_(i,t,e){return i.type&40?Vt(i,e):null;}var E_=w_,Nd;function C_(i,t){E_=i,Nd=t;}function Ka(i,t,e,n){let r=__(i,n,t),o=t[Pe],s=n.parent||t[pt],a=I_(s,n,t);if(r!=null)if(Array.isArray(e))for(let l=0;ltt&&T_(i,t,tt,!1),di(s?2:0,r),e(n,r);}finally{En(o),di(s?3:1,r);}}function Wu(i,t,e){if(xu(t)){let n=de(null);try{let r=t.directiveStart,o=t.directiveEnd;for(let s=r;snull;function FC(i,t,e,n){let r=L_(t);r.push(e),i.firstCreatePass&&V_(i).push(n,r.length-1);}function PC(i,t,e,n,r,o){let s=t?t.injectorIndex:-1,a=0;return Sg()&&(a|=128),{type:e,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};}function xp(i,t,e,n,r){for(let o in t){if(!t.hasOwnProperty(o))continue;let s=t[o];if(s===void 0)continue;n??={};let a,l=Yi.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(r!==null){if(!r.hasOwnProperty(o))continue;c=r[o];}i===0?Sp(n,e,c,a,l):Sp(n,e,c,a);}return n;}function Sp(i,t,e,n,r){let o;i.hasOwnProperty(e)?(o=i[e]).push(t,n):o=i[e]=[t,n],r!==void 0&&o.push(r);}function LC(i,t,e){let n=t.directiveStart,r=t.directiveEnd,o=i.data,s=t.attrs,a=[],l=null,c=null;for(let d=n;d0;){let e=i[--t];if(typeof e=="number"&&e<0)return e;}return 0;}function zC(i,t,e,n){let r=e.directiveStart,o=e.directiveEnd;za(e)&&YC(t,e,i.data[r+e.componentOffset]),i.firstCreatePass||va(e,t),Zi(n,t);let s=e.initialInputs;for(let a=r;a{$a(i.lView);},consumerOnSignalRead(){this.lView[Pt]=this;}});function cD(i){let t=i[Pt]??Object.create(dD);return t.lView=i,t;}var dD=Te($({},qn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:i=>{let t=wn(i.lView);for(;t&&!G_(t[te]);)t=wn(t);t&&Eg(t);},consumerOnSignalRead(){this.lView[Pt]=this;}});function G_(i){return i.type!==2;}var uD=100;function U_(i,t=!0,e=0){let n=i[Ti],r=n.rendererFactory,o=!1;o||r.begin?.();try{hD(i,e);}catch(s){throw t&&B_(i,s),s;}finally{o||(r.end?.(),n.inlineEffectRunner?.flush());}}function hD(i,t){let e=Tg();try{pp(!0),Vd(i,t);let n=0;for(;Ua(i);){if(n===uD)throw new D(103,!1);n++,Vd(i,1);}}finally{pp(e);}}function mD(i,t,e,n){let r=t[W];if((r&256)===256)return;let o=!1,s=!1;!o&&t[Ti].inlineEffectRunner?.flush(),Au(t);let a=!0,l=null,c=null;o||(G_(i)?(c=oD(t),l=Qr(c)):pf()===null?(a=!1,c=cD(t),l=Qr(c)):t[Pt]&&(vs(t[Pt]),t[Pt]=null));try{wg(t),aE(i.bindingStartIndex),e!==null&&R_(i,t,e,2,n);let d=(r&3)===3;if(!o)if(d){let h=i.preOrderCheckHooks;h!==null&&ra(t,h,null);}else{let h=i.preOrderHooks;h!==null&&oa(t,h,0,null),Zc(t,0);}if(s||fD(t),$_(t,0),i.contentQueries!==null&&P_(i,t),!o)if(d){let h=i.contentCheckHooks;h!==null&&ra(t,h);}else{let h=i.contentHooks;h!==null&&oa(t,h,1),Zc(t,1);}kC(i,t);let u=i.components;u!==null&&q_(t,u,0);let m=i.viewQuery;if(m!==null&&Ld(2,m,n),!o)if(d){let h=i.viewCheckHooks;h!==null&&ra(t,h);}else{let h=i.viewHooks;h!==null&&oa(t,h,2),Zc(t,2);}if(i.firstUpdatePass===!0&&(i.firstUpdatePass=!1),t[na]){for(let h of t[na])h();t[na]=null;}o||(t[W]&=-73);}catch(d){throw o||$a(t),d;}finally{c!==null&&(_s(c,l),a&&aD(c)),Ou();}}function $_(i,t){for(let e=i_(i);e!==null;e=n_(e))for(let n=at;n-1&&(mo(t,n),ua(e,n));}this._attachedToViewContainer=!1;}Za(this._lView[te],this._lView);}onDestroy(t){Cg(this._lView,t);}markForCheck(){eh(this._cdRefInjectingView||this._lView,4);}detach(){this._lView[W]&=-129;}reattach(){vd(this._lView),this._lView[W]|=128;}detectChanges(){this._lView[W]|=1024,U_(this._lView,this.notifyErrorHandler);}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0;}detachFromAppRef(){this._appRef=null;let t=_d(this._lView),e=this._lView[yn];e!==null&&!t&&Gu(e,this._lView),p_(this._lView[te],this._lView);}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let e=_d(this._lView),n=this._lView[yn];n!==null&&!e&&g_(n,this._lView),vd(this._lView);}},We=(()=>{class i{static{this.__NG_ELEMENT_ID__=bD;}}return i;})(),gD=We,_D=class extends gD{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n;}get ssrId(){return this._declarationTContainer.tView?.ssrId||null;}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e);}createEmbeddedViewImpl(t,e,n){let r=Do(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:e,dehydratedView:n});return new xn(r);}};function bD(){return il(nt(),oe());}function il(i,t){return i.type&4?new _D(t,i,Er(i,t)):null;}function X_(i,t,e){let n=t.insertBeforeIndex,r=Array.isArray(n)?n[0]:n;return r===null?w_(i,t,e):Kt(e[r]);}function Y_(i,t,e,n,r){let o=t.insertBeforeIndex;if(Array.isArray(o)){let s=n,a=null;if(t.type&3||(a=s,s=r),s!==null&&t.componentOffset===-1)for(let l=1;l1)for(let e=i.length-2;e>=0;e--){let n=i[e];Z_(n)||vD(n,t)&&yD(n)===null&&ID(n,t.index);}}function Z_(i){return!(i.type&64);}function vD(i,t){return Z_(t)||i.index>t.index;}function yD(i){let t=i.insertBeforeIndex;return Array.isArray(t)?t[0]:t;}function ID(i,t){let e=i.insertBeforeIndex;Array.isArray(e)?e[0]=t:(C_(X_,Y_),i.insertBeforeIndex=t);}function wD(i,t,e){let n=i.data[t];n===null?i.data[t]=e:n.value=e;}function ED(i,t){let e=i.insertBeforeIndex;e===null?(C_(X_,Y_),e=i.insertBeforeIndex=[null,t]):(UI(Array.isArray(e),!0,"Expecting array here"),e.push(t));}function CD(i,t,e){let n=$u(i,e,64,null,null);return Q_(t,n),n;}function DD(i,t){let e=t[i.currentCaseLViewIndex];return e===null?e:e<0?~e:e;}function xD(i,t,e){return i|t<<17|e<<1;}function SD(i){return i===-1;}function K_(i,t,e){i.index=0;let n=DD(t,e);n!==null?i.removes=t.remove[n]:i.removes=ot;}function Bd(i){if(i.index0)return i.lView[t];{i.stack.push(i.index,i.removes);let e=~t,n=i.lView[te].data[e];return K_(i,n,i.lView),Bd(i);}}else return i.stack.length===0?null:(i.removes=i.stack.pop(),i.index=i.stack.pop(),Bd(i));}function MD(){let i={stack:[],index:-1};function t(e,n){for(i.lView=n;i.stack.length;)i.stack.pop();return K_(i,e.value,n),Bd.bind(null,i);}return t;}var KV=new RegExp(`^(\\d+)*(${XE}|${qE})*(.*)`);var TD=()=>{};function kD(i,t,e,n){TD(i,t,e,n);}var RD=()=>null;function br(i,t){return RD(i,t);}var vr=class{},th=new w("",{providedIn:"root",factory:()=>!1});var J_=new w(""),eb=new w(""),jd=class{},Ca=class{};function AD(i){let t=Error(`No component factory found for ${ft(i)}.`);return t[OD]=i,t;}var OD="ngComponent";var Hd=class{resolveComponentFactory(t){throw AD(t);}},Et=class{static{this.NULL=new Hd();}},Ki=class{},Dr=(()=>{class i{constructor(){this.destroyNode=null;}static{this.__NG_ELEMENT_ID__=()=>ND();}}return i;})();function ND(){let i=oe(),t=nt(),e=en(t.index,i);return(Xi(e)?e:i)[Pe];}var FD=(()=>{class i{static{this.ɵprov=x({token:i,providedIn:"root",factory:()=>null});}}return i;})();function Da(i,t,e){let n=e?i.styles:null,r=e?i.classes:null,o=0;if(t!==null)for(let s=0;s0&&S_(i,e,o.join(" "));}}function zD(i,t,e){let n=i.projection=[];for(let r=0;r{class i{static{this.__NG_ELEMENT_ID__=UD;}}return i;})();function UD(){let i=nt();return ib(i,oe());}var $D=Je,tb=class extends $D{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n;}get element(){return Er(this._hostTNode,this._hostLView);}get injector(){return new vn(this._hostTNode,this._hostLView);}get parentInjector(){let t=Fu(this._hostTNode,this._hostLView);if(jg(t)){let e=ba(t,this._hostLView),n=_a(t),r=e[te].data[n+8];return new vn(r,e);}else return new vn(null,this._hostLView);}clear(){for(;this.length>0;)this.remove(this.length-1);}get(t){let e=Tp(this._lContainer);return e!==null&&e[t]||null;}get length(){return this._lContainer.length-at;}createEmbeddedView(t,e,n){let r,o;typeof n=="number"?r=n:n!=null&&(r=n.index,o=n.injector);let s=br(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,_r(this._hostTNode,s)),a;}createComponent(t,e,n,r,o){let s=t&&!$w(t),a;if(s)a=e;else{let f=e||{};a=f.index,n=f.injector,r=f.projectableNodes,o=f.environmentInjector||f.ngModuleRef;}let l=s?t:new Sa(ur(t)),c=n||this.parentInjector;if(!o&&l.ngModule==null){let b=(s?c:this.parentInjector).get(mi,null);b&&(o=b);}let d=ur(l.componentType??{}),u=br(this._lContainer,d?.id??null),m=u?.firstChild??null,h=l.create(c,r,m,o);return this.insertImpl(h.hostView,a,_r(this._hostTNode,u)),h;}insert(t,e){return this.insertImpl(t,e,!0);}insertImpl(t,e,n){let r=t._lView;if(Kw(r)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let l=r[lt],c=new tb(l,l[pt],l[lt]);c.detach(c.indexOf(t));}}let o=this._adjustIndex(e),s=this._lContainer;return xo(s,r,o,n),t.attachToViewContainerRef(),Kp(id(s),o,t),t;}move(t,e){return this.insert(t,e);}indexOf(t){let e=Tp(this._lContainer);return e!==null?e.indexOf(t):-1;}remove(t){let e=this._adjustIndex(t,-1),n=mo(this._lContainer,e);n&&(ua(id(this._lContainer),e),Za(n[te],n));}detach(t){let e=this._adjustIndex(t,-1),n=mo(this._lContainer,e);return n&&ua(id(this._lContainer),e)!=null?new xn(n):null;}_adjustIndex(t,e=0){return t??this.length+e;}};function Tp(i){return i[pa];}function id(i){return i[pa]||(i[pa]=[]);}function ib(i,t){let e,n=t[i.index];return Fi(n)?e=n:(e=F_(n,t,null,i),t[i.index]=e,tl(t,e)),qD(e,t,i,n),new tb(e,i,t);}function WD(i,t){let e=i[Pe],n=e.createComment(""),r=Vt(t,i),o=y_(e,r);return gr(e,o,n,CC(e,r),!1),n;}var qD=QD,XD=()=>!1;function YD(i,t,e){return XD(i,t,e);}function QD(i,t,e,n){if(i[In])return;let r;e.type&8?r=Kt(n):r=WD(t,e),i[In]=r;}var Gd=class i{constructor(t){this.queryList=t,this.matches=null;}clone(){return new i(this.queryList);}setDirty(){this.queryList.setDirty();}},Ud=class i{constructor(t=[]){this.queries=t;}createEmbeddedView(t){let e=t.queries;if(e!==null){let n=t.contentQueries!==null?t.contentQueries[0]:e.length,r=[];for(let o=0;o0)n.push(s[a/2]);else{let c=o[a+1],d=t[-l];for(let u=at;ut.trim());}function sb(i,t,e){i.queries===null&&(i.queries=new $d()),i.queries.track(new Wd(t,e));}function nx(i,t){let e=i.contentQueries||(i.contentQueries=[]),n=e.length?e[e.length-1]:-1;t!==n&&e.push(i.queries.length-1,t);}function nh(i,t){return i.queries.getByIndex(t);}function ab(i,t){let e=i[te],n=nh(e,t);return n.crossesNgTemplate?qd(e,i,t,[]):nb(e,i,n,t);}var kp=new Set();function gi(i){kp.has(i)||(kp.add(i),performance?.mark?.("mark_feature_usage",{detail:{feature:i}}));}function nl(i){return typeof i=="function"&&i[Ot]!==void 0;}function Tn(i,t){gi("NgSignals");let e=xf(i),n=e[Ot];return t?.equal&&(n.equal=t.equal),e.set=r=>Fc(n,r),e.update=r=>Sf(n,r),e.asReadonly=rx.bind(e),e;}function rx(){let i=this[Ot];if(i.readonlyFn===void 0){let t=()=>this();t[Ot]=i,i.readonlyFn=t;}return i.readonlyFn;}function lb(i){return nl(i)&&typeof i.set=="function";}function cb(i,t){let e,n=Nc(()=>{e._dirtyCounter();let r=lx(e,i);if(t&&r===void 0)throw new D(-951,!1);return r;});return e=n[Ot],e._dirtyCounter=Tn(0),e._flatValue=void 0,n;}function ox(){return cb(!0,!1);}function sx(){return cb(!0,!0);}function ax(i,t){let e=i[Ot];e._lView=oe(),e._queryIndex=t,e._queryList=ih(e._lView,t),e._queryList.onDirty(()=>e._dirtyCounter.update(n=>n+1));}function lx(i,t){let e=i._lView,n=i._queryIndex;if(e===void 0||n===void 0||e[W]&4)return t?void 0:ot;let r=ih(e,n),o=ab(e,n);return r.reset(o,Jg),t?r.first:r._changesDetected||i._flatValue===void 0?i._flatValue=r.toArray():i._flatValue;}function Rp(i,t){return ox();}function cx(i,t){return sx();}var db=(Rp.required=cx,Rp);function dx(i){let t=[],e=new Map();function n(r){let o=e.get(r);if(!o){let s=i(r);e.set(r,o=s.then(fx));}return o;}return Ta.forEach((r,o)=>{let s=[];r.templateUrl&&s.push(n(r.templateUrl).then(c=>{r.template=c;}));let a=typeof r.styles=="string"?[r.styles]:r.styles||[];if(r.styles=a,r.styleUrl&&r.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(r.styleUrls?.length){let c=r.styles.length,d=r.styleUrls;r.styleUrls.forEach((u,m)=>{a.push(""),s.push(n(u).then(h=>{a[c+m]=h,d.splice(d.indexOf(u),1),d.length==0&&(r.styleUrls=void 0);}));});}else r.styleUrl&&s.push(n(r.styleUrl).then(c=>{a.push(c),r.styleUrl=void 0;}));let l=Promise.all(s).then(()=>px(o));t.push(l);}),hx(),Promise.all(t).then(()=>{});}var Ta=new Map(),ux=new Set();function hx(){let i=Ta;return Ta=new Map(),i;}function mx(){return Ta.size===0;}function fx(i){return typeof i=="string"?i:i.text();}function px(i){ux.delete(i);}function gx(i){return Object.getPrototypeOf(i.prototype).constructor;}function je(i){let t=gx(i.type),e=!0,n=[i];for(;t;){let r;if(Qi(i))r=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new D(903,!1);r=t.ɵdir;}if(r){if(e){n.push(r);let s=i;s.inputs=Ks(i.inputs),s.inputTransforms=Ks(i.inputTransforms),s.declaredInputs=Ks(i.declaredInputs),s.outputs=Ks(i.outputs);let a=r.hostBindings;a&&Ix(i,a);let l=r.viewQuery,c=r.contentQueries;if(l&&vx(i,l),c&&yx(i,c),_x(i,r),zI(i.outputs,r.outputs),Qi(r)&&r.data.animation){let d=i.data;d.animation=(d.animation||[]).concat(r.data.animation);}}let o=r.features;if(o)for(let s=0;s=0;n--){let r=i[n];r.hostVars=t+=r.hostVars,r.hostAttrs=co(r.hostAttrs,e=co(e,r.hostAttrs));}}function Ks(i){return i===dr?{}:i===ot?[]:i;}function vx(i,t){let e=i.viewQuery;e?i.viewQuery=(n,r)=>{t(n,r),e(n,r);}:i.viewQuery=t;}function yx(i,t){let e=i.contentQueries;e?i.contentQueries=(n,r,o)=>{t(n,r,o),e(n,r,o);}:i.contentQueries=t;}function Ix(i,t){let e=i.hostBindings;e?i.hostBindings=(n,r)=>{t(n,r),e(n,r);}:i.hostBindings=t;}function De(i){let t=i.inputConfig,e={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];Array.isArray(r)&&r[3]&&(e[n]=r[3]);}i.inputTransforms=e;}var Ji=class{},Xd=class{};var ka=class extends Ji{constructor(t,e,n,r=!0){super(),this.ngModuleType=t,this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xa(this);let o=Rw(t);this._bootstrapComponents=pC(o.bootstrap),this._r3Injector=Yg(t,e,[{provide:Ji,useValue:this},{provide:Et,useValue:this.componentFactoryResolver},...n],ft(t),new Set(["environment"])),r&&this.resolveInjectorInitializers();}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType);}get injector(){return this._r3Injector;}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null;}onDestroy(t){this.destroyCbs.push(t);}},Yd=class extends Xd{constructor(t){super(),this.moduleType=t;}create(t){return new ka(this.moduleType,t,[]);}};function wx(i,t,e){return new ka(i,t,e,!1);}var Qd=class extends Ji{constructor(t){super(),this.componentFactoryResolver=new xa(this),this.instance=null;let e=new ma([...t.providers,{provide:Ji,useValue:this},{provide:Et,useValue:this.componentFactoryResolver}],t.parent||Cu(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers();}destroy(){this.injector.destroy();}onDestroy(t){this.injector.onDestroy(t);}};function Ex(i,t,e=null){return new Qd({providers:i,parent:t,debugName:e,runEnvironmentInitializers:!0}).injector;}function ub(i){return Dx(i)?Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i:!1;}function Cx(i,t){if(Array.isArray(i))for(let e=0;e{class i{constructor(){this.impl=null;}execute(){this.impl?.execute();}static{this.ɵprov=x({token:i,providedIn:"root",factory:()=>new i()});}}return i;})(),Zd=class i{constructor(){this.ngZone=M(S),this.scheduler=M(vr),this.errorHandler=M(Jt,{optional:!0}),this.sequences=new Set(),this.deferredRegistrations=new Set(),this.executing=!1;}static{this.PHASES=[sr.EarlyRead,sr.Write,sr.MixedReadWrite,sr.Read];}execute(){this.executing=!0;for(let t of i.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[t]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[t](e.pipelinedValue));}catch(n){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(n);}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear();}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6));}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t));}static{this.ɵprov=x({token:i,providedIn:"root",factory:()=>new i()});}},Kd=class{constructor(t,e,n,r){this.impl=t,this.hooks=e,this.once=n,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=r.onDestroy(()=>this.destroy());}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0;}destroy(){this.impl.unregister(this),this.unregisterOnDestroy();}};function So(i,t){!t?.injector&&Du(So);let e=t?.injector??M(Le);return h_(e)?(gi("NgAfterRender"),fb(i,e,t,!1)):pb;}function Li(i,t){!t?.injector&&Du(Li);let e=t?.injector??M(Le);return h_(e)?(gi("NgAfterNextRender"),fb(i,e,t,!0)):pb;}function Rx(i,t){if(i instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[t]=i,e;}else return[i.earlyRead,i.write,i.mixedReadWrite,i.read];}function fb(i,t,e,n){let r=t.get(mb);r.impl??=t.get(Zd);let o=e?.phase??sr.MixedReadWrite,s=new Kd(r.impl,Rx(i,o),n,t.get(Ya));return r.impl.register(s),s;}var pb={destroy(){}};function ge(i,t,e,n){let r=oe(),o=Mn();if(Lt(r,o,t)){let s=Be(),a=qa();QC(a,r,i,t,e,n);}return ge;}function gb(i,t,e,n){return Lt(i,Mn(),e)?t+vu(e)+n:pi;}function Js(i,t){return i<<17|t<<2;}function Sn(i){return i>>17&32767;}function Ax(i){return(i&2)==2;}function Ox(i,t){return i&131071|t<<17;}function Jd(i){return i|2;}function yr(i){return(i&131068)>>2;}function nd(i,t){return i&-131069|t<<2;}function Nx(i){return(i&1)===1;}function eu(i){return i|1;}function Fx(i,t,e,n,r,o){let s=o?t.classBindings:t.styleBindings,a=Sn(s),l=yr(s);i[n]=e;let c=!1,d;if(Array.isArray(e)){let u=e;d=u[1],(d===null||go(u,d)>0)&&(c=!0);}else d=e;if(r){if(l!==0){let m=Sn(i[a+1]);i[n+1]=Js(m,a),m!==0&&(i[m+1]=nd(i[m+1],n)),i[a+1]=Ox(i[a+1],n);}else i[n+1]=Js(a,0),a!==0&&(i[a+1]=nd(i[a+1],n)),a=n;}else i[n+1]=Js(l,0),a===0?a=n:i[l+1]=nd(i[l+1],n),l=n;c&&(i[n+1]=Jd(i[n+1])),Ap(i,d,n,!0),Ap(i,d,n,!1),Px(t,d,i,n,o),s=Js(a,l),o?t.classBindings=s:t.styleBindings=s;}function Px(i,t,e,n,r){let o=r?i.residualClasses:i.residualStyles;o!=null&&typeof t=="string"&&go(o,t)>=0&&(e[n+1]=eu(e[n+1]));}function Ap(i,t,e,n){let r=i[e+1],o=t===null,s=n?Sn(r):yr(r),a=!1;for(;s!==0&&(a===!1||o);){let l=i[s],c=i[s+1];Lx(l,t)&&(a=!0,i[s+1]=n?eu(c):Jd(c)),s=n?Sn(c):yr(c);}a&&(i[e+1]=n?Jd(r):eu(r));}function Lx(i,t){return i===null||t==null||(Array.isArray(i)?i[1]:i)===t?!0:Array.isArray(i)&&typeof t=="string"?go(i,t)>=0:!1;}var Yt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Vx(i){return i.substring(Yt.key,Yt.keyEnd);}function Bx(i){return jx(i),_b(i,bb(i,0,Yt.textEnd));}function _b(i,t){let e=Yt.textEnd;return e===t?-1:(t=Yt.keyEnd=Hx(i,Yt.key=t,e),bb(i,t,e));}function jx(i){Yt.key=0,Yt.keyEnd=0,Yt.value=0,Yt.valueEnd=0,Yt.textEnd=i.length;}function bb(i,t,e){for(;t32;)t++;return t;}function y(i,t,e){let n=oe(),r=Mn();if(Lt(n,r,t)){let o=Be(),s=qa();Qu(o,s,n,i,t,n[Pe],e,!1);}return y;}function tu(i,t,e,n,r){let o=t.inputs,s=r?"class":"style";Ku(i,e,o[s],s,n);}function xr(i,t,e){return yb(i,t,e,!1),xr;}function K(i,t){return yb(i,t,null,!0),K;}function _i(i){Ib(qx,vb,i,!0);}function vb(i,t){for(let e=Bx(t);e>=0;e=_b(t,e))Ba(i,Vx(t),!0);}function yb(i,t,e,n){let r=oe(),o=Be(),s=Rg(2);if(o.firstUpdatePass&&Eb(o,i,s,n),t!==pi&&Lt(r,s,t)){let a=o.data[tn()];Cb(o,a,r,r[Pe],i,r[s+1]=Yx(t,e),n,s);}}function Ib(i,t,e,n){let r=Be(),o=Rg(2);r.firstUpdatePass&&Eb(r,null,o,n);let s=oe();if(e!==pi&&Lt(s,o,e)){let a=r.data[tn()];if(Db(a,n)&&!wb(r,o)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=cd(l,e||"")),tu(r,a,s,e,n);}else Xx(r,a,s,s[Pe],s[o+1],s[o+1]=Wx(i,t,e),n,o);}}function wb(i,t){return t>=i.expandoStartIndex;}function Eb(i,t,e,n){let r=i.data;if(r[e+1]===null){let o=r[tn()],s=wb(i,e);Db(o,n)&&t===null&&!s&&(t=!1),t=zx(r,o,t,n),Fx(r,o,t,e,s,n);}}function zx(i,t,e,n){let r=uE(i),o=n?t.residualClasses:t.residualStyles;if(r===null)(n?t.classBindings:t.styleBindings)===0&&(e=rd(null,i,t,e,n),e=fo(e,t.attrs,n),o=null);else{let s=t.directiveStylingLast;if(s===-1||i[s]!==r)if(e=rd(r,i,t,e,n),o===null){let l=Gx(i,t,n);l!==void 0&&Array.isArray(l)&&(l=rd(null,i,t,l[1],n),l=fo(l,t.attrs,n),Ux(i,t,n,l));}else o=$x(i,t,n);}return o!==void 0&&(n?t.residualClasses=o:t.residualStyles=o),e;}function Gx(i,t,e){let n=e?t.classBindings:t.styleBindings;if(yr(n)!==0)return i[Sn(n)];}function Ux(i,t,e,n){let r=e?t.classBindings:t.styleBindings;i[Sn(r)]=n;}function $x(i,t,e){let n,r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0;){let l=i[r],c=Array.isArray(l),d=c?l[1]:l,u=d===null,m=e[r+1];m===pi&&(m=u?ot:void 0);let h=u?Yc(m,n):d===n?m:void 0;if(c&&!Aa(h)&&(h=Yc(l,n)),Aa(h)&&(a=h,s))return a;let f=i[r+1];r=s?Sn(f):yr(f);}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=Yc(l,n));}return a;}function Aa(i){return i!==void 0;}function Yx(i,t){return i==null||i===""||(typeof t=="string"?i=i+t:typeof i=="object"&&(i=ft(Qa(i)))),i;}function Db(i,t){return(i.flags&(t?8:16))!==0;}function xb(i,t,e){let n=oe(),r=gb(n,i,t,e);Ib(Ba,vb,r,!0);}var iu=class{destroy(t){}updateValue(t,e){}swap(t,e){let n=Math.min(t,e),r=Math.max(t,e),o=this.detach(r);if(r-n>1){let s=this.detach(n);this.attach(n,o),this.attach(r,s);}else this.attach(n,o);}move(t,e){this.attach(e,this.detach(t));}};function od(i,t,e,n,r){return i===e&&Object.is(t,n)?1:Object.is(r(i,t),r(e,n))?-1:0;}function Qx(i,t,e){let n,r,o=0,s=i.length-1,a=void 0;if(Array.isArray(t)){let l=t.length-1;for(;o<=s&&o<=l;){let c=i.at(o),d=t[o],u=od(o,c,o,d,e);if(u!==0){u<0&&i.updateValue(o,d),o++;continue;}let m=i.at(s),h=t[l],f=od(s,m,l,h,e);if(f!==0){f<0&&i.updateValue(s,h),s--,l--;continue;}let b=e(o,c),E=e(s,m),C=e(o,d);if(Object.is(C,E)){let B=e(l,h);Object.is(B,b)?(i.swap(o,s),i.updateValue(s,h),l--,s--):i.move(s,o),i.updateValue(o,d),o++;continue;}if(n??=new Oa(),r??=Fp(i,o,s,e),nu(i,n,o,C))i.updateValue(o,d),o++,s++;else if(r.has(C))n.set(b,i.detach(o)),s--;else{let B=i.create(o,t[o]);i.attach(o,B),o++,s++;}}for(;o<=l;)Np(i,n,e,o,t[o]),o++;}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let d=i.at(o),u=c.value,m=od(o,d,o,u,e);if(m!==0)m<0&&i.updateValue(o,u),o++,c=l.next();else{n??=new Oa(),r??=Fp(i,o,s,e);let h=e(o,u);if(nu(i,n,o,h))i.updateValue(o,u),o++,s++,c=l.next();else if(!r.has(h))i.attach(o,i.create(o,u)),o++,s++,c=l.next();else{let f=e(o,d);n.set(f,i.detach(o)),s--;}}}for(;!c.done;)Np(i,n,e,i.length,c.value),c=l.next();}for(;o<=s;)i.destroy(i.detach(s--));n?.forEach(l=>{i.destroy(l);});}function nu(i,t,e,n){return t!==void 0&&t.has(n)?(i.attach(e,t.get(n)),t.delete(n),!0):!1;}function Np(i,t,e,n,r){if(nu(i,t,n,e(n,r)))i.updateValue(n,r);else{let o=i.create(n,r);i.attach(n,o);}}function Fp(i,t,e,n){let r=new Set();for(let o=t;o<=e;o++)r.add(n(o,i.at(o)));return r;}var Oa=class{constructor(){this.kvMap=new Map(),this._vMap=void 0;}has(t){return this.kvMap.has(t);}delete(t){if(!this.has(t))return!1;let e=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0;}get(t){return this.kvMap.get(t);}set(t,e){if(this.kvMap.has(t)){let n=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map());let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,e);}else this.kvMap.set(t,e);}forEach(t){for(let[e,n]of this.kvMap)if(t(n,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),t(n,e);}}};function xe(i,t){gi("NgControlFlow");let e=oe(),n=Mn(),r=e[n]!==pi?e[n]:-1,o=r!==-1?Na(e,tt+r):void 0,s=0;if(Lt(e,n,i)){let a=de(null);try{if(o!==void 0&&H_(o,s),i!==-1){let l=tt+i,c=Na(e,l),d=au(e[te],l),u=br(c,d.tView.ssrId),m=Do(e,d,t,{dehydratedView:u});xo(c,m,s,_r(d,u));}}finally{de(a);}}else if(o!==void 0){let a=j_(o,s);a!==void 0&&(a[st]=t);}}var ru=class{constructor(t,e,n){this.lContainer=t,this.$implicit=e,this.$index=n;}get $count(){return this.lContainer.length-at;}};function rh(i,t){return t;}var ou=class{constructor(t,e,n){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=n;}};function rl(i,t,e,n,r,o,s,a,l,c,d,u,m){gi("NgControlFlow");let h=oe(),f=Be(),b=l!==void 0,E=oe(),C=a?s.bind(E[_t][st]):s,B=new ou(b,C);E[tt+i]=B,Ra(h,f,i+1,t,e,n,r,Ri(f.consts,o)),b&&Ra(h,f,i+2,l,c,d,u,Ri(f.consts,m));}var su=class extends iu{constructor(t,e,n){super(),this.lContainer=t,this.hostLView=e,this.templateTNode=n,this.operationsCounter=void 0,this.needsIndexUpdate=!1;}get length(){return this.lContainer.length-at;}at(t){return this.getLView(t)[st].$implicit;}attach(t,e){let n=e[mr];this.needsIndexUpdate||=t!==this.length,xo(this.lContainer,e,t,_r(this.templateTNode,n));}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Zx(this.lContainer,t);}create(t,e){let n=br(this.lContainer,this.templateTNode.tView.ssrId),r=Do(this.hostLView,this.templateTNode,new ru(this.lContainer,e,t),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r;}destroy(t){Za(t[te],t),this.operationsCounter?.recordDestroy();}updateValue(t,e){this.getLView(t)[st].$implicit=e;}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset();}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(bo(!0),zu(n,r,pE()));function tS(i,t,e,n,r){let o=t.consts,s=Ri(o,n),a=Cr(t,i,8,"ng-container",s);s!==null&&Da(a,s,!0);let l=Ri(o,r);return Zu(t,e,a,l),t.queries!==null&&t.queries.elementStart(t,a),a;}function kn(i,t,e){let n=oe(),r=Be(),o=i+tt,s=r.firstCreatePass?tS(o,r,n,t,e):r.data[o];fi(s,!0);let a=iS(r,n,s,i);return n[o]=a,_o()&&Ka(r,n,a,s),Zi(a,n),Ga(s)&&(qu(r,n,s),Wu(r,s,n)),e!=null&&Xu(n,s),kn;}function Rn(){let i=nt(),t=Be();return Tu()?ku():(i=i.parent,fi(i,!1)),t.firstCreatePass&&(Xa(t,i),xu(i)&&t.queries.elementEnd(i)),Rn;}var iS=(i,t,e,n)=>(bo(!0),f_(t[Pe],""));function Ne(){return oe();}function Vi(i,t,e){let n=oe(),r=Mn();if(Lt(n,r,t)){let o=Be(),s=qa();Qu(o,s,n,i,t,n[Pe],e,!0);}return Vi;}var Fa="en-US";var nS={marker:"element"},rS={marker:"ICU"},Mi=function(i){return i[i.SHIFT=2]="SHIFT",i[i.APPEND_EAGERLY=1]="APPEND_EAGERLY",i[i.COMMENT=2]="COMMENT",i;}(Mi||{}),oS=Fa;function sS(i){typeof i=="string"&&(oS=i.toLowerCase().replace(/_/g,"-"));}function aS(i,t,e){let n=i[Pe];switch(e){case Node.COMMENT_NODE:return f_(n,t);case Node.TEXT_NODE:return m_(n,t);case Node.ELEMENT_NODE:return zu(n,t,null);}}var lS=(i,t,e,n)=>(bo(!0),aS(i,e,n));function cS(i,t,e,n){let r=i[Pe];for(let o=0;o>>Mi.SHIFT,u=i[d],m=!1;u===null&&(u=i[d]=lS(i,d,a,l?Node.COMMENT_NODE:Node.TEXT_NODE),m=_o()),c&&e!==null&&m&&gr(r,e,u,n,!1);}}var Pa=/�(\d+):?\d*�/gi;var dS=/�(\d+)�/,Sb=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,oo="\uFFFD",uS=/�\/?\*(\d+:\d+)�/gi,hS=/�(\/?[#*]\d+):?\d*�/gi,mS=/\uE500/g;function fS(i){return i.replace(mS," ");}function pS(i,t,e,n,r,o){let s=ho(),a=[],l=[],c=[[]],d=[[]];r=_S(r,o);let u=fS(r).split(hS);for(let m=0;m`;}}let f=[];d.push(f),a=vS(f,t,l,e,n,r,o.cases[u],m.join(""),h)|a;}a&&wS(n,a,s),i.push({kind:3,index:s,cases:d,currentCaseLViewIndex:l.currentCaseLViewIndex});}function bS(i){let t=[],e=[],n=1,r=0;i=i.replace(Sb,function(s,a,l){return l==="select"?n=0:n=1,r=parseInt(a.slice(1),10),"";});let o=lu(i);for(let s=0;se.length&&e.push(l);}return{type:n,mainBinding:r,cases:t,values:e};}function lu(i){if(!i)return[];let t=0,e=[],n=[],r=/[{}]/g;r.lastIndex=0;let o;for(;o=r.exec(i);){let a=o.index;if(o[0]=="}"){if(e.pop(),e.length==0){let l=i.substring(t,a);Sb.test(l)?n.push(bS(l)):n.push(l),t=a+1;}}else{if(e.length==0){let l=i.substring(t,a);n.push(l),t=a+1;}e.push("{");}}let s=i.substring(t);return n.push(s),n;}function vS(i,t,e,n,r,o,s,a,l){let c=[],d=[],u=[];e.cases.push(s),e.create.push(c),e.remove.push(d),e.update.push(u);let h=KE(s_()).getInertBodyElement(a),f=cC(h)||h;return f?Rb(i,t,e,n,r,c,d,u,f,o,l,0):0;}function Rb(i,t,e,n,r,o,s,a,l,c,d,u){let m=0,h=l.firstChild;for(;h;){let f=Co(t,n,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:let b=h,E=b.tagName.toLowerCase();if(oC.hasOwnProperty(E)){sd(o,nS,E,c,f),t.data[f]=E;let ce=b.attributes;for(let ye=0;ye{};function X(i,t,e,n){let r=oe(),o=Be(),s=nt();return Ab(o,r,r[Pe],s,i,t,n),X;}function SS(i,t,e,n){let r=i.cleanup;if(r!=null)for(let o=0;ol?a[l]:null;}typeof s=="string"&&(o+=2);}return null;}function Ab(i,t,e,n,r,o,s){let a=Ga(n),c=i.firstCreatePass&&V_(i),d=t[st],u=L_(t),m=!0;if(n.type&3||s){let b=Vt(n,t),E=s?s(b):b,C=u.length,B=s?ce=>s(Kt(ce[n.index])):n.index,ue=null;if(!s&&a&&(ue=SS(i,t,r,n.index)),ue!==null){let ce=ue.__ngLastListenerFn__||ue;ce.__ngNextListenerFn__=o,ue.__ngLastListenerFn__=o,m=!1;}else{o=Bp(n,t,d,o),xS(b,r,o);let ce=e.listen(E,r,o);u.push(o,ce),c&&c.push(r,B,C,C+1);}}else o=Bp(n,t,d,o);let h=n.outputs,f;if(m&&h!==null&&(f=h[r])){let b=f.length;if(b)for(let E=0;E-1?en(i.index,t):t;eh(s,5);let a=Vp(t,e,n,o),l=r.__ngNextListenerFn__;for(;l;)a=Vp(t,e,l,o)&&a,l=l.__ngNextListenerFn__;return a;};}function F(i=1){return mE(i);}function MS(i,t){let e=null,n=Iw(i);for(let r=0;r(bo(!0),m_(t[Pe],n));function ct(i){return dt("",i,""),ct;}function dt(i,t,e){let n=oe(),r=gb(n,i,t,e);return r!==pi&&eD(n,tn(),r),dt;}function Mo(i,t,e){lb(t)&&(t=t());let n=oe(),r=Mn();if(Lt(n,r,t)){let o=Be(),s=qa();Qu(o,s,n,i,t,n[Pe],e,!1);}return Mo;}function sl(i,t){let e=lb(i);return e&&i.set(t),e;}function To(i,t){let e=oe(),n=Be(),r=nt();return Ab(n,e,e[Pe],r,i,t),To;}function RS(i,t,e){let n=Be();if(n.firstCreatePass){let r=Qi(i);cu(e,n.data,n.blueprint,r,!0),cu(t,n.data,n.blueprint,r,!1);}}function cu(i,t,e,n,r){if(i=mt(i),Array.isArray(i))for(let o=0;o>20;if(hr(i)||!i.multi){let h=new Cn(c,r,p),f=ld(l,t,r?d:d+m,u);f===-1?(Ed(va(a,s),o,l),ad(o,i,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(h),s.push(h)):(e[f]=h,s[f]=h);}else{let h=ld(l,t,d+m,u),f=ld(l,t,d,d+m),b=h>=0&&e[h],E=f>=0&&e[f];if(r&&!E||!r&&!b){Ed(va(a,s),o,l);let C=NS(r?OS:AS,e.length,r,n,c);!r&&E&&(e[f].providerFactory=C),ad(o,i,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(C),s.push(C);}else{let C=Fb(e[r?f:h],c,!r&&n);ad(o,i,h>-1?h:f,C);}!r&&n&&E&&e[f].componentProviders++;}}}function ad(i,t,e,n){let r=hr(t),o=Lw(t);if(r||o){let l=(o?mt(t.useClass):t).prototype.ngOnDestroy;if(l){let c=i.destroyHooks||(i.destroyHooks=[]);if(!r&&t.multi){let d=c.indexOf(e);d===-1?c.push(e,[n,l]):c[d+1].push(n,l);}else c.push(e,l);}}}function Fb(i,t,e){return e&&i.componentProviders++,i.multi.push(t)-1;}function ld(i,t,e,n){for(let r=e;r{e.providersResolver=(n,r)=>RS(n,r?r(i):i,t);};}var FS=(()=>{class i{constructor(e){this._injector=e,this.cachedInjectors=new Map();}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let n=cg(!1,e.type),r=n.length>0?Ex([n],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r);}return this.cachedInjectors.get(e);}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy();}finally{this.cachedInjectors.clear();}}static{this.ɵprov=x({token:i,providedIn:"environment",factory:()=>new i(I(mi))});}}return i;})();function Ee(i){gi("NgStandalone"),i.getStandaloneInjector=t=>t.get(FS).getOrCreateStandaloneInjector(i);}function Pb(i,t,e,n){return PS(oe(),kg(),i,t,e,n);}function Lb(i,t,e,n,r){return LS(oe(),kg(),i,t,e,n,r);}function Vb(i,t){let e=i[t];return e===pi?void 0:e;}function PS(i,t,e,n,r,o){let s=t+e;return Lt(i,s,r)?hb(i,s+1,o?n.call(o,r):n(r)):Vb(i,s+1);}function LS(i,t,e,n,r,o,s){let a=t+e;return xx(i,a,r,o)?hb(i,a+2,s?n.call(s,r,o):n(r,o)):Vb(i,a+2);}function oh(i,t){return il(i,t);}var ea=null;function VS(i){ea!==null&&(i.defaultEncapsulation!==ea.defaultEncapsulation||i.preserveWhitespaces!==ea.preserveWhitespaces)||(ea=i);}var sh=new w(""),ko=new w(""),al=(()=>{class i{constructor(e,n,r){this._ngZone=e,this.registry=n,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ah||(BS(r),r.addToWindow(n)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone");});}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1;}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{S.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady();});}});});}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks;}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb();}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>n.updateCb&&n.updateCb(e)?(clearTimeout(n.timeoutId),!1):!0);}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[];}addCallback(e,n,r){let o=-1;n&&n>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e();},n)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r});}whenStable(e,n,r){if(r&&!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,n,r),this._runCallbacksIfReady();}registerApplication(e){this.registry.registerApplication(e,this);}unregisterApplication(e){this.registry.unregisterApplication(e);}findProviders(e,n,r){return[];}static{this.ɵfac=function(n){return new(n||i)(I(S),I(ll),I(ko));};}static{this.ɵprov=x({token:i,factory:i.ɵfac});}}return i;})(),ll=(()=>{class i{constructor(){this._applications=new Map();}registerApplication(e,n){this._applications.set(e,n);}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,n=!0){return ah?.findTestabilityInTree(this,e,n)??null;}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"platform"});}}return i;})();function BS(i){ah=i;}var ah;function Ro(i){return!!i&&typeof i.then=="function";}function Bb(i){return!!i&&typeof i.subscribe=="function";}var jS=new w(""),jb=(()=>{class i{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n;}),this.appInits=M(jS,{optional:!0})??[];}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=r();if(Ro(o))e.push(o);else if(Bb(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l});});e.push(s);}}let n=()=>{this.done=!0,this.resolve();};Promise.all(e).then(()=>{n();}).catch(r=>{this.reject(r);}),e.length===0&&n(),this.initialized=!0;}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})(),HS=new w("");function zS(){Df(()=>{throw new D(600,!1);});}function GS(i){return i.isBoundToModule;}var US=10;function $S(i,t,e){try{let n=e();return Ro(n)?n.catch(r=>{throw t.runOutsideAngular(()=>i.handleError(r)),r;}):n;}catch(n){throw t.runOutsideAngular(()=>i.handleError(n)),n;}}function Hb(i,t){return Array.isArray(t)?t.reduce(Hb,i):$($({},i),t);}var Bi=(()=>{class i{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=M(jE),this.afterRenderManager=M(mb),this.zonelessEnabled=M(th),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set(),this.beforeRender=new P(),this.afterTick=new P(),this.componentTypes=[],this.components=[],this.isStable=M(yo).hasPendingTasks.pipe(Qe(e=>!e)),this._injector=M(mi);}get allViews(){return[...this.externalTestViews.keys(),...this._views];}get destroyed(){return this._destroyed;}whenStable(){let e;return new Promise(n=>{e=this.isStable.subscribe({next:r=>{r&&n();}});}).finally(()=>{e.unsubscribe();});}get injector(){return this._injector;}bootstrap(e,n){let r=e instanceof Ca;if(!this._injector.get(jb).done){let m=!r&&kw(e),h=!1;throw new D(405,h);}let s;r?s=e:s=this._injector.get(Et).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=GS(s)?void 0:this._injector.get(Ji),l=n||s.selector,c=s.create(Le.NULL,[],l,a),d=c.location.nativeElement,u=c.injector.get(sh,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),la(this.components,c),u?.unregisterApplication(d);}),this._loadComponent(c),c;}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick();}_tick(){if(this._runningTick)throw new D(101,!1);let e=de(null);try{this._runningTick=!0,this.synchronize();}catch(n){this.internalErrorHandler(n);}finally{this._runningTick=!1,de(e),this.afterTick.next();}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(Ki,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++Ua(e))){this.dirtyFlags|=2;return;}else this.dirtyFlags&=-8;}attachView(e){let n=e;this._views.push(n),n.attachToAppRef(this);}detachView(e){let n=e;la(this._views,n),n.detachFromAppRef();}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let n=this._injector.get(HS,[]);[...this._bootstrapListeners,...n].forEach(r=>r(e));}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy());}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[];}}onDestroy(e){return this._destroyListeners.push(e),()=>la(this._destroyListeners,e);}destroy(){if(this._destroyed)throw new D(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy();}get viewCount(){return this._views.length;}warnIfDestroyed(){}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();function la(i,t){let e=i.indexOf(t);e>-1&&i.splice(e,1);}function WS(i,t,e,n){if(!e&&!Ua(i))return;U_(i,t,e&&!n?0:1);}var qS=new w("");function XS(i,t,e){let n=new Yd(e);return Promise.resolve(n);}function jp(i){for(let t=i.length-1;t>=0;t--)if(i[t]!==void 0)return i[t];}var YS=(()=>{class i{constructor(){this.zone=M(S),this.changeDetectionScheduler=M(vr),this.applicationRef=M(Bi);}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick();});}}));}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe();}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();function QS({ngZoneFactory:i,ignoreChangesOutsideZone:t,scheduleInRootZone:e}){return i??=()=>new S(Te($({},zb()),{scheduleInRootZone:e})),[{provide:S,useFactory:i},{provide:lo,multi:!0,useFactory:()=>{let n=M(YS,{optional:!0});return()=>n.initialize();}},{provide:lo,multi:!0,useFactory:()=>{let n=M(ZS);return()=>{n.initialize();};}},t===!0?{provide:J_,useValue:!0}:[],{provide:eb,useValue:e??Qg}];}function zb(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1};}var ZS=(()=>{class i{constructor(){this.subscription=new pe(),this.initialized=!1,this.zone=M(S),this.pendingTasks=M(yo);}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{S.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null);});}));}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{S.assertInAngularZone(),e??=this.pendingTasks.add();}));}ngOnDestroy(){this.subscription.unsubscribe();}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();var KS=(()=>{class i{constructor(){this.appRef=M(Bi),this.taskService=M(yo),this.ngZone=M(S),this.zonelessEnabled=M(th),this.disableScheduling=M(J_,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new pe(),this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ia):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(M(eb,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup();})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup();})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof wa||!this.zoneIsDefined);}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break;}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break;}case 7:{this.appRef.deferredDirtyFlags|=8;break;}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8;}if(!this.shouldScheduleTick())return;let n=this.useMicrotaskScheduler?Ip:Zg;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>n(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>n(()=>this.tick()));}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ia+this.angularZoneId));}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick();},void 0,this.schedulerTickApplyArgs);}catch(n){throw this.taskService.remove(e),n;}finally{this.cleanup();}this.useMicrotaskScheduler=!0,Ip(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e);});}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup();}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e);}}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();function JS(){return typeof $localize<"u"&&$localize.locale||Fa;}var cl=new w("",{providedIn:"root",factory:()=>M(cl,me.Optional|me.SkipSelf)||JS()});var lh=new w("");function ta(i){return!!i.platformInjector;}function eM(i){let t=ta(i)?i.r3Injector:i.moduleRef.injector,e=t.get(S);return e.run(()=>{ta(i)?i.r3Injector.resolveInjectorInitializers():i.moduleRef.resolveInjectorInitializers();let n=t.get(Jt,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:o=>{n.handleError(o);}});}),ta(i)){let o=()=>t.destroy(),s=i.platformInjector.get(lh);s.add(o),t.onDestroy(()=>{r.unsubscribe(),s.delete(o);});}else i.moduleRef.onDestroy(()=>{la(i.allPlatformModules,i.moduleRef),r.unsubscribe();});return $S(n,e,()=>{let o=t.get(jb);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(cl,Fa);if(sS(s||Fa),ta(i)){let a=t.get(Bi);return i.rootComponent!==void 0&&a.bootstrap(i.rootComponent),a;}else return tM(i.moduleRef,i.allPlatformModules),i.moduleRef;});});});}function tM(i,t){let e=i.injector.get(Bi);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(n=>e.bootstrap(n));else if(i.instance.ngDoBootstrap)i.instance.ngDoBootstrap(e);else throw new D(-403,!1);t.push(i);}var Gb=(()=>{class i{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1;}bootstrapModuleFactory(e,n){let r=n?.scheduleInRootZone,o=()=>BE(n?.ngZone,Te($({},zb({eventCoalescing:n?.ngZoneEventCoalescing,runCoalescing:n?.ngZoneRunCoalescing})),{scheduleInRootZone:r})),s=n?.ignoreChangesOutsideZone,a=[QS({ngZoneFactory:o,ignoreChangesOutsideZone:s}),{provide:vr,useExisting:KS}],l=wx(e.moduleType,this.injector,a);return eM({moduleRef:l,allPlatformModules:this._modules});}bootstrapModule(e,n=[]){let r=Hb({},n);return XS(this.injector,r,e).then(o=>this.bootstrapModuleFactory(o,r));}onDestroy(e){this._destroyListeners.push(e);}get injector(){return this._injector;}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());let e=this._injector.get(lh,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0;}get destroyed(){return this._destroyed;}static{this.ɵfac=function(n){return new(n||i)(I(Le));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"platform"});}}return i;})(),so=null,Ub=new w("");function iM(i){if(so&&!so.get(Ub,!1))throw new D(400,!1);zS(),so=i;let t=i.get(Gb);return oM(i),t;}function ch(i,t,e=[]){let n=`Platform: ${t}`,r=new w(n);return(o=[])=>{let s=$b();if(!s||s.injector.get(Ub,!1)){let a=[...e,...o,{provide:r,useValue:!0}];i?i(a):iM(nM(a,n));}return rM(r);};}function nM(i=[],t){return Le.create({name:t,providers:[{provide:ja,useValue:"platform"},{provide:lh,useValue:new Set([()=>so=null])},...i]});}function rM(i){let t=$b();if(!t)throw new D(401,!1);return t;}function $b(){return so?.get(Gb)??null;}function oM(i){i.get(Vu,null)?.forEach(e=>e());}var Re=(()=>{class i{static{this.__NG_ELEMENT_ID__=sM;}}return i;})();function sM(i){return aM(nt(),oe(),(i&16)===16);}function aM(i,t,e){if(za(i)&&!e){let n=en(i.index,t);return new xn(n,n);}else if(i.type&175){let n=t[_t];return new xn(n,t);}return null;}var uu=class{constructor(){}supports(t){return ub(t);}create(t){return new hu(t);}},lM=(i,t)=>t,hu=class{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||lM;}forEachItem(t){let e;for(e=this._itHead;e!==null;e=e._next)t(e);}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,o=null;for(;e||n;){let s=!n||e&&e.currentIndex{s=this._trackByFn(r,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,r),n=!0):(n&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,r++;}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty;}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null;}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;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,n,r){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),t!==null?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):(t=this._linkedRecords===null?null:this._linkedRecords.get(n,r),t!==null?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new mu(e,n),o,r)),t;}_verifyReinsertion(t,e,n,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t;}_truncate(t){for(;t!==null;){let e=t._next;this._addToRemovals(this._unlink(t)),t=e;}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null);}_reinsertAfter(t,e,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let r=t._prevRemoved,o=t._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t;}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t;}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t;}_insertAfter(t,e,n){let r=e===null?this._itHead:e._next;return t._next=r,t._prev=e,r===null?this._itTail=t:r._prev=t,e===null?this._itHead=t:e._next=t,this._linkedRecords===null&&(this._linkedRecords=new La()),this._linkedRecords.put(t),t.currentIndex=n,t;}_remove(t){return this._addToRemovals(this._unlink(t));}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let e=t._prev,n=t._next;return e===null?this._itHead=n:e._next=n,n===null?this._itTail=e:n._prev=e,t;}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t;}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new La()),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(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=this._identityChangesTail._nextIdentityChange=t,t;}},mu=class{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;}},fu=class{constructor(){this._head=null,this._tail=null;}add(t){this._head===null?(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 n;for(n=this._head;n!==null;n=n._nextDup)if((e===null||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null;}remove(t){let e=t._prevDup,n=t._nextDup;return e===null?this._head=n:e._nextDup=n,n===null?this._tail=e:n._prevDup=e,this._head===null;}},La=class{constructor(){this.map=new Map();}put(t){let e=t.trackById,n=this.map.get(e);n||(n=new fu(),this.map.set(e,n)),n.add(t);}get(t,e){let n=t,r=this.map.get(n);return r?r.get(t,e):null;}remove(t){let e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t;}get isEmpty(){return this.map.size===0;}clear(){this.map.clear();}};function Hp(i,t,e){let n=i.previousIndex;if(n===null)return n;let r=0;return e&&n{class i{static{this.ɵprov=x({token:i,providedIn:"root",factory:zp});}constructor(e){this.factories=e;}static create(e,n){if(n!=null){let r=n.factories.slice();e=e.concat(r);}return new i(e);}static extend(e){return{provide:i,useFactory:n=>i.create(e,n||zp()),deps:[[i,new cw(),new Zp()]]};}find(e){let n=this.factories.find(r=>r.supports(e));if(n!=null)return n;throw new D(901,!1);}}return i;})();var Wb=ch(null,"core",[]),qb=(()=>{class i{constructor(e){}static{this.ɵfac=function(n){return new(n||i)(I(Bi));};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({});}}return i;})();var Xb=new w("");function z(i){return typeof i=="boolean"?i:i!=null&&i!=="false";}function Dt(i,t=NaN){return!isNaN(parseFloat(i))&&!isNaN(Number(i))?Number(i):t;}function ji(i,t){gi("NgSignals");let e=Nc(i);return t?.equal&&(e[Ot].equal=t.equal),e;}function jt(i){let t=de(null);try{return i();}finally{de(t);}}var cM=new w("",{providedIn:"root",factory:()=>M(dM)}),dM=(()=>{class i{static{this.ɵprov=x({token:i,providedIn:"root",factory:()=>new pu()});}}return i;})(),pu=class{constructor(){this.queuedEffectCount=0,this.queues=new Map(),this.pendingTasks=M(yo),this.taskId=null;}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let e=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(e),this.taskId=null;});}}enqueue(t){let e=t.creationZone;this.queues.has(e)||this.queues.set(e,new Set());let n=this.queues.get(e);n.has(t)||(this.queuedEffectCount++,n.add(t));}flush(){for(;this.queuedEffectCount>0;)for(let[t,e]of this.queues)t===null?this.flushQueue(e):t.run(()=>this.flushQueue(e));}flushQueue(t){for(let e of t)t.delete(e),this.queuedEffectCount--,e.run();}},gu=class{constructor(t,e,n,r,o,s){this.scheduler=t,this.effectFn=e,this.creationZone=n,this.injector=o,this.watcher=Tf(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy());}runEffect(t){try{this.effectFn(t);}catch(e){this.injector.get(Jt,null,{optional:!0})?.handleError(e);}}run(){this.watcher.run();}schedule(){this.scheduler.scheduleEffect(this);}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.();}};function dh(i,t){gi("NgSignals"),!t?.injector&&Du(dh);let e=t?.injector??M(Le),n=t?.manualCleanup!==!0?e.get(Ya):null,r=new gu(e.get(cM),i,typeof Zone>"u"?null:Zone.current,n,e,t?.allowSignalWrites??!1),o=e.get(Re,null,{optional:!0});return!o||!(o._lView[W]&8)?r.watcher.notify():(o._lView[na]??=[]).push(r.watcher.notify),r;}var ev=null;function bi(){return ev;}function tv(i){ev??=i;}var ul=class{};var le=new w(""),iv=(()=>{class i{historyGo(e){throw new Error("");}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:()=>M(uM),providedIn:"platform"});}}return i;})();var uM=(()=>{class i extends iv{constructor(){super(),this._doc=M(le),this._location=window.location,this._history=window.history;}getBaseHrefFromDOM(){return bi().getBaseHref(this._doc);}onPopState(e){let n=bi().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e);}onHashChange(e){let n=bi().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.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,n,r){this._history.pushState(e,n,r);}replaceState(e,n,r){this._history.replaceState(e,n,r);}forward(){this._history.forward();}back(){this._history.back();}historyGo(e=0){this._history.go(e);}getState(){return this._history.state;}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:()=>new i(),providedIn:"platform"});}}return i;})();function nv(i,t){if(i.length==0)return t;if(t.length==0)return i;let e=0;return i.endsWith("/")&&e++,t.startsWith("/")&&e++,e==2?i+t.substring(1):e==1?i+t:i+"/"+t;}function Yb(i){let t=i.match(/#|\?|$/),e=t&&t.index||i.length,n=e-(i[e-1]==="/"?1:0);return i.slice(0,n)+i.slice(e);}function An(i){return i&&i[0]!=="?"?"?"+i:i;}var ph=(()=>{class i{historyGo(e){throw new Error("");}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:()=>M(mM),providedIn:"root"});}}return i;})(),hM=new w(""),mM=(()=>{class i extends ph{constructor(e,n){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??M(le).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 nv(this._baseHref,e);}path(e=!1){let n=this._platformLocation.pathname+An(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n;}pushState(e,n,r,o){let s=this.prepareExternalUrl(r+An(o));this._platformLocation.pushState(e,n,s);}replaceState(e,n,r,o){let s=this.prepareExternalUrl(r+An(o));this._platformLocation.replaceState(e,n,s);}forward(){this._platformLocation.forward();}back(){this._platformLocation.back();}getState(){return this._platformLocation.getState();}historyGo(e=0){this._platformLocation.historyGo?.(e);}static{this.ɵfac=function(n){return new(n||i)(I(iv),I(hM,8));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();var gh=(()=>{class i{constructor(e){this._subject=new V(),this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=gM(Yb(Qb(n))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type});});}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[];}path(e=!1){return this.normalize(this._locationStrategy.path(e));}getState(){return this._locationStrategy.getState();}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+An(n));}normalize(e){return i.stripTrailingSlash(pM(this._basePath,Qb(e)));}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e);}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+An(n)),r);}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+An(n)),r);}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.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state);}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null);};}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n));}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n,complete:r});}static{this.normalizeQueryParams=An;}static{this.joinWithSlash=nv;}static{this.stripTrailingSlash=Yb;}static{this.ɵfac=function(n){return new(n||i)(I(ph));};}static{this.ɵprov=x({token:i,factory:()=>fM(),providedIn:"root"});}}return i;})();function fM(){return new gh(I(ph));}function pM(i,t){if(!i||!t.startsWith(i))return t;let e=t.substring(i.length);return e===""||["/",";","?","#"].includes(e[0])?e:t;}function Qb(i){return i.replace(/\/index.html$/,"");}function gM(i){if(new RegExp("^(https?:)?//").test(i)){let[,e]=i.split(/\/\/[^\/]+/);return e;}return i;}function rv(i,t){t=encodeURIComponent(t);for(let e of i.split(";")){let n=e.indexOf("="),[r,o]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(r.trim()===t)return decodeURIComponent(o);}return null;}var uh=/\s+/,Zb=[],ml=(()=>{class i{constructor(e,n){this._ngEl=e,this._renderer=n,this.initialClasses=Zb,this.stateMap=new Map();}set klass(e){this.initialClasses=e!=null?e.trim().split(uh):Zb;}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(uh):e;}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff();}_updateState(e,n){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0});}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],r=e[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1;}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(uh).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r);});}static{this.ɵfac=function(n){return new(n||i)(p(N),p(Dr));};}static{this.ɵdir=L({type:i,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});}}return i;})();var hh=class{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r;}get first(){return this.index===0;}get last(){return this.index===this.count-1;}get even(){return this.index%2===0;}get odd(){return!this.even;}},_h=(()=>{class i{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0;}set ngForTrackBy(e){this._trackByFn=e;}get ngForTrackBy(){return this._trackByFn;}constructor(e,n,r){this._viewContainer=e,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null;}set ngForTemplate(e){e&&(this._template=e);}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy);}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e);}}_applyChanges(e){let n=this._viewContainer;e.forEachOperation((r,o,s)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new hh(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)n.remove(o===null?void 0:o);else if(o!==null){let a=n.get(o);n.move(a,s),Kb(a,r);}});for(let r=0,o=n.length;r{let o=n.get(r.currentIndex);Kb(o,r);});}static ngTemplateContextGuard(e,n){return!0;}static{this.ɵfac=function(n){return new(n||i)(p(Je),p(We),p(dl));};}static{this.ɵdir=L({type:i,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});}}return i;})();function Kb(i,t){i.context.$implicit=t.item;}var bh=(()=>{class i{constructor(e,n){this._viewContainer=e,this._context=new mh(),this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n;}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView();}set ngIfThen(e){Jb("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView();}set ngIfElse(e){Jb("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,n){return!0;}static{this.ɵfac=function(n){return new(n||i)(p(Je),p(We));};}static{this.ɵdir=L({type:i,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});}}return i;})(),mh=class{constructor(){this.$implicit=null,this.ngIf=null;}};function Jb(i,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${i} must be a TemplateRef, but received '${ft(t)}'.`);}var vh=(()=>{class i{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null;}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return;}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0});}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector;}_createContextForwardProxy(){return new Proxy({},{set:(e,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(e,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r);}});}static{this.ɵfac=function(n){return new(n||i)(p(Je));};}static{this.ɵdir=L({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[qe]});}}return i;})();var et=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({});}}return i;})(),yh="browser",_M="server";function ov(i){return i===yh;}function Ih(i){return i===_M;}var hl=class{};var Ch=class extends ul{constructor(){super(...arguments),this.supportsDOMEvents=!0;}},Dh=class i extends Ch{static makeCurrent(){tv(new i());}onAndCancel(t,e,n){return t.addEventListener(e,n),()=>{t.removeEventListener(e,n);};}dispatchEvent(t,e){t.dispatchEvent(e);}remove(t){t.remove();}createElement(t,e){return e=e||this.getDefaultDocument(),e.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 e==="window"?window:e==="document"?t:e==="body"?t.body:null;}getBaseHref(t){let e=vM();return e==null?null:yM(e);}resetBaseElement(){Ao=null;}getUserAgent(){return window.navigator.userAgent;}getCookie(t){return rv(document.cookie,t);}},Ao=null;function vM(){return Ao=Ao||document.querySelector("base"),Ao?Ao.getAttribute("href"):null;}function yM(i){return new URL(i,document.baseURI).pathname;}var xh=class{addToWindow(t){Zt.getAngularTestability=(n,r=!0)=>{let o=t.findTestabilityInTree(n,r);if(o==null)throw new D(5103,!1);return o;},Zt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Zt.getAllAngularRootElements=()=>t.getAllRootElements();let e=n=>{let r=Zt.getAllAngularTestabilities(),o=r.length,s=function(){o--,o==0&&n();};r.forEach(a=>{a.whenStable(s);});};Zt.frameworkStabilizers||(Zt.frameworkStabilizers=[]),Zt.frameworkStabilizers.push(e);}findTestabilityInTree(t,e,n){if(e==null)return null;let r=t.getTestability(e);return r??(n?bi().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null);}},IM=(()=>{class i{build(){return new XMLHttpRequest();}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac});}}return i;})(),fl=new w(""),cv=(()=>{class i{constructor(e,n){this._zone=n,this._eventNameToPlugin=new Map(),e.forEach(r=>{r.manager=this;}),this._plugins=e.slice().reverse();}addEventListener(e,n,r){return this._findPluginFor(n).addEventListener(e,n,r);}getZone(){return this._zone;}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new D(5101,!1);return this._eventNameToPlugin.set(e,n),n;}static{this.ɵfac=function(n){return new(n||i)(I(fl),I(S));};}static{this.ɵprov=x({token:i,factory:i.ɵfac});}}return i;})(),Oo=class{constructor(t){this._doc=t;}},wh="ng-app-id",dv=(()=>{class i{constructor(e,n,r,o={}){this.doc=e,this.appId=n,this.nonce=r,this.platformId=o,this.styleRef=new Map(),this.hostNodes=new Set(),this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ih(o),this.resetHostNodes();}addStyles(e){for(let n of e)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n);}removeStyles(e){for(let n of e)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n);}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(n=>n.remove()),e.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes();}addHost(e){this.hostNodes.add(e);for(let n of this.getAllStyles())this.addStyleToHost(e,n);}removeHost(e){this.hostNodes.delete(e);}getAllStyles(){return this.styleRef.keys();}onStyleAdded(e){for(let n of this.hostNodes)this.addStyleToHost(n,e);}onStyleRemoved(e){let n=this.styleRef;n.get(e)?.elements?.forEach(r=>r.remove()),n.delete(e);}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${wh}="${this.appId}"]`);if(e?.length){let n=new Map();return e.forEach(r=>{r.textContent!=null&&n.set(r.textContent,r);}),n;}return null;}changeUsageCount(e,n){let r=this.styleRef;if(r.has(e)){let o=r.get(e);return o.usage+=n,o.usage;}return r.set(e,{usage:n,elements:[]}),n;}getStyleElement(e,n){let r=this.styleNodesInDOM,o=r?.get(n);if(o?.parentNode===e)return r.delete(n),o.removeAttribute(wh),o;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=n,this.platformIsServer&&s.setAttribute(wh,this.appId),e.appendChild(s),s;}}addStyleToHost(e,n){let r=this.getStyleElement(e,n),o=this.styleRef,s=o.get(n)?.elements;s?s.push(r):o.set(n,{elements:[r],usage:1});}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head);}static{this.ɵfac=function(n){return new(n||i)(I(le),I(Io),I(wo,8),I(Pi));};}static{this.ɵprov=x({token:i,factory:i.ɵfac});}}return i;})(),Eh={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/Math/MathML"},Mh=/%COMP%/g,uv="%COMP%",wM=`_nghost-${uv}`,EM=`_ngcontent-${uv}`,CM=!0,DM=new w("",{providedIn:"root",factory:()=>CM});function xM(i){return EM.replace(Mh,i);}function SM(i){return wM.replace(Mh,i);}function hv(i,t){return t.map(e=>e.replace(Mh,i));}var pl=(()=>{class i{constructor(e,n,r,o,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map(),this.platformIsServer=Ih(a),this.defaultRenderer=new No(e,s,l,this.platformIsServer);}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===hi.ShadowDom&&(n=Te($({},n),{encapsulation:hi.Emulated}));let r=this.getOrCreateRenderer(e,n);return r instanceof gl?r.applyToHost(e):r instanceof Fo&&r.applyStyles(),r;}getOrCreateRenderer(e,n){let r=this.rendererByCompId,o=r.get(n.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(n.encapsulation){case hi.Emulated:o=new gl(l,c,n,this.appId,d,s,a,u);break;case hi.ShadowDom:return new Sh(l,c,e,n,s,a,this.nonce,u);default:o=new Fo(l,c,n,d,s,a,u);break;}r.set(n.id,o);}return o;}ngOnDestroy(){this.rendererByCompId.clear();}static{this.ɵfac=function(n){return new(n||i)(I(cv),I(dv),I(Io),I(DM),I(le),I(Pi),I(S),I(wo));};}static{this.ɵprov=x({token:i,factory:i.ɵfac});}}return i;})(),No=class{constructor(t,e,n,r){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null;}destroy(){}createElement(t,e){return e?this.doc.createElementNS(Eh[e]||e,t):this.doc.createElement(t);}createComment(t){return this.doc.createComment(t);}createText(t){return this.doc.createTextNode(t);}appendChild(t,e){(av(t)?t.content:t).appendChild(e);}insertBefore(t,e,n){t&&(av(t)?t.content:t).insertBefore(e,n);}removeChild(t,e){e.remove();}selectRootElement(t,e){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new D(-5104,!1);return e||(n.textContent=""),n;}parentNode(t){return t.parentNode;}nextSibling(t){return t.nextSibling;}setAttribute(t,e,n,r){if(r){e=r+":"+e;let o=Eh[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n);}else t.setAttribute(e,n);}removeAttribute(t,e,n){if(n){let r=Eh[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`);}else t.removeAttribute(e);}addClass(t,e){t.classList.add(e);}removeClass(t,e){t.classList.remove(e);}setStyle(t,e,n,r){r&(Oi.DashCase|Oi.Important)?t.style.setProperty(e,n,r&Oi.Important?"important":""):t.style[e]=n;}removeStyle(t,e,n){n&Oi.DashCase?t.style.removeProperty(e):t.style[e]="";}setProperty(t,e,n){t!=null&&(t[e]=n);}setValue(t,e){t.nodeValue=e;}listen(t,e,n){if(typeof t=="string"&&(t=bi().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${e}`);return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(n));}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(e)):t(e))===!1&&e.preventDefault();};}};function av(i){return i.tagName==="TEMPLATE"&&i.content!==void 0;}var Sh=class extends No{constructor(t,e,n,r,o,s,a,l){super(t,o,s,l),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=hv(r.id,r.styles);for(let d of c){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u);}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t;}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e);}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n);}removeChild(t,e){return super.removeChild(null,e);}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)));}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot);}},Fo=class extends No{constructor(t,e,n,r,o,s,a,l){super(t,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this.styles=l?hv(l,n.styles):n.styles;}applyStyles(){this.sharedStylesHost.addStyles(this.styles);}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles);}},gl=class extends Fo{constructor(t,e,n,r,o,s,a,l){let c=r+"-"+n.id;super(t,e,n,o,s,a,l,c),this.contentAttr=xM(c),this.hostAttr=SM(c);}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"");}createElement(t,e){let n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n;}},MM=(()=>{class i extends Oo{constructor(e){super(e);}supports(e){return!0;}addEventListener(e,n,r){return e.addEventListener(n,r,!1),()=>this.removeEventListener(e,n,r);}removeEventListener(e,n,r){return e.removeEventListener(n,r);}static{this.ɵfac=function(n){return new(n||i)(I(le));};}static{this.ɵprov=x({token:i,factory:i.ɵfac});}}return i;})(),TM=(()=>{class i extends Oo{constructor(e){super(e),this.delegate=M(Xb,{optional:!0});}supports(e){return this.delegate?this.delegate.supports(e):!1;}addEventListener(e,n,r){return this.delegate.addEventListener(e,n,r);}removeEventListener(e,n,r){return this.delegate.removeEventListener(e,n,r);}static{this.ɵfac=function(n){return new(n||i)(I(le));};}static{this.ɵprov=x({token:i,factory:i.ɵfac});}}return i;})(),lv=["alt","control","meta","shift"],kM={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},RM={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},AM=(()=>{class i extends Oo{constructor(e){super(e);}supports(e){return i.parseEventName(e)!=null;}addEventListener(e,n,r){let o=i.parseEventName(n),s=i.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>bi().onAndCancel(e,o.domEventName,s));}static parseEventName(e){let n=e.toLowerCase().split("."),r=n.shift();if(n.length===0||!(r==="keydown"||r==="keyup"))return null;let o=i._normalizeKey(n.pop()),s="",a=n.indexOf("code");if(a>-1&&(n.splice(a,1),s="code."),lv.forEach(c=>{let d=n.indexOf(c);d>-1&&(n.splice(d,1),s+=c+".");}),s+=o,n.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l;}static matchEventFullKeyCode(e,n){let r=kM[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),lv.forEach(s=>{if(s!==r){let a=RM[s];a(e)&&(o+=s+".");}}),o+=r,o===n);}static eventCallback(e,n,r){return o=>{i.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>n(o));};}static _normalizeKey(e){return e==="esc"?"escape":e;}static{this.ɵfac=function(n){return new(n||i)(I(le));};}static{this.ɵprov=x({token:i,factory:i.ɵfac});}}return i;})();function OM(){Dh.makeCurrent();}function NM(){return new Jt();}function FM(){return o_(document),document;}var PM=[{provide:Pi,useValue:yh},{provide:Vu,useValue:OM,multi:!0},{provide:le,useFactory:FM,deps:[]}],mv=ch(Wb,"browser",PM),LM=new w(""),VM=[{provide:ko,useClass:xh,deps:[]},{provide:sh,useClass:al,deps:[S,ll,ko]},{provide:al,useClass:al,deps:[S,ll,ko]}],BM=[{provide:ja,useValue:"root"},{provide:Jt,useFactory:NM,deps:[]},{provide:fl,useClass:MM,multi:!0,deps:[le,S,Pi]},{provide:fl,useClass:AM,multi:!0,deps:[le]},{provide:fl,useClass:TM,multi:!0},pl,dv,cv,{provide:Ki,useExisting:pl},{provide:hl,useClass:IM,deps:[]},[]],_l=(()=>{class i{constructor(e){}static withServerTransition(e){return{ngModule:i,providers:[{provide:Io,useValue:e.appId}]};}static{this.ɵfac=function(n){return new(n||i)(I(LM,12));};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({providers:[...BM,...VM],imports:[et,qb]});}}return i;})();var ne=function(i){return i[i.State=0]="State",i[i.Transition=1]="Transition",i[i.Sequence=2]="Sequence",i[i.Group=3]="Group",i[i.Animate=4]="Animate",i[i.Keyframes=5]="Keyframes",i[i.Style=6]="Style",i[i.Trigger=7]="Trigger",i[i.Reference=8]="Reference",i[i.AnimateChild=9]="AnimateChild",i[i.AnimateRef=10]="AnimateRef",i[i.Query=11]="Query",i[i.Stagger=12]="Stagger",i;}(ne||{}),vi="*";function yi(i,t){return{type:ne.Trigger,name:i,definitions:t,options:{}};}function xt(i,t=null){return{type:ne.Animate,styles:t,timings:i};}function fv(i,t=null){return{type:ne.Sequence,steps:i,options:t};}function ze(i){return{type:ne.Style,styles:i,offset:null};}function ei(i,t,e){return{type:ne.State,name:i,styles:t,options:e};}function bt(i,t,e=null){return{type:ne.Transition,expr:i,animation:t,options:e};}function pv(i=null){return{type:ne.AnimateChild,options:i};}function gv(i,t,e=null){return{type:ne.Query,selector:i,animation:t,options:e};}var rn=class{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e;}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]);}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t);}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t);}onDestroy(t){this._onDestroyFns.push(t);}hasStarted(){return this._started;}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0;}triggerMicrotask(){queueMicrotask(()=>this._onFinish());}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[];}pause(){}restart(){}finish(){this._onFinish();}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[]);}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns;}setPosition(t){this._position=this.totalTime?t*this.totalTime:1;}getPosition(){return this.totalTime?this._position/this.totalTime:1;}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0;}},Po=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish();}),s.onDestroy(()=>{++n==o&&this._onDestroy();}),s.onStart(()=>{++r==o&&this._onStart();});}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0);}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]);}init(){this.players.forEach(t=>t.init());}onStart(t){this._onStartFns.push(t);}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[]);}onDone(t){this._onDoneFns.push(t);}onDestroy(t){this._onDestroyFns.push(t);}hasStarted(){return this._started;}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play());}pause(){this.players.forEach(t=>t.pause());}restart(){this.players.forEach(t=>t.restart());}finish(){this._onFinish(),this.players.forEach(t=>t.finish());}destroy(){this._onDestroy();}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[]);}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1;}setPosition(t){let e=t*this.totalTime;this.players.forEach(n=>{let r=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(r);});}getPosition(){let t=this.players.reduce((e,n)=>e===null||n.totalTime>e.totalTime?n:e,null);return t!=null?t.getPosition():0;}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy();});}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0;}},bl="!";function _v(i){return new D(3e3,!1);}function HM(){return new D(3100,!1);}function zM(){return new D(3101,!1);}function GM(i){return new D(3001,!1);}function UM(i){return new D(3003,!1);}function $M(i){return new D(3004,!1);}function WM(i,t){return new D(3005,!1);}function qM(){return new D(3006,!1);}function XM(){return new D(3007,!1);}function YM(i,t){return new D(3008,!1);}function QM(i){return new D(3002,!1);}function ZM(i,t,e,n,r){return new D(3010,!1);}function KM(){return new D(3011,!1);}function JM(){return new D(3012,!1);}function eT(){return new D(3200,!1);}function tT(){return new D(3202,!1);}function iT(){return new D(3013,!1);}function nT(i){return new D(3014,!1);}function rT(i){return new D(3015,!1);}function oT(i){return new D(3016,!1);}function sT(i,t){return new D(3404,!1);}function aT(i){return new D(3502,!1);}function lT(i){return new D(3503,!1);}function cT(){return new D(3300,!1);}function dT(i){return new D(3504,!1);}function uT(i){return new D(3301,!1);}function hT(i,t){return new D(3302,!1);}function mT(i){return new D(3303,!1);}function fT(i,t){return new D(3400,!1);}function pT(i){return new D(3401,!1);}function gT(i){return new D(3402,!1);}function _T(i,t){return new D(3505,!1);}function on(i){switch(i.length){case 0:return new rn();case 1:return i[0];default:return new Po(i);}}function Rv(i,t,e=new Map(),n=new Map()){let r=[],o=[],s=-1,a=null;if(t.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map();l.forEach((m,h)=>{let f=h,b=m;if(h!=="offset")switch(f=i.normalizePropertyName(f,r),b){case bl:b=e.get(h);break;case vi:b=n.get(h);break;default:b=i.normalizeStyleValue(h,f,b,r);break;}u.set(f,b);}),d||o.push(u),a=u,s=c;}),r.length)throw aT(r);return o;}function Zh(i,t,e,n){switch(t){case"start":i.onStart(()=>n(e&&Th(e,"start",i)));break;case"done":i.onDone(()=>n(e&&Th(e,"done",i)));break;case"destroy":i.onDestroy(()=>n(e&&Th(e,"destroy",i)));break;}}function Th(i,t,e){let n=e.totalTime,r=!!e.disabled,o=Kh(i.element,i.triggerName,i.fromState,i.toState,t||i.phaseName,n??i.totalTime,r),s=i._data;return s!=null&&(o._data=s),o;}function Kh(i,t,e,n,r="",o=0,s){return{element:i,triggerName:t,fromState:e,toState:n,phaseName:r,totalTime:o,disabled:!!s};}function Mt(i,t,e){let n=i.get(t);return n||i.set(t,n=e),n;}function bv(i){let t=i.indexOf(":"),e=i.substring(1,t),n=i.slice(t+1);return[e,n];}var bT=typeof document>"u"?null:document.documentElement;function Jh(i){let t=i.parentNode||i.host||null;return t===bT?null:t;}function vT(i){return i.substring(1,6)=="ebkit";}var On=null,vv=!1;function yT(i){On||(On=IT()||{},vv=On.style?"WebkitAppearance"in On.style:!1);let t=!0;return On.style&&!vT(i)&&(t=i in On.style,!t&&vv&&(t="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in On.style)),t;}function IT(){return typeof document<"u"?document.body:null;}function Av(i,t){for(;t;){if(t===i)return!0;t=Jh(t);}return!1;}function Ov(i,t,e){if(e)return Array.from(i.querySelectorAll(t));let n=i.querySelector(t);return n?[n]:[];}var em=(()=>{class i{validateStyleProperty(e){return yT(e);}containsElement(e,n){return Av(e,n);}getParentElement(e){return Jh(e);}query(e,n,r){return Ov(e,n,r);}computeStyle(e,n,r){return r||"";}animate(e,n,r,o,s,a=[],l){return new rn(r,o);}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac});}}return i;})(),Pn=class{static{this.NOOP=new em();}},Ln=class{};var wT=1e3,Nv="{{",ET="}}",Fv="ng-enter",Fh="ng-leave",vl="ng-trigger",Cl=".ng-trigger",yv="ng-animating",Ph=".ng-animating";function Hi(i){if(typeof i=="number")return i;let t=i.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Lh(parseFloat(t[1]),t[2]);}function Lh(i,t){switch(t){case"s":return i*wT;default:return i;}}function Dl(i,t,e){return i.hasOwnProperty("duration")?i:CT(i,t,e);}function CT(i,t,e){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof i=="string"){let a=i.match(n);if(a===null)return t.push(_v(i)),{duration:0,delay:0,easing:""};r=Lh(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Lh(parseFloat(l),a[4]));let c=a[5];c&&(s=c);}else r=i;if(!e){let a=!1,l=t.length;r<0&&(t.push(HM()),a=!0),o<0&&(t.push(zM()),a=!0),a&&t.splice(l,0,_v(i));}return{duration:r,delay:o,easing:s};}function DT(i){return i.length?i[0]instanceof Map?i:i.map(t=>new Map(Object.entries(t))):[];}function Ii(i,t,e){t.forEach((n,r)=>{let o=tm(r);e&&!e.has(r)&&e.set(r,i.style[o]),i.style[o]=n;});}function Fn(i,t){t.forEach((e,n)=>{let r=tm(n);i.style[r]="";});}function Lo(i){return Array.isArray(i)?i.length==1?i[0]:fv(i):i;}function xT(i,t,e){let n=t.params||{},r=Pv(i);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||e.push(GM(o));});}var Vh=new RegExp(`${Nv}\\s*(.+?)\\s*${ET}`,"g");function Pv(i){let t=[];if(typeof i=="string"){let e;for(;e=Vh.exec(i);)t.push(e[1]);Vh.lastIndex=0;}return t;}function Bo(i,t,e){let n=`${i}`,r=n.replace(Vh,(o,s)=>{let a=t[s];return a==null&&(e.push(UM(s)),a=""),a.toString();});return r==n?i:r;}var ST=/-+([a-z0-9])/g;function tm(i){return i.replace(ST,(...t)=>t[1].toUpperCase());}function MT(i,t){return i===0||t===0;}function TT(i,t,e){if(e.size&&t.length){let n=t[0],r=[];if(e.forEach((o,s)=>{n.has(s)||r.push(s),n.set(s,o);}),r.length)for(let o=1;os.set(a,im(i,a)));}}return t;}function St(i,t,e){switch(t.type){case ne.Trigger:return i.visitTrigger(t,e);case ne.State:return i.visitState(t,e);case ne.Transition:return i.visitTransition(t,e);case ne.Sequence:return i.visitSequence(t,e);case ne.Group:return i.visitGroup(t,e);case ne.Animate:return i.visitAnimate(t,e);case ne.Keyframes:return i.visitKeyframes(t,e);case ne.Style:return i.visitStyle(t,e);case ne.Reference:return i.visitReference(t,e);case ne.AnimateChild:return i.visitAnimateChild(t,e);case ne.AnimateRef:return i.visitAnimateRef(t,e);case ne.Query:return i.visitQuery(t,e);case ne.Stagger:return i.visitStagger(t,e);default:throw $M(t.type);}}function im(i,t){return window.getComputedStyle(i)[t];}var kT=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"]),xl=class extends Ln{normalizePropertyName(t,e){return tm(t);}normalizeStyleValue(t,e,n,r){let o="",s=n.toString().trim();if(kT.has(e)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(WM(t,n));}return s+o;}};var Sl="*";function RT(i,t){let e=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(n=>AT(n,e,t)):e.push(i),e;}function AT(i,t,e){if(i[0]==":"){let l=OT(i,e);if(typeof l=="function"){t.push(l);return;}i=l;}let n=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return e.push(rT(i)),t;let r=n[1],o=n[2],s=n[3];t.push(Iv(r,s));let a=r==Sl&&s==Sl;o[0]=="<"&&!a&&t.push(Iv(s,r));}function OT(i,t){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,n)=>parseFloat(n)>parseFloat(e);case":decrement":return(e,n)=>parseFloat(n) *";}}var yl=new Set(["true","1"]),Il=new Set(["false","0"]);function Iv(i,t){let e=yl.has(i)||Il.has(i),n=yl.has(t)||Il.has(t);return(r,o)=>{let s=i==Sl||i==r,a=t==Sl||t==o;return!s&&e&&typeof r=="boolean"&&(s=r?yl.has(i):Il.has(i)),!a&&n&&typeof o=="boolean"&&(a=o?yl.has(t):Il.has(t)),s&&a;};}var Lv=":self",NT=new RegExp(`s*${Lv}s*,?`,"g");function Vv(i,t,e,n){return new Bh(i).build(t,e,n);}var wv="",Bh=class{constructor(t){this._driver=t;}build(t,e,n){let r=new jh(e);return this._resetContextStyleTimingState(r),St(this,Lo(t),r);}_resetContextStyleTimingState(t){t.currentQuerySelector=wv,t.collectedStyles=new Map(),t.collectedStyles.set(wv,new Map()),t.currentTime=0;}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0,o=[],s=[];return t.name.charAt(0)=="@"&&e.errors.push(qM()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==ne.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e));}),l.name=c;}else if(a.type==ne.Transition){let l=this.visitTransition(a,e);n+=l.queryCount,r+=l.depCount,s.push(l);}else e.errors.push(XM());}),{type:ne.Trigger,name:t.name,states:o,transitions:s,queryCount:n,depCount:r,options:null};}visitState(t,e){let n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){let o=new Set(),s=r||{};n.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Pv(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c);});});}),o.size&&e.errors.push(YM(t.name,[...o.values()]));}return{type:ne.State,name:t.name,style:n,options:r?{params:r}:null};}visitTransition(t,e){e.queryCount=0,e.depCount=0;let n=St(this,Lo(t.animation),e),r=RT(t.expr,e.errors);return{type:ne.Transition,matchers:r,animation:n,queryCount:e.queryCount,depCount:e.depCount,options:Nn(t.options)};}visitSequence(t,e){return{type:ne.Sequence,steps:t.steps.map(n=>St(this,n,e)),options:Nn(t.options)};}visitGroup(t,e){let n=e.currentTime,r=0,o=t.steps.map(s=>{e.currentTime=n;let a=St(this,s,e);return r=Math.max(r,e.currentTime),a;});return e.currentTime=r,{type:ne.Group,steps:o,options:Nn(t.options)};}visitAnimate(t,e){let n=VT(t.timings,e.errors);e.currentAnimateTimings=n;let r,o=t.styles?t.styles:ze({});if(o.type==ne.Keyframes)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;let c={};n.easing&&(c.easing=n.easing),s=ze(c);}e.currentTime+=n.duration+n.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,r=l;}return e.currentAnimateTimings=null,{type:ne.Animate,timings:n,style:r,options:null};}visitStyle(t,e){let n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n;}_makeStyleAst(t,e){let n=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)typeof a=="string"?a===vi?n.push(a):e.errors.push(QM(a)):n.push(new Map(Object.entries(a)));let o=!1,s=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(Nv)>=0){o=!0;break;}}}),{type:ne.Style,styles:n,easing:s,offset:t.offset,containsDynamicStyles:o,options:null};}_validateStyleAst(t,e){let n=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),t.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(ZM(l,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),e.options&&xT(a,e.options,e.errors);});});}visitKeyframes(t,e){let n={type:ne.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(KM()),n;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=t.steps.map(C=>{let B=this._makeStyleAst(C,e),ue=B.offset!=null?B.offset:LT(B.styles),ce=0;return ue!=null&&(o++,ce=B.offset=ue),l=l||ce<0||ce>1,a=a||ce0&&o{let ue=m>0?B==h?1:m*B:s[B],ce=ue*E;e.currentTime=f+b.delay+ce,b.duration=ce,this._validateStyleAst(C,e),C.offset=ue,n.styles.push(C);}),n;}visitReference(t,e){return{type:ne.Reference,animation:St(this,Lo(t.animation),e),options:Nn(t.options)};}visitAnimateChild(t,e){return e.depCount++,{type:ne.AnimateChild,options:Nn(t.options)};}visitAnimateRef(t,e){return{type:ne.AnimateRef,animation:this.visitReference(t.animation,e),options:Nn(t.options)};}visitQuery(t,e){let n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;let[o,s]=FT(t.selector);e.currentQuerySelector=n.length?n+" "+o:o,Mt(e.collectedStyles,e.currentQuerySelector,new Map());let a=St(this,Lo(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:ne.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:Nn(t.options)};}visitStagger(t,e){e.currentQuery||e.errors.push(iT());let n=t.timings==="full"?{duration:0,delay:0,easing:"full"}:Dl(t.timings,e.errors,!0);return{type:ne.Stagger,animation:St(this,Lo(t.animation),e),timings:n,options:null};}};function FT(i){let t=!!i.split(/\s*,\s*/).find(e=>e==Lv);return t&&(i=i.replace(NT,"")),i=i.replace(/@\*/g,Cl).replace(/@\w+/g,e=>Cl+"-"+e.slice(1)).replace(/:animating/g,Ph),[i,t];}function PT(i){return i?$({},i):null;}var jh=class{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 LT(i){if(typeof i=="string")return null;let t=null;if(Array.isArray(i))i.forEach(e=>{if(e instanceof Map&&e.has("offset")){let n=e;t=parseFloat(n.get("offset")),n.delete("offset");}});else if(i instanceof Map&&i.has("offset")){let e=i;t=parseFloat(e.get("offset")),e.delete("offset");}return t;}function VT(i,t){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let o=Dl(i,t).duration;return kh(o,0,"");}let e=i;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=kh(0,0,"");return o.dynamic=!0,o.strValue=e,o;}let r=Dl(e,t);return kh(r.duration,r.delay,r.easing);}function Nn(i){return i?(i=$({},i),i.params&&(i.params=PT(i.params))):i={},i;}function kh(i,t,e){return{duration:i,delay:t,easing:e};}function nm(i,t,e,n,r,o,s=null,a=!1){return{type:1,element:i,keyframes:t,preStyleProps:e,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a};}var jo=class{constructor(){this._map=new Map();}get(t){return this._map.get(t)||[];}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e);}has(t){return this._map.has(t);}clear(){this._map.clear();}},BT=1,jT=":enter",HT=new RegExp(jT,"g"),zT=":leave",GT=new RegExp(zT,"g");function Bv(i,t,e,n,r,o=new Map(),s=new Map(),a,l,c=[]){return new Hh().buildKeyframes(i,t,e,n,r,o,s,a,l,c);}var Hh=class{buildKeyframes(t,e,n,r,o,s,a,l,c,d=[]){c=c||new jo();let u=new zh(t,e,c,r,o,d,[]);u.options=l;let m=l.delay?Hi(l.delay):0;u.currentTimeline.delayNextStep(m),u.currentTimeline.setStyles([s],null,u.errors,l),St(this,n,u);let h=u.timelines.filter(f=>f.containsAnimation());if(h.length&&a.size){let f;for(let b=h.length-1;b>=0;b--){let E=h[b];if(E.element===e){f=E;break;}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,u.errors,l);}return h.length?h.map(f=>f.buildKeyframes()):[nm(e,[],[],[],0,m,"",!1)];}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let n=e.subInstructions.get(e.element);if(n){let r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);o!=s&&e.transformIntoNewTimeline(s);}e.previousNode=t;}visitAnimateRef(t,e){let n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,n),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t;}_applyAnimationRefDelays(t,e,n){for(let r of t){let o=r?.delay;if(o){let s=typeof o=="number"?o:Hi(Bo(o,r?.params??{},e.errors));n.delayNextStep(s);}}}_visitSubInstructions(t,e,n){let o=e.currentTimeline.currentTime,s=n.duration!=null?Hi(n.duration):null,a=n.delay!=null?Hi(n.delay):null;return s!==0&&t.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay);}),o;}visitReference(t,e){e.updateOptions(t.options,!0),St(this,t.animation,e),e.previousNode=t;}visitSequence(t,e){let n=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==ne.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Ml);let s=Hi(o.delay);r.delayNextStep(s);}t.steps.length&&(t.steps.forEach(s=>St(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t;}visitGroup(t,e){let n=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?Hi(t.options.delay):0;t.steps.forEach(s=>{let a=e.createSubContext(t.options);o&&a.delayNextStep(o),St(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),n.push(a.currentTimeline);}),n.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t;}_visitTiming(t,e){if(t.dynamic){let n=t.strValue,r=e.params?Bo(n,e.params,e.errors):n;return Dl(r,e.errors);}else return{duration:t.duration,delay:t.delay,easing:t.easing};}visitAnimate(t,e){let n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());let o=t.style;o.type==ne.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t;}visitStyle(t,e){let n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(o):n.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t;}visitKeyframes(t,e){let n=e.currentAnimateTimings,r=e.currentTimeline.duration,o=n.duration,a=e.createSubContext().currentTimeline;a.easing=n.easing,t.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe();}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t;}visitQuery(t,e){let n=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?Hi(r.delay):0;o&&(e.previousNode.type===ne.Style||n==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Ml);let s=n,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;let u=e.createSubContext(t.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),St(this,t.animation,u),u.currentTimeline.applyStylesToKeyframe();let m=u.currentTimeline.currentTime;s=Math.max(s,m);}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t;}visitStagger(t,e){let n=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=n.currentStaggerTime;break;}let d=e.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;St(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime);}},Ml={},zh=class i{constructor(t,e,n,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ml,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Tl(this._driver,e,0),a.push(this.currentTimeline);}get params(){return this.options.params;}updateOptions(t,e){if(!t)return;let n=t,r=this.options;n.duration!=null&&(r.duration=Hi(n.duration)),n.delay!=null&&(r.delay=Hi(n.delay));let o=n.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Bo(o[a],s,this.errors));});}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let n=t.params={};Object.keys(e).forEach(r=>{n[r]=e[r];});}}return t;}createSubContext(t=null,e,n){let r=e||this.element,o=new i(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o;}transformIntoNewTimeline(t){return this.previousNode=Ml,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline;}appendInstructionToTimeline(t,e,n){let r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},o=new Gh(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r;}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t);}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t);}invokeQuery(t,e,n,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=t.replace(HT,"."+this._enterClassName),t=t.replace(GT,"."+this._leaveClassName);let l=n!=1,c=this._driver.query(this.element,t,l);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),a.push(...c);}return!o&&a.length==0&&s.push(nT(e)),a;}},Tl=class i{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,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){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t;}fork(t,e){return this.applyStylesToKeyframe(),new i(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+=BT,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,n]of this._globalTimelineStyles)this._backFill.set(e,n||vi),this._currentKeyframe.set(e,vi);this._currentEmptyStepKeyframe=this._currentKeyframe;}setStyles(t,e,n,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=UT(t,this._globalTimelineStyles);for(let[a,l]of s){let c=Bo(l,o,n);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??vi),this._updateStyle(a,c);}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(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(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t;}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,n)=>{let r=this._styleSummary.get(n);(!r||e.time>r.time)&&this._updateStyle(n,e.value);});}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set(),e=new Set(),n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===bl?t.add(u):d===vi&&e.add(u);}),n||c.set("offset",l/this.duration),r.push(c);});let o=[...t.values()],s=[...e.values()];if(n){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l];}return nm(this.element,r,o,s,this.duration,this.startTime,this.easing,!1);}},Gh=class extends Tl{constructor(t,e,n,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,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:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=n+e,a=e/s,l=new Map(t[0]);l.set("offset",0),o.push(l);let c=new Map(t[0]);c.set("offset",Ev(a)),o.push(c);let d=t.length-1;for(let u=1;u<=d;u++){let m=new Map(t[u]),h=m.get("offset"),f=e+h*n;m.set("offset",Ev(f/s)),o.push(m);}n=s,e=0,r="",t=o;}return nm(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0);}};function Ev(i,t=3){let e=Math.pow(10,t-1);return Math.round(i*e)/e;}function UT(i,t){let e=new Map(),n;return i.forEach(r=>{if(r==="*"){n??=t.keys();for(let o of n)e.set(o,vi);}else for(let[o,s]of r)e.set(o,s);}),e;}function Cv(i,t,e,n,r,o,s,a,l,c,d,u,m){return{type:0,element:i,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:m};}var Rh={},kl=class{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n;}match(t,e,n,r){return $T(this.ast.matchers,t,e,n,r);}buildStyles(t,e,n){let r=this._stateStyles.get("*");return t!==void 0&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,n):new Map();}build(t,e,n,r,o,s,a,l,c,d){let u=[],m=this.ast.options&&this.ast.options.params||Rh,h=a&&a.params||Rh,f=this.buildStyles(n,h,u),b=l&&l.params||Rh,E=this.buildStyles(r,b,u),C=new Set(),B=new Map(),ue=new Map(),ce=r==="void",Ge={params:jv(b,m),delay:this.ast.options?.delay},ye=d?[]:Bv(t,e,this.ast.animation,o,s,f,E,Ge,c,u),be=0;return ye.forEach(Ve=>{be=Math.max(Ve.duration+Ve.delay,be);}),u.length?Cv(e,this._triggerName,n,r,ce,f,E,[],[],B,ue,be,u):(ye.forEach(Ve=>{let yt=Ve.element,Di=Mt(B,yt,new Set());Ve.preStyleProps.forEach(si=>Di.add(si));let Ur=Mt(ue,yt,new Set());Ve.postStyleProps.forEach(si=>Ur.add(si)),yt!==e&&C.add(yt);}),Cv(e,this._triggerName,n,r,ce,f,E,ye,[...C.values()],B,ue,be));}};function $T(i,t,e,n,r){return i.some(o=>o(t,e,n,r));}function jv(i,t){let e=$({},t);return Object.entries(i).forEach(([n,r])=>{r!=null&&(e[n]=r);}),e;}var Uh=class{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n;}buildStyles(t,e){let n=new Map(),r=jv(t,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Bo(s,r,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),n.set(a,s);});}),n;}};function WT(i,t,e){return new $h(i,t,e);}var $h=class{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states=new Map(),e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Uh(r.style,o,n));}),Dv(this.states,"true","1"),Dv(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new kl(t,r,this.states));}),this.fallbackTransition=qT(t,this.states,this._normalizer);}get containsQueries(){return this.ast.queryCount>0;}matchTransition(t,e,n,r){return this.transitionFactories.find(s=>s.match(t,e,n,r))||null;}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n);}};function qT(i,t,e){let n=[(s,a)=>!0],r={type:ne.Sequence,steps:[],options:null},o={type:ne.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new kl(i,o,t);}function Dv(i,t,e){i.has(t)?i.has(e)||i.set(e,i.get(t)):i.has(e)&&i.set(t,i.get(e));}var XT=new jo(),Wh=class{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations=new Map(),this._playersById=new Map(),this.players=[];}register(t,e){let n=[],r=[],o=Vv(this._driver,e,n,r);if(n.length)throw lT(n);r.length&&void 0,this._animations.set(t,o);}_buildPlayer(t,e,n){let r=t.element,o=Rv(this._normalizer,t.keyframes,e,n);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0);}create(t,e,n={}){let r=[],o=this._animations.get(t),s,a=new Map();if(o?(s=Bv(this._driver,e,o,Fv,Fh,new Map(),new Map(),n,XT,r),s.forEach(d=>{let u=Mt(a,d.element,new Map());d.postStyleProps.forEach(m=>u.set(m,null));})):(r.push(cT()),s=[]),r.length)throw dT(r);a.forEach((d,u)=>{d.forEach((m,h)=>{d.set(h,this._driver.computeStyle(u,h,vi));});});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map(),u);}),c=on(l);return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c;}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let n=this.players.indexOf(e);n>=0&&this.players.splice(n,1);}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw uT(t);return e;}listen(t,e,n,r){let o=Kh(e,"","","");return Zh(this._getPlayer(t),n,o,r),()=>{};}command(t,e,n,r){if(n=="register"){this.register(t,r[0]);return;}if(n=="create"){let s=r[0]||{};this.create(t,e,s);return;}let o=this._getPlayer(t);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t);break;}}},xv="ng-animate-queued",YT=".ng-animate-queued",Ah="ng-animate-disabled",QT=".ng-animate-disabled",ZT="ng-star-inserted",KT=".ng-star-inserted",JT=[],Hv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ek={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ti="__ng_removed",Ho=class{get params(){return this.options.params;}constructor(t,e=""){this.namespaceId=e;let n=t&&t.hasOwnProperty("value"),r=n?t.value:t;if(this.value=ik(r),n){let o=t,{value:s}=o,a=mf(o,["value"]);this.options=a;}else this.options={};this.options.params||(this.options.params={});}absorbOptions(t){let e=t.params;if(e){let n=this.options.params;Object.keys(e).forEach(r=>{n[r]==null&&(n[r]=e[r]);});}}},Vo="void",Oh=new Ho(Vo),qh=class{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers=new Map(),this._queue=[],this._elementListeners=new Map(),this._hostClassName="ng-tns-"+t,Ht(e,this._hostClassName);}listen(t,e,n,r){if(!this._triggers.has(e))throw hT(n,e);if(n==null||n.length==0)throw mT(e);if(!nk(n))throw fT(n,e);let o=Mt(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};o.push(s);let a=Mt(this._engine.statesByElement,t,new Map());return a.has(e)||(Ht(t,vl),Ht(t,vl+"-"+e),a.set(e,Oh)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e);});};}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0);}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw pT(t);return e;}trigger(t,e,n,r=!0){let o=this._getTrigger(e),s=new zo(this.id,e,t),a=this._engine.statesByElement.get(t);a||(Ht(t,vl),Ht(t,vl+"-"+e),this._engine.statesByElement.set(t,a=new Map()));let l=a.get(e),c=new Ho(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Oh),!(c.value===Vo)&&l.value===c.value){if(!sk(l.params,c.params)){let b=[],E=o.matchStyles(l.value,l.params,b),C=o.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{Fn(t,E),Ii(t,C);});}return;}let m=Mt(this._engine.playersByElement,t,[]);m.forEach(b=>{b.namespaceId==this.id&&b.triggerName==e&&b.queued&&b.destroy();});let h=o.matchTransition(l.value,c.value,t,c.params),f=!1;if(!h){if(!r)return;h=o.fallbackTransition,f=!0;}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:f}),f||(Ht(t,xv),s.onStart(()=>{Sr(t,xv);})),s.onDone(()=>{let b=this.players.indexOf(s);b>=0&&this.players.splice(b,1);let E=this._engine.playersByElement.get(t);if(E){let C=E.indexOf(s);C>=0&&E.splice(C,1);}}),this.players.push(s),m.push(s),s;}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(r=>r.name!=t));});}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(n=>n.destroy()),this._engine.playersByElement.delete(t));}_signalRemovalForInnerTriggers(t,e){let n=this._engine.driver.query(t,Cl,!0);n.forEach(r=>{if(r[ti])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r);}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)));}triggerLeaveAnimation(t,e,n,r){let o=this._engine.statesByElement.get(t),s=new Map();if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(t,c,Vo,r);d&&a.push(d);}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),n&&on(a).onDone(()=>this._engine.processLeaveNode(t)),!0;}return!1;}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){let r=new Set();e.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=n.get(s)||Oh,d=new Ho(Vo),u=new zo(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0});});}}removeNode(t,e){let n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(n.statesByElement.get(s)){r=!0;break;}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{let o=t[ti];(!o||o===Hv)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e));}}insertNode(t,e){Ht(t,this._hostClassName);}drainQueuedTransitions(t){let e=[];return this._queue.forEach(n=>{let r=n.player;if(r.destroyed)return;let o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){let l=Kh(o,n.triggerName,n.fromState.value,n.toState.value);l._data=t,Zh(n.player,a.phase,l,a.callback);}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy();}):e.push(n);}),this._queue=[],e.sort((n,r)=>{let o=n.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(n.element,r.element)?1:-1;});}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t);}},Xh=class{_onRemovalComplete(t,e){this.onRemovalComplete(t,e);}constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,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=(r,o)=>{};}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(n=>{n.queued&&t.push(n);});}),t;}createNamespace(t,e){let n=new qh(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n;}_balanceNamespaceList(t,e){let n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=r.get(a);if(l){let c=n.indexOf(l);n.splice(c+1,0,t),s=!0;break;}a=this.driver.getParentElement(a);}s||n.unshift(t);}else n.push(t);return r.set(e,t),t;}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n;}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++;}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(t);this.namespacesByHostElement.delete(n.hostElement);let r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(e),delete this._namespaceLookup[t];}));}_fetchNamespace(t){return this._namespaceLookup[t];}fetchNamespacesByElement(t){let e=new Set(),n=this.statesByElement.get(t);if(n){for(let r of n.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o);}}return e;}trigger(t,e,n,r){if(wl(e)){let o=this._fetchNamespace(t);if(o)return o.trigger(e,n,r),!0;}return!1;}insertNode(t,e,n,r){if(!wl(e))return;let o=e[ti];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1);}if(t){let s=this._fetchNamespace(t);s&&s.insertNode(e,n);}r&&this.collectEnterElement(e);}collectEnterElement(t){this.collectedEnterElements.push(t);}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ht(t,Ah)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Sr(t,Ah));}removeNode(t,e,n){if(wl(e)){let r=t?this._fetchNamespace(t):null;r?r.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n);let o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,n);}else this._onRemovalComplete(e,n);}markElementAsRemoved(t,e,n,r,o){this.collectedLeaveElements.push(e),e[ti]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o};}listen(t,e,n,r,o){return wl(e)?this._fetchNamespace(t).listen(e,n,r,o):()=>{};}_buildInstruction(t,e,n,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,o);}destroyInnerAnimations(t){let e=this.driver.query(t,Cl,!0);e.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,Ph,!0),e.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)));}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy();});}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(n=>n.finish());}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return on(this.players).onDone(()=>t());t();});}processLeaveNode(t){let e=t[ti];if(e&&e.setForRemoval){if(t[ti]=Hv,e.namespaceId){this.destroyInnerAnimations(t);let n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t);}this._onRemovalComplete(t,e.setForRemoval);}t.classList?.contains(Ah)&&this.markElementAsDisabled(t,!1),this.driver.query(t,QT,!0).forEach(n=>{this.markElementAsDisabled(n,!1);});}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],e.length?on(e).onDone(()=>{n.forEach(r=>r());}):n.forEach(r=>r());}}reportError(t){throw gT(t);}_flushAnimations(t,e){let n=new jo(),r=[],o=new Map(),s=[],a=new Map(),l=new Map(),c=new Map(),d=new Set();this.disabledNodes.forEach(R=>{d.add(R);let j=this.driver.query(R,YT,!0);for(let U=0;U{let U=Fv+b++;f.set(j,U),R.forEach(he=>Ht(he,U));});let E=[],C=new Set(),B=new Set();for(let R=0;RC.add(he)):B.add(j));}let ue=new Map(),ce=Tv(m,Array.from(C));ce.forEach((R,j)=>{let U=Fh+b++;ue.set(j,U),R.forEach(he=>Ht(he,U));}),t.push(()=>{h.forEach((R,j)=>{let U=f.get(j);R.forEach(he=>Sr(he,U));}),ce.forEach((R,j)=>{let U=ue.get(j);R.forEach(he=>Sr(he,U));}),E.forEach(R=>{this.processLeaveNode(R);});});let Ge=[],ye=[];for(let R=this._namespaceList.length-1;R>=0;R--)this._namespaceList[R].drainQueuedTransitions(e).forEach(U=>{let he=U.player,Ue=U.element;if(Ge.push(he),this.collectedEnterElements.length){let Xe=Ue[ti];if(Xe&&Xe.setForMove){if(Xe.previousTriggersValues&&Xe.previousTriggersValues.has(U.triggerName)){let ai=Xe.previousTriggersValues.get(U.triggerName),ht=this.statesByElement.get(U.element);if(ht&&ht.has(U.triggerName)){let hn=ht.get(U.triggerName);hn.value=ai,ht.set(U.triggerName,hn);}}he.destroy();return;}}let It=!u||!this.driver.containsElement(u,Ue),rt=ue.get(Ue),Gt=f.get(Ue),Fe=this._buildInstruction(U,n,Gt,rt,It);if(Fe.errors&&Fe.errors.length){ye.push(Fe);return;}if(It){he.onStart(()=>Fn(Ue,Fe.fromStyles)),he.onDestroy(()=>Ii(Ue,Fe.toStyles)),r.push(he);return;}if(U.isFallbackTransition){he.onStart(()=>Fn(Ue,Fe.fromStyles)),he.onDestroy(()=>Ii(Ue,Fe.toStyles)),r.push(he);return;}let qr=[];Fe.timelines.forEach(Xe=>{Xe.stretchStartingKeyframe=!0,this.disabledNodes.has(Xe.element)||qr.push(Xe);}),Fe.timelines=qr,n.append(Ue,Fe.timelines);let ms={instruction:Fe,player:he,element:Ue};s.push(ms),Fe.queriedElements.forEach(Xe=>Mt(a,Xe,[]).push(he)),Fe.preStyleProps.forEach((Xe,ai)=>{if(Xe.size){let ht=l.get(ai);ht||l.set(ai,ht=new Set()),Xe.forEach((hn,Wn)=>ht.add(Wn));}}),Fe.postStyleProps.forEach((Xe,ai)=>{let ht=c.get(ai);ht||c.set(ai,ht=new Set()),Xe.forEach((hn,Wn)=>ht.add(Wn));});});if(ye.length){let R=[];ye.forEach(j=>{R.push(_T(j.triggerName,j.errors));}),Ge.forEach(j=>j.destroy()),this.reportError(R);}let be=new Map(),Ve=new Map();s.forEach(R=>{let j=R.element;n.has(j)&&(Ve.set(j,j),this._beforeAnimationBuild(R.player.namespaceId,R.instruction,be));}),r.forEach(R=>{let j=R.element;this._getPreviousPlayers(j,!1,R.namespaceId,R.triggerName,null).forEach(he=>{Mt(be,j,[]).push(he),he.destroy();});});let yt=E.filter(R=>kv(R,l,c)),Di=new Map();Mv(Di,this.driver,B,c,vi).forEach(R=>{kv(R,l,c)&&yt.push(R);});let si=new Map();h.forEach((R,j)=>{Mv(si,this.driver,new Set(R),l,bl);}),yt.forEach(R=>{let j=Di.get(R),U=si.get(R);Di.set(R,new Map([...(j?.entries()??[]),...(U?.entries()??[])]));});let $n=[],$r=[],Wr={};s.forEach(R=>{let{element:j,player:U,instruction:he}=R;if(n.has(j)){if(d.has(j)){U.onDestroy(()=>Ii(j,he.toStyles)),U.disabled=!0,U.overrideTotalTime(he.totalTime),r.push(U);return;}let Ue=Wr;if(Ve.size>1){let rt=j,Gt=[];for(;rt=rt.parentNode;){let Fe=Ve.get(rt);if(Fe){Ue=Fe;break;}Gt.push(rt);}Gt.forEach(Fe=>Ve.set(Fe,Ue));}let It=this._buildAnimation(U.namespaceId,he,be,o,si,Di);if(U.setRealPlayer(It),Ue===Wr)$n.push(U);else{let rt=this.playersByElement.get(Ue);rt&&rt.length&&(U.parentPlayer=on(rt)),r.push(U);}}else Fn(j,he.fromStyles),U.onDestroy(()=>Ii(j,he.toStyles)),$r.push(U),d.has(j)&&r.push(U);}),$r.forEach(R=>{let j=o.get(R.element);if(j&&j.length){let U=on(j);R.setRealPlayer(U);}}),r.forEach(R=>{R.parentPlayer?R.syncPlayerEvents(R.parentPlayer):R.destroy();});for(let R=0;R!It.destroyed);Ue.length?rk(this,j,Ue):this.processLeaveNode(j);}return E.length=0,$n.forEach(R=>{this.players.push(R),R.onDone(()=>{R.destroy();let j=this.players.indexOf(R);this.players.splice(j,1);}),R.play();}),$n;}afterFlush(t){this._flushFns.push(t);}afterFlushAnimationsDone(t){this._whenQuietFns.push(t);}_getPreviousPlayers(t,e,n,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(t);a&&(s=a);}else{let a=this.playersByElement.get(t);if(a){let l=!o||o==Vo;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c);});}}return(n||r)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||r&&r!=a.triggerName))),s;}_beforeAnimationBuild(t,e,n){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,u=Mt(n,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(h=>{let f=h.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),h.destroy(),u.push(h);});}Fn(o,e.fromStyles);}_buildAnimation(t,e,n,r,o,s){let a=e.triggerName,l=e.element,c=[],d=new Set(),u=new Set(),m=e.timelines.map(f=>{let b=f.element;d.add(b);let E=b[ti];if(E&&E.removedBeforeQueried)return new rn(f.duration,f.delay);let C=b!==l,B=ok((n.get(b)||JT).map(be=>be.getRealPlayer())).filter(be=>{let Ve=be;return Ve.element?Ve.element===b:!1;}),ue=o.get(b),ce=s.get(b),Ge=Rv(this._normalizer,f.keyframes,ue,ce),ye=this._buildPlayer(f,Ge,B);if(f.subTimeline&&r&&u.add(b),C){let be=new zo(t,a,b);be.setRealPlayer(ye),c.push(be);}return ye;});c.forEach(f=>{Mt(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>tk(this.playersByQueriedElement,f.element,f));}),d.forEach(f=>Ht(f,yv));let h=on(m);return h.onDestroy(()=>{d.forEach(f=>Sr(f,yv)),Ii(l,e.toStyles);}),u.forEach(f=>{Mt(r,f,[]).push(h);}),h;}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new rn(t.duration,t.delay);}},zo=class{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new rn(),this._containsRealPlayer=!1,this._queuedCallbacks=new Map(),this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0;}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,n)=>{e.forEach(r=>Zh(t,n,void 0,r));}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1);}getRealPlayer(){return this._player;}overrideTotalTime(t){this.totalTime=t;}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy());}_queueEvent(t,e){Mt(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?!1: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){let e=this._player;e.triggerCallback&&e.triggerCallback(t);}};function tk(i,t,e){let n=i.get(t);if(n){if(n.length){let r=n.indexOf(e);n.splice(r,1);}n.length==0&&i.delete(t);}return n;}function ik(i){return i??null;}function wl(i){return i&&i.nodeType===1;}function nk(i){return i=="start"||i=="done";}function Sv(i,t){let e=i.style.display;return i.style.display=t??"none",e;}function Mv(i,t,e,n,r){let o=[];e.forEach(l=>o.push(Sv(l)));let s=[];n.forEach((l,c)=>{let d=new Map();l.forEach(u=>{let m=t.computeStyle(c,u,r);d.set(u,m),(!m||m.length==0)&&(c[ti]=ek,s.push(c));}),i.set(c,d);});let a=0;return e.forEach(l=>Sv(l,o[a++])),s;}function Tv(i,t){let e=new Map();if(i.forEach(a=>e.set(a,[])),t.length==0)return e;let n=1,r=new Set(t),o=new Map();function s(a){if(!a)return n;let l=o.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:r.has(c)?l=n:l=s(c),o.set(a,l),l;}return t.forEach(a=>{let l=s(a);l!==n&&e.get(l).push(a);}),e;}function Ht(i,t){i.classList?.add(t);}function Sr(i,t){i.classList?.remove(t);}function rk(i,t,e){on(e).onDone(()=>i.processLeaveNode(t));}function ok(i){let t=[];return zv(i,t),t;}function zv(i,t){for(let e=0;er.add(o)):t.set(i,n),e.delete(i),!0;}var Mr=class{constructor(t,e,n){this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new Xh(t.body,e,n),this._timelineEngine=new Wh(t.body,e,n),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o);}registerTrigger(t,e,n,r,o){let s=t+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=Vv(this._driver,o,l,c);if(l.length)throw sT(r,l);c.length&&void 0,a=WT(r,d,this._normalizer),this._triggerCache[s]=a;}this._transitionEngine.registerTrigger(e,r,a);}register(t,e){this._transitionEngine.register(t,e);}destroy(t,e){this._transitionEngine.destroy(t,e);}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r);}onRemove(t,e,n){this._transitionEngine.removeNode(t,e,n);}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e);}process(t,e,n,r){if(n.charAt(0)=="@"){let[o,s]=bv(n),a=r;this._timelineEngine.command(o,e,s,a);}else this._transitionEngine.trigger(t,e,n,r);}listen(t,e,n,r,o){if(n.charAt(0)=="@"){let[s,a]=bv(n);return this._timelineEngine.listen(s,e,a,o);}return this._transitionEngine.listen(t,e,n,r,o);}flush(t=-1){this._transitionEngine.flush(t);}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players];}whenRenderingDone(){return this._transitionEngine.whenRenderingDone();}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t);}};function ak(i,t){let e=null,n=null;return Array.isArray(t)&&t.length?(e=Nh(t[0]),t.length>1&&(n=Nh(t[t.length-1]))):t instanceof Map&&(e=Nh(t)),e||n?new Yh(i,e,n):null;}var Yh=class i{static{this.initialStylesByElement=new WeakMap();}constructor(t,e,n){this._element=t,this._startStyles=e,this._endStyles=n,this._state=0;let r=i.initialStylesByElement.get(t);r||i.initialStylesByElement.set(t,r=new Map()),this._initialStyles=r;}start(){this._state<1&&(this._startStyles&&Ii(this._element,this._startStyles,this._initialStyles),this._state=1);}finish(){this.start(),this._state<2&&(Ii(this._element,this._initialStyles),this._endStyles&&(Ii(this._element,this._endStyles),this._endStyles=null),this._state=1);}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(Fn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Fn(this._element,this._endStyles),this._endStyles=null),Ii(this._element,this._initialStyles),this._state=3);}};function Nh(i){let t=null;return i.forEach((e,n)=>{lk(n)&&(t=t||new Map(),t.set(n,e));}),t;}function lk(i){return i==="display"||i==="position";}var Rl=class{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,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=n.duration,this._delay=n.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;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map();let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e);});}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause();}_convertKeyframesToObject(t){let e=[];return t.forEach(n=>{e.push(Object.fromEntries(n));}),e;}_triggerWebAnimation(t,e,n){return t.animate(this._convertKeyframesToObject(e),n);}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){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time;}getPosition(){return+(this.domPlayer.currentTime??0)/this.time;}get totalTime(){return this._delay+this._duration;}beforeDestroy(){let t=new Map();this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{r!=="offset"&&t.set(r,this._finished?n:im(this.element,r));}),this.currentSnapshot=t;}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0;}},Al=class{validateStyleProperty(t){return!0;}validateAnimatableStyleProperty(t){return!0;}containsElement(t,e){return Av(t,e);}getParentElement(t){return Jh(t);}query(t,e,n){return Ov(t,e,n);}computeStyle(t,e,n){return im(t,e);}animate(t,e,n,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:n,delay:r,fill:a};o&&(l.easing=o);let c=new Map(),d=s.filter(h=>h instanceof Rl);MT(n,r)&&d.forEach(h=>{h.currentSnapshot.forEach((f,b)=>c.set(b,f));});let u=DT(e).map(h=>new Map(h));u=TT(t,u,c);let m=ak(t,u);return new Rl(t,u,l,m);}};var El="@",Gv="@.disabled",Ol=class{constructor(t,e,n,r){this.namespaceId=t,this.delegate=e,this.engine=n,this._onDestroy=r,this.ɵtype=0;}get data(){return this.delegate.data;}destroyNode(t){this.delegate.destroyNode?.(t);}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{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,n,r=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,r);}removeChild(t,e,n){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate);}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,n,r){this.delegate.setAttribute(t,e,n,r);}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n);}addClass(t,e){this.delegate.addClass(t,e);}removeClass(t,e){this.delegate.removeClass(t,e);}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r);}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n);}setProperty(t,e,n){e.charAt(0)==El&&e==Gv?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n);}setValue(t,e){this.delegate.setValue(t,e);}listen(t,e,n){return this.delegate.listen(t,e,n);}disableAnimations(t,e){this.engine.disableAnimations(t,e);}},Qh=class extends Ol{constructor(t,e,n,r,o){super(e,n,r,o),this.factory=t,this.namespaceId=e;}setProperty(t,e,n){e.charAt(0)==El?e.charAt(1)=="."&&e==Gv?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,e.slice(1),n):this.delegate.setProperty(t,e,n);}listen(t,e,n){if(e.charAt(0)==El){let r=ck(t),o=e.slice(1),s="";return o.charAt(0)!=El&&([o,s]=dk(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,n,a);});}return this.delegate.listen(t,e,n);}};function ck(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i;}}function dk(i){let t=i.indexOf("."),e=i.substring(0,t),n=i.slice(t+1);return[e,n];}var Nl=class{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map(),this._cdRecurDepth=0,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r);};}createRenderer(t,e){let n="",r=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new Ol(n,r,this.engine,u),c.set(r,d);}return d;}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,t,c.name,c);};return e.data.animation.forEach(a),new Qh(this,s,r,this.engine);}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin();}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++;});}scheduleListenerCallback(t,e,n){if(t>=0&&te(n));return;}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a);}),this._animationCallbacksBuffer=[];});}),r.push([e,n]);}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId);}),this.delegate.end&&this.delegate.end();}whenRenderingDone(){return this.engine.whenRenderingDone();}};var hk=(()=>{class i extends Mr{constructor(e,n,r){super(e,n,r);}ngOnDestroy(){this.flush();}static{this.ɵfac=function(n){return new(n||i)(I(le),I(Pn),I(Ln));};}static{this.ɵprov=x({token:i,factory:i.ɵfac});}}return i;})();function mk(){return new xl();}function fk(i,t,e){return new Nl(i,t,e);}var $v=[{provide:Ln,useFactory:mk},{provide:Mr,useClass:hk},{provide:Ki,useFactory:fk,deps:[pl,Mr,S]}],Uv=[{provide:Pn,useFactory:()=>new Al()},{provide:Ke,useValue:"BrowserAnimations"},...$v],pk=[{provide:Pn,useClass:em},{provide:Ke,useValue:"NoopAnimations"},...$v],Wv=(()=>{class i{static withConfig(e){return{ngModule:i,providers:e.disableAnimations?pk:Uv};}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({providers:Uv,imports:[_l]});}}return i;})();var ty=(()=>{class i{constructor(e,n){this._renderer=e,this._elementRef=n,this.onChange=r=>{},this.onTouched=()=>{};}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n);}registerOnTouched(e){this.onTouched=e;}registerOnChange(e){this.onChange=e;}setDisabledState(e){this.setProperty("disabled",e);}static{this.ɵfac=function(n){return new(n||i)(p(Dr),p(N));};}static{this.ɵdir=L({type:i});}}return i;})(),gk=(()=>{class i extends ty{static{this.ɵfac=(()=>{let e;return function(r){return(e||(e=vo(i)))(r||i);};})();}static{this.ɵdir=L({type:i,features:[je]});}}return i;})(),zi=new w("");var _k={provide:zi,useExisting:it(()=>Or),multi:!0};function bk(){let i=bi()?bi().getUserAgent():"";return /android (\d+)/.test(i.toLowerCase());}var vk=new w(""),Or=(()=>{class i extends ty{constructor(e,n,r){super(e,n),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!bk());}writeValue(e){let n=e??"";this.setProperty("value",n);}_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);}static{this.ɵfac=function(n){return new(n||i)(p(Dr),p(N),p(vk,8));};}static{this.ɵdir=L({type:i,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(n,r){n&1&&X("input",function(s){return r._handleInput(s.target.value);})("blur",function(){return r.onTouched();})("compositionstart",function(){return r._compositionStart();})("compositionend",function(s){return r._compositionEnd(s.target.value);});},features:[ve([_k]),je]});}}return i;})();function sn(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0;}function iy(i){return i!=null&&typeof i.length=="number";}var Nr=new w(""),Gl=new w(""),yk=/^(?=.{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])?)*$/,an=class{static min(t){return Ik(t);}static max(t){return wk(t);}static required(t){return Ek(t);}static requiredTrue(t){return Ck(t);}static email(t){return Dk(t);}static minLength(t){return xk(t);}static maxLength(t){return Sk(t);}static pattern(t){return Mk(t);}static nullValidator(t){return ny(t);}static compose(t){return cy(t);}static composeAsync(t){return dy(t);}};function Ik(i){return t=>{if(sn(t.value)||sn(i))return null;let e=parseFloat(t.value);return!isNaN(e)&&e{if(sn(t.value)||sn(i))return null;let e=parseFloat(t.value);return!isNaN(e)&&e>i?{max:{max:i,actual:t.value}}:null;};}function Ek(i){return sn(i.value)?{required:!0}:null;}function Ck(i){return i.value===!0?null:{required:!0};}function Dk(i){return sn(i.value)||yk.test(i.value)?null:{email:!0};}function xk(i){return t=>sn(t.value)||!iy(t.value)?null:t.value.lengthiy(t.value)&&t.value.length>i?{maxlength:{requiredLength:i,actualLength:t.value.length}}:null;}function Mk(i){if(!i)return ny;let t,e;return typeof i=="string"?(e="",i.charAt(0)!=="^"&&(e+="^"),e+=i,i.charAt(i.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=i.toString(),t=i),n=>{if(sn(n.value))return null;let r=n.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}};};}function ny(i){return null;}function ry(i){return i!=null;}function oy(i){return Ro(i)?Nt(i):i;}function sy(i){let t={};return i.forEach(e=>{t=e!=null?$($({},t),e):t;}),Object.keys(t).length===0?null:t;}function ay(i,t){return t.map(e=>e(i));}function Tk(i){return!i.validate;}function ly(i){return i.map(t=>Tk(t)?t:e=>t.validate(e));}function cy(i){if(!i)return null;let t=i.filter(ry);return t.length==0?null:function(e){return sy(ay(e,t));};}function cm(i){return i!=null?cy(ly(i)):null;}function dy(i){if(!i)return null;let t=i.filter(ry);return t.length==0?null:function(e){let n=ay(e,t).map(oy);return $c(n).pipe(Qe(sy));};}function dm(i){return i!=null?dy(ly(i)):null;}function qv(i,t){return i===null?[t]:Array.isArray(i)?[...i,t]:[i,t];}function uy(i){return i._rawValidators;}function hy(i){return i._rawAsyncValidators;}function rm(i){return i?Array.isArray(i)?i:[i]:[];}function Pl(i,t){return Array.isArray(i)?i.includes(t):i===t;}function Xv(i,t){let e=rm(t);return rm(i).forEach(r=>{Pl(e,r)||e.push(r);}),e;}function Yv(i,t){return rm(t).filter(e=>!Pl(i,e));}var Ll=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[];}get value(){return this.control?this.control.value:null;}get valid(){return this.control?this.control.valid:null;}get invalid(){return this.control?this.control.invalid:null;}get pending(){return this.control?this.control.pending:null;}get disabled(){return this.control?this.control.disabled:null;}get enabled(){return this.control?this.control.enabled:null;}get errors(){return this.control?this.control.errors:null;}get pristine(){return this.control?this.control.pristine:null;}get dirty(){return this.control?this.control.dirty:null;}get touched(){return this.control?this.control.touched:null;}get status(){return this.control?this.control.status:null;}get untouched(){return this.control?this.control.untouched:null;}get statusChanges(){return this.control?this.control.statusChanges:null;}get valueChanges(){return this.control?this.control.valueChanges:null;}get path(){return null;}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=cm(this._rawValidators);}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=dm(this._rawAsyncValidators);}get validator(){return this._composedValidatorFn||null;}get asyncValidator(){return this._composedAsyncValidatorFn||null;}_registerOnDestroy(t){this._onDestroyCallbacks.push(t);}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[];}reset(t=void 0){this.control&&this.control.reset(t);}hasError(t,e){return this.control?this.control.hasError(t,e):!1;}getError(t,e){return this.control?this.control.getError(t,e):null;}},ii=class extends Ll{get formDirective(){return null;}get path(){return null;}},ni=class extends Ll{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null;}},Vl=class{constructor(t){this._cd=t;}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched;}get isUntouched(){return!!this._cd?.control?.untouched;}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine;}get isDirty(){return!!this._cd?.control?.dirty;}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid;}get isInvalid(){return!!this._cd?.control?.invalid;}get isPending(){return!!this._cd?.control?.pending;}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted;}},kk={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Ij=Te($({},kk),{"[class.ng-submitted]":"isSubmitted"}),Yo=(()=>{class i extends Vl{constructor(e){super(e);}static{this.ɵfac=function(n){return new(n||i)(p(ni,2));};}static{this.ɵdir=L({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&K("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending);},features:[je]});}}return i;})(),Qo=(()=>{class i extends Vl{constructor(e){super(e);}static{this.ɵfac=function(n){return new(n||i)(p(ii,10));};}static{this.ɵdir=L({type:i,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){n&2&&K("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted);},features:[je]});}}return i;})();var Go="VALID",Fl="INVALID",Tr="PENDING",Uo="DISABLED",ln=class{},Bl=class extends ln{constructor(t,e){super(),this.value=t,this.source=e;}},Wo=class extends ln{constructor(t,e){super(),this.pristine=t,this.source=e;}},qo=class extends ln{constructor(t,e){super(),this.touched=t,this.source=e;}},kr=class extends ln{constructor(t,e){super(),this.status=t,this.source=e;}},om=class extends ln{constructor(t){super(),this.source=t;}},sm=class extends ln{constructor(t){super(),this.source=t;}};function um(i){return(Ul(i)?i.validators:i)||null;}function Rk(i){return Array.isArray(i)?cm(i):i||null;}function hm(i,t){return(Ul(t)?t.asyncValidators:i)||null;}function Ak(i){return Array.isArray(i)?dm(i):i||null;}function Ul(i){return i!=null&&!Array.isArray(i)&&typeof i=="object";}function my(i,t,e){let n=i.controls;if(!(t?Object.keys(n):n).length)throw new D(1e3,"");if(!n[e])throw new D(1001,"");}function fy(i,t,e){i._forEachChild((n,r)=>{if(e[r]===void 0)throw new D(1002,"");});}var Rr=class{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=ji(()=>this.statusReactive()),this.statusReactive=Tn(void 0),this._pristine=ji(()=>this.pristineReactive()),this.pristineReactive=Tn(!0),this._touched=ji(()=>this.touchedReactive()),this.touchedReactive=Tn(!1),this._events=new P(),this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e);}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 status(){return jt(this.statusReactive);}set status(t){jt(()=>this.statusReactive.set(t));}get valid(){return this.status===Go;}get invalid(){return this.status===Fl;}get pending(){return this.status==Tr;}get disabled(){return this.status===Uo;}get enabled(){return this.status!==Uo;}get pristine(){return jt(this.pristineReactive);}set pristine(t){jt(()=>this.pristineReactive.set(t));}get dirty(){return!this.pristine;}get touched(){return jt(this.touchedReactive);}set touched(t){jt(()=>this.touchedReactive.set(t));}get untouched(){return!this.touched;}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change";}setValidators(t){this._assignValidators(t);}setAsyncValidators(t){this._assignAsyncValidators(t);}addValidators(t){this.setValidators(Xv(t,this._rawValidators));}addAsyncValidators(t){this.setAsyncValidators(Xv(t,this._rawAsyncValidators));}removeValidators(t){this.setValidators(Yv(t,this._rawValidators));}removeAsyncValidators(t){this.setAsyncValidators(Yv(t,this._rawAsyncValidators));}hasValidator(t){return Pl(this._rawValidators,t);}hasAsyncValidator(t){return Pl(this._rawAsyncValidators,t);}clearValidators(){this.validator=null;}clearAsyncValidators(){this.asyncValidator=null;}markAsTouched(t={}){let e=this.touched===!1;this.touched=!0;let n=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(Te($({},t),{sourceControl:n})),e&&t.emitEvent!==!1&&this._events.next(new qo(!0,n));}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t));}markAsUntouched(t={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=t.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:n});}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n),e&&t.emitEvent!==!1&&this._events.next(new qo(!1,n));}markAsDirty(t={}){let e=this.pristine===!0;this.pristine=!1;let n=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(Te($({},t),{sourceControl:n})),e&&t.emitEvent!==!1&&this._events.next(new Wo(!1,n));}markAsPristine(t={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=t.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent});}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),e&&t.emitEvent!==!1&&this._events.next(new Wo(!0,n));}markAsPending(t={}){this.status=Tr;let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new kr(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(Te($({},t),{sourceControl:e}));}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=Uo,this.errors=null,this._forEachChild(r=>{r.disable(Te($({},t),{onlySelf:!0}));}),this._updateValue();let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Bl(this.value,n)),this._events.next(new kr(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Te($({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0));}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=Go,this._forEachChild(n=>{n.enable(Te($({},t),{onlySelf:!0}));}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Te($({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1));}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e));}setParent(t){this._parent=t;}getRawValue(){return this.value;}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Go||this.status===Tr)&&this._runAsyncValidator(n,t.emitEvent);}let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Bl(this.value,e)),this._events.next(new kr(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(Te($({},t),{sourceControl:e}));}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent});}_setInitialStatus(){this.status=this._allControlsDisabled()?Uo:Go;}_runValidator(){return this.validator?this.validator(this):null;}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=Tr,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let n=oy(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:t});});}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t;}return!1;}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted);}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,r)=>n&&n._find(r),this);}getError(t,e){let n=e?this.get(e):this;return n&&n.errors?n.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,e,n){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||n)&&this._events.next(new kr(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,n);}_initObservables(){this.valueChanges=new V(),this.statusChanges=new V();}_calculateStatus(){return this._allControlsDisabled()?Uo:this.errors?Fl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Tr)?Tr:this._anyControlsHaveStatus(Fl)?Fl:Go;}_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,e){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&this._events.next(new Wo(this.pristine,e));}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new qo(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e);}_registerOnCollectionChange(t){this._onCollectionChange=t;}_setUpdateStrategy(t){Ul(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn);}_parentMarkedDirty(t){let e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty();}_find(t){return null;}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Rk(this._rawValidators);}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Ak(this._rawAsyncValidators);}},Ar=class extends Rr{constructor(t,e,n){super(um(e),hm(n,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,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.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,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange();}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled;}setValue(t,e={}){fy(this,!0,t),Object.keys(t).forEach(n=>{my(this,!0,n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e);}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(n=>{let r=this.controls[n];r&&r.patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e));}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t?t[r]:null,{onlySelf:!0,emitEvent:e.emitEvent});}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e);}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e.getRawValue(),t));}_syncPendingControls(){let t=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t;}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&t(n,e);});}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange);});}_updateValue(){this.value=this._reduceValue();}_anyControls(t){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&t(n))return!0;return!1;}_reduceValue(){let t={};return this._reduceChildren(t,(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e));}_reduceChildren(t,e){let n=t;return this._forEachChild((r,o)=>{n=e(n,r,o);}),n;}_allControlsDisabled(){for(let 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;}};var am=class extends Ar{};var Zo=new w("CallSetDisabledState",{providedIn:"root",factory:()=>$l}),$l="always";function py(i,t){return[...t.path,i];}function jl(i,t,e=$l){mm(i,t),t.valueAccessor.writeValue(i.value),(i.disabled||e==="always")&&t.valueAccessor.setDisabledState?.(i.disabled),Nk(i,t),Pk(i,t),Fk(i,t),Ok(i,t);}function Qv(i,t,e=!0){let n=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),zl(i,t),i&&(t._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}));}function Hl(i,t){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t);});}function Ok(i,t){if(t.valueAccessor.setDisabledState){let e=n=>{t.valueAccessor.setDisabledState(n);};i.registerOnDisabledChange(e),t._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e);});}}function mm(i,t){let e=uy(i);t.validator!==null?i.setValidators(qv(e,t.validator)):typeof e=="function"&&i.setValidators([e]);let n=hy(i);t.asyncValidator!==null?i.setAsyncValidators(qv(n,t.asyncValidator)):typeof n=="function"&&i.setAsyncValidators([n]);let r=()=>i.updateValueAndValidity();Hl(t._rawValidators,r),Hl(t._rawAsyncValidators,r);}function zl(i,t){let e=!1;if(i!==null){if(t.validator!==null){let r=uy(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,i.setValidators(o));}}if(t.asyncValidator!==null){let r=hy(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,i.setAsyncValidators(o));}}}let n=()=>{};return Hl(t._rawValidators,n),Hl(t._rawAsyncValidators,n),e;}function Nk(i,t){t.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&gy(i,t);});}function Fk(i,t){t.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&gy(i,t),i.updateOn!=="submit"&&i.markAsTouched();});}function gy(i,t){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1;}function Pk(i,t){let e=(n,r)=>{t.valueAccessor.writeValue(n),r&&t.viewToModelUpdate(n);};i.registerOnChange(e),t._registerOnDestroy(()=>{i._unregisterOnChange(e);});}function _y(i,t){i==null,mm(i,t);}function Lk(i,t){return zl(i,t);}function by(i,t){if(!i.hasOwnProperty("model"))return!1;let e=i.model;return e.isFirstChange()?!0:!Object.is(t,e.currentValue);}function Vk(i){return Object.getPrototypeOf(i.constructor)===gk;}function vy(i,t){i._syncPendingControls(),t.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1);});}function yy(i,t){if(!t)return null;Array.isArray(t);let e,n,r;return t.forEach(o=>{o.constructor===Or?e=o:Vk(o)?n=o:r=o;}),r||n||e||null;}function Bk(i,t){let e=i.indexOf(t);e>-1&&i.splice(e,1);}var jk={provide:ii,useExisting:it(()=>Ko)},$o=Promise.resolve(),Ko=(()=>{class i extends ii{get submitted(){return jt(this.submittedReactive);}constructor(e,n,r){super(),this.callSetDisabledState=r,this._submitted=ji(()=>this.submittedReactive()),this.submittedReactive=Tn(!1),this._directives=new Set(),this.ngSubmit=new V(),this.form=new Ar({},cm(e),dm(n));}ngAfterViewInit(){this._setUpdateStrategy();}get formDirective(){return this;}get control(){return this.form;}get path(){return[];}get controls(){return this.form.controls;}addControl(e){$o.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),jl(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e);});}getControl(e){return this.form.get(e.path);}removeControl(e){$o.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e);});}addFormGroup(e){$o.then(()=>{let n=this._findContainer(e.path),r=new Ar({});_y(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1});});}removeFormGroup(e){$o.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name);});}getFormGroup(e){return this.form.get(e.path);}updateModel(e,n){$o.then(()=>{this.form.get(e.path).setValue(n);});}setValue(e){this.control.setValue(e);}onSubmit(e){return this.submittedReactive.set(!0),vy(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog";}onReset(){this.resetForm();}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1);}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn);}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form;}static{this.ɵfac=function(n){return new(n||i)(p(Nr,10),p(Gl,10),p(Zo,8));};}static{this.ɵdir=L({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&X("submit",function(s){return r.onSubmit(s);})("reset",function(){return r.onReset();});},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ve([jk]),je]});}}return i;})();function Zv(i,t){let e=i.indexOf(t);e>-1&&i.splice(e,1);}function Kv(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i;}var Xo=class extends Rr{constructor(t=null,e,n){super(um(e),hm(n,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ul(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Kv(t)?this.defaultValue=t.value:this.defaultValue=t);}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),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){Zv(this._onChange,t);}registerOnDisabledChange(t){this._onDisabledChange.push(t);}_unregisterOnDisabledChange(t){Zv(this._onDisabledChange,t);}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1;}_applyFormState(t){Kv(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;}};var Hk=i=>i instanceof Xo;var zk={provide:ni,useExisting:it(()=>fm)},Jv=Promise.resolve(),fm=(()=>{class i extends ni{constructor(e,n,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Xo(),this._registered=!1,this.name="",this.update=new V(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=yy(this,o);}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)});}this._setUpControl();}"isDisabled"in e&&this._updateDisabled(e),by(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&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn);}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone);}_setUpStandalone(){jl(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1});}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName();}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name;}_updateValue(e){Jv.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck();});}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&z(n);Jv.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck();});}_getPath(e){return this._parent?py(e,this._parent):[e];}static{this.ɵfac=function(n){return new(n||i)(p(ii,9),p(Nr,10),p(Gl,10),p(zi,10),p(Re,8),p(Zo,8));};}static{this.ɵdir=L({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ve([zk]),je,qe]});}}return i;})(),Iy=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵdir=L({type:i,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});}}return i;})();var wy=new w("");var Gk={provide:ii,useExisting:it(()=>wi)},wi=(()=>{class i extends ii{get submitted(){return jt(this._submittedReactive);}set submitted(e){this._submittedReactive.set(e);}constructor(e,n,r){super(),this.callSetDisabledState=r,this._submitted=ji(()=>this._submittedReactive()),this._submittedReactive=Tn(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new V(),this._setValidators(e),this._setAsyncValidators(n);}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form);}ngOnDestroy(){this.form&&(zl(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){let n=this.form.get(e.path);return jl(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n;}getControl(e){return this.form.get(e.path);}removeControl(e){Qv(e.control||null,e,!1),Bk(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,n){this.form.get(e.path).setValue(n);}onSubmit(e){return this._submittedReactive.set(!0),vy(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new om(this.control)),e?.target?.method==="dialog";}onReset(){this.resetForm();}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new sm(this.form));}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(Qv(n||null,e),Hk(r)&&(jl(r,e,this.callSetDisabledState),e.control=r));}),this.form._updateTreeValidity({emitEvent:!1});}_setUpFormContainer(e){let n=this.form.get(e.path);_y(n,e),n.updateValueAndValidity({emitEvent:!1});}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&Lk(n,e)&&n.updateValueAndValidity({emitEvent:!1});}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{});}_updateValidators(){mm(this.form,this),this._oldForm&&zl(this._oldForm,this);}_checkFormPresent(){this.form;}static{this.ɵfac=function(n){return new(n||i)(p(Nr,10),p(Gl,10),p(Zo,8));};}static{this.ɵdir=L({type:i,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&X("submit",function(s){return r.onSubmit(s);})("reset",function(){return r.onReset();});},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ve([Gk]),je,qe]});}}return i;})();var Uk={provide:ni,useExisting:it(()=>Fr)},Fr=(()=>{class i extends ni{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1;}constructor(e,n,r,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new V(),this._ngModelWarningSent=!1,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=yy(this,o);}ngOnChanges(e){this._added||this._setUpControl(),by(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model));}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this);}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e);}get path(){return py(this.name==null?this.name:this.name.toString(),this._parent);}get formDirective(){return this._parent?this._parent.formDirective:null;}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0;}static{this.ɵfac=function(n){return new(n||i)(p(ii,13),p(Nr,10),p(Gl,10),p(zi,10),p(wy,8));};}static{this.ɵdir=L({type:i,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[ve([Uk]),je,qe]});}}return i;})();var Ey=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({});}}return i;})(),lm=class extends Rr{constructor(t,e,n){super(um(e),hm(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator});}at(t){return this.controls[this._adjustIndex(t)];}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange();}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent});}removeAt(t,e={}){let n=this._adjustIndex(t);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent});}setControl(t,e,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange();}get length(){return this.controls.length;}setValue(t,e={}){fy(this,!1,t),t.forEach((n,r)=>{my(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e);}patchValue(t,e={}){t!=null&&(t.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e));}reset(t=[],e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent});}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e);}getRawValue(){return this.controls.map(t=>t.getRawValue());}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}));}_adjustIndex(t){return t<0?t+this.length:t;}_syncPendingControls(){let t=this.controls.reduce((e,n)=>n._syncPendingControls()?!0:e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t;}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n);});}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value);}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e));}_setUpControls(){this._forEachChild(t=>this._registerControl(t));}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled;}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange);}_find(t){return this.at(t)??null;}};function ey(i){return!!i&&(i.asyncValidators!==void 0||i.validators!==void 0||i.updateOn!==void 0);}var Wl=(()=>{class i{constructor(){this.useNonNullable=!1;}get nonNullable(){let e=new i();return e.useNonNullable=!0,e;}group(e,n=null){let r=this._reduceControls(e),o={};return ey(n)?o=n:n!==null&&(o.validators=n.validator,o.asyncValidators=n.asyncValidator),new Ar(r,o);}record(e,n=null){let r=this._reduceControls(e);return new am(r,n);}control(e,n,r){let o={};return this.useNonNullable?(ey(n)?o=n:(o.validators=n,o.asyncValidators=r),new Xo(e,Te($({},o),{nonNullable:!0}))):new Xo(e,n,r);}array(e,n,r){let o=e.map(s=>this._createControl(s));return new lm(o,n,r);}_reduceControls(e){let n={};return Object.keys(e).forEach(r=>{n[r]=this._createControl(e[r]);}),n;}_createControl(e){if(e instanceof Xo)return e;if(e instanceof Rr)return e;if(Array.isArray(e)){let n=e[0],r=e.length>1?e[1]:null,o=e.length>2?e[2]:null;return this.control(n,r,o);}else return this.control(e);}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();var ql=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:Zo,useValue:e.callSetDisabledState??$l}]};}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Ey]});}}return i;})(),Xl=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:wy,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Zo,useValue:e.callSetDisabledState??$l}]};}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Ey]});}}return i;})();function Vn(i){return i!=null&&`${i}`!="false";}function Jo(i,t=0){return $k(i)?Number(i):arguments.length===2?t:0;}function $k(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i));}function Pr(i){return Array.isArray(i)?i:[i];}function $e(i){return i==null?"":typeof i=="string"?i:`${i}px`;}function vt(i){return i instanceof N?i.nativeElement:i;}var gm;try{gm=typeof Intl<"u"&&Intl.v8BreakIterator;}catch{gm=!1;}var Me=(()=>{class i{constructor(e){this._platformId=e,this.isBrowser=this._platformId?ov(this._platformId):typeof document=="object"&&!!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||gm)&&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;}static{this.ɵfac=function(n){return new(n||i)(I(Pi));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();var Lr,Cy=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function _m(){if(Lr)return Lr;if(typeof document!="object"||!document)return Lr=new Set(Cy),Lr;let i=document.createElement("input");return Lr=new Set(Cy.filter(t=>(i.setAttribute("type",t),i.type===t))),Lr;}var es;function Wk(){if(es==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>es=!0}));}finally{es=es||!1;}return es;}function Ei(i){return Wk()?i:!!i.capture;}var ri=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i;}(ri||{}),Ql,Bn;function Zl(){if(Bn==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Bn=!1,Bn;if("scrollBehavior"in document.documentElement.style)Bn=!0;else{let i=Element.prototype.scrollTo;i?Bn=!/\{\s*\[native code\]\s*\}/.test(i.toString()):Bn=!1;}}return Bn;}function Vr(){if(typeof document!="object"||!document)return ri.NORMAL;if(Ql==null){let i=document.createElement("div"),t=i.style;i.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",i.appendChild(e),document.body.appendChild(i),Ql=ri.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,Ql=i.scrollLeft===0?ri.NEGATED:ri.INVERTED),i.remove();}return Ql;}var pm;function qk(){if(pm==null){let i=typeof document<"u"?document.head:null;pm=!!(i&&(i.createShadowRoot||i.attachShadow));}return pm;}function Dy(i){if(qk()){let t=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t;}return null;}function zt(i){return i.composedPath?i.composedPath()[0]:i.target;}function ts(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha;}var My=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({});}}return i;})(),xy=new Set(),jn,Xk=(()=>{class i{constructor(e,n){this._platform=e,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Qk;}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Yk(e,this._nonce),this._matchMedia(e);}static{this.ɵfac=function(n){return new(n||i)(I(Me),I(wo,8));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();function Yk(i,t){if(!xy.has(i))try{jn||(jn=document.createElement("style"),t&&jn.setAttribute("nonce",t),jn.setAttribute("type","text/css"),document.head.appendChild(jn)),jn.sheet&&(jn.sheet.insertRule(`@media ${i} {body{ }}`,0),xy.add(i));}catch(e){console.error(e);}}function Qk(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}};}var Ty=(()=>{class i{constructor(e,n){this._mediaMatcher=e,this._zone=n,this._queries=new Map(),this._destroySubject=new P();}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete();}isMatched(e){return Sy(Pr(e)).some(r=>this._registerQuery(r).mql.matches);}observe(e){let r=Sy(Pr(e)).map(s=>this._registerQuery(s).observable),o=Gc(r);return o=er(o.pipe(tr(1)),o.pipe(_n(1),Ft(0))),o.pipe(Qe(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l;}),a;}));}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),o={observable:new se(s=>{let a=l=>this._zone.run(()=>s.next(l));return n.addListener(a),()=>{n.removeListener(a);};}).pipe(qt(n),Qe(({matches:s})=>({query:e,matches:s})),Se(this._destroySubject)),mql:n};return this._queries.set(e,o),o;}static{this.ɵfac=function(n){return new(n||i)(I(Xk),I(S));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();function Sy(i){return i.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim());}function oi(i,...t){return t.length?t.some(e=>i[e]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey;}function Zk(i){if(i.type==="characterData"&&i.target instanceof Comment)return!0;if(i.type==="childList"){for(let t=0;t{class i{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e);}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})(),Kk=(()=>{class i{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map(),this._ngZone=M(S);}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n));}observe(e){let n=vt(e);return new se(r=>{let s=this._observeElement(n).pipe(Qe(a=>a.filter(l=>!Zk(l))),Ze(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{r.next(a);});});return()=>{s.unsubscribe(),this._unobserveElement(n);};});}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let n=new P(),r=this._mutationObserverFactory.create(o=>n.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:n,count:1});}return this._observedElements.get(e).stream;});}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e));}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:n,stream:r}=this._observedElements.get(e);n&&n.disconnect(),r.complete(),this._observedElements.delete(e);}}static{this.ɵfac=function(n){return new(n||i)(I(ky));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})(),bm=(()=>{class i{get disabled(){return this._disabled;}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe();}get debounce(){return this._debounce;}set debounce(e){this._debounce=Jo(e),this._subscribe();}constructor(e,n){this._contentObserver=e,this._elementRef=n,this.event=new V(),this._disabled=!1,this._currentSubscription=null;}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe();}ngOnDestroy(){this._unsubscribe();}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(Ft(this.debounce)):e).subscribe(this.event);}_unsubscribe(){this._currentSubscription?.unsubscribe();}static{this.ɵfac=function(n){return new(n||i)(p(Kk),p(N));};}static{this.ɵdir=L({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",z],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[De]});}}return i;})(),Kl=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({providers:[ky]});}}return i;})();var Ny=" ";function Fy(i,t,e){let n=Py(i,t);e=e.trim(),!n.some(r=>r.trim()===e)&&(n.push(e),i.setAttribute(t,n.join(Ny)));}function Cm(i,t,e){let n=Py(i,t);e=e.trim();let r=n.filter(o=>o!==e);r.length?i.setAttribute(t,r.join(Ny)):i.removeAttribute(t);}function Py(i,t){return i.getAttribute(t)?.match(/\S+/g)??[];}var hR=200,ym=class{constructor(t,e){this._letterKeyStream=new P(),this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new P(),this.selectedItem=this._selectedItem;let n=typeof e?.debounceInterval=="number"?e.debounceInterval:hR;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(t),this._setupKeyHandler(n);}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete();}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t;}setItems(t){this._items=t;}handleKey(t){let e=t.keyCode;t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e));}isTyping(){return this._pressedLetters.length>0;}reset(){this._pressedLetters=[];}_setupKeyHandler(t){this._letterKeyStream.pipe(Xc(e=>this._pressedLetters.push(e)),Ft(t),Ze(()=>this._pressedLetters.length>0),Qe(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;nn.disabled,this.tabOut=new P(),this.change=new P(),t instanceof Ai?this._itemChangesSubscription=t.changes.subscribe(n=>this._itemsChanged(n.toArray())):nl(t)&&(this._effectRef=dh(()=>this._itemsChanged(t()),{injector:e}));}skipPredicate(t){return this._skipPredicateFn=t,this;}withWrap(t=!0){return this._wrap=t,this;}withVerticalOrientation(t=!0){return this._vertical=t,this;}withHorizontalOrientation(t){return this._horizontal=t,this;}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this;}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new ym(e,{debounceInterval:typeof t=="number"?t:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n);}),this;}cancelTypeahead(){return this._typeahead?.reset(),this;}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this;}withPageUpDown(t=!0,e=10){return this._pageUpAndDown={enabled:t,delta:e},this;}setActiveItem(t){let e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex);}onKeydown(t){let e=t.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break;}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break;}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break;}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break;}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break;}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break;}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break;}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e));}}},ic=class extends tc{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles();}},nc=class extends tc{constructor(){super(...arguments),this._origin="program";}setFocusOrigin(t){return this._origin=t,this;}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin);}};function Dm(i){return i.buttons===0||i.detail===0;}function xm(i){let t=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1);}var mR=new w("cdk-input-modality-detector-options"),fR={ignoreKeys:[18,17,224,91,16]},Ly=650,Br=Ei({passive:!0,capture:!0}),pR=(()=>{class i{get mostRecentModality(){return this._modality.value;}constructor(e,n,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Ui(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=zt(s));},this._onMousedown=s=>{Date.now()-this._lastTouchMs{if(xm(s)){this._modality.next("keyboard");return;}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=zt(s);},this._options=$($({},fR),o),this.modalityDetected=this._modality.pipe(_n(1)),this.modalityChanged=this.modalityDetected.pipe(Wi()),e.isBrowser&&n.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Br),r.addEventListener("mousedown",this._onMousedown,Br),r.addEventListener("touchstart",this._onTouchstart,Br);});}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Br),document.removeEventListener("mousedown",this._onMousedown,Br),document.removeEventListener("touchstart",this._onTouchstart,Br));}static{this.ɵfac=function(n){return new(n||i)(I(Me),I(S),I(le),I(mR,8));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})(),gR=new w("liveAnnouncerElement",{providedIn:"root",factory:_R});function _R(){return null;}var bR=new w("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),vR=0,Vy=(()=>{class i{constructor(e,n,r,o){this._ngZone=n,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement();}announce(e,...n){let r=this._defaultOptions,o,s;return n.length===1&&typeof n[0]=="number"?s=n[0]:[o,s]=n,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0;},100),this._currentPromise));}clear(){this._liveElement&&(this._liveElement.textContent="");}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0;}_createLiveElement(){let e="cdk-live-announcer-element",n=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class i{constructor(e,n,r,o,s){this._ngZone=e,this._platform=n,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map(),this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map(),this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1);},this._stopInputModalityDetector=new P(),this._rootNodeFocusAndBlurListener=a=>{let l=zt(a);for(let c=l;c;c=c.parentElement)a.type==="focus"?this._onFocus(a,c):this._onBlur(a,c);},this._document=o,this._detectionMode=s?.detectionMode||ec.IMMEDIATE;}monitor(e,n=!1){let r=vt(e);if(!this._platform.isBrowser||r.nodeType!==1)return $i();let o=Dy(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return n&&(s.checkChildren=!0),s.subject;let a={checkChildren:n,subject:new P(),rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject;}stopMonitoring(e){let n=vt(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r));}focusVia(e,n,r){let o=vt(e),s=this._getDocument().activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,n,l)):(this._setOrigin(n),typeof o.focus=="function"&&o.focus(r));}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n));}_getDocument(){return this._document||document;}_getWindow(){return this._getDocument().defaultView||window;}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program";}_shouldBeAttributedToTouch(e){return this._detectionMode===ec.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget);}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program");}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===ec.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?Ly:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r);}});}_onFocus(e,n){let r=this._elementInfo.get(n),o=zt(e);!r||!r.checkChildren&&n!==o||this._originChanged(n,this._getFocusOrigin(o),r);}_onBlur(e,n){let r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null));}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n));}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Jl),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Jl);}),this._rootNodeFocusListenerCount.set(n,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener);}),this._inputModalityDetector.modalityDetected.pipe(Se(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0);}));}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Jl),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Jl),this._rootNodeFocusListenerCount.delete(n));}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId));}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n;}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&n.push([o,r]);}),n;}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s{class i{constructor(e,n){this._elementRef=e,this._focusMonitor=n,this._focusOrigin=null,this.cdkFocusChange=new V();}get focusOrigin(){return this._focusOrigin;}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n);});}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe();}static{this.ɵfac=function(n){return new(n||i)(p(N),p(is));};}static{this.ɵdir=L({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});}}return i;})(),Hn=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i;}(Hn||{}),Ry="cdk-high-contrast-black-on-white",Ay="cdk-high-contrast-white-on-black",vm="cdk-high-contrast-active",jy=(()=>{class i{constructor(e,n){this._platform=e,this._document=n,this._breakpointSubscription=M(Ty).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses());});}getHighContrastMode(){if(!this._platform.isBrowser)return Hn.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,r=n&&n.getComputedStyle?n.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Hn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Hn.BLACK_ON_WHITE;}return Hn.NONE;}ngOnDestroy(){this._breakpointSubscription.unsubscribe();}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(vm,Ry,Ay),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===Hn.BLACK_ON_WHITE?e.add(vm,Ry):n===Hn.WHITE_ON_BLACK&&e.add(vm,Ay);}}static{this.ɵfac=function(n){return new(n||i)(I(Me),I(le));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();var IR=new w("cdk-dir-doc",{providedIn:"root",factory:wR});function wR(){return M(le);}var ER=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function CR(i){let t=i?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?ER.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr";}var Tt=(()=>{class i{constructor(e){if(this.value="ltr",this.change=new V(),e){let n=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=CR(n||r||"ltr");}}ngOnDestroy(){this.change.complete();}static{this.ɵfac=function(n){return new(n||i)(I(IR,8));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();var cn=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({});}}return i;})();var DR=["text"],xR=[[["mat-icon"]],"*"],SR=["mat-icon","*"];function MR(i,t){if(i&1&&ee(0,"mat-pseudo-checkbox",1),i&2){let e=F();y("disabled",e.disabled)("state",e.selected?"checked":"unchecked");}}function TR(i,t){if(i&1&&ee(0,"mat-pseudo-checkbox",3),i&2){let e=F();y("disabled",e.disabled);}}function kR(i,t){if(i&1&&(g(0,"span",4),we(1),_()),i&2){let e=F();v(),dt("(",e.group.label,")");}}var RR=["mat-internal-form-field",""],AR=["*"];function OR(){return!0;}var NR=new w("mat-sanity-checks",{providedIn:"root",factory:OR}),Y=(()=>{class i{constructor(e,n,r){this._sanityChecks=n,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0);}_checkIsEnabled(e){return ts()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e];}static{this.ɵfac=function(n){return new(n||i)(I(jy),I(NR,8),I(le));};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[cn,cn]});}}return i;})();var jr=class{constructor(t,e,n,r,o){this._defaultMatcher=t,this.ngControl=e,this._parentFormGroup=n,this._parentForm=r,this._stateChanges=o,this.errorState=!1;}updateErrorState(){let t=this.errorState,e=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=n?.isErrorState(r,e)??!1;o!==t&&(this.errorState=o,this._stateChanges.next());}};var lc=(()=>{class i{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted));}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();var km=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y,Y]});}}return i;})(),kt=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i;}(kt||{}),Sm=class{constructor(t,e,n,r=!1){this._renderer=t,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=kt.HIDDEN;}fadeOut(){this._renderer.fadeOutRipple(this);}},Hy=Ei({passive:!0,capture:!0}),Mm=class{constructor(){this._events=new Map(),this._delegateEventHandler=t=>{let e=zt(t);e&&this._events.get(t.type)?.forEach((n,r)=>{(r===e||r.contains(e))&&n.forEach(o=>o.handleEvent(t));});};}addHandler(t,e,n,r){let o=this._events.get(e);if(o){let s=o.get(n);s?s.add(r):o.set(n,new Set([r]));}else this._events.set(e,new Map([[n,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Hy);});}removeHandler(t,e,n){let r=this._events.get(t);if(!r)return;let o=r.get(e);o&&(o.delete(n),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,Hy)));}},zy={enterDuration:225,exitDuration:150},FR=800,Gy=Ei({passive:!0,capture:!0}),Uy=["mousedown","touchstart"],$y=["mouseup","mouseleave","touchend","touchcancel"],ac=class i{static{this._eventManager=new Mm();}constructor(t,e,n,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map(),this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=vt(n));}fadeInRipple(t,e,n={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=$($({},zy),n.animation);n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);let s=n.radius||PR(t,e,r),a=t-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,n.color!=null&&(d.style.backgroundColor=n.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),m=u.transitionProperty,h=u.transitionDuration,f=m==="none"||h==="0s"||h==="0s, 0s"||r.width===0&&r.height===0,b=new Sm(this,d,n,f);d.style.transform="scale3d(1, 1, 1)",b.state=kt.FADING_IN,n.persistent||(this._mostRecentTransientRipple=b);let E=null;return!f&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let C=()=>{E&&(E.fallbackTimer=null),clearTimeout(ue),this._finishRippleTransition(b);},B=()=>this._destroyRipple(b),ue=setTimeout(B,c+100);d.addEventListener("transitionend",C),d.addEventListener("transitioncancel",B),E={onTransitionEnd:C,onTransitionCancel:B,fallbackTimer:ue};}),this._activeRipples.set(b,E),(f||!c)&&this._finishRippleTransition(b),b;}fadeOutRipple(t){if(t.state===kt.FADING_OUT||t.state===kt.HIDDEN)return;let e=t.element,n=$($({},zy),t.config.animation);e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",t.state=kt.FADING_OUT,(t._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(t);}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut());}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut();});}setupTriggerEvents(t){let e=vt(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Uy.forEach(n=>{i._eventManager.addHandler(this._ngZone,n,e,this);}));}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{$y.forEach(e=>{this._triggerElement.addEventListener(e,this,Gy);});}),this._pointerUpEventsRegistered=!0);}_finishRippleTransition(t){t.state===kt.FADING_IN?this._startFadeOutTransition(t):t.state===kt.FADING_OUT&&this._destroyRipple(t);}_startFadeOutTransition(t){let e=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=kt.VISIBLE,!n&&(!e||!this._isPointerDown)&&t.fadeOut();}_destroyRipple(t){let e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=kt.HIDDEN,e!==null&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),t.element.remove();}_onMousedown(t){let e=Dm(t),n=this._lastTouchStartEvent&&Date.now(){let e=t.state===kt.VISIBLE||t.config.terminateOnPointerUp&&t.state===kt.FADING_IN;!t.config.persistent&&e&&t.fadeOut();}));}_getActiveRipples(){return Array.from(this._activeRipples.keys());}_removeTriggerEvents(){let t=this._triggerElement;t&&(Uy.forEach(e=>i._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&($y.forEach(e=>t.removeEventListener(e,this,Gy)),this._pointerUpEventsRegistered=!1));}};function PR(i,t,e){let n=Math.max(Math.abs(i-e.left),Math.abs(i-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(n*n+r*r);}var cc=new w("mat-ripple-global-options"),Rt=(()=>{class i{get disabled(){return this._disabled;}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled();}get trigger(){return this._trigger||this._elementRef.nativeElement;}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled();}constructor(e,n,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new ac(this,n,e,r);}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled();}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents();}fadeOutAll(){this._rippleRenderer.fadeOutAll();}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent();}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:$($($({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp};}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled;}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger);}launch(e,n=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,n,$($({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,$($({},this.rippleConfig),e));}static{this.ɵfac=function(n){return new(n||i)(p(N),p(S),p(Me),p(cc,8),p(Ke,8));};}static{this.ɵdir=L({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,r){n&2&&K("mat-ripple-unbounded",r.unbounded);},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});}}return i;})(),At=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y,Y]});}}return i;})(),Rm=(()=>{class i{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full";}static{this.ɵfac=function(n){return new(n||i)(p(Ke,8));};}static{this.ɵcmp=fe({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,r){n&2&&K("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations");},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Ee],decls:0,vars:0,template:function(n,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});}}return i;})(),Am=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y]});}}return i;})(),Om=new w("MAT_OPTION_PARENT_COMPONENT");var Nm=new w("MatOptgroup");var LR=0,Tm=class{constructor(t,e=!1){this.source=t,this.isUserInput=e;}},zn=(()=>{class i{get multiple(){return this._parent&&this._parent.multiple;}get selected(){return this._selected;}get disabled(){return this.group&&this.group.disabled||this._disabled;}set disabled(e){this._disabled=e;}get disableRipple(){return!!(this._parent&&this._parent.disableRipple);}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator);}constructor(e,n,r,o){this._element=e,this._changeDetectorRef=n,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${LR++}`,this.onSelectionChange=new V(),this._stateChanges=new P();}get active(){return this._active;}get viewValue(){return(this._text?.nativeElement.textContent||"").trim();}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent());}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent());}focus(e,n){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(n);}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck());}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck());}getLabel(){return this.viewValue;}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!oi(e)&&(this._selectViaInteraction(),e.preventDefault());}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0));}_getTabIndex(){return this.disabled?"-1":"0";}_getHostElement(){return this._element.nativeElement;}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e);}}ngOnDestroy(){this._stateChanges.complete();}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Tm(this,e));}static{this.ɵfac=function(n){return new(n||i)(p(N),p(Re),p(Om,8),p(Nm,8));};}static{this.ɵcmp=fe({type:i,selectors:[["mat-option"]],viewQuery:function(n,r){if(n&1&&q(DR,7),n&2){let o;A(o=O())&&(r._text=o.first);}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,r){n&1&&X("click",function(){return r._selectViaInteraction();})("keydown",function(s){return r._handleKeydown(s);}),n&2&&(Vi("id",r.id),ge("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),K("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled));},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",z]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[De,Ee],ngContentSelectors:SR,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,r){n&1&&(ke(xR),H(0,MR,1,2,"mat-pseudo-checkbox",1),ae(1),g(2,"span",2,0),ae(4,1),_(),H(5,TR,1,1,"mat-pseudo-checkbox",3)(6,kR,2,1,"span",4),ee(7,"div",5)),n&2&&(xe(r.multiple?0:-1),v(5),xe(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),v(),xe(r.group&&r.group._inert?6:-1),v(),y("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple));},dependencies:[Rm,Rt],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});}}return i;})();function Wy(i,t,e){if(e.length){let n=t.toArray(),r=e.toArray(),o=0;for(let s=0;se+n?Math.max(0,i-n+t):e;}var Fm=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[At,Y,Am]});}}return i;})();var dc=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵcmp=fe({type:i,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(n,r){n&2&&K("mdc-form-field--align-end",r.labelPosition==="before");},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[Ee],attrs:RR,ngContentSelectors:AR,decls:1,vars:0,template:function(n,r){n&1&&(ke(),ae(0));},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0});}}return i;})();var Xy=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y,At,Y]});}}return i;})();var VR=["*"];var BR=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],jR=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, + [mat-card-title], [mat-card-subtitle], + [matCardTitle], [matCardSubtitle]`,"*"],HR=new w("MAT_CARD_CONFIG"),Yy=(()=>{class i{constructor(e){this.appearance=e?.appearance||"raised";}static{this.ɵfac=function(n){return new(n||i)(p(HR,8));};}static{this.ɵcmp=fe({type:i,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,r){n&2&&K("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined");},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[Ee],ngContentSelectors:VR,decls:1,vars:0,template:function(n,r){n&1&&(ke(),ae(0));},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-app-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));border-width:var(--mdc-outlined-card-outline-width);border-color:var(--mdc-outlined-card-outline-color, var(--mat-app-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-app-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-app-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-app-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-app-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-app-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-app-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-app-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-app-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-app-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-app-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-app-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-app-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0});}}return i;})(),Qy=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵdir=L({type:i,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0});}}return i;})();var Zy=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵdir=L({type:i,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0});}}return i;})();var Ky=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵcmp=fe({type:i,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[Ee],ngContentSelectors:jR,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(n,r){n&1&&(ke(BR),ae(0),g(1,"div",0),ae(2,1),_(),ae(3,2));},encapsulation:2,changeDetection:0});}}return i;})();var Jy=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y,et,Y]});}}return i;})();var Pm=class{constructor(t){this._box=t,this._destroyed=new P(),this._resizeSubject=new P(),this._elementObservables=new Map(),typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)));}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new se(e=>{let n=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),n.unsubscribe(),this._elementObservables.delete(t);};}).pipe(Ze(e=>e.some(n=>n.target===t)),Ys({bufferSize:1,refCount:!0}),Se(this._destroyed))),this._elementObservables.get(t);}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear();}},hc=(()=>{class i{constructor(){this._observers=new Map(),this._ngZone=M(S),typeof ResizeObserver<"u";}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u";}observe(e,n){let r=n?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new Pm(r)),this._observers.get(r).observe(e);}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();var GR=["notch"],UR=["matFormFieldNotchedOutline",""],$R=["*"],WR=["textField"],qR=["iconPrefixContainer"],XR=["textPrefixContainer"],YR=["iconSuffixContainer"],QR=["textSuffixContainer"],ZR=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],KR=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function JR(i,t){i&1&&ee(0,"span",21);}function eA(i,t){if(i&1&&(g(0,"label",20),ae(1,1),H(2,JR,1,0,"span",21),_()),i&2){let e=F(2);y("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ge("for",e._control.disableAutomaticLabeling?null:e._control.id),v(2),xe(!e.hideRequiredMarker&&e._control.required?2:-1);}}function tA(i,t){if(i&1&&H(0,eA,3,5,"label",20),i&2){let e=F();xe(e._hasFloatingLabel()?0:-1);}}function iA(i,t){i&1&&ee(0,"div",7);}function nA(i,t){}function rA(i,t){if(i&1&&H(0,nA,0,0,"ng-template",13),i&2){F(2);let e=Ct(1);y("ngTemplateOutlet",e);}}function oA(i,t){if(i&1&&(g(0,"div",9),H(1,rA,1,1,null,13),_()),i&2){let e=F();y("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),v(),xe(e._forceDisplayInfixLabel()?-1:1);}}function sA(i,t){i&1&&(g(0,"div",10,2),ae(2,2),_());}function aA(i,t){i&1&&(g(0,"div",11,3),ae(2,3),_());}function lA(i,t){}function cA(i,t){if(i&1&&H(0,lA,0,0,"ng-template",13),i&2){F();let e=Ct(1);y("ngTemplateOutlet",e);}}function dA(i,t){i&1&&(g(0,"div",14,4),ae(2,4),_());}function uA(i,t){i&1&&(g(0,"div",15,5),ae(2,5),_());}function hA(i,t){i&1&&ee(0,"div",16);}function mA(i,t){if(i&1&&(g(0,"div",18),ae(1,6),_()),i&2){let e=F();y("@transitionMessages",e._subscriptAnimationState);}}function fA(i,t){if(i&1&&(g(0,"mat-hint",22),we(1),_()),i&2){let e=F(2);y("id",e._hintLabelId),v(),ct(e.hintLabel);}}function pA(i,t){if(i&1&&(g(0,"div",19),H(1,fA,2,2,"mat-hint",22),ae(2,7),ee(3,"div",23),ae(4,8),_()),i&2){let e=F();y("@transitionMessages",e._subscriptAnimationState),v(),xe(e.hintLabel?1:-1);}}var Gn=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵdir=L({type:i,selectors:[["mat-label"]],standalone:!0});}}return i;})();var gA=new w("MatError");var _A=0,e0=(()=>{class i{constructor(){this.align="start",this.id=`mat-mdc-hint-${_A++}`;}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵdir=L({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,r){n&2&&(Vi("id",r.id),ge("align",null),K("mat-mdc-form-field-hint-end",r.align==="end"));},inputs:{align:"align",id:"id"},standalone:!0});}}return i;})(),bA=new w("MatPrefix");var vA=new w("MatSuffix");var l0=new w("FloatingLabelParent"),t0=(()=>{class i{get floating(){return this._floating;}set floating(e){this._floating=e,this.monitorResize&&this._handleResize();}get monitorResize(){return this._monitorResize;}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe();}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=M(hc),this._ngZone=M(S),this._parent=M(l0),this._resizeSubscription=new pe();}ngOnDestroy(){this._resizeSubscription.unsubscribe();}getWidth(){return yA(this._elementRef.nativeElement);}get element(){return this._elementRef.nativeElement;}_handleResize(){setTimeout(()=>this._parent._handleLabelResized());}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize());});}static{this.ɵfac=function(n){return new(n||i)(p(N));};}static{this.ɵdir=L({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,r){n&2&&K("mdc-floating-label--float-above",r.floating);},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});}}return i;})();function yA(i){let t=i;if(t.offsetParent!==null)return t.scrollWidth;let e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let n=e.scrollWidth;return e.remove(),n;}var i0="mdc-line-ripple--active",mc="mdc-line-ripple--deactivating",n0=(()=>{class i{constructor(e,n){this._elementRef=e,this._handleTransitionEnd=r=>{let o=this._elementRef.nativeElement.classList,s=o.contains(mc);r.propertyName==="opacity"&&s&&o.remove(i0,mc);},n.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd);});}activate(){let e=this._elementRef.nativeElement.classList;e.remove(mc),e.add(i0);}deactivate(){this._elementRef.nativeElement.classList.add(mc);}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd);}static{this.ɵfac=function(n){return new(n||i)(p(N),p(S));};}static{this.ɵdir=L({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});}}return i;})(),r0=(()=>{class i{constructor(e,n){this._elementRef=e,this._ngZone=n,this.open=!1;}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="");}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label");}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`;}static{this.ɵfac=function(n){return new(n||i)(p(N),p(S));};}static{this.ɵcmp=fe({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,r){if(n&1&&q(GR,5),n&2){let o;A(o=O())&&(r._notch=o.first);}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,r){n&2&&K("mdc-notched-outline--notched",r.open);},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Ee],attrs:UR,ngContentSelectors:$R,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(n,r){n&1&&(ke(),ee(0,"div",1),g(1,"div",2,0),ae(3),_(),ee(4,"div",3));},encapsulation:2,changeDetection:0});}}return i;})(),IA={transitionMessages:yi("transitionMessages",[ei("enter",ze({opacity:1,transform:"translateY(0%)"})),bt("void => enter",[ze({opacity:0,transform:"translateY(-5px)"}),xt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},rs=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵdir=L({type:i});}}return i;})();var os=new w("MatFormField"),Lm=new w("MAT_FORM_FIELD_DEFAULT_OPTIONS"),o0=0,s0="fill",wA="auto",a0="fixed",EA="translateY(-50%)",ss=(()=>{class i{get hideRequiredMarker(){return this._hideRequiredMarker;}set hideRequiredMarker(e){this._hideRequiredMarker=Vn(e);}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||wA;}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck());}get appearance(){return this._appearance;}set appearance(e){let n=this._appearance,r=e||this._defaults?.appearance||s0;this._appearance=r,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdate=!0);}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||a0;}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||a0;}get hintLabel(){return this._hintLabel;}set hintLabel(e){this._hintLabel=e,this._processHints();}get _control(){return this._explicitFormFieldControl||this._formFieldControl;}set _control(e){this._explicitFormFieldControl=e;}constructor(e,n,r,o,s,a,l,c){this._elementRef=e,this._changeDetectorRef=n,this._dir=o,this._platform=s,this._defaults=a,this._animationMode=l,this._labelChild=db(Gn),this._hideRequiredMarker=!1,this.color="primary",this._appearance=s0,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${o0++}`,this._hintLabelId=`mat-mdc-hint-${o0++}`,this._subscriptAnimationState="",this._destroyed=new P(),this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=M(Le),this.getLabelId=ji(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=ji(()=>!!this._labelChild()),a&&(a.appearance&&(this.appearance=a.appearance),this._hideRequiredMarker=!!a?.hideRequiredMarker,a.color&&(this.color=a.color));}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges();}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions();}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control);}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete();}getConnectedOverlayOrigin(){return this._textField||this._elementRef;}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always");}_initializeControl(e){let n=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),n.controlType&&this._elementRef.nativeElement.classList.add(r+n.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=n.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck();}),this._valueChanges?.unsubscribe(),n.ngControl&&n.ngControl.valueChanges&&(this._valueChanges=n.ngControl.valueChanges.pipe(Se(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()));}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText);}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),wt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck();});}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck();}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck();}),this._validateHints(),this._syncDescribedByIds();}_assertFormFieldControl(){this._control;}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused);}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),So(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset());},{injector:this._injector}),this._dir.change.pipe(Se(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0);}_shouldAlwaysFloat(){return this.floatLabel==="always";}_hasOutline(){return this.appearance==="outline";}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat();}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1;}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e];}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint";}_handleLabelResized(){this._refreshOutlineNotchWidth();}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth());}_processHints(){this._validateHints(),this._syncDescribedByIds();}_validateHints(){this._hintChildren;}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id);}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e);}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return;}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return;}let n=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,s=this._textSuffixContainer?.nativeElement,a=n?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=s?.getBoundingClientRect().width??0,u=this._dir.value==="rtl"?"-1":"1",m=`${a+l}px`,f=`calc(${u} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( + --mat-mdc-form-field-label-transform, + ${EA} translateX(${f}) + )`;let b=a+l+c+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${b}px)`);}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let n=e.getRootNode();return n&&n!==e;}return document.documentElement.contains(e);}static{this.ɵfac=function(n){return new(n||i)(p(N),p(Re),p(S),p(Tt),p(Me),p(Lm,8),p(Ke,8),p(le));};}static{this.ɵcmp=fe({type:i,selectors:[["mat-form-field"]],contentQueries:function(n,r,o){if(n&1&&(Ob(o,r._labelChild,Gn,5),He(o,rs,5),He(o,bA,5),He(o,vA,5),He(o,gA,5),He(o,e0,5)),n&2){Nb();let s;A(s=O())&&(r._formFieldControl=s.first),A(s=O())&&(r._prefixChildren=s),A(s=O())&&(r._suffixChildren=s),A(s=O())&&(r._errorChildren=s),A(s=O())&&(r._hintChildren=s);}},viewQuery:function(n,r){if(n&1&&(q(WR,5),q(qR,5),q(XR,5),q(YR,5),q(QR,5),q(t0,5),q(r0,5),q(n0,5)),n&2){let o;A(o=O())&&(r._textField=o.first),A(o=O())&&(r._iconPrefixContainer=o.first),A(o=O())&&(r._textPrefixContainer=o.first),A(o=O())&&(r._iconSuffixContainer=o.first),A(o=O())&&(r._textSuffixContainer=o.first),A(o=O())&&(r._floatingLabel=o.first),A(o=O())&&(r._notchedOutline=o.first),A(o=O())&&(r._lineRipple=o.first);}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,r){n&2&&K("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"));},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[ve([{provide:os,useExisting:i},{provide:l0,useExisting:i}]),Ee],ngContentSelectors:KR,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,r){if(n&1){let o=Ne();ke(ZR),H(0,tA,1,1,"ng-template",null,0,oh),g(2,"div",6,1),X("click",function(a){return Q(o),Z(r._control.onContainerClick(a));}),H(4,iA,1,0,"div",7),g(5,"div",8),H(6,oA,2,2,"div",9)(7,sA,3,0,"div",10)(8,aA,3,0,"div",11),g(9,"div",12),H(10,cA,1,1,null,13),ae(11),_(),H(12,dA,3,0,"div",14)(13,uA,3,0,"div",15),_(),H(14,hA,1,0,"div",16),_(),g(15,"div",17),H(16,mA,2,1,"div",18)(17,pA,5,2,"div",19),_();}if(n&2){let o;v(2),K("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),v(2),xe(!r._hasOutline()&&!r._control.disabled?4:-1),v(2),xe(r._hasOutline()?6:-1),v(),xe(r._hasIconPrefix?7:-1),v(),xe(r._hasTextPrefix?8:-1),v(2),xe(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),v(2),xe(r._hasTextSuffix?12:-1),v(),xe(r._hasIconSuffix?13:-1),v(),xe(r._hasOutline()?-1:14),v(),K("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),v(),xe((o=r._getDisplayedMessages())==="error"?16:o==="hint"?17:-1);}},dependencies:[t0,r0,vh,n0,e0],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[IA.transitionMessages]},changeDetection:0});}}return i;})(),as=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y,et,Kl,Y]});}}return i;})();var d0=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[km,Y,km,Y]});}}return i;})();var u0=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y,Y]});}}return i;})();var ls=class{attach(t){return this._attachedHost=t,t.attach(this);}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach());}get isAttached(){return this._attachedHost!=null;}setAttachedHost(t){this._attachedHost=t;}},Vm=class extends ls{constructor(t,e,n,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=o;}},dn=class extends ls{constructor(t,e,n,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n,this.injector=r;}get origin(){return this.templateRef.elementRef;}attach(t,e=this.context){return this.context=e,super.attach(t);}detach(){return this.context=void 0,super.detach();}},Bm=class extends ls{constructor(t){super(),this.element=t instanceof N?t.nativeElement:t;}},fc=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null;}hasAttached(){return!!this._attachedPortal;}attach(t){if(t instanceof Vm)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof dn)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof Bm)return this._attachedPortal=t,this.attachDomPortal(t);}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn();}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0;}setDisposeFn(t){this._disposeFn=t;}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null);}};var pc=class extends fc{constructor(t,e,n,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l);});},this._document=o;}attachComponentPortal(t){let n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(n,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(t.injector||this._defaultInjector||Le.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy();})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r;}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(n);r!==-1&&e.remove(r);}),this._attachedPortal=t,n;}dispose(){super.dispose(),this.outletElement.remove();}_getComponentRootNode(t){return t.hostView.rootNodes[0];}};var h0=(()=>{class i extends dn{constructor(e,n){super(e,n);}static{this.ɵfac=function(n){return new(n||i)(p(We),p(Je));};}static{this.ɵdir=L({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[je]});}}return i;})();var gc=(()=>{class i extends fc{constructor(e,n,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=n,this._isInitialized=!1,this.attached=new V(),this.attachDomPortal=o=>{this._document;let s=o.element;s.parentNode;let a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a);});},this._document=r;}get portal(){return this._attachedPortal;}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null);}get attachedRef(){return this._attachedRef;}ngOnInit(){this._isInitialized=!0;}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null;}attachComponentPortal(e){e.setAttachedHost(this);let n=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=n.createComponent(o,n.length,e.injector||n.injector,e.projectableNodes||void 0);return n!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s;}attachTemplatePortal(e){e.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n;}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode;}static{this.ɵfac=function(n){return new(n||i)(p(Et),p(Je),p(le));};}static{this.ɵdir=L({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[je]});}}return i;})();var m0=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({});}}return i;})();var _c=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected;}constructor(t=!1,e,n=!0,r){this._multiple=t,this._emitChanges=n,this.compareWith=r,this._selection=new Set(),this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new P(),e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0);}select(...t){this._verifyValueAssignment(t),t.forEach(n=>this._markSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e;}deselect(...t){this._verifyValueAssignment(t),t.forEach(n=>this._unmarkSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e;}setSelection(...t){this._verifyValueAssignment(t);let e=this.selected,n=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!n.has(this._getConcreteValue(o,n))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r;}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t);}clear(t=!0){this._unmarkAll();let e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e;}isSelected(t){return this._selection.has(this._getConcreteValue(t));}isEmpty(){return this._selection.size===0;}hasValue(){return!this.isEmpty();}sort(t){this._multiple&&this.selected&&this._selected.sort(t);}isMultipleSelection(){return this._multiple;}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[]);}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t));}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t));}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t));}_verifyValueAssignment(t){t.length>1&&this._multiple;}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length);}_getConcreteValue(t,e){if(this.compareWith){e=e??this._selection;for(let n of e)if(this.compareWith(t,n))return n;return t;}else return t;}};var f0=(()=>{class i{constructor(){this._listeners=[];}notify(e,n){for(let r of this._listeners)r(e,n);}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(n=>e!==n);};}ngOnDestroy(){this._listeners=[];}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();var DA=20,jm=(()=>{class i{constructor(e,n,r){this._ngZone=e,this._platform=n,this._scrolled=new P(),this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map(),this._document=r;}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)));}deregister(e){let n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e));}scrolled(e=DA){return this._platform.isBrowser?new se(n=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(Xs(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener();};}):$i();}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete();}ancestorScrolled(e,n){let r=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(Ze(o=>!o||r.indexOf(o)>-1));}getAncestorScrollContainers(e){let n=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&n.push(o);}),n;}_getWindow(){return this._document.defaultView||window;}_scrollableContainsElement(e,n){let r=vt(n),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1;}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Wt(e.document,"scroll").subscribe(()=>this._scrolled.next());});}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null);}static{this.ɵfac=function(n){return new(n||i)(I(S),I(Me),I(le,8));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})(),p0=(()=>{class i{constructor(e,n,r,o){this.elementRef=e,this.scrollDispatcher=n,this.ngZone=r,this.dir=o,this._destroyed=new P(),this._elementScrolled=new se(s=>this.ngZone.runOutsideAngular(()=>Wt(this.elementRef.nativeElement,"scroll").pipe(Se(this._destroyed)).subscribe(s)));}ngOnInit(){this.scrollDispatcher.register(this);}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete();}elementScrolled(){return this._elementScrolled;}getElementRef(){return this.elementRef;}scrollTo(e){let n=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),r&&Vr()!=ri.NORMAL?(e.left!=null&&(e.right=n.scrollWidth-n.clientWidth-e.left),Vr()==ri.INVERTED?e.left=e.right:Vr()==ri.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e);}_applyScrollToOptions(e){let n=this.elementRef.nativeElement;Zl()?n.scrollTo(e):(e.top!=null&&(n.scrollTop=e.top),e.left!=null&&(n.scrollLeft=e.left));}measureScrollOffset(e){let n="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?r:n:e=="end"&&(e=s?n:r),s&&Vr()==ri.INVERTED?e==n?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&Vr()==ri.NEGATED?e==n?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==n?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft;}static{this.ɵfac=function(n){return new(n||i)(p(N),p(jm),p(S),p(Tt,8));};}static{this.ɵdir=L({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});}}return i;})(),xA=20,un=(()=>{class i{constructor(e,n,r){this._platform=e,this._change=new P(),this._changeListener=o=>{this._change.next(o);},this._document=r,n.runOutsideAngular(()=>{if(e.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener);}this.change().subscribe(()=>this._viewportSize=null);});}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener);}this._change.complete();}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e;}getViewportRect(){let e=this.getViewportScrollPosition(),{width:n,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n};}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,n=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body.scrollTop||n.scrollY||r.scrollTop||0,a=-o.left||e.body.scrollLeft||n.scrollX||r.scrollLeft||0;return{top:s,left:a};}change(e=xA){return e>0?this._change.pipe(Xs(e)):this._change;}_getWindow(){return this._document.defaultView||window;}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0};}static{this.ɵfac=function(n){return new(n||i)(I(Me),I(S),I(le,8));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();var Gr=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({});}}return i;})(),Hm=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[cn,Gr,cn,Gr]});}}return i;})();var g0=Zl(),Gm=class{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e;}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=$e(-this._previousScrollPosition.left),t.style.top=$e(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0;}}disable(){if(this._isEnabled){let t=this._document.documentElement,e=this._document.body,n=t.style,r=e.style,o=n.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),g0&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),g0&&(n.scrollBehavior=o,r.scrollBehavior=s);}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width;}};var Um=class{constructor(t,e,n,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach());};}attach(t){this._overlayRef,this._overlayRef=t;}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(Ze(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition();})):this._scrollSubscription=t.subscribe(this._detach);}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null);}detach(){this.disable(),this._overlayRef=null;}},bc=class{enable(){}disable(){}attach(){}};function $m(i,t){return t.some(e=>{let n=i.bottome.bottom,o=i.righte.right;return n||r||o||s;});}function _0(i,t){return t.some(e=>{let n=i.tope.bottom,o=i.lefte.right;return n||r||o||s;});}var Wm=class{constructor(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null;}attach(t){this._overlayRef,this._overlayRef=t;}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();$m(e,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()));}});}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null);}detach(){this.disable(),this._overlayRef=null;}},MA=(()=>{class i{constructor(e,n,r,o){this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=r,this.noop=()=>new bc(),this.close=s=>new Um(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Gm(this._viewportRuler,this._document),this.reposition=s=>new Wm(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o;}static{this.ɵfac=function(n){return new(n||i)(I(jm),I(un),I(S),I(le));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})(),cs=class{constructor(t){if(this.scrollStrategy=new bc(),this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let e=Object.keys(t);for(let n of e)t[n]!==void 0&&(this[n]=t[n]);}}};var qm=class{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e;}};var E0=(()=>{class i{constructor(e){this._attachedOverlays=[],this._document=e;}ngOnDestroy(){this.detach();}add(e){this.remove(e),this._attachedOverlays.push(e);}remove(e){let n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach();}static{this.ɵfac=function(n){return new(n||i)(I(le));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})(),TA=(()=>{class i extends E0{constructor(e,n){super(e),this._ngZone=n,this._keydownListener=r=>{let o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){let a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);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);}static{this.ɵfac=function(n){return new(n||i)(I(le),I(S,8));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})(),kA=(()=>{class i extends E0{constructor(e,n,r){super(e),this._platform=n,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=zt(o);},this._clickListener=o=>{let s=zt(o),a=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){let d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(b0(d.overlayElement,s)||b0(d.overlayElement,a))break;let u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o);}};}add(e){if(super.add(e),!this._isAttached){let n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0;}}detach(){if(this._isAttached){let 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);}static{this.ɵfac=function(n){return new(n||i)(I(le),I(Me),I(S,8));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();function b0(i,t){let e=typeof ShadowRoot<"u"&&ShadowRoot,n=t;for(;n;){if(n===i)return!0;n=e&&n instanceof ShadowRoot?n.host:n.parentNode;}return!1;}var C0=(()=>{class i{constructor(e,n){this._platform=n,this._document=e;}ngOnDestroy(){this._containerElement?.remove();}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement;}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||ts()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target);},this._keydownEvents=new P(),this._outsidePointerEvents=new P(),this._renders=new P(),r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=jt(()=>So(()=>{this._renders.next();},{injector:this._injector}));}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);let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Li(()=>{this.hasAttached()&&this.updatePosition();},{injector:this._injector}),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),typeof e?.onDestroy=="function"&&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();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t;}dispose(){let 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._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.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=Te($({},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(){let t=this._config.direction;return t?typeof t=="string"?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;let t=this._pane.style;t.width=$e(this._config.width),t.height=$e(this._config.height),t.minWidth=$e(this._config.minWidth),t.minHeight=$e(this._config.minHeight),t.maxWidth=$e(this._config.maxWidth),t.maxHeight=$e(this._config.maxHeight);}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none";}_attachBackdrop(){let 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(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return;}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,n){let r=Pr(e||[]).filter(o=>!!o);r.length&&(n?t.classList.add(...r):t.classList.remove(...r));}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let t=this._renders.pipe(Se(wt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(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(){let 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);}},v0="cdk-overlay-connected-position-bounding-box",RA=/([A-Za-z%]+)$/,Ym=class{get positions(){return this._preferredPositions;}constructor(t,e,n,r,o){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new P(),this._resizeSubscription=pe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t);}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(v0),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){this.reapplyLastPosition();return;}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();let t=this._originRect,e=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,n,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return;}if(this._canFitWithFlexibleDimensions(d,c,n)){o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue;}(!s||s.overlayFit.visibleAreal&&(l=d,a=c);}this._isPushed=!1,this._applyPosition(a.position,a.origin);return;}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return;}this._applyPosition(s.position,s.originPoint);}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe();}dispose(){this._isDisposed||(this._boundingBox&&Un(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(v0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0);}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let 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,t.indexOf(this._lastPosition)===-1&&(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,n){let r;if(n.originX=="center")r=t.left+t.width/2;else{let s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r=n.originX=="start"?s:a;}e.left<0&&(r-=e.left);let o;return n.originY=="center"?o=t.top+t.height/2:o=n.originY=="top"?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o};}_getOverlayPoint(t,e,n){let r;n.overlayX=="center"?r=-e.width/2:n.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return n.overlayY=="center"?o=-e.height/2:o=n.overlayY=="top"?0:-e.height,{x:t.x+r,y:t.y+o};}_getOverlayFit(t,e,n,r){let o=I0(e),{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-n.width,m=0-a,h=a+o.height-n.height,f=this._subtractOverflows(o.width,d,u),b=this._subtractOverflows(o.height,m,h),E=f*b;return{visibleArea:E,isCompletelyWithinViewport:o.width*o.height===E,fitsInViewportVertically:b===o.height,fitsInViewportHorizontally:f==o.width};}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){let r=n.bottom-e.y,o=n.right-e.x,s=y0(this._overlayRef.getConfig().minHeight),a=y0(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportVertically||s!=null&&s<=r,c=t.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c;}return!1;}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let r=I0(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-n.top-t.y,0),c=Math.max(o.left-n.left-t.x,0),d=0,u=0;return r.width<=o.width?d=c||-s:d=t.xf&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-f/2);}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,u,m;if(c)m=n.width-t.x+this._viewportMargin*2,d=t.x-this._viewportMargin;else if(l)u=t.x,d=n.right-t.x;else{let h=Math.min(n.right-t.x+n.left,t.x),f=this._lastBoundingBoxSize.width;d=h*2,u=t.x-h,d>f&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-f/2);}return{top:s,left:u,bottom:a,right:m,width:d,height:o};}_setBoundingBoxStyles(t,e){let n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=$e(n.height),r.top=$e(n.top),r.bottom=$e(n.bottom),r.width=$e(n.width),r.left=$e(n.left),r.right=$e(n.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=$e(o)),s&&(r.maxWidth=$e(s));}this._lastBoundingBoxSize=n,Un(this._boundingBox.style,r);}_resetBoundingBoxStyles(){Un(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""});}_resetOverlayElementStyles(){Un(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""});}_setOverlayElementStyles(t,e){let n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Un(n,this._getExactOverlayY(e,t,d)),Un(n,this._getExactOverlayX(e,t,d));}else n.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),s.maxHeight&&(r?n.maxHeight=$e(s.maxHeight):o&&(n.maxHeight="")),s.maxWidth&&(r?n.maxWidth=$e(s.maxWidth):o&&(n.maxWidth="")),Un(this._pane.style,n);}_getExactOverlayY(t,e,n){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),t.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`;}else r.top=$e(o.y);return r;}_getExactOverlayX(t,e,n){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let s;if(this._isRtl()?s=t.overlayX==="end"?"left":"right":s=t.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`;}else r.left=$e(o.x);return r;}_getScrollVisibility(){let t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:_0(t,n),isOriginOutsideView:$m(t,n),isOverlayClipped:_0(e,n),isOverlayOutsideView:$m(e,n)};}_subtractOverflows(t,...e){return e.reduce((n,r)=>n-Math.max(r,0),t);}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin};}_isRtl(){return this._overlayRef.getDirection()==="rtl";}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed;}_getOffset(t,e){return e==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY;}_validatePositions(){}_addPanelClasses(t){this._pane&&Pr(t).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e));});}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t);}),this._appliedPanelClasses=[]);}_getOriginRect(){let t=this._origin;if(t instanceof N)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e};}};function Un(i,t){for(let e in t)t.hasOwnProperty(e)&&(i[e]=t[e]);return i;}function y0(i){if(typeof i!="number"&&i!=null){let[t,e]=i.split(RA);return!e||e==="px"?parseFloat(t):null;}return i||null;}function I0(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)};}function AA(i,t){return i===t?!0:i.isOriginClipped===t.isOriginClipped&&i.isOriginOutsideView===t.isOriginOutsideView&&i.isOverlayClipped===t.isOverlayClipped&&i.isOverlayOutsideView===t.isOverlayOutsideView;}var w0="cdk-global-overlay-wrapper",Qm=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1;}attach(t){let e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(w0),this._isDisposed=!1;}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this;}left(t=""){return this._xOffset=t,this._xPosition="left",this;}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this;}right(t=""){return this._xOffset=t,this._xPosition="right",this;}start(t=""){return this._xOffset=t,this._xPosition="start",this;}end(t=""){return this._xOffset=t,this._xPosition="end",this;}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this;}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this;}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this;}centerVertically(t=""){return this.top(t),this._alignItems="center",this;}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=n,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",h="",f="",b="";l?b="flex-start":d==="center"?(b="center",m?f=u:h=u):m?d==="left"||d==="end"?(b="flex-end",h=u):(d==="right"||d==="start")&&(b="flex-start",f=u):d==="left"||d==="start"?(b="flex-start",h=u):(d==="right"||d==="end")&&(b="flex-end",f=u),t.position=this._cssPosition,t.marginLeft=l?"0":h,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":f,e.justifyContent=b,e.alignItems=c?"flex-start":this._alignItems;}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(w0),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0;}},OA=(()=>{class i{constructor(e,n,r,o){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=o;}global(){return new Qm();}flexibleConnectedTo(e){return new Ym(e,this._viewportRuler,this._document,this._platform,this._overlayContainer);}static{this.ɵfac=function(n){return new(n||i)(I(un),I(le),I(Me),I(C0));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})(),NA=0,Ci=(()=>{class i{constructor(e,n,r,o,s,a,l,c,d,u,m,h){this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=m,this._animationsModuleType=h;}create(e){let n=this._createHostElement(),r=this._createPaneElement(n),o=this._createPortalOutlet(r),s=new cs(e);return s.direction=s.direction||this._directionality.value,new Xm(o,n,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(mi));}position(){return this._positionBuilder;}_createPaneElement(e){let n=this._document.createElement("div");return n.id=`cdk-overlay-${NA++}`,n.classList.add("cdk-overlay-pane"),e.appendChild(n),n;}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e;}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Bi)),new pc(e,this._componentFactoryResolver,this._appRef,this._injector,this._document);}static{this.ɵfac=function(n){return new(n||i)(I(MA),I(C0),I(Et),I(OA),I(TA),I(Le),I(S),I(le),I(Tt),I(gh),I(kA),I(Ke,8));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})(),FA=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],D0=new w("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=M(Ci);return()=>i.scrollStrategies.reposition();}}),ds=(()=>{class i{constructor(e){this.elementRef=e;}static{this.ɵfac=function(n){return new(n||i)(p(N));};}static{this.ɵdir=L({type:i,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});}}return i;})(),Zm=(()=>{class i{get offsetX(){return this._offsetX;}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position);}get offsetY(){return this._offsetY;}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position);}get disposeOnNavigation(){return this._disposeOnNavigation;}set disposeOnNavigation(e){this._disposeOnNavigation=e;}constructor(e,n,r,o,s){this._overlay=e,this._dir=s,this._backdropSubscription=pe.EMPTY,this._attachSubscription=pe.EMPTY,this._detachSubscription=pe.EMPTY,this._positionSubscription=pe.EMPTY,this._disposeOnNavigation=!1,this._ngZone=M(S),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new V(),this.positionChange=new V(),this.attach=new V(),this.detach=new V(),this.overlayKeydown=new V(),this.overlayOutsideClick=new V(),this._templatePortal=new dn(n,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory();}get overlayRef(){return this._overlayRef;}get dir(){return this._dir?this._dir.value:"ltr";}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose();}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay());}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=FA);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!oi(n)&&(n.preventDefault(),this._detachOverlay());}),this._overlayRef.outsidePointerEvents().subscribe(n=>{let r=this._getOriginElement(),o=zt(n);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(n);});}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),n=new cs({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n;}_updatePositionStrategy(e){let n=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector);}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e;}_getOrigin(){return this.origin instanceof ds?this.origin.elementRef:this.origin;}_getOriginElement(){return this.origin instanceof ds?this.origin.elementRef.nativeElement:this.origin instanceof N?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null;}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e);}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(qc(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe();}));}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe();}static{this.ɵfac=function(n){return new(n||i)(p(Ci),p(We),p(Je),p(D0),p(Tt,8));};}static{this.ɵdir=L({type:i,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",z],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",z],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",z],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",z],push:[2,"cdkConnectedOverlayPush","push",z],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",z]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[De,qe]});}}return i;})();function PA(i){return()=>i.scrollStrategies.reposition();}var LA={provide:D0,deps:[Ci],useFactory:PA},vc=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({providers:[Ci,LA],imports:[cn,m0,Hm,Hm]});}}return i;})();var x0={transformMenu:yi("transformMenu",[ei("void",ze({opacity:0,transform:"scale(0.8)"})),bt("void => enter",xt("120ms cubic-bezier(0, 0, 0.2, 1)",ze({opacity:1,transform:"scale(1)"}))),bt("* => void",xt("100ms 25ms linear",ze({opacity:0})))]),fadeInItems:yi("fadeInItems",[ei("showing",ze({opacity:1})),bt("void => *",[ze({opacity:0}),xt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},BG=x0.fadeInItems,jG=x0.transformMenu;var VA=new w("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let i=M(Ci);return()=>i.scrollStrategies.reposition();}});function BA(i){return()=>i.scrollStrategies.reposition();}var jA={provide:VA,deps:[Ci],useFactory:BA};var S0=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({providers:[jA],imports:[et,At,Y,vc,Gr,Y]});}}return i;})();var HA=["trigger"],zA=["panel"],GA=[[["mat-select-trigger"]],"*"],UA=["mat-select-trigger","*"];function $A(i,t){if(i&1&&(g(0,"span",4),we(1),_()),i&2){let e=F();v(),ct(e.placeholder);}}function WA(i,t){i&1&&ae(0);}function qA(i,t){if(i&1&&(g(0,"span",11),we(1),_()),i&2){let e=F(2);v(),ct(e.triggerValue);}}function XA(i,t){if(i&1&&(g(0,"span",5),H(1,WA,1,0)(2,qA,2,1,"span",11),_()),i&2){let e=F();v(),xe(e.customTrigger?1:2);}}function YA(i,t){if(i&1){let e=Ne();g(0,"div",12,1),X("@transformPanel.done",function(r){Q(e);let o=F();return Z(o._panelDoneAnimatingStream.next(r.toState));})("keydown",function(r){Q(e);let o=F();return Z(o._handleKeydown(r));}),ae(2,1),_();}if(i&2){let e=F();xb("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),y("ngClass",e.panelClass)("@transformPanel","showing"),ge("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby());}}var QA={transformPanelWrap:yi("transformPanelWrap",[bt("* => void",gv("@transformPanel",[pv()],{optional:!0}))]),transformPanel:yi("transformPanel",[ei("void",ze({opacity:0,transform:"scale(1, 0.8)"})),bt("void => showing",xt("120ms cubic-bezier(0, 0, 0.2, 1)",ze({opacity:1,transform:"scale(1, 1)"}))),bt("* => void",xt("100ms linear",ze({opacity:0})))])};var M0=0,T0=new w("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=M(Ci);return()=>i.scrollStrategies.reposition();}});function ZA(i){return()=>i.scrollStrategies.reposition();}var KA=new w("MAT_SELECT_CONFIG"),JA={provide:T0,deps:[Ci],useFactory:ZA},eO=new w("MatSelectTrigger"),Km=class{constructor(t,e){this.source=t,this.value=e;}},us=(()=>{class i{_scrollOptionIntoView(e){let n=this.options.toArray()[e];if(n){let r=this.panel.nativeElement,o=Wy(e,this.options,this.optionGroups),s=n._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=qy(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight);}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0);}_getChangeEvent(e){return new Km(this,e);}get focused(){return this._focused||this._panelOpen;}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator;}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties();}get placeholder(){return this._placeholder;}set placeholder(e){this._placeholder=e,this.stateChanges.next();}get required(){return this._required??this.ngControl?.control?.hasValidator(an.required)??!1;}set required(e){this._required=e,this.stateChanges.next();}get multiple(){return this._multiple;}set multiple(e){this._selectionModel,this._multiple=e;}get compareWith(){return this._compareWith;}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection();}get value(){return this._value;}set value(e){this._assignValue(e)&&this._onChange(e);}get errorStateMatcher(){return this._errorStateTracker.matcher;}set errorStateMatcher(e){this._errorStateTracker.matcher=e;}get id(){return this._id;}set id(e){this._id=e||this._uid,this.stateChanges.next();}get errorState(){return this._errorStateTracker.errorState;}set errorState(e){this._errorStateTracker.errorState=e;}constructor(e,n,r,o,s,a,l,c,d,u,m,h,f,b){this._viewportRuler=e,this._changeDetectorRef=n,this._elementRef=s,this._dir=a,this._parentFormField=d,this.ngControl=u,this._liveAnnouncer=f,this._defaultOptions=b,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(E,C)=>E===C,this._uid=`mat-select-${M0++}`,this._triggerAriaLabelledBy=null,this._destroy=new P(),this.stateChanges=new P(),this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${M0++}`,this._panelDoneAnimatingStream=new P(),this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new P(),this.optionSelectionChanges=Uc(()=>{let E=this.options;return E?E.changes.pipe(qt(E),bn(()=>wt(...E.map(C=>C.onSelectionChange)))):this._initialized.pipe(bn(()=>this.optionSelectionChanges));}),this.openedChange=new V(),this._openedStream=this.openedChange.pipe(Ze(E=>E),Qe(()=>{})),this._closedStream=this.openedChange.pipe(Ze(E=>!E),Qe(()=>{})),this.selectionChange=new V(),this.valueChange=new V(),this._trackedModal=null,this._skipPredicate=E=>this.panelOpen?!1:E.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),b?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=b.typeaheadDebounceInterval),this._errorStateTracker=new jr(o,u,c,l,this.stateChanges),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id;}ngOnInit(){this._selectionModel=new _c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Wi(),Se(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(Se(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges());});}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Se(this._destroy)).subscribe(e=>{e.added.forEach(n=>n.select()),e.removed.forEach(n=>n.deselect());}),this.options.changes.pipe(qt(null),Se(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection();});}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),n=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby");}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState());}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval);}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal();}toggle(){this.panelOpen?this.close():this.open();}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next());}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let n=`${this.id}-panel`;this._trackedModal&&Cm(this._trackedModal,"aria-owns",n),Fy(e,"aria-owns",n),this._trackedModal=e;}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;Cm(this._trackedModal,"aria-owns",e),this._trackedModal=null;}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next());}writeValue(e){this._assignValue(e);}registerOnChange(e){this._onChange=e;}registerOnTouched(e){this._onTouched=e;}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next();}get panelOpen(){return this._panelOpen;}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0];}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&e.reverse(),e.join(", ");}return this._selectionModel.selected[0].viewValue;}updateErrorState(){this._errorStateTracker.updateErrorState();}_isRtl(){return this._dir?this._dir.value==="rtl":!1;}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e));}_handleClosedKeydown(e){let n=e.keyCode,r=n===40||n===38||n===37||n===39,o=n===13||n===32,s=this._keyManager;if(!s.isTyping()&&o&&!oi(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let a=this.selected;s.onKeydown(e);let l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4);}}_handleOpenKeydown(e){let n=this._keyManager,r=e.keyCode,o=r===40||r===38,s=n.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!s&&(r===13||r===32)&&n.activeItem&&!oi(e))e.preventDefault(),n.activeItem._selectViaInteraction();else if(!s&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect());});}else{let a=n.activeItemIndex;n.onKeydown(e),this._multiple&&o&&e.shiftKey&&n.activeItem&&n.activeItemIndex!==a&&n.activeItem._selectViaInteraction();}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next());}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next());}_onAttached(){this._overlayDir.positionChange.pipe(tr(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled();});}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:"";}get empty(){return!this._selectionModel||this._selectionModel.isEmpty();}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next();});}_setSelectionByValue(e){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1);}this._changeDetectorRef.markForCheck();}_selectOptionByValue(e){let n=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return r.value!=null&&this._compareWith(r.value,e);}catch{return!1;}});return n&&this._selectionModel.select(n),n;}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1;}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof ds?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth;}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck();}_initKeyManager(){this._keyManager=new ic(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close());}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction();});}_resetOptions(){let e=wt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Se(e)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus());}),wt(...this.options.map(n=>n._stateChanges)).pipe(Se(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next();});}_onSelect(e,n){let r=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),n&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),n&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next();}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((n,r)=>this.sortComparator?this.sortComparator(n,r,e):e.indexOf(n)-e.indexOf(r)),this.stateChanges.next();}}_propagateChanges(e){let n;this.multiple?n=this.selected.map(r=>r.value):n=this.selected?this.selected.value:e,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck();}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let n=0;n0;}focus(e){this._elementRef.nativeElement.focus(e);}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),n=e?e+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:e;}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null;}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),n=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n;}_panelDoneAnimating(e){this.openedChange.emit(e);}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby");}onContainerClick(){this.focus(),this.open();}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder;}static{this.ɵfac=function(n){return new(n||i)(p(un),p(Re),p(S),p(lc),p(N),p(Tt,8),p(Ko,8),p(wi,8),p(os,8),p(ni,10),Bt("tabindex"),p(T0),p(Vy),p(KA,8));};}static{this.ɵcmp=fe({type:i,selectors:[["mat-select"]],contentQueries:function(n,r,o){if(n&1&&(He(o,eO,5),He(o,zn,5),He(o,Nm,5)),n&2){let s;A(s=O())&&(r.customTrigger=s.first),A(s=O())&&(r.options=s),A(s=O())&&(r.optionGroups=s);}},viewQuery:function(n,r){if(n&1&&(q(HA,5),q(zA,5),q(Zm,5)),n&2){let o;A(o=O())&&(r.trigger=o.first),A(o=O())&&(r.panel=o.first),A(o=O())&&(r._overlayDir=o.first);}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,r){n&1&&X("keydown",function(s){return r._handleKeydown(s);})("focus",function(){return r._onFocus();})("blur",function(){return r._onBlur();}),n&2&&(ge("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),K("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple));},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",z],disableRipple:[2,"disableRipple","disableRipple",z],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Dt(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",z],placeholder:"placeholder",required:[2,"required","required",z],multiple:[2,"multiple","multiple",z],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",z],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Dt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[ve([{provide:rs,useExisting:i},{provide:Om,useExisting:i}]),De,qe,Ee],ngContentSelectors:UA,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(n,r){if(n&1){let o=Ne();ke(GA),g(0,"div",2,0),X("click",function(){return Q(o),Z(r.open());}),g(3,"div",3),H(4,$A,2,1,"span",4)(5,XA,3,1,"span",5),_(),g(6,"div",6)(7,"div",7),wr(),g(8,"svg",8),ee(9,"path",9),_()()()(),H(10,YA,3,9,"ng-template",10),X("backdropClick",function(){return Q(o),Z(r.close());})("attach",function(){return Q(o),Z(r._onAttached());})("detach",function(){return Q(o),Z(r.close());});}if(n&2){let o=Ct(1);v(3),ge("id",r._valueId),v(),xe(r.empty?4:5),v(6),y("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth);}},dependencies:[ds,Zm,ml],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[QA.transformPanel]},changeDetection:0});}}return i;})();var yc=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({providers:[JA],imports:[et,vc,Fm,Y,Gr,as,Fm,Y]});}}return i;})();var R0=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y,At]});}}return i;})();var tO=["input"],iO=["label"],nO=["*"],rO=new w("mat-checkbox-default-options",{providedIn:"root",factory:O0});function O0(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1};}var ut=function(i){return i[i.Init=0]="Init",i[i.Checked=1]="Checked",i[i.Unchecked=2]="Unchecked",i[i.Indeterminate=3]="Indeterminate",i;}(ut||{}),oO={provide:zi,useExisting:it(()=>Ic),multi:!0},Jm=class{},sO=0,A0=O0(),Ic=(()=>{class i{focus(){this._inputElement.nativeElement.focus();}_createChangeEvent(e){let n=new Jm();return n.source=this,n.checked=e,n;}_getAnimationTargetElement(){return this._inputElement?.nativeElement;}get inputId(){return`${this.id||this._uniqueId}-input`;}constructor(e,n,r,o,s,a){this._elementRef=e,this._changeDetectorRef=n,this._ngZone=r,this._animationMode=s,this._options=a,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new V(),this.indeterminateChange=new V(),this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=ut.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||A0,this.color=this._options.color||A0.color,this.tabIndex=parseInt(o)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++sO}`,this.disabledInteractive=a?.disabledInteractive??!1;}ngOnChanges(e){e.required&&this._validatorChangeFn();}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate);}get checked(){return this._checked;}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck());}get disabled(){return this._disabled;}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck());}get indeterminate(){return this._indeterminate;}set indeterminate(e){let n=e!=this._indeterminate;this._indeterminate=e,n&&(this._indeterminate?this._transitionCheckState(ut.Indeterminate):this._transitionCheckState(this.checked?ut.Checked:ut.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate);}_isRippleDisabled(){return this.disableRipple||this.disabled;}_onLabelTextChange(){this._changeDetectorRef.detectChanges();}writeValue(e){this.checked=!!e;}registerOnChange(e){this._controlValueAccessorChangeFn=e;}registerOnTouched(e){this._onTouched=e;}setDisabledState(e){this.disabled=e;}validate(e){return this.required&&e.value!==!0?{required:!0}:null;}registerOnValidatorChange(e){this._validatorChangeFn=e;}_transitionCheckState(e){let n=this._currentCheckState,r=this._getAnimationTargetElement();if(!(n===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(n,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o);},1e3);});}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked);}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked);}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate);}),this._checked=!this._checked,this._transitionCheckState(this._checked?ut.Checked:ut.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate);}_onInteractionEvent(e){e.stopPropagation();}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck();});}_getAnimationClassForCheckStateTransition(e,n){if(this._animationMode==="NoopAnimations")return"";switch(e){case ut.Init:if(n===ut.Checked)return this._animationClasses.uncheckedToChecked;if(n==ut.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case ut.Unchecked:return n===ut.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case ut.Checked:return n===ut.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case ut.Indeterminate:return n===ut.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked;}return"";}_syncIndeterminate(e){let n=this._inputElement;n&&(n.nativeElement.indeterminate=e);}_onInputClick(){this._handleInputClick();}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus();}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation();}static{this.ɵfac=function(n){return new(n||i)(p(N),p(Re),p(S),Bt("tabindex"),p(Ke,8),p(rO,8));};}static{this.ɵcmp=fe({type:i,selectors:[["mat-checkbox"]],viewQuery:function(n,r){if(n&1&&(q(tO,5),q(iO,5),q(Rt,5)),n&2){let o;A(o=O())&&(r._inputElement=o.first),A(o=O())&&(r._labelElement=o.first),A(o=O())&&(r.ripple=o.first);}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(n,r){n&2&&(Vi("id",r.id),ge("tabindex",null)("aria-label",null)("aria-labelledby",null),_i(r.color?"mat-"+r.color:"mat-accent"),K("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive));},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",z],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",z],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Dt(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",z],checked:[2,"checked","checked",z],disabled:[2,"disabled","disabled",z],indeterminate:[2,"indeterminate","indeterminate",z]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[ve([oO,{provide:Nr,useExisting:i,multi:!0}]),De,qe,Ee],ngContentSelectors:nO,decls:15,vars:20,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(n,r){if(n&1){let o=Ne();ke(),g(0,"div",3),X("click",function(a){return Q(o),Z(r._preventBubblingFromLabel(a));}),g(1,"div",4,0)(3,"div",5),X("click",function(){return Q(o),Z(r._onTouchTargetClick());}),_(),g(4,"input",6,1),X("blur",function(){return Q(o),Z(r._onBlur());})("click",function(){return Q(o),Z(r._onInputClick());})("change",function(a){return Q(o),Z(r._onInteractionEvent(a));}),_(),ee(6,"div",7),g(7,"div",8),wr(),g(8,"svg",9),ee(9,"path",10),_(),Nu(),ee(10,"div",11),_(),ee(11,"div",12),_(),g(12,"label",13,2),ae(14),_()();}if(n&2){let o=Ct(2);y("labelPosition",r.labelPosition),v(4),K("mdc-checkbox--selected",r.checked),y("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),ge("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("name",r.name)("value",r.value),v(7),y("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),v(),y("for",r.inputId);}},dependencies:[Rt,dc],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.cdk-high-contrast-active .mdc-checkbox--disabled{opacity:.5}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-app-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-app-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.cdk-high-contrast-active .mdc-checkbox--disabled .mdc-checkbox__checkmark,.cdk-high-contrast-active .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});}}return i;})();var N0=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Ic,Y,Y]});}}return i;})();var F0=Ei({passive:!0}),P0=(()=>{class i{constructor(e,n){this._platform=e,this._ngZone=n,this._monitoredElements=new Map();}monitor(e){if(!this._platform.isBrowser)return Si;let n=vt(e),r=this._monitoredElements.get(n);if(r)return r.subject;let o=new P(),s="cdk-text-field-autofilled",a=l=>{l.animationName==="cdk-text-field-autofill-start"&&!n.classList.contains(s)?(n.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0}))):l.animationName==="cdk-text-field-autofill-end"&&n.classList.contains(s)&&(n.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1})));};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",a,F0),n.classList.add("cdk-text-field-autofill-monitored");}),this._monitoredElements.set(n,{subject:o,unlisten:()=>{n.removeEventListener("animationstart",a,F0);}}),o;}stopMonitoring(e){let n=vt(e),r=this._monitoredElements.get(n);r&&(r.unlisten(),r.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n));}ngOnDestroy(){this._monitoredElements.forEach((e,n)=>this.stopMonitoring(n));}static{this.ɵfac=function(n){return new(n||i)(I(Me),I(S));};}static{this.ɵprov=x({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();var L0=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({});}}return i;})();var cO=new w("MAT_INPUT_VALUE_ACCESSOR"),dO=["button","checkbox","file","hidden","image","radio","range","reset","submit"],uO=0,wc=(()=>{class i{get disabled(){return this._disabled;}set disabled(e){this._disabled=Vn(e),this.focused&&(this.focused=!1,this.stateChanges.next());}get id(){return this._id;}set id(e){this._id=e||this._uid;}get required(){return this._required??this.ngControl?.control?.hasValidator(an.required)??!1;}set required(e){this._required=Vn(e);}get type(){return this._type;}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&_m().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior();}get errorStateMatcher(){return this._errorStateTracker.matcher;}set errorStateMatcher(e){this._errorStateTracker.matcher=e;}get value(){return this._inputValueAccessor.value;}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next());}get readonly(){return this._readonly;}set readonly(e){this._readonly=Vn(e);}get errorState(){return this._errorStateTracker.errorState;}set errorState(e){this._errorStateTracker.errorState=e;}constructor(e,n,r,o,s,a,l,c,d,u){this._elementRef=e,this._platform=n,this.ngControl=r,this._autofillMonitor=c,this._ngZone=d,this._formField=u,this._uid=`mat-input-${uO++}`,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new P(),this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(f=>_m().has(f)),this._iOSKeyupListener=f=>{let b=f.target;!b.value&&b.selectionStart===0&&b.selectionEnd===0&&(b.setSelectionRange(1,1),b.setSelectionRange(0,0));},this._webkitBlinkWheelListener=()=>{};let m=this._elementRef.nativeElement,h=m.nodeName.toLowerCase();this._inputValueAccessor=l||m,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener);}),this._errorStateTracker=new jr(a,r,s,o,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=h==="select",this._isTextarea=h==="textarea",this._isInFormField=!!u,this._isNativeSelect&&(this.controlType=m.multiple?"mat-native-select-multiple":"mat-native-select");}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next();});}ngOnChanges(){this.stateChanges.next();}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener);}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder();}focus(e){this._elementRef.nativeElement.focus(e);}updateErrorState(){this._errorStateTracker.updateErrorState();}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next());}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next());}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let n=this._elementRef.nativeElement;this._previousPlaceholder=e,e?n.setAttribute("placeholder",e):n.removeAttribute("placeholder");}}_getPlaceholder(){return this.placeholder||null;}_validateType(){dO.indexOf(this._type)>-1;}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1;}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput;}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled;}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,n=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&n&&n.label);}else return this.focused||!this.empty;}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby");}onContainerClick(){this.focused||this.focus();}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1);}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener);}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0);}static{this.ɵfac=function(n){return new(n||i)(p(N),p(Me),p(ni,10),p(Ko,8),p(wi,8),p(lc),p(cO,10),p(P0),p(S),p(os,8));};}static{this.ɵdir=L({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(n,r){n&1&&X("focus",function(){return r._focusChanged(!0);})("blur",function(){return r._focusChanged(!1);})("input",function(){return r._onInput();}),n&2&&(Vi("id",r.id)("disabled",r.disabled)("required",r.required),ge("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),K("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()));},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[ve([{provide:rs,useExisting:i}]),qe]});}}return i;})(),Ec=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y,as,as,L0,Y]});}}return i;})();var B0=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y,Y]});}}return i;})();var Cc=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Kl,et,Y,At,Am,B0]});}}return i;})();var hO=["input"],mO=["formField"],fO=["*"],j0=0,Dc=class{constructor(t,e){this.source=t,this.value=e;}},pO={provide:zi,useExisting:it(()=>ef),multi:!0},H0=new w("MatRadioGroup"),gO=new w("mat-radio-default-options",{providedIn:"root",factory:_O});function _O(){return{color:"accent",disabledInteractive:!1};}var ef=(()=>{class i{get name(){return this._name;}set name(e){this._name=e,this._updateRadioButtonNames();}get labelPosition(){return this._labelPosition;}set labelPosition(e){this._labelPosition=e==="before"?"before":"after",this._markRadiosForCheck();}get value(){return this._value;}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton());}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0);}get selected(){return this._selected;}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton();}get disabled(){return this._disabled;}set disabled(e){this._disabled=e,this._markRadiosForCheck();}get required(){return this._required;}set required(e){this._required=e,this._markRadiosForCheck();}get disabledInteractive(){return this._disabledInteractive;}set disabledInteractive(e){this._disabledInteractive=e,this._markRadiosForCheck();}constructor(e){this._changeDetector=e,this._value=null,this._name=`mat-radio-group-${j0++}`,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new V(),this._disabledInteractive=!1;}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(e=>e===this.selected)&&(this._selected=null);});}ngOnDestroy(){this._buttonChanges?.unsubscribe();}_touch(){this.onTouched&&this.onTouched();}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck();});}_updateSelectedRadioFromValue(){let e=this._selected!==null&&this._selected.value===this._value;this._radios&&!e&&(this._selected=null,this._radios.forEach(n=>{n.checked=this.value===n.value,n.checked&&(this._selected=n);}));}_emitChangeEvent(){this._isInitialized&&this.change.emit(new Dc(this._selected,this._value));}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck());}writeValue(e){this.value=e,this._changeDetector.markForCheck();}registerOnChange(e){this._controlValueAccessorChangeFn=e;}registerOnTouched(e){this.onTouched=e;}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck();}static{this.ɵfac=function(n){return new(n||i)(p(Re));};}static{this.ɵdir=L({type:i,selectors:[["mat-radio-group"]],contentQueries:function(n,r,o){if(n&1&&He(o,xc,5),n&2){let s;A(s=O())&&(r._radios=s);}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",z],required:[2,"required","required",z],disabledInteractive:[2,"disabledInteractive","disabledInteractive",z]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[ve([pO,{provide:H0,useExisting:i}]),De]});}}return i;})(),xc=(()=>{class i{get checked(){return this._checked;}set checked(e){this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck());}get value(){return this._value;}set value(e){this._value!==e&&(this._value=e,this.radioGroup!==null&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)));}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after";}set labelPosition(e){this._labelPosition=e;}get disabled(){return this._disabled||this.radioGroup!==null&&this.radioGroup.disabled;}set disabled(e){this._setDisabled(e);}get required(){return this._required||this.radioGroup&&this.radioGroup.required;}set required(e){this._required=e;}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent";}set color(e){this._color=e;}get disabledInteractive(){return this._disabledInteractive||this.radioGroup!==null&&this.radioGroup.disabledInteractive;}set disabledInteractive(e){this._disabledInteractive=e;}get inputId(){return`${this.id||this._uniqueId}-input`;}constructor(e,n,r,o,s,a,l,c){this._elementRef=n,this._changeDetector=r,this._focusMonitor=o,this._radioDispatcher=s,this._defaultOptions=l,this._ngZone=M(S),this._uniqueId=`mat-radio-${++j0}`,this.id=this._uniqueId,this.disableRipple=!1,this.tabIndex=0,this.change=new V(),this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this._injector=M(Le),this._onInputClick=d=>{this.disabled&&this.disabledInteractive&&d.preventDefault();},this.radioGroup=e,this._noopAnimations=a==="NoopAnimations",this._disabledInteractive=l?.disabledInteractive??!1,c&&(this.tabIndex=Dt(c,0));}focus(e,n){n?this._focusMonitor.focusVia(this._inputElement,n,e):this._inputElement.nativeElement.focus(e);}_markForCheck(){this._changeDetector.markForCheck();}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((e,n)=>{e!==this.id&&n===this.name&&(this.checked=!1);});}ngDoCheck(){this._updateTabIndex();}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch();}),this._ngZone.runOutsideAngular(()=>{this._inputElement.nativeElement.addEventListener("click",this._onInputClick);});}ngOnDestroy(){this._inputElement?.nativeElement.removeEventListener("click",this._onInputClick),this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener();}_emitChangeEvent(){this.change.emit(new Dc(this,this._value));}_isRippleDisabled(){return this.disableRipple||this.disabled;}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){let n=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),n&&this.radioGroup._emitChangeEvent());}}_onTouchTargetClick(e){this._onInputInteraction(e),(!this.disabled||this.disabledInteractive)&&this._inputElement?.nativeElement.focus();}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck());}_updateTabIndex(){let e=this.radioGroup,n;if(!e||!e.selected||this.disabled?n=this.tabIndex:n=e.selected===this?this.tabIndex:-1,n!==this._previousTabIndex){let r=this._inputElement?.nativeElement;r&&(r.setAttribute("tabindex",n+""),this._previousTabIndex=n,Li(()=>{queueMicrotask(()=>{e&&e.selected&&e.selected!==this&&document.activeElement===r&&(e.selected?._inputElement.nativeElement.focus(),document.activeElement===r&&this._inputElement.nativeElement.blur());});},{injector:this._injector}));}}static{this.ɵfac=function(n){return new(n||i)(p(H0,8),p(N),p(Re),p(is),p(f0),p(Ke,8),p(gO,8),Bt("tabindex"));};}static{this.ɵcmp=fe({type:i,selectors:[["mat-radio-button"]],viewQuery:function(n,r){if(n&1&&(q(hO,5),q(mO,7,N)),n&2){let o;A(o=O())&&(r._inputElement=o.first),A(o=O())&&(r._rippleTrigger=o.first);}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(n,r){n&1&&X("focus",function(){return r._inputElement.nativeElement.focus();}),n&2&&(ge("id",r.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),K("mat-primary",r.color==="primary")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("mat-mdc-radio-checked",r.checked)("mat-mdc-radio-disabled",r.disabled)("mat-mdc-radio-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._noopAnimations));},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",z],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Dt(e)],checked:[2,"checked","checked",z],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",z],required:[2,"required","required",z],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",z]},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[De,Ee],ngContentSelectors:fO,decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(n,r){if(n&1){let o=Ne();ke(),g(0,"div",2,0)(2,"div",3)(3,"div",4),X("click",function(a){return Q(o),Z(r._onTouchTargetClick(a));}),_(),g(4,"input",5,1),X("change",function(a){return Q(o),Z(r._onInputInteraction(a));}),_(),g(6,"div",6),ee(7,"div",7)(8,"div",8),_(),g(9,"div",9),ee(10,"div",10),_()(),g(11,"label",11),ae(12),_()();}n&2&&(y("labelPosition",r.labelPosition),v(2),K("mdc-radio--disabled",r.disabled),v(2),y("id",r.inputId)("checked",r.checked)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),ge("name",r.name)("value",r.value)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),v(5),y("matRippleTrigger",r._rippleTrigger.nativeElement)("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",!0),v(2),y("for",r.inputId));},dependencies:[Rt,dc],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled])~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color, var(--mat-app-on-surface))}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color, var(--mat-app-on-surface))}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size);top:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-app-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-app-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-app-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0});}}return i;})(),z0=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y,et,At,xc,Y]});}}return i;})();var of=["*"];function vO(i,t){i&1&&ae(0);}var yO=["tabListContainer"],IO=["tabList"],wO=["tabListInner"],EO=["nextPaginator"],CO=["previousPaginator"],DO=i=>({animationDuration:i}),xO=(i,t)=>({value:i,params:t});function SO(i,t){}var MO=["tabBodyWrapper"],TO=["tabHeader"];function kO(i,t){}function RO(i,t){if(i&1&&H(0,kO,0,0,"ng-template",12),i&2){let e=F().$implicit;y("cdkPortalOutlet",e.templateLabel);}}function AO(i,t){if(i&1&&we(0),i&2){let e=F().$implicit;ct(e.textLabel);}}function OO(i,t){if(i&1){let e=Ne();g(0,"div",7,2),X("click",function(){let r=Q(e),o=r.$implicit,s=r.$index,a=F(),l=Ct(1);return Z(a._handleClick(o,l,s));})("cdkFocusChange",function(r){let o=Q(e).$index,s=F();return Z(s._tabFocusChanged(r,o));}),ee(2,"span",8)(3,"div",9),g(4,"span",10)(5,"span",11),H(6,RO,1,1,null,12)(7,AO,1,1),_()()();}if(i&2){let e=t.$implicit,n=t.$index,r=Ct(1),o=F();_i(e.labelClass),K("mdc-tab--active",o.selectedIndex===n),y("id",o._getTabLabelId(n))("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),ge("tabIndex",o._getTabIndex(n))("aria-posinset",n+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(n))("aria-selected",o.selectedIndex===n)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),v(3),y("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),v(3),xe(e.templateLabel?6:7);}}function NO(i,t){i&1&&ae(0);}function FO(i,t){if(i&1){let e=Ne();g(0,"mat-tab-body",13),X("_onCentered",function(){Q(e);let r=F();return Z(r._removeTabBodyWrapperHeight());})("_onCentering",function(r){Q(e);let o=F();return Z(o._setTabBodyWrapperHeight(r));}),_();}if(i&2){let e=t.$implicit,n=t.$index,r=F();_i(e.bodyClass),K("mat-mdc-tab-body-active",r.selectedIndex===n),y("id",r._getTabContentId(n))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),ge("tabindex",r.contentTabIndex!=null&&r.selectedIndex===n?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(n))("aria-hidden",r.selectedIndex!==n);}}var PO=new w("MatTabContent"),LO=(()=>{class i{constructor(e){this.template=e;}static{this.ɵfac=function(n){return new(n||i)(p(We));};}static{this.ɵdir=L({type:i,selectors:[["","matTabContent",""]],standalone:!0,features:[ve([{provide:PO,useExisting:i}])]});}}return i;})(),VO=new w("MatTabLabel"),$0=new w("MAT_TAB"),BO=(()=>{class i extends h0{constructor(e,n,r){super(e,n),this._closestTab=r;}static{this.ɵfac=function(n){return new(n||i)(p(We),p(Je),p($0,8));};}static{this.ɵdir=L({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[ve([{provide:VO,useExisting:i}]),je]});}}return i;})(),W0=new w("MAT_TAB_GROUP"),sf=(()=>{class i{get templateLabel(){return this._templateLabel;}set templateLabel(e){this._setTemplateLabelInput(e);}get content(){return this._contentPortal;}constructor(e,n){this._viewContainerRef=e,this._closestTabGroup=n,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new P(),this.position=null,this.origin=null,this.isActive=!1;}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next();}ngOnDestroy(){this._stateChanges.complete();}ngOnInit(){this._contentPortal=new dn(this._explicitContent||this._implicitContent,this._viewContainerRef);}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e);}static{this.ɵfac=function(n){return new(n||i)(p(Je),p(W0,8));};}static{this.ɵcmp=fe({type:i,selectors:[["mat-tab"]],contentQueries:function(n,r,o){if(n&1&&(He(o,BO,5),He(o,LO,7,We)),n&2){let s;A(s=O())&&(r.templateLabel=s.first),A(s=O())&&(r._explicitContent=s.first);}},viewQuery:function(n,r){if(n&1&&q(We,7),n&2){let o;A(o=O())&&(r._implicitContent=o.first);}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",z],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[ve([{provide:$0,useExisting:i}]),De,qe,Ee],ngContentSelectors:of,decls:1,vars:0,template:function(n,r){n&1&&(ke(),H(0,vO,1,0,"ng-template"));},encapsulation:2});}}return i;})(),tf="mdc-tab-indicator--active",G0="mdc-tab-indicator--no-transition",nf=class{constructor(t){this._items=t;}hide(){this._items.forEach(t=>t.deactivateInkBar());}alignToElement(t){let e=this._items.find(r=>r.elementRef.nativeElement===t),n=this._currentItem;if(e!==n&&(n?.deactivateInkBar(),e)){let r=n?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e;}}},jO=(()=>{class i{constructor(){this._elementRef=M(N),this._fitToContent=!1;}get fitInkBarToContent(){return this._fitToContent;}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement());}activateInkBar(e){let n=this._elementRef.nativeElement;if(!e||!n.getBoundingClientRect||!this._inkBarContentElement){n.classList.add(tf);return;}let r=n.getBoundingClientRect(),o=e.width/r.width,s=e.left-r.left;n.classList.add(G0),this._inkBarContentElement.style.setProperty("transform",`translateX(${s}px) scaleX(${o})`),n.getBoundingClientRect(),n.classList.remove(G0),n.classList.add(tf),this._inkBarContentElement.style.setProperty("transform","");}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(tf);}ngOnInit(){this._createInkBarElement();}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null;}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,n=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");n.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",n.appendChild(this._inkBarContentElement),this._appendInkBarElement();}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement);}static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵdir=L({type:i,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",z]},features:[De]});}}return i;})();var q0=(()=>{class i extends jO{constructor(e){super(),this.elementRef=e,this.disabled=!1;}focus(){this.elementRef.nativeElement.focus();}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft;}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth;}static{this.ɵfac=function(n){return new(n||i)(p(N));};}static{this.ɵdir=L({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(n,r){n&2&&(ge("aria-disabled",!!r.disabled),K("mat-mdc-tab-disabled",r.disabled));},inputs:{disabled:[2,"disabled","disabled",z]},standalone:!0,features:[De,je]});}}return i;})(),U0=Ei({passive:!0}),HO=650,zO=100,GO=(()=>{class i{get selectedIndex(){return this._selectedIndex;}set selectedIndex(e){let n=isNaN(e)?0:e;this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n));}constructor(e,n,r,o,s,a,l){this._elementRef=e,this._changeDetectorRef=n,this._viewportRuler=r,this._dir=o,this._ngZone=s,this._platform=a,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new P(),this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new P(),this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new V(),this.indexFocused=new V(),this._sharedResizeObserver=M(hc),this._injector=M(Le),s.runOutsideAngular(()=>{Wt(e.nativeElement,"mouseleave").pipe(Se(this._destroyed)).subscribe(()=>{this._stopInterval();});});}ngAfterViewInit(){Wt(this._previousPaginator.nativeElement,"touchstart",U0).pipe(Se(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before");}),Wt(this._nextPaginator.nativeElement,"touchstart",U0).pipe(Se(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after");});}ngAfterContentInit(){let e=this._dir?this._dir.change:$i("ltr"),n=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(Ft(32),Se(this._destroyed)),r=this._viewportRuler.change(150).pipe(Se(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab();};this._keyManager=new nc(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),Li(o,{injector:this._injector}),wt(e,r,n,this._items.changes,this._itemsResized()).pipe(Se(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o();});}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection());}),this._keyManager.change.subscribe(s=>{this.indexFocused.emit(s),this._setTabFocus(s);});}_itemsResized(){return typeof ResizeObserver!="function"?Si:this._items.changes.pipe(qt(this._items),bn(e=>new se(n=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>n.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect();};}))),_n(1),Ze(e=>e.some(n=>n.contentRect.width>0&&n.contentRect.height>0)));}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck());}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete();}_handleKeydown(e){if(!oi(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));}break;default:this._keyManager.onKeydown(e);}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck();}));}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition();}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0;}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e);}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0;}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let n=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?n.scrollLeft=0:n.scrollLeft=n.scrollWidth-n.offsetWidth;}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr";}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,n=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0);}get scrollDistance(){return this._scrollDistance;}set scrollDistance(e){this._scrollTo(e);}_scrollHeader(e){let n=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*n/3;return this._scrollTo(this._scrollDistance+r);}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e);}_scrollToLabel(e){if(this.disablePagination)return;let n=this._items?this._items.toArray()[e]:null;if(!n)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:s}=n.elementRef.nativeElement,a,l;this._getLayoutDirection()=="ltr"?(a=o,l=a+s):(l=this._tabListInner.nativeElement.offsetWidth-o,a=l-s);let c=this.scrollDistance,d=this.scrollDistance+r;ad&&(this.scrollDistance+=Math.min(l-d,a-c));}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,n=this._elementRef.nativeElement.offsetWidth,r=e-n>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck());}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck());}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,n=this._tabListContainer.nativeElement.offsetWidth;return e-n||0;}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide();}_stopInterval(){this._stopScrolling.next();}_handlePaginatorPress(e,n){n&&n.button!=null&&n.button!==0||(this._stopInterval(),io(HO,zO).pipe(Se(wt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval();}));}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance};}static{this.ɵfac=function(n){return new(n||i)(p(N),p(Re),p(un),p(Tt,8),p(S),p(Me),p(Ke,8));};}static{this.ɵdir=L({type:i,inputs:{disablePagination:[2,"disablePagination","disablePagination",z],selectedIndex:[2,"selectedIndex","selectedIndex",Dt]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[De]});}}return i;})(),UO=(()=>{class i extends GO{constructor(e,n,r,o,s,a,l){super(e,n,r,o,s,a,l),this.disableRipple=!1;}ngAfterContentInit(){this._inkBar=new nf(this._items),super.ngAfterContentInit();}_itemSelected(e){e.preventDefault();}static{this.ɵfac=function(n){return new(n||i)(p(N),p(Re),p(un),p(Tt,8),p(S),p(Me),p(Ke,8));};}static{this.ɵcmp=fe({type:i,selectors:[["mat-tab-header"]],contentQueries:function(n,r,o){if(n&1&&He(o,q0,4),n&2){let s;A(s=O())&&(r._items=s);}},viewQuery:function(n,r){if(n&1&&(q(yO,7),q(IO,7),q(wO,7),q(EO,5),q(CO,5)),n&2){let o;A(o=O())&&(r._tabListContainer=o.first),A(o=O())&&(r._tabList=o.first),A(o=O())&&(r._tabListInner=o.first),A(o=O())&&(r._nextPaginator=o.first),A(o=O())&&(r._previousPaginator=o.first);}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(n,r){n&2&&K("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl");},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",z]},standalone:!0,features:[De,je,Ee],ngContentSelectors:of,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(n,r){if(n&1){let o=Ne();ke(),g(0,"div",5,0),X("click",function(){return Q(o),Z(r._handlePaginatorClick("before"));})("mousedown",function(a){return Q(o),Z(r._handlePaginatorPress("before",a));})("touchend",function(){return Q(o),Z(r._stopInterval());}),ee(2,"div",6),_(),g(3,"div",7,1),X("keydown",function(a){return Q(o),Z(r._handleKeydown(a));}),g(5,"div",8,2),X("cdkObserveContent",function(){return Q(o),Z(r._onContentChanges());}),g(7,"div",9,3),ae(9),_()()(),g(10,"div",10,4),X("mousedown",function(a){return Q(o),Z(r._handlePaginatorPress("after",a));})("click",function(){return Q(o),Z(r._handlePaginatorClick("after"));})("touchend",function(){return Q(o),Z(r._stopInterval());}),ee(12,"div",6),_();}n&2&&(K("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),y("matRippleDisabled",r._disableScrollBefore||r.disableRipple),v(3),K("_mat-animation-noopable",r._animationMode==="NoopAnimations"),v(2),ge("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),v(5),K("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),y("matRippleDisabled",r._disableScrollAfter||r.disableRipple));},dependencies:[Rt,bm],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});}}return i;})(),$O=new w("MAT_TABS_CONFIG"),WO={translateTab:yi("translateTab",[ei("center, void, left-origin-center, right-origin-center",ze({transform:"none",visibility:"visible"})),ei("left",ze({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),ei("right",ze({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),bt("* => left, * => right, left => center, right => center",xt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),bt("void => left-origin-center",[ze({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),xt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),bt("void => right-origin-center",[ze({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),xt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},qO=(()=>{class i extends gc{constructor(e,n,r,o){super(e,n,o),this._host=r,this._centeringSub=pe.EMPTY,this._leavingSub=pe.EMPTY;}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(qt(this._host._isCenterPosition(this._host._position))).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this.attach(this._host._content);}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach();});}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe();}static{this.ɵfac=function(n){return new(n||i)(p(Et),p(Je),p(it(()=>X0)),p(le));};}static{this.ɵdir=L({type:i,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[je]});}}return i;})(),X0=(()=>{class i{set position(e){this._positionIndex=e,this._computePositionAnimationState();}constructor(e,n,r){this._elementRef=e,this._dir=n,this._dirChangeSubscription=pe.EMPTY,this._translateTabComplete=new P(),this._onCentering=new V(),this._beforeCentering=new V(),this._afterLeavingCenter=new V(),this._onCentered=new V(!0),this.animationDuration="500ms",this.preserveContent=!1,n&&(this._dirChangeSubscription=n.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck();})),this._translateTabComplete.pipe(Wi((o,s)=>o.fromState===s.fromState&&o.toState===s.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit();});}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin));}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete();}_onTranslateTabStarted(e){let n=this._isCenterPosition(e.toState);this._beforeCentering.emit(n),n&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight);}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr";}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center";}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center";}_computePositionFromOrigin(e){let n=this._getLayoutDirection();return n=="ltr"&&e<=0||n=="rtl"&&e>0?"left-origin-center":"right-origin-center";}static{this.ɵfac=function(n){return new(n||i)(p(N),p(Tt,8),p(Re));};}static{this.ɵcmp=fe({type:i,selectors:[["mat-tab-body"]],viewQuery:function(n,r){if(n&1&&q(gc,5),n&2){let o;A(o=O())&&(r._portalHost=o.first);}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[Ee],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(n,r){if(n&1){let o=Ne();g(0,"div",1,0),X("@translateTab.start",function(a){return Q(o),Z(r._onTranslateTabStarted(a));})("@translateTab.done",function(a){return Q(o),Z(r._translateTabComplete.next(a));}),H(2,SO,0,0,"ng-template",2),_();}n&2&&y("@translateTab",Lb(3,xO,r._position,Pb(1,DO,r.animationDuration)));},dependencies:[qO,p0],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[WO.translateTab]}});}}return i;})(),XO=0,YO=!0,Y0=(()=>{class i{get fitInkBarToContent(){return this._fitInkBarToContent;}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck();}get selectedIndex(){return this._selectedIndex;}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e;}get animationDuration(){return this._animationDuration;}set animationDuration(e){let n=e+"";this._animationDuration=/^\d+$/.test(n)?e+"ms":n;}get contentTabIndex(){return this._contentTabIndex;}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e;}get backgroundColor(){return this._backgroundColor;}set backgroundColor(e){if(!YO)throw new Error("mat-tab-group background color must be set through the Sass theming API");let n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e;}constructor(e,n,r,o){this._elementRef=e,this._changeDetectorRef=n,this._animationMode=o,this._tabs=new Ai(),this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=pe.EMPTY,this._tabLabelSubscription=pe.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new V(),this.focusChange=new V(),this.animationDone=new V(),this.selectedTabChange=new V(!0),this._isServer=!M(Me).isBrowser,this._groupId=XO++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=r&&r.disablePagination!=null?r.disablePagination:!1,this.dynamicHeight=r&&r.dynamicHeight!=null?r.dynamicHeight:!1,r?.contentTabIndex!=null&&(this.contentTabIndex=r.contentTabIndex),this.preserveContent=!!r?.preserveContent,this.fitInkBarToContent=r&&r.fitInkBarToContent!=null?r.fitInkBarToContent:!1,this.stretchTabs=r&&r.stretchTabs!=null?r.stretchTabs:!0;}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let n=this._selectedIndex==null;if(!n){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px";}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),n||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="");});}this._tabs.forEach((n,r)=>{n.position=r-e,this._selectedIndex!=null&&n.position==0&&!n.origin&&(n.origin=e-this._selectedIndex);}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck());}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let n=this._tabs.toArray(),r;for(let o=0;o{n[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e));});}this._changeDetectorRef.markForCheck();});}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(qt(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(n=>n._closestTabGroup===this||!n._closestTabGroup)),this._tabs.notifyOnChanges();});}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe();}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab();}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination();}focusTab(e){let n=this._tabHeader;n&&(n.focusIndex=e);}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e));}_createChangeEvent(e){let n=new rf();return n.index=e,this._tabs&&this._tabs.length&&(n.tab=this._tabs.toArray()[e]),n;}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=wt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck());}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0));}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`;}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`;}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let n=this._tabBodyWrapper.nativeElement;n.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(n.style.height=e+"px");}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit();}_handleClick(e,n,r){n.focusIndex=r,e.disabled||(this.selectedIndex=r);}_getTabIndex(e){let n=this._lastFocusedTabIndex??this.selectedIndex;return e===n?0:-1;}_tabFocusChanged(e,n){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=n);}static{this.ɵfac=function(n){return new(n||i)(p(N),p(Re),p($O,8),p(Ke,8));};}static{this.ɵcmp=fe({type:i,selectors:[["mat-tab-group"]],contentQueries:function(n,r,o){if(n&1&&He(o,sf,5),n&2){let s;A(s=O())&&(r._allTabs=s);}},viewQuery:function(n,r){if(n&1&&(q(MO,5),q(TO,5)),n&2){let o;A(o=O())&&(r._tabBodyWrapper=o.first),A(o=O())&&(r._tabHeader=o.first);}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(n,r){n&2&&(_i("mat-"+(r.color||"primary")),xr("--mat-tab-animation-duration",r.animationDuration),K("mat-mdc-tab-group-dynamic-height",r.dynamicHeight)("mat-mdc-tab-group-inverted-header",r.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",r.stretchTabs));},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",z],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",z],dynamicHeight:[2,"dynamicHeight","dynamicHeight",z],selectedIndex:[2,"selectedIndex","selectedIndex",Dt],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Dt],disablePagination:[2,"disablePagination","disablePagination",z],disableRipple:[2,"disableRipple","disableRipple",z],preserveContent:[2,"preserveContent","preserveContent",z],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[ve([{provide:W0,useExisting:i}]),De,Ee],ngContentSelectors:of,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(n,r){if(n&1){let o=Ne();ke(),g(0,"mat-tab-header",3,0),X("indexFocused",function(a){return Q(o),Z(r._focusChanged(a));})("selectFocusedIndex",function(a){return Q(o),Z(r.selectedIndex=a);}),rl(2,OO,8,17,"div",4,rh),_(),H(4,NO,1,0),g(5,"div",5,1),rl(7,FO,1,13,"mat-tab-body",6,rh),_();}n&2&&(y("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),v(2),ol(r._tabs),v(2),xe(r._isServer?4:-1),v(),K("_mat-animation-noopable",r._animationMode==="NoopAnimations"),v(2),ol(r._tabs));},dependencies:[UO,q0,By,Rt,gc,X0],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2});}}return i;})(),rf=class{};var Q0=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y,Y]});}}return i;})();function ZO(i,t){if(i&1&&(g(0,"mat-option",7),we(1),_()),i&2){let e=t.$implicit;y("value",e),v(),ct(e);}}function KO(i,t){if(i&1&&(kn(0),g(1,"mat-form-field")(2,"mat-label"),G(3,0),_(),g(4,"mat-select",5),H(5,ZO,2,2,"mat-option",6),_()(),Rn()),i&2){let e=F();v(5),y("ngForOf",e.hours);}}function JO(i,t){i&1&&(g(0,"span"),we(1,":"),_());}function eN(i,t){if(i&1&&(g(0,"mat-option",7),we(1),_()),i&2){let e=t.$implicit;y("value",e),v(),ct(e);}}function tN(i,t){if(i&1&&(kn(0),H(1,JO,2,0,"span",4),g(2,"mat-form-field")(3,"mat-label"),G(4,1),_(),g(5,"mat-select",8),H(6,eN,2,2,"mat-option",6),_()(),Rn()),i&2){let e=F();v(),y("ngIf",!e.hideHours),v(5),y("ngForOf",e.minutes);}}function iN(i,t){i&1&&(g(0,"span"),we(1,":"),_());}function nN(i,t){if(i&1&&(g(0,"mat-option",7),we(1),_()),i&2){let e=t.$implicit;y("value",e),v(),ct(e);}}function rN(i,t){if(i&1&&(kn(0),H(1,iN,2,0,"span",4),g(2,"mat-form-field")(3,"mat-label"),G(4,2),_(),g(5,"mat-select",9),H(6,nN,2,2,"mat-option",6),_()(),Rn()),i&2){let e=F();v(),y("ngIf",!e.hideMinutes),v(5),y("ngForOf",e.seconds);}}function oN(i,t){if(i&1&&(g(0,"mat-option",7),we(1),_()),i&2){let e=t.$implicit;y("value",e),v(),ct(e);}}function sN(i,t){if(i&1&&(kn(0),ee(1,"span"),we(2,". "),g(3,"mat-form-field")(4,"mat-select",10),H(5,oN,2,2,"mat-option",6),_()(),Rn()),i&2){let e=F();v(5),y("ngForOf",e.hourTypes);}}var aN=["minutesTab"],lN=["hourlyTab"],cN=["dailyTab"],dN=["weeklyTab"],uN=["monthlyTab"],hN=["yearlyTab"],mN=["advancedTab"];function fN(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit;y("value",e),v(),ct(e);}}function pN(i,t){if(i&1&&(g(0,"div")(1,"span"),G(2,9),_(),ee(3,"cron-time-picker",61),_()),i&2){let e=F(2);v(3),y("formGroup",e.allForm)("hideHours",!0)("hideMinutes",!0)("use24HourTime",e.options.use24HourTime)("hideSeconds",e.options.hideSeconds||!e.isCronFlavorQuartz);}}function gN(i,t){if(i&1){let e=Ne();g(0,"mat-tab",55,0)(2,"div",56),X("click",function(){Q(e);let r=F();return Z(r.allForm.controls.cronType.setValue("minutely"));}),g(3,"div")(4,"span"),G(5,7),_(),g(6,"mat-form-field")(7,"mat-label"),G(8,8),_(),g(9,"mat-select",57),H(10,fN,2,2,"mat-option",58),_()()(),H(11,pN,4,5,"div",59),_()();}if(i&2){let e=F();y("formGroup",e.allForm),v(10),y("ngForOf",e.selectOptions.minutes),v(),y("ngIf",e.isCronFlavorQuartz);}}function _N(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit;y("value",e),v(),ct(e);}}function bN(i,t){if(i&1){let e=Ne();g(0,"mat-tab",62,1)(2,"div",56),X("click",function(){Q(e);let r=F();return Z(r.allForm.controls.cronType.setValue("hourly"));}),g(3,"div")(4,"span",63),G(5,10),_(),g(6,"mat-form-field",64)(7,"mat-label"),G(8,11),_(),g(9,"mat-select",65),H(10,_N,2,2,"mat-option",58),_()()(),g(11,"div")(12,"span"),G(13,12),_(),ee(14,"cron-time-picker",66),_()()();}if(i&2){let e=F();v(6),y("formGroup",e.allForm),v(4),y("ngForOf",e.selectOptions.hours),v(4),y("formGroup",e.allForm)("hideHours",!0)("use24HourTime",e.options.use24HourTime)("hideSeconds",e.options.hideSeconds||!e.isCronFlavorQuartz);}}function vN(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit;y("value",e),v(),dt(" ",e," ");}}function yN(i,t){if(i&1){let e=Ne();g(0,"mat-tab",67,2)(2,"div",56),X("click",function(){Q(e);let r=F();return Z(r.allForm.controls.cronType.setValue("daily"));}),g(3,"div",64)(4,"span"),G(5,13),_(),g(6,"mat-radio-group",68)(7,"mat-radio-button",69)(8,"mat-form-field")(9,"mat-label"),G(10,14),_(),g(11,"mat-select",70),H(12,vN,2,2,"mat-option",58),_()()(),g(13,"mat-radio-button",71)(14,"span"),G(15,15),_()()()(),g(16,"div")(17,"span"),G(18,16),_(),ee(19,"cron-time-picker",72),_()()();}if(i&2){let e=F();v(3),y("formGroup",e.allForm),v(4),y("value",!1)("checked",!0),v(5),y("ngForOf",e.selectOptions.monthDays),v(),y("value",!0),v(6),y("formGroup",e.allForm)("use24HourTime",e.options.use24HourTime)("hideSeconds",e.options.hideSeconds||!e.isCronFlavorQuartz);}}function IN(i,t){if(i&1){let e=Ne();g(0,"mat-tab",73,3)(2,"div",56),X("click",function(){Q(e);let r=F();return Z(r.allForm.controls.cronType.setValue("weekly"));}),g(3,"div")(4,"span"),G(5,17),_(),g(6,"span",64)(7,"mat-checkbox",74),G(8,18),_(),g(9,"mat-checkbox",75),G(10,19),_(),g(11,"mat-checkbox",76),G(12,20),_(),g(13,"mat-checkbox",77),G(14,21),_(),g(15,"mat-checkbox",78),G(16,22),_(),g(17,"mat-checkbox",79),G(18,23),_(),g(19,"mat-checkbox",80),G(20,24),_()()(),g(21,"div")(22,"span",63),G(23,25),_(),ee(24,"cron-time-picker",72),_()()();}if(i&2){let e=F();v(6),y("formGroup",e.allForm),v(18),y("formGroup",e.allForm)("use24HourTime",e.options.use24HourTime)("hideSeconds",e.options.hideSeconds||!e.isCronFlavorQuartz);}}function wN(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit,n=F(2);y("value",e),v(),dt(" ",n.monthDayDisplay(e)," ");}}function EN(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit;y("value",e),v(),dt(" ",e," ");}}function CN(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit,n=F(2);y("value",e),v(),dt(" ",n.monthWeekDisplay(e)," ");}}function DN(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit,n=F(2);y("value",e),v(),dt(" ",n.dayDisplay(e)," ");}}function xN(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit;y("value",e),v(),dt(" ",e," ");}}function SN(i,t){if(i&1){let e=Ne();g(0,"mat-tab",81,4)(2,"div",82),X("click",function(){Q(e);let r=F();return Z(r.allForm.controls.cronType.setValue("monthly"));}),g(3,"mat-radio-group",83)(4,"mat-radio-button",84)(5,"span"),G(6,26),_(),g(7,"mat-form-field")(8,"mat-label"),G(9,27),_(),g(10,"mat-select",85),H(11,wN,2,2,"mat-option",58),_()(),g(12,"span"),G(13,28),_(),g(14,"mat-form-field")(15,"mat-label"),G(16,29),_(),g(17,"mat-select",86),H(18,EN,2,2,"mat-option",58),_()()(),g(19,"mat-radio-button",84)(20,"span"),G(21,30),_(),g(22,"mat-form-field")(23,"mat-label"),G(24,31),_(),g(25,"mat-select",87),H(26,CN,2,2,"mat-option",58),_()(),g(27,"mat-form-field")(28,"mat-label"),G(29,32),_(),g(30,"mat-select",88),H(31,DN,2,2,"mat-option",58),_()(),g(32,"span"),G(33,33),_(),g(34,"mat-form-field")(35,"mat-label"),G(36,34),_(),g(37,"mat-select",89),H(38,xN,2,2,"mat-option",58),_()()()(),g(39,"div",90)(40,"span"),G(41,35),_(),ee(42,"cron-time-picker",72),_()()();}if(i&2){let e=F();v(2),y("formGroup",e.allForm),v(2),y("value",!1),v(7),y("ngForOf",e.selectOptions.monthDays),v(6),y("ngClass",e.options.formSelectClass),v(),y("ngForOf",e.selectOptions.months),v(),y("value",!0),v(7),y("ngForOf",e.selectOptions.monthWeeks),v(5),y("ngForOf",e.selectOptions.days),v(7),y("ngForOf",e.selectOptions.months),v(4),y("formGroup",e.allForm)("use24HourTime",e.options.use24HourTime)("hideSeconds",e.options.hideSeconds||!e.isCronFlavorQuartz);}}function MN(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit,n=F(2);y("value",e),v(),dt(" ",n.monthDayDisplay(e)," ");}}function TN(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit,n=F(2);y("value",e),v(),dt(" ",n.monthDisplay(e)," ");}}function kN(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit,n=F(2);y("value",e),v(),dt(" ",n.monthWeekDisplay(e)," ");}}function RN(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit,n=F(2);y("value",e),v(),dt(" ",n.dayDisplay(e)," ");}}function AN(i,t){if(i&1&&(g(0,"mat-option",60),we(1),_()),i&2){let e=t.$implicit,n=F(2);y("value",e),v(),dt(" ",n.monthDisplay(e)," ");}}function ON(i,t){if(i&1&&(g(0,"mat-tab",91,5)(2,"div",92)(3,"mat-radio-group",93)(4,"mat-radio-button",94)(5,"span"),G(6,36),_(),g(7,"mat-form-field")(8,"mat-label"),G(9,37),_(),g(10,"mat-select",85),H(11,MN,2,2,"mat-option",58),_()(),g(12,"span"),G(13,38),_(),g(14,"mat-form-field")(15,"mat-label"),G(16,39),_(),g(17,"mat-select",95),H(18,TN,2,2,"mat-option",58),_()()(),g(19,"mat-radio-button",94)(20,"span"),G(21,40),_(),g(22,"mat-form-field")(23,"mat-label"),G(24,41),_(),g(25,"mat-select",96),H(26,kN,2,2,"mat-option",58),_()(),g(27,"mat-form-field")(28,"mat-label"),G(29,42),_(),g(30,"mat-select",97),H(31,RN,2,2,"mat-option",58),_()(),g(32,"span"),G(33,43),_(),g(34,"mat-form-field")(35,"mat-label"),G(36,44),_(),g(37,"mat-select",95),H(38,AN,2,2,"mat-option",58),_()()()(),g(39,"div",90)(40,"span"),G(41,45),_(),ee(42,"cron-time-picker",98),_()()()),i&2){let e=F();v(2),y("formGroup",e.allForm),v(2),y("value",!1),v(7),y("ngForOf",e.selectOptions.monthDays),v(7),y("ngForOf",e.selectOptions.months),v(),y("value",!0),v(7),y("ngForOf",e.selectOptions.monthWeeks),v(5),y("ngForOf",e.selectOptions.days),v(7),y("ngForOf",e.selectOptions.months),v(4),y("disabled",e.disabled)("formGroup",e.allForm)("use24HourTime",e.options.use24HourTime)("hideSeconds",e.options.hideSeconds||!e.isCronFlavorQuartz);}}function NN(i,t){if(i&1&&(g(0,"mat-tab",99,6)(2,"div",92)(3,"mat-form-field")(4,"mat-label"),G(5,46),_(),ee(6,"input",100),_()()()),i&2){let e=F();v(2),y("formGroup",e.allForm);}}function*Sc(i,t){for(let e=i;e<=t;e++)yield e;}var FN=(()=>{class i{get hours(){return this.use24HourTime?[...Sc(0,23)].map(String):[...Sc(0,12)].map(String);}constructor(e){this.parent=e,this.disabled=!1,this.use24HourTime=!0,this.hideHours=!1,this.hideMinutes=!1,this.hideSeconds=!0,this.minutes=[...Sc(0,59)].map(String),this.seconds=[...Sc(0,59)].map(String),this.hourTypes=["AM","PM"];}ngOnInit(){this.allForm=this.parent.control;}static{this.ɵfac=function(n){return new(n||i)(p(ii));};}static{this.ɵcmp=fe({type:i,selectors:[["cron-time-picker"]],inputs:{disabled:"disabled",use24HourTime:"use24HourTime",hideHours:"hideHours",hideMinutes:"hideMinutes",hideSeconds:"hideSeconds"},features:[ve([])],decls:5,vars:5,consts:()=>{let e;e="Hour(s)";let n;n="Minute(s)";let r;return r="Second(s)",[e,n,r,[3,"formGroup"],[4,"ngIf"],["formControlName","hours"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["formControlName","minutes"],["formControlName","seconds"],["formControlName","hourType"]];},template:function(n,r){n&1&&(kn(0,3),H(1,KO,6,1,"ng-container",4)(2,tN,7,2,"ng-container",4)(3,rN,7,2,"ng-container",4)(4,sN,6,1,"ng-container",4),Rn()),n&2&&(y("formGroup",r.allForm),v(),y("ngIf",!r.hideHours),v(),y("ngIf",!r.hideMinutes),v(),y("ngIf",!r.hideSeconds),v(),y("ngIf",!r.use24HourTime));},dependencies:[_h,bh,Yo,Qo,wi,Fr,ss,Gn,us,zn],encapsulation:2});}}return i;})(),hs=class{constructor(){this.cronFlavor="standard",this.defaultTime="00:00:00",this.hideAdvancedTab=!1,this.hideDailyTab=!1,this.hideHourlyTab=!1,this.hideMinutesTab=!1,this.hideMonthlyTab=!1,this.hideSeconds=!1,this.hideSpecificMonthWeekTab=!1,this.hideSpecificWeekDayTab=!1,this.hideWeeklyTab=!1,this.hideYearlyTab=!1,this.use24HourTime=!0;}},PN={SUN:"Sunday",MON:"Monday",TUE:"Tuesday",WED:"Wednesday",THU:"Thursday",FRI:"Friday",SAT:"Saturday"},LN={"#1":"First","#2":"Second","#3":"Third","#4":"Fourth","#5":"Fifth",L:"Last"},VN={1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"},BN=/\d+ 0\/\d+ \* 1\/1 \* [\?\*] \*/,jN=/\d+ \d+ 0\/\d+ 1\/1 \* [\?\*] \*/,HN=/\d+ \d+ \d+ 1\/\d+ \* [\?\*] \*/,zN=/\d+ \d+ \d+ [\?\*] \* MON-FRI \*/,GN=/\d+ \d+ \d+ [\?\*] \* (MON|TUE|WED|THU|FRI|SAT|SUN)(,(MON|TUE|WED|THU|FRI|SAT|SUN))* \*/,UN=/\d+ \d+ \d+ (\d+|L|LW|1W) 1\/\d+ [\?\*] \*/,$N=/\d+ \d+ \d+ [\?\*] 1\/\d+ (MON|TUE|WED|THU|FRI|SAT|SUN)((#[1-5])|L) \*/,WN=/\d+ \d+ \d+ (\d+|L|LW|1W) \d+ [\?\*] \*/,qN=/\d+ \d+ \d+ [\?\*] \d+ (MON|TUE|WED|THU|FRI|SAT|SUN)((#[1-5])|L) \*/,XN={provide:zi,useExisting:it(()=>af),multi:!0};function Mc(i){let t=i.split("/");return t.length===1?{val:t[0],inc:"0"}:{val:t[0],inc:t[1]};}var af=(()=>{class i{get isCronFlavorQuartz(){return this.options.cronFlavor==="quartz";}get isCronFlavorStandard(){return this.options.cronFlavor==="standard";}get yearDefaultChar(){return this.options.cronFlavor==="quartz"?"*":"";}get weekDayDefaultChar(){return this.options.cronFlavor==="quartz"?"?":"*";}get monthDayDefaultChar(){return this.options.cronFlavor==="quartz"?"?":"*";}constructor(e){this.fb=e,this.tabIndex=0,this.disabled=!1,this.options=new hs(),this.selectOptions=this.getSelectOptions(),this.touched=!1,this.allForm=this.fb.group({cronType:["unknown",an.required],seconds:["0"],minutes:["0"],minutesPer:["0"],hours:[this.getAmPmHour("0")],hoursPer:["0"],hoursType:[this.getHourType("0")],days:["0"],daysPer:["0"],months:["0"],monthsInc:["0"],day:["MON"],monthsWeek:["#1"],weekdaysOnly:[!1],specificWeekDay:[!1],specificMonthWeek:[!1],MON:[!0],TUE:[!0],WED:[!0],THU:[!0],FRI:[!0],SAT:[!0],SUN:[!0],expression:["0 0 0 0 0"]});}onTabChange(e){let n=e.tab,r;switch(n){case this.minutesTab:r="minutely";break;case this.hourlyTab:r="hourly";break;case this.dailyTab:r="daily";break;case this.weeklyTab:r="weekly";break;case this.monthlyTab:r="monthly";break;case this.yearlyTab:r="yearly";break;case this.advancedTab:r="unknown";break;default:throw new Error("Invalid tab selected");}this.allForm.controls.cronType.setValue(r);}ngOnInit(){return Tc(this,null,function*(){this.formSub=this.allForm.valueChanges.pipe(Ft(50)).subscribe(e=>{this.markAsTouched();let n=this.computeCron();this.onChange(n);});});}ngOnDestroy(){this.formSub.unsubscribe();}computeCron(){let e;switch(this.allForm.value.cronType){case"minutely":e=this.computeMinutesCron();break;case"hourly":e=this.computeHourlyCron(),this.tabIndex=1;break;case"daily":e=this.computeDailyCron(),this.tabIndex=2;break;case"weekly":e=this.computeWeeklyCron(),this.tabIndex=3;break;case"monthly":e=this.computeMonthlyCron(),this.tabIndex=4;break;case"yearly":e=this.computeYearlyCron(),this.tabIndex=5;break;case"unknown":e=this.computeAdvancedExpression(),this.tabIndex=6;break;default:throw Error("Unknown cron type "+this.allForm.value.cronType+"");}return e;}computeMinutesCron(){let e=this.allForm.value;return`${this.isCronFlavorQuartz?e.seconds:""} 0/${e.minutesPer} * 1/1 * ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim();}computeHourlyCron(){let e=this.allForm.value;return`${this.isCronFlavorQuartz?e.seconds:""} ${e.minutes} 0/${e.hoursPer} 1/1 * ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim();}computeDailyCron(){return this.allForm.value.weekdaysOnly?this.computeEveryWeekdayCron():this.computeEveryDaysCron();}computeEveryDaysCron(){let e=this.allForm.value;return`${this.isCronFlavorQuartz?e.seconds:""} ${e.minutes} ${this.hourToCron(e.hours,e.hoursType)} 1/${e.daysPer} * ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim();}computeEveryWeekdayCron(){let e=this.allForm.value;return`${this.isCronFlavorQuartz?e.seconds:""} ${e.minutes} ${this.hourToCron(e.hours,e.hoursType)} ${this.monthDayDefaultChar} * MON-FRI ${this.yearDefaultChar}`.trim();}computeWeeklyCron(){let e=this.allForm.value,n=this.selectOptions.days.reduce((r,o)=>e[o]?r.concat([o]):r,[]).join(",")||"*";return`${this.isCronFlavorQuartz?e.seconds:""} ${e.minutes} ${this.hourToCron(e.hours,e.hoursType)} ${this.monthDayDefaultChar} * ${n} ${this.yearDefaultChar}`.trim();}computeMonthlyCron(){let e=this.allForm.value;return e.specificWeekDay?`${this.isCronFlavorQuartz?e.seconds:""} ${e.minutes} ${this.hourToCron(e.hours,e.hoursType)} ${this.monthDayDefaultChar} 1/${e.monthsInc} ${e.day}${e.monthsWeek} ${this.yearDefaultChar}`.trim():`${this.isCronFlavorQuartz?e.seconds:""} ${e.minutes} ${this.hourToCron(e.hours,e.hoursType)} ${e.days} 1/${e.monthsInc} ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim();}computeYearlyCron(){let e=this.allForm.value;return e.specificMonthWeek?`${this.isCronFlavorQuartz?e.seconds:""} ${e.minutes} ${this.hourToCron(e.hours,e.hoursType)} ${this.monthDayDefaultChar} ${e.months} ${e.day}${e.monthsWeek} ${this.yearDefaultChar}`.trim():`${this.isCronFlavorQuartz?e.seconds:""} ${e.minutes} ${this.hourToCron(e.hours,e.hoursType)} ${e.days} ${e.months} ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim();}computeAdvancedExpression(){return this.allForm.value.expression;}dayDisplay(e){return PN[e];}monthWeekDisplay(e){return LN[e];}monthDisplay(e){return VN[parseInt(e,10)];}monthDayDisplay(e){return typeof e=="number"?`${e}${this.getOrdinalSuffix(e)}`:e==="L"?"Last Day":e==="LW"?"Last Weekday":e==="1W"?"First Weekday":`${e}${this.getOrdinalSuffix(e)}`;}getAmPmHour(e){return this.options.use24HourTime?e:((parseInt(e,10)+11)%12+1).toString();}getHourType(e){return this.options.use24HourTime?null:parseInt(e,10)>=12?"PM":"AM";}hourToCron(e,n){return this.options.use24HourTime?e:n==="AM"?e==="12"?"0":e:e==="12"?"12":(parseInt(e,10)+12).toString();}handleModelChange(e){if(!this.cronIsValid(e)){if(this.isCronFlavorQuartz)throw new Error("Invalid cron expression, there must be 6 or 7 segments");if(this.isCronFlavorStandard)throw new Error("Invalid cron expression, there must be 5 segments");}this.allForm.controls.expression.setValue(e),e.split(" ").length===5&&this.isCronFlavorStandard&&(e=`0 ${e} *`);let n=e.split(" ");this.allForm.controls.seconds.setValue(n[0],{emitEvent:!1});let r=Mc(n[1]);this.allForm.controls.minutesPer.setValue(r.inc,{emitEvent:!1}),this.allForm.controls.minutes.setValue(r.val),r=Mc(n[2]),this.allForm.controls.hoursPer.setValue(r.inc),this.allForm.controls.hours.setValue(r.val),this.allForm.controls.hoursType.setValue(this.getHourType(this.allForm.value.hours),{emitEvent:!1}),r=Mc(n[3]),this.allForm.controls.days.setValue(r.val,{emitEvent:!1}),this.allForm.controls.daysPer.setValue(r.inc,{emitEvent:!1}),r=Mc(n[4]),this.allForm.controls.months.setValue(r.val,{emitEvent:!1}),this.allForm.controls.monthsInc.setValue(r.inc,{emitEvent:!1}),this.allForm.controls.SUN.setValue(n[5].match(/(?1&&n.charAt(n.length-2)==="1")return"th";switch(n.charAt(n.length-1)){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th";}}getSelectOptions(){return{months:this.getRange(1,12).map(String),monthWeeks:["#1","#2","#3","#4","#5","L"],days:["SUN","MON","TUE","WED","THU","FRI","SAT"],minutes:this.getRange(0,59).map(String),fullMinutes:this.getRange(0,59).map(String),seconds:this.getRange(0,59).map(String),hours:this.getRange(1,23).map(String),monthDays:this.getRange(1,31).map(String),monthDaysWithLasts:["1W",...this.getRange(1,31).map(String),"LW","L"],monthDaysWithOutLasts:[...this.getRange(1,31).map(String)],hourTypes:["AM","PM"]};}getRange(e,n){let r=n-e+1;return Array.apply(null,Array(r)).map((o,s)=>s+e);}writeValue(e){e!==null&&this.handleModelChange(e);}registerOnChange(e){this.onChange=e;}registerOnTouched(e){this.onTouched=e;}setDisabledState(e){this.disabled=e;}markAsTouched(){this.touched||(this.onTouched(),this.touched=!0);}static{this.ɵfac=function(n){return new(n||i)(p(Wl));};}static{this.ɵcmp=fe({type:i,selectors:[["cron-editor"]],viewQuery:function(n,r){if(n&1&&(q(aN,5),q(lN,5),q(cN,5),q(dN,5),q(uN,5),q(hN,5),q(mN,5)),n&2){let o;A(o=O())&&(r.minutesTab=o.first),A(o=O())&&(r.hourlyTab=o.first),A(o=O())&&(r.dailyTab=o.first),A(o=O())&&(r.weeklyTab=o.first),A(o=O())&&(r.monthlyTab=o.first),A(o=O())&&(r.yearlyTab=o.first),A(o=O())&&(r.advancedTab=o.first);}},inputs:{backgroundColor:"backgroundColor",color:"color",disabled:"disabled",options:"options"},features:[ve([XN])],decls:8,vars:8,consts:()=>{let e;e="Minutely";let n;n="Hourly";let r;r="Daily";let o;o="Weekly";let s;s="Monthly";let a;a="Yearly";let l;l="Advanced";let c;c="Every";let d;d="Minute(s)";let u;u="At time";let m;m="Every ";let h;h="Hour(s)";let f;f="At time ";let b;b="Every ";let E;E="Day(s)";let C;C="Week Day (MON-FRI) ";let B;B="At time ";let ue;ue="Every:";let ce;ce="Monday";let Ge;Ge="Tuesday";let ye;ye="Wednesday";let be;be="Thursday";let Ve;Ve="Friday";let yt;yt="Saturday";let Di;Di="Sunday";let Ur;Ur=" At ";let si;si="On the";let $n;$n="Day";let $r;$r="of every";let Wr;Wr="Month";let R;R="On the";let j;j="Week";let U;U="Day";let he;he="of every";let Ue;Ue="Month";let It;It="At time";let rt;rt="On the";let Gt;Gt="Day";let Fe;Fe="of";let qr;qr="Month";let ms;ms="On the";let Xe;Xe="Week";let ai;ai="Day";let ht;ht="of";let hn;hn="Month";let Wn;Wn="At time";let cf;return cf="Expression",[["minutesTab",""],["hourlyTab",""],["dailyTab",""],["weeklyTab",""],["monthlyTab",""],["yearlyTab",""],["advancedTab",""],c,d,u,m,h,f,b,E,C,B,ue,ce,Ge,ye,be,Ve,yt,Di,Ur,si,$n,$r,Wr,R,j,U,he,Ue,It,rt,Gt,Fe,qr,ms,Xe,ai,ht,hn,Wn,cf,[3,"selectedTabChange","selectedIndexChange","selectedIndex"],["label",e,3,"formGroup",4,"ngIf"],["label",n,4,"ngIf"],["label",r,4,"ngIf"],["label",o,4,"ngIf"],["label",s,4,"ngIf"],["label",a,4,"ngIf"],["label",l,4,"ngIf"],["label",e,3,"formGroup"],[1,"cron-editor-tab-content",3,"click"],["formControlName","minutesPer"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"],[3,"formGroup","hideHours","hideMinutes","use24HourTime","hideSeconds"],["label",n],[1,"cron-form-label"],[3,"formGroup"],["formControlName","hoursPer"],[3,"formGroup","hideHours","use24HourTime","hideSeconds"],["label",r],["formControlName","weekdaysOnly",1,"cron-editor-radio-group"],["name","subTab",1,"cron-editor-radio-button",3,"value","checked"],["formControlName","daysPer"],["name","subTab",1,"cron-editor-radio-button",3,"value"],[3,"formGroup","use24HourTime","hideSeconds"],["label",o],["formControlName","MON"],["formControlName","TUE"],["formControlName","WED"],["formControlName","THU"],["formControlName","FRI"],["formControlName","SAT"],["formControlName","SUN"],["label",s],[1,"cron-editor-tab-content",3,"click","formGroup"],["formControlName","specificWeekDay"],["name","monthly-radio",1,"cron-editor-pad-line",3,"value"],["formControlName","days"],["formControlName","monthsInc",3,"ngClass"],["formControlName","monthsWeek",1,"day-order-in-month"],["formControlName","day",1,"week-days"],["formControlName","monthsInc",1,"months-small"],[1,"cron-editor-pad-line"],["label",a],[1,"cron-editor-tab-content",3,"formGroup"],["formControlName","specificMonthWeek",1,"cron-editor-radio-group"],["name","yearly-radio",1,"cron-editor-pad-line",3,"value"],["formControlName","months"],["formControlName","monthsWeek"],["formControlName","day"],[3,"disabled","formGroup","use24HourTime","hideSeconds"],["label",l],["matInput","","type","text","formControlName","expression",1,"advanced-cron-editor-input"]];},template:function(n,r){n&1&&(g(0,"mat-tab-group",47),X("selectedTabChange",function(s){return r.onTabChange(s);}),To("selectedIndexChange",function(s){return sl(r.tabIndex,s)||(r.tabIndex=s),s;}),H(1,gN,12,3,"mat-tab",48)(2,bN,15,6,"mat-tab",49)(3,yN,20,8,"mat-tab",50)(4,IN,25,4,"mat-tab",51)(5,SN,43,12,"mat-tab",52)(6,ON,43,12,"mat-tab",53)(7,NN,7,1,"mat-tab",54),_()),n&2&&(Mo("selectedIndex",r.tabIndex),v(),y("ngIf",!r.options.hideMinutesTab),v(),y("ngIf",!r.options.hideHourlyTab),v(),y("ngIf",!r.options.hideDailyTab),v(),y("ngIf",!r.options.hideWeeklyTab),v(),y("ngIf",!r.options.hideMonthlyTab),v(),y("ngIf",!r.options.hideYearlyTab),v(),y("ngIf",!r.options.hideAdvancedTab));},dependencies:[ml,_h,bh,Or,Yo,Qo,wi,Fr,sf,Y0,ss,Gn,us,zn,wc,ef,xc,Ic,FN],styles:[".cron-editor-tab-content[_ngcontent-%COMP%]{margin-top:24px}.cron-editor-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0;align-items:flex-start}.cron-editor-radio-button[_ngcontent-%COMP%]{margin:5px}.cron-editor-pad-line[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{padding-left:8px}"]});}}return i;})(),Z0=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[et,ql,Xl,Q0,Cc,yc,Ec,z0,N0]});}}return i;})();var QN=["cronEditorDemo1"],ZN=["cronEditorDemo2"],K0=(()=>{class i{constructor(e){this.fb=e,this.cronExpression="0/3 * 1/1 * *",this.cronOptions=new hs(),this.form=this.fb.group({expressionInput:[this.cronExpression],expressionEditor:[this.cronExpression]});}ngOnInit(){let e=this.form.get("expressionInput"),n=this.form.get("expressionEditor");e.valueChanges.subscribe(r=>{r!==n.value&&n.setValue(r);}),n.valueChanges.subscribe(r=>{r!==e.value&&e.setValue(r);});}cronFlavorChange(){this.cronEditorDemo1.options=this.cronOptions,this.cronEditorDemo2.options=this.cronOptions;}static{this.ɵfac=function(n){return new(n||i)(p(Wl));};}static{this.ɵcmp=fe({type:i,selectors:[["app-root"]],viewQuery:function(n,r){if(n&1&&(q(QN,5),q(ZN,5)),n&2){let o;A(o=O())&&(r.cronEditorDemo1=o.first),A(o=O())&&(r.cronEditorDemo2=o.first);}},decls:30,vars:6,consts:()=>{let e;e="Angular Cron Expression Editor";let n;n="Configuration";let r;r="Flavor";let o;o="Quartz";let s;s="Standard";let a;a="Expression";let l;l=" Editor ";let c;return c="Cron here...",[["cronEditorDemo2",""],e,n,r,o,s,a,l,c,[1,"mat-typography","demo-container"],[3,"change","ngModelChange","ngModel"],[3,"value"],[3,"formGroup"],["type","text","matInput","","formControlName","expressionInput"],["formControlName","expressionEditor",3,"options"]];},template:function(n,r){if(n&1){let o=Ne();g(0,"section",9)(1,"h2"),G(2,1),_(),g(3,"mat-card")(4,"mat-card-header")(5,"mat-card-title"),G(6,2),_()(),g(7,"mat-card-content")(8,"mat-form-field")(9,"mat-label"),G(10,3),_(),g(11,"mat-select",10),X("change",function(){return Q(o),Z(r.cronFlavorChange());}),To("ngModelChange",function(a){return Q(o),sl(r.cronOptions.cronFlavor,a)||(r.cronOptions.cronFlavor=a),Z(a);}),g(12,"mat-option",11),G(13,4),_(),g(14,"mat-option",11),G(15,5),_()()(),g(16,"form",12)(17,"mat-form-field")(18,"mat-label"),G(19,6),_(),ee(20,"input",13),_()()()(),g(21,"mat-card")(22,"mat-card-header")(23,"mat-card-title"),G(24,7),_()(),g(25,"mat-card-content")(26,"form",12)(27,"cron-editor",14,0),G(29,8),_()()()()();}n&2&&(v(11),Mo("ngModel",r.cronOptions.cronFlavor),v(),y("value","quartz"),v(2),y("value","standard"),v(2),y("formGroup",r.form),v(10),y("formGroup",r.form),v(),y("options",r.cronOptions));},dependencies:[Iy,Or,Yo,Qo,fm,wi,Fr,Yy,Zy,Ky,Qy,ss,Gn,us,zn,af,wc],styles:[".demo-container[_ngcontent-%COMP%]{margin:30px}.demo-container[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{margin-bottom:24px}.demo-container[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%]{margin-bottom:8px}"]});}}return i;})();var KN=["button"],JN=["*"];function e1(i,t){if(i&1&&ee(0,"mat-pseudo-checkbox",3),i&2){let e=F();y("disabled",e.disabled);}}function t1(i,t){if(i&1&&ee(0,"mat-pseudo-checkbox",3),i&2){let e=F();y("disabled",e.disabled);}}var i1=new w("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:n1});function n1(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1};}var r1=new w("MatButtonToggleGroup");var o1=0,lf=class{constructor(t,e){this.source=t,this.value=e;}};var s1=(()=>{class i{get buttonId(){return`${this.id}-button`;}get tabIndex(){return this._tabIndex;}set tabIndex(e){this._tabIndex=e,this._markForCheck();}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance;}set appearance(e){this._appearance=e;}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked;}set checked(e){e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck());}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled;}set disabled(e){this._disabled=e;}get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive;}set disabledInteractive(e){this._disabledInteractive=e;}constructor(e,n,r,o,s,a){this._changeDetectorRef=n,this._elementRef=r,this._focusMonitor=o,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new V();let l=Number(s);this.tabIndex=l||l===0?l:null,this.buttonToggleGroup=e,this.appearance=a&&a.appearance?a.appearance:"standard",this.disabledInteractive=a?.disabledInteractive??!1;}ngOnInit(){let e=this.buttonToggleGroup;this.id=this.id||`mat-button-toggle-${o1++}`,e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked));}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0);}ngOnDestroy(){let e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0);}focus(e){this._buttonElement.nativeElement.focus(e);}_onButtonClick(){if(this.disabled)return;let e=this.isSingleSelector()?!0:!this._checked;if(e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let n=this.buttonToggleGroup._buttonToggles.find(r=>r.tabIndex===0);n&&(n.tabIndex=-1),this.tabIndex=0;}this.change.emit(new lf(this,this.value));}_markForCheck(){this._changeDetectorRef.markForCheck();}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null;}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple;}static{this.ɵfac=function(n){return new(n||i)(p(r1,8),p(Re),p(N),p(is),Bt("tabindex"),p(i1,8));};}static{this.ɵcmp=fe({type:i,selectors:[["mat-button-toggle"]],viewQuery:function(n,r){if(n&1&&q(KN,5),n&2){let o;A(o=O())&&(r._buttonElement=o.first);}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(n,r){n&1&&X("focus",function(){return r.focus();}),n&2&&(ge("aria-label",null)("aria-labelledby",null)("id",r.id)("name",null),K("mat-button-toggle-standalone",!r.buttonToggleGroup)("mat-button-toggle-checked",r.checked)("mat-button-toggle-disabled",r.disabled)("mat-button-toggle-disabled-interactive",r.disabledInteractive)("mat-button-toggle-appearance-standard",r.appearance==="standard"));},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",z],appearance:"appearance",checked:[2,"checked","checked",z],disabled:[2,"disabled","disabled",z],disabledInteractive:[2,"disabledInteractive","disabledInteractive",z]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[De,Ee],ngContentSelectors:JN,decls:8,vars:14,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,r){if(n&1){let o=Ne();ke(),g(0,"button",1,0),X("click",function(){return Q(o),Z(r._onButtonClick());}),g(2,"span",2),H(3,e1,1,1,"mat-pseudo-checkbox",3)(4,t1,1,1,"mat-pseudo-checkbox",3),ae(5),_()(),ee(6,"span",4)(7,"span",5);}if(n&2){let o=Ct(1);y("id",r.buttonId)("disabled",r.disabled&&!r.disabledInteractive||null),ge("role",r.isSingleSelector()?"radio":"button")("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-pressed",r.isSingleSelector()?null:r.checked)("aria-checked",r.isSingleSelector()?r.checked:null)("name",r._getButtonName())("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),v(3),xe(r.buttonToggleGroup&&r.checked&&!r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),v(),xe(r.buttonToggleGroup&&r.checked&&r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),v(3),y("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled);}},dependencies:[Rt,Rm],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full));border:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-app-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-legacy-button-toggle-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-legacy-button-toggle-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color, var(--mat-app-on-surface));background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font, var(--mat-app-label-large-font));font-size:var(--mat-standard-button-toggle-label-text-size, var(--mat-app-label-large-size));line-height:var(--mat-standard-button-toggle-label-text-line-height, var(--mat-app-label-large-line-height));font-weight:var(--mat-standard-button-toggle-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mat-standard-button-toggle-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-app-on-secondary-container));background-color:var(--mat-standard-button-toggle-selected-state-background-color, var(--mat-app-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-standard-button-toggle-disabled-selected-state-text-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color, var(--mat-app-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full));border-bottom-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full));border-bottom-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full))}"],encapsulation:2,changeDetection:0});}}return i;})(),J0=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i});}static{this.ɵinj=T({imports:[Y,At,s1,Y]});}}return i;})();var eI=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=k({type:i,bootstrap:[K0]});}static{this.ɵinj=T({providers:[{provide:Lm,useValue:{appearance:"outline"}}],imports:[et,_l,ql,Xl,Wv,Jy,yc,R0,d0,S0,u0,Xy,My,Z0,Ec,Cc,J0]});}}return i;})();var tI={production:!0};tI.production&&void 0;mv().bootstrapModule(eI);/**i18n:cbe5cfdf7c2118a9c3d78ef1d684f3afa089201352886449a06a6511cfef74a7*/ \ No newline at end of file diff --git a/apps/demo/browser/en-US/polyfills-ZY7SMUNE.js b/apps/demo/browser/en-US/polyfills-ZY7SMUNE.js new file mode 100644 index 0000000..49e130a --- /dev/null +++ b/apps/demo/browser/en-US/polyfills-ZY7SMUNE.js @@ -0,0 +1,2 @@ +var ce=globalThis;function ee(e){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+e;}function dt(){let e=ce.performance;function r(N){e&&e.mark&&e.mark(N);}function c(N,_){e&&e.measure&&e.measure(N,_);}r("Zone");let t=(()=>{class N{static{this.__symbol__=ee;}static assertZonePatched(){if(ce.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)");}static get root(){let n=N.current;for(;n.parent;)n=n.parent;return n;}static get current(){return b.zone;}static get currentTask(){return D;}static __load_patch(n,o,p=!1){if(O.hasOwnProperty(n)){let P=ce[ee("forceDuplicateZoneCheck")]===!0;if(!p&&P)throw Error("Already loaded patch: "+n);}else if(!ce["__Zone_disable_"+n]){let P="Zone:"+n;r(P),O[n]=o(ce,N,R),c(P,P);}}get parent(){return this._parent;}get name(){return this._name;}constructor(n,o){this._parent=n,this._name=o?o.name||"unnamed":"",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o);}get(n){let o=this.getZoneWith(n);if(o)return o._properties[n];}getZoneWith(n){let o=this;for(;o;){if(o._properties.hasOwnProperty(n))return o;o=o._parent;}return null;}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n);}wrap(n,o){if(typeof n!="function")throw new Error("Expecting function got: "+n);let p=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(p,this,arguments,o);};}run(n,o,p,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,p,P);}finally{b=b.parent;}}runGuarded(n,o=null,p,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,p,P);}catch(q){if(this._zoneDelegate.handleError(this,q))throw q;}}finally{b=b.parent;}}runTask(n,o,p){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");let P=n,{type:q,data:{isPeriodic:A=!1,isRefreshable:_e=!1}={}}=n;if(n.state===X&&(q===U||q===g))return;let ae=n.state!=j;ae&&P._transitionTo(j,h);let le=D;D=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!_e&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,p);}catch(ne){if(this._zoneDelegate.handleError(this,ne))throw ne;}}finally{let ne=n.state;if(ne!==X&&ne!==Y)if(q==U||A||_e&&ne===k)ae&&P._transitionTo(h,j,k);else{let f=P._zoneDelegates;this._updateTaskCount(P,-1),ae&&P._transitionTo(X,j,X),_e&&(P._zoneDelegates=f);}b=b.parent,D=le;}}scheduleTask(n){if(n.zone&&n.zone!==this){let p=this;for(;p;){if(p===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);p=p.parent;}}n._transitionTo(k,X);let o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n);}catch(p){throw n._transitionTo(Y,k,X),this._zoneDelegate.handleError(this,p),p;}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==k&&n._transitionTo(h,k),n;}scheduleMicroTask(n,o,p,P){return this.scheduleTask(new E(V,n,o,p,P,void 0));}scheduleMacroTask(n,o,p,P,q){return this.scheduleTask(new E(g,n,o,p,P,q));}scheduleEventTask(n,o,p,P,q){return this.scheduleTask(new E(U,n,o,p,P,q));}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");if(!(n.state!==h&&n.state!==j)){n._transitionTo(G,h,j);try{this._zoneDelegate.cancelTask(this,n);}catch(o){throw n._transitionTo(Y,G),this._zoneDelegate.handleError(this,o),o;}return this._updateTaskCount(n,-1),n._transitionTo(X,G),n.runCount=-1,n;}}_updateTaskCount(n,o){let p=n._zoneDelegates;o==-1&&(n._zoneDelegates=null);for(let P=0;PN.hasTask(n,o),onScheduleTask:(N,_,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,_,n,o,p,P)=>N.invokeTask(n,o,p,P),onCancelTask:(N,_,n,o)=>N.cancelTask(n,o)};class u{get zone(){return this._zone;}constructor(_,n,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_,this._parentDelegate=n,this._forkZS=o&&(o&&o.onFork?o:n._forkZS),this._forkDlgt=o&&(o.onFork?n:n._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:n._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:n._interceptZS),this._interceptDlgt=o&&(o.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:n._invokeZS),this._invokeDlgt=o&&(o.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:n._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:n._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:n._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:n._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let p=o&&o.onHasTask,P=n&&n._hasTaskZS;(p||P)&&(this._hasTaskZS=p?o:i,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone));}fork(_,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,n):new t(_,n);}intercept(_,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,n,o):n;}invoke(_,n,o,p,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,n,o,p,P):n.apply(o,p);}handleError(_,n){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,n):!0;}scheduleTask(_,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else if(n.type==V)z(n);else throw new Error("Task is missing scheduleFn.");return o;}invokeTask(_,n,o,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,n,o,p):n.callback.apply(o,p);}cancelTask(_,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n);}return o;}hasTask(_,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,n);}catch(o){this.handleError(_,o);}}_updateTaskCount(_,n){let o=this._taskCounts,p=o[_],P=o[_]=p+n;if(P<0)throw new Error("More tasks executed then were scheduled.");if(p==0||P==0){let q={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:_};this.hasTask(this._zone,q);}}}class E{constructor(_,n,o,p,P,q){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_,this.source=n,this.data=p,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;let A=this;_===U&&p&&p.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ce,A,this,arguments);};}static invokeTask(_,n,o){_||(_=this),Q++;try{return _.runCount++,_.zone.runTask(_,n,o);}finally{Q==1&&J(),Q--;}}get zone(){return this._zone;}get state(){return this._state;}cancelScheduleRequest(){this._transitionTo(X,k);}_transitionTo(_,n,o){if(this._state===n||this._state===o)this._state=_,_==X&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`);}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this);}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount};}}let T=ee("setTimeout"),y=ee("Promise"),S=ee("then"),d=[],w=!1,Z;function x(N){if(Z||ce[y]&&(Z=ce[y].resolve(0)),Z){let _=Z[S];_||(_=Z.then),_.call(Z,N);}else ce[T](N,0);}function z(N){Q===0&&d.length===0&&x(J),N&&d.push(N);}function J(){if(!w){for(w=!0;d.length;){let N=d;d=[];for(let _=0;_b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:x},b={parent:null,zone:new t(null,null)},D=null,Q=0;function W(){}return c("Zone","Zone"),t;}function _t(){let e=globalThis,r=e[ee("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(r||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??=dt(),e.Zone;}var be=Object.getOwnPropertyDescriptor,Ae=Object.defineProperty,je=Object.getPrototypeOf,Et=Object.create,Tt=Array.prototype.slice,He="addEventListener",xe="removeEventListener",Le=ee(He),Ie=ee(xe),ue="true",fe="false",Pe=ee("");function Ge(e,r){return Zone.current.wrap(e,r);}function Ve(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i);}var H=ee,Se=typeof window<"u",pe=Se?window:void 0,$=Se&&pe||globalThis,gt="removeAttribute";function Fe(e,r){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ge(e[c],r+"_"+c));return e;}function mt(e,r){let c=e.constructor.name;for(let t=0;t{let y=function(){return T.apply(this,Fe(arguments,c+"."+i));};return de(y,T),y;})(u);}}}function tt(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0;}var nt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in $)&&typeof $.process<"u"&&$.process.toString()==="[object process]",Be=!De&&!nt&&!!(Se&&pe.HTMLElement),rt=typeof $.process<"u"&&$.process.toString()==="[object process]"&&!nt&&!!(Se&&pe.HTMLElement),Ce={},yt=H("enable_beforeunload"),Ye=function(e){if(e=e||$.event,!e)return;let r=Ce[e.type];r||(r=Ce[e.type]=H("ON_PROPERTY"+e.type));let c=this||e.target||$,t=c[r],i;if(Be&&c===pe&&e.type==="error"){let u=e;i=t&&t.call(this,u.message,u.filename,u.lineno,u.colno,u.error),i===!0&&e.preventDefault();}else i=t&&t.apply(this,arguments),e.type==="beforeunload"&&$[yt]&&typeof i=="string"?e.returnValue=i:i!=null&&!i&&e.preventDefault();return i;};function $e(e,r,c){let t=be(e,r);if(!t&&c&&be(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;let i=H("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;let u=t.get,E=t.set,T=r.slice(2),y=Ce[T];y||(y=Ce[T]=H("ON_PROPERTY"+T)),t.set=function(S){let d=this;if(!d&&e===$&&(d=$),!d)return;typeof d[y]=="function"&&d.removeEventListener(T,Ye),E&&E.call(d,null),d[y]=S,typeof S=="function"&&d.addEventListener(T,Ye,!1);},t.get=function(){let S=this;if(!S&&e===$&&(S=$),!S)return null;let d=S[y];if(d)return d;if(u){let w=u.call(this);if(w)return t.set.call(this,w),typeof S[gt]=="function"&&S.removeAttribute(r),w;}return null;},Ae(e,r,t),e[i]=!0;}function ot(e,r,c){if(r)for(let t=0;tfunction(E,T){let y=c(E,T);return y.cbIdx>=0&&typeof T[y.cbIdx]=="function"?Ve(y.name,T[y.cbIdx],y,i):u.apply(E,T);});}function de(e,r){e[H("OriginalDelegate")]=r;}var Je=!1,Me=!1;function kt(){try{let e=pe.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0;}catch{}return!1;}function vt(){if(Je)return Me;Je=!0;try{let e=pe.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Me=!0);}catch{}return Me;}function Ke(e){return typeof e=="function";}function Qe(e){return typeof e=="number";}var ye=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){ye=!0;}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e);}catch{ye=!1;}var bt={useG:!0},te={},st={},it=new RegExp("^"+Pe+"(\\w+)(true|false)$"),ct=H("propagationStopped");function at(e,r){let c=(r?r(e):e)+fe,t=(r?r(e):e)+ue,i=Pe+c,u=Pe+t;te[e]={},te[e][fe]=i,te[e][ue]=u;}function Pt(e,r,c,t){let i=t&&t.add||He,u=t&&t.rm||xe,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",y=H(i),S="."+i+":",d="prependListener",w="."+d+":",Z=function(k,h,j){if(k.isRemoved)return;let G=k.callback;typeof G=="object"&&G.handleEvent&&(k.callback=g=>G.handleEvent(g),k.originalDelegate=G);let Y;try{k.invoke(k,h,[j]);}catch(g){Y=g;}let V=k.options;if(V&&typeof V=="object"&&V.once){let g=k.originalDelegate?k.originalDelegate:k.callback;h[u].call(h,j.type,g,V);}return Y;};function x(k,h,j){if(h=h||e.event,!h)return;let G=k||h.target||e,Y=G[te[h.type][j?ue:fe]];if(Y){let V=[];if(Y.length===1){let g=Z(Y[0],G,h);g&&V.push(g);}else{let g=Y.slice();for(let U=0;U{throw U;});}}}let z=function(k){return x(this,k,!1);},J=function(k){return x(this,k,!0);};function K(k,h){if(!k)return!1;let j=!0;h&&h.useG!==void 0&&(j=h.useG);let G=h&&h.vh,Y=!0;h&&h.chkDup!==void 0&&(Y=h.chkDup);let V=!1;h&&h.rt!==void 0&&(V=h.rt);let g=k;for(;g&&!g.hasOwnProperty(i);)g=je(g);if(!g&&k[i]&&(g=k),!g||g[y])return!1;let U=h&&h.eventNameToString,O={},R=g[y]=g[i],b=g[H(u)]=g[u],D=g[H(E)]=g[E],Q=g[H(T)]=g[T],W;h&&h.prepend&&(W=g[H(h.prepend)]=g[h.prepend]);function N(s,l){return!ye&&typeof s=="object"&&s?!!s.capture:!ye||!l?s:typeof s=="boolean"?{capture:s,passive:!0}:s?typeof s=="object"&&s.passive!==!1?{...s,passive:!0}:s:{passive:!0};}let _=function(s){if(!O.isExisting)return R.call(O.target,O.eventName,O.capture?J:z,O.options);},n=function(s){if(!s.isRemoved){let l=te[s.eventName],v;l&&(v=l[s.capture?ue:fe]);let C=v&&s.target[v];if(C){for(let m=0;mre.zone.cancelTask(re);s.call(Te,"abort",ie,{once:!0}),re.removeAbortListener=()=>Te.removeEventListener("abort",ie);}if(O.target=null,ke&&(ke.taskData=null),ze&&(O.options.once=!0),!ye&&typeof re.options=="boolean"||(re.options=se),re.target=I,re.capture=Oe,re.eventName=M,B&&(re.originalDelegate=F),L?ge.unshift(re):ge.push(re),m)return I;};};return g[i]=a(R,S,q,A,V),W&&(g[d]=a(W,w,p,A,V,!0)),g[u]=function(){let s=this||e,l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));let v=arguments[2],C=v?typeof v=="boolean"?!0:v.capture:!1,m=arguments[1];if(!m)return b.apply(this,arguments);if(G&&!G(b,m,s,arguments))return;let L=te[l],I;L&&(I=L[C?ue:fe]);let M=I&&s[I];if(M)for(let F=0;Ffunction(i,u){i[ct]=!0,t&&t.apply(i,u);});}function Rt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0]);});}var Re=H("zoneTask");function me(e,r,c,t){let i=null,u=null;r+=t,c+=t;let E={};function T(S){let d=S.data;d.args[0]=function(){return S.invoke.apply(this,arguments);};let w=i.apply(e,d.args);return Qe(w)?d.handleId=w:(d.handle=w,d.isRefreshable=Ke(w.refresh)),S;}function y(S){let{handle:d,handleId:w}=S.data;return u.call(e,d??w);}i=he(e,r,S=>function(d,w){if(Ke(w[0])){let Z={isRefreshable:!1,isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?w[1]||0:void 0,args:w},x=w[0];w[0]=function(){try{return x.apply(this,arguments);}finally{let{handle:j,handleId:G,isPeriodic:Y,isRefreshable:V}=Z;!Y&&!V&&(G?delete E[G]:j&&(j[Re]=null));}};let z=Ve(r,w[0],Z,T,y);if(!z)return z;let{handleId:J,handle:K,isRefreshable:X,isPeriodic:k}=z.data;if(J)E[J]=z;else if(K&&(K[Re]=z,X&&!k)){let h=K.refresh;K.refresh=function(){let{zone:j,state:G}=z;return G==="notScheduled"?(z._state="scheduled",j._updateTaskCount(z,1)):G==="running"&&(z._state="scheduling"),h.call(this);};}return K??J??z;}else return S.apply(e,w);}),u=he(e,c,S=>function(d,w){let Z=w[0],x;Qe(Z)?(x=E[Z],delete E[Z]):(x=Z?.[Re],x?Z[Re]=null:x=Z),x?.type?x.cancelFn&&x.zone.cancelTask(x):S.apply(e,w);});}function Ct(e,r){let{isBrowser:c,isMix:t}=r.getGlobalObjects();if(!c&&!t||!e.customElements||!("customElements"in e))return;let i=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];r.patchCallbacks(r,e.customElements,"customElements","define",i);}function St(e,r){if(Zone[r.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let y=0;yu.target===e);if(!t||t.length===0)return r;let i=t[0].ignoreProperties;return r.filter(u=>i.indexOf(u)===-1);}function et(e,r,c,t){if(!e)return;let i=ut(e,r,c);ot(e,i,t);}function Ze(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2));}function Ot(e,r){if(De&&!rt||Zone[e.symbol("patchEvents")])return;let c=r.__Zone_ignore_on_properties,t=[];if(Be){let i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let u=kt()?[{target:i,ignoreProperties:["error"]}]:[];et(i,Ze(i),c&&c.concat(u),je(i));}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{let c=r[e.__symbol__("legacyPatch")];c&&c();}),e.__load_patch("timers",r=>{let c="set",t="clear";me(r,c,t,"Timeout"),me(r,c,t,"Interval"),me(r,c,t,"Immediate");}),e.__load_patch("requestAnimationFrame",r=>{me(r,"request","cancel","AnimationFrame"),me(r,"mozRequest","mozCancel","AnimationFrame"),me(r,"webkitRequest","webkitCancel","AnimationFrame");}),e.__load_patch("blocking",(r,c)=>{let t=["alert","prompt","confirm"];for(let i=0;ifunction(S,d){return c.current.run(E,r,d,y);});}}),e.__load_patch("EventTarget",(r,c,t)=>{Dt(r,t),St(r,t);let i=r.XMLHttpRequestEventTarget;i&&i.prototype&&t.patchEventTarget(r,t,[i.prototype]);}),e.__load_patch("MutationObserver",(r,c,t)=>{ve("MutationObserver"),ve("WebKitMutationObserver");}),e.__load_patch("IntersectionObserver",(r,c,t)=>{ve("IntersectionObserver");}),e.__load_patch("FileReader",(r,c,t)=>{ve("FileReader");}),e.__load_patch("on_property",(r,c,t)=>{Ot(t,r);}),e.__load_patch("customElements",(r,c,t)=>{Ct(r,t);}),e.__load_patch("XHR",(r,c)=>{S(r);let t=H("xhrTask"),i=H("xhrSync"),u=H("xhrListener"),E=H("xhrScheduled"),T=H("xhrURL"),y=H("xhrErrorBeforeScheduled");function S(d){let w=d.XMLHttpRequest;if(!w)return;let Z=w.prototype;function x(R){return R[t];}let z=Z[Le],J=Z[Ie];if(!z){let R=d.XMLHttpRequestEventTarget;if(R){let b=R.prototype;z=b[Le],J=b[Ie];}}let K="readystatechange",X="scheduled";function k(R){let b=R.data,D=b.target;D[E]=!1,D[y]=!1;let Q=D[u];z||(z=D[Le],J=D[Ie]),Q&&J.call(D,K,Q);let W=D[u]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[E]&&R.state===X){let _=D[c.__symbol__("loadfalse")];if(D.status!==0&&_&&_.length>0){let n=R.invoke;R.invoke=function(){let o=D[c.__symbol__("loadfalse")];for(let p=0;pfunction(R,b){return R[i]=b[2]==!1,R[T]=b[1],G.apply(R,b);}),Y="XMLHttpRequest.send",V=H("fetchTaskAborting"),g=H("fetchTaskScheduling"),U=he(Z,"send",()=>function(R,b){if(c.current[g]===!0||R[i])return U.apply(R,b);{let D={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},Q=Ve(Y,h,D,k,j);R&&R[y]===!0&&!D.aborted&&Q.state===X&&Q.invoke();}}),O=he(Z,"abort",()=>function(R,b){let D=x(R);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D);}else if(c.current[V]===!0)return O.apply(R,b);});}}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&mt(r.navigator.geolocation,["getCurrentPosition","watchPosition"]);}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){lt(r,i).forEach(T=>{let y=r.PromiseRejectionEvent;if(y){let S=new y(i,{promise:u.promise,reason:u.rejection});T.invoke(S);}});};}r.PromiseRejectionEvent&&(c[H("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[H("rejectionHandledHandler")]=t("rejectionhandled"));}),e.__load_patch("queueMicrotask",(r,c,t)=>{Rt(r,t);});}function Lt(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{let i=Object.getOwnPropertyDescriptor,u=Object.defineProperty;function E(f){if(f&&f.toString===Object.prototype.toString){let a=f.constructor&&f.constructor.name;return(a||"")+": "+JSON.stringify(f);}return f?f.toString():Object.prototype.toString.call(f);}let T=t.symbol,y=[],S=r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,d=T("Promise"),w=T("then"),Z="__creationTrace__";t.onUnhandledError=f=>{if(t.showUncaughtError()){let a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f);}},t.microtaskDrainDone=()=>{for(;y.length;){let f=y.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f;});}catch(a){z(a);}}};let x=T("unhandledPromiseRejectionHandler");function z(f){t.onUnhandledError(f);try{let a=c[x];typeof a=="function"&&a.call(this,f);}catch{}}function J(f){return f&&f.then;}function K(f){return f;}function X(f){return A.reject(f);}let k=T("state"),h=T("value"),j=T("finally"),G=T("parentPromiseValue"),Y=T("parentPromiseState"),V="Promise.then",g=null,U=!0,O=!1,R=0;function b(f,a){return s=>{try{N(f,a,s);}catch(l){N(f,!1,l);}};}let D=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments));};};},Q="Promise resolved with itself",W=T("currentTaskTrace");function N(f,a,s){let l=D();if(f===s)throw new TypeError(Q);if(f[k]===g){let v=null;try{(typeof s=="object"||typeof s=="function")&&(v=s&&s.then);}catch(C){return l(()=>{N(f,!1,C);})(),f;}if(a!==O&&s instanceof A&&s.hasOwnProperty(k)&&s.hasOwnProperty(h)&&s[k]!==g)n(s),N(f,s[k],s[h]);else if(a!==O&&typeof v=="function")try{v.call(s,l(b(f,a)),l(b(f,!1)));}catch(C){l(()=>{N(f,!1,C);})();}else{f[k]=a;let C=f[h];if(f[h]=s,f[j]===j&&a===U&&(f[k]=f[Y],f[h]=f[G]),a===O&&s instanceof Error){let m=c.currentTask&&c.currentTask.data&&c.currentTask.data[Z];m&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:m});}for(let m=0;m{try{let L=f[h],I=!!s&&j===s[j];I&&(s[G]=L,s[Y]=C);let M=a.run(m,void 0,I&&m!==X&&m!==K?[]:[L]);N(s,!0,M);}catch(L){N(s,!1,L);}},s);}let p="function ZoneAwarePromise() { [native code] }",P=function(){},q=r.AggregateError;class A{static toString(){return p;}static resolve(a){return a instanceof A?a:N(new this(null),U,a);}static reject(a){return N(new this(null),O,a);}static withResolvers(){let a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l;}),a;}static any(a){if(!a||typeof a[Symbol.iterator]!="function")return Promise.reject(new q([],"All promises were rejected"));let s=[],l=0;try{for(let m of a)l++,s.push(A.resolve(m));}catch{return Promise.reject(new q([],"All promises were rejected"));}if(l===0)return Promise.reject(new q([],"All promises were rejected"));let v=!1,C=[];return new A((m,L)=>{for(let I=0;I{v||(v=!0,m(M));},M=>{C.push(M),l--,l===0&&(v=!0,L(new q(C,"All promises were rejected")));});});}static race(a){let s,l,v=new this((L,I)=>{s=L,l=I;});function C(L){s(L);}function m(L){l(L);}for(let L of a)J(L)||(L=this.resolve(L)),L.then(C,m);return v;}static all(a){return A.allWithCallback(a);}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})});}static allWithCallback(a,s){let l,v,C=new this((M,F)=>{l=M,v=F;}),m=2,L=0,I=[];for(let M of a){J(M)||(M=this.resolve(M));let F=L;try{M.then(B=>{I[F]=s?s.thenCallback(B):B,m--,m===0&&l(I);},B=>{s?(I[F]=s.errorCallback(B),m--,m===0&&l(I)):v(B);});}catch(B){v(B);}m++,L++;}return m-=2,m===0&&l(I),C;}constructor(a){let s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[k]=g,s[h]=[];try{let l=D();a&&a(l(b(s,U)),l(b(s,O)));}catch(l){N(s,!1,l);}}get[Symbol.toStringTag](){return"Promise";}get[Symbol.species](){return A;}then(a,s){let l=this.constructor?.[Symbol.species];(!l||typeof l!="function")&&(l=this.constructor||A);let v=new l(P),C=c.current;return this[k]==g?this[h].push(C,v,a,s):o(this,C,v,a,s),v;}catch(a){return this.then(null,a);}finally(a){let s=this.constructor?.[Symbol.species];(!s||typeof s!="function")&&(s=A);let l=new s(P);l[j]=j;let v=c.current;return this[k]==g?this[h].push(v,l,a,a):o(this,v,l,a,a),l;}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;let _e=r[d]=r.Promise;r.Promise=A;let ae=T("thenPatched");function le(f){let a=f.prototype,s=i(a,"then");if(s&&(s.writable===!1||!s.configurable))return;let l=a.then;a[w]=l,f.prototype.then=function(v,C){return new A((L,I)=>{l.call(this,L,I);}).then(v,C);},f[ae]=!0;}t.patchThen=le;function ne(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let v=l.constructor;return v[ae]||le(v),l;};}return _e&&(le(_e),he(r,"fetch",f=>ne(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=y,A;});}function It(e){e.__load_patch("toString",r=>{let c=Function.prototype.toString,t=H("OriginalDelegate"),i=H("Promise"),u=H("Error"),E=function(){if(typeof this=="function"){let d=this[t];if(d)return typeof d=="function"?c.call(d):Object.prototype.toString.call(d);if(this===Promise){let w=r[i];if(w)return c.call(w);}if(this===Error){let w=r[u];if(w)return c.call(w);}}return c.call(this);};E[t]=c,Function.prototype.toString=E;let T=Object.prototype.toString,y="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?y:T.call(this);};});}function Mt(e,r,c,t,i){let u=Zone.__symbol__(t);if(r[u])return;let E=r[u]=r[t];r[t]=function(T,y,S){return y&&y.prototype&&i.forEach(function(d){let w=`${c}.${t}::`+d,Z=y.prototype;try{if(Z.hasOwnProperty(d)){let x=e.ObjectGetOwnPropertyDescriptor(Z,d);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,w),e._redefineProperty(y.prototype,d,x)):Z[d]&&(Z[d]=e.wrapWithCurrentZone(Z[d],w));}else Z[d]&&(Z[d]=e.wrapWithCurrentZone(Z[d],w));}catch{}}),E.call(r,T,y,S);},e.attachOriginToPatched(r[t],E);}function Zt(e){e.__load_patch("util",(r,c,t)=>{let i=Ze(r);t.patchOnProperties=ot,t.patchMethod=he,t.bindArguments=Fe,t.patchMacroTask=pt;let u=c.__symbol__("BLACK_LISTED_EVENTS"),E=c.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(c[u]=c[E]=r[u]),t.patchEventPrototype=wt,t.patchEventTarget=Pt,t.isIEOrEdge=vt,t.ObjectDefineProperty=Ae,t.ObjectGetOwnPropertyDescriptor=be,t.ObjectCreate=Et,t.ArraySlice=Tt,t.patchClass=ve,t.wrapWithCurrentZone=Ge,t.filterProperties=ut,t.attachOriginToPatched=de,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Mt,t.getGlobalObjects=()=>({globalSources:st,zoneSymbolEventNames:te,eventNames:i,isBrowser:Be,isMix:rt,isNode:De,TRUE_STR:ue,FALSE_STR:fe,ZONE_SYMBOL_PREFIX:Pe,ADD_EVENT_LISTENER_STR:He,REMOVE_EVENT_LISTENER_STR:xe});});}function At(e){Lt(e),It(e),Zt(e);}var ft=_t();At(ft);Nt(ft);(globalThis.$localize??={}).locale="en-US";/**i18n:cbe5cfdf7c2118a9c3d78ef1d684f3afa089201352886449a06a6511cfef74a7*/ \ No newline at end of file diff --git a/apps/demo/browser/en-US/styles-6NCYGVEZ.css b/apps/demo/browser/en-US/styles-6NCYGVEZ.css new file mode 100644 index 0000000..c5a9c23 --- /dev/null +++ b/apps/demo/browser/en-US/styles-6NCYGVEZ.css @@ -0,0 +1 @@ +.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element,.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.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:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;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:rgba(0,0,0,0);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:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-app-background, transparent));color:var(--mat-app-text-color, var(--mat-app-on-background, inherit))}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html{--mat-app-background-color:#faf9fd;--mat-app-text-color:#1a1b1f;--mat-app-elevation-shadow-level-0:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2:0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3:0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4:0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7:0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8:0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9:0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10:0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11:0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12:0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13:0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14:0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15:0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16:0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17:0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18:0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19:0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20:0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21:0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22:0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23:0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24:0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-ripple-color:rgba(26, 27, 31, .1);--mat-option-selected-state-label-text-color:#131c2b;--mat-option-label-text-color:#1a1b1f;--mat-option-hover-state-layer-color:rgba(26, 27, 31, .08);--mat-option-focus-state-layer-color:rgba(26, 27, 31, .12);--mat-option-selected-state-layer-color:#dae2f9;--mat-option-label-text-font:Roboto, sans-serif;--mat-option-label-text-line-height:1.25rem;--mat-option-label-text-size:1rem;--mat-option-label-text-tracking:.006rem;--mat-option-label-text-weight:400;--mat-optgroup-label-text-color:#44474e;--mat-optgroup-label-text-font:Roboto, sans-serif;--mat-optgroup-label-text-line-height:1.25rem;--mat-optgroup-label-text-size:.875rem;--mat-optgroup-label-text-tracking:.006rem;--mat-optgroup-label-text-weight:500;--mat-full-pseudo-checkbox-selected-icon-color:#005cbb;--mat-full-pseudo-checkbox-selected-checkmark-color:#ffffff;--mat-full-pseudo-checkbox-unselected-icon-color:#44474e;--mat-full-pseudo-checkbox-disabled-selected-checkmark-color:#faf9fd;--mat-full-pseudo-checkbox-disabled-unselected-icon-color:rgba(26, 27, 31, .38);--mat-full-pseudo-checkbox-disabled-selected-icon-color:rgba(26, 27, 31, .38);--mat-minimal-pseudo-checkbox-selected-checkmark-color:#005cbb;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color:rgba(26, 27, 31, .38);--mdc-elevated-card-container-color:#faf9fd;--mdc-elevated-card-container-elevation:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-elevated-card-container-shape:12px;--mdc-outlined-card-container-color:#faf9fd;--mdc-outlined-card-outline-color:#c4c6d0;--mdc-outlined-card-container-elevation:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-shape:12px;--mdc-outlined-card-outline-width:1px;--mat-card-subtitle-text-color:#1a1b1f;--mat-card-title-text-font:Roboto, sans-serif;--mat-card-title-text-line-height:1.75rem;--mat-card-title-text-size:1.375rem;--mat-card-title-text-tracking:0;--mat-card-title-text-weight:400;--mat-card-subtitle-text-font:Roboto, sans-serif;--mat-card-subtitle-text-line-height:1.5rem;--mat-card-subtitle-text-size:1rem;--mat-card-subtitle-text-tracking:.009rem;--mat-card-subtitle-text-weight:500;--mdc-linear-progress-active-indicator-color:#005cbb;--mdc-linear-progress-track-color:#e0e2ec;--mdc-linear-progress-active-indicator-height:4px;--mdc-linear-progress-track-height:4px;--mdc-linear-progress-track-shape:0;--mdc-plain-tooltip-container-color:#2f3033;--mdc-plain-tooltip-supporting-text-color:#f2f0f4;--mdc-plain-tooltip-supporting-text-line-height:1rem;--mdc-plain-tooltip-supporting-text-font:Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size:.75rem;--mdc-plain-tooltip-supporting-text-weight:400;--mdc-plain-tooltip-supporting-text-tracking:.025rem;--mdc-plain-tooltip-container-shape:4px;--mdc-filled-text-field-caret-color:#005cbb;--mdc-filled-text-field-focus-active-indicator-color:#005cbb;--mdc-filled-text-field-focus-label-text-color:#005cbb;--mdc-filled-text-field-container-color:#e0e2ec;--mdc-filled-text-field-disabled-container-color:rgba(26, 27, 31, .04);--mdc-filled-text-field-label-text-color:#44474e;--mdc-filled-text-field-hover-label-text-color:#44474e;--mdc-filled-text-field-disabled-label-text-color:rgba(26, 27, 31, .38);--mdc-filled-text-field-input-text-color:#1a1b1f;--mdc-filled-text-field-disabled-input-text-color:rgba(26, 27, 31, .38);--mdc-filled-text-field-input-text-placeholder-color:#44474e;--mdc-filled-text-field-error-hover-label-text-color:#410002;--mdc-filled-text-field-error-focus-label-text-color:#ba1a1a;--mdc-filled-text-field-error-label-text-color:#ba1a1a;--mdc-filled-text-field-active-indicator-color:#44474e;--mdc-filled-text-field-disabled-active-indicator-color:rgba(26, 27, 31, .38);--mdc-filled-text-field-hover-active-indicator-color:#1a1b1f;--mdc-filled-text-field-error-active-indicator-color:#ba1a1a;--mdc-filled-text-field-error-focus-active-indicator-color:#ba1a1a;--mdc-filled-text-field-error-hover-active-indicator-color:#410002;--mdc-filled-text-field-label-text-font:Roboto, sans-serif;--mdc-filled-text-field-label-text-size:1rem;--mdc-filled-text-field-label-text-tracking:.031rem;--mdc-filled-text-field-label-text-weight:400;--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;--mdc-outlined-text-field-caret-color:#005cbb;--mdc-outlined-text-field-focus-outline-color:#005cbb;--mdc-outlined-text-field-focus-label-text-color:#005cbb;--mdc-outlined-text-field-label-text-color:#44474e;--mdc-outlined-text-field-hover-label-text-color:#1a1b1f;--mdc-outlined-text-field-disabled-label-text-color:rgba(26, 27, 31, .38);--mdc-outlined-text-field-input-text-color:#1a1b1f;--mdc-outlined-text-field-disabled-input-text-color:rgba(26, 27, 31, .38);--mdc-outlined-text-field-input-text-placeholder-color:#44474e;--mdc-outlined-text-field-error-focus-label-text-color:#ba1a1a;--mdc-outlined-text-field-error-label-text-color:#ba1a1a;--mdc-outlined-text-field-error-hover-label-text-color:#410002;--mdc-outlined-text-field-outline-color:#74777f;--mdc-outlined-text-field-disabled-outline-color:rgba(26, 27, 31, .12);--mdc-outlined-text-field-hover-outline-color:#1a1b1f;--mdc-outlined-text-field-error-focus-outline-color:#ba1a1a;--mdc-outlined-text-field-error-hover-outline-color:#410002;--mdc-outlined-text-field-error-outline-color:#ba1a1a;--mdc-outlined-text-field-label-text-font:Roboto, sans-serif;--mdc-outlined-text-field-label-text-size:1rem;--mdc-outlined-text-field-label-text-tracking:.031rem;--mdc-outlined-text-field-label-text-weight:400;--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px;--mat-form-field-focus-select-arrow-color:#005cbb;--mat-form-field-disabled-input-text-placeholder-color:rgba(26, 27, 31, .38);--mat-form-field-state-layer-color:#1a1b1f;--mat-form-field-error-text-color:#ba1a1a;--mat-form-field-select-option-text-color:#1a1b1f;--mat-form-field-select-disabled-option-text-color:rgba(26, 27, 31, .38);--mat-form-field-leading-icon-color:#44474e;--mat-form-field-disabled-leading-icon-color:rgba(26, 27, 31, .38);--mat-form-field-trailing-icon-color:#44474e;--mat-form-field-disabled-trailing-icon-color:rgba(26, 27, 31, .38);--mat-form-field-error-focus-trailing-icon-color:#ba1a1a;--mat-form-field-error-hover-trailing-icon-color:#410002;--mat-form-field-error-trailing-icon-color:#ba1a1a;--mat-form-field-enabled-select-arrow-color:#44474e;--mat-form-field-disabled-select-arrow-color:rgba(26, 27, 31, .38);--mat-form-field-hover-state-layer-opacity:.08;--mat-form-field-container-text-font:Roboto, sans-serif;--mat-form-field-container-text-line-height:1.5rem;--mat-form-field-container-text-size:1rem;--mat-form-field-container-text-tracking:.031rem;--mat-form-field-container-text-weight:400;--mat-form-field-subscript-text-font:Roboto, sans-serif;--mat-form-field-subscript-text-line-height:1rem;--mat-form-field-subscript-text-size:.75rem;--mat-form-field-subscript-text-tracking:.025rem;--mat-form-field-subscript-text-weight:400;--mat-form-field-container-height:56px;--mat-form-field-filled-label-display:block;--mat-form-field-container-vertical-padding:16px;--mat-form-field-filled-with-label-container-padding-top:24px;--mat-form-field-filled-with-label-container-padding-bottom:8px;--mat-form-field-focus-state-layer-opacity:0;--mat-select-panel-background-color:#efedf0;--mat-select-enabled-trigger-text-color:#1a1b1f;--mat-select-disabled-trigger-text-color:rgba(26, 27, 31, .38);--mat-select-placeholder-text-color:#44474e;--mat-select-enabled-arrow-color:#44474e;--mat-select-disabled-arrow-color:rgba(26, 27, 31, .38);--mat-select-focused-arrow-color:#005cbb;--mat-select-invalid-arrow-color:#ba1a1a;--mat-select-trigger-text-font:Roboto, sans-serif;--mat-select-trigger-text-line-height:1.5rem;--mat-select-trigger-text-size:1rem;--mat-select-trigger-text-tracking:.031rem;--mat-select-trigger-text-weight:400;--mat-select-arrow-transform:translateY(-8px);--mat-select-container-elevation-shadow:0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-autocomplete-background-color:#efedf0;--mat-autocomplete-container-shape:4px;--mat-autocomplete-container-elevation-shadow:0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-dialog-container-color:#faf9fd;--mdc-dialog-subhead-color:#1a1b1f;--mdc-dialog-supporting-text-color:#44474e;--mdc-dialog-subhead-font:Roboto, sans-serif;--mdc-dialog-subhead-line-height:2rem;--mdc-dialog-subhead-size:1.5rem;--mdc-dialog-subhead-weight:400;--mdc-dialog-subhead-tracking:0;--mdc-dialog-supporting-text-font:Roboto, sans-serif;--mdc-dialog-supporting-text-line-height:1.25rem;--mdc-dialog-supporting-text-size:.875rem;--mdc-dialog-supporting-text-weight:400;--mdc-dialog-supporting-text-tracking:.016rem;--mdc-dialog-container-shape:28px;--mat-dialog-container-elevation-shadow:none;--mat-dialog-container-max-width:560px;--mat-dialog-container-small-max-width: calc(100vw - 32px) ;--mat-dialog-container-min-width:280px;--mat-dialog-actions-alignment:flex-end;--mat-dialog-actions-padding:16px 24px;--mat-dialog-content-padding:20px 24px;--mat-dialog-with-actions-content-padding:20px 24px 0;--mat-dialog-headline-padding:6px 24px 13px;--mdc-chip-outline-color:#74777f;--mdc-chip-disabled-outline-color:rgba(26, 27, 31, .12);--mdc-chip-focus-outline-color:#44474e;--mdc-chip-hover-state-layer-opacity:.08;--mdc-chip-selected-hover-state-layer-opacity:.08;--mdc-chip-disabled-label-text-color:rgba(26, 27, 31, .38);--mdc-chip-elevated-selected-container-color:#dae2f9;--mdc-chip-flat-disabled-selected-container-color:rgba(26, 27, 31, .12);--mdc-chip-focus-state-layer-color:#44474e;--mdc-chip-hover-state-layer-color:#44474e;--mdc-chip-selected-hover-state-layer-color:#131c2b;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-selected-focus-state-layer-color:#131c2b;--mdc-chip-selected-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:#44474e;--mdc-chip-selected-label-text-color:#131c2b;--mdc-chip-with-icon-icon-color:#44474e;--mdc-chip-with-icon-disabled-icon-color:#1a1b1f;--mdc-chip-with-icon-selected-icon-color:#131c2b;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#1a1b1f;--mdc-chip-with-trailing-icon-trailing-icon-color:#44474e;--mdc-chip-label-text-font:Roboto, sans-serif;--mdc-chip-label-text-line-height:1.25rem;--mdc-chip-label-text-size:.875rem;--mdc-chip-label-text-tracking:.006rem;--mdc-chip-label-text-weight:500;--mdc-chip-container-height:32px;--mdc-chip-container-shape-radius:8px;--mdc-chip-with-avatar-avatar-shape-radius:24px;--mdc-chip-with-avatar-avatar-size:24px;--mdc-chip-with-icon-icon-size:18px;--mdc-chip-outline-width:1px;--mdc-chip-with-avatar-disabled-avatar-opacity:.38;--mdc-chip-flat-selected-outline-width:0;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity:.38;--mdc-chip-with-icon-disabled-icon-opacity:.38;--mdc-chip-elevated-container-color:transparent;--mat-chip-trailing-action-state-layer-color:#44474e;--mat-chip-selected-trailing-action-state-layer-color:#131c2b;--mat-chip-trailing-action-hover-state-layer-opacity:.08;--mat-chip-trailing-action-focus-state-layer-opacity:.12;--mat-chip-selected-disabled-trailing-icon-color:#1a1b1f;--mat-chip-selected-trailing-icon-color:#131c2b;--mat-chip-disabled-container-opacity:1;--mat-chip-trailing-action-opacity:1;--mat-chip-trailing-action-focus-opacity:1;--mdc-switch-selected-focus-state-layer-opacity:.12;--mdc-switch-selected-hover-state-layer-opacity:.08;--mdc-switch-selected-pressed-state-layer-opacity:.12;--mdc-switch-unselected-focus-state-layer-opacity:.12;--mdc-switch-unselected-hover-state-layer-opacity:.08;--mdc-switch-unselected-pressed-state-layer-opacity:.12;--mdc-switch-selected-focus-state-layer-color:#005cbb;--mdc-switch-selected-handle-color:#ffffff;--mdc-switch-selected-hover-state-layer-color:#005cbb;--mdc-switch-selected-pressed-state-layer-color:#005cbb;--mdc-switch-selected-focus-handle-color:#d7e3ff;--mdc-switch-selected-hover-handle-color:#d7e3ff;--mdc-switch-selected-pressed-handle-color:#d7e3ff;--mdc-switch-selected-focus-track-color:#005cbb;--mdc-switch-selected-hover-track-color:#005cbb;--mdc-switch-selected-pressed-track-color:#005cbb;--mdc-switch-selected-track-color:#005cbb;--mdc-switch-disabled-selected-handle-color:#faf9fd;--mdc-switch-disabled-selected-icon-color:#1a1b1f;--mdc-switch-disabled-selected-track-color:#1a1b1f;--mdc-switch-disabled-unselected-handle-color:#1a1b1f;--mdc-switch-disabled-unselected-icon-color:#e0e2ec;--mdc-switch-disabled-unselected-track-color:#e0e2ec;--mdc-switch-selected-icon-color:#001b3f;--mdc-switch-unselected-focus-handle-color:#44474e;--mdc-switch-unselected-focus-state-layer-color:#1a1b1f;--mdc-switch-unselected-focus-track-color:#e0e2ec;--mdc-switch-unselected-handle-color:#74777f;--mdc-switch-unselected-hover-handle-color:#44474e;--mdc-switch-unselected-hover-state-layer-color:#1a1b1f;--mdc-switch-unselected-hover-track-color:#e0e2ec;--mdc-switch-unselected-icon-color:#e0e2ec;--mdc-switch-unselected-pressed-handle-color:#44474e;--mdc-switch-unselected-pressed-state-layer-color:#1a1b1f;--mdc-switch-unselected-pressed-track-color:#e0e2ec;--mdc-switch-unselected-track-color:#e0e2ec;--mdc-switch-disabled-selected-icon-opacity:.38;--mdc-switch-disabled-track-opacity:.12;--mdc-switch-disabled-unselected-icon-opacity:.38;--mdc-switch-handle-shape:9999px;--mdc-switch-selected-icon-size:16px;--mdc-switch-track-height:32px;--mdc-switch-track-shape:9999px;--mdc-switch-track-width:52px;--mdc-switch-unselected-icon-size:16px;--mdc-switch-state-layer-size:40px;--mat-switch-track-outline-color:#74777f;--mat-switch-disabled-unselected-track-outline-color:#1a1b1f;--mat-switch-label-text-color:#1a1b1f;--mat-switch-label-text-font:Roboto, sans-serif;--mat-switch-label-text-line-height:1.25rem;--mat-switch-label-text-size:.875rem;--mat-switch-label-text-tracking:.016rem;--mat-switch-label-text-weight:400;--mat-switch-disabled-selected-handle-opacity:1;--mat-switch-disabled-unselected-handle-opacity:.38;--mat-switch-unselected-handle-size:16px;--mat-switch-selected-handle-size:24px;--mat-switch-pressed-handle-size:28px;--mat-switch-with-icon-handle-size:24px;--mat-switch-selected-handle-horizontal-margin:0 24px;--mat-switch-selected-with-icon-handle-horizontal-margin:0 24px;--mat-switch-selected-pressed-handle-horizontal-margin:0 22px;--mat-switch-unselected-handle-horizontal-margin:0 8px;--mat-switch-unselected-with-icon-handle-horizontal-margin:0 4px;--mat-switch-unselected-pressed-handle-horizontal-margin:0 2px;--mat-switch-visible-track-opacity:1;--mat-switch-hidden-track-opacity:0;--mat-switch-visible-track-transition:opacity 75ms;--mat-switch-hidden-track-transition:opacity 75ms;--mat-switch-track-outline-width:2px;--mat-switch-selected-track-outline-width:2px;--mat-switch-selected-track-outline-color:transparent;--mat-switch-disabled-unselected-track-outline-width:2px;--mdc-radio-disabled-selected-icon-color:#1a1b1f;--mdc-radio-disabled-unselected-icon-color:#1a1b1f;--mdc-radio-unselected-hover-icon-color:#1a1b1f;--mdc-radio-unselected-icon-color:#44474e;--mdc-radio-unselected-pressed-icon-color:#1a1b1f;--mdc-radio-selected-focus-icon-color:#005cbb;--mdc-radio-selected-hover-icon-color:#005cbb;--mdc-radio-selected-icon-color:#005cbb;--mdc-radio-selected-pressed-icon-color:#005cbb;--mdc-radio-state-layer-size:40px;--mdc-radio-disabled-selected-icon-opacity:.38;--mdc-radio-disabled-unselected-icon-opacity:.38;--mat-radio-ripple-color:#1a1b1f;--mat-radio-checked-ripple-color:#005cbb;--mat-radio-disabled-label-color:rgba(26, 27, 31, .38);--mat-radio-label-text-color:#1a1b1f;--mat-radio-label-text-font:Roboto, sans-serif;--mat-radio-label-text-line-height:1.25rem;--mat-radio-label-text-size:.875rem;--mat-radio-label-text-tracking:.016rem;--mat-radio-label-text-weight:400;--mat-radio-touch-target-display:block;--mdc-slider-handle-elevation:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-slider-handle-color:#005cbb;--mdc-slider-focus-handle-color:#005cbb;--mdc-slider-hover-handle-color:#005cbb;--mdc-slider-active-track-color:#005cbb;--mdc-slider-inactive-track-color:#e0e2ec;--mdc-slider-with-tick-marks-inactive-container-color:#44474e;--mdc-slider-with-tick-marks-active-container-color:#ffffff;--mdc-slider-disabled-active-track-color:#1a1b1f;--mdc-slider-disabled-handle-color:#1a1b1f;--mdc-slider-disabled-inactive-track-color:#1a1b1f;--mdc-slider-label-container-color:#005cbb;--mdc-slider-label-label-text-color:#ffffff;--mdc-slider-with-overlap-handle-outline-color:#ffffff;--mdc-slider-with-tick-marks-disabled-container-color:#1a1b1f;--mdc-slider-label-label-text-font:Roboto, sans-serif;--mdc-slider-label-label-text-size:.75rem;--mdc-slider-label-label-text-line-height:1rem;--mdc-slider-label-label-text-tracking:.031rem;--mdc-slider-label-label-text-weight:500;--mdc-slider-active-track-height:4px;--mdc-slider-active-track-shape:9999px;--mdc-slider-handle-height:20px;--mdc-slider-handle-shape:9999px;--mdc-slider-handle-width:20px;--mdc-slider-inactive-track-height:4px;--mdc-slider-inactive-track-shape:9999px;--mdc-slider-with-overlap-handle-outline-width:1px;--mdc-slider-with-tick-marks-active-container-opacity:.38;--mdc-slider-with-tick-marks-container-shape:9999px;--mdc-slider-with-tick-marks-container-size:2px;--mdc-slider-with-tick-marks-inactive-container-opacity:.38;--mat-slider-ripple-color:#005cbb;--mat-slider-hover-state-layer-color:rgba(0, 92, 187, .05);--mat-slider-focus-state-layer-color:rgba(0, 92, 187, .2);--mat-slider-value-indicator-width:28px;--mat-slider-value-indicator-height:28px;--mat-slider-value-indicator-caret-display:none;--mat-slider-value-indicator-border-radius:50% 50% 50% 0;--mat-slider-value-indicator-padding:0;--mat-slider-value-indicator-text-transform:rotate(45deg);--mat-slider-value-indicator-container-transform:translateX(-50%) rotate(-45deg);--mat-slider-value-indicator-opacity:1;--mat-menu-item-label-text-color:#1a1b1f;--mat-menu-item-icon-color:#44474e;--mat-menu-item-hover-state-layer-color:rgba(26, 27, 31, .08);--mat-menu-item-focus-state-layer-color:rgba(26, 27, 31, .12);--mat-menu-container-color:#efedf0;--mat-menu-divider-color:#e0e2ec;--mat-menu-item-label-text-font:Roboto, sans-serif;--mat-menu-item-label-text-size:.875rem;--mat-menu-item-label-text-tracking:.006rem;--mat-menu-item-label-text-line-height:1.25rem;--mat-menu-item-label-text-weight:500;--mat-menu-container-shape:4px;--mat-menu-divider-bottom-spacing:8px;--mat-menu-divider-top-spacing:8px;--mat-menu-item-spacing:12px;--mat-menu-item-icon-size:24px;--mat-menu-item-leading-spacing:12px;--mat-menu-item-trailing-spacing:12px;--mat-menu-item-with-icon-leading-spacing:12px;--mat-menu-item-with-icon-trailing-spacing:12px;--mat-menu-base-elevation-level:2;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-leading-avatar-color:#d7e3ff;--mdc-list-list-item-disabled-state-layer-color:#1a1b1f;--mdc-list-list-item-disabled-state-layer-opacity:.12;--mdc-list-list-item-label-text-color:#1a1b1f;--mdc-list-list-item-supporting-text-color:#44474e;--mdc-list-list-item-leading-icon-color:#44474e;--mdc-list-list-item-trailing-supporting-text-color:#44474e;--mdc-list-list-item-trailing-icon-color:#44474e;--mdc-list-list-item-selected-trailing-icon-color:#005cbb;--mdc-list-list-item-disabled-label-text-color:#1a1b1f;--mdc-list-list-item-disabled-leading-icon-color:#1a1b1f;--mdc-list-list-item-disabled-trailing-icon-color:#1a1b1f;--mdc-list-list-item-hover-label-text-color:#1a1b1f;--mdc-list-list-item-focus-label-text-color:#1a1b1f;--mdc-list-list-item-hover-state-layer-color:#1a1b1f;--mdc-list-list-item-hover-state-layer-opacity:.08;--mdc-list-list-item-focus-state-layer-color:#1a1b1f;--mdc-list-list-item-focus-state-layer-opacity:.12;--mdc-list-list-item-label-text-font:Roboto, sans-serif;--mdc-list-list-item-label-text-line-height:1.5rem;--mdc-list-list-item-label-text-size:1rem;--mdc-list-list-item-label-text-tracking:.031rem;--mdc-list-list-item-label-text-weight:400;--mdc-list-list-item-supporting-text-font:Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height:1.25rem;--mdc-list-list-item-supporting-text-size:.875rem;--mdc-list-list-item-supporting-text-tracking:.016rem;--mdc-list-list-item-supporting-text-weight:400;--mdc-list-list-item-trailing-supporting-text-font:Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height:1rem;--mdc-list-list-item-trailing-supporting-text-size:.688rem;--mdc-list-list-item-trailing-supporting-text-tracking:.031rem;--mdc-list-list-item-trailing-supporting-text-weight:500;--mdc-list-list-item-one-line-container-height:48px;--mdc-list-list-item-two-line-container-height:64px;--mdc-list-list-item-three-line-container-height:88px;--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:9999px;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-label-text-opacity:.3;--mdc-list-list-item-disabled-leading-icon-opacity:.38;--mdc-list-list-item-disabled-trailing-icon-opacity:.38;--mat-list-active-indicator-color:#dae2f9;--mat-list-list-item-leading-icon-start-space:16px;--mat-list-list-item-leading-icon-end-space:16px;--mat-list-active-indicator-shape:9999px;--mat-paginator-container-text-color:#1a1b1f;--mat-paginator-container-background-color:#faf9fd;--mat-paginator-enabled-icon-color:#44474e;--mat-paginator-disabled-icon-color:rgba(26, 27, 31, .38);--mat-paginator-container-text-font:Roboto, sans-serif;--mat-paginator-container-text-line-height:1rem;--mat-paginator-container-text-size:.75rem;--mat-paginator-container-text-tracking:.025rem;--mat-paginator-container-text-weight:400;--mat-paginator-select-trigger-text-size:.75rem;--mat-paginator-container-size:56px;--mat-paginator-form-field-container-height:40px;--mat-paginator-form-field-container-vertical-padding:8px;--mat-paginator-touch-target-display:block;--mdc-secondary-navigation-tab-container-height:48px;--mdc-tab-indicator-active-indicator-color:#005cbb;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mat-tab-header-divider-color:#e0e2ec;--mat-tab-header-pagination-icon-color:#1a1b1f;--mat-tab-header-inactive-label-text-color:#1a1b1f;--mat-tab-header-active-label-text-color:#1a1b1f;--mat-tab-header-active-ripple-color:#1a1b1f;--mat-tab-header-inactive-ripple-color:#1a1b1f;--mat-tab-header-inactive-focus-label-text-color:#1a1b1f;--mat-tab-header-inactive-hover-label-text-color:#1a1b1f;--mat-tab-header-active-focus-label-text-color:#1a1b1f;--mat-tab-header-active-hover-label-text-color:#1a1b1f;--mat-tab-header-active-focus-indicator-color:#005cbb;--mat-tab-header-active-hover-indicator-color:#005cbb;--mat-tab-header-label-text-font:Roboto, sans-serif;--mat-tab-header-label-text-size:.875rem;--mat-tab-header-label-text-tracking:.006rem;--mat-tab-header-label-text-line-height:1.25rem;--mat-tab-header-label-text-weight:500;--mat-tab-header-divider-height:1px;--mdc-checkbox-disabled-selected-checkmark-color:#faf9fd;--mdc-checkbox-selected-focus-state-layer-opacity:.12;--mdc-checkbox-selected-hover-state-layer-opacity:.08;--mdc-checkbox-selected-pressed-state-layer-opacity:.12;--mdc-checkbox-unselected-focus-state-layer-opacity:.12;--mdc-checkbox-unselected-hover-state-layer-opacity:.08;--mdc-checkbox-unselected-pressed-state-layer-opacity:.12;--mdc-checkbox-selected-pressed-icon-color:#005cbb;--mdc-checkbox-disabled-selected-icon-color:rgba(26, 27, 31, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(26, 27, 31, .38);--mdc-checkbox-selected-checkmark-color:#ffffff;--mdc-checkbox-selected-focus-icon-color:#005cbb;--mdc-checkbox-selected-hover-icon-color:#005cbb;--mdc-checkbox-selected-icon-color:#005cbb;--mdc-checkbox-unselected-focus-icon-color:#1a1b1f;--mdc-checkbox-unselected-hover-icon-color:#1a1b1f;--mdc-checkbox-unselected-icon-color:#44474e;--mdc-checkbox-selected-focus-state-layer-color:#005cbb;--mdc-checkbox-selected-hover-state-layer-color:#005cbb;--mdc-checkbox-selected-pressed-state-layer-color:#1a1b1f;--mdc-checkbox-unselected-focus-state-layer-color:#1a1b1f;--mdc-checkbox-unselected-hover-state-layer-color:#1a1b1f;--mdc-checkbox-unselected-pressed-state-layer-color:#005cbb;--mdc-checkbox-state-layer-size:40px;--mat-checkbox-disabled-label-color:rgba(26, 27, 31, .38);--mat-checkbox-label-text-color:#1a1b1f;--mat-checkbox-label-text-font:Roboto, sans-serif;--mat-checkbox-label-text-line-height:1.25rem;--mat-checkbox-label-text-size:.875rem;--mat-checkbox-label-text-tracking:.016rem;--mat-checkbox-label-text-weight:400;--mat-checkbox-touch-target-display:block;--mdc-text-button-label-text-color:#005cbb;--mdc-text-button-disabled-label-text-color:rgba(26, 27, 31, .38);--mdc-text-button-label-text-font:Roboto, sans-serif;--mdc-text-button-label-text-size:.875rem;--mdc-text-button-label-text-tracking:.006rem;--mdc-text-button-label-text-weight:500;--mdc-text-button-container-height:40px;--mdc-text-button-container-shape:9999px;--mdc-protected-button-container-elevation-shadow:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow:0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-container-color:#faf9fd;--mdc-protected-button-label-text-color:#005cbb;--mdc-protected-button-disabled-container-color:rgba(26, 27, 31, .12);--mdc-protected-button-disabled-label-text-color:rgba(26, 27, 31, .38);--mdc-protected-button-label-text-font:Roboto, sans-serif;--mdc-protected-button-label-text-size:.875rem;--mdc-protected-button-label-text-tracking:.006rem;--mdc-protected-button-label-text-weight:500;--mdc-protected-button-container-height:40px;--mdc-protected-button-container-shape:9999px;--mdc-filled-button-container-color:#005cbb;--mdc-filled-button-label-text-color:#ffffff;--mdc-filled-button-disabled-container-color:rgba(26, 27, 31, .12);--mdc-filled-button-disabled-label-text-color:rgba(26, 27, 31, .38);--mdc-filled-button-label-text-font:Roboto, sans-serif;--mdc-filled-button-label-text-size:.875rem;--mdc-filled-button-label-text-tracking:.006rem;--mdc-filled-button-label-text-weight:500;--mdc-filled-button-container-height:40px;--mdc-filled-button-container-shape:9999px;--mdc-outlined-button-disabled-outline-color:rgba(26, 27, 31, .12);--mdc-outlined-button-disabled-label-text-color:rgba(26, 27, 31, .38);--mdc-outlined-button-label-text-color:#005cbb;--mdc-outlined-button-outline-color:#74777f;--mdc-outlined-button-label-text-font:Roboto, sans-serif;--mdc-outlined-button-label-text-size:.875rem;--mdc-outlined-button-label-text-tracking:.006rem;--mdc-outlined-button-label-text-weight:500;--mdc-outlined-button-container-height:40px;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:9999px;--mat-text-button-state-layer-color:#005cbb;--mat-text-button-disabled-state-layer-color:#44474e;--mat-text-button-ripple-color:rgba(0, 92, 187, .12);--mat-text-button-hover-state-layer-opacity:.08;--mat-text-button-focus-state-layer-opacity:.12;--mat-text-button-pressed-state-layer-opacity:.12;--mat-text-button-touch-target-display:block;--mat-text-button-horizontal-padding:12px;--mat-text-button-with-icon-horizontal-padding:16px;--mat-text-button-icon-spacing:8px;--mat-text-button-icon-offset:-4px;--mat-protected-button-state-layer-color:#005cbb;--mat-protected-button-disabled-state-layer-color:#44474e;--mat-protected-button-ripple-color:rgba(0, 92, 187, .12);--mat-protected-button-hover-state-layer-opacity:.08;--mat-protected-button-focus-state-layer-opacity:.12;--mat-protected-button-pressed-state-layer-opacity:.12;--mat-protected-button-touch-target-display:block;--mat-protected-button-horizontal-padding:24px;--mat-protected-button-icon-spacing:8px;--mat-protected-button-icon-offset:-8px;--mat-filled-button-state-layer-color:#ffffff;--mat-filled-button-disabled-state-layer-color:#44474e;--mat-filled-button-ripple-color:rgba(255, 255, 255, .12);--mat-filled-button-hover-state-layer-opacity:.08;--mat-filled-button-focus-state-layer-opacity:.12;--mat-filled-button-pressed-state-layer-opacity:.12;--mat-filled-button-touch-target-display:block;--mat-filled-button-horizontal-padding:24px;--mat-filled-button-icon-spacing:8px;--mat-filled-button-icon-offset:-8px;--mat-outlined-button-state-layer-color:#005cbb;--mat-outlined-button-disabled-state-layer-color:#44474e;--mat-outlined-button-ripple-color:rgba(0, 92, 187, .12);--mat-outlined-button-hover-state-layer-opacity:.08;--mat-outlined-button-focus-state-layer-opacity:.12;--mat-outlined-button-pressed-state-layer-opacity:.12;--mat-outlined-button-touch-target-display:block;--mat-outlined-button-horizontal-padding:24px;--mat-outlined-button-icon-spacing:8px;--mat-outlined-button-icon-offset:-8px;--mdc-icon-button-icon-color:#44474e;--mdc-icon-button-disabled-icon-color:rgba(26, 27, 31, .38);--mdc-icon-button-state-layer-size:40px;--mdc-icon-button-icon-size:24px;--mat-icon-button-state-layer-color:#44474e;--mat-icon-button-disabled-state-layer-color:#44474e;--mat-icon-button-ripple-color:rgba(68, 71, 78, .12);--mat-icon-button-hover-state-layer-opacity:.08;--mat-icon-button-focus-state-layer-opacity:.12;--mat-icon-button-pressed-state-layer-opacity:.12;--mat-icon-button-touch-target-display:block;--mdc-extended-fab-container-elevation-shadow:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow:0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-label-text-font:Roboto, sans-serif;--mdc-extended-fab-label-text-size:.875rem;--mdc-extended-fab-label-text-tracking:.006rem;--mdc-extended-fab-label-text-weight:500;--mdc-extended-fab-container-height:56px;--mdc-extended-fab-container-shape:16px;--mdc-fab-container-elevation-shadow:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow:0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-color:#d7e3ff;--mdc-fab-container-shape:16px;--mdc-fab-small-container-elevation-shadow:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow:0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-container-color:#d7e3ff;--mdc-fab-small-container-shape:12px;--mat-fab-foreground-color:#001b3f;--mat-fab-state-layer-color:#001b3f;--mat-fab-ripple-color:rgba(0, 27, 63, .12);--mat-fab-hover-state-layer-opacity:.08;--mat-fab-focus-state-layer-opacity:.12;--mat-fab-pressed-state-layer-opacity:.12;--mat-fab-disabled-state-container-color:rgba(26, 27, 31, .12);--mat-fab-disabled-state-foreground-color:rgba(26, 27, 31, .38);--mat-fab-touch-target-display:block;--mat-fab-small-foreground-color:#001b3f;--mat-fab-small-state-layer-color:#001b3f;--mat-fab-small-ripple-color:rgba(0, 27, 63, .12);--mat-fab-small-hover-state-layer-opacity:.08;--mat-fab-small-focus-state-layer-opacity:.12;--mat-fab-small-pressed-state-layer-opacity:.12;--mat-fab-small-disabled-state-container-color:rgba(26, 27, 31, .12);--mat-fab-small-disabled-state-foreground-color:rgba(26, 27, 31, .38);--mdc-snackbar-container-color:#2f3033;--mdc-snackbar-supporting-text-color:#f2f0f4;--mdc-snackbar-supporting-text-font:Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height:1.25rem;--mdc-snackbar-supporting-text-size:.875rem;--mdc-snackbar-supporting-text-weight:400;--mdc-snackbar-container-shape:4px;--mat-snack-bar-button-color:#abc7ff;--mat-table-background-color:#faf9fd;--mat-table-header-headline-color:#1a1b1f;--mat-table-row-item-label-text-color:#1a1b1f;--mat-table-row-item-outline-color:#74777f;--mat-table-header-headline-font:Roboto, sans-serif;--mat-table-header-headline-line-height:1.25rem;--mat-table-header-headline-size:.875rem;--mat-table-header-headline-weight:500;--mat-table-header-headline-tracking:.006rem;--mat-table-row-item-label-text-font:Roboto, sans-serif;--mat-table-row-item-label-text-line-height:1.25rem;--mat-table-row-item-label-text-size:.875rem;--mat-table-row-item-label-text-weight:400;--mat-table-row-item-label-text-tracking:.016rem;--mat-table-footer-supporting-text-font:Roboto, sans-serif;--mat-table-footer-supporting-text-line-height:1.25rem;--mat-table-footer-supporting-text-size:.875rem;--mat-table-footer-supporting-text-weight:400;--mat-table-footer-supporting-text-tracking:.016rem;--mat-table-header-container-height:56px;--mat-table-footer-container-height:52px;--mat-table-row-item-container-height:52px;--mat-table-row-item-outline-width:1px;--mdc-circular-progress-active-indicator-color:#005cbb;--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px;--mat-badge-background-color:#ba1a1a;--mat-badge-text-color:#ffffff;--mat-badge-disabled-state-background-color:rgba(186, 26, 26, .38);--mat-badge-disabled-state-text-color:#ffffff;--mat-badge-text-font:Roboto, sans-serif;--mat-badge-text-size:.688rem;--mat-badge-text-weight:500;--mat-badge-large-size-text-size:.688rem;--mat-badge-container-shape:9999px;--mat-badge-container-size:16px;--mat-badge-small-size-container-size:6px;--mat-badge-large-size-container-size:16px;--mat-badge-legacy-container-size:16px;--mat-badge-legacy-small-size-container-size:16px;--mat-badge-legacy-large-size-container-size:16px;--mat-badge-container-offset:-12px 0;--mat-badge-small-size-container-offset:-6px 0;--mat-badge-large-size-container-offset:-12px 0;--mat-badge-container-overlap-offset:-12px;--mat-badge-small-size-container-overlap-offset:-6px;--mat-badge-large-size-container-overlap-offset:-12px;--mat-badge-container-padding:0 4px;--mat-badge-small-size-container-padding:0;--mat-badge-large-size-container-padding:0 4px;--mat-badge-small-size-text-size:0;--mat-bottom-sheet-container-text-color:#1a1b1f;--mat-bottom-sheet-container-background-color:#f4f3f6;--mat-bottom-sheet-container-text-font:Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height:1.5rem;--mat-bottom-sheet-container-text-size:1rem;--mat-bottom-sheet-container-text-tracking:.031rem;--mat-bottom-sheet-container-text-weight:400;--mat-bottom-sheet-container-shape:28px;--mat-standard-button-toggle-hover-state-layer-opacity:.08;--mat-standard-button-toggle-focus-state-layer-opacity:.12;--mat-standard-button-toggle-text-color:#1a1b1f;--mat-standard-button-toggle-state-layer-color:#1a1b1f;--mat-standard-button-toggle-selected-state-background-color:#dae2f9;--mat-standard-button-toggle-selected-state-text-color:#131c2b;--mat-standard-button-toggle-disabled-state-text-color:rgba(26, 27, 31, .38);--mat-standard-button-toggle-disabled-selected-state-text-color:rgba(26, 27, 31, .38);--mat-standard-button-toggle-disabled-selected-state-background-color:rgba(26, 27, 31, .12);--mat-standard-button-toggle-divider-color:#74777f;--mat-standard-button-toggle-label-text-font:Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height:1.25rem;--mat-standard-button-toggle-label-text-size:.875rem;--mat-standard-button-toggle-label-text-tracking:.006rem;--mat-standard-button-toggle-label-text-weight:500;--mat-standard-button-toggle-height:40px;--mat-standard-button-toggle-shape:9999px;--mat-standard-button-toggle-background-color:transparent;--mat-standard-button-toggle-disabled-state-background-color:transparent;--mat-datepicker-calendar-date-selected-state-text-color:#ffffff;--mat-datepicker-calendar-date-selected-state-background-color:#005cbb;--mat-datepicker-calendar-date-selected-disabled-state-background-color:rgba(26, 27, 31, .38);--mat-datepicker-calendar-date-today-selected-state-outline-color:#005cbb;--mat-datepicker-calendar-date-focus-state-background-color:rgba(26, 27, 31, .12);--mat-datepicker-calendar-date-hover-state-background-color:rgba(26, 27, 31, .08);--mat-datepicker-toggle-active-state-icon-color:#44474e;--mat-datepicker-calendar-date-in-range-state-background-color:#d7e3ff;--mat-datepicker-calendar-date-in-comparison-range-state-background-color:#e0e0ff;--mat-datepicker-calendar-date-in-overlap-range-state-background-color:#dae2f9;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:#565e71;--mat-datepicker-toggle-icon-color:#44474e;--mat-datepicker-calendar-body-label-text-color:#1a1b1f;--mat-datepicker-calendar-period-button-text-color:#44474e;--mat-datepicker-calendar-period-button-icon-color:#44474e;--mat-datepicker-calendar-navigation-button-icon-color:#44474e;--mat-datepicker-calendar-header-text-color:#44474e;--mat-datepicker-calendar-date-today-outline-color:#005cbb;--mat-datepicker-calendar-date-today-disabled-state-outline-color:rgba(26, 27, 31, .38);--mat-datepicker-calendar-date-text-color:#1a1b1f;--mat-datepicker-calendar-date-disabled-state-text-color:rgba(26, 27, 31, .38);--mat-datepicker-calendar-date-preview-state-outline-color:#005cbb;--mat-datepicker-range-input-separator-color:#1a1b1f;--mat-datepicker-range-input-disabled-state-separator-color:rgba(26, 27, 31, .38);--mat-datepicker-range-input-disabled-state-text-color:rgba(26, 27, 31, .38);--mat-datepicker-calendar-container-background-color:#e9e7eb;--mat-datepicker-calendar-container-text-color:#1a1b1f;--mat-datepicker-calendar-text-font:Roboto, sans-serif;--mat-datepicker-calendar-text-size:.875rem;--mat-datepicker-calendar-body-label-text-size:.875rem;--mat-datepicker-calendar-body-label-text-weight:500;--mat-datepicker-calendar-period-button-text-size:.875rem;--mat-datepicker-calendar-period-button-text-weight:500;--mat-datepicker-calendar-header-text-size:.875rem;--mat-datepicker-calendar-header-text-weight:500;--mat-datepicker-calendar-container-shape:16px;--mat-datepicker-calendar-container-touch-shape:28px;--mat-datepicker-calendar-container-elevation-shadow:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-divider-color:transparent;--mat-datepicker-calendar-date-outline-color:transparent;--mat-divider-color:#74777f;--mat-divider-width:1px;--mat-expansion-container-background-color:#faf9fd;--mat-expansion-container-text-color:#1a1b1f;--mat-expansion-actions-divider-color:#74777f;--mat-expansion-header-hover-state-layer-color:rgba(26, 27, 31, .08);--mat-expansion-header-focus-state-layer-color:rgba(26, 27, 31, .12);--mat-expansion-header-disabled-state-text-color:rgba(26, 27, 31, .38);--mat-expansion-header-text-color:#1a1b1f;--mat-expansion-header-description-color:#44474e;--mat-expansion-header-indicator-color:#44474e;--mat-expansion-header-text-font:Roboto, sans-serif;--mat-expansion-header-text-size:1rem;--mat-expansion-header-text-weight:500;--mat-expansion-header-text-line-height:1.5rem;--mat-expansion-header-text-tracking:.009rem;--mat-expansion-container-text-font:Roboto, sans-serif;--mat-expansion-container-text-line-height:1.5rem;--mat-expansion-container-text-size:1rem;--mat-expansion-container-text-tracking:.031rem;--mat-expansion-container-text-weight:400;--mat-expansion-header-collapsed-state-height:48px;--mat-expansion-header-expanded-state-height:64px;--mat-expansion-container-shape:12px;--mat-expansion-legacy-header-indicator-display:none;--mat-expansion-header-indicator-display:inline-block;--mat-grid-list-tile-header-primary-text-size:400 1rem / 1.5rem Roboto, sans-serif;--mat-grid-list-tile-header-secondary-text-size:400 .875rem / 1.25rem Roboto, sans-serif;--mat-grid-list-tile-footer-primary-text-size:400 1rem / 1.5rem Roboto, sans-serif;--mat-grid-list-tile-footer-secondary-text-size:400 .875rem / 1.25rem Roboto, sans-serif;--mat-icon-color:inherit;--mat-sidenav-container-background-color:#faf9fd;--mat-sidenav-container-text-color:#44474e;--mat-sidenav-content-background-color:#faf9fd;--mat-sidenav-content-text-color:#1a1b1f;--mat-sidenav-scrim-color:rgba(45, 48, 56, .4);--mat-sidenav-container-shape:16px;--mat-sidenav-container-elevation-shadow:none;--mat-sidenav-container-width:360px;--mat-sidenav-container-divider-color:transparent;--mat-stepper-header-icon-foreground-color:#faf9fd;--mat-stepper-header-selected-state-icon-background-color:#005cbb;--mat-stepper-header-selected-state-icon-foreground-color:#ffffff;--mat-stepper-header-edit-state-icon-background-color:#005cbb;--mat-stepper-header-edit-state-icon-foreground-color:#ffffff;--mat-stepper-container-color:#faf9fd;--mat-stepper-line-color:#74777f;--mat-stepper-header-hover-state-layer-color:rgba(47, 48, 51, .08);--mat-stepper-header-focus-state-layer-color:rgba(47, 48, 51, .12);--mat-stepper-header-label-text-color:#44474e;--mat-stepper-header-optional-label-text-color:#44474e;--mat-stepper-header-selected-state-label-text-color:#44474e;--mat-stepper-header-error-state-label-text-color:#ba1a1a;--mat-stepper-header-icon-background-color:#44474e;--mat-stepper-header-error-state-icon-foreground-color:#ba1a1a;--mat-stepper-container-text-font:Roboto, sans-serif;--mat-stepper-header-label-text-font:Roboto, sans-serif;--mat-stepper-header-label-text-size:.875rem;--mat-stepper-header-label-text-weight:500;--mat-stepper-header-error-state-label-text-size:.875rem;--mat-stepper-header-selected-state-label-text-size:.875rem;--mat-stepper-header-selected-state-label-text-weight:500;--mat-stepper-header-height:72px;--mat-stepper-header-focus-state-layer-shape:12px;--mat-stepper-header-hover-state-layer-shape:12px;--mat-stepper-header-error-state-icon-background-color:transparent;--mat-sort-arrow-color:#1a1b1f;--mat-toolbar-container-background-color:#faf9fd;--mat-toolbar-container-text-color:#1a1b1f;--mat-toolbar-title-text-font:Roboto, sans-serif;--mat-toolbar-title-text-line-height:1.75rem;--mat-toolbar-title-text-size:1.375rem;--mat-toolbar-title-text-tracking:0;--mat-toolbar-title-text-weight:400;--mat-toolbar-standard-height:64px;--mat-toolbar-mobile-height:56px;--mat-tree-container-background-color:#faf9fd;--mat-tree-node-text-color:#1a1b1f;--mat-tree-node-text-font:Roboto, sans-serif;--mat-tree-node-text-size:1rem;--mat-tree-node-text-weight:400;--mat-tree-node-min-height:48px}.mat-theme-loaded-marker{display:none}.mat-primary{--mat-stepper-header-selected-state-icon-background-color:#005cbb;--mat-stepper-header-selected-state-icon-foreground-color:#ffffff;--mat-stepper-header-edit-state-icon-background-color:#005cbb;--mat-stepper-header-edit-state-icon-foreground-color:#ffffff}.mat-primary.mat-icon{--mat-icon-color:#005cbb}.mat-primary.mat-mdc-checkbox{--mat-checkbox-disabled-label-color:rgba(26, 27, 31, .38);--mat-checkbox-label-text-color:#1a1b1f}.mat-primary.mat-mdc-slide-toggle{--mat-switch-track-outline-color:#74777f;--mat-switch-disabled-unselected-track-outline-color:#1a1b1f;--mat-switch-label-text-color:#1a1b1f}.mat-primary.mat-mdc-button-base{--mdc-icon-button-icon-color:#005cbb;--mat-icon-button-state-layer-color:#005cbb;--mat-icon-button-ripple-color:rgba(0, 92, 187, .12)}.mat-primary .mdc-list-item__start,.mat-primary .mdc-list-item__end{--mat-checkbox-disabled-label-color:rgba(26, 27, 31, .38);--mat-checkbox-label-text-color:#1a1b1f}.mat-badge{--mat-badge-background-color:#005cbb;--mat-badge-text-color:#ffffff;--mat-badge-disabled-state-background-color:rgba(0, 92, 187, .38);--mat-badge-disabled-state-text-color:#ffffff}.mat-accent{--mat-option-selected-state-label-text-color:#00006e;--mat-option-selected-state-layer-color:#e0e0ff;--mdc-circular-progress-active-indicator-color:#343dff;--mat-full-pseudo-checkbox-selected-icon-color:#343dff;--mat-full-pseudo-checkbox-selected-checkmark-color:#ffffff;--mat-minimal-pseudo-checkbox-selected-checkmark-color:#343dff;--mat-stepper-header-selected-state-icon-background-color:#343dff;--mat-stepper-header-selected-state-icon-foreground-color:#ffffff;--mat-stepper-header-edit-state-icon-background-color:#343dff;--mat-stepper-header-edit-state-icon-foreground-color:#ffffff}.mat-accent.mat-icon{--mat-icon-color:#343dff}.mat-accent.mat-mdc-checkbox{--mdc-checkbox-selected-pressed-icon-color:#343dff;--mdc-checkbox-selected-checkmark-color:#ffffff;--mdc-checkbox-selected-focus-icon-color:#343dff;--mdc-checkbox-selected-hover-icon-color:#343dff;--mdc-checkbox-selected-icon-color:#343dff;--mdc-checkbox-selected-focus-state-layer-color:#343dff;--mdc-checkbox-selected-hover-state-layer-color:#343dff;--mdc-checkbox-unselected-pressed-state-layer-color:#343dff;--mat-checkbox-disabled-label-color:rgba(26, 27, 31, .38);--mat-checkbox-label-text-color:#1a1b1f}.mat-accent.mat-mdc-slider{--mdc-slider-handle-color:#343dff;--mdc-slider-focus-handle-color:#343dff;--mdc-slider-hover-handle-color:#343dff;--mdc-slider-active-track-color:#343dff;--mdc-slider-with-tick-marks-active-container-color:#ffffff;--mdc-slider-label-container-color:#343dff;--mdc-slider-label-label-text-color:#ffffff;--mdc-slider-with-overlap-handle-outline-color:#ffffff;--mat-slider-ripple-color:#343dff;--mat-slider-hover-state-layer-color:rgba(52, 61, 255, .05);--mat-slider-focus-state-layer-color:rgba(52, 61, 255, .2)}.mat-accent.mat-mdc-tab-group,.mat-accent.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color:#343dff;--mat-tab-header-active-focus-indicator-color:#343dff;--mat-tab-header-active-hover-indicator-color:#343dff}.mat-accent.mat-mdc-slide-toggle{--mdc-switch-selected-focus-state-layer-color:#343dff;--mdc-switch-selected-handle-color:#ffffff;--mdc-switch-selected-hover-state-layer-color:#343dff;--mdc-switch-selected-pressed-state-layer-color:#343dff;--mdc-switch-selected-focus-handle-color:#e0e0ff;--mdc-switch-selected-hover-handle-color:#e0e0ff;--mdc-switch-selected-pressed-handle-color:#e0e0ff;--mdc-switch-selected-focus-track-color:#343dff;--mdc-switch-selected-hover-track-color:#343dff;--mdc-switch-selected-pressed-track-color:#343dff;--mdc-switch-selected-track-color:#343dff;--mdc-switch-selected-icon-color:#00006e;--mat-switch-track-outline-color:#74777f;--mat-switch-disabled-unselected-track-outline-color:#1a1b1f;--mat-switch-label-text-color:#1a1b1f}.mat-accent.mat-mdc-form-field{--mat-select-focused-arrow-color:#343dff}.mat-accent.mat-mdc-radio-button{--mdc-radio-selected-focus-icon-color:#343dff;--mdc-radio-selected-hover-icon-color:#343dff;--mdc-radio-selected-icon-color:#343dff;--mdc-radio-selected-pressed-icon-color:#343dff;--mat-radio-checked-ripple-color:#343dff}.mat-accent.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color:#343dff;--mdc-linear-progress-track-color:#e0e0ff}.mat-accent.mat-mdc-form-field{--mdc-filled-text-field-caret-color:#343dff;--mdc-filled-text-field-focus-active-indicator-color:#343dff;--mdc-filled-text-field-focus-label-text-color:#343dff;--mdc-outlined-text-field-caret-color:#343dff;--mdc-outlined-text-field-focus-outline-color:#343dff;--mdc-outlined-text-field-focus-label-text-color:#343dff;--mat-form-field-focus-select-arrow-color:#343dff}.mat-accent.mat-datepicker-content{--mat-datepicker-calendar-date-selected-state-text-color:#ffffff;--mat-datepicker-calendar-date-selected-state-background-color:#343dff;--mat-datepicker-calendar-date-today-selected-state-outline-color:#343dff;--mat-datepicker-calendar-date-in-range-state-background-color:#e0e0ff;--mat-datepicker-calendar-date-in-comparison-range-state-background-color:#d7e3ff;--mat-datepicker-calendar-date-today-outline-color:#343dff;--mat-datepicker-calendar-date-preview-state-outline-color:#343dff}.mat-accent.mat-mdc-button-base{--mdc-text-button-label-text-color:#343dff;--mdc-protected-button-label-text-color:#343dff;--mdc-filled-button-container-color:#343dff;--mdc-filled-button-label-text-color:#ffffff;--mdc-outlined-button-label-text-color:#343dff;--mat-text-button-state-layer-color:#343dff;--mat-text-button-ripple-color:rgba(52, 61, 255, .12);--mat-protected-button-state-layer-color:#343dff;--mat-protected-button-ripple-color:rgba(52, 61, 255, .12);--mat-filled-button-state-layer-color:#ffffff;--mat-filled-button-ripple-color:rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color:#343dff;--mat-outlined-button-ripple-color:rgba(52, 61, 255, .12);--mdc-icon-button-icon-color:#343dff;--mat-icon-button-state-layer-color:#343dff;--mat-icon-button-ripple-color:rgba(52, 61, 255, .12)}.mat-accent.mat-mdc-standard-chip{--mdc-chip-elevated-selected-container-color:#e0e0ff;--mdc-chip-selected-hover-state-layer-color:#00006e;--mdc-chip-selected-focus-state-layer-color:#00006e;--mdc-chip-selected-label-text-color:#00006e;--mdc-chip-with-icon-selected-icon-color:#00006e;--mat-chip-selected-trailing-action-state-layer-color:#00006e;--mat-chip-selected-trailing-icon-color:#00006e}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-checkbox-selected-pressed-icon-color:#343dff;--mdc-checkbox-selected-checkmark-color:#ffffff;--mdc-checkbox-selected-focus-icon-color:#343dff;--mdc-checkbox-selected-hover-icon-color:#343dff;--mdc-checkbox-selected-icon-color:#343dff;--mdc-checkbox-selected-focus-state-layer-color:#343dff;--mdc-checkbox-selected-hover-state-layer-color:#343dff;--mdc-checkbox-unselected-pressed-state-layer-color:#343dff;--mat-checkbox-disabled-label-color:rgba(26, 27, 31, .38);--mat-checkbox-label-text-color:#1a1b1f;--mdc-radio-selected-focus-icon-color:#343dff;--mdc-radio-selected-hover-icon-color:#343dff;--mdc-radio-selected-icon-color:#343dff;--mdc-radio-selected-pressed-icon-color:#343dff;--mat-radio-checked-ripple-color:#343dff}.mat-accent.mat-mdc-fab,.mat-accent.mat-mdc-mini-fab{--mdc-fab-container-color:#e0e0ff;--mdc-fab-small-container-color:#e0e0ff;--mat-fab-foreground-color:#00006e;--mat-fab-state-layer-color:#00006e;--mat-fab-ripple-color:rgba(0, 0, 110, .12);--mat-fab-small-foreground-color:#00006e;--mat-fab-small-state-layer-color:#00006e;--mat-fab-small-ripple-color:rgba(0, 0, 110, .12)}.mat-badge-accent{--mat-badge-background-color:#343dff;--mat-badge-text-color:#ffffff;--mat-badge-disabled-state-background-color:rgba(52, 61, 255, .38);--mat-badge-disabled-state-text-color:#ffffff}.mat-warn{--mat-option-selected-state-label-text-color:#410002;--mat-option-selected-state-layer-color:#ffdad6;--mdc-circular-progress-active-indicator-color:#ba1a1a;--mat-full-pseudo-checkbox-selected-icon-color:#ba1a1a;--mat-full-pseudo-checkbox-selected-checkmark-color:#ffffff;--mat-minimal-pseudo-checkbox-selected-checkmark-color:#ba1a1a;--mat-stepper-header-selected-state-icon-background-color:#ba1a1a;--mat-stepper-header-selected-state-icon-foreground-color:#ffffff;--mat-stepper-header-edit-state-icon-background-color:#ba1a1a;--mat-stepper-header-edit-state-icon-foreground-color:#ffffff}.mat-warn.mat-icon{--mat-icon-color:#ba1a1a}.mat-warn.mat-mdc-checkbox{--mdc-checkbox-selected-pressed-icon-color:#ba1a1a;--mdc-checkbox-selected-checkmark-color:#ffffff;--mdc-checkbox-selected-focus-icon-color:#ba1a1a;--mdc-checkbox-selected-hover-icon-color:#ba1a1a;--mdc-checkbox-selected-icon-color:#ba1a1a;--mdc-checkbox-selected-focus-state-layer-color:#ba1a1a;--mdc-checkbox-selected-hover-state-layer-color:#ba1a1a;--mdc-checkbox-unselected-pressed-state-layer-color:#ba1a1a;--mat-checkbox-disabled-label-color:rgba(26, 27, 31, .38);--mat-checkbox-label-text-color:#1a1b1f}.mat-warn.mat-mdc-slider{--mdc-slider-handle-color:#ba1a1a;--mdc-slider-focus-handle-color:#ba1a1a;--mdc-slider-hover-handle-color:#ba1a1a;--mdc-slider-active-track-color:#ba1a1a;--mdc-slider-with-tick-marks-active-container-color:#ffffff;--mdc-slider-label-container-color:#ba1a1a;--mdc-slider-label-label-text-color:#ffffff;--mdc-slider-with-overlap-handle-outline-color:#ffffff;--mat-slider-ripple-color:#ba1a1a;--mat-slider-hover-state-layer-color:rgba(186, 26, 26, .05);--mat-slider-focus-state-layer-color:rgba(186, 26, 26, .2)}.mat-warn.mat-mdc-tab-group,.mat-warn.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color:#ba1a1a;--mat-tab-header-active-focus-indicator-color:#ba1a1a;--mat-tab-header-active-hover-indicator-color:#ba1a1a}.mat-warn.mat-mdc-slide-toggle{--mdc-switch-selected-focus-state-layer-color:#ba1a1a;--mdc-switch-selected-handle-color:#ffffff;--mdc-switch-selected-hover-state-layer-color:#ba1a1a;--mdc-switch-selected-pressed-state-layer-color:#ba1a1a;--mdc-switch-selected-focus-handle-color:#ffdad6;--mdc-switch-selected-hover-handle-color:#ffdad6;--mdc-switch-selected-pressed-handle-color:#ffdad6;--mdc-switch-selected-focus-track-color:#ba1a1a;--mdc-switch-selected-hover-track-color:#ba1a1a;--mdc-switch-selected-pressed-track-color:#ba1a1a;--mdc-switch-selected-track-color:#ba1a1a;--mdc-switch-selected-icon-color:#410002;--mat-switch-track-outline-color:#74777f;--mat-switch-disabled-unselected-track-outline-color:#1a1b1f;--mat-switch-label-text-color:#1a1b1f}.mat-warn.mat-mdc-form-field{--mat-select-focused-arrow-color:#ba1a1a}.mat-warn.mat-mdc-radio-button{--mdc-radio-selected-focus-icon-color:#ba1a1a;--mdc-radio-selected-hover-icon-color:#ba1a1a;--mdc-radio-selected-icon-color:#ba1a1a;--mdc-radio-selected-pressed-icon-color:#ba1a1a;--mat-radio-checked-ripple-color:#ba1a1a}.mat-warn.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color:#ba1a1a;--mdc-linear-progress-track-color:#ffdad6}.mat-warn.mat-mdc-form-field{--mdc-filled-text-field-caret-color:#ba1a1a;--mdc-filled-text-field-focus-active-indicator-color:#ba1a1a;--mdc-filled-text-field-focus-label-text-color:#ba1a1a;--mdc-outlined-text-field-caret-color:#ba1a1a;--mdc-outlined-text-field-focus-outline-color:#ba1a1a;--mdc-outlined-text-field-focus-label-text-color:#ba1a1a;--mat-form-field-focus-select-arrow-color:#ba1a1a}.mat-warn.mat-datepicker-content{--mat-datepicker-calendar-date-selected-state-text-color:#ffffff;--mat-datepicker-calendar-date-selected-state-background-color:#ba1a1a;--mat-datepicker-calendar-date-today-selected-state-outline-color:#ba1a1a;--mat-datepicker-calendar-date-in-range-state-background-color:#ffdad6;--mat-datepicker-calendar-date-today-outline-color:#ba1a1a;--mat-datepicker-calendar-date-preview-state-outline-color:#ba1a1a}.mat-warn.mat-mdc-button-base{--mdc-text-button-label-text-color:#ba1a1a;--mdc-protected-button-label-text-color:#ba1a1a;--mdc-filled-button-container-color:#ba1a1a;--mdc-filled-button-label-text-color:#ffffff;--mdc-outlined-button-label-text-color:#ba1a1a;--mat-text-button-state-layer-color:#ba1a1a;--mat-text-button-ripple-color:rgba(186, 26, 26, .12);--mat-protected-button-state-layer-color:#ba1a1a;--mat-protected-button-ripple-color:rgba(186, 26, 26, .12);--mat-filled-button-state-layer-color:#ffffff;--mat-filled-button-ripple-color:rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color:#ba1a1a;--mat-outlined-button-ripple-color:rgba(186, 26, 26, .12);--mdc-icon-button-icon-color:#ba1a1a;--mat-icon-button-state-layer-color:#ba1a1a;--mat-icon-button-ripple-color:rgba(186, 26, 26, .12)}.mat-warn.mat-mdc-standard-chip{--mdc-chip-elevated-selected-container-color:#ffdad6;--mdc-chip-selected-hover-state-layer-color:#410002;--mdc-chip-selected-focus-state-layer-color:#410002;--mdc-chip-selected-label-text-color:#410002;--mdc-chip-with-icon-selected-icon-color:#410002;--mat-chip-selected-trailing-action-state-layer-color:#410002;--mat-chip-selected-trailing-icon-color:#410002}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-checkbox-selected-pressed-icon-color:#ba1a1a;--mdc-checkbox-selected-checkmark-color:#ffffff;--mdc-checkbox-selected-focus-icon-color:#ba1a1a;--mdc-checkbox-selected-hover-icon-color:#ba1a1a;--mdc-checkbox-selected-icon-color:#ba1a1a;--mdc-checkbox-selected-focus-state-layer-color:#ba1a1a;--mdc-checkbox-selected-hover-state-layer-color:#ba1a1a;--mdc-checkbox-unselected-pressed-state-layer-color:#ba1a1a;--mat-checkbox-disabled-label-color:rgba(26, 27, 31, .38);--mat-checkbox-label-text-color:#1a1b1f;--mdc-radio-selected-focus-icon-color:#ba1a1a;--mdc-radio-selected-hover-icon-color:#ba1a1a;--mdc-radio-selected-icon-color:#ba1a1a;--mdc-radio-selected-pressed-icon-color:#ba1a1a;--mat-radio-checked-ripple-color:#ba1a1a}.mat-display-large,.mat-typography .mat-display-large,.mat-typography h1{font:400 3.562rem/4rem Roboto,sans-serif;letter-spacing:-.016rem;margin:0 0 .5em}.mat-display-medium,.mat-typography .mat-display-medium,.mat-typography h2{font:400 2.812rem/3.25rem Roboto,sans-serif;letter-spacing:0;margin:0 0 .5em}.mat-display-small,.mat-typography .mat-display-small,.mat-typography h3{font:400 2.25rem/2.75rem Roboto,sans-serif;letter-spacing:0;margin:0 0 .5em}.mat-headline-large,.mat-typography .mat-headline-large,.mat-typography h4{font:400 2rem/2.5rem Roboto,sans-serif;letter-spacing:0;margin:0 0 .5em}.mat-headline-medium,.mat-typography .mat-headline-medium,.mat-typography h5{font:400 1.75rem/2.25rem Roboto,sans-serif;letter-spacing:0;margin:0 0 .5em}.mat-headline-small,.mat-typography .mat-headline-small,.mat-typography h6{font:400 1.5rem/2rem Roboto,sans-serif;letter-spacing:0;margin:0 0 .5em}.mat-title-large,.mat-typography .mat-title-large{font:400 1.375rem/1.75rem Roboto,sans-serif;letter-spacing:0}.mat-title-medium,.mat-typography .mat-title-medium{font:500 1rem/1.5rem Roboto,sans-serif;letter-spacing:.009rem}.mat-title-small,.mat-typography .mat-title-small{font:500 .875rem/1.25rem Roboto,sans-serif;letter-spacing:.006rem}.mat-body-large,.mat-typography .mat-body-large,.mat-typography{font:400 1rem/1.5rem Roboto,sans-serif;letter-spacing:.031rem}.mat-body-large p,.mat-typography .mat-body-large p,.mat-typography p{margin:0 0 .75em}.mat-body-medium,.mat-typography .mat-body-medium{font:400 .875rem/1.25rem Roboto,sans-serif;letter-spacing:.016rem}.mat-body-small,.mat-typography .mat-body-small{font:400 .75rem/1rem Roboto,sans-serif;letter-spacing:.025rem}.mat-label-large,.mat-typography .mat-label-large{font:500 .875rem/1.25rem Roboto,sans-serif;letter-spacing:.006rem}.mat-label-medium,.mat-typography .mat-label-medium{font:500 .75rem/1rem Roboto,sans-serif;letter-spacing:.031rem}.mat-label-small,.mat-typography .mat-label-small{font:500 .688rem/1rem Roboto,sans-serif;letter-spacing:.031rem}html,body{height:100%}body{margin:0;font-family:Roboto,Helvetica Neue,sans-serif} diff --git a/libs/ngx-cron-editor/.npmignore b/libs/ngx-cron-editor/.npmignore new file mode 100644 index 0000000..c97ccf2 --- /dev/null +++ b/libs/ngx-cron-editor/.npmignore @@ -0,0 +1,2 @@ +# Nested package.json's are only needed for development. +**/package.json \ No newline at end of file diff --git a/libs/ngx-cron-editor/README.md b/libs/ngx-cron-editor/README.md new file mode 100644 index 0000000..fb0be0c --- /dev/null +++ b/libs/ngx-cron-editor/README.md @@ -0,0 +1,91 @@ +ngx-cron-editor +=== + +An Angular 15+ component for building cron expressions graphically. It is meant +to be used in reactive forms and support Angular Material Design styling. + + +## Demo + +A demo can be found [here](https://haavardj.github.io/ngx-cron-editor/) + +## Usage + +1. Install the npm package: + ``` + $ npm i ngx-cron-editor -S + ``` + +2. Import the module in your own module: + + ```ts + import { CronEditorModule } from 'ngx-cron-editor'; + + @NgModule({ + imports: [..., CronEditorModule], + ... + }) + export class MyModule { + } + ``` + +3. Setup the FormControl in you component's typescript file: + + ```ts + ngOnInit(): void { + this.cronForm = new FormControl('0 0 1/1 * *'); + } + ``` + +4. Include the component in your html code: + + ```html + + ``` + + or use the `formControlName='...'` directive if your form controller + lives in a FormGroup. + +## Options + +```html + +``` + +```ts +import { CronOptions } from 'ngx-cron-editor'; + +@Component({ + ... +}) +export class MyComponent { + public cronOptions: CronOptions = { + defaultTime: "00:00:00", + + hideMinutesTab: false, + hideHourlyTab: false, + hideDailyTab: false, + hideWeeklyTab: false, + hideMonthlyTab: false, + hideYearlyTab: false, + hideAdvancedTab: true, + hideSpecificWeekDayTab: false, + hideSpecificMonthWeekTab : false, + + use24HourTime: true, + hideSeconds: false, + + cronFlavor: "quartz" //standard or quartz + }; +} +``` + +## History + +The ngx-cron-editor is a fork of the vincentjames501's [angular-cron-gen](https://github.com/vincentjames501/angular-cron-gen) for AngularJS 1.5+ and claudiuconstantin's [cron-editor(https://github.com/claudiuconstantin/cron-editor)]. + +**The main additions of this fork is support for Angular 8+ and material design.** + + +## License: +Licensed under the MIT license diff --git a/libs/ngx-cron-editor/esm2022/ngx-cron-editor.mjs b/libs/ngx-cron-editor/esm2022/ngx-cron-editor.mjs new file mode 100644 index 0000000..552358f --- /dev/null +++ b/libs/ngx-cron-editor/esm2022/ngx-cron-editor.mjs @@ -0,0 +1,5 @@ +/** + * Generated bundle index. Do not edit. + */ +export * from './public_api'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWNyb24tZWRpdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vbGlicy9uZ3gtY3Jvbi1lZGl0b3Ivbmd4LWNyb24tZWRpdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= \ No newline at end of file diff --git a/libs/ngx-cron-editor/esm2022/public_api.mjs b/libs/ngx-cron-editor/esm2022/public_api.mjs new file mode 100644 index 0000000..bf291e8 --- /dev/null +++ b/libs/ngx-cron-editor/esm2022/public_api.mjs @@ -0,0 +1,9 @@ +/* + * Public API Surface + */ +export * from './src/cron-editor.module'; +export * from './src/CronOptions'; +export * from './src/enums'; +export * from './src/cron-editor.component'; +export * from './src/cron-time-picker.component'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvbmd4LWNyb24tZWRpdG9yL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLGtDQUFrQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vc3JjL2Nyb24tZWRpdG9yLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9Dcm9uT3B0aW9ucyc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9lbnVtcyc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9jcm9uLWVkaXRvci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvY3Jvbi10aW1lLXBpY2tlci5jb21wb25lbnQnO1xuIl19 \ No newline at end of file diff --git a/libs/ngx-cron-editor/esm2022/src/CronOptions.mjs b/libs/ngx-cron-editor/esm2022/src/CronOptions.mjs new file mode 100644 index 0000000..3d04b37 --- /dev/null +++ b/libs/ngx-cron-editor/esm2022/src/CronOptions.mjs @@ -0,0 +1,18 @@ +export class DefaultOptions { + constructor() { + this.cronFlavor = 'standard'; + this.defaultTime = '00:00:00'; + this.hideAdvancedTab = false; + this.hideDailyTab = false; + this.hideHourlyTab = false; + this.hideMinutesTab = false; + this.hideMonthlyTab = false; + this.hideSeconds = false; + this.hideSpecificMonthWeekTab = false; + this.hideSpecificWeekDayTab = false; + this.hideWeeklyTab = false; + this.hideYearlyTab = false; + this.use24HourTime = true; + } +} +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3Jvbk9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL25neC1jcm9uLWVkaXRvci9zcmMvQ3Jvbk9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMEJBLE1BQU0sT0FBTyxjQUFjO0lBQTNCO1FBRUUsZUFBVSxHQUFlLFVBQVUsQ0FBQztRQUNwQyxnQkFBVyxHQUFHLFVBQVUsQ0FBQztRQUN6QixvQkFBZSxHQUFHLEtBQUssQ0FBQztRQUN4QixpQkFBWSxHQUFHLEtBQUssQ0FBQztRQUNyQixrQkFBYSxHQUFHLEtBQUssQ0FBQztRQUN0QixtQkFBYyxHQUFHLEtBQUssQ0FBQztRQUN2QixtQkFBYyxHQUFHLEtBQUssQ0FBQztRQUN2QixnQkFBVyxHQUFHLEtBQUssQ0FBQztRQUNwQiw2QkFBd0IsR0FBRyxLQUFLLENBQUM7UUFDakMsMkJBQXNCLEdBQUcsS0FBSyxDQUFDO1FBQy9CLGtCQUFhLEdBQUcsS0FBSyxDQUFDO1FBQ3RCLGtCQUFhLEdBQUcsS0FBSyxDQUFDO1FBQ3RCLGtCQUFhLEdBQUcsSUFBSSxDQUF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YiA9IGZhbHNlO1xuICBoaWRlSG91cmx5VGFiID0gZmFsc2U7XG4gIGhpZGVNaW51dGVzVGFiID0gZmFsc2U7XG4gIGhpZGVNb250aGx5VGFiID0gZmFsc2U7XG4gIGhpZGVTZWNvbmRzID0gZmFsc2U7XG4gIGhpZGVTcGVjaWZpY01vbnRoV2Vla1RhYiA9IGZhbHNlO1xuICBoaWRlU3BlY2lmaWNXZWVrRGF5VGFiID0gZmFsc2U7XG4gIGhpZGVXZWVrbHlUYWIgPSBmYWxzZTtcbiAgaGlkZVllYXJseVRhYiA9IGZhbHNlO1xuICB1c2UyNEhvdXJUaW1lID0gdHJ1ZTtcbn1cbiJdfQ== \ No newline at end of file diff --git a/libs/ngx-cron-editor/esm2022/src/cron-editor.component.mjs b/libs/ngx-cron-editor/esm2022/src/cron-editor.component.mjs new file mode 100644 index 0000000..bb32465 --- /dev/null +++ b/libs/ngx-cron-editor/esm2022/src/cron-editor.component.mjs @@ -0,0 +1,494 @@ +import { Component, Input, forwardRef, ViewChild } from '@angular/core'; +import { DefaultOptions } from './CronOptions'; +import { Days, MonthWeeks, Months } from './enums'; +import { NG_VALUE_ACCESSOR, Validators } from '@angular/forms'; +import { debounceTime } from 'rxjs'; +import * as i0 from "@angular/core"; +import * as i1 from "@angular/forms"; +import * as i2 from "@angular/common"; +import * as i3 from "@angular/material/tabs"; +import * as i4 from "@angular/material/form-field"; +import * as i5 from "@angular/material/select"; +import * as i6 from "@angular/material/core"; +import * as i7 from "@angular/material/input"; +import * as i8 from "@angular/material/radio"; +import * as i9 from "@angular/material/checkbox"; +import * as i10 from "./cron-time-picker.component"; +const minutesExp = /\d+ 0\/\d+ \* 1\/1 \* [\?\*] \*/; +const hourlyExp = /\d+ \d+ 0\/\d+ 1\/1 \* [\?\*] \*/; +const dailyExp = /\d+ \d+ \d+ 1\/\d+ \* [\?\*] \*/; +const dailyWeekdayExp = /\d+ \d+ \d+ [\?\*] \* MON-FRI \*/; +const weeklyExp = /\d+ \d+ \d+ [\?\*] \* (MON|TUE|WED|THU|FRI|SAT|SUN)(,(MON|TUE|WED|THU|FRI|SAT|SUN))* \*/; +const monthlyExp = /\d+ \d+ \d+ (\d+|L|LW|1W) 1\/\d+ [\?\*] \*/; +const monthlyWeekdayExp = /\d+ \d+ \d+ [\?\*] 1\/\d+ (MON|TUE|WED|THU|FRI|SAT|SUN)((#[1-5])|L) \*/; +const yearlyExp = /\d+ \d+ \d+ (\d+|L|LW|1W) \d+ [\?\*] \*/; +const yearlyMonthWeekExp = /\d+ \d+ \d+ [\?\*] \d+ (MON|TUE|WED|THU|FRI|SAT|SUN)((#[1-5])|L) \*/; +export const CRON_VALUE_ACCESSOR = { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => CronGenComponent), + multi: true, +}; +function parseCronNumberToken(val) { + const v = val.split('/'); + if (v.length === 1) { + return { val: v[0], inc: '0' }; + } + return { val: v[0], inc: v[1] }; +} +function* range(start, end) { + for (let i = start; i <= end; i++) { + yield i; + } +} +export class CronGenComponent { + get isCronFlavorQuartz() { + return this.options.cronFlavor === 'quartz'; + } + get isCronFlavorStandard() { + return this.options.cronFlavor === 'standard'; + } + get yearDefaultChar() { + return this.options.cronFlavor === 'quartz' ? '*' : ''; + } + get weekDayDefaultChar() { + return this.options.cronFlavor === 'quartz' ? '?' : '*'; + } + get monthDayDefaultChar() { + return this.options.cronFlavor === 'quartz' ? '?' : '*'; + } + constructor(fb) { + this.fb = fb; + this.tabIndex = 0; + this.disabled = false; + this.options = new DefaultOptions(); + this.selectOptions = this.getSelectOptions(); + this.touched = false; + this.allForm = this.fb.group({ + cronType: ['unknown', Validators.required], + seconds: ['0'], + minutes: ['0'], + minutesPer: ['0'], + hours: [this.getAmPmHour('0')], + hoursPer: ['0'], + hoursType: [this.getHourType('0')], + days: ['0'], // Days of Month, 1, 2, 31.... + daysPer: ['0'], + months: ['0'], + monthsInc: ['0'], + day: ['MON'], // Day of week '1' or 'MON; + monthsWeek: ['#1'], + weekdaysOnly: [false], + specificWeekDay: [false], + specificMonthWeek: [false], + MON: [true], + TUE: [true], + WED: [true], + THU: [true], + FRI: [true], + SAT: [true], + SUN: [true], + expression: ['0 0 0 0 0'] + }); + } + /* Update the cron output to that of the selected tab. + * The cron output value is updated whenever a form is updated. To make it change in response to tab selection, we simply reset + * the value of the form that goes into focus. + * We cannot rely on the index of the tab, as the hide options could hide tabs and + * then the index dynamically changes based on the hidden tab.*/ + onTabChange(tabChangeEvent) { + const currentTab = tabChangeEvent.tab; + let x; + switch (currentTab) { + case this.minutesTab: + x = 'minutely'; + break; + case this.hourlyTab: + x = 'hourly'; + break; + case this.dailyTab: + x = 'daily'; + break; + case this.weeklyTab: + x = 'weekly'; + break; + case this.monthlyTab: + x = 'monthly'; + break; + case this.yearlyTab: + x = 'yearly'; + break; + case this.advancedTab: + x = 'unknown'; + break; + default: + throw (new Error('Invalid tab selected')); + } + this.allForm.controls.cronType.setValue(x); + } + async ngOnInit() { + this.formSub = this.allForm.valueChanges.pipe(debounceTime(50)).subscribe(value => { + this.markAsTouched(); + const cron = this.computeCron(); + // this.allForm.controls.expression.setValue(cron, {emitEvent: false}); + this.onChange(cron); + }); + } + ngOnDestroy() { + this.formSub.unsubscribe(); + } + computeCron() { + let cron; + switch (this.allForm.value.cronType) { + case 'minutely': + cron = this.computeMinutesCron(); + break; + case 'hourly': + cron = this.computeHourlyCron(); + this.tabIndex = 1; + break; + case 'daily': + cron = this.computeDailyCron(); + this.tabIndex = 2; + break; + case 'weekly': + cron = this.computeWeeklyCron(); + this.tabIndex = 3; + break; + case 'monthly': + cron = this.computeMonthlyCron(); + this.tabIndex = 4; + break; + case 'yearly': + cron = this.computeYearlyCron(); + this.tabIndex = 5; + break; + case 'unknown': + cron = this.computeAdvancedExpression(); + this.tabIndex = 6; + break; + default: + throw Error($localize `Unknown cron type ${this.allForm.value.cronType}`); + } + return cron; + } + computeMinutesCron() { + const state = this.allForm.value; + // tslint:disable-next-line:max-line-length + return `${this.isCronFlavorQuartz ? state.seconds : ''} 0/${state.minutesPer} * 1/1 * ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim(); + } + computeHourlyCron() { + const state = this.allForm.value; + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} 0/${state.hoursPer} 1/1 * ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim(); + } + computeDailyCron() { + if (this.allForm.value.weekdaysOnly) { + return this.computeEveryWeekdayCron(); + } + return this.computeEveryDaysCron(); + } + computeEveryDaysCron() { + const state = this.allForm.value; + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} 1/${state.daysPer} * ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim(); + } + computeEveryWeekdayCron() { + const state = this.allForm.value; + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${this.monthDayDefaultChar} * MON-FRI ${this.yearDefaultChar}`.trim(); + } + computeWeeklyCron() { + const state = this.allForm.value; + const days = this.selectOptions.days + .reduce((acc, day) => state[day] ? acc.concat([day]) : acc, []) + .join(',') || '*'; + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${this.monthDayDefaultChar} * ${days} ${this.yearDefaultChar}`.trim(); + } + computeMonthlyCron() { + const state = this.allForm.value; + if (state.specificWeekDay) { + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${this.monthDayDefaultChar} 1/${state.monthsInc} ${state.day}${state.monthsWeek} ${this.yearDefaultChar}`.trim(); + } + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${state.days} 1/${state.monthsInc} ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim(); + } + computeYearlyCron() { + const state = this.allForm.value; + if (state.specificMonthWeek) { + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${this.monthDayDefaultChar} ${state.months} ${state.day}${state.monthsWeek} ${this.yearDefaultChar}`.trim(); + } + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${state.days} ${state.months} ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim(); + } + computeAdvancedExpression() { + const state = this.allForm.value; + return state.expression; + } + dayDisplay(day) { + return Days[day]; + } + monthWeekDisplay(monthWeekNumber) { + return MonthWeeks[monthWeekNumber]; + } + monthDisplay(month) { + return Months[parseInt(month, 10)]; + } + monthDayDisplay(month) { + if (typeof month === 'number') { + return `${month}${this.getOrdinalSuffix(month)}`; + } + if (month === 'L') { + return $localize `Last Day`; + } + else if (month === 'LW') { + return $localize `Last Weekday`; + } + else if (month === '1W') { + return $localize `First Weekday`; + } + else { + return `${month}${this.getOrdinalSuffix(month)}`; + } + } + getAmPmHour(hour) { + if (this.options.use24HourTime) { + return hour; + } + return ((parseInt(hour, 10) + 11) % 12 + 1).toString(); + } + // Return the AM or PM component of a clocktime, or null if 24-hour format is used. + getHourType(hour) { + if (this.options.use24HourTime) { + return null; + } + if (parseInt(hour, 10) >= 12) { + return 'PM'; + } + return 'AM'; + } + hourToCron(hour, hourType) { + if (this.options.use24HourTime) { + return hour; + } + else { + return hourType === 'AM' ? (hour === '12' ? '0' : hour) : (hour === '12' ? '12' : (parseInt(hour, 10) + 12).toString()); + } + } + handleModelChange(cron) { + if (!this.cronIsValid(cron)) { + if (this.isCronFlavorQuartz) { + throw new Error($localize `Invalid cron expression, there must be 6 or 7 segments`); + } + if (this.isCronFlavorStandard) { + throw new Error($localize `Invalid cron expression, there must be 5 segments`); + } + } + // Store original cron expression here. + this.allForm.controls.expression.setValue(cron); + // Normalize cron so that second segment is included. + if (cron.split(' ').length === 5 && this.isCronFlavorStandard) { + cron = `0 ${cron} *`; + } + // Parse cron tokens + const t = cron.split(' '); + // Seconds + this.allForm.controls.seconds.setValue(t[0], { emitEvent: false }); + // Minutes + let x = parseCronNumberToken(t[1]); + this.allForm.controls.minutesPer.setValue(x.inc, { emitEvent: false }); + this.allForm.controls.minutes.setValue(x.val); + // Hours + x = parseCronNumberToken(t[2]); + this.allForm.controls.hoursPer.setValue(x.inc); + this.allForm.controls.hours.setValue(x.val); + this.allForm.controls.hoursType.setValue(this.getHourType(this.allForm.value.hours), { emitEvent: false }); + // Day of Month + x = parseCronNumberToken(t[3]); + this.allForm.controls.days.setValue(x.val, { emitEvent: false }); + this.allForm.controls.daysPer.setValue(x.inc, { emitEvent: false }); + // Month + x = parseCronNumberToken(t[4]); + this.allForm.controls.months.setValue(x.val, { emitEvent: false }); + this.allForm.controls.monthsInc.setValue(x.inc, { emitEvent: false }); + // Day of Week + this.allForm.controls.SUN.setValue(t[5].match(/(? 1 && value.charAt(value.length - 2) === '1') { + return 'th'; + } + // Check last digit: 21st, 22nd, 23rd, 24th, 25t, etc. + switch (value.charAt(value.length - 1)) { + case '1': + return 'st'; + case '2': + return 'nd'; + case '3': + return 'rd'; + default: + return 'th'; + } + } + getSelectOptions() { + return { + months: this.getRange(1, 12).map(String), + monthWeeks: ['#1', '#2', '#3', '#4', '#5', 'L'], + days: ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'], + minutes: this.getRange(0, 59).map(String), + fullMinutes: this.getRange(0, 59).map(String), + seconds: this.getRange(0, 59).map(String), + hours: this.getRange(1, 23).map(String), + monthDays: this.getRange(1, 31).map(String), + monthDaysWithLasts: ['1W', ...[...this.getRange(1, 31).map(String)], 'LW', 'L'], + monthDaysWithOutLasts: [...[...this.getRange(1, 31).map(String)]], + hourTypes: ['AM', 'PM'] + }; + } + getRange(start, end) { + const length = end - start + 1; + return Array.apply(null, Array(length)).map((_, i) => i + start); + } + writeValue(obj) { + if (obj === null) { + return; + } + this.handleModelChange(obj); + } + registerOnChange(fn) { + this.onChange = fn; + } + registerOnTouched(fn) { + this.onTouched = fn; + } + setDisabledState(isDisabled) { + this.disabled = isDisabled; + } + markAsTouched() { + if (!this.touched) { + this.onTouched(); + this.touched = true; + } + } + static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CronGenComponent, deps: [{ token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); } + static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: CronGenComponent, selector: "cron-editor", inputs: { backgroundColor: "backgroundColor", color: "color", disabled: "disabled", options: "options" }, providers: [CRON_VALUE_ACCESSOR], viewQueries: [{ propertyName: "minutesTab", first: true, predicate: ["minutesTab"], descendants: true }, { propertyName: "hourlyTab", first: true, predicate: ["hourlyTab"], descendants: true }, { propertyName: "dailyTab", first: true, predicate: ["dailyTab"], descendants: true }, { propertyName: "weeklyTab", first: true, predicate: ["weeklyTab"], descendants: true }, { propertyName: "monthlyTab", first: true, predicate: ["monthlyTab"], descendants: true }, { propertyName: "yearlyTab", first: true, predicate: ["yearlyTab"], descendants: true }, { propertyName: "advancedTab", first: true, predicate: ["advancedTab"], descendants: true }], ngImport: i0, template: " \n\n \n \n
\n\n
\n Every\n \n Minute(s)\n \n {{minute}}\n \n \n
\n\n
\n At time\n \n \n
\n
\n
\n\n \n \n
\n
\n Every \n \n Hour(s)\n \n {{hour}}\n \n \n
\n
\n At time \n \n \n
\n
\n
\n\n \n \n
\n\n
\n Every \n \n \n \n Day(s)\n \n \n {{monthDay}}\n \n \n \n \n \n Week Day (MON-FRI) \n \n \n
\n\n
\n At time \n \n \n
\n
\n\n
\n\n \n \n
\n\n
\n Every:\n\n \n Monday\n Tuesday\n Wednesday\n Thursday\n Friday\n Saturday\n Sunday\n \n
\n\n
\n At \n \n \n
\n
\n
\n\n \n \n
\n\n \n \n \n\n On the\n\n \n Day\n \n \n {{monthDayDisplay(monthDay)}}\n \n \n \n\n of every\n\n \n Month\n \n \n {{month}}\n \n \n \n\n \n\n \n\n \n On the\n\n \n Week\n \n \n {{monthWeekDisplay(monthWeek)}}\n \n \n \n\n \n Day\n \n \n {{dayDisplay(day)}}\n \n \n \n\n of every\n\n \n Month\n \n \n {{month}}\n \n \n \n \n \n\n
\n At time\n \n \n
\n
\n
\n\n \n \n
\n \n \n\n On the\n\n \n Day\n \n \n {{monthDayDisplay(monthDay)}}\n \n \n \n\n of\n\n \n Month\n \n \n {{monthDisplay(month)}}\n \n \n \n\n \n\n \n\n On the\n\n \n Week\n \n \n {{monthWeekDisplay(monthWeek)}}\n \n \n \n\n \n Day\n \n \n {{dayDisplay(day)}}\n \n \n \n\n of\n\n \n Month\n \n \n {{monthDisplay(month)}}\n \n \n \n\n \n \n\n
\n\n At time\n\n \n \n
\n\n
\n
\n\n \n \n
\n \n Expression\n \n \n
\n
\n
\n", styles: [".cron-editor-tab-content{margin-top:24px}.cron-editor-radio-group{display:flex;flex-direction:column;margin:15px 0;align-items:flex-start}.cron-editor-radio-button{margin:5px}.cron-editor-pad-line *{padding-left:8px}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i3.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i8.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i8.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "component", type: i9.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: i10.TimePickerComponent, selector: "cron-time-picker", inputs: ["disabled", "use24HourTime", "hideHours", "hideMinutes", "hideSeconds"] }] }); } +} +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CronGenComponent, decorators: [{ + type: Component, + args: [{ selector: 'cron-editor', providers: [CRON_VALUE_ACCESSOR], template: " \n\n \n \n
\n\n
\n Every\n \n Minute(s)\n \n {{minute}}\n \n \n
\n\n
\n At time\n \n \n
\n
\n
\n\n \n \n
\n
\n Every \n \n Hour(s)\n \n {{hour}}\n \n \n
\n
\n At time \n \n \n
\n
\n
\n\n \n \n
\n\n
\n Every \n \n \n \n Day(s)\n \n \n {{monthDay}}\n \n \n \n \n \n Week Day (MON-FRI) \n \n \n
\n\n
\n At time \n \n \n
\n
\n\n
\n\n \n \n
\n\n
\n Every:\n\n \n Monday\n Tuesday\n Wednesday\n Thursday\n Friday\n Saturday\n Sunday\n \n
\n\n
\n At \n \n \n
\n
\n
\n\n \n \n
\n\n \n \n \n\n On the\n\n \n Day\n \n \n {{monthDayDisplay(monthDay)}}\n \n \n \n\n of every\n\n \n Month\n \n \n {{month}}\n \n \n \n\n \n\n \n\n \n On the\n\n \n Week\n \n \n {{monthWeekDisplay(monthWeek)}}\n \n \n \n\n \n Day\n \n \n {{dayDisplay(day)}}\n \n \n \n\n of every\n\n \n Month\n \n \n {{month}}\n \n \n \n \n \n\n
\n At time\n \n \n
\n
\n
\n\n \n \n
\n \n \n\n On the\n\n \n Day\n \n \n {{monthDayDisplay(monthDay)}}\n \n \n \n\n of\n\n \n Month\n \n \n {{monthDisplay(month)}}\n \n \n \n\n \n\n \n\n On the\n\n \n Week\n \n \n {{monthWeekDisplay(monthWeek)}}\n \n \n \n\n \n Day\n \n \n {{dayDisplay(day)}}\n \n \n \n\n of\n\n \n Month\n \n \n {{monthDisplay(month)}}\n \n \n \n\n \n \n\n
\n\n At time\n\n \n \n
\n\n
\n
\n\n \n \n
\n \n Expression\n \n \n
\n
\n
\n", styles: [".cron-editor-tab-content{margin-top:24px}.cron-editor-radio-group{display:flex;flex-direction:column;margin:15px 0;align-items:flex-start}.cron-editor-radio-button{margin:5px}.cron-editor-pad-line *{padding-left:8px}\n"] }] + }], ctorParameters: () => [{ type: i1.FormBuilder }], propDecorators: { backgroundColor: [{ + type: Input + }], color: [{ + type: Input + }], disabled: [{ + type: Input + }], options: [{ + type: Input + }], minutesTab: [{ + type: ViewChild, + args: ['minutesTab'] + }], hourlyTab: [{ + type: ViewChild, + args: ['hourlyTab'] + }], dailyTab: [{ + type: ViewChild, + args: ['dailyTab'] + }], weeklyTab: [{ + type: ViewChild, + args: ['weeklyTab'] + }], monthlyTab: [{ + type: ViewChild, + args: ['monthlyTab'] + }], yearlyTab: [{ + type: ViewChild, + args: ['yearlyTab'] + }], advancedTab: [{ + type: ViewChild, + args: ['advancedTab'] + }] } }); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3Jvbi1lZGl0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9uZ3gtY3Jvbi1lZGl0b3Ivc3JjL2Nyb24tZWRpdG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvbmd4LWNyb24tZWRpdG9yL3NyYy9jcm9uLWVkaXRv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pdmF0ZSBjb21wdXRlQ3JvbigpOiBzdHJpbmcge1xuXG4gICAgbGV0IGNyb246IHN0cmluZztcbiAgICBzd2l0Y2ggKHRoaXMuYWxsRm9ybS52YWx1ZS5jcm9uVHlwZSkge1xuICAgICAgY2FzZSAnbWludXRlbHknOlxuICAgICAgICBjcm9uID0gdGhpcy5jb21wdXRlTWludXRlc0Nyb24oKTtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdob3VybHknOlxuICAgICAgICBjcm9uID0gdGhpcy5jb21wdXRlSG91cmx5Q3JvbigpO1xuICAgICAgICB0aGlzLnRhYkluZGV4ID0gMTtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdkYWlseSc6XG4gICAgICAgIGNyb24gPSB0aGlzLmNvbXB1dGVEYWlseUNyb24oKTtcbiAgICAgICAgdGhpcy50YWJJbmRleCA9IDI7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAnd2Vla2x5JzpcbiAgICAgICAgY3JvbiA9IHRoaXMuY29tcHV0ZVdlZWtseUNyb24oKTtcbiAgICAgICAgdGhpcy50YWJJbmRleCA9IDM7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAnbW9udGhseSc6XG4gICAgICAgIGNyb24gPSB0aGlzLmNvbXB1dGVNb250aGx5Q3JvbigpO1xuICAgICAgICB0aGlzLnRhYkluZGV4ID0gNDtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICd5ZWFybHknOlxuICAgICAgICBjcm9uID0gdGhpcy5jb21wdXRlWWVhcmx5Q3JvbigpO1xuICAgICAgICB0aGlzLnRhYkluZGV4ID0gNTtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICd1bmtub3duJzpcbiAgICAgICAgY3JvbiA9IHRoaXMuY29tcHV0ZUFkdmFuY2VkRXhwcmVzc2lvbigpO1xuICAgICAgICB0aGlzLnRhYkluZGV4ID0gNjtcbiAgICAgICAgYnJlYWs7XG4gICAgICBkZWZhdWx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29udHJvbE5hbWU9XCJXRURcIiBpMThuPldlZG5lc2RheTwvbWF0LWNoZWNrYm94PlxuICAgICAgICAgICAgPG1hdC1jaGVja2JveCBmb3JtQ29udHJvbE5hbWU9XCJUSFVcIiBpMThuPlRodXJzZGF5PC9tYXQtY2hlY2tib3g+XG4gICAgICAgICAgICA8bWF0LWNoZWNrYm94IGZvcm1Db250cm9sTmFtZT1cIkZSSVwiIGkxOG4+RnJpZGF5PC9tYXQtY2hlY2tib3g+XG4gICAgICAgICAgICA8bWF0LWNoZWNrYm94IGZvcm1Db250cm9sTmFtZT1cIlNBVFwiIGkxOG4+U2F0dXJkYXk8L21hdC1jaGVja2JveD5cbiAgICAgICAgICAgIDxtYXQtY2hlY2tib3ggZm9ybUNvbnRyb2xOYW1lPVwiU1VOXCIgaTE4bj5TdW5kYXk8L21hdC1jaGVja2JveD5cbiAgICAgICAgICA8L3NwYW4+XG4gICAgICAgIDwvZGl2PlxuXG4gICAgICAgIDxkaXY+XG4gICAgICAgICAgPHNwYW4gaTE4biBjbGFzcz1cImNyb24tZm9ybS1sYWJlbFwiPiBBdCA8L3NwYW4+XG4gICAgICAgICAgPGNyb24tdGltZS1waWNrZXIgW2Zvcm1Hcm91cF09XCJhbGxGb3JtXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdXNlMjRIb3VyVGltZV09XCJvcHRpb25zLnVzZTI0SG91clRpbWVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtoaWRlU2Vjb25kc109XCJvcHRpb25zLmhpZGVTZWNvbmRzfHwgIWlzQ3JvbkZsYXZvclF1YXJ0elwiPlxuICAgICAgICAgIDwvY3Jvbi10aW1lLXBpY2tlcj5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICA8L21hdC10YWI+XG5cbiAgICA8IS0tIE1vbnRobHktLT5cbiAgICA8bWF0LXRhYiBpMThuLWxhYmVsIGxhYmVsPVwiTW9udGhseVwiICpuZ0lmPVwiIW9wdGlvbnMuaGlkZU1vbnRobHlUYWJcIiAjbW9udGhseVRhYj5cbiAgICAgIDxkaXYgY2xhc3M9XCJjcm9uLWVkaXRvci10YWItY29udGVudFwiIFtmb3JtR3JvdXBdPVwiYWxsRm9ybVwiIChjbGljayk9XCJhbGxGb3JtLmNvbnRyb2xzLmNyb25UeXBlLnNldFZhbHVlKCdtb250aGx5JylcIj5cblxuICAgICAgICA8bWF0LXJhZGlvLWdyb3VwIGZvcm1Db250cm9sTmFtZT1cInNwZWNpZmljV2Vla0RheVwiPlxuICAgICAgICAgIDxtYXQtcmFkaW8tYnV0dG9uIG5hbWU9XCJtb250aGx5LXJhZGlvXCIgY2xhc3M9XCJjcm9uLWVkaXRvci1wYWQtbGluZVwiIFt2YWx1ZV09XCJmYWxzZVwiPlxuICAgICAgICAgICAgPCEtLSBTcGVzaWZpYyBkYXkgLS0+XG5cbiAgICAgICAgICAgICAgPHNwYW4gaTE4bj5PbiB0aGU8L3NwYW4+XG5cbiAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XG4gICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsIGkxOG4+RGF5PC9tYXQtbGFiZWw+XG4gICAgICAgICAgICAgICAgICA8bWF0LXNlbGVjdCBmb3JtQ29udHJvbE5hbWU9XCJkYXlzXCI+XG4gICAgICAgICAgICAgICAgICAgIDxtYXQtb3B0aW9uICpuZ0Zvcj1cImxldCBtb250aERheSBvZiBzZWxlY3RPcHRpb25zLm1vbnRoRGF5c1wiIFt2YWx1ZV09XCJtb250aERheVwiPlxuICAgICAgICAgICAgICAgICAgICAgIHt7bW9udGhEYXlEaXNwbGF5KG1vbnRoRGF5KX19XG4gICAgICAgICAgICAgICAgICAgIDwvbWF0LW9wdGlvbj5cbiAgICAgICAgICAgICAgICAgIDwvbWF0LXNlbGVjdD5cbiAgICAgICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxuXG4gICAgICAgICAgICAgIDxzcGFuIGkxOG4+b2YgZXZlcnk8L3NwYW4+XG5cbiAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XG4gICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsIGkxOG4+TW9udGg8L21hdC1sYWJlbD5cbiAgICAgICAgICAgICAgICAgIDxtYXQtc2VsZWN0IGZvcm1Db250cm9sTmFtZT1cIm1vbnRoc0luY1wiIFtuZ0NsYXNzXT1cIm9wdGlvbnMuZm9ybVNlbGVjdENsYXNzXCI+XG4gICAgICAgICAgICAgICAgICAgIDxtYXQtb3B0aW9uICpuZ0Zvcj1cImxldCBtb250aCBvZiBzZWxlY3RPcHRpb25zLm1vbnRoc1wiIFt2YWx1ZV09XCJtb250aFwiPlxuICAgICAgICAgICAgICAgICAgICAgIHt7bW9udGh9fVxuICAgICAgICAgICAgICAgICAgICA8L21hdC1vcHRpb24+XG4gICAgICAgICAgICAgICAgICA8L21hdC1zZWxlY3Q+XG4gICAgICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cblxuICAgICAgICAgIDwvbWF0LXJhZGlvLWJ1dHRvbj5cblxuICAgICAgICAgIDxtYXQtcmFkaW8tYnV0dG9uIG5hbWU9XCJtb250aGx5LXJhZGlvXCIgY2xhc3M9XCJjcm9uLWVkaXRvci1wYWQtbGluZVwiICBbdmFsdWVdPVwidHJ1ZVwiID5cblxuICAgICAgICAgICAgPCEtLSBTcGVzaWZpYyBXZWVrIGRheSAtLT5cbiAgICAgICAgICAgIDxzcGFuIGkxOG4+T24gdGhlPC9zcGFuPlxuXG4gICAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZD5cbiAgICAgICAgICAgICAgICA8bWF0LWxhYmVsIGkxOG4+V2VlazwvbWF0LWxhYmVsPlxuICAgICAgICAgICAgICAgIDxtYXQtc2VsZWN0IGNsYXNzPVwiZGF5LW9yZGVyLWluLW1vbnRoXCIgZm9ybUNvbnRyb2xOYW1lPVwibW9udGhzV2Vla1wiPlxuICAgICAgICAgICAgICAgICAgPG1hdC1vcHRpb24gKm5nRm9yPVwibGV0IG1vbnRoV2VlayBvZiBzZWxlY3RPcHRpb25zLm1vbnRoV2Vla3NcIiBbdmFsdWVdPVwibW9udGhXZWVrXCI+XG4gICAgICAgICAgICAgICAgICAgIHt7bW9udGhXZWVrRGlzcGxheShtb250aFdlZWspfX1cbiAgICAgICAgICAgICAgICAgIDwvbWF0LW9wdGlvbj5cbiAgICAgICAgICAgICAgICA8L21hdC1zZWxlY3Q+XG4gICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XG5cbiAgICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkPlxuICAgICAgICAgICAgICAgIDxtYXQtbGFiZWwgaTE4bj5EYXk8L21hdC1sYWJlbD5cbiAgICAgICAgICAgICAgICA8bWF0LXNlbGVjdCBjbGFzcz1cIndlZWstZGF5c1wiIGZvcm1Db250cm9sTmFtZT1cImRheVwiPlxuICAgICAgICAgICAgICAgICAgPG1hdC1vcHRpb24gKm5nRm9yPVwibGV0IGRheSBvZiBzZWxlY3RPcHRpb25zLmRheXNcIiBbdmFsdWVdPVwiZGF5XCI+XG4gICAgICAgICAgICAgICAgICAgIHt7ZGF5RGlzcGxheShkYXkpfX1cbiAgICAgICAgICAgICAgICAgIDwvbWF0LW9wdGlvbj5cbiAgICAgICAgICAgICAgICA8L21hdC1zZWxlY3Q+XG4gICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XG5cbiAgICAgICAgICAgICAgPHNwYW4gaTE4bj5vZiBldmVyeTwvc3Bhbj5cblxuICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XG4gICAgICAgICAgICAgICAgPG1hdC1sYWJlbCBpMThuPk1vbnRoPC9tYXQtbGFiZWw+XG4gICAgICAgICAgICAgICAgPG1hdC1zZWxlY3QgY2xhc3M9XCJtb250aHMtc21hbGxcIiBmb3JtQ29udHJvbE5hbWU9XCJtb250aHNJbmNcIj5cbiAgICAgICAgICAgICAgICAgIDxtYXQtb3B0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XAgY2xhc3M9XCJjcm9uLWVkaXRvci1yYWRpby1ncm91cFwiIGZvcm1Db250cm9sTmFtZT1cInNwZWNpZmljTW9udGhXZWVrXCI+XG4gICAgICAgICAgPG1hdC1yYWRpby1idXR0b24gbmFtZT1cInllYXJseS1yYWRpb1wiIGNsYXNzPVwiY3Jvbi1lZGl0b3ItcGFkLWxpbmVcIiBbdmFsdWVdPVwiZmFsc2VcIj5cblxuICAgICAgICAgICAgPHNwYW4gaTE4bj5PbiB0aGU8L3NwYW4+XG5cbiAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZD5cbiAgICAgICAgICAgICAgPG1hdC1sYWJlbCBpMThuPkRheTwvbWF0LWxhYmVsPlxuICAgICAgICAgICAgICA8bWF0LXNlbGVjdCBmb3JtQ29udHJvbE5hbWU9XCJkYXlzXCIgPlxuICAgICAgICAgICAgICAgIDxtYXQtb3B0aW9uICpuZ0Zvcj1cImxldCBtb250aERheSBvZiBzZWxlY3RPcHRpb25zLm1vbnRoRGF5c1wiIFt2YWx1ZV09XCJtb250aERheVwiPlxuICAgICAgICAgICAgICAgICAge3ttb250aERheURpc3BsYXkobW9udGhEYXkpfX1cbiAgICAgICAgICAgICAgICA8L21hdC1vcHRpb24+XG4gICAgICAgICAgICAgIDwvbWF0LXNlbGVjdD5cbiAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XG5cbiAgICAgICAgICAgIDxzcGFuIGkxOG49XCJkYXkgb2YgbW9udGhcIj5vZjwvc3Bhbj5cblxuICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkPlxuICAgICAgICAgICAgICA8bWF0LWxhYmVsIGkxOG4+TW9udGg8L21hdC1sYWJlbD5cbiAgICAgICAgICAgICAgPG1hdC1zZWxlY3QgZm9ybUNvbnRyb2xOYW1lPVwibW9udGhzXCI+XG4gICAgICAgICAgICAgICAgPG1hdC1vcHRpb24gKm5nRm9yPVwibGV0IG1vbnRoIG9mIHNlbGVjdE9wdGlvbnMubW9udGhz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F5XCIgPlxuICAgICAgICAgICAgICAgIDxtYXQtb3B0aW9uICpuZ0Zvcj1cImxldCBkYXkgb2Ygc2VsZWN0T3B0aW9ucy5kYXlzXCIgW3ZhbHVlXT1cImRheVwiPlxuICAgICAgICAgICAgICAgICAge3tkYXlEaXNwbGF5KGRheSl9fVxuICAgICAgICAgICAgICAgIDwvbWF0LW9wdGlvbj5cbiAgICAgICAgICAgICAgPC9tYXQtc2VsZWN0PlxuICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cblxuICAgICAgICAgICAgPHNwYW4gaTE4bj5vZjwvc3Bhbj5cblxuICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkPlxuICAgICAgICAgICAgICA8bWF0LWxhYmVsIGkxOG4+TW9udGg8L21hdC1sYWJlbD5cbiAgICAgICAgICAgICAgPG1hdC1zZWxlY3QgZm9ybUNvbnRyb2xOYW1lPVwibW9udGhzXCI+XG4gICAgICAgICAgICAgICAgPG1hdC1vcHRpb24gKm5nRm9yPVwibGV0IG1vbnRoIG9mIHNlbGVjdE9wdGlvbnMubW9udGhzXCIgW3ZhbHVlXT1cIm1vbnRoXCI+XG4gICAgICAgICAgICAgICAgICB7e21vbnRoRGlzcGxheShtb250aCl9fVxuICAgICAgICAgICAgICAgIDwvbWF0LW9wdGlvbj5cbiAgICAgICAgICAgICAgPC9tYXQtc2VsZWN0PlxuICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cblxuICAgICAgICAgIDwvbWF0LXJhZGlvLWJ1dHRvbj5cbiAgICAgICAgPC9tYXQtcmFkaW8tZ3JvdXA+XG5cbiAgICAgICAgPGRpdiBjbGFzcz1cImNyb24tZWRpdG9yLXBhZC1saW5lXCI+XG5cbiAgICAgICAgICA8c3BhbiBpMThuPkF0IHRpbWU8L3NwYW4+XG5cbiAgICAgICAgICA8Y3Jvbi10aW1lLXBpY2tlciBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtmb3JtR3JvdXBdPVwiYWxsRm9ybVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW3VzZTI0SG91clRpbWVdPVwib3B0aW9ucy51c2UyNEhvdXJUaW1lXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbaGlkZVNlY29uZHNdPVwib3B0aW9ucy5oaWRlU2Vjb25kcyB8fCAhaXNDcm9uRmxhdm9yUXVhcnR6XCI+XG4gICAgICAgICAgPC9jcm9uLXRpbWUtcGlja2VyPlxuICAgICAgICA8L2Rpdj5cblxuICAgICAgPC9kaXY+XG4gICAgPC9tYXQtdGFiPlxuXG4gICAgPCEtLSBBZHZhbmNlZC0tPlxuICAgIDxtYXQtdGFiIGkxOG4tbGFiZWwgbGFiZWw9XCJBZHZhbmNlZFwiICpuZ0lmPVwiIW9wdGlvbnMuaGlkZUFkdmFuY2VkVGFiXCIgI2FkdmFuY2VkVGFiPlxuICAgICAgPGRpdiBjbGFzcz1cImNyb24tZWRpdG9yLXRhYi1jb250ZW50XCIgW2Zvcm1Hcm91cF09XCJhbGxGb3JtXCI+XG4gICAgICAgIDxtYXQtZm9ybS1maWVsZD5cbiAgICAgICAgICA8bWF0LWxhYmVsIGkxOG4+RXhwcmVzc2lvbjwvbWF0LWxhYmVsPlxuICAgICAgICAgIDxpbnB1dCBtYXRJbnB1dCB0eXBlPVwidGV4dFwiIGNsYXNzPVwiYWR2YW5jZWQtY3Jvbi1lZGl0b3ItaW5wdXRcIiBmb3JtQ29udHJvbE5hbWU9XCJleHByZXNzaW9uXCI+XG4gICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XG4gICAgICA8L2Rpdj5cbiAgICA8L21hdC10YWI+XG4gIDwvbWF0LXRhYi1ncm91cD5cbiJdfQ== \ No newline at end of file diff --git a/libs/ngx-cron-editor/esm2022/src/cron-editor.module.mjs b/libs/ngx-cron-editor/esm2022/src/cron-editor.module.mjs new file mode 100644 index 0000000..1775950 --- /dev/null +++ b/libs/ngx-cron-editor/esm2022/src/cron-editor.module.mjs @@ -0,0 +1,52 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; +import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MatInputModule } from '@angular/material/input'; +import { MatListModule } from '@angular/material/list'; +import { MatRadioModule } from '@angular/material/radio'; +import { MatSelectModule } from '@angular/material/select'; +import { MatTabsModule } from '@angular/material/tabs'; +import { TimePickerComponent } from './cron-time-picker.component'; +import { CronGenComponent } from './cron-editor.component'; +import * as i0 from "@angular/core"; +export class CronEditorModule { + static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CronEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } + static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: CronEditorModule, declarations: [TimePickerComponent, CronGenComponent], imports: [CommonModule, + FormsModule, + ReactiveFormsModule, + MatTabsModule, + MatListModule, + MatSelectModule, + MatInputModule, + MatRadioModule, + MatCheckboxModule], exports: [TimePickerComponent, CronGenComponent] }); } + static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CronEditorModule, imports: [CommonModule, + FormsModule, + ReactiveFormsModule, + MatTabsModule, + MatListModule, + MatSelectModule, + MatInputModule, + MatRadioModule, + MatCheckboxModule] }); } +} +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CronEditorModule, decorators: [{ + type: NgModule, + args: [{ + imports: [ + CommonModule, + FormsModule, + ReactiveFormsModule, + MatTabsModule, + MatListModule, + MatSelectModule, + MatInputModule, + MatRadioModule, + MatCheckboxModule + ], + exports: [TimePickerComponent, CronGenComponent], + declarations: [TimePickerComponent, CronGenComponent] + }] + }] }); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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saXN0JztcbmltcG9ydCB7IE1hdFJhZGlvTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvbWF0ZXJpYWwvcmFkaW8nO1xuaW1wb3J0IHsgTWF0U2VsZWN0TW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvbWF0ZXJpYWwvc2VsZWN0JztcbmltcG9ydCB7IE1hdFRhYnNNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9tYXRlcmlhbC90YWJzJztcbmltcG9ydCB7IFRpbWVQaWNrZXJDb21wb25lbnQgfSBmcm9tICcuL2Nyb24tdGltZS1waWNrZXIuY29tcG9uZW50JztcbmltcG9ydCB7IENyb25HZW5Db21wb25lbnQgfSBmcm9tICcuL2Nyb24tZWRpdG9yLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGUsXG4gICAgICAgIEZvcm1zTW9kdWxlLFxuICAgICAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxuICAgICAgICBNYXRUYWJzTW9kdWxlLFxuICAgICAgICBNYXRMaXN0TW9kdWxlLFxuICAgICAgICBNYXRTZWxlY3RNb2R1bGUsXG4gICAgICAgIE1hdElucHV0TW9kdWxlLFxuICAgICAgICBNYXRSYWRpb01vZHVsZSxcbiAgICAgICAgTWF0Q2hlY2tib3hNb2R1bGVcbiAgICBdLFxuICBleHBvcnRzOiBbVGltZVBpY2tlckNvbXBvbmVudCwgQ3JvbkdlbkNvbXBvbmVudF0sXG4gIGRlY2xhcmF0aW9uczogW1RpbWVQaWNrZXJDb21wb25lbnQsIENyb25HZW5Db21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIENyb25FZGl0b3JNb2R1bGUgeyB9XG4iXX0= \ No newline at end of file diff --git a/libs/ngx-cron-editor/esm2022/src/cron-time-picker.component.mjs b/libs/ngx-cron-editor/esm2022/src/cron-time-picker.component.mjs new file mode 100644 index 0000000..fff5a94 --- /dev/null +++ b/libs/ngx-cron-editor/esm2022/src/cron-time-picker.component.mjs @@ -0,0 +1,48 @@ +import { Component, Input } from '@angular/core'; +import * as i0 from "@angular/core"; +import * as i1 from "@angular/forms"; +import * as i2 from "@angular/common"; +import * as i3 from "@angular/material/form-field"; +import * as i4 from "@angular/material/select"; +import * as i5 from "@angular/material/core"; +function* range(start, end) { + for (let i = start; i <= end; i++) { + yield i; + } +} +export class TimePickerComponent { + get hours() { + return this.use24HourTime ? [...range(0, 23)].map(String) : [...range(0, 12)].map(String); + } + constructor(parent) { + this.parent = parent; + this.disabled = false; + this.use24HourTime = true; + this.hideHours = false; + this.hideMinutes = false; + this.hideSeconds = true; + this.minutes = [...range(0, 59)].map(String); + this.seconds = [...range(0, 59)].map(String); + this.hourTypes = ['AM', 'PM']; + } + ngOnInit() { + this.allForm = this.parent.control; + } + static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: TimePickerComponent, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); } + static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: TimePickerComponent, selector: "cron-time-picker", inputs: { disabled: "disabled", use24HourTime: "use24HourTime", hideHours: "hideHours", hideMinutes: "hideMinutes", hideSeconds: "hideSeconds" }, providers: [], ngImport: i0, template: "\n\n \n \n Hour(s)\n \n {{hour}}\n \n \n \n\n \n :\n \n Minute(s)\n \n {{minute}}\n \n \n \n\n \n :\n \n Second(s)\n \n {{second}}\n \n \n \n\n \n .\n \n \n {{hourType}}\n \n \n \n\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }] }); } +} +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: TimePickerComponent, decorators: [{ + type: Component, + args: [{ selector: 'cron-time-picker', providers: [], template: "\n\n \n \n Hour(s)\n \n {{hour}}\n \n \n \n\n \n :\n \n Minute(s)\n \n {{minute}}\n \n \n \n\n \n :\n \n Second(s)\n \n {{second}}\n \n \n \n\n \n .\n \n \n {{hourType}}\n \n \n \n\n" }] + }], ctorParameters: () => [{ type: i1.ControlContainer }], propDecorators: { disabled: [{ + type: Input + }], use24HourTime: [{ + type: Input + }], hideHours: [{ + type: Input + }], hideMinutes: [{ + type: Input + }], hideSeconds: [{ + type: Input + }] } }); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIj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ttaW51dGV9fTwvbWF0LW9wdGlvbj5cbiAgICAgIDwvbWF0LXNlbGVjdD5cbiAgICA8L21hdC1mb3JtLWZpZWxkPlxuICA8L25nLWNvbnRhaW5lcj5cblxuICA8bmctY29udGFpbmVyICpuZ0lmPVwiIWhpZGVTZWNvbmRzXCI+XG4gICAgPHNwYW4gKm5nSWY9XCIhaGlkZU1pbnV0ZXNcIj46PC9zcGFuPlxuICAgIDxtYXQtZm9ybS1maWVsZD5cbiAgICAgIDxtYXQtbGFiZWwgaTE4bj5TZWNvbmQocyk8L21hdC1sYWJlbD5cbiAgICAgIDxtYXQtc2VsZWN0IGZvcm1Db250cm9sTmFtZT1cInNlY29uZHNcIj5cbiAgICAgICAgPG1hdC1vcHRpb24gKm5nRm9yPVwibGV0IHNlY29uZCBvZiBzZWNvbmRzXCIgW3ZhbHVlXT1cInNlY29uZFwiPnt7c2Vjb25kfX08L21hdC1vcHRpb24+XG4gICAgICA8L21hdC1zZWxlY3Q+XG4gICAgPC9tYXQtZm9ybS1maWVsZD5cbiAgPC9uZy1jb250YWluZXI+XG5cbiAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIiF1c2UyNEhvdXJUaW1lXCI+XG4gICAgPHNwYW4+PC9zcGFuPi5cbiAgICA8bWF0LWZvcm0tZmllbGQ+XG4gICAgICA8bWF0LXNlbGVjdCBmb3JtQ29udHJvbE5hbWU9XCJob3VyVHlwZVwiPlxuICAgICAgICA8bWF0LW9wdGlvbiAqbmdGb3I9XCJsZXQgaG91clR5cGUgb2YgaG91clR5cGVzXCIgW3ZhbHVlXT1cImhvdXJUeXBlXCI+e3tob3VyVHlwZX19PC9tYXQtb3B0aW9uPlxuICAgICAgPC9tYXQtc2VsZWN0PlxuICAgIDwvbWF0LWZvcm0tZmllbGQ+XG4gIDwvbmctY29udGFpbmVyPlxuPC9uZy1jb250YWluZXI+XG4iXX0= \ No newline at end of file diff --git a/libs/ngx-cron-editor/esm2022/src/enums.mjs b/libs/ngx-cron-editor/esm2022/src/enums.mjs new file mode 100644 index 0000000..01eb325 --- /dev/null +++ b/libs/ngx-cron-editor/esm2022/src/enums.mjs @@ -0,0 +1,32 @@ +export const Days = { + 'SUN': $localize `Sunday`, + 'MON': $localize `Monday`, + 'TUE': $localize `Tuesday`, + 'WED': $localize `Wednesday`, + 'THU': $localize `Thursday`, + 'FRI': $localize `Friday`, + 'SAT': $localize `Saturday` +}; +export const MonthWeeks = { + '#1': $localize `First`, + '#2': $localize `Second`, + '#3': $localize `Third`, + '#4': $localize `Fourth`, + '#5': $localize `Fifth`, + 'L': $localize `Last` +}; +export const Months = { + 1: $localize `January`, + 2: $localize `February`, + 3: $localize `March`, + 4: $localize `April`, + 5: $localize `May`, + 6: $localize `June`, + 7: $localize `July`, + 8: $localize `August`, + 9: $localize `September`, + 10: $localize `October`, + 11: $localize `November`, + 12: $localize `December` +}; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL25neC1jcm9uLWVkaXRvci9zcmMvZW51bXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsTUFBTSxDQUFDLE1BQU0sSUFBSSxHQUFHO0lBQ2xCLEtBQUssRUFBRSxTQUFTLENBQUEsUUFBUTtJQUN4QixLQUFLLEVBQUUsU0FBUyxDQUFBLFFBQVE7SUFDeEIsS0FBSyxFQUFFLFNBQVMsQ0FBQSxTQUFTO0lBQ3pCLEtBQUssRUFBRSxTQUFTLENBQUEsV0FBVztJQUMzQixLQUFLLEVBQUUsU0FBUyxDQUFBLFVBQVU7SUFDMUIsS0FBSyxFQUFFLFNBQVMsQ0FBQSxRQUFRO0lBQ3hCLEtBQUssRUFBRSxTQUFTLENBQUEsVUFBVTtDQUMzQixDQUFDO0FBRUYsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUks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nNkYXlgLFxuICAnRlJJJzogJGxvY2FsaXplYEZyaWRheWAsXG4gICdTQVQnOiAkbG9jYWxpemVgU2F0dXJkYXlgXG59O1xuXG5leHBvcnQgY29uc3QgTW9udGhXZWVrcyA9IHtcbiAgJyMxJzogJGxvY2FsaXplYEZpcnN0YCxcbiAgJyMyJzogJGxvY2FsaXplYFNlY29uZGAsXG4gICcjMyc6ICRsb2NhbGl6ZWBUaGlyZGAsXG4gICcjNCc6ICRsb2NhbGl6ZWBGb3VydGhgLFxuICAnIzUnOiAkbG9jYWxpemVgRmlmdGhgLFxuICAnTCc6ICRsb2NhbGl6ZWBMYXN0YFxufTtcblxuZXhwb3J0IGNvbnN0IE1vbnRocyA9IHtcbiAgMTogJGxvY2FsaXplYEphbnVhcnlgLFxuICAyOiAkbG9jYWxpemVgRmVicnVhcnlgLFxuICAzOiAkbG9jYWxpemVgTWFyY2hgLFxuICA0OiAkbG9jYWxpemVgQXByaWxgLFxuICA1OiAkbG9jYWxpemVgTWF5YCxcbiAgNjogJGxvY2FsaXplYEp1bmVgLFxuICA3OiAkbG9jYWxpemVgSnVseWAsXG4gIDg6ICRsb2NhbGl6ZWBBdWd1c3RgLFxuICA5OiAkbG9jYWxpemVgU2VwdGVtYmVyYCxcbiAgMTA6ICRsb2NhbGl6ZWBPY3RvYmVyYCxcbiAgMTE6ICRsb2NhbGl6ZWBOb3ZlbWJlcmAsXG4gIDEyOiAkbG9jYWxpemVgRGVjZW1iZXJgXG59XG4iXX0= \ No newline at end of file diff --git a/libs/ngx-cron-editor/fesm2022/ngx-cron-editor.mjs b/libs/ngx-cron-editor/fesm2022/ngx-cron-editor.mjs new file mode 100644 index 0000000..b131d8e --- /dev/null +++ b/libs/ngx-cron-editor/fesm2022/ngx-cron-editor.mjs @@ -0,0 +1,640 @@ +import * as i0 from '@angular/core'; +import { Component, Input, forwardRef, ViewChild, NgModule } from '@angular/core'; +import * as i2 from '@angular/common'; +import { CommonModule } from '@angular/common'; +import * as i1 from '@angular/forms'; +import { NG_VALUE_ACCESSOR, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms'; +import * as i9 from '@angular/material/checkbox'; +import { MatCheckboxModule } from '@angular/material/checkbox'; +import * as i7 from '@angular/material/input'; +import { MatInputModule } from '@angular/material/input'; +import { MatListModule } from '@angular/material/list'; +import * as i8 from '@angular/material/radio'; +import { MatRadioModule } from '@angular/material/radio'; +import * as i4 from '@angular/material/select'; +import { MatSelectModule } from '@angular/material/select'; +import * as i3$1 from '@angular/material/tabs'; +import { MatTabsModule } from '@angular/material/tabs'; +import * as i3 from '@angular/material/form-field'; +import * as i5 from '@angular/material/core'; +import { debounceTime } from 'rxjs'; + +function* range$1(start, end) { + for (let i = start; i <= end; i++) { + yield i; + } +} +class TimePickerComponent { + get hours() { + return this.use24HourTime ? [...range$1(0, 23)].map(String) : [...range$1(0, 12)].map(String); + } + constructor(parent) { + this.parent = parent; + this.disabled = false; + this.use24HourTime = true; + this.hideHours = false; + this.hideMinutes = false; + this.hideSeconds = true; + this.minutes = [...range$1(0, 59)].map(String); + this.seconds = [...range$1(0, 59)].map(String); + this.hourTypes = ['AM', 'PM']; + } + ngOnInit() { + this.allForm = this.parent.control; + } + static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: TimePickerComponent, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); } + static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: TimePickerComponent, selector: "cron-time-picker", inputs: { disabled: "disabled", use24HourTime: "use24HourTime", hideHours: "hideHours", hideMinutes: "hideMinutes", hideSeconds: "hideSeconds" }, providers: [], ngImport: i0, template: "\n\n \n \n Hour(s)\n \n {{hour}}\n \n \n \n\n \n :\n \n Minute(s)\n \n {{minute}}\n \n \n \n\n \n :\n \n Second(s)\n \n {{second}}\n \n \n \n\n \n .\n \n \n {{hourType}}\n \n \n \n\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }] }); } +} +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: TimePickerComponent, decorators: [{ + type: Component, + args: [{ selector: 'cron-time-picker', providers: [], template: "\n\n \n \n Hour(s)\n \n {{hour}}\n \n \n \n\n \n :\n \n Minute(s)\n \n {{minute}}\n \n \n \n\n \n :\n \n Second(s)\n \n {{second}}\n \n \n \n\n \n .\n \n \n {{hourType}}\n \n \n \n\n" }] + }], ctorParameters: () => [{ type: i1.ControlContainer }], propDecorators: { disabled: [{ + type: Input + }], use24HourTime: [{ + type: Input + }], hideHours: [{ + type: Input + }], hideMinutes: [{ + type: Input + }], hideSeconds: [{ + type: Input + }] } }); + +class DefaultOptions { + constructor() { + this.cronFlavor = 'standard'; + this.defaultTime = '00:00:00'; + this.hideAdvancedTab = false; + this.hideDailyTab = false; + this.hideHourlyTab = false; + this.hideMinutesTab = false; + this.hideMonthlyTab = false; + this.hideSeconds = false; + this.hideSpecificMonthWeekTab = false; + this.hideSpecificWeekDayTab = false; + this.hideWeeklyTab = false; + this.hideYearlyTab = false; + this.use24HourTime = true; + } +} + +const Days = { + 'SUN': $localize `Sunday`, + 'MON': $localize `Monday`, + 'TUE': $localize `Tuesday`, + 'WED': $localize `Wednesday`, + 'THU': $localize `Thursday`, + 'FRI': $localize `Friday`, + 'SAT': $localize `Saturday` +}; +const MonthWeeks = { + '#1': $localize `First`, + '#2': $localize `Second`, + '#3': $localize `Third`, + '#4': $localize `Fourth`, + '#5': $localize `Fifth`, + 'L': $localize `Last` +}; +const Months = { + 1: $localize `January`, + 2: $localize `February`, + 3: $localize `March`, + 4: $localize `April`, + 5: $localize `May`, + 6: $localize `June`, + 7: $localize `July`, + 8: $localize `August`, + 9: $localize `September`, + 10: $localize `October`, + 11: $localize `November`, + 12: $localize `December` +}; + +const minutesExp = /\d+ 0\/\d+ \* 1\/1 \* [\?\*] \*/; +const hourlyExp = /\d+ \d+ 0\/\d+ 1\/1 \* [\?\*] \*/; +const dailyExp = /\d+ \d+ \d+ 1\/\d+ \* [\?\*] \*/; +const dailyWeekdayExp = /\d+ \d+ \d+ [\?\*] \* MON-FRI \*/; +const weeklyExp = /\d+ \d+ \d+ [\?\*] \* (MON|TUE|WED|THU|FRI|SAT|SUN)(,(MON|TUE|WED|THU|FRI|SAT|SUN))* \*/; +const monthlyExp = /\d+ \d+ \d+ (\d+|L|LW|1W) 1\/\d+ [\?\*] \*/; +const monthlyWeekdayExp = /\d+ \d+ \d+ [\?\*] 1\/\d+ (MON|TUE|WED|THU|FRI|SAT|SUN)((#[1-5])|L) \*/; +const yearlyExp = /\d+ \d+ \d+ (\d+|L|LW|1W) \d+ [\?\*] \*/; +const yearlyMonthWeekExp = /\d+ \d+ \d+ [\?\*] \d+ (MON|TUE|WED|THU|FRI|SAT|SUN)((#[1-5])|L) \*/; +const CRON_VALUE_ACCESSOR = { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => CronGenComponent), + multi: true, +}; +function parseCronNumberToken(val) { + const v = val.split('/'); + if (v.length === 1) { + return { val: v[0], inc: '0' }; + } + return { val: v[0], inc: v[1] }; +} +function* range(start, end) { + for (let i = start; i <= end; i++) { + yield i; + } +} +class CronGenComponent { + get isCronFlavorQuartz() { + return this.options.cronFlavor === 'quartz'; + } + get isCronFlavorStandard() { + return this.options.cronFlavor === 'standard'; + } + get yearDefaultChar() { + return this.options.cronFlavor === 'quartz' ? '*' : ''; + } + get weekDayDefaultChar() { + return this.options.cronFlavor === 'quartz' ? '?' : '*'; + } + get monthDayDefaultChar() { + return this.options.cronFlavor === 'quartz' ? '?' : '*'; + } + constructor(fb) { + this.fb = fb; + this.tabIndex = 0; + this.disabled = false; + this.options = new DefaultOptions(); + this.selectOptions = this.getSelectOptions(); + this.touched = false; + this.allForm = this.fb.group({ + cronType: ['unknown', Validators.required], + seconds: ['0'], + minutes: ['0'], + minutesPer: ['0'], + hours: [this.getAmPmHour('0')], + hoursPer: ['0'], + hoursType: [this.getHourType('0')], + days: ['0'], // Days of Month, 1, 2, 31.... + daysPer: ['0'], + months: ['0'], + monthsInc: ['0'], + day: ['MON'], // Day of week '1' or 'MON; + monthsWeek: ['#1'], + weekdaysOnly: [false], + specificWeekDay: [false], + specificMonthWeek: [false], + MON: [true], + TUE: [true], + WED: [true], + THU: [true], + FRI: [true], + SAT: [true], + SUN: [true], + expression: ['0 0 0 0 0'] + }); + } + /* Update the cron output to that of the selected tab. + * The cron output value is updated whenever a form is updated. To make it change in response to tab selection, we simply reset + * the value of the form that goes into focus. + * We cannot rely on the index of the tab, as the hide options could hide tabs and + * then the index dynamically changes based on the hidden tab.*/ + onTabChange(tabChangeEvent) { + const currentTab = tabChangeEvent.tab; + let x; + switch (currentTab) { + case this.minutesTab: + x = 'minutely'; + break; + case this.hourlyTab: + x = 'hourly'; + break; + case this.dailyTab: + x = 'daily'; + break; + case this.weeklyTab: + x = 'weekly'; + break; + case this.monthlyTab: + x = 'monthly'; + break; + case this.yearlyTab: + x = 'yearly'; + break; + case this.advancedTab: + x = 'unknown'; + break; + default: + throw (new Error('Invalid tab selected')); + } + this.allForm.controls.cronType.setValue(x); + } + async ngOnInit() { + this.formSub = this.allForm.valueChanges.pipe(debounceTime(50)).subscribe(value => { + this.markAsTouched(); + const cron = this.computeCron(); + // this.allForm.controls.expression.setValue(cron, {emitEvent: false}); + this.onChange(cron); + }); + } + ngOnDestroy() { + this.formSub.unsubscribe(); + } + computeCron() { + let cron; + switch (this.allForm.value.cronType) { + case 'minutely': + cron = this.computeMinutesCron(); + break; + case 'hourly': + cron = this.computeHourlyCron(); + this.tabIndex = 1; + break; + case 'daily': + cron = this.computeDailyCron(); + this.tabIndex = 2; + break; + case 'weekly': + cron = this.computeWeeklyCron(); + this.tabIndex = 3; + break; + case 'monthly': + cron = this.computeMonthlyCron(); + this.tabIndex = 4; + break; + case 'yearly': + cron = this.computeYearlyCron(); + this.tabIndex = 5; + break; + case 'unknown': + cron = this.computeAdvancedExpression(); + this.tabIndex = 6; + break; + default: + throw Error($localize `Unknown cron type ${this.allForm.value.cronType}`); + } + return cron; + } + computeMinutesCron() { + const state = this.allForm.value; + // tslint:disable-next-line:max-line-length + return `${this.isCronFlavorQuartz ? state.seconds : ''} 0/${state.minutesPer} * 1/1 * ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim(); + } + computeHourlyCron() { + const state = this.allForm.value; + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} 0/${state.hoursPer} 1/1 * ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim(); + } + computeDailyCron() { + if (this.allForm.value.weekdaysOnly) { + return this.computeEveryWeekdayCron(); + } + return this.computeEveryDaysCron(); + } + computeEveryDaysCron() { + const state = this.allForm.value; + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} 1/${state.daysPer} * ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim(); + } + computeEveryWeekdayCron() { + const state = this.allForm.value; + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${this.monthDayDefaultChar} * MON-FRI ${this.yearDefaultChar}`.trim(); + } + computeWeeklyCron() { + const state = this.allForm.value; + const days = this.selectOptions.days + .reduce((acc, day) => state[day] ? acc.concat([day]) : acc, []) + .join(',') || '*'; + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${this.monthDayDefaultChar} * ${days} ${this.yearDefaultChar}`.trim(); + } + computeMonthlyCron() { + const state = this.allForm.value; + if (state.specificWeekDay) { + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${this.monthDayDefaultChar} 1/${state.monthsInc} ${state.day}${state.monthsWeek} ${this.yearDefaultChar}`.trim(); + } + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${state.days} 1/${state.monthsInc} ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim(); + } + computeYearlyCron() { + const state = this.allForm.value; + if (state.specificMonthWeek) { + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${this.monthDayDefaultChar} ${state.months} ${state.day}${state.monthsWeek} ${this.yearDefaultChar}`.trim(); + } + return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${state.days} ${state.months} ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim(); + } + computeAdvancedExpression() { + const state = this.allForm.value; + return state.expression; + } + dayDisplay(day) { + return Days[day]; + } + monthWeekDisplay(monthWeekNumber) { + return MonthWeeks[monthWeekNumber]; + } + monthDisplay(month) { + return Months[parseInt(month, 10)]; + } + monthDayDisplay(month) { + if (typeof month === 'number') { + return `${month}${this.getOrdinalSuffix(month)}`; + } + if (month === 'L') { + return $localize `Last Day`; + } + else if (month === 'LW') { + return $localize `Last Weekday`; + } + else if (month === '1W') { + return $localize `First Weekday`; + } + else { + return `${month}${this.getOrdinalSuffix(month)}`; + } + } + getAmPmHour(hour) { + if (this.options.use24HourTime) { + return hour; + } + return ((parseInt(hour, 10) + 11) % 12 + 1).toString(); + } + // Return the AM or PM component of a clocktime, or null if 24-hour format is used. + getHourType(hour) { + if (this.options.use24HourTime) { + return null; + } + if (parseInt(hour, 10) >= 12) { + return 'PM'; + } + return 'AM'; + } + hourToCron(hour, hourType) { + if (this.options.use24HourTime) { + return hour; + } + else { + return hourType === 'AM' ? (hour === '12' ? '0' : hour) : (hour === '12' ? '12' : (parseInt(hour, 10) + 12).toString()); + } + } + handleModelChange(cron) { + if (!this.cronIsValid(cron)) { + if (this.isCronFlavorQuartz) { + throw new Error($localize `Invalid cron expression, there must be 6 or 7 segments`); + } + if (this.isCronFlavorStandard) { + throw new Error($localize `Invalid cron expression, there must be 5 segments`); + } + } + // Store original cron expression here. + this.allForm.controls.expression.setValue(cron); + // Normalize cron so that second segment is included. + if (cron.split(' ').length === 5 && this.isCronFlavorStandard) { + cron = `0 ${cron} *`; + } + // Parse cron tokens + const t = cron.split(' '); + // Seconds + this.allForm.controls.seconds.setValue(t[0], { emitEvent: false }); + // Minutes + let x = parseCronNumberToken(t[1]); + this.allForm.controls.minutesPer.setValue(x.inc, { emitEvent: false }); + this.allForm.controls.minutes.setValue(x.val); + // Hours + x = parseCronNumberToken(t[2]); + this.allForm.controls.hoursPer.setValue(x.inc); + this.allForm.controls.hours.setValue(x.val); + this.allForm.controls.hoursType.setValue(this.getHourType(this.allForm.value.hours), { emitEvent: false }); + // Day of Month + x = parseCronNumberToken(t[3]); + this.allForm.controls.days.setValue(x.val, { emitEvent: false }); + this.allForm.controls.daysPer.setValue(x.inc, { emitEvent: false }); + // Month + x = parseCronNumberToken(t[4]); + this.allForm.controls.months.setValue(x.val, { emitEvent: false }); + this.allForm.controls.monthsInc.setValue(x.inc, { emitEvent: false }); + // Day of Week + this.allForm.controls.SUN.setValue(t[5].match(/(? 1 && value.charAt(value.length - 2) === '1') { + return 'th'; + } + // Check last digit: 21st, 22nd, 23rd, 24th, 25t, etc. + switch (value.charAt(value.length - 1)) { + case '1': + return 'st'; + case '2': + return 'nd'; + case '3': + return 'rd'; + default: + return 'th'; + } + } + getSelectOptions() { + return { + months: this.getRange(1, 12).map(String), + monthWeeks: ['#1', '#2', '#3', '#4', '#5', 'L'], + days: ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'], + minutes: this.getRange(0, 59).map(String), + fullMinutes: this.getRange(0, 59).map(String), + seconds: this.getRange(0, 59).map(String), + hours: this.getRange(1, 23).map(String), + monthDays: this.getRange(1, 31).map(String), + monthDaysWithLasts: ['1W', ...[...this.getRange(1, 31).map(String)], 'LW', 'L'], + monthDaysWithOutLasts: [...[...this.getRange(1, 31).map(String)]], + hourTypes: ['AM', 'PM'] + }; + } + getRange(start, end) { + const length = end - start + 1; + return Array.apply(null, Array(length)).map((_, i) => i + start); + } + writeValue(obj) { + if (obj === null) { + return; + } + this.handleModelChange(obj); + } + registerOnChange(fn) { + this.onChange = fn; + } + registerOnTouched(fn) { + this.onTouched = fn; + } + setDisabledState(isDisabled) { + this.disabled = isDisabled; + } + markAsTouched() { + if (!this.touched) { + this.onTouched(); + this.touched = true; + } + } + static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CronGenComponent, deps: [{ token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); } + static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: CronGenComponent, selector: "cron-editor", inputs: { backgroundColor: "backgroundColor", color: "color", disabled: "disabled", options: "options" }, providers: [CRON_VALUE_ACCESSOR], viewQueries: [{ propertyName: "minutesTab", first: true, predicate: ["minutesTab"], descendants: true }, { propertyName: "hourlyTab", first: true, predicate: ["hourlyTab"], descendants: true }, { propertyName: "dailyTab", first: true, predicate: ["dailyTab"], descendants: true }, { propertyName: "weeklyTab", first: true, predicate: ["weeklyTab"], descendants: true }, { propertyName: "monthlyTab", first: true, predicate: ["monthlyTab"], descendants: true }, { propertyName: "yearlyTab", first: true, predicate: ["yearlyTab"], descendants: true }, { propertyName: "advancedTab", first: true, predicate: ["advancedTab"], descendants: true }], ngImport: i0, template: " \n\n \n \n
\n\n
\n Every\n \n Minute(s)\n \n {{minute}}\n \n \n
\n\n
\n At time\n \n \n
\n
\n
\n\n \n \n
\n
\n Every \n \n Hour(s)\n \n {{hour}}\n \n \n
\n
\n At time \n \n \n
\n
\n
\n\n \n \n
\n\n
\n Every \n \n \n \n Day(s)\n \n \n {{monthDay}}\n \n \n \n \n \n Week Day (MON-FRI) \n \n \n
\n\n
\n At time \n \n \n
\n
\n\n
\n\n \n \n
\n\n
\n Every:\n\n \n Monday\n Tuesday\n Wednesday\n Thursday\n Friday\n Saturday\n Sunday\n \n
\n\n
\n At \n \n \n
\n
\n
\n\n \n \n
\n\n \n \n \n\n On the\n\n \n Day\n \n \n {{monthDayDisplay(monthDay)}}\n \n \n \n\n of every\n\n \n Month\n \n \n {{month}}\n \n \n \n\n \n\n \n\n \n On the\n\n \n Week\n \n \n {{monthWeekDisplay(monthWeek)}}\n \n \n \n\n \n Day\n \n \n {{dayDisplay(day)}}\n \n \n \n\n of every\n\n \n Month\n \n \n {{month}}\n \n \n \n \n \n\n
\n At time\n \n \n
\n
\n
\n\n \n \n
\n \n \n\n On the\n\n \n Day\n \n \n {{monthDayDisplay(monthDay)}}\n \n \n \n\n of\n\n \n Month\n \n \n {{monthDisplay(month)}}\n \n \n \n\n \n\n \n\n On the\n\n \n Week\n \n \n {{monthWeekDisplay(monthWeek)}}\n \n \n \n\n \n Day\n \n \n {{dayDisplay(day)}}\n \n \n \n\n of\n\n \n Month\n \n \n {{monthDisplay(month)}}\n \n \n \n\n \n \n\n
\n\n At time\n\n \n \n
\n\n
\n
\n\n \n \n
\n \n Expression\n \n \n
\n
\n
\n", styles: [".cron-editor-tab-content{margin-top:24px}.cron-editor-radio-group{display:flex;flex-direction:column;margin:15px 0;align-items:flex-start}.cron-editor-radio-button{margin:5px}.cron-editor-pad-line *{padding-left:8px}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3$1.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i3$1.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i8.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i8.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "component", type: i9.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: TimePickerComponent, selector: "cron-time-picker", inputs: ["disabled", "use24HourTime", "hideHours", "hideMinutes", "hideSeconds"] }] }); } +} +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CronGenComponent, decorators: [{ + type: Component, + args: [{ selector: 'cron-editor', providers: [CRON_VALUE_ACCESSOR], template: " \n\n \n \n
\n\n
\n Every\n \n Minute(s)\n \n {{minute}}\n \n \n
\n\n
\n At time\n \n \n
\n
\n
\n\n \n \n
\n
\n Every \n \n Hour(s)\n \n {{hour}}\n \n \n
\n
\n At time \n \n \n
\n
\n
\n\n \n \n
\n\n
\n Every \n \n \n \n Day(s)\n \n \n {{monthDay}}\n \n \n \n \n \n Week Day (MON-FRI) \n \n \n
\n\n
\n At time \n \n \n
\n
\n\n
\n\n \n \n
\n\n
\n Every:\n\n \n Monday\n Tuesday\n Wednesday\n Thursday\n Friday\n Saturday\n Sunday\n \n
\n\n
\n At \n \n \n
\n
\n
\n\n \n \n
\n\n \n \n \n\n On the\n\n \n Day\n \n \n {{monthDayDisplay(monthDay)}}\n \n \n \n\n of every\n\n \n Month\n \n \n {{month}}\n \n \n \n\n \n\n \n\n \n On the\n\n \n Week\n \n \n {{monthWeekDisplay(monthWeek)}}\n \n \n \n\n \n Day\n \n \n {{dayDisplay(day)}}\n \n \n \n\n of every\n\n \n Month\n \n \n {{month}}\n \n \n \n \n \n\n
\n At time\n \n \n
\n
\n
\n\n \n \n
\n \n \n\n On the\n\n \n Day\n \n \n {{monthDayDisplay(monthDay)}}\n \n \n \n\n of\n\n \n Month\n \n \n {{monthDisplay(month)}}\n \n \n \n\n \n\n \n\n On the\n\n \n Week\n \n \n {{monthWeekDisplay(monthWeek)}}\n \n \n \n\n \n Day\n \n \n {{dayDisplay(day)}}\n \n \n \n\n of\n\n \n Month\n \n \n {{monthDisplay(month)}}\n \n \n \n\n \n \n\n
\n\n At time\n\n \n \n
\n\n
\n
\n\n \n \n
\n \n Expression\n \n \n
\n
\n
\n", styles: [".cron-editor-tab-content{margin-top:24px}.cron-editor-radio-group{display:flex;flex-direction:column;margin:15px 0;align-items:flex-start}.cron-editor-radio-button{margin:5px}.cron-editor-pad-line *{padding-left:8px}\n"] }] + }], ctorParameters: () => [{ type: i1.FormBuilder }], propDecorators: { backgroundColor: [{ + type: Input + }], color: [{ + type: Input + }], disabled: [{ + type: Input + }], options: [{ + type: Input + }], minutesTab: [{ + type: ViewChild, + args: ['minutesTab'] + }], hourlyTab: [{ + type: ViewChild, + args: ['hourlyTab'] + }], dailyTab: [{ + type: ViewChild, + args: ['dailyTab'] + }], weeklyTab: [{ + type: ViewChild, + args: ['weeklyTab'] + }], monthlyTab: [{ + type: ViewChild, + args: ['monthlyTab'] + }], yearlyTab: [{ + type: ViewChild, + args: ['yearlyTab'] + }], advancedTab: [{ + type: ViewChild, + args: ['advancedTab'] + }] } }); + +class CronEditorModule { + static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CronEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } + static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: CronEditorModule, declarations: [TimePickerComponent, CronGenComponent], imports: [CommonModule, + FormsModule, + ReactiveFormsModule, + MatTabsModule, + MatListModule, + MatSelectModule, + MatInputModule, + MatRadioModule, + MatCheckboxModule], exports: [TimePickerComponent, CronGenComponent] }); } + static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CronEditorModule, imports: [CommonModule, + FormsModule, + ReactiveFormsModule, + MatTabsModule, + MatListModule, + MatSelectModule, + MatInputModule, + MatRadioModule, + MatCheckboxModule] }); } +} +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CronEditorModule, decorators: [{ + type: NgModule, + args: [{ + imports: [ + CommonModule, + FormsModule, + ReactiveFormsModule, + MatTabsModule, + MatListModule, + MatSelectModule, + MatInputModule, + MatRadioModule, + MatCheckboxModule + ], + exports: [TimePickerComponent, CronGenComponent], + declarations: [TimePickerComponent, CronGenComponent] + }] + }] }); + +/* + * Public API Surface + */ + +/** + * Generated bundle index. Do not edit. + */ + +export { CRON_VALUE_ACCESSOR, CronEditorModule, CronGenComponent, Days, DefaultOptions, MonthWeeks, Months, TimePickerComponent }; +//# sourceMappingURL=ngx-cron-editor.mjs.map diff --git a/libs/ngx-cron-editor/fesm2022/ngx-cron-editor.mjs.map b/libs/ngx-cron-editor/fesm2022/ngx-cron-editor.mjs.map new file mode 100644 index 0000000..073e36f --- /dev/null +++ b/libs/ngx-cron-editor/fesm2022/ngx-cron-editor.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"ngx-cron-editor.mjs","sources":["../../../../libs/ngx-cron-editor/src/cron-time-picker.component.ts","../../../../libs/ngx-cron-editor/src/cron-time-picker.template.html","../../../../libs/ngx-cron-editor/src/CronOptions.ts","../../../../libs/ngx-cron-editor/src/enums.ts","../../../../libs/ngx-cron-editor/src/cron-editor.component.ts","../../../../libs/ngx-cron-editor/src/cron-editor.template.html","../../../../libs/ngx-cron-editor/src/cron-editor.module.ts","../../../../libs/ngx-cron-editor/public_api.ts","../../../../libs/ngx-cron-editor/ngx-cron-editor.ts"],"sourcesContent":["import {Component, Input, OnInit} from '@angular/core';\nimport {ControlContainer, FormGroup} from '@angular/forms';\n\nexport interface TimePickerModel {\n days: number;\n hours: number;\n minutes: number;\n seconds: number;\n}\n\nfunction* range(start: number, end: number) {\n for (let i = start; i <= end; i++) {\n yield i;\n }\n}\n\n@Component({\n selector: 'cron-time-picker',\n templateUrl: './cron-time-picker.template.html',\n providers: []\n})\nexport class TimePickerComponent implements OnInit {\n @Input() public disabled = false;\n @Input() public use24HourTime = true;\n @Input() public hideHours = false;\n @Input() public hideMinutes = false;\n @Input() public hideSeconds = true;\n\n allForm: FormGroup;\n\n public minutes = [...range(0, 59) ].map(String);\n public seconds = [...range(0, 59) ].map(String);\n public hourTypes = ['AM', 'PM'];\n\n get hours(): string[] {\n return this.use24HourTime ? [... range(0, 23)].map(String) : [... range(0, 12)].map(String);\n }\n\n constructor(public parent: ControlContainer) {}\n\n ngOnInit(): void {\n this.allForm = this.parent.control as FormGroup;\n }\n}\n\n\n","\n\n \n \n Hour(s)\n \n {{hour}}\n \n \n \n\n \n :\n \n Minute(s)\n \n {{minute}}\n \n \n \n\n \n :\n \n Second(s)\n \n {{second}}\n \n \n \n\n \n .\n \n \n {{hourType}}\n \n \n \n\n","export type CronFlavor = 'standard' | 'quartz';\n\nexport interface CronOptions {\n formInputClass?: string;\n formSelectClass?: string;\n formRadioClass?: string;\n formCheckboxClass?: string;\n\n defaultTime: string,\n\n hideMinutesTab: boolean;\n hideHourlyTab: boolean;\n hideDailyTab: boolean;\n hideWeeklyTab: boolean;\n hideMonthlyTab: boolean;\n hideYearlyTab: boolean;\n hideAdvancedTab: boolean;\n hideSpecificWeekDayTab: boolean;\n hideSpecificMonthWeekTab: boolean;\n\n use24HourTime: boolean;\n hideSeconds: boolean;\n\n cronFlavor: CronFlavor;\n}\n\nexport class DefaultOptions implements CronOptions {\n\n cronFlavor: CronFlavor = 'standard';\n defaultTime = '00:00:00';\n hideAdvancedTab = false;\n hideDailyTab = false;\n hideHourlyTab = false;\n hideMinutesTab = false;\n hideMonthlyTab = false;\n hideSeconds = false;\n hideSpecificMonthWeekTab = false;\n hideSpecificWeekDayTab = false;\n hideWeeklyTab = false;\n hideYearlyTab = false;\n use24HourTime = true;\n}\n","\nexport const Days = {\n 'SUN': $localize`Sunday`,\n 'MON': $localize`Monday`,\n 'TUE': $localize`Tuesday`,\n 'WED': $localize`Wednesday`,\n 'THU': $localize`Thursday`,\n 'FRI': $localize`Friday`,\n 'SAT': $localize`Saturday`\n};\n\nexport const MonthWeeks = {\n '#1': $localize`First`,\n '#2': $localize`Second`,\n '#3': $localize`Third`,\n '#4': $localize`Fourth`,\n '#5': $localize`Fifth`,\n 'L': $localize`Last`\n};\n\nexport const Months = {\n 1: $localize`January`,\n 2: $localize`February`,\n 3: $localize`March`,\n 4: $localize`April`,\n 5: $localize`May`,\n 6: $localize`June`,\n 7: $localize`July`,\n 8: $localize`August`,\n 9: $localize`September`,\n 10: $localize`October`,\n 11: $localize`November`,\n 12: $localize`December`\n}\n","import {Component, Input, OnInit, forwardRef, ViewChild, OnDestroy} from '@angular/core';\nimport {CronOptions, DefaultOptions} from './CronOptions';\nimport { Days, MonthWeeks, Months } from './enums';\nimport {ControlValueAccessor, FormBuilder, NG_VALUE_ACCESSOR, Validators} from '@angular/forms';\nimport { ThemePalette } from '@angular/material/core';\nimport {MatTab, MatTabChangeEvent} from '@angular/material/tabs';\nimport {debounceTime, Subscription } from 'rxjs';\n\ntype CronType = 'minutely' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'unknown';\n\nconst minutesExp = /\\d+ 0\\/\\d+ \\* 1\\/1 \\* [\\?\\*] \\*/;\nconst hourlyExp = /\\d+ \\d+ 0\\/\\d+ 1\\/1 \\* [\\?\\*] \\*/;\nconst dailyExp = /\\d+ \\d+ \\d+ 1\\/\\d+ \\* [\\?\\*] \\*/;\nconst dailyWeekdayExp = /\\d+ \\d+ \\d+ [\\?\\*] \\* MON-FRI \\*/;\nconst weeklyExp = /\\d+ \\d+ \\d+ [\\?\\*] \\* (MON|TUE|WED|THU|FRI|SAT|SUN)(,(MON|TUE|WED|THU|FRI|SAT|SUN))* \\*/;\nconst monthlyExp = /\\d+ \\d+ \\d+ (\\d+|L|LW|1W) 1\\/\\d+ [\\?\\*] \\*/;\nconst monthlyWeekdayExp = /\\d+ \\d+ \\d+ [\\?\\*] 1\\/\\d+ (MON|TUE|WED|THU|FRI|SAT|SUN)((#[1-5])|L) \\*/;\nconst yearlyExp = /\\d+ \\d+ \\d+ (\\d+|L|LW|1W) \\d+ [\\?\\*] \\*/;\nconst yearlyMonthWeekExp = /\\d+ \\d+ \\d+ [\\?\\*] \\d+ (MON|TUE|WED|THU|FRI|SAT|SUN)((#[1-5])|L) \\*/;\n\nexport const CRON_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => CronGenComponent),\n multi: true,\n};\n\ninterface CronToken {\n val: string;\n inc: string;\n}\n\nfunction parseCronNumberToken(val: string): CronToken {\n const v = val.split('/');\n if (v.length === 1) {\n return {val: v[0], inc: '0'};\n }\n return {val: v[0], inc: v[1]}\n}\n\nfunction* range(start: number, end: number) {\n for (let i = start; i <= end; i++) {\n yield i;\n }\n}\n\n\n@Component({\n selector: 'cron-editor',\n templateUrl: './cron-editor.template.html',\n styleUrls: ['./cron-editor.component.scss'],\n providers: [CRON_VALUE_ACCESSOR]\n})\nexport class CronGenComponent implements OnInit, OnDestroy, ControlValueAccessor {\n public tabIndex = 0;\n\n @Input() public backgroundColor: ThemePalette;\n @Input() public color: ThemePalette;\n\n @Input() public disabled = false;\n @Input() public options: CronOptions = new DefaultOptions();\n\n public activeTab: string;\n public selectOptions = this.getSelectOptions();\n\n @ViewChild('minutesTab')\n minutesTab: MatTab;\n\n @ViewChild('hourlyTab')\n hourlyTab: MatTab;\n\n @ViewChild('dailyTab')\n dailyTab: MatTab;\n\n @ViewChild('weeklyTab')\n weeklyTab: MatTab;\n\n @ViewChild('monthlyTab')\n monthlyTab: MatTab;\n\n @ViewChild('yearlyTab')\n yearlyTab: MatTab;\n\n @ViewChild('advancedTab')\n advancedTab: MatTab;\n\n formSub: Subscription;\n\n touched = false;\n allForm = this.fb.group({\n cronType: ['unknown', Validators.required],\n seconds: ['0'],\n\n minutes: ['0'],\n minutesPer: ['0'],\n\n hours: [this.getAmPmHour('0')],\n hoursPer: ['0'],\n hoursType: [this.getHourType('0')],\n\n days: ['0'], // Days of Month, 1, 2, 31....\n daysPer: ['0'],\n\n months: ['0'],\n monthsInc: ['0'],\n\n day: ['MON'], // Day of week '1' or 'MON;\n monthsWeek: ['#1'],\n\n weekdaysOnly: [false],\n specificWeekDay: [false],\n specificMonthWeek: [false],\n MON: [true],\n TUE: [true],\n WED: [true],\n THU: [true],\n FRI: [true],\n SAT: [true],\n SUN: [true],\n expression: ['0 0 0 0 0']\n });\n\n /*\n * ControlValueAccessor\n */\n public onChange: (value) => void\n public onTouched: () => void;\n\n\n get isCronFlavorQuartz() {\n return this.options.cronFlavor === 'quartz';\n }\n\n get isCronFlavorStandard() {\n return this.options.cronFlavor === 'standard';\n }\n\n get yearDefaultChar() {\n return this.options.cronFlavor === 'quartz' ? '*' : '';\n }\n\n get weekDayDefaultChar() {\n return this.options.cronFlavor === 'quartz' ? '?' : '*';\n }\n\n get monthDayDefaultChar() {\n return this.options.cronFlavor === 'quartz' ? '?' : '*';\n }\n\n constructor(private fb: FormBuilder) {\n }\n\n /* Update the cron output to that of the selected tab.\n * The cron output value is updated whenever a form is updated. To make it change in response to tab selection, we simply reset\n * the value of the form that goes into focus.\n * We cannot rely on the index of the tab, as the hide options could hide tabs and\n * then the index dynamically changes based on the hidden tab.*/\n onTabChange(tabChangeEvent: MatTabChangeEvent) {\n const currentTab = tabChangeEvent.tab;\n let x: CronType;\n\n switch (currentTab) {\n case this.minutesTab:\n x = 'minutely';\n break;\n case this.hourlyTab:\n x = 'hourly';\n break;\n case this.dailyTab:\n x = 'daily';\n break;\n case this.weeklyTab:\n x = 'weekly';\n break;\n case this.monthlyTab:\n x = 'monthly';\n break;\n case this.yearlyTab:\n x = 'yearly';\n break;\n case this.advancedTab:\n x = 'unknown';\n break;\n default:\n throw (new Error('Invalid tab selected'));\n }\n\n this.allForm.controls.cronType.setValue(x);\n }\n\n public async ngOnInit() {\n this.formSub = this.allForm.valueChanges.pipe(debounceTime(50)).subscribe(value => {\n\n this.markAsTouched();\n const cron = this.computeCron();\n // this.allForm.controls.expression.setValue(cron, {emitEvent: false});\n this.onChange(cron);\n });\n }\n\n ngOnDestroy() {\n this.formSub.unsubscribe();\n }\n\n private computeCron(): string {\n\n let cron: string;\n switch (this.allForm.value.cronType) {\n case 'minutely':\n cron = this.computeMinutesCron();\n break;\n case 'hourly':\n cron = this.computeHourlyCron();\n this.tabIndex = 1;\n break;\n case 'daily':\n cron = this.computeDailyCron();\n this.tabIndex = 2;\n break;\n case 'weekly':\n cron = this.computeWeeklyCron();\n this.tabIndex = 3;\n break;\n case 'monthly':\n cron = this.computeMonthlyCron();\n this.tabIndex = 4;\n break;\n case 'yearly':\n cron = this.computeYearlyCron();\n this.tabIndex = 5;\n break;\n case 'unknown':\n cron = this.computeAdvancedExpression();\n this.tabIndex = 6;\n break;\n default:\n throw Error($localize`Unknown cron type ${this.allForm.value.cronType}`);\n }\n return cron;\n }\n\n private computeMinutesCron(): string {\n\n const state = this.allForm.value;\n\n // tslint:disable-next-line:max-line-length\n return `${this.isCronFlavorQuartz ? state.seconds : ''} 0/${state.minutesPer} * 1/1 * ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim();\n }\n\n private computeHourlyCron(): string {\n\n const state = this.allForm.value;\n\n return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} 0/${state.hoursPer} 1/1 * ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim();\n }\n\n private computeDailyCron(): string {\n if (this.allForm.value.weekdaysOnly) {\n return this.computeEveryWeekdayCron();\n }\n return this.computeEveryDaysCron();\n }\n\n private computeEveryDaysCron(): string {\n\n const state = this.allForm.value;\n\n return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} 1/${state.daysPer} * ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim();\n\n }\n\n private computeEveryWeekdayCron(): string {\n\n const state = this.allForm.value;\n\n return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${this.monthDayDefaultChar} * MON-FRI ${this.yearDefaultChar}`.trim();\n }\n\n\n private computeWeeklyCron(): string {\n\n const state = this.allForm.value;\n const days = this.selectOptions.days\n .reduce((acc, day) => state[day] ? acc.concat([day]) : acc, [])\n .join(',') || '*';\n\n return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${this.monthDayDefaultChar} * ${days} ${this.yearDefaultChar}`.trim();\n }\n\n private computeMonthlyCron(): string {\n\n const state = this.allForm.value;\n\n if (state.specificWeekDay) {\n return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${this.monthDayDefaultChar} 1/${state.monthsInc} ${state.day}${state.monthsWeek} ${this.yearDefaultChar}`.trim();\n }\n return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${state.days} 1/${state.monthsInc} ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim();\n }\n\n private computeYearlyCron(): string {\n const state = this.allForm.value;\n\n if (state.specificMonthWeek) {\n return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${this.monthDayDefaultChar} ${state.months} ${state.day}${state.monthsWeek} ${this.yearDefaultChar}`.trim();\n }\n return `${this.isCronFlavorQuartz ? state.seconds : ''} ${state.minutes} ${this.hourToCron(state.hours, state.hoursType)} ${state.days} ${state.months} ${this.weekDayDefaultChar} ${this.yearDefaultChar}`.trim();\n }\n\n private computeAdvancedExpression(): string {\n\n const state = this.allForm.value;\n return state.expression;\n }\n\n public dayDisplay(day: string): string {\n return Days[day];\n }\n\n public monthWeekDisplay(monthWeekNumber: string): string {\n return MonthWeeks[monthWeekNumber];\n }\n\n public monthDisplay(month: string): string {\n return Months[parseInt(month, 10)];\n }\n\n public monthDayDisplay(month: string | number): string {\n\n if (typeof month === 'number') {\n return `${month}${this.getOrdinalSuffix(month)}`\n }\n\n if (month === 'L') {\n return $localize`Last Day`;\n } else if (month === 'LW') {\n return $localize`Last Weekday`;\n } else if (month === '1W') {\n return $localize`First Weekday`;\n } else {\n return `${month}${this.getOrdinalSuffix(month)}`;\n }\n }\n\n private getAmPmHour(hour: string): string {\n\n if (this.options.use24HourTime) {\n return hour;\n }\n return ((parseInt(hour, 10) + 11) % 12 + 1).toString()\n }\n\n // Return the AM or PM component of a clocktime, or null if 24-hour format is used.\n private getHourType(hour: string): string | null {\n if (this.options.use24HourTime) {\n return null;\n }\n\n if (parseInt(hour, 10) >= 12) {\n return 'PM';\n }\n return 'AM';\n }\n\n private hourToCron(hour: string, hourType: string): string {\n if (this.options.use24HourTime) {\n return hour;\n } else {\n return hourType === 'AM' ? (hour === '12' ? '0' : hour) : (hour === '12' ? '12' : (parseInt(hour, 10) + 12).toString());\n }\n }\n\n private handleModelChange(cron: string) {\n\n if (!this.cronIsValid(cron)) {\n if (this.isCronFlavorQuartz) {\n throw new Error($localize`Invalid cron expression, there must be 6 or 7 segments`);\n }\n\n if (this.isCronFlavorStandard) {\n throw new Error($localize`Invalid cron expression, there must be 5 segments`);\n }\n }\n\n // Store original cron expression here.\n this.allForm.controls.expression.setValue(cron);\n\n // Normalize cron so that second segment is included.\n if (cron.split(' ').length === 5 && this.isCronFlavorStandard) {\n cron = `0 ${cron} *`;\n }\n\n // Parse cron tokens\n const t = cron.split(' ');\n\n // Seconds\n this.allForm.controls.seconds.setValue(t[0], {emitEvent: false})\n\n // Minutes\n let x = parseCronNumberToken(t[1]);\n this.allForm.controls.minutesPer.setValue(x.inc, {emitEvent: false});\n this.allForm.controls.minutes.setValue(x.val);\n\n // Hours\n x = parseCronNumberToken(t[2])\n this.allForm.controls.hoursPer.setValue(x.inc);\n this.allForm.controls.hours.setValue(x.val);\n this.allForm.controls.hoursType.setValue(this.getHourType(this.allForm.value.hours), {emitEvent: false});\n\n // Day of Month\n x = parseCronNumberToken(t[3])\n this.allForm.controls.days.setValue(x.val, {emitEvent: false});\n this.allForm.controls.daysPer.setValue(x.inc, {emitEvent: false});\n\n // Month\n x = parseCronNumberToken(t[4])\n this.allForm.controls.months.setValue(x.val, {emitEvent: false});\n this.allForm.controls.monthsInc.setValue(x.inc, { emitEvent: false });\n\n // Day of Week\n this.allForm.controls.SUN.setValue(t[5].match(/(? 1 && value.charAt(value.length - 2) === '1') {\n return 'th';\n }\n\n // Check last digit: 21st, 22nd, 23rd, 24th, 25t, etc.\n switch (value.charAt(value.length - 1)) {\n case '1':\n return 'st';\n case '2':\n return 'nd';\n case '3':\n return 'rd';\n default:\n return 'th';\n }\n }\n\n private getSelectOptions() {\n return {\n months: this.getRange(1, 12).map(String),\n monthWeeks: ['#1', '#2', '#3', '#4', '#5', 'L'],\n days: ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'],\n minutes: this.getRange(0, 59).map(String),\n fullMinutes: this.getRange(0, 59).map(String),\n seconds: this.getRange(0, 59).map(String),\n hours: this.getRange(1, 23).map(String),\n monthDays: this.getRange(1, 31).map(String),\n monthDaysWithLasts: ['1W', ...[...this.getRange(1, 31).map(String)], 'LW', 'L'],\n monthDaysWithOutLasts: [...[...this.getRange(1, 31).map(String)]],\n hourTypes: ['AM', 'PM']\n };\n }\n\n private getRange(start: number, end: number): number[] {\n const length = end - start + 1;\n return Array.apply(null, Array(length)).map((_, i) => i + start);\n }\n\n\n\n\n writeValue(obj: string | null): void {\n if (obj === null) {\n return\n }\n\n this.handleModelChange(obj);\n }\n\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled;\n }\n\n markAsTouched() {\n if (!this.touched) {\n this.onTouched();\n this.touched = true;\n }\n }\n}\n"," \n\n \n \n
\n\n
\n Every\n \n Minute(s)\n \n {{minute}}\n \n \n
\n\n
\n At time\n \n \n
\n
\n
\n\n \n \n
\n
\n Every \n \n Hour(s)\n \n {{hour}}\n \n \n
\n
\n At time \n \n \n
\n
\n
\n\n \n \n
\n\n
\n Every \n \n \n \n Day(s)\n \n \n {{monthDay}}\n \n \n \n \n \n Week Day (MON-FRI) \n \n \n
\n\n
\n At time \n \n \n
\n
\n\n
\n\n \n \n
\n\n
\n Every:\n\n \n Monday\n Tuesday\n Wednesday\n Thursday\n Friday\n Saturday\n Sunday\n \n
\n\n
\n At \n \n \n
\n
\n
\n\n \n \n
\n\n \n \n \n\n On the\n\n \n Day\n \n \n {{monthDayDisplay(monthDay)}}\n \n \n \n\n of every\n\n \n Month\n \n \n {{month}}\n \n \n \n\n \n\n \n\n \n On the\n\n \n Week\n \n \n {{monthWeekDisplay(monthWeek)}}\n \n \n \n\n \n Day\n \n \n {{dayDisplay(day)}}\n \n \n \n\n of every\n\n \n Month\n \n \n {{month}}\n \n \n \n \n \n\n
\n At time\n \n \n
\n
\n
\n\n \n \n
\n \n \n\n On the\n\n \n Day\n \n \n {{monthDayDisplay(monthDay)}}\n \n \n \n\n of\n\n \n Month\n \n \n {{monthDisplay(month)}}\n \n \n \n\n \n\n \n\n On the\n\n \n Week\n \n \n {{monthWeekDisplay(monthWeek)}}\n \n \n \n\n \n Day\n \n \n {{dayDisplay(day)}}\n \n \n \n\n of\n\n \n Month\n \n \n {{monthDisplay(month)}}\n \n \n \n\n \n \n\n
\n\n At time\n\n \n \n
\n\n
\n
\n\n \n \n
\n \n Expression\n \n \n
\n
\n
\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatListModule } from '@angular/material/list';\nimport { MatRadioModule } from '@angular/material/radio';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatTabsModule } from '@angular/material/tabs';\nimport { TimePickerComponent } from './cron-time-picker.component';\nimport { CronGenComponent } from './cron-editor.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MatTabsModule,\n MatListModule,\n MatSelectModule,\n MatInputModule,\n MatRadioModule,\n MatCheckboxModule\n ],\n exports: [TimePickerComponent, CronGenComponent],\n declarations: [TimePickerComponent, CronGenComponent]\n})\nexport class CronEditorModule { }\n","/*\n * Public API Surface\n */\n\nexport * from './src/cron-editor.module';\nexport * from './src/CronOptions';\nexport * from './src/enums';\nexport * from './src/cron-editor.component';\nexport * from './src/cron-time-picker.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["range","i3","i4","i5","i6","i10.TimePickerComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAUA,UAAUA,OAAK,CAAC,KAAa,EAAE,GAAW,EAAA;AACxC,IAAA,KAAK,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,IAAI,GAAG,EAAE,CAAC,EAAE,EAAE;AACjC,QAAA,MAAM,CAAC,CAAC;KACT;AACH,CAAC;MAOY,mBAAmB,CAAA;AAa9B,IAAA,IAAI,KAAK,GAAA;AACP,QAAA,OAAO,IAAI,CAAC,aAAa,GAAG,CAAC,GAAIA,OAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,GAAIA,OAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;KAC7F;AAED,IAAA,WAAA,CAAmB,MAAwB,EAAA;QAAxB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAkB;QAhB3B,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;QACjB,IAAa,CAAA,aAAA,GAAG,IAAI,CAAC;QACrB,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;QAClB,IAAW,CAAA,WAAA,GA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AY;YACZ,WAAW;YACX,mBAAmB;YACnB,aAAa;YACb,aAAa;YACb,eAAe;YACf,cAAc;YACd,cAAc;YACd,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKZ,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAf5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,WAAW;wBACX,mBAAmB;wBACnB,aAAa;wBACb,aAAa;wBACb,eAAe;wBACf,cAAc;wBACd,cAAc;wBACd,iBAAiB;AACpB,qBAAA;AACH,oBAAA,OAAO,EAAE,CAAC,mBAAmB,EAAE,gBAAgB,CAAC;AAChD,oBAAA,YAAY,EAAE,CAAC,mBAAmB,EAAE,gBAAgB,CAAC;AACtD,iBAAA,CAAA;;;AC1BD;;AAEG;;ACFH;;AAEG;;;;"} \ No newline at end of file diff --git a/libs/ngx-cron-editor/index.d.ts b/libs/ngx-cron-editor/index.d.ts new file mode 100644 index 0000000..fb1db5e --- /dev/null +++ b/libs/ngx-cron-editor/index.d.ts @@ -0,0 +1,5 @@ +/** + * Generated bundle index. Do not edit. + */ +/// +export * from './public_api'; diff --git a/libs/ngx-cron-editor/package.json b/libs/ngx-cron-editor/package.json new file mode 100644 index 0000000..b61a6d4 --- /dev/null +++ b/libs/ngx-cron-editor/package.json @@ -0,0 +1,59 @@ +{ + "description": "A cron expression generator for Angular 15+", + "name": "ngx-cron-editor", + "version": "0.9.0", + "repository": { + "type": "git", + "url": "git://github.com/haavardj/ngx-cron-editor" + }, + "author": { + "name": "Håvard Dagenborg", + "email": "haavardj@dagenborg.net" + }, + "contributors": [ + "Claudiu Constantin", + "Eduardo Sarmiento", + "Aleksey Yermolenko", + "Ruslan Lekhman (https://github.com/lekhmanrus)", + "Hannes Oswald " + ], + "keywords": [ + "angular", + "cron", + "cron-expression", + "angular-cli", + "quartz" + ], + "license": "MIT", + "bugs": { + "url": "https://github.com/haavardj/ngx-cron-editor/issues" + }, + "homepage": "https://github.com/haavardj/ngx-cron-editor", + "peerDependencies": { + "@angular/common": ">=15.0.0 <19.0.0", + "@angular/core": ">=15.0.0 <19.0.0", + "@angular/forms": ">=15.0.0 <19.0.0", + "@angular/material": ">=15.0.0 <19.0.0", + "@angular/cdk": ">=15.0.0 <19.0.0" + }, + "dependencies": { + "tslib": "^2.3.0" + }, + "sideEffects": false, + "exports": { + "./theming": { + "sass": "./src/cron-editor-theme.scss" + }, + "./package.json": { + "default": "./package.json" + }, + ".": { + "types": "./index.d.ts", + "esm2022": "./esm2022/ngx-cron-editor.mjs", + "esm": "./esm2022/ngx-cron-editor.mjs", + "default": "./fesm2022/ngx-cron-editor.mjs" + } + }, + "module": "fesm2022/ngx-cron-editor.mjs", + "typings": "index.d.ts" +} \ No newline at end of file diff --git a/libs/ngx-cron-editor/public_api.d.ts b/libs/ngx-cron-editor/public_api.d.ts new file mode 100644 index 0000000..35029d1 --- /dev/null +++ b/libs/ngx-cron-editor/public_api.d.ts @@ -0,0 +1,5 @@ +export * from './src/cron-editor.module'; +export * from './src/CronOptions'; +export * from './src/enums'; +export * from './src/cron-editor.component'; +export * from './src/cron-time-picker.component'; diff --git a/libs/ngx-cron-editor/src/CronOptions.d.ts b/libs/ngx-cron-editor/src/CronOptions.d.ts new file mode 100644 index 0000000..49a3230 --- /dev/null +++ b/libs/ngx-cron-editor/src/CronOptions.d.ts @@ -0,0 +1,35 @@ +export type CronFlavor = 'standard' | 'quartz'; +export interface CronOptions { + formInputClass?: string; + formSelectClass?: string; + formRadioClass?: string; + formCheckboxClass?: string; + defaultTime: string; + hideMinutesTab: boolean; + hideHourlyTab: boolean; + hideDailyTab: boolean; + hideWeeklyTab: boolean; + hideMonthlyTab: boolean; + hideYearlyTab: boolean; + hideAdvancedTab: boolean; + hideSpecificWeekDayTab: boolean; + hideSpecificMonthWeekTab: boolean; + use24HourTime: boolean; + hideSeconds: boolean; + cronFlavor: CronFlavor; +} +export declare class DefaultOptions implements CronOptions { + cronFlavor: CronFlavor; + defaultTime: string; + hideAdvancedTab: boolean; + hideDailyTab: boolean; + hideHourlyTab: boolean; + hideMinutesTab: boolean; + hideMonthlyTab: boolean; + hideSeconds: boolean; + hideSpecificMonthWeekTab: boolean; + hideSpecificWeekDayTab: boolean; + hideWeeklyTab: boolean; + hideYearlyTab: boolean; + use24HourTime: boolean; +} diff --git a/libs/ngx-cron-editor/src/cron-editor-theme.scss b/libs/ngx-cron-editor/src/cron-editor-theme.scss new file mode 100644 index 0000000..74c4105 --- /dev/null +++ b/libs/ngx-cron-editor/src/cron-editor-theme.scss @@ -0,0 +1,9 @@ +@use '@angular/material' as mat; + +@mixin cron-editor-theme($theme) { + // your custom component's selector + .cron-editor { + background-color: mat.get-theme-color($theme, primary); + border-color: mat.get-theme-color($theme, secondary, 40); + } +} diff --git a/libs/ngx-cron-editor/src/cron-editor.component.d.ts b/libs/ngx-cron-editor/src/cron-editor.component.d.ts new file mode 100644 index 0000000..dc3e4b3 --- /dev/null +++ b/libs/ngx-cron-editor/src/cron-editor.component.d.ts @@ -0,0 +1,105 @@ +import { OnInit, OnDestroy } from '@angular/core'; +import { CronOptions } from './CronOptions'; +import { ControlValueAccessor, FormBuilder } from '@angular/forms'; +import { ThemePalette } from '@angular/material/core'; +import { MatTab, MatTabChangeEvent } from '@angular/material/tabs'; +import { Subscription } from 'rxjs'; +import * as i0 from "@angular/core"; +export declare const CRON_VALUE_ACCESSOR: any; +export declare class CronGenComponent implements OnInit, OnDestroy, ControlValueAccessor { + private fb; + tabIndex: number; + backgroundColor: ThemePalette; + color: ThemePalette; + disabled: boolean; + options: CronOptions; + activeTab: string; + selectOptions: { + months: string[]; + monthWeeks: string[]; + days: string[]; + minutes: string[]; + fullMinutes: string[]; + seconds: string[]; + hours: string[]; + monthDays: string[]; + monthDaysWithLasts: string[]; + monthDaysWithOutLasts: string[]; + hourTypes: string[]; + }; + minutesTab: MatTab; + hourlyTab: MatTab; + dailyTab: MatTab; + weeklyTab: MatTab; + monthlyTab: MatTab; + yearlyTab: MatTab; + advancedTab: MatTab; + formSub: Subscription; + touched: boolean; + allForm: import("@angular/forms").FormGroup<{ + cronType: import("@angular/forms").FormControl<"unknown" | "minutely" | "hourly" | "daily" | "weekly" | "monthly" | "yearly">; + seconds: import("@angular/forms").FormControl; + minutes: import("@angular/forms").FormControl; + minutesPer: import("@angular/forms").FormControl; + hours: import("@angular/forms").FormControl; + hoursPer: import("@angular/forms").FormControl; + hoursType: import("@angular/forms").FormControl; + days: import("@angular/forms").FormControl; + daysPer: import("@angular/forms").FormControl; + months: import("@angular/forms").FormControl; + monthsInc: import("@angular/forms").FormControl; + day: import("@angular/forms").FormControl; + monthsWeek: import("@angular/forms").FormControl; + weekdaysOnly: import("@angular/forms").FormControl; + specificWeekDay: import("@angular/forms").FormControl; + specificMonthWeek: import("@angular/forms").FormControl; + MON: import("@angular/forms").FormControl; + TUE: import("@angular/forms").FormControl; + WED: import("@angular/forms").FormControl; + THU: import("@angular/forms").FormControl; + FRI: import("@angular/forms").FormControl; + SAT: import("@angular/forms").FormControl; + SUN: import("@angular/forms").FormControl; + expression: import("@angular/forms").FormControl; + }>; + onChange: (value: any) => void; + onTouched: () => void; + get isCronFlavorQuartz(): boolean; + get isCronFlavorStandard(): boolean; + get yearDefaultChar(): "*" | ""; + get weekDayDefaultChar(): "*" | "?"; + get monthDayDefaultChar(): "*" | "?"; + constructor(fb: FormBuilder); + onTabChange(tabChangeEvent: MatTabChangeEvent): void; + ngOnInit(): Promise; + ngOnDestroy(): void; + private computeCron; + private computeMinutesCron; + private computeHourlyCron; + private computeDailyCron; + private computeEveryDaysCron; + private computeEveryWeekdayCron; + private computeWeeklyCron; + private computeMonthlyCron; + private computeYearlyCron; + private computeAdvancedExpression; + dayDisplay(day: string): string; + monthWeekDisplay(monthWeekNumber: string): string; + monthDisplay(month: string): string; + monthDayDisplay(month: string | number): string; + private getAmPmHour; + private getHourType; + private hourToCron; + private handleModelChange; + private cronIsValid; + private getOrdinalSuffix; + private getSelectOptions; + private getRange; + writeValue(obj: string | null): void; + registerOnChange(fn: any): void; + registerOnTouched(fn: any): void; + setDisabledState(isDisabled: boolean): void; + markAsTouched(): void; + static ɵfac: i0.ɵɵFactoryDeclaration; + static ɵcmp: i0.ɵɵComponentDeclaration; +} diff --git a/libs/ngx-cron-editor/src/cron-editor.component.scss b/libs/ngx-cron-editor/src/cron-editor.component.scss new file mode 100644 index 0000000..f6aeebf --- /dev/null +++ b/libs/ngx-cron-editor/src/cron-editor.component.scss @@ -0,0 +1,19 @@ +.cron-editor-tab-content { + margin-top: 24px; +} + +.cron-editor-radio-group { + display: flex; + flex-direction: column; + margin: 15px 0; + align-items: flex-start; +} + +.cron-editor-radio-button { + margin: 5px; +} + +.cron-editor-pad-line * { + padding-left: 8px; + +} diff --git a/libs/ngx-cron-editor/src/cron-editor.module.d.ts b/libs/ngx-cron-editor/src/cron-editor.module.d.ts new file mode 100644 index 0000000..f7626a8 --- /dev/null +++ b/libs/ngx-cron-editor/src/cron-editor.module.d.ts @@ -0,0 +1,16 @@ +import * as i0 from "@angular/core"; +import * as i1 from "./cron-time-picker.component"; +import * as i2 from "./cron-editor.component"; +import * as i3 from "@angular/common"; +import * as i4 from "@angular/forms"; +import * as i5 from "@angular/material/tabs"; +import * as i6 from "@angular/material/list"; +import * as i7 from "@angular/material/select"; +import * as i8 from "@angular/material/input"; +import * as i9 from "@angular/material/radio"; +import * as i10 from "@angular/material/checkbox"; +export declare class CronEditorModule { + static ɵfac: i0.ɵɵFactoryDeclaration; + static ɵmod: i0.ɵɵNgModuleDeclaration; + static ɵinj: i0.ɵɵInjectorDeclaration; +} diff --git a/libs/ngx-cron-editor/src/cron-time-picker.component.d.ts b/libs/ngx-cron-editor/src/cron-time-picker.component.d.ts new file mode 100644 index 0000000..00075aa --- /dev/null +++ b/libs/ngx-cron-editor/src/cron-time-picker.component.d.ts @@ -0,0 +1,26 @@ +import { OnInit } from '@angular/core'; +import { ControlContainer, FormGroup } from '@angular/forms'; +import * as i0 from "@angular/core"; +export interface TimePickerModel { + days: number; + hours: number; + minutes: number; + seconds: number; +} +export declare class TimePickerComponent implements OnInit { + parent: ControlContainer; + disabled: boolean; + use24HourTime: boolean; + hideHours: boolean; + hideMinutes: boolean; + hideSeconds: boolean; + allForm: FormGroup; + minutes: string[]; + seconds: string[]; + hourTypes: string[]; + get hours(): string[]; + constructor(parent: ControlContainer); + ngOnInit(): void; + static ɵfac: i0.ɵɵFactoryDeclaration; + static ɵcmp: i0.ɵɵComponentDeclaration; +} diff --git a/libs/ngx-cron-editor/src/enums.d.ts b/libs/ngx-cron-editor/src/enums.d.ts new file mode 100644 index 0000000..02ff8a7 --- /dev/null +++ b/libs/ngx-cron-editor/src/enums.d.ts @@ -0,0 +1,31 @@ +export declare const Days: { + SUN: string; + MON: string; + TUE: string; + WED: string; + THU: string; + FRI: string; + SAT: string; +}; +export declare const MonthWeeks: { + '#1': string; + '#2': string; + '#3': string; + '#4': string; + '#5': string; + L: string; +}; +export declare const Months: { + 1: string; + 2: string; + 3: string; + 4: string; + 5: string; + 6: string; + 7: string; + 8: string; + 9: string; + 10: string; + 11: string; + 12: string; +};