PageSourceSearch

https://ecorponet.bsprudnik.pl/eCorpoNet/chunk-S6Z2KS6P.js

js bsprudnik.pl collected 2026-09-25 09:53:29 UTC 1,894,311 bytes, 8,005 lines download raw bytes

1var j5=Object.create;var Ow=Object.defineProperty,H5=Object.defineProperties,U5=Object.getOwnPropertyDescriptor,z5=Object.getOwnPropertyDescriptors,G5=Object.getOwnPropertyNames,bb=Object.getOwnPropertySymbols,W5=Object.getPrototypeOf,Fw=Object.prototype.hasOwnProperty,wM=Object.prototype.propertyIsEnumerable;var EM=(t,i,e)=>i in t?Ow(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,L=(t,i)=>{for(var e in i||={})Fw.call(i,e)&&EM(t,e,i[e]);if(bb)for(var e of bb(i))wM.call(i,e)&&EM(t,e,i[e]);return t},Ae=(t,i)=>H5(t,z5(i));var $5=(t,i)=>{var e={};for(var n in t)Fw.call(t,n)&&i.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&bb)for(var n of bb(t))i.indexOf(n)<0&&wM.call(t,n)&&(e[n]=t[n]);return e};var xM=(t,i)=>()=>{try{return i||t((i={exports:{}}).exports,i),i.exports}catch(e){throw i=0,e}};var q5=(t,i,e,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let r of G5(i))!Fw.call(t,r)&&r!==e&&Ow(t,r,{get:()=>i[r],enumerable:!(n=U5(i,r))||n.enumerable});return t};var Si=(t,i,e)=>(e=t!=null?j5(W5(t)):{},q5(i||!t||!t.__esModule?Ow(e,"default",{value:t,enumerable:!0}):e,t));var kn=(t,i,e)=>new Promise((n,r)=>{var o=d=>{try{s(e.next(d))}catch(p){r(p)}},a=d=>{try{s(e.throw(d))}catch(p){r(p)}},s=d=>d.done?n(d.value):Promise.resolve(d.value).then(o,a);s((e=e.apply(t,i)).next())});var lm=xM((rR,oR)=>{"use strict";(function(t,i){typeof rR=="object"&&typeof oR<"u"?oR.exports=i():typeof define=="function"&&define.amd?define(i):(t=t||self,t.currency=i())})(rR,function(){function t(o,a){if(!(this instanceof t))return new t(o,a);a=Object.assign({},e,a);var s=Math.pow(10,a.precision);this.intValue=o=i(o,a),this.value=o/s,a.increment=a.increment||1/s,a.groups=a.useVedic?r:n,this.s=a,this.p=s}function i(o,a){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0,d=a.decimal,p=a.errorOnInvalid,f=a.fromCents,b=Math.pow(10,a.precision),w=o instanceof t;if(w&&f)return o.intValue;if(typeof o=="number"||w)d=w?o.value:o;else if(typeof o=="string")p=new RegExp("[^-\\d"+d+"]","g"),d=new RegExp("\\"+d,"g"),d=(d=o.replace(/\((.*)\)/,"-$1").replace(p,"").replace(d,"."))||0;else{if(p)throw Error("Invalid Input");d=0}return f||(d=(d*b).toFixed(4)),s?Math.round(d):d}var e={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(o,a){var s=a.pattern,d=a.negativePattern,p=a.symbol,f=a.separator,b=a.decimal;a=a.groups;var w=(""+o).replace(/^-/,"").split("."),A=w[0];return w=w[1],(0<=o.value?s:d).replace("!",p).replace("#",A.replace(a,"$1"+f)+(w?b+w:""))},fromCents:!1},n=/(\d)(?=(\d{3})+\b)/g,r=/(\d)(?=(\d\d)+\d\b)/g;return t.prototype={add:function(o){var a=this.s,s=this.p;return t((this.intValue+i(o,a))/(a.fromCents?1:s),a)},subtract:function(o){var a=this.s,s=this.p;return t((this.intValue-i(o,a))/(a.fromCents?1:s),a)},multiply:function(o){var a=this.s;return t(this.intValue*o/(a.fromCents?1:Math.pow(10,a.precision)),a)},divide:function(o){var a=this.s;return t(this.intValue/i(o,a,!1),a)},distribute:function(o){var a=this.intValue,s=this.p,d=this.s,p=[],f=Math[0<=a?"floor":"ceil"](a/o),b=Math.abs(a-f*o);for(s=d.fromCents?1:s;o!==0;o--){var w=t(f/s,d);0<b--&&(w=w[0<=a?"add":"subtract"](1/s)),p.push(w)}return p},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(o){var a=this.s;return typeof o=="function"?o(this,a):a.format(this,Object.assign({},a,o))},toString:function(){var o=this.s,a=o.increment;return(Math.round(this.intValue/this.p/a)*a).toFixed(o.precision)},toJSON:function(){return this.value}},t})});var Xr=xM(OR=>{"use strict";Object.defineProperty(OR,"__esModule",{value:!0});function qce(t,i,e){var n=function(){var r,o=arguments,a=i.apply(this,o),s=n.cache;if(s.has(a))return s.get(a);var d=t.apply(this,o);return n.cache=(r=s.set(a,d))!==null&&r!==void 0?r:s,d};return n.cache=e,n}var Yce=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t[0]};OR.default=function(t){return t===void 0&&(t={}),function(i,e,n){var r,o;if(typeof n.value!="function")throw new Error("Memoization can be applied only to methods");var a=(r=t.resolver)!==null&&r!==void 0?r:Yce,s=(o=t.cache)!==null&&o!==void 0?o:new Map;return n.value=qce(n.value,a,s),n}}});var Or=null,vb=!1,Pw=1,Y5=null,yi=Symbol("SIGNAL");function nt(t){let i=Or;return Or=t,i}function yb(){return Or}var wc={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function El(t){if(vb)throw new Error("");
vendor: 26,912 bytes, lines 1-3
1if(Or===null)return;Or.consumerOnSignalRead(t);let i=Or.producersTail;if(i!==void 0&&i.producer===t)return;let e,n=Or.recomputing;if(n&&(e=i!==void 0?i.nextProducer:Or.producers,e!==void 0&&e.producer===t)){Or.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===Or&&(!n||X5(r,Or)))return;let o=xm(Or),a={producer:t,consumer:Or,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};Or.producersTail=a,i!==void 0?i.nextProducer=a:Or.producers=a,o&&AM(t,a)}function SM(){Pw++}function Yd(t){if(!(xm(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Pw)){if(!t.producerMustRecompute(t)&&!wm(t)){Em(t);return}t.producerRecomputeValue(t),Em(t)}}function Lw(t){if(t.consumers===void 0)return;let i=vb;vb=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let n=e.consumer;n.dirty||K5(n)}}finally{vb=i}}function Bw(){return Or?.consumerAllowSignalWrites!==!1}function K5(t){t.dirty=!0,Lw(t),t.consumerMarkedDirty?.(t)}function Em(t){t.dirty=!1,t.lastCleanEpoch=Pw}function wl(t){return t&&TM(t),nt(t)}function TM(t){t.producersTail=void 0,t.recomputing=!0}function xc(t,i){nt(i),t&&IM(t)}function IM(t){t.recomputing=!1;let i=t.producersTail,e=i!==void 0?i.nextProducer:t.producers;if(e!==void 0){if(xm(t))do e=Vw(e);while(e!==void 0);i!==void 0?i.nextProducer=void 0:t.producers=void 0}}function wm(t){for(let i=t.producers;i!==void 0;i=i.nextProducer){let e=i.producer,n=i.lastReadVersion;if(n!==e.version||(Yd(e),n!==e.version))return!0}return!1}function Sc(t){if(xm(t)){let i=t.producers;for(;i!==void 0;)i=Vw(i)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function AM(t,i){let e=t.consumersTail,n=xm(t);if(e!==void 0?(i.nextConsumer=e.nextConsumer,e.nextConsumer=i):(i.nextConsumer=void 0,t.consumers=i),i.prevConsumer=e,t.consumersTail=i,!n)for(let r=t.producers;r!==void 0;r=r.nextProducer)AM(r.producer,r)}function Vw(t){let i=t.producer,e=t.nextProducer,n=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,n!==void 0?n.prevConsumer=r:i.consumersTail=r,r!==void 0)r.nextConsumer=n;else if(i.consumers=n,!xm(i)){let o=i.producers;for(;o!==void 0;)o=Vw(o)}return e}function xm(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function lf(t){Y5?.(t)}function X5(t,i){let e=i.producersTail;if(e!==void 0){let n=i.producers;do{if(n===t)return!0;if(n===e)break;n=n.nextProducer}while(n!==void 0)}return!1}function cf(t,i){return Object.is(t,i)}function df(t,i){let e=Object.create(Z5);e.computation=t,i!==void 0&&(e.equal=i);let n=()=>{if(Yd(e),El(e),e.value===ys)throw e.error;return e.value};return n[yi]=e,lf(e),n}var $d=Symbol("UNSET"),qd=Symbol("COMPUTING"),ys=Symbol("ERRORED"),Z5=Ae(L({},wc),{value:$d,dirty:!0,error:null,equal:cf,kind:"computed",producerMustRecompute(t){return t.value===$d||t.value===qd},producerRecomputeValue(t){if(t.value===qd)throw new Error("");let i=t.value;t.value=qd;let e=wl(t),n,r=!1;try{n=t.computation(),nt(null),r=i!==$d&&i!==ys&&n!==ys&&t.equal(i,n)}catch(o){n=ys,t.error=o}finally{xc(t,e)}if(r){t.value=i;return}t.value=n,t.version++}});function Q5(){throw new Error}var kM=Q5;function RM(t){kM(t)}function jw(t){kM=t}var J5=null;function Hw(t,i){let e=Object.create(uf);e.value=t,i!==void 0&&(e.equal=i);let n=()=>MM(e);return n[yi]=e,lf(e),[n,a=>Tc(e,a),a=>Cb(e,a)]}function MM(t){return El(t),t.value}function Tc(t,i){Bw()||RM(t),t.equal(t.value,i)||(t.value=i,eW(t))}function Cb(t,i){Bw()||RM(t),Tc(t,i(t.value))}var uf=Ae(L({},wc),{equal:cf,value:void 0,kind:"signal"});function eW(t){t.version++,SM(),Lw(t),J5?.(t)}var Uw=Ae(L({},wc),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function zw(t){if(t.dirty=!1,t.version>0&&!wm(t))return;t.version++;let i=wl(t);try{t.cleanup(),t.fn()}finally{xc(t,i)}}function dt(t){return typeof t=="function"}function Ic(t){let e=t(n=>{Error.call(n),n.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Db=Ic(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
2${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
3  `)}`:"",this.name="UnsubscriptionError",this.errors=e});function Kd(t,i){if(t){let e=t.indexOf(i);0<=e&&t.splice(e,1)}}var _e=class t{constructor(i){this.initialTeardown=i,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let i;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(dt(n))try{n()}catch(o){i=o instanceof Db?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{NM(o)}catch(a){i=i??[],a instanceof Db?i=[...i,...a.errors]:i.push(a)}}if(i)throw new Db(i)}}add(i){var e;if(i&&i!==this)if(this.closed)NM(i);else{if(i instanceof t){if(i.closed||i._hasParent(this))return;i._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(i)}}_hasParent(i){let{_parentage:e}=this;return e===i||Array.isArray(e)&&e.includes(i)}_addParent(i){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(i),e):e?[e,i]:i}_removeParent(i){let{_parentage:e}=this;e===i?this._parentage=null:Array.isArray(e)&&Kd(e,i)}remove(i){let{_finalizers:e}=this;e&&Kd(e,i),i instanceof t&&i._removeParent(this)}};_e.EMPTY=(()=>{let t=new _e;return t.closed=!0,t})();var Gw=_e.EMPTY;function Eb(t){return t instanceof _e||t&&"closed"in t&&dt(t.remove)&&dt(t.add)&&dt(t.unsubscribe)}function NM(t){dt(t)?t():t.unsubscribe()}var Ba={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Sm={setTimeout(t,i,...e){let{delegate:n}=Sm;return n?.setTimeout?n.setTimeout(t,i,...e):setTimeout(t,i,...e)},clearTimeout(t){let{delegate:i}=Sm;return(i?.clearTimeout||clearTimeout)(t)},delegate:void 0};function wb(t){Sm.setTimeout(()=>{let{onUnhandledError:i}=Ba;if(i)i(t);else throw t})}function xl(){}var OM=Ww("C",void 0,void 0);function FM(t){return Ww("E",void 0,t)}function PM(t){return Ww("N",t,void 0)}function Ww(t,i,e){return{kind:t,value:i,error:e}}var Xd=null;function Tm(t){if(Ba.useDeprecatedSynchronousErrorHandling){let i=!Xd;if(i&&(Xd={errorThrown:!1,error:null}),t(),i){let{errorThrown:e,error:n}=Xd;if(Xd=null,e)throw n}}else t()}function LM(t){Ba.useDeprecatedSynchronousErrorHandling&&Xd&&(Xd.errorThrown=!0,Xd.error=t)}var Zd=class extends _e{constructor(i){super(),this.isStopped=!1,i?(this.destination=i,Eb(i)&&i.add(this)):this.destination=iW}static create(i,e,n){return new Va(i,e,n)}next(i){this.isStopped?qw(PM(i),this):this._next(i)}error(i){this.isStopped?qw(FM(i),this):(this.isStopped=!0,this._error(i))}complete(){this.isStopped?qw(OM,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(i){this.destination.next(i)}_error(i){try{this.destination.error(i)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},tW=Function.prototype.bind;function $w(t,i){return tW.call(t,i)}var Yw=class{constructor(i){this.partialObserver=i}next(i){let{partialObserver:e}=this;if(e.next)try{e.next(i)}catch(n){xb(n)}}error(i){let{partialObserver:e}=this;if(e.error)try{e.error(i)}catch(n){xb(n)}else xb(i)}complete(){let{partialObserver:i}=this;if(i.complete)try{i.complete()}catch(e){xb(e)}}},Va=class extends Zd{constructor(i,e,n){super();let r;if(dt(i)||!i)r={next:i??void 0,error:e??void 0,complete:n??void 0};else{let o;this&&Ba.useDeprecatedNextContext?(o=Object.create(i),o.unsubscribe=()=>this.unsubscribe(),r={next:i.next&&$w(i.next,o),error:i.error&&$w(i.error,o),complete:i.complete&&$w(i.complete,o)}):r=i}this.destination=new Yw(r)}};function xb(t){Ba.useDeprecatedSynchronousErrorHandling?LM(t):wb(t)}function nW(t){throw t}function qw(t,i){let{onStoppedNotification:e}=Ba;e&&Sm.setTimeout(()=>e(t,i))}var iW={closed:!0,next:xl,error:nW,complete:xl};var Im=typeof Symbol=="function"&&Symbol.observable||"@@observable";function jo(t){return t}function Kw(...t){return Xw(t)}function Xw(t){return t.length===0?jo:t.length===1?t[0]:function(e){return t.reduce((n,r)=>r(n),e)}}var Ne=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let n=new t;return n.source=this,n.operator=e,n}subscribe(e,n,r){let o=oW(e)?e:new Va(e,n,r);return Tm(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(n){e.error(n)}}forEach(e,n){return n=BM(n),new n((r,o)=>{let a=new Va({next:s=>{try{e(s)}catch(d){o(d),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(e)}[Im](){return this}pipe(...e){return Xw(e)(this)}toPromise(e){return e=BM(e),new e((n,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>n(o))})}}return t.create=i=>new t(i),t})();function BM(t){var i;return(i=t??Ba.Promise)!==null&&i!==void 0?i:Promise}function rW(t){return t&&dt(t.next)&&dt(t.error)&&dt(t.complete)}function oW(t){return t&&t instanceof Zd||rW(t)&&Eb(t)}function Zw(t){return dt(t?.lift)}function Qe(t){return i=>{if(Zw(i))return i.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ye(t,i,e,n,r){return new Qw(t,i,e,n,r)}var Qw=class extends Zd{constructor(i,e,n,r,o,a){super(i),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(d){i.error(d)}}:super._next,this._error=r?function(s){try{r(s)}catch(d){i.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){i.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((i=this.onFinalize)===null||i===void 0||i.call(this))}}};function VM(){return Qe((t,i)=>{let e=null;t._refCount++;let n=Ye(i,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),i.unsubscribe()});t.subscribe(n),n.closed||(e=t.connect())})}var mf=class extends Ne{constructor(i,e){super(),this.source=i,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Zw(i)&&(this.lift=i.lift)}_subscribe(i){return this.getSubject().subscribe(i)}getSubject(){let i=this._subject;return(!i||i.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:i}=this;this._subject=this._connection=null,i?.unsubscribe()}connect(){let i=this._connection;if(!i){i=this._connection=new _e;let e=this.getSubject();i.add(this.source.subscribe(Ye(e,void 0,()=>{this._teardown(),e.complete()},n=>{this._teardown(),e.error(n)},()=>this._teardown()))),i.closed&&(this._connection=null,i=_e.EMPTY)}return i}refCount(){return VM()(this)}};var Am={schedule(t){let i=requestAnimationFrame,e=cancelAnimationFrame,{delegate:n}=Am;n&&(i=n.requestAnimationFrame,e=n.cancelAnimationFrame);let r=i(o=>{e=void 0,t(o)});return new _e(()=>e?.(r))},requestAnimationFrame(...t){let{delegate:i}=Am;return(i?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:i}=Am;return(i?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var jM=Ic(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var O=(()=>{class t extends Ne{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let n=new Sb(this,this);return n.operator=e,n}_throwIfClosed(){if(this.closed)throw new jM}next(e){Tm(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(e)}})}error(e){Tm(()=>{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(){Tm(()=>{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?Gw:(this.currentObservers=null,o.push(e),new _e(()=>{this.currentObservers=null,Kd(o,e)}))}_checkFinalizedStatuses(e){let{hasError:n,thrownError:r,isStopped:o}=this;n?e.error(r):o&&e.complete()}asObservable(){let e=new Ne;return e.source=this,e}}return t.create=(i,e)=>new Sb(i,e),t})(),Sb=class extends O{constructor(i,e){super(),this.destination=i,this.source=e}next(i){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.next)===null||n===void 0||n.call(e,i)}error(i){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.error)===null||n===void 0||n.call(e,i)}complete(){var i,e;(e=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||e===void 0||e.call(i)}_subscribe(i){var e,n;return(n=(e=this.source)===null||e===void 0?void 0:e.subscribe(i))!==null&&n!==void 0?n:Gw}};var zt=class extends O{constructor(i){super(),this._value=i}get value(){return this.getValue()}_subscribe(i){let e=super._subscribe(i);return!e.closed&&i.next(this._value),e}getValue(){let{hasError:i,thrownError:e,_value:n}=this;if(i)throw e;return this._throwIfClosed(),n}next(i){super.next(this._value=i)}};var pf={now(){return(pf.delegate||Date).now()},delegate:void 0};var Co=class extends O{constructor(i=1/0,e=1/0,n=pf){super(),this._bufferSize=i,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,i),this._windowTime=Math.max(1,e)}next(i){let{isStopped:e,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;e||(n.push(i),!r&&n.push(o.now()+a)),this._trimBuffer(),super.next(i)}_subscribe(i){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(i),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!i.closed;a+=n?1:2)i.next(o[a]);return this._checkFinalizedStatuses(i),e}_trimBuffer(){let{_bufferSize:i,_timestampProvider:e,_buffer:n,_infiniteTimeWindow:r}=this,o=(r?1:2)*i;if(i<1/0&&o<n.length&&n.splice(0,n.length-o),!r){let a=e.now(),s=0;for(let d=1;d<n.length&&n[d]<=a;d+=2)s=d;s&&n.splice(0,s+1)}}};var Tb=class extends _e{constructor(i,e){super()}schedule(i,e=0){return this}};var hf={setInterval(t,i,...e){let{delegate:n}=hf;return n?.setInterval?n.setInterval(t,i,...e):setInterval(t,i,...e)},clearInterval(t){let{delegate:i}=hf;return(i?.clearInterval||clearInterval)(t)},delegate:void 0};var Ac=class extends Tb{constructor(i,e){super(i,e),this.scheduler=i,this.work=e,this.pending=!1}schedule(i,e=0){var n;if(this.closed)return this;this.state=i;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,e),this}requestAsyncId(i,e,n=0){return hf.setInterval(i.flush.bind(i,this),n)}recycleAsyncId(i,e,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return e;e!=null&&hf.clearInterval(e)}execute(i,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(i,e);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(i,e){let n=!1,r;try{this.work(i)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:i,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Kd(n,this),i!=null&&(this.id=this.recycleAsyncId(e,i,null)),this.delay=null,super.unsubscribe()}}};var aW=1,Jw,ex={};function HM(t){return t in ex?(delete ex[t],!0):!1}var UM={setImmediate(t){let i=aW++;return ex[i]=!0,Jw||(Jw=Promise.resolve()),Jw.then(()=>HM(i)&&t()),i},clearImmediate(t){HM(t)}};var{setImmediate:sW,clearImmediate:lW}=UM,ff={setImmediate(...t){let{delegate:i}=ff;return(i?.setImmediate||sW)(...t)},clearImmediate(t){let{delegate:i}=ff;return(i?.clearImmediate||lW)(t)},delegate:void 0};var Ib=class extends Ac{constructor(i,e){super(i,e),this.scheduler=i,this.work=e}requestAsyncId(i,e,n=0){return n!==null&&n>0?super.requestAsyncId(i,e,n):(i.actions.push(this),i._scheduled||(i._scheduled=ff.setImmediate(i.flush.bind(i,void 0))))}recycleAsyncId(i,e,n=0){var r;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(i,e,n);let{actions:o}=i;e!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(ff.clearImmediate(e),i._scheduled===e&&(i._scheduled=void 0))}};var km=class t{constructor(i,e=t.now){this.schedulerActionCtor=i,this.now=e}schedule(i,e=0,n){return new this.schedulerActionCtor(this,i).schedule(n,e)}};km.now=pf.now;var kc=class extends km{constructor(i,e=km.now){super(i,e),this.actions=[],this._active=!1}flush(i){let{actions:e}=this;if(this._active){e.push(i);return}let n;this._active=!0;do if(n=i.execute(i.state,i.delay))break;while(i=e.shift());if(this._active=!1,n){for(;i=e.shift();)i.unsubscribe();throw n}}};var Ab=class extends kc{flush(i){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:n}=this,r;i=i||n.shift();do if(r=i.execute(i.state,i.delay))break;while((i=n[0])&&i.id===e&&n.shift());if(this._active=!1,r){for(;(i=n[0])&&i.id===e&&n.shift();)i.unsubscribe();throw r}}};var kb=new Ab(Ib);var Ho=new kc(Ac),zM=Ho;var Rb=class extends Ac{constructor(i,e){super(i,e),this.scheduler=i,this.work=e}requestAsyncId(i,e,n=0){return n!==null&&n>0?super.requestAsyncId(i,e,n):(i.actions.push(this),i._scheduled||(i._scheduled=Am.requestAnimationFrame(()=>i.flush(void 0))))}recycleAsyncId(i,e,n=0){var r;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(i,e,n);let{actions:o}=i;e!=null&&e===i._scheduled&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(Am.cancelAnimationFrame(e),i._scheduled=void 0)}};var Mb=class extends kc{flush(i){this._active=!0;let e;i?e=i.id:(e=this._scheduled,this._scheduled=void 0);let{actions:n}=this,r;i=i||n.shift();do if(r=i.execute(i.state,i.delay))break;while((i=n[0])&&i.id===e&&n.shift());if(this._active=!1,r){for(;(i=n[0])&&i.id===e&&n.shift();)i.unsubscribe();throw r}}};var Rm=new Mb(Rb);var ke=new Ne(t=>t.complete());function Nb(t){return t&&dt(t.schedule)}function tx(t){return t[t.length-1]}function Ob(t){return dt(tx(t))?t.pop():void 0}function da(t){return Nb(tx(t))?t.pop():void 0}function GM(t,i){return typeof tx(t)=="number"?t.pop():i}function xn(t,i,e,n){var r=arguments.length,o=r<3?i:n===null?n=Object.getOwnPropertyDescriptor(i,e):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,i,e,n);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(o=(r<3?a(o):r>3?a(i,e,o):a(i,e))||o);return r>3&&o&&Object.defineProperty(i,e,o),o}function $M(t,i,e,n){function r(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(f){try{p(n.next(f))}catch(b){a(b)}}function d(f){try{p(n.throw(f))}catch(b){a(b)}}function p(f){f.done?o(f.value):r(f.value).then(s,d)}p((n=n.apply(t,i||[])).next())})}function WM(t){var i=typeof Symbol=="function"&&Symbol.iterator,e=i&&t[i],n=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qd(t){return this instanceof Qd?(this.v=t,this):new Qd(t)}function qM(t,i,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(t,i||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(A){return function(M){return Promise.resolve(M).then(A,b)}}function s(A,M){n[A]&&(r[A]=function(J){return new Promise(function(j,K){o.push([A,J,j,K])>1||d(A,J)})},M&&(r[A]=M(r[A])))}function d(A,M){try{p(n[A](M))}catch(J){w(o[0][3],J)}}function p(A){A.value instanceof Qd?Promise.resolve(A.value.v).then(f,b):w(o[0][2],A)}function f(A){d("next",A)}function b(A){d("throw",A)}function w(A,M){A(M),o.shift(),o.length&&d(o[0][0],o[0][1])}}function YM(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=t[Symbol.asyncIterator],e;return i?i.call(t):(t=typeof WM=="function"?WM(t):t[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(o){e[o]=t[o]&&function(a){return new Promise(function(s,d){a=t[o](a),r(s,d,a.done,a.value)})}}function r(o,a,s,d){Promise.resolve(d).then(function(p){o({value:p,done:s})},a)}}var Mm=t=>t&&typeof t.length=="number"&&typeof t!="function";function Fb(t){return dt(t?.then)}function Pb(t){return dt(t[Im])}function Lb(t){return Symbol.asyncIterator&&dt(t?.[Symbol.asyncIterator])}function Bb(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function cW(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Vb=cW();function jb(t){return dt(t?.[Vb])}function Hb(t){return qM(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:n,done:r}=yield Qd(e.read());if(r)return yield Qd(void 0);yield yield Qd(n)}}finally{e.releaseLock()}})}function Ub(t){return dt(t?.getReader)}function Ft(t){if(t instanceof Ne)return t;if(t!=null){if(Pb(t))return dW(t);if(Mm(t))return uW(t);if(Fb(t))return mW(t);if(Lb(t))return KM(t);if(jb(t))return pW(t);if(Ub(t))return hW(t)}throw Bb(t)}function dW(t){return new Ne(i=>{let e=t[Im]();if(dt(e.subscribe))return e.subscribe(i);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function uW(t){return new Ne(i=>{for(let e=0;e<t.length&&!i.closed;e++)i.next(t[e]);i.complete()})}function mW(t){return new Ne(i=>{t.then(e=>{i.closed||(i.next(e),i.complete())},e=>i.error(e)).then(null,wb)})}function pW(t){return new Ne(i=>{for(let e of t)if(i.next(e),i.closed)return;i.complete()})}function KM(t){return new Ne(i=>{fW(t,i).catch(e=>i.error(e))})}function hW(t){return KM(Hb(t))}function fW(t,i){var e,n,r,o;return $M(this,void 0,void 0,function*(){try{for(e=YM(t);n=yield e.next(),!n.done;){let a=n.value;if(i.next(a),i.closed)return}}catch(a){r={error:a}}finally{try{n&&!n.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}i.complete()})}function Fr(t,i,e,n=0,r=!1){let o=i.schedule(function(){e(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}function zb(t,i=0){return Qe((e,n)=>{e.subscribe(Ye(n,r=>Fr(n,t,()=>n.next(r),i),()=>Fr(n,t,()=>n.complete(),i),r=>Fr(n,t,()=>n.error(r),i)))})}function Gb(t,i=0){return Qe((e,n)=>{n.add(t.schedule(()=>e.subscribe(n),i))})}function XM(t,i){return Ft(t).pipe(Gb(i),zb(i))}function ZM(t,i){return Ft(t).pipe(Gb(i),zb(i))}function QM(t,i){return new Ne(e=>{let n=0;return i.schedule(function(){n===t.length?e.complete():(e.next(t[n++]),e.closed||this.schedule())})})}function JM(t,i){return new Ne(e=>{let n;return Fr(e,i,()=>{n=t[Vb](),Fr(e,i,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(a){e.error(a);return}o?e.complete():e.next(r)},0,!0)}),()=>dt(n?.return)&&n.return()})}function Wb(t,i){if(!t)throw new Error("Iterable cannot be null");return new Ne(e=>{Fr(e,i,()=>{let n=t[Symbol.asyncIterator]();Fr(e,i,()=>{n.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function eN(t,i){return Wb(Hb(t),i)}function tN(t,i){if(t!=null){if(Pb(t))return XM(t,i);if(Mm(t))return QM(t,i);if(Fb(t))return ZM(t,i);if(Lb(t))return Wb(t,i);if(jb(t))return JM(t,i);if(Ub(t))return eN(t,i)}throw Bb(t)}function fn(t,i){return i?tN(t,i):Ft(t)}function P(...t){let i=da(t);return fn(t,i)}function gn(t,i){let e=dt(t)?t:()=>t,n=r=>r.error(e());return new Ne(i?r=>i.schedule(n,0,r):n)}function Sl(t){return!!t&&(t instanceof Ne||dt(t.lift)&&dt(t.subscribe))}var Tl=Ic(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function gW(t,i){let e=typeof i=="object";return new Promise((n,r)=>{let o=new Va({next:a=>{n(a),o.unsubscribe()},error:r,complete:()=>{e?n(i.defaultValue):r(new Tl)}});t.subscribe(o)})}function $b(t){return t instanceof Date&&!isNaN(t)}var _W=Ic(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function Nm(t,i){let{first:e,each:n,with:r=bW,scheduler:o=i??Ho,meta:a=null}=$b(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&n==null)throw new TypeError("No timeout provided.");return Qe((s,d)=>{let p,f,b=null,w=0,A=M=>{f=Fr(d,o,()=>{try{p.unsubscribe(),Ft(r({meta:a,lastValue:b,seen:w})).subscribe(d)}catch(J){d.error(J)}},M)};p=s.subscribe(Ye(d,M=>{f?.unsubscribe(),w++,d.next(b=M),n>0&&A(n)},void 0,void 0,()=>{f?.closed||f?.unsubscribe(),b=null})),!w&&A(e!=null?typeof e=="number"?e:+e-o.now():n)})}function bW(t){throw new _W(t)}function $(t,i){return Qe((e,n)=>{let r=0;e.subscribe(Ye(n,o=>{n.next(t.call(i,o,r++))}))})}var{isArray:vW}=Array;function yW(t,i){return vW(i)?t(...i):t(i)}function Om(t){return $(i=>yW(t,i))}var{isArray:CW}=Array,{getPrototypeOf:DW,prototype:EW,keys:wW}=Object;function qb(t){if(t.length===1){let i=t[0];if(CW(i))return{args:i,keys:null};if(xW(i)){let e=wW(i);return{args:e.map(n=>i[n]),keys:e}}}return{args:t,keys:null}}function xW(t){return t&&typeof t=="object"&&DW(t)===EW}function Yb(t,i){return t.reduce((e,n,r)=>(e[n]=i[r],e),{})}function nn(...t){let i=da(t),e=Ob(t),{args:n,keys:r}=qb(t);if(n.length===0)return fn([],i);let o=new Ne(SW(n,i,r?a=>Yb(r,a):jo));return e?o.pipe(Om(e)):o}function SW(t,i,e=jo){return n=>{nN(i,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let d=0;d<r;d++)nN(i,()=>{let p=fn(t[d],i),f=!1;p.subscribe(Ye(n,b=>{o[d]=b,f||(f=!0,s--),s||n.next(e(o.slice()))},()=>{--a||n.complete()}))},n)},n)}}function nN(t,i,e){t?Fr(e,t,i):i()}function iN(t,i,e,n,r,o,a,s){let d=[],p=0,f=0,b=!1,w=()=>{b&&!d.length&&!p&&i.complete()},A=J=>p<n?M(J):d.push(J),M=J=>{o&&i.next(J),p++;let j=!1;Ft(e(J,f++)).subscribe(Ye(i,K=>{r?.(K),o?A(K):i.next(K)},()=>{j=!0},void 0,()=>{if(j)try{for(p--;d.length&&p<n;){let K=d.shift();a?Fr(i,a,()=>M(K)):M(K)}w()}catch(K){i.error(K)}}))};return t.subscribe(Ye(i,A,()=>{b=!0,w()}
3)),()=>{s?.()}}function ii(t,i,e=1/0){return dt(i)?ii((n,r)=>$((o,a)=>i(n,o,r,a))(Ft(t(n,r))),e):(typeof i=="number"&&(e=i),Qe((n,r)=>iN(n,r,t,e)))}function Cs(t=1/0){return ii(jo,t)}function Kb(){return Cs(1)}function Ds(...t){return Kb()(fn(t,da(t)))}function Wn(t){return new Ne(i=>{Ft(t()).subscribe(i)})}function Jd(...t){let i=Ob(t),{args:e,keys:n}=qb(t),r=new Ne(o=>{let{length:a}=e;if(!a){o.complete();return}let s=new Array(a),d=a,p=a;for(let f=0;f<a;f++){let b=!1;Ft(e[f]).subscribe(Ye(o,w=>{b||(b=!0,p--),s[f]=w},()=>d--,void 0,()=>{(!d||!b)&&(p||o.next(n?Yb(n,s):s),o.complete())}))}});return i?r.pipe(Om(i)):r}var TW=["addListener","removeListener"],IW=["addEventListener","removeEventListener"],AW=["on","off"];function Il(t,i,e,n){if(dt(e)&&(n=e,e=void 0),n)return Il(t,i,e).pipe(Om(n));let[r,o]=MW(t)?IW.map(a=>s=>t[a](i,s,e)):kW(t)?TW.map(rN(t,i)):RW(t)?AW.map(rN(t,i)):[];if(!r&&Mm(t))return ii(a=>Il(a,i,e))(Ft(t));if(!r)throw new TypeError("Invalid event target");return new Ne(a=>{let s=(...d)=>a.next(1<d.length?d:d[0]);return r(s),()=>o(s)})}function rN(t,i){return e=>n=>t[e](i,n)}function kW(t){return dt(t.addListener)&&dt(t.removeListener)}function RW(t){return dt(t.on)&&dt(t.off)}function MW(t){return dt(t.addEventListener)&&dt(t.removeEventListener)}function NW(t,i,e){return Wn(()=>t()?i:e)}function ja(t=0,i,e=zM){let n=-1;return i!=null&&(Nb(i)?e=i:n=i),new Ne(r=>{let o=$b(t)?+t-e.now():t;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=n?this.schedule(void 0,n):r.complete())},o)})}function nx(t=0,i=Ho){return t<0&&(t=0),ja(t,t,i)}function ut(...t){let i=da(t),e=GM(t,1/0),n=t;return n.length?n.length===1?Ft(n[0]):Cs(e)(fn(n,i)):ke}var gf=new Ne(xl);var{isArray:OW}=Array;function oN(t){return t.length===1&&OW(t[0])?t[0]:t}function ae(t,i){return Qe((e,n)=>{let r=0;e.subscribe(Ye(n,o=>t.call(i,o,r++)&&n.next(o)))})}function ix(...t){return t=oN(t),t.length===1?Ft(t[0]):new Ne(FW(t))}function FW(t){return i=>{let e=[];for(let n=0;e&&!i.closed&&n<t.length;n++)e.push(Ft(t[n]).subscribe(Ye(i,r=>{if(e){for(let o=0;o<e.length;o++)o!==n&&e[o].unsubscribe();e=null}i.next(r)})))}}function aN(t){return Qe((i,e)=>{let n=!1,r=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let p=r;r=null,e.next(p)}a&&e.complete()},d=()=>{o=null,a&&e.complete()};i.subscribe(Ye(e,p=>{n=!0,r=p,o||Ft(t(p)).subscribe(o=Ye(e,s,d))},()=>{a=!0,(!n||!o||o.closed)&&e.complete()}))})}function Fm(t,i=Ho){return aN(()=>ja(t,i))}function Ge(t){return Qe((i,e)=>{let n=null,r=!1,o;n=i.subscribe(Ye(e,void 0,void 0,a=>{o=Ft(t(a,Ge(t)(i))),n?(n.unsubscribe(),n=null,o.subscribe(e)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(e))})}function sN(t,i,e,n,r){return(o,a)=>{let s=e,d=i,p=0;o.subscribe(Ye(a,f=>{let b=p++;d=s?t(d,f,b):(s=!0,f),n&&a.next(d)},r&&(()=>{s&&a.next(d),a.complete()})))}}function lN(t,i){return Qe(sN(t,i,arguments.length>=2,!1,!0))}var PW=(t,i)=>(t.push(i),t);function LW(){return Qe((t,i)=>{lN(PW,[])(t).subscribe(i)})}function Es(t,i){return dt(i)?ii(t,i,1):ii(t,1)}function cN(...t){let i=da(t);return Qe((e,n)=>{Kb()(fn([e,...t],i)).subscribe(n)})}function Pm(...t){return cN(...t)}function hi(t,i=Ho){return Qe((e,n)=>{let r=null,o=null,a=null,s=()=>{if(r){r.unsubscribe(),r=null;let p=o;o=null,n.next(p)}};function d(){let p=a+t,f=i.now();if(f<p){r=this.schedule(void 0,p-f),n.add(r);return}s()}e.subscribe(Ye(n,p=>{o=p,a=i.now(),r||(r=i.schedule(d,t),n.add(r))},()=>{s(),n.complete()},void 0,()=>{o=r=null}))})}function dN(t){return Qe((i,e)=>{let n=!1;i.subscribe(Ye(e,r=>{n=!0,e.next(r)},()=>{n||e.next(t),e.complete()}))})}function We(t){return t<=0?()=>ke:Qe((i,e)=>{let n=0;i.subscribe(Ye(e,r=>{++n<=t&&(e.next(r),t<=n&&e.complete())}))})}function Lm(){return Qe((t,i)=>{t.subscribe(Ye(i,xl))})}function Bm(t){return $(()=>t)}function rx(t,i){return i?e=>Ds(i.pipe(We(1),Lm()),e.pipe(rx(t))):ii((e,n)=>Ft(t(e,n)).pipe(We(1),Bm(e)))}function ox(t,i=Ho){let e=ja(t,i);return rx(()=>e)}function It(t,i=jo){return t=t??BW,Qe((e,n)=>{let r,o=!0;e.subscribe(Ye(n,a=>{let s=i(a);(o||!t(r,s))&&(o=!1,r=s,n.next(a))}))})}function BW(t,i){return t===i}function uN(t=VW){return Qe((i,e)=>{let n=!1;i.subscribe(Ye(e,r=>{n=!0,e.next(r)},()=>n?e.complete():e.error(t())))})}function VW(){return new Tl}function Xb(t,i){return i?e=>e.pipe(Xb((n,r)=>Ft(t(n,r)).pipe($((o,a)=>i(n,o,r,a))))):Qe((e,n)=>{let r=0,o=null,a=!1;e.subscribe(Ye(n,s=>{o||(o=Ye(n,void 0,()=>{o=null,a&&n.complete()}),Ft(t(s,r++)).subscribe(o))},()=>{a=!0,!o&&n.complete()}
3))})}function Zr(t){return Qe((i,e)=>{try{i.subscribe(e)}finally{e.add(t)}})}function Ha(t,i){let e=arguments.length>=2;return n=>n.pipe(t?ae((r,o)=>t(r,o,n)):jo,We(1),e?dN(i):uN(()=>new Tl))}function Zb(t){return t<=0?()=>ke:Qe((i,e)=>{let n=[];i.subscribe(Ye(e,r=>{n.push(r),t<n.length&&n.shift()},()=>{for(let r of n)e.next(r);e.complete()},void 0,()=>{n=null}))})}function Qb(){return Qe((t,i)=>{let e,n=!1;t.subscribe(Ye(i,r=>{let o=e;e=r,n&&i.next([o,r]),n=!0}))})}function _f(t={}){let{connector:i=()=>new O,resetOnError:e=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,d,p=0,f=!1,b=!1,w=()=>{s?.unsubscribe(),s=void 0},A=()=>{w(),a=d=void 0,f=b=!1},M=()=>{let J=a;A(),J?.unsubscribe()};return Qe((J,j)=>{p++,!b&&!f&&w();let K=d=d??i();j.add(()=>{p--,p===0&&!b&&!f&&(s=ax(M,r))}),K.subscribe(j),!a&&p>0&&(a=new Va({next:Te=>K.next(Te),error:Te=>{b=!0,w(),s=ax(A,e,Te),K.error(Te)},complete:()=>{f=!0,w(),s=ax(A,n),K.complete()}}),Ft(J).subscribe(a))})(o)}}function ax(t,i,...e){if(i===!0){t();return}if(i===!1)return;let n=new Va({next:()=>{n.unsubscribe(),t()}});return Ft(i(...e)).subscribe(n)}function Qr(t,i,e){let n,r=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:i=1/0,refCount:r=!1,scheduler:e}=t:n=t??1/0,_f({connector:()=>new Co(n,i,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Al(t){return ae((i,e)=>t<=e)}function Re(...t){let i=da(t);return Qe((e,n)=>{(i?Ds(t,e,i):Ds(t,e)).subscribe(n)})}function W(t,i){return Qe((e,n)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&n.complete();e.subscribe(Ye(n,d=>{r?.unsubscribe();let p=0,f=o++;Ft(t(d,f)).subscribe(r=Ye(n,b=>n.next(i?i(d,b,f,p++):b),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function xe(t){return Qe((i,e)=>{Ft(t).subscribe(Ye(e,()=>e.complete(),xl)),!e.closed&&i.subscribe(e)})}function sx(t,i=!1){return Qe((e,n)=>{let r=0;e.subscribe(Ye(n,o=>{let a=t(o,r++);(a||i)&&n.next(o),!a&&n.complete()}))})}function B(t,i,e){let n=dt(t)||i||e?{next:t,error:i,complete:e}:t;return n?Qe((r,o)=>{var a;(a=n.subscribe)===null||a===void 0||a.call(n);let s=!0;r.subscribe(Ye(o,d=>{var p;(p=n.next)===null||p===void 0||p.call(n,d),o.next(d)},()=>{var d;s=!1,(d=n.complete)===null||d===void 0||d.call(n),o.complete()},d=>{var p;s=!1,(p=n.error)===null||p===void 0||p.call(n,d),o.error(d)},()=>{var d,p;s&&((d=n.unsubscribe)===null||d===void 0||d.call(n)),(p=n.finalize)===null||p===void 0||p.call(n)}))}):jo}function mN(t,i){return Qe((e,n)=>{let{leading:r=!0,trailing:o=!1}=i??{},a=!1,s=null,d=null,p=!1,f=()=>{d?.unsubscribe(),d=null,o&&(A(),p&&n.complete())},b=()=>{d=null,p&&n.complete()},w=M=>d=Ft(t(M)).subscribe(Ye(n,f,b)),A=()=>{if(a){a=!1;let M=s;s=null,n.next(M),!p&&w(M)}};e.subscribe(Ye(n,M=>{a=!0,s=M,!(d&&!d.closed)&&(r?A():w(M))},()=>{p=!0,!(o&&a&&d&&!d.closed)&&n.complete()}))})}function lx(t,i=Ho,e){let n=ja(t,i);return mN(()=>n,e)}var cx;function Jb(){return cx}function ws(t){let i=cx;return cx=t,i}var pN=Symbol("NotFound");function Vm(t){return t===pN||t?.name==="\u0275NotFound"}function dx(t,i,e){let n=Object.create(jW);n.source=t,n.computation=i,e!=null&&(n.equal=e);let o=()=>{if(Yd(n),El(n),n.value===ys)throw n.error;return n.value};return o[yi]=n,lf(n),o}function hN(t,i){Yd(t),Tc(t,i),Em(t)}function fN(t,i){if(Yd(t),t.value===ys)throw t.error;Cb(t,i),Em(t)}var jW=Ae(L({},wc),{value:$d,dirty:!0,error:null,equal:cf,kind:"linkedSignal",producerMustRecompute(t){return t.value===$d||t.value===qd},producerRecomputeValue(t){if(t.value===qd)throw new Error("");let i=t.value;t.value=qd;let e=wl(t),n,r=!1;try{let o=t.source(),a=i!==$d&&i!==ys,s=a?{source:t.sourceValue,value:i}:void 0;n=t.computation(o,s),t.sourceValue=o,nt(null),r=a&&n!==ys&&t.equal(i,n)}catch(o){n=ys,t.error=o}finally{xc(t,e)}if(r){t.value=i;return}t.value=n,t.version++}});function gN(t){let i=nt(null);try{return t()}finally{nt(i)}}var sv="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",ce=class extends Error{code;constructor(i,e){super(ua(i,e)),this.code=i}};function HW(t){return`NG0${Math.abs(t)}`}function ua(t,i){return`${HW(t)}${i?": "+i:""}`}var Fi=globalThis;function Sn(t){for(let i in t)if(t[i]===Sn)return i;throw Error("")}function CN(t,i){for(let e in i)i.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=i[e])}function xf(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(xf).join(", ")}]`;if(t==null)return""+t;let i=t.overriddenName||t.name;if(i)return`${i}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(`
4`);return n>=0?e.slice(0,n):e}function lv(t,i){return t?i?`${t} ${i}`:t:i||""}var UW=Sn({__forward_ref__:Sn});function bn(t){return t.__forward_ref__=bn,t}function $i(t){return Ex(t)?t():t}function Ex(t){return typeof t=="function"&&t.hasOwnProperty(UW)&&t.__forward_ref__===bn}function D(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Y(t){return{providers:t.providers||[],imports:t.imports||[]}}function Sf(t){return zW(t,cv)}function wx(t){return Sf(t)!==null}function zW(t,i){return t.hasOwnProperty(i)&&t[i]||null}function GW(t){let i=t?.[cv]??null;return i||null}function mx(t){return t&&t.hasOwnProperty(nv)?t[nv]:null}var cv=Sn({\u0275prov:Sn}
vendor: 5,140 bytes, line 4
4),nv=Sn({\u0275inj:Sn}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(i,e){this._desc=i,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=D({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function xx(t){return t&&!!t.\u0275providers}var Tf=Sn({\u0275cmp:Sn}),If=Sn({\u0275dir:Sn}),Sx=Sn({\u0275pipe:Sn}),Tx=Sn({\u0275mod:Sn}),vf=Sn({\u0275fac:Sn}),ru=Sn({__NG_ELEMENT_ID__:Sn}),_N=Sn({__NG_ENV_ID__:Sn});function Ix(t){return uv(t,"@NgModule"),t[Tx]||null}function xs(t){return uv(t,"@Component"),t[Tf]||null}function dv(t){return uv(t,"@Directive"),t[If]||null}function Ax(t){return uv(t,"@Pipe"),t[Sx]||null}function uv(t,i){if(t==null)throw new ce(-919,!1)}function eo(t){return typeof t=="string"?t:t==null?"":String(t)}var DN=Sn({ngErrorCode:Sn}),WW=Sn({ngErrorMessage:Sn}),$W=Sn({ngTokenPath:Sn});function kx(t,i){return EN("",-200,i)}function mv(t,i){throw new ce(-201,!1)}function EN(t,i,e){let n=new ce(i,t);return n[DN]=i,n[WW]=t,e&&(n[$W]=e),n}function qW(t){return t[DN]}var px;function wN(){return px}function Jr(t){let i=px;return px=t,i}function Rx(t,i,e){let n=Sf(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(e&8)return null;if(i!==void 0)return i;mv(t,"")}var YW={},eu=YW,KW="__NG_DI_FLAG__",hx=class{injector;constructor(i){this.injector=i}retrieve(i,e){let n=tu(e)||0;try{return this.injector.get(i,n&8?null:eu,n)}catch(r){if(Vm(r))return r;throw r}}};function XW(t,i=0){let e=Jb();if(e===void 0)throw new ce(-203,!1);if(e===null)return Rx(t,void 0,i);{let n=ZW(i),r=e.retrieve(t,n);if(Vm(r)){if(n.optional)return null;throw r}return r}}function F(t,i=0){return(wN()||XW)($i(t),i)}function m(t,i){return F(t,tu(i))}function tu(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ZW(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function fx(t){let i=[];for(let e=0;e<t.length;e++){let n=$i(t[e]);if(Array.isArray(n)){if(n.length===0)throw new ce(900,!1);let r,o=0;for(let a=0;a<n.length;a++){let s=n[a],d=QW(s);typeof d=="number"?d===-1?r=s.token:o|=d:r=s}i.push(F(r,o))}else i.push(F(n))}return i}function QW(t){return t[KW]}function Mc(t,i){let e=t.hasOwnProperty(vf);return e?t[vf]:null}function xN(t,i,e){if(t.length!==i.length)return!1;for(let n=0;n<t.length;n++){let r=t[n],o=i[n];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function SN(t){return t.flat(Number.POSITIVE_INFINITY)}function pv(t,i){t.forEach(e=>Array.isArray(e)?pv(e,i):i(e))}function Mx(t,i,e){i>=t.length?t.push(e):t.splice(i,0,e)}function Af(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function TN(t,i){let e=[];for(let n=0;n<t;n++)e.push(i);return e}function IN(t,i,e,n){let r=t.length;if(r==i)t.push(e,n);else if(r===1)t.push(n,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>i;){let o=r-2;t[r]=t[o],r--}t[i]=e,t[i+1]=n}}function kf(t,i,e){let n=Hm(t,i);return n>=0?t[n|1]=e:(n=~n,IN(t,n,i,e)),n}function hv(t,i){let e=Hm(t,i);if(e>=0)return t[e|1]}function Hm(t,i){return JW(t,i,1)}function JW(t,i,e){let n=0,r=t.length>>e;for(;r!==n;){let o=n+(r-n>>1),a=t[o<<e];if(i===a)return o<<e;a>i?r=o:n=o+1}return~(r<<e)}var za={},Pr=[],Rl=new R(""),Nx=new R("",-1),Ox=new R(""),yf=class{get(i,e=eu){if(e===eu){let r=EN("",-201);throw r.name="\u0275NotFound",r}return e}};function Fc(t){return{\u0275providers:t}}function AN(...t){return{\u0275providers:Fx(!0,t),\u0275fromNgModule:!0}}function Fx(t,...i){let e=[],n=new Set,r,o=a=>{e.push(a)};return pv(i,a=>{let s=a;iv(s,o,[],n)&&(r||=[],r.push(s))}),r!==void 0&&kN(r,o),e}function kN(t,i){for(let e=0;e<t.length;e++){let{ngModule:n,providers:r}=t[e];Px(r,o=>{i(o,n)})}}function iv(t,i,e,n){if(t=$i(t),!t)return!1;let r=null,o=mx(t),a=!o&&xs(t);if(!o&&!a){let d=t.ngModule;if(o=mx(d),o)r=d;else return!1}else{if(a&&!a.standalone)return!1;r=t}let s=n.has(r);if(a){if(s)return!1;if(n.add(r),a.dependencies){let d=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let p of d)iv(p,i,e,n)}}else if(o){if(o.imports!=null&&!s){n.add(r);let p;pv(o.imports,f=>{iv(f,i,e,n)&&(p||=[],p.push(f))}),p!==void 0&&kN(p,i)}if(!s){let p=Mc(r)||(()=>new r);i({provide:r,useFactory:p,deps:Pr},r),i({provide:Ox,useValue:r,multi:!0},r),i({provide:Rl,useValue:()=>F(r),multi:!0},r)}let d=o.providers;if(d!=null&&!s){let p=t;Px(d,f=>{i(f,p)})}}else return!1;return r!==t&&t.providers!==void 0}function Px(t,i){for(let e of t)xx(e)&&(e=e.\u0275providers),Array.isArray(e)?Px(e,i):i(e)}var e8=Sn({provide:String,useValue:Sn});function RN(t){return t!==null&&typeof t=="object"&&e8 in t}function t8(t){return!!(t&&t.useExisting)}function n8(t){return!!(t&&t.useFactory)}function nu(t){return typeof t=="function"}function MN(t){return!!t.useClass}var Rf=new R(""),ev={},bN={},ux;function Um(){return ux===void 0&&(ux=new yf),ux}var _n=class{},iu=class extends _n{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;
4constructor(i,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,_x(i,a=>this.processProvider(a)),this.records.set(Nx,jm(void 0,this)),r.has("environment")&&this.records.set(_n,jm(void 0,this));let o=this.records.get(Rf);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ox,Pr,{self:!0}))}retrieve(i,e){let n=tu(e)||0;try{return this.get(i,eu,n)}catch(r){if(Vm(r))return r;throw r}}destroy(){bf(this),this._destroyed=!0;let i=nt(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(),nt(i)}}onDestroy(i){return bf(this),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){bf(this);let e=ws(this),n=Jr(void 0),r;try{return i()}finally{ws(e),Jr(n)}}get(i,e=eu,n){if(bf(this),i.hasOwnProperty(_N))return i[_N](this);let r=tu(n),o,a=ws(this),s=Jr(void 0);try{if(!(r&4)){let p=this.records.get(i);if(p===void 0){let f=s8(i)&&Sf(i);f&&this.injectableDefInScope(f)?p=jm(gx(i),ev):p=null,this.records.set(i,p)}if(p!=null)return this.hydrate(i,p,r)}let d=r&2?Um():this.parent;return e=r&8&&e===eu?null:e,d.get(i,e)}catch(d){let p=qW(d);throw p===-200||p===-201?new ce(p,null):d}finally{Jr(s),ws(a)}}resolveInjectorInitializers(){let i=nt(null),e=ws(this),n=Jr(void 0),r;try{let o=this.get(Rl,Pr,{self:!0});for(let a of o)a()}finally{ws(e),Jr(n),nt(i)}}toString(){return"R3Injector[...]"}processProvider(i){i=$i(i);let e=nu(i)?i:$i(i&&i.provide),n=r8(i);if(!nu(i)&&i.multi===!0){let r=this.records.get(e);r||(r=jm(void 0,ev,!0),r.factory=()=>fx(r.multi),this.records.set(e,r)),e=i,r.multi.push(i)}this.records.set(e,n)}hydrate(i,e,n){let r=nt(null);try{if(e.value===bN)throw kx("");return e.value===ev&&(e.value=bN,e.value=e.factory(void 0,n)),typeof e.value=="object"&&e.value&&a8(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{nt(r)}}injectableDefInScope(i){if(!i.providedIn)return!1;let e=$i(i.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(i){let e=this._onDestroyHooks.indexOf(i);e!==-1&&this._onDestroyHooks.splice(e,1)}};function gx(t){let i=Sf(t),e=i!==null?i.factory:Mc(t);if(e!==null)return e;if(t instanceof R)throw new ce(-204,!1);if(t instanceof Function)return i8(t);throw new ce(-204,!1)}function i8(t){if(t.length>0)throw new ce(-204,!1);let e=GW(t);return e!==null?()=>e.factory(t):()=>new t}function r8(t){if(RN(t))return jm(void 0,t.useValue);{let i=Lx(t);return jm(i,ev)}}function Lx(t,i,e){let n;if(nu(t)){let r=$i(t);return Mc(r)||gx(r)}else if(RN(t))n=()=>$i(t.useValue);else if(n8(t))n=()=>t.useFactory(...fx(t.deps||[]));else if(t8(t))n=(r,o)=>F($i(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=$i(t&&(t.useClass||t.provide));if(o8(t))n=()=>new r(...fx(t.deps));else return Mc(r)||gx(r)}return n}function bf(t){if(t.destroyed)throw new ce(-205,!1)}function jm(t,i,e=!1){return{factory:t,value:i,multi:e?[]:void 0}}function o8(t){return!!t.deps}function a8(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function s8(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function _x(t,i){for(let e of t)Array.isArray(e)?_x(e,i):e&&xx(e)?_x(e.\u0275providers,i):i(e)}function Yi(t,i){let e;t instanceof iu?(bf(t),e=t):e=new hx(t);let n,r=ws(e),o=Jr(void 0);try{return i()}finally{ws(r),Jr(o)}}function Bx(){return wN()!==void 0||Jb()!=null}var Ga=0,st=1,vt=2,qi=3,ma=4,to=5,ou=6,zm=7,Ti=8,Ml=9,Wa=10,Rn=11,Gm=12,Vx=13,au=14,no=15,Pc=16,su=17,Ss=18,Nl=19,jx=20,kl=21,fv=22,Nc=23,Uo=24,lu=25,Lc=26,Mn=27,NN=1,Hx=6,Bc=7,Mf=8,cu=9,Ci=10;function Ol(t){return Array.isArray(t)&&typeof t[NN]=="object"}function $a(t){return Array.isArray(t)&&t[NN]===!0}function Ux(t){return(t.flags&4)!==0}function Ts(t){return t.componentOffset>-1}function Wm(t){return(t.flags&1)===1}function qa(t){return!!t.template}function $m(t){return(t[vt]&512)!==0}function du(t){return(t[vt]&256)===256}var cn=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(cn||{}),tv,Cf="svg",zx="math";function ON(){return tv||(tv={},Rc(cn.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),Rc(cn.STYLE,void 0,[["*",["style"]]]),Rc(cn.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),Rc(cn.URL,zx,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),Rc(cn.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),Rc(cn.URL,Cf,[["a",["href","xlink:href"]]]),Rc(cn.ATTRIBUTE_NO_BINDING,Cf,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),Rc(cn.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),tv}function Rc(t,i,e){for(let[n,r]of e){let o=i&&n!=="unknown"?`:${i}:${n}`:n;o=o.toLowerCase();for(let a of r)tv[`${o}|${a.toLowerCase()}`]=t}}function FN(t,i,e){let n=ON(),r=t.toLowerCase(),o=i.toLowerCase(),a=e&&r!=="*"&&r!=="unknown"?n[`:${e}:${r}|${o}`]:void 0,s=e?n[`:${e}:*|${o}`]:void 0;return a??s??n[`${r}|${o}`]??n[`*|${o}`]??cn.NONE}function pa(t){for(;Array.isArray(t);)t=t[Ga];return t}function Gx(t,i){return pa(i[t])}function zo(t,i){return pa(i[t.index])}
vendor: 31,860 bytes, line 4
4function gv(t,i){return t.data[i]}function uu(t,i){return t[i]}function Nf(t,i,e,n){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),i[e]=n}function ha(t,i){let e=i[t];return Ol(e)?e:e[Ga]}function PN(t){return(t[vt]&4)===4}function _v(t){return(t[vt]&128)===128}function LN(t){return $a(t[qi])}function Go(t,i){return i==null?null:t[i]}function Wx(t){t[su]=0}function $x(t){t[vt]&1024||(t[vt]|=1024,_v(t)&&mu(t))}function BN(t,i){for(;t>0;)i=i[au],t--;return i}function Of(t){return!!(t[vt]&9216||t[Uo]?.dirty)}function bv(t){t[Wa].changeDetectionScheduler?.notify(8),t[vt]&64&&(t[vt]|=1024),Of(t)&&mu(t)}function mu(t){t[Wa].changeDetectionScheduler?.notify(0);let i=Oc(t);for(;i!==null&&!(i[vt]&8192||(i[vt]|=8192,!_v(i)));)i=Oc(i)}function qx(t,i){if(du(t))throw new ce(911,!1);t[kl]===null&&(t[kl]=[]),t[kl].push(i)}function VN(t,i){if(t[kl]===null)return;let e=t[kl].indexOf(i);e!==-1&&t[kl].splice(e,1)}function Oc(t){let i=t[qi];return $a(i)?i[qi]:i}function Yx(t){return t[zm]??=[]}function Kx(t){return t.cleanup??=[]}function jN(t,i,e,n){let r=Yx(i);r.push(e),t.firstCreatePass&&Kx(t).push(n,r.length-1)}var At={lFrame:XN(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var bx=!1;function HN(){return At.lFrame.elementDepthCount}function UN(){At.lFrame.elementDepthCount++}function Xx(){At.lFrame.elementDepthCount--}function vv(){return At.bindingsEnabled}function Zx(){return At.skipHydrationRootTNode!==null}function Qx(t){return At.skipHydrationRootTNode===t}function Jx(){At.skipHydrationRootTNode=null}function Oe(){return At.lFrame.lView}function Nn(){return At.lFrame.tView}function te(t){return At.lFrame.contextLView=t,t[Ti]}function ne(t){return At.lFrame.contextLView=null,t}function Ki(){let t=eS();for(;t!==null&&t.type===64;)t=t.parent;return t}function eS(){return At.lFrame.currentTNode}function zN(){let t=At.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function pu(t,i){let e=At.lFrame;e.currentTNode=t,e.isParent=i}function tS(){return At.lFrame.isParent}function nS(){At.lFrame.isParent=!1}function iS(){return At.lFrame.contextLView}function rS(){return bx}function Df(t){let i=bx;return bx=t,i}function Vc(){let t=At.lFrame,i=t.bindingRootIndex;return i===-1&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function yv(){return At.lFrame.bindingIndex}function GN(t){return At.lFrame.bindingIndex=t}function Is(){return At.lFrame.bindingIndex++}function qm(t){let i=At.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,e}function WN(){return At.lFrame.inI18n}function $N(t,i){let e=At.lFrame;e.bindingIndex=e.bindingRootIndex=t,Cv(i)}function qN(){return At.lFrame.currentDirectiveIndex}function Cv(t){At.lFrame.currentDirectiveIndex=t}function YN(t){let i=At.lFrame.currentDirectiveIndex;return i===-1?null:t[i]}function Dv(){return At.lFrame.currentQueryIndex}function Ff(t){At.lFrame.currentQueryIndex=t}function l8(t){let i=t[st];return i.type===2?i.declTNode:i.type===1?t[to]:null}function oS(t,i,e){if(e&4){let r=i,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=l8(o),r===null||(o=o[au],r.type&10))break;if(r===null)return!1;i=r,t=o}let n=At.lFrame=KN();return n.currentTNode=i,n.lView=t,!0}function Ev(t){let i=KN(),e=t[st];At.lFrame=i,i.currentTNode=e.firstChild,i.lView=t,i.tView=e,i.contextLView=t,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function KN(){let t=At.lFrame,i=t===null?null:t.child;return i===null?XN(t):i}function XN(t){let i={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:t,child:null,inI18n:!1};return t!==null&&(t.child=i),i}function ZN(){let t=At.lFrame;return At.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var aS=ZN;function wv(){let t=ZN();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function QN(t){return(At.lFrame.contextLView=BN(t,At.lFrame.contextLView))[Ti]}function Do(){return At.lFrame.selectedIndex}function jc(t){At.lFrame.selectedIndex=t}function hu(){let t=At.lFrame;return gv(t.tView,t.selectedIndex)}function Tn(){At.lFrame.currentNamespace=Cf}function Wo(){c8()}function c8(){At.lFrame.currentNamespace=null}function sS(){return At.lFrame.currentNamespace}var JN=!0;function xv(){return JN}function Pf(t){JN=t}function vx(t,i=null,e=null,n){let r=lS(t,i,e,n);return r.resolveInjectorInitializers(),r}function lS(t,i=null,e=null,n,r=new Set){let o=[e||Pr,AN(t)],a;return new iu(o,i||Um(),a||null,r)}var ie=class t{static THROW_IF_NOT_FOUND=eu;static NULL=new yf;static create(i,e){if(Array.isArray(i))return vx({name:""},e,i,"");{let n=i.name??"";return vx({name:n},i.parent,i.providers,n)}}static \u0275prov=D({token:t,providedIn:"any",factory:()=>F(Nx)});static __NG_ELEMENT_ID__=-1},Ce=new R(""),dn=(()=>{class t{static __NG_ELEMENT_ID__=d8;static __NG_ENV_ID__=e=>e}return t})(),rv=class extends dn{_lView;constructor(i){super(),this._lView=i}get destroyed(){return du(this._lView)}onDestroy(i){let e=this._lView;return qx(e,i),()=>VN(e,i)}};function d8(){return new rv(Oe())}var cS=!1,eO=new R(""),As=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new zt(!1);debugTaskTracker=m(eO,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Ne(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=D({token:t,providedIn:"root",factory:()=>new t})}return t})(),yx=class extends O{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(i=!1){super(),this.__isAsync=i,Bx()&&(this.destroyRef=m(dn,{optional:!0})??void 0,this.pendingTasks=m(As,{optional:!0})??void 0)}emit(i){let e=nt(null);try{super.next(i)}finally{nt(e)}}subscribe(i,e,n){let r=i,o=e||(()=>null),a=n;if(i&&typeof i=="object"){let d=i;r=d.next?.bind(d),o=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:r,error:o,complete:a});return i instanceof _e&&i.add(s),s}wrapInTimeout(i){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{try{i(e)}finally{n!==void 0&&this.pendingTasks?.remove(n)}})}}},V=yx;function ov(...t){}function dS(t){let i,e;function n(){t=ov;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),i!==void 0&&clearTimeout(i)}catch(r){}}return i=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),n()})),()=>n()}function tO(t){return queueMicrotask(()=>t()),()=>{t=ov}}var uS="isAngularZone",Ef=uS+"_ID",u8=0,le=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new V(!1);onMicrotaskEmpty=new V(!1);onStable=new V(!1);onError=new V(!1);constructor(i){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=cS}=i;if(typeof Zone>"u")throw new ce(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&n,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,h8(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(uS)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new ce(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new ce(909,!1)}run(i,e,n){return this._inner.run(i,e,n)}runTask(i,e,n,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,i,m8,ov,ov);try{return o.runTask(a,e,n)}finally{o.cancelTask(a)}}runGuarded(i,e,n){return this._inner.runGuarded(i,e,n)}runOutsideAngular(i){return this._outer.run(i)}},m8={};function mS(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function p8(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function i(){dS(()=>{t.callbackScheduled=!1,Cx(t),t.isCheckStableRunning=!0,mS(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{i()}):t._outer.run(()=>{i()}),Cx(t)}function h8(t){let i=()=>{p8(t)},e=u8++;t._inner=t._inner.fork({name:"angular",properties:{[uS]:!0,[Ef]:e,[Ef+e]:!0},onInvokeTask:(n,r,o,a,s,d)=>{if(f8(d))return n.invokeTask(o,a,s,d);try{return vN(t),n.invokeTask(o,a,s,d)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&i(),yN(t)}},onInvoke:(n,r,o,a,s,d,p)=>{try{return vN(t),n.invoke(o,a,s,d,p)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!g8(d)&&i(),yN(t)}},onHasTask:(n,r,o,a)=>{n.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,Cx(t),mS(t)):a.change=="macroTask"&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,o,a)=>(n.handleError(o,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}function Cx(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function vN(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function yN(t){t._nesting--,mS(t)}var wf=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new V;onMicrotaskEmpty=new V;onStable=new V;onError=new V;run(i,e,n){return i.apply(e,n)}runGuarded(i,e,n){return i.apply(e,n)}runOutsideAngular(i){return i()}runTask(i,e,n,r){return i.apply(e,n)}};function f8(t){return nO(t,"__ignore_ng_zone__")}function g8(t){return nO(t,"__scheduler_tick__")}function nO(t,i){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[i]===!0}var Lr=class{_console=console;handleError(i){this._console.error("ERROR",i)}},Eo=new R("",{factory:()=>{let t=m(le),i=m(_n),e;return n=>{t.runOutsideAngular(()=>{i.destroyed&&!e?setTimeout(()=>{throw n}):(e??=i.get(Lr),e.handleError(n))})}}}),iO={provide:Rl,useValue:()=>{let t=m(Lr,{optional:!0})},multi:!0};function Z(t,i){let[e,n,r]=Hw(t,i?.equal),o=e,a=o[yi];return o.set=n,o.update=r,o.asReadonly=Lf.bind(o),o}function Lf(){let t=this[yi];if(t.readonlyFn===void 0){let i=()=>this();i[yi]=t,t.readonlyFn=i}return t.readonlyFn}var Ym=(()=>{class t{view;node;constructor(e,n){this.view=e,this.node=n}static __NG_ELEMENT_ID__=_8}return t})();function _8(){return new Ym(Oe(),Ki())}var Ua=class{},Km=new R("",{factory:()=>!0});var Sv=new R(""),fu=(()=>{class t{internalPendingTasks=m(As);scheduler=m(Ua);errorHandler=m(Eo);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let n=this.add();e().catch(this.errorHandler).finally(n)}static \u0275prov=D({token:t,providedIn:"root",factory:()=>new t})}return t})(),Tv=(()=>{class t{static \u0275prov=D({token:t,providedIn:"root",factory:()=>new Dx})}return t})(),Dx=class{dirtyEffectCount=0;queues=new Map;add(i){this.enqueue(i),this.schedule(i)}schedule(i){i.dirty&&this.dirtyEffectCount++}remove(i){let e=i.zone,n=this.queues.get(e);n.has(i)&&(n.delete(i),i.dirty&&this.dirtyEffectCount--)}enqueue(i){let e=i.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(i)||n.add(i)}flush(){for(;this.dirtyEffectCount>0;){let i=!1;for(let[e,n]of this.queues)e===null?i||=this.flushQueue(n):i||=e.run(()=>this.flushQueue(n));i||(this.dirtyEffectCount=0)}}flushQueue(i){let e=!1;for(let n of i)n.dirty&&(this.dirtyEffectCount--,e=!0,n.run());return e}},av=class{[yi];constructor(i){this[yi]=i}destroy(){this[yi].destroy()}};function io(t,i){let e=i?.injector??m(ie),n=i?.manualCleanup!==!0?e.get(dn):null,r,o=e.get(Ym,null,{optional:!0}),a=e.get(Ua);return o!==null?(r=y8(o.view,a,t),n instanceof rv&&n._lView===o.view&&(n=null)):r=C8(t,e.get(Tv),a),r.injector=e,n!==null&&(r.onDestroyFns=[n.onDestroy(()=>r.destroy())]),new av(r)}var rO=Ae(L({},Uw),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=Df(!1);try{zw(this)}finally{Df(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=nt(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],nt(t)}}}),b8=Ae(L({},rO),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Sc(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),v8=Ae(L({},rO),{consumerMarkedDirty(){this.view[vt]|=8192,mu(this.view),this.notifier.notify(13)},destroy(){if(Sc(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[Nc]?.delete(this)}});function y8(t,i,e){let n=Object.create(v8);return n.view=t,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=i,n.fn=oO(n,e),t[Nc]??=new Set,t[Nc].add(n),n.consumerMarkedDirty(n),n}function C8(t,i,e){let n=Object.create(b8);return n.fn=oO(n,t),n.scheduler=i,n.notifier=e,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.add(n),n.notifier.notify(12),n}function oO(t,i){return()=>{i(e=>(t.cleanupFns??=[]).push(e))}}function Xf(t){return{toString:t}.toString()}function GO(t){let i=Fi.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function I8(t){return typeof t=="function"}function WO(t,i,e,n){i!==null?i.applyValueToInputSignal(i,n):t[e]=n}var Bv=class{previousValue;currentValue;firstChange;constructor(i,e,n){this.previousValue=i,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}},Ke=(()=>{let t=()=>$O;return t.ngInherit=!0,t})();function $O(t){return t.type.prototype.ngOnChanges&&(t.setInput=k8),A8}function A8(){let t=YO(this),i=t?.current;if(i){let e=t.previous;if(e===za)t.previous=i;else for(let n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function k8(t,i,e,n,r){let o=this.declaredInputs[n],a=YO(t)||R8(t,{previous:za,current:null}),s=a.current||(a.current={}),d=a.previous,p=d[o];s[o]=new Bv(p&&p.currentValue,e,d===za),WO(t,i,r,e)}var qO="__ngSimpleChanges__";function YO(t){return t[qO]||null}function R8(t,i){return t[qO]=i}var aO=[];var jn=function(t,i=null,e){for(let n=0;n<aO.length;n++){let r=aO[n];r(t,i,e)}},vn=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(vn||{});function M8(t,i,e){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=i.type.prototype;if(n){let a=$O(i);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function KO(t,i){for(let e=i.directiveStart,n=i.directiveEnd;e<n;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:d,ngAfterViewChecked:p,ngOnDestroy:f}=o;a&&(t.contentHooks??=[]).push(-e,a),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),d&&(t.viewHooks??=[]).push(-e,d),p&&((t.viewHooks??=[]).push(e,p),(t.viewCheckHooks??=[]).push(e,p)),f!=null&&(t.destroyHooks??=[]).push(e,f)}}function Nv(t,i,e){XO(t,i,3,e)}function Ov(t,i,e,n){(t[vt]&3)===e&&XO(t,i,e,n)}function pS(t,i){let e=t[vt];(e&3)===i&&(e&=16383,e+=1,t[vt]=e)}function XO(t,i,e,n){let r=n!==void 0?t[su]&65535:0,o=n??-1,a=i.length-1,s=0;for(let d=r;d<a;d++)if(typeof i[d+1]=="number"){if(s=i[d],n!=null&&s>=n)break}else i[d]<0&&(t[su]+=65536),(s<o||o==-1)&&(N8(t,e,i,d),t[su]=(t[su]&4294901760)+d+2),d++}function sO(t,i){jn(vn.LifecycleHookStart,t,i);let e=nt(null);try{i.call(t)}finally{nt(e),jn(vn.LifecycleHookEnd,t,i)}}function N8(t,i,e,n){let r=e[n]<0,o=e[n+1],a=r?-e[n]:e[n],s=t[a];r?t[vt]>>14<t[su]>>16&&(t[vt]&3)===i&&(t[vt]+=16384,sO(s,o)):sO(s,o)}var Zm=-1,_u=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(i,e,n,r){this.factory=i,this.name=r,this.canSeeViewProviders=e,this.injectImpl=n}};function O8(t){return(t.flags&8)!==0}function F8(t){return(t.flags&16)!==0}function P8(t,i,e){let n=0;for(;n<e.length;){let r=e[n];if(typeof r=="number"){if(r!==0)break;n++;let o=e[n++],a=e[n++],s=e[n++];t.setAttribute(i,a,s,o)}else{let o=r,a=e[++n];L8(o)?t.setProperty(i,o,a):t.setAttribute(i,o,a),n++}}return n}function ZO(t){return t===3||t===4||t===6}function L8(t){return t.charCodeAt(0)===64}function Qm(t,i){if(!(i===null||i.length===0))if(t===null||t.length===0)t=i.slice();else{let e=-1;for(let n=0;n<i.length;n++){let r=i[n];typeof r=="number"?e=r:e===0||(e===-1||e===2?lO(t,e,r,null,i[++n]):lO(t,e,r,null,null))}}return t}function lO(t,i,e,n,r){let o=0,a=t.length;if(i===-1)a=-1;else for(;o<t.length;){let s=t[o++];if(typeof s=="number"){if(s===i){a=-1;break}else if(s>i){a=o-1;break}}}for(;o<t.length;){let s=t[o];if(typeof s=="number")break;if(s===e){r!==null&&(t[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(t.splice(a,0,i),o=a+1),t.splice(o++,0,e),r!==null&&t.splice(o++,0,r)}function QO(t){return t!==Zm}function Vv(t){return t&32767}function B8(t){return t>>16}function jv(t,i){let e=B8(t),n=i;for(;e>0;)n=n[au],e--;return n}var wS=!0;function Hv(t){let i=wS;return wS=t,i}var V8=256,JO=V8-1,eF=5,j8=0,ks={};function H8(t,i,e){let n;typeof e=="string"?n=e.charCodeAt(0)||0:e.hasOwnProperty(ru)&&(n=e[ru]),n==null&&(n=e[ru]=j8++);let r=n&JO,o=1<<r;i.data[t+(r>>eF)]|=o}function Uv(t,i){let e=tF(t,i);if(e!==-1)return e;let n=i[st];n.firstCreatePass&&(t.injectorIndex=i.length,hS(n.data,t),hS(i,null),hS(n.blueprint,null));let r=cT(t,i),o=t.injectorIndex;if(QO(r)){let a=Vv(r),s=jv(r,i),d=s[st].data;for(let p=0;p<8;p++)i[o+p]=s[a+p]|d[a+p]}return i[o+8]=r,o}function hS(t,i){t.push(0,0,0,0,0,0,0,0,i)}function tF(t,i){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||i[t.injectorIndex+8]===null?-1:t.injectorIndex}function cT(t,i){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,n=null,r=i;for(;r!==null;){if(n=aF(r),n===null)return Zm;if(e++,r=r[au],n.injectorIndex!==-1)return n.injectorIndex|e<<16}return Zm}function xS(t,i,e){H8(t,i,e)}function U8(t,i){if(i==="class")return t.classes;if(i==="style")return t.styles;let e=t.attrs;if(e){let n=e.length,r=0;for(;r<n;){let o=e[r];if(ZO(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<n&&typeof e[r]=="string";)r++;else{if(o===i)return e[r+1];r=r+2}}}return null}function nF(t,i,e){if(e&8||t!==void 0)return t;mv(i,"NodeInjector")}function iF(t,i,e,n){if(e&8&&n===void 0&&(n=null),(e&3)===0){let r=t[Ml],o=Jr(void 0);try{return r?r.get(i,n,e&8):Rx(i,n,e&8)}finally{Jr(o)}}return nF(n,i,e)}function rF(t,i,e,n=0,r){if(t!==null){if(i[vt]&2048&&!(n&2)){let a=$8(t,i,e,n,ks);if(a!==ks)return a}let o=oF(t,i,e,n,ks);if(o!==ks)return o}return iF(i,e,n,r)}function oF(t,i,e,n,r){let o=G8(e);if(typeof o=="function"){if(!oS(i,t,n))return n&1?nF(r,e,n):iF(i,e,n,r);try{let a;if(a=o(n),a==null&&!(n&8))mv(e);else return a}finally{aS()}}else if(typeof o=="number"){let a=null,s=tF(t,i),d=Zm,p=n&1?i[no][to]:null;for((s===-1||n&4)&&(d=s===-1?cT(t,i):i[s+8],d===Zm||!dO(n,!1)?s=-1:(a=i[st],s=Vv(d),i=jv(d,i)));s!==-1;){let f=i[st];if(cO(o,s,f.data)){let b=z8(s,i,e,a,n,p);if(b!==ks)return b}d=i[s+8],d!==Zm&&dO(n,i[st].data[s+8]===p)&&cO(o,s,i)?(a=f,s=Vv(d),i=jv(d,i)):s=-1}}return r}function z8(t,i,e,n,r,o){let a=i[st],s=a.data[t+8],d=n==null?Ts(s)&&wS:n!=a&&(s.type&3)!==0,p=r&1&&o===s,f=Fv(s,a,e,d,p);return f!==null?Uf(i,a,f,s,r):ks}function Fv(t,i,e,n,r){let o=t.providerIndexes,a=i.data,s=o&1048575,d=t.directiveStart,p=t.directiveEnd,f=o>>20,b=n?s:s+f,w=r?s+f:p;for(let A=b;A<w;A++){let M=a[A];if(A<d&&e===M||A>=d&&M.type===e)return A}if(r){let A=a[d];if(A&&qa(A)&&A.type===e)return d}return null}function Uf(t,i,e,n,r){let o=t[e],a=i.data;if(o instanceof _u){let s=o;if(s.resolving)throw kx("");let d=Hv(s.canSeeViewProviders);s.resolving=!0;let p=a[e].type||a[e],f,b=s.injectImpl?Jr(s.injectImpl):null,w=oS(t,n,0);try{o=t[e]=s.factory(void 0,r,a,t,n),i.firstCreatePass&&e>=n.directiveStart&&M8(e,a[e],i)}finally{b!==null&&Jr(b),Hv(d),s.resolving=!1,aS()}}return o}function G8(t){if(typeof t=="string")return t.charCodeAt(0)||0;let i=t.hasOwnProperty(ru)?t[ru]:void 0;return typeof i=="number"?i>=0?i&JO:W8:i}function cO(t,i,e){let n=1<<t;return!!(e[i+(t>>eF)]&n)}function dO(t,i){return!(t&2)&&!(t&1&&i)}var gu=class{_tNode;_lView;constructor(i,e){this._tNode=i,this._lView=e}get(i,e,n){return rF(this._tNode,this._lView,i,tu(n),e)}};function W8(){return new gu(Ki(),Oe())}function yt(t){return Xf(()=>{let i=t.prototype.constructor,e=i[vf]||SS(i),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let o=r[vf]||SS(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function SS(t){return Ex(t)?()=>{let i=SS($i(t));return i&&i()}:Mc(t)}function $8(t,i,e,n,r){let o=t,a=i;for(;o!==null&&a!==null&&a[vt]&2048&&!$m(a);){let s=oF(o,a,e,n|2,ks);if(s!==ks)return s;let d=o.parent;if(!d){let p=a[jx];if(p){let f=p.get(e,ks,n&-5);if(f!==ks)return f}d=aF(a),a=a[au]}o=d}return r}function aF(t){let i=t[st],e=i.type;return e===2?i.declTNode:e===1?t[to]:null}function Zf(t){return U8(Ki(),t)}function q8(){return rp(Ki(),Oe())}function rp(t,i){return new Q(zo(t,i))}var Q=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=q8}return t})();function sF(t){return t instanceof Q?t.nativeElement:t}function Y8(){return this._results[Symbol.iterator]()}var ro=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new O}constructor(i=!1){this._emitDistinctChangesOnly=i}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,e){return this._results.reduce(i,e)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,e){this.dirty=!1;let n=SN(i);(this._changesDetected=!xN(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.next(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Y8};function lF(t){return(t.flags&128)===128}var dT=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(dT||{}),cF=new Map,K8=0;function X8(){return K8++}function Z8(t){cF.set(t[Nl],t)}function TS(t){cF.delete(t[Nl])}var uO="__ngContext__";function Jm(t,i){Ol(i)?(t[uO]=i[Nl],Z8(i)):t[uO]=i}function dF(t){return mF(t[Gm])}function uF(t){return mF(t[ma])}function mF(t){for(;t!==null&&!$a(t);)t=t[ma];return t}var IS;function uT(t){IS=t}function pF(){if(IS!==void 0)return IS;if(typeof document<"u")return document;throw new ce(210,!1)}var zc=new R("",{factory:()=>Q8}),Q8="ng";var t0=new R(""),Pl=new R("",{providedIn:"platform",factory:()=>"unknown"}),Qf=new R(""),yu=new R("",{factory:()=>m(Ce).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),n0={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},i0=new R("",{factory:()=>n0});var hF="r";var fF="di";var mT=new R(""),gF=!1,_F=new R("",{factory:()=>gF});var r0=new R("");var mO=new WeakMap;function J8(t,i){if(t==null||typeof t!="object")return;let e=mO.get(t);e||(e=new WeakSet,mO.set(t,e)),e.add(i)}var e$=(t,i,e,n)=>{};function t$(t,i,e,n){e$(t,i,e,n)}function o0(t){return(t.flags&32)===32}var n$=()=>null;function bF(t,i,e=!1){return n$(t,i,e)}function vF(t,i){let e=t.contentQueries;if(e!==null){let n=nt(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],a=e[r+1];if(a!==-1){let s=t.data[a];Ff(o),s.contentQueries(2,i[a],a)}}}finally{nt(n)}}}function AS(t,i,e){Ff(0);let n=nt(null);try{i(t,e)}finally{nt(n)}}function pT(t,i,e){if(Ux(i)){let n=nt(null);try{let r=i.directiveStart,o=i.directiveEnd;for(let a=r;a<o;a++){let s=t.data[a];if(s.contentQueries){let d=e[a];s.contentQueries(1,d,a)}}}finally{nt(n)}}}var Ka=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(Ka||{});var i$="svg",r$="math",o$={"http://www.w3.org/2000/svg":i$,"http://www.w3.org/1998/Math/MathML":r$},Iv;function a$(){if(Iv===void 0&&(Iv=null,Fi.trustedTypes))try{Iv=Fi.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Iv}function a0(t){return a$()?.createHTML(t)||t}var Av;function yF(){if(Av===void 0&&(Av=null,Fi.trustedTypes))try{Av=Fi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Av}function pO(t){return yF()?.createHTML(t)||t}function hO(t){return yF()?.createScriptURL(t)||t}var Fl=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${sv})`}},kS=class extends Fl{getTypeName(){return"HTML"}},RS=class extends Fl{getTypeName(){return"Style"}},MS=class extends Fl{getTypeName(){return"Script"}},NS=class extends Fl{getTypeName(){return"URL"}},OS=class extends Fl{getTypeName(){return"ResourceURL"}};function ao(t){return t instanceof Fl?t.changingThisBreaksApplicationSecurity:t}function Ns(t,i){let e=CF(t);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${sv})`)}return e===i}function CF(t){return t instanceof Fl&&t.getTypeName()||null}function hT(t){return new kS(t)}function fT(t){return new RS(t)}function gT(t){return new MS(t)}function _T(t){return new NS(t)}function bT(t){return new OS(t)}function s$(t){let i=new PS(t);return l$()?new FS(i):i}var FS=class{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i="<body><remove></remove>"+i;try{let e=new window.DOMParser().parseFromString(a0(i),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(i):(e.firstChild?.remove(),e)}catch(e){return null}}},PS=class{defaultDoc;inertDocument;constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){let e=this.inertDocument.createElement("template");return e.innerHTML=a0(i),e}};function l$(){try{return!!new window.DOMParser().parseFromString(a0(""),"text/html")}catch(t){return!1}}var c$=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jf(t){return t=String(t),t.match(c$)?t:"unsafe:"+t}function Ll(t){let i={};for(let e of t.split(","))i[e]=!0;return i}function eg(...t){let i={};for(let e of t)for(let n in e)e.hasOwnProperty(n)&&(i[n]=!0);return i}var DF=Ll("area,br,col,hr,img,wbr"),EF=Ll("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wF=Ll("rp,rt"),d$=eg(wF,EF),u$=eg(EF,Ll("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")),m$=eg(wF,Ll("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")),fO=eg(DF,u$,m$,d$),xF=Ll("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),p$=Ll("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"),h$=Ll("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"),f$=eg(xF,p$,h$),g$=Ll("script,style,template"),LS=class{sanitizedSomething=!1;buf=[];sanitizeChildren(i){let e=i.firstChild,n=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild){r.push(e),e=v$(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=b$(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(i){let e=gO(i).toLowerCase();if(!fO.hasOwnProperty(e))return this.sanitizedSomething=!0,!g$.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=i.attributes;for(let r=0;r<n.length;r++){let o=n.item(r),a=o.name,s=a.toLowerCase();if(!f$.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let d=o.value;xF[s]&&(d=Jf(d)),this.buf.push(" ",a,'="',_O(d),'"')}return this.buf.push(">"),!0}endElement(i){let e=gO(i).toLowerCase();fO.hasOwnProperty(e)&&!DF.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(i){this.buf.push(_O(i))}};
4function _$(t,i){return(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function b$(t){let i=t.nextSibling;if(i&&t!==i.previousSibling)throw SF(i);return i}function v$(t){let i=t.firstChild;if(i&&_$(t,i))throw SF(i);return i}function gO(t){let i=t.nodeName;return typeof i=="string"?i:"FORM"}function SF(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var y$=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,C$=/([^\#-~ |!])/g;function _O(t){return t.replace(/&/g,"&amp;").replace(y$,function(i){let e=i.charCodeAt(0),n=i.charCodeAt(1);return"&#"+((e-55296)*1024+(n-56320)+65536)+";"}).replace(C$,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var kv;function s0(t,i){let e=null;try{kv=kv||s$(t);let n=i?String(i):"";e=kv.getInertBodyElement(n);let r=5,o=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=e.innerHTML,e=kv.getInertBodyElement(n)}while(n!==o);let s=new LS().sanitizeChildren(bO(e)||e);return a0(s)}finally{if(e){let n=bO(e)||e;for(;n.firstChild;)n.firstChild.remove()}}}function bO(t){return"content"in t&&D$(t)?t.content:null}function D$(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var E$=/^>|^->|<!--|-->|--!>|<!-$/g,w$=/(<|>)/g,x$="\u200B$1\u200B";function S$(t){return t.replace(E$,i=>i.replace(w$,x$))}function T$(t,i){return t.createText(i)}function I$(t,i,e){t.setValue(i,e)}function A$(t,i){return t.createComment(S$(i))}function TF(t,i,e){return t.createElement(i,e)}function zv(t,i,e,n,r){t.insertBefore(i,e,n,r)}function IF(t,i,e){t.appendChild(i,e)}function vO(t,i,e,n,r){n!==null?zv(t,i,e,n,r):IF(t,i,e)}function AF(t,i,e,n){t.removeChild(null,i,e,n)}function k$(t,i,e){t.setAttribute(i,"style",e)}function R$(t,i,e){e===""?t.removeAttribute(i,"class"):t.setAttribute(i,"class",e)}function kF(t,i,e){let{mergedAttrs:n,classes:r,styles:o}=e;n!==null&&P8(t,i,n),r!==null&&R$(t,i,r),o!==null&&k$(t,i,o)}function M$(t,i=!0){if(t[0]!=":")return[null,t];let e=t.indexOf(":",1);if(e===-1){if(i)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,e),t.slice(e+1)]}function Cu(t,i,e){if(i!==void 0&&e!==void 0&&NF(i,e)!==cn.HTML)return t;let n=yT();return n?pO(n.sanitize(cn.HTML,t)||""):Ns(t,"HTML")?pO(ao(t)):s0(pF(),eo(t))}function RF(t){let i=yT();return i?i.sanitize(cn.URL,t)||"":Ns(t,"URL")?ao(t):Jf(eo(t))}function MF(t){let i=yT();if(i)return hO(i.sanitize(cn.RESOURCE_URL,t)||"");if(Ns(t,"ResourceURL"))return hO(ao(t));throw new ce(904,!1)}function N$(t,i){switch(NF(t,i)){case cn.RESOURCE_URL:return MF;case cn.URL:return RF;default:return null}}function vT(t,i,e){return N$(i,e)?.(t)??t}function yT(){let t=Oe();return t&&t[Wa].sanitizer}function NF(t,i){let[e,n]=O$(t);return FN(n,i,e)}function O$(t){t=t.toLowerCase();let i=M$(t,!1);if(i[0])return i;let n=Do()===-1?null:hu(),r=n?.namespace;if(t==="#host"&&n?.type===2){let o=zo(n,Oe());if(o.tagName&&(t=o.tagName.toLowerCase()),r==null){let a=o.namespaceURI;r=a&&o$[a]}}return[r,t]}function F$(t){return t.ownerDocument.defaultView}function $o(t){return t.ownerDocument}function OF(t){return t instanceof Function?t():t}function P$(t,i,e){let n=t.length;for(;;){let r=t.indexOf(i,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=i.length;if(r+o===n||t.charCodeAt(r+o)<=32)return r}e=r+1}}var FF="ng-template";function L$(t,i,e,n){let r=0;if(n){for(;r<i.length&&typeof i[r]=="string";r+=2)if(i[r]==="class"&&P$(i[r+1].toLowerCase(),e,0)!==-1)return!0}else if(CT(t))return!1;if(r=i.indexOf(1,r),r>-1){let o;for(;++r<i.length&&typeof(o=i[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function CT(t){return t.type===4&&t.value!==FF}function B$(t,i,e){let n=t.type===4&&!e?FF:t.value;return i===n}function V$(t,i,e){let n=4,r=t.attrs,o=r!==null?U$(r):0,a=!1;for(let s=0;s<i.length;s++){let d=i[s];if(typeof d=="number"){if(!a&&!Ya(n)&&!Ya(d))return!1;if(a&&Ya(d))continue;a=!1,n=d|n&1;continue}if(!a)if(n&4){if(n=2|n&1,d!==""&&!B$(t,d,e)||d===""&&i.length===1){if(Ya(n))return!1;a=!0}}else if(n&8){if(r===null||!L$(t,r,d,e)){if(Ya(n))return!1;a=!0}}else{let p=i[++s],f=j$(d,r,CT(t),e);if(f===-1){if(Ya(n))return!1;a=!0;continue}if(p!==""){let b;if(f>o?b="":b=r[f+1].toLowerCase(),n&2&&p!==b){if(Ya(n))return!1;a=!0}}}}return Ya(n)||a}function Ya(t){return(t&1)===0}function j$(t,i,e,n){if(i===null)return-1;let r=0;if(n||!e){let o=!1;for(;r<i.length;){let a=i[r];if(a===t)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let s=i[++r];for(;typeof s=="string";)s=i[++r];continue}else{if(a===4)break;
vendor: 42,167 bytes, line 4
4if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return z$(i,t)}function PF(t,i,e=!1){for(let n=0;n<i.length;n++)if(V$(t,i[n],e))return!0;return!1}function H$(t){let i=t.attrs;if(i!=null){let e=i.indexOf(5);if((e&1)===0)return i[e+1]}return null}function U$(t){for(let i=0;i<t.length;i++){let e=t[i];if(ZO(e))return i}return t.length}function z$(t,i){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let n=t[e];if(typeof n=="number")return-1;if(n===i)return e;e++}return-1}function G$(t,i){e:for(let e=0;e<i.length;e++){let n=i[e];if(t.length===n.length){for(let r=0;r<t.length;r++)if(t[r]!==n[r])continue e;return!0}}return!1}function yO(t,i){return t?":not("+i.trim()+")":i}function W$(t){let i=t[0],e=1,n=2,r="",o=!1;for(;e<t.length;){let a=t[e];if(typeof a=="string")if(n&2){let s=t[++e];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else n&8?r+="."+a:n&4&&(r+=" "+a);else r!==""&&!Ya(a)&&(i+=yO(o,r),r=""),n=a,o=o||!Ya(n);e++}return r!==""&&(i+=yO(o,r)),i}function $$(t){return t.map(W$).join(",")}function q$(t){let i=[],e=[],n=1,r=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")r===2?o!==""&&i.push(o,t[++n]):r===8&&e.push(o);else{if(!Ya(r))break;r=o}n++}return e.length&&i.push(1,...e),i}var Zi={};function DT(t,i,e,n,r,o,a,s,d,p,f){let b=Mn+n,w=b+r,A=Y$(b,w),M=typeof p=="function"?p():p;return A[st]={type:t,blueprint:A,template:e,queries:null,viewQuery:s,declTNode:i,data:A.slice().fill(null,b),bindingStartIndex:b,expandoStartIndex:w,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:d,consts:M,incompleteFirstPass:!1,ssrId:f}}function Y$(t,i){let e=[];for(let n=0;n<i;n++)e.push(n<t?null:Zi);return e}function K$(t){let i=t.tView;return i===null||i.incompleteFirstPass?t.tView=DT(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):i}function ET(t,i,e,n,r,o,a,s,d,p,f){let b=i.blueprint.slice();return b[Ga]=r,b[vt]=n|4|128|8|64|1024,(p!==null||t&&t[vt]&2048)&&(b[vt]|=2048),Wx(b),b[qi]=b[au]=t,b[Ti]=e,b[Wa]=a||t&&t[Wa],b[Rn]=s||t&&t[Rn],b[Ml]=d||t&&t[Ml]||null,b[to]=o,b[Nl]=X8(),b[ou]=f,b[jx]=p,b[no]=i.type==2?t[no]:b,b}function X$(t,i,e){let n=zo(i,t),r=K$(e),o=t[Wa].rendererFactory,a=wT(t,ET(t,r,null,LF(e),n,i,null,o.createRenderer(n,e),null,null,null));return t[i.index]=a}function LF(t){let i=16;return t.signals?i=4096:t.onPush&&(i=64),i}function BF(t,i,e,n){if(e===0)return-1;let r=i.length;for(let o=0;o<e;o++)i.push(n),t.blueprint.push(n),t.data.push(null);return r}function wT(t,i){return t[Gm]?t[Vx][ma]=i:t[Gm]=i,t[Vx]=i,i}function l(t=1){VF(Nn(),Oe(),Do()+t,!1)}function VF(t,i,e,n){if(!n)if((i[vt]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Nv(i,o,e)}else{let o=t.preOrderHooks;o!==null&&Ov(i,o,0,e)}jc(e)}var l0=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(l0||{});function BS(t,i,e,n){let r=nt(null);try{let[o,a,s]=t.inputs[e],d=null;(a&l0.SignalBased)!==0&&(d=i[o][yi]),d!==null&&d.transformFn!==void 0?n=d.transformFn(n):s!==null&&(n=s.call(i,n)),t.setInput!==null?t.setInput(i,d,n,e,o):WO(i,d,o,n)}finally{nt(r)}}var Rs=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Rs||{}),Z$;function xT(t,i){return Z$(t,i)}var Nke=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var VS=new WeakMap,Vf=new WeakSet;function Q$(t,i){let e=VS.get(t);if(!e||e.length===0)return;let n=i.parentNode,r=i.previousSibling;for(let o=e.length-1;o>=0;o--){let a=e[o],s=a.parentNode;a===i?(e.splice(o,1),Vf.add(a),a.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(r&&a===r||s&&n&&s!==n)&&(e.splice(o,1),a.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),a.parentNode?.removeChild(a))}}function J$(t,i){let e=VS.get(t);e?e.includes(i)||e.push(i):VS.set(t,[i])}var bu=new Set,c0=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(c0||{}),Xa=new R(""),CO=new Set;function qo(t){CO.has(t)||(CO.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var d0=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=D({token:t,providedIn:"root",factory:()=>new t})}return t})(),ST=[0,1,2,3],TT=(()=>{class t{ngZone=m(le);scheduler=m(Ua);errorHandler=m(Lr,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){m(Xa,{optional:!0})}execute(){let e=this.sequences.size>0;e&&jn(vn.AfterRenderHooksStart),this.executing=!0;for(let n of ST)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[n];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&jn(vn.AfterRenderHooksEnd)}register(e){let{view:n}=e;n!==void 0?((n[lu]??=[]).push(e),mu(n),n[vt]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,n){return n?n.run(c0.AFTER_NEXT_RENDER,e):e()}static \u0275prov=D({token:t,providedIn:"root",factory:()=>new t})}return t})(),zf=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(i,e,n,r,o,a=null){this.impl=i,this.hooks=e,this.view=n,this.once=r,this.snapshot=a,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let i=this.view?.[lu];i&&(this.view[lu]=i.filter(e=>e!==this))}};function Dt(t,i){let e=i?.injector??m(ie);return qo("NgAfterNextRender"),t6(t,e,i,!0)}function e6(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function t6(t,i,e,n){let r=i.get(d0);r.impl??=i.get(TT);let o=i.get(Xa,null,{optional:!0}),a=e?.manualCleanup!==!0?i.get(dn):null,s=i.get(Ym,null,{optional:!0}),d=new zf(r.impl,e6(t),s?.view,n,a,o?.snapshot(null));return r.impl.register(d),d}var jF=new R("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:m(_n)})});function HF(t,i,e){let n=t.get(jF);if(Array.isArray(i))for(let r of i)n.queue.add(r),e?.detachedLeaveAnimationFns?.push(r);else n.queue.add(i),e?.detachedLeaveAnimationFns?.push(i);n.scheduler&&n.scheduler(t)}function n6(t,i){let e=t.get(jF);if(i.detachedLeaveAnimationFns){for(let n of i.detachedLeaveAnimationFns)e.queue.delete(n);i.detachedLeaveAnimationFns=void 0}}function i6(t,i){for(let[e,n]of i)HF(t,n.animateFns)}function DO(t,i,e,n){let r=t?.[Lc]?.enter;i!==null&&r&&r.has(e.index)&&i6(n,r)}function Xm(t,i,e,n,r,o,a,s){if(r!=null){let d,p=!1;$a(r)?d=r:Ol(r)&&(p=!0,r=r[Ga]);let f=pa(r);t===0&&n!==null?(DO(s,n,o,e),a==null?IF(i,n,f):zv(i,n,f,a||null,!0)):t===1&&n!==null?(DO(s,n,o,e),zv(i,n,f,a||null,!0),Q$(o,f)):t===2?(s?.[Lc]?.leave?.has(o.index)&&J$(o,f),Vf.delete(f),EO(s,o,e,b=>{if(Vf.has(f)){Vf.delete(f);return}AF(i,f,p,b)})):t===3&&(Vf.delete(f),EO(s,o,e,()=>{i.destroyNode(f)})),d!=null&&h6(i,t,e,d,o,n,a)}}function r6(t,i){UF(t,i),i[Ga]=null,i[to]=null}function o6(t,i,e,n,r,o){n[Ga]=r,n[to]=i,m0(t,n,e,1,r,o)}function UF(t,i){i[Wa].changeDetectionScheduler?.notify(9),m0(t,i,i[Rn],2,null,null)}function a6(t){let i=t[Gm];if(!i)return fS(t[st],t);for(;i;){let e=null;if(Ol(i))e=i[Gm];else{let n=i[Ci];n&&(e=n)}if(!e){for(;i&&!i[ma]&&i!==t;)Ol(i)&&fS(i[st],i),i=i[qi];i===null&&(i=t),Ol(i)&&fS(i[st],i),e=i&&i[ma]}i=e}}function IT(t,i){let e=t[cu],n=e.indexOf(i);e.splice(n,1)}function u0(t,i){if(du(i))return;let e=i[Rn];e.destroyNode&&m0(t,i,e,3,null,null),a6(i)}function fS(t,i){if(du(i))return;let e=nt(null);try{i[vt]&=-129,i[vt]|=256,i[Uo]&&Sc(i[Uo]),c6(t,i),l6(t,i),i[st].type===1&&i[Rn].destroy();let n=i[Pc];if(n!==null&&$a(i[qi])){n!==i[qi]&&IT(n,i);let r=i[Ss];r!==null&&r.detachView(t)}TS(i)}finally{nt(e)}}function EO(t,i,e,n){let r=t?.[Lc];if(r==null||r.leave==null||!r.leave.has(i.index))return n(!1);t&&bu.add(t[Nl]),HF(e,()=>{if(r.leave&&r.leave.has(i.index)){let a=r.leave.get(i.index),s=[];if(a){for(let d=0;d<a.animateFns.length;d++){let p=a.animateFns[d],{promise:f}=p();s.push(f)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(s),s6(t,n)}else t&&bu.delete(t[Nl]),n(!1)},r)}function s6(t,i){let e=t[Lc]?.running;if(e){e.then(()=>{t[Lc].running=void 0,bu.delete(t[Nl]),i(!0)});return}i(!1)}function l6(t,i){let e=t.cleanup,n=i[zm];if(e!==null)for(let a=0;a<e.length-1;a+=2)if(typeof e[a]=="string"){let s=e[a+3];s>=0?n[s]():n[-s].unsubscribe(),a+=2}else{let s=n[e[a+1]];e[a].call(s)}n!==null&&(i[zm]=null);let r=i[kl];if(r!==null){i[kl]=null;for(let a=0;a<r.length;a++){let s=r[a];s()}}let o=i[Nc];if(o!==null){i[Nc]=null;for(let a of o)a.destroy()}}function c6(t,i){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let n=0;n<e.length;n+=2){let r=i[e[n]];if(!(r instanceof _u)){let o=e[n+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let s=r[o[a]],d=o[a+1];jn(vn.LifecycleHookStart,s,d);try{d.call(s)}finally{jn(vn.LifecycleHookEnd,s,d)}}else{jn(vn.LifecycleHookStart,r,o);try{o.call(r)}finally{jn(vn.LifecycleHookEnd,r,o)}}}}}function zF(t,i,e){return d6(t,i.parent,e)}function d6(t,i,e){let n=i;for(;n!==null&&n.type&168;)i=n,n=i.parent;if(n===null)return e[Ga];if(Ts(n)){let{encapsulation:r}=t.data[n.directiveStart+n.componentOffset];if(r===Ka.None||r===Ka.Emulated)return null}return zo(n,e)}function GF(t,i,e){return m6(t,i,e)}function u6(t,i,e){return t.type&40?zo(t,e):null}var m6=u6,wO;function AT(t,i,e,n){let r=zF(t,n,i),o=i[Rn],a=n.parent||i[to],s=GF(a,n,i);if(r!=null)if(Array.isArray(e))for(let d=0;d<e.length;d++)vO(o,r,e[d],s,!1);else vO(o,r,e,s,!1);wO!==void 0&&wO(o,n,i,e,r)}function jf(t,i){if(i!==null){let e=i.type;if(e&3)return zo(i,t);if(e&4)return jS(-1,t[i.index]);if(e&8){let n=i.child;if(n!==null)return jf(t,n);{let r=t[i.index];return $a(r)?jS(-1,r):pa(r)}}else{if(e&128)return jf(t,i.next);if(e&32)return xT(i,t)()||pa(t[i.index]);{let n=WF(t,i);if(n!==null){if(Array.isArray(n))return n[0];let r=Oc(t[no]);return jf(r,n)}else return jf(t,i.next)}}}return null}function WF(t,i){if(i!==null){let n=t[no][to],r=i.projection;return n.projection[r]}return null}function jS(t,i){let e=Ci+t+1;if(e<i.length){let n=i[e],r=n[st].firstChild;if(r!==null)return jf(n,r)}return i[Bc]}function kT(t,i,e,n,r,o,a){for(;e!=null;){let s=n[Ml];if(e.type===128){e=e.next;continue}let d=n[e.index],p=e.type;if(a&&i===0&&(d&&Jm(pa(d),n),e.flags|=2),!o0(e))if(p&8)kT(t,i,e.child,n,r,o,!1),Xm(i,t,s,r,d,e,o,n);else if(p&32){let f=xT(e,n),b;for(;b=f();)Xm(i,t,s,r,b,e,o,n);Xm(i,t,s,r,d,e,o,n)}else p&16?$F(t,i,n,e,r,o):Xm(i,t,s,r,d,e,o,n);e=a?e.projectionNext:e.next}}function m0(t,i,e,n,r,o){kT(e,n,t.firstChild,i,r,o,!1)}function p6(t,i,e){let n=i[Rn],r=zF(t,e,i),o=e.parent||i[to],a=GF(o,e,i);$F(n,0,i,e,r,a)}function $F(t,i,e,n,r,o){let a=e[no],d=a[to].projection[n.projection];if(Array.isArray(d))for(let p=0;p<d.length;p++){let f=d[p];Xm(i,t,e[Ml],r,f,n,o,e)}else{let p=d,f=a[qi];lF(n)&&(p.flags|=128),kT(t,i,p,f,r,o,!0)}}function h6(t,i,e,n,r,o,a){let s=n[Bc],d=pa(n);s!==d&&Xm(i,t,e,o,s,r,a);for(let p=Ci;p<n.length;p++){let f=n[p];m0(f[st],f,t,i,o,s)}}function f6(t,i,e,n,r){if(i)r?t.addClass(e,n):t.removeClass(e,n);else{let o=n.indexOf("-")===-1?void 0:Rs.DashCase;r==null?t.removeStyle(e,n,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Rs.Important),t.setStyle(e,n,r,o))}}function qF(t,i,e,n,r){let o=Do(),a=n&2;try{jc(-1),a&&i.length>Mn&&VF(t,i,Mn,!1);let s=a?vn.TemplateUpdateStart:vn.TemplateCreateStart;jn(s,r,e),e(n,r)}finally{jc(o);let s=a?vn.TemplateUpdateEnd:vn.TemplateCreateEnd;jn(s,r,e)}}function p0(t,i,e){y6(t,i,e),(e.flags&64)===64&&C6(t,i,e)}function tg(t,i,e=zo){let n=i.localNames;if(n!==null){let r=i.index+1;for(let o=0;o<n.length;o+=2){let a=n[o+1],s=a===-1?e(i,t):t[a];t[r++]=s}}}function g6(t,i,e,n){let o=n.get(_F,gF)||e===Ka.ShadowDom||e===Ka.ExperimentalIsolatedShadowDom,a=t.selectRootElement(i,o);return _6(a),a}function _6(t){b6(t)}var b6=()=>null;function v6(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function YF(t,i,e,n,r,o){let a=i[st];if(h0(t,a,i,e,n)){Ts(t)&&XF(i,t.index);return}t.type&3&&(e=v6(e)),KF(t,i,e,n,r,o)}function KF(t,i,e,n,r,o){if(t.type&3){let a=zo(t,i);n=o!=null?o(n,t.value||"",e):n,r.setProperty(a,e,n)}else t.type&12}function XF(t,i){let e=ha(i,t);e[vt]&16||(e[vt]|=64)}function y6(t,i,e){let n=e.directiveStart,r=e.directiveEnd;Ts(e)&&X$(i,e,t.data[n+e.componentOffset]),t.firstCreatePass||Uv(e,i);let o=e.initialInputs;for(let a=n;a<r;a++){let s=t.data[a],d=Uf(i,t,a,e);if(Jm(d,i),o!==null&&w6(i,a-n,d,s,e,o),qa(s)){let p=ha(e.index,i);p[Ti]=Uf(i,t,a,e)}}}function C6(t,i,e){let n=e.directiveStart,r=e.directiveEnd,o=e.index,a=qN();try{jc(o);for(let s=n;s<r;s++){let d=t.data[s],p=i[s];Cv(s),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&D6(d,p)}}finally{jc(-1),Cv(a)}}function D6(t,i){t.hostBindings!==null&&t.hostBindings(1,i)}function RT(t,i){let e=t.directiveRegistry,n=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];PF(i,o.selectors,!1)&&(n??=[],qa(o)?n.unshift(o):n.push(o))}return n}function E6(t,i,e,n,r,o){let a=zo(t,i);ZF(i[Rn],a,o,t.value,e,n,r)}function ZF(t,i,e,n,r,o,a){if(o==null)t.removeAttribute(i,r,e);else{let s=a==null?eo(o):a(o,n||"",r);t.setAttribute(i,r,s,e)}}function w6(t,i,e,n,r,o){let a=o[i];if(a!==null)for(let s=0;s<a.length;s+=2){let d=a[s],p=a[s+1];BS(n,e,d,p)}}function MT(t,i,e,n,r){let o=Mn+e,a=i[st],s=r(a,i,t,n,e);i[o]=s,pu(t,!0);let d=t.type===2;return d?(kF(i[Rn],s,t),(HN()===0||Wm(t))&&Jm(s,i),UN()):Jm(s,i),xv()&&(!d||!o0(t))&&AT(a,i,s,t),t}function NT(t){let i=t;return tS()?nS():(i=i.parent,pu(i,!1)),i}function x6(t,i){let e=t[Ml];if(!e)return;let n;try{n=e.get(Eo,null)}catch(r){n=null}n?.(i)}function h0(t,i,e,n,r){let o=t.inputs?.[n],a=t.hostDirectiveInputs?.[n],s=!1;if(a)for(let d=0;d<a.length;d+=2){let p=a[d],f=a[d+1],b=i.data[p];BS(b,e[p],f,r),s=!0}if(o)for(let d of o){let p=e[d],f=i.data[d];BS(f,p,n,r),s=!0}return s}function S6(t,i){let e=ha(i,t),n=e[st];T6(n,e);let r=e[Ga];r!==null&&e[ou]===null&&(e[ou]=bF(r,e[Ml])),jn(vn.ComponentStart);try{OT(n,e,e[Ti])}finally{jn(vn.ComponentEnd,e[Ti])}}function T6(t,i){for(let e=i.length;e<t.blueprint.length;e++)i.push(t.blueprint[e])}function OT(t,i,e){Ev(i);try{let n=t.viewQuery;n!==null&&AS(1,n,e);let r=t.template;r!==null&&qF(t,i,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),i[Ss]?.finishViewCreation(t),t.staticContentQueries&&vF(t,i),t.staticViewQueries&&AS(2,t.viewQuery,e);let o=t.components;o!==null&&I6(i,o)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{i[vt]&=-5,wv()}}function I6(t,i){for(let e=0;e<i.length;e++)S6(t,i[e])}function ng(t,i,e,n){let r=nt(null);try{let o=i.tView,s=t[vt]&4096?4096:16,d=ET(t,o,e,s,null,i,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),p=t[i.index];d[Pc]=p;let f=t[Ss];return f!==null&&(d[Ss]=f.createEmbeddedView(o)),OT(o,d,e),d}finally{nt(r)}}function ep(t,i){return!i||i.firstChild===null||lF(t)}function Gf(t,i,e,n,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=i[e.index];o!==null&&n.push(pa(o)),$a(o)&&QF(o,n);let a=e.type;if(a&8)Gf(t,i,e.child,n);else if(a&32){let s=xT(e,i),d;for(;d=s();)n.push(d)}else if(a&16){let s=WF(i,e);if(Array.isArray(s))n.push(...s);else{let d=Oc(i[no]);Gf(d[st],d,s,n,!0)}}e=r?e.projectionNext:e.next}return n}function QF(t,i){for(let e=Ci;e<t.length;e++){let n=t[e],r=n[st].firstChild;r!==null&&Gf(n[st],n,r,i)}t[Bc]!==t[Ga]&&i.push(t[Bc])}function JF(t){if(t[lu]!==null){for(let i of t[lu])i.impl.addSequence(i);t[lu].length=0}}var eP=[];function A6(t){return t[Uo]??k6(t)}function k6(t){let i=eP.pop()??Object.create(M6);return i.lView=t,i}function R6(t){t.lView[Uo]!==t&&(t.lView=null,eP.push(t))}var M6=Ae(L({},wc),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{mu(t.lView)},consumerOnSignalRead(){this.lView[Uo]=this}});function N6(t){let i=t[Uo]??Object.create(O6);return i.lView=t,i}var O6=Ae(L({},wc),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let i=Oc(t.lView);for(;i&&!tP(i[st]);)i=Oc(i);i&&$x(i)},consumerOnSignalRead(){this.lView[Uo]=this}});function tP(t){return t.type!==2}function nP(t){if(t[Nc]===null)return;let i=!0;for(;i;){let e=!1;for(let n of t[Nc])n.dirty&&(e=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));i=e&&!!(t[vt]&8192)}}var F6=100;function iP(t,i=0){let n=t[Wa].rendererFactory,r=!1;r||n.begin?.();try{P6(t,i)}finally{r||n.end?.()}}function P6(t,i){let e=rS();try{Df(!0),HS(t,i);let n=0;for(;Of(t);){if(n===F6)throw new ce(103,!1);n++,HS(t,1)}}finally{Df(e)}}function L6(t,i,e,n){if(du(i))return;let r=i[vt],o=!1,a=!1;Ev(i);let s=!0,d=null,p=null;o||(tP(t)?(p=A6(i),d=wl(p)):yb()===null?(s=!1,p=N6(i),d=wl(p)):i[Uo]&&(Sc(i[Uo]),i[Uo]=null));try{Wx(i),GN(t.bindingStartIndex),e!==null&&qF(t,i,e,2,n);let f=(r&3)===3;if(!o)if(f){let A=t.preOrderCheckHooks;A!==null&&Nv(i,A,null)}else{let A=t.preOrderHooks;A!==null&&Ov(i,A,0,null),pS(i,0)}if(a||B6(i),nP(i),rP(i,0),t.contentQueries!==null&&vF(t,i),!o)if(f){let A=t.contentCheckHooks;A!==null&&Nv(i,A)}else{let A=t.contentHooks;A!==null&&Ov(i,A,1),pS(i,1)}j6(t,i);let b=t.components;b!==null&&aP(i,b,0);let w=t.viewQuery;if(w!==null&&AS(2,w,n),!o)if(f){let A=t.viewCheckHooks;A!==null&&Nv(i,A)}else{let A=t.viewHooks;A!==null&&Ov(i,A,2),pS(i,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),i[fv]){for(let A of i[fv])A();i[fv]=null}o||(JF(i),i[vt]&=-73)}catch(f){throw o||mu(i),f}finally{p!==null&&(xc(p,d),s&&R6(p)),wv()}}function rP(t,i){for(let e=dF(t);e!==null;e=uF(e))for(let n=Ci;n<e.length;n++){let r=e[n];oP(r,i)}}function B6(t){for(let i=dF(t);i!==null;i=uF(i)){if(!(i[vt]&2))continue;let e=i[cu];for(let n=0;n<e.length;n++){let r=e[n];$x(r)}}}function V6(t,i,e){jn(vn.ComponentStart);let n=ha(i,t);try{oP(n,e)}finally{jn(vn.ComponentEnd,n[Ti])}}function oP(t,i){_v(t)&&HS(t,i)}function HS(t,i){let n=t[st],r=t[vt],o=t[Uo],a=!!(i===0&&r&16);if(a||=!!(r&64&&i===0),a||=!!(r&1024),a||=!!(o?.dirty&&wm(o)),a||=!1,o&&(o.dirty=!1),t[vt]&=-9217,a)L6(n,t,n.template,t[Ti]);else if(r&8192){let s=nt(null);try{nP(t),rP(t,1);let d=n.components;d!==null&&aP(t,d,1),JF(t)}finally{nt(s)}}}function aP(t,i,e){for(let n=0;n<i.length;n++)V6(t,i[n],e)}function j6(t,i){let e=t.hostBindingOpCodes;if(e!==null)try{for(let n=0;n<e.length;n++){let r=e[n];if(r<0)jc(~r);else{let o=r,a=e[++n],s=e[++n];$N(a,o);let d=i[o];jn(vn.HostBindingsUpdateStart,d);try{s(2,d)}finally{jn(vn.HostBindingsUpdateEnd,d)}}}}finally{jc(-1)}}function FT(t,i){let e=rS()?64:1088;for(t[Wa].changeDetectionScheduler?.notify(i);t;){t[vt]|=e;let n=Oc(t);if($m(t)&&!n)return t;t=n}return null}function sP(t,i,e,n){return[t,!0,0,i,null,n,null,e,null,null]}function lP(t,i){let e=Ci+i;if(e<t.length)return t[e]}function ig(t,i,e,n=!0){let r=i[st];if(H6(r,i,t,e),n){let a=jS(e,t),s=i[Rn],d=s.parentNode(t[Bc]);d!==null&&o6(r,t[to],s,i,d,a)}let o=i[ou];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function cP(t,i){let e=Wf(t,i);return e!==void 0&&u0(e[st],e),e}function Wf(t,i){if(t.length<=Ci)return;let e=Ci+i,n=t[e];if(n){let r=n[Pc];r!==null&&r!==t&&IT(r,n),i>0&&(t[e-1][ma]=n[ma]);let o=Af(t,Ci+i);r6(n[st],n);let a=o[Ss];a!==null&&a.detachView(o[st]),n[qi]=null,n[ma]=null,n[vt]&=-129}return n}function H6(t,i,e,n){let r=Ci+n,o=e.length;n>0&&(e[r-1][ma]=i),n<o-Ci?(i[ma]=e[r],Mx(e,Ci+n,i)):(e.push(i),i[ma]=null),i[qi]=e;let a=i[Pc];a!==null&&e!==a&&dP(a,i);let s=i[Ss];s!==null&&s.insertView(t),bv(i),i[vt]|=128}function dP(t,i){let e=t[cu],n=i[qi];if(Ol(n))t[vt]|=2;else{let r=n[qi][no];i[no]!==r&&(t[vt]|=2)}e===null?t[cu]=[i]:e.push(i)}var Hc=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let i=this._lView,e=i[st];return Gf(e,i,e.firstChild,[])}constructor(i,e){this._lView=i,this._cdRefInjectingView=e}get context(){return this._lView[Ti]}set context(i){this._lView[Ti]=i}get destroyed(){return du(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let i=this._lView[qi];if($a(i)){let e=i[Mf],n=e?e.indexOf(this):-1;n>-1&&(Wf(i,n),Af(e,n))}this._attachedToViewContainer=!1}u0(this._lView[st],this._lView)}onDestroy(i){qx(this._lView,i)}markForCheck(){FT(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[vt]&=-129}reattach(){bv(this._lView),this._lView[vt]|=128}detectChanges(){this._lView[vt]|=1024,iP(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ce(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=$m(this._lView),e=this._lView[Pc];e!==null&&!i&&IT(e,this._lView),UF(this._lView[st],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new ce(902,!1);this._appRef=i;let e=$m(this._lView),n=this._lView[Pc];n!==null&&!e&&dP(n,this._lView),bv(this._lView)}};var Zt=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=U6;constructor(e,n,r){this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let o=ng(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new Hc(o)}}return t})();function U6(){return f0(Ki(),Oe())}function f0(t,i){return t.type&4?new Zt(i,t,rp(t,i)):null}function Du(t,i,e,n,r){let o=t.data[i];if(o===null)o=z6(t,i,e,n,r),WN()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=n,o.attrs=r;let a=zN();o.injectorIndex=a===null?-1:a.injectorIndex}return pu(o,!0),o}function z6(t,i,e,n,r){let o=eS(),a=tS(),s=a?o:o&&o.parent,d=t.data[i]=W6(t,s,e,i,n,r);return G6(t,d,o,a),d}function G6(t,i,e,n){t.firstChild===null&&(t.firstChild=i),e!==null&&(n?e.child==null&&i.parent!==null&&(e.child=i):e.next===null&&(e.next=i,i.prev=e))}function W6(t,i,e,n,r,o){let a=i?i.injectorIndex:-1,s=0;return Zx()&&(s|=128),{type:e,index:n,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,namespace:sS(),attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function $6(t){let i=t[Hx]??[],n=t[qi][Rn],r=[];for(let o of i)o.data[fF]!==void 0?r.push(o):q6(o,n);t[Hx]=r}function q6(t,i){let e=0,n=t.firstChild;if(n){let r=t.data[hF];for(;e<r;){let o=n.nextSibling;AF(i,n,!1),n=o,e++}}}var Y6=()=>null,K6=()=>null;function Gv(t,i){return Y6(t,i)}function uP(t,i,e){return K6(t,i,e)}var mP=class{},g0=class{},US=class{resolveComponentFactory(i){throw new ce(917,!1)}},Bl=class{static NULL=new US},fi=class{},ot=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>X6()}return t})();function X6(){let t=Oe(),i=Ki(),e=ha(i.index,t);return(Ol(e)?e:t)[Rn]}var pP=(()=>{class t{static \u0275prov=D({token:t,providedIn:"root",factory:()=>null})}return t})();var Pv={},zS=class{injector;parentInjector;constructor(i,e){this.injector=i,this.parentInjector=e}get(i,e,n){let r=this.injector.get(i,Pv,n);return r!==Pv||e===Pv?r:this.parentInjector.get(i,e,n)}};function Wv(t,i,e){let n=e?t.styles:null,r=e?t.classes:null,o=0;if(i!==null)for(let a=0;a<i.length;a++){let s=i[a];if(typeof s=="number")o=s;else if(o==1)r=lv(r,s);else if(o==2){let d=s,p=i[++a];n=lv(n,d+": "+p+";")}}e?t.styles=n:t.stylesWithoutHost=n,e?t.classes=r:t.classesWithoutHost=r}function E(t,i=0){let e=Oe();if(e===null)return F(t,i);let n=Ki();return rF(n,e,$i(t),i)}function Eu(){let t="invalid";throw new Error(t)}function hP(t,i,e,n,r){let o=n===null?null:{"":-1},a=r(t,e);if(a!==null){let s=a,d=null,p=null;for(let f of a)if(f.resolveHostDirectives!==null){[s,d,p]=f.resolveHostDirectives(a);break}J6(t,i,e,s,o,d,p)}o!==null&&n!==null&&Z6(e,n,o)}function Z6(t,i,e){let n=t.localNames=[];for(let r=0;r<i.length;r+=2){let o=e[i[r+1]];if(o==null)throw new ce(-301,!1);n.push(i[r],o)}}function Q6(t,i,e){i.componentOffset=e,(t.components??=[]).push(i.index)}function J6(t,i,e,n,r,o,a){let s=n.length,d=null;for(let w=0;w<s;w++){let A=n[w];d===null&&qa(A)&&(d=A,Q6(t,e,w)),xS(Uv(e,i),t,A.type)}o7(e,t.data.length,s),d?.viewProvidersResolver&&d.viewProvidersResolver(d);for(let w=0;w<s;w++){let A=n[w];A.providersResolver&&A.providersResolver(A)}let p=!1,f=!1,b=BF(t,i,s,null);s>0&&(e.directiveToIndex=new Map);for(let w=0;w<s;w++){let A=n[w];if(e.mergedAttrs=Qm(e.mergedAttrs,A.hostAttrs),t7(t,e,i,b,A),r7(b,A,r),a!==null&&a.has(A)){let[J,j]=a.get(A);e.directiveToIndex.set(A.type,[b,J+e.directiveStart,j+e.directiveStart])}else(o===null||!o.has(A))&&e.directiveToIndex.set(A.type,b);A.contentQueries!==null&&(e.flags|=4),(A.hostBindings!==null||A.hostAttrs!==null||A.hostVars!==0)&&(e.flags|=64);let M=A.type.prototype;!p&&(M.ngOnChanges||M.ngOnInit||M.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),p=!0),!f&&(M.ngOnChanges||M.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),f=!0),b++}e7(t,e,o)}function e7(t,i,e){for(let n=i.directiveStart;n<i.directiveEnd;n++){let r=t.data[n];if(e===null||!e.has(r))xO(0,i,r,n),xO(1,i,r,n),TO(i,n,!1);else{let o=e.get(r);SO(0,i,o,n),SO(1,i,o,n),TO(i,n,!0)}}}function xO(t,i,e,n){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;t===0?a=i.inputs??={}:a=i.outputs??={},a[o]??=[],a[o].push(n),fP(i,o)}}function SO(t,i,e,n){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],s;t===0?s=i.hostDirectiveInputs??={}:s=i.hostDirectiveOutputs??={},s[a]??=[],s[a].push(n,o),fP(i,a)}}function fP(t,i){i==="class"?t.flags|=8:i==="style"&&(t.flags|=16)}function TO(t,i,e){let{attrs:n,inputs:r,hostDirectiveInputs:o}=t;if(n===null||!e&&r===null||e&&o===null||CT(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let a=null,s=0;for(;s<n.length;){let d=n[s];if(d===0){s+=4;continue}else if(d===5){s+=2;continue}else if(typeof d=="number")break;if(!e&&r.hasOwnProperty(d)){let p=r[d];for(let f of p)if(f===i){a??=[],a.push(d,n[s+1]);break}}else if(e&&o.hasOwnProperty(d)){let p=o[d];for(let f=0;f<p.length;f+=2)if(p[f]===i){a??=[],a.push(p[f+1],n[s+1]);break}}s+=2}t.initialInputs??=[],t.initialInputs.push(a)}function t7(t,i,e,n,r){t.data[n]=r;let o=r.factory||(r.factory=Mc(r.type,!0)),a=new _u(o,qa(r),E,null);t.blueprint[n]=a,e[n]=a,n7(t,i,n,BF(t,e,r.hostVars,Zi),r)}function n7(t,i,e,n,r){let o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;a===null&&(a=t.hostBindingOpCodes=[]);let s=~i.index;i7(a)!=s&&a.push(s),a.push(e,n,o)}}function i7(t){let i=t.length;for(;i>0;){let e=t[--i];if(typeof e=="number"&&e<0)return e}return 0}function r7(t,i,e){if(e){if(i.exportAs)for(let n=0;n<i.exportAs.length;n++)e[i.exportAs[n]]=t;qa(i)&&(e[""]=t)}}function o7(t,i,e){t.flags|=1,t.directiveStart=i,t.directiveEnd=i+e,t.providerIndexes=i}function PT(t,i,e,n,r,o,a,s){let d=i[st],p=d.consts,f=Go(p,a),b=Du(d,t,e,n,f);return o&&hP(d,i,b,Go(p,s),r),b.mergedAttrs=Qm(b.mergedAttrs,b.attrs),b.attrs!==null&&Wv(b,b.attrs,!1),b.mergedAttrs!==null&&Wv(b,b.mergedAttrs,!0),d.queries!==null&&d.queries.elementStart(d,b),b}function LT(t,i){KO(t,i),Ux(i)&&t.queries.elementEnd(i)}function a7(t,i,e,n,r,o){let a=i.consts,s=Go(a,r),d=Du(i,t,e,n,s);if(d.mergedAttrs=Qm(d.mergedAttrs,d.attrs),o!=null){let p=Go(a,o);d.localNames=[];for(let f=0;f<p.length;f+=2)d.localNames.push(p[f],-1)}return d.attrs!==null&&Wv(d,d.attrs,!1),d.mergedAttrs!==null&&Wv(d,d.mergedAttrs,!0),i.queries!==null&&i.queries.elementStart(i,d),d}function BT(t){return _P(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function gP(t,i){if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else{let e=t[Symbol.iterator](),n;for(;!(n=e.next()).done;)i(n.value)}}function _P(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function _0(t,i,e){return t[i]=e}function oo(t,i,e){if(e===Zi)return!1;let n=t[i];return Object.is(n,e)?!1:(t[i]=e,!0)}function $f(t,i,e,n){let r=oo(t,i,e);return oo(t,i+1,n)||r}function bP(t,i,e,n,r){let o=$f(t,i,e,n);return oo(t,i+2,r)||o}function vP(t,i,e,n,r,o){let a=$f(t,i,e,n);return $f(t,i+2,r,o)||a}function Lv(t,i,e){return function n(r){let o=n.__ngNativeEl__;o!==void 0&&J8(r,o);let a=Ts(t)?ha(t.index,i):i;FT(a,5);let s=i[Ti],d=IO(i,s,e,r),p=n.__ngNextListenerFn__;for(;p;)d=IO(i,s,p,r)&&d,p=p.__ngNextListenerFn__;return d}}function IO(t,i,e,n){let r=nt(null);try{return jn(vn.OutputStart,i,e),e(n)!==!1}catch(o){return x6(t,o),!1}finally{jn(vn.OutputEnd,i,e),nt(r)}}function yP(t,i,e,n,r,o,a,s){let d=Wm(t),p=!1,f=null;if(!n&&d&&(f=l7(i,e,o,t.index)),f!==null){let b=f.__ngLastListenerFn__||f;b.__ngNextListenerFn__=a,f.__ngLastListenerFn__=a,p=!0}else{let b=zo(t,e),w=n?n(b):b;t$(e,w,o,s),n||(s.__ngNativeEl__=b);let A=r.listen(w,o,s);if(!s7(o)){let M=n?J=>n(pa(J[t.index])):t.index;CP(M,i,e,o,s,A,!1)}}return p}function s7(t){return t.startsWith("animation")||t.startsWith("transition")}function l7(t,i,e,n){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===e&&r[o+1]===n){let s=i[zm],d=r[o+2];return s&&s.length>d?s[d]:null}typeof a=="string"&&(o+=2)}return null}function CP(t,i,e,n,r,o,a){let s=i.firstCreatePass?Kx(i):null,d=Yx(e),p=d.length;d.push(r,o),s&&s.push(n,t,p,(p+1)*(a?-1:1))}function AO(t,i,e,n,r,o){let a=i[e],s=i[st],p=s.data[e].outputs[n],b=a[p].subscribe(o);CP(t.index,s,i,r,o,b,!0)}var GS=Symbol("BINDING");function DP(t){return t.debugInfo?.className||t.type.name||null}var $v=class extends Bl{ngModule;constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){let e=xs(i);return new Uc(e,this.ngModule)}};function c7(t){return Object.keys(t).map(i=>{let[e,n,r]=t[i],o={propName:e,templateName:i,isSignal:(n&l0.SignalBased)!==0};return r&&(o.transform=r),o})}function d7(t){return Object.keys(t).map(i=>({propName:t[i],templateName:i}))}function u7(t,i,e){let n=i instanceof _n?i:i?.injector;return n&&t.getStandaloneInjector!==null&&(n=t.getStandaloneInjector(n)||n),n?new zS(e,n):e}function m7(t){let i=t.get(fi,null);if(i===null)throw new ce(407,!1);let e=t.get(pP,null),n=t.get(Ua,null),r=t.get(Xa,null,{optional:!0});return{rendererFactory:i,sanitizer:e,changeDetectionScheduler:n,ngReflect:!1,tracingService:r}}function p7(t,i){let e=EP(t);return TF(i,e,e==="svg"?Cf:e==="math"?zx:null)}function h7(t){if(t?.toLowerCase()==="script")throw new ce(905,!1)}function EP(t){return(t.selectors[0][0]||"div").toLowerCase()}var Uc=class extends g0{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=c7(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=d7(this.componentDef.outputs),this.cachedOutputs}constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=$$(i.selectors),this.ngContentSelectors=i.ngContentSelectors??[],this.isBoundToModule=!!e}create(i,e,n,r,o,a){jn(vn.DynamicComponentStart);let s=nt(null);try{let d=this.componentDef,p=u7(d,r||this.ngModule,i),f=m7(p),b=f.tracingService;return b&&b.componentCreate?b.componentCreate(DP(d),()=>this.createComponentRef(f,p,e,n,o,a)):this.createComponentRef(f,p,e,n,o,a)}finally{nt(s)}}createComponentRef(i,e,n,r,o,a){let s=this.componentDef,d=f7(r,s,a,o),p=i.rendererFactory.createRenderer(null,s),f=r?g6(p,r,s.encapsulation,e):p7(s,p);h7(f?.tagName);let b=a?.some(kO)||o?.some(M=>typeof M!="function"&&M.bindings.some(kO)),w=ET(null,d,null,512|LF(s),null,null,i,p,e,null,bF(f,e,!0));w[Mn]=f,Ev(w);let A=null;try{let M=PT(Mn,w,2,"#host",()=>d.directiveRegistry,!0,0);kF(p,f,M),Jm(f,w),p0(d,w,M),pT(d,M,w),LT(d,M),n!==void 0&&_7(M,this.ngContentSelectors,n),A=ha(M.index,w),w[Ti]=A[Ti],OT(d,w,null)}catch(M){throw A!==null&&TS(A),TS(w),M}finally{jn(vn.DynamicComponentEnd),wv()}return new qv(this.componentType,w,!!b)}};function f7(t,i,e,n){let r=t?["ng-version","21.2.23"]:q$(i.selectors[0]),o=null,a=null,s=0;if(e)for(let f of e)s+=f[GS].requiredVars,f.create&&(f.targetIdx=0,(o??=[]).push(f)),f.update&&(f.targetIdx=0,(a??=[]).push(f));if(n)for(let f=0;f<n.length;f++){let b=n[f];if(typeof b!="function")for(let w of b.bindings){s+=w[GS].requiredVars;let A=f+1;w.create&&(w.targetIdx=A,(o??=[]).push(w)),w.update&&(w.targetIdx=A,(a??=[]).push(w))}}let d=[i];if(n)for(let f of n){let b=typeof f=="function"?f:f.type,w=dv(b);d.push(w)}return DT(0,null,g7(o,a),1,s,d,null,null,null,[r],null)}function g7(t,i){return!t&&!i?null:e=>{if(e&1&&t)for(let n of t)n.create();if(e&2&&i)for(let n of i)n.update()}}function kO(t){let i=t[GS].kind;return i==="input"||i==="twoWay"}var qv=class extends mP{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(i,e,n){super(),this._rootLView=e,this._hasInputBindings=n,this._tNode=gv(e[st],Mn),this.location=rp(this._tNode,e),this.instance=ha(this._tNode.index,e)[Ti],this.hostView=this.changeDetectorRef=new Hc(e,void 0),this.componentType=i}setInput(i,e){this._hasInputBindings;let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(i)&&Object.is(this.previousInputValues.get(i),e))return;let r=this._rootLView,o=h0(n,r[st],r,i,e);this.previousInputValues.set(i,e);let a=ha(n.index,r);FT(a,1)}get injector(){return new gu(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}};function _7(t,i,e){let n=t.projection=[];for(let r=0;r<i.length;r++){let o=e[r];n.push(o!=null&&o.length?Array.from(o):null)}}var Pt=(()=>{class t{static __NG_ELEMENT_ID__=b7}return t})();function b7(){let t=Ki();return wP(t,Oe())}var WS=class t extends Pt{_lContainer;_hostTNode;_hostLView;constructor(i,e,n){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=n}get element(){return rp(this._hostTNode,this._hostLView)}get injector(){return new gu(this._hostTNode,this._hostLView)}get parentInjector(){let i=cT(this._hostTNode,this._hostLView);if(QO(i)){let e=jv(i,this._hostLView),n=Vv(i),r=e[st].data[n+8];return new gu(r,e)}else return new gu(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){let e=RO(this._lContainer);return e!==null&&e[i]||null}get length(){return this._lContainer.length-Ci}createEmbeddedView(i,e,n){let r,o;typeof n=="number"?r=n:n!=null&&(r=n.index,o=n.injector);let a=Gv(this._lContainer,i.ssrId),s=i.createEmbeddedViewImpl(e||{},o,a);return this.insertImpl(s,r,ep(this._hostTNode,a)),s}createComponent(i,e,n,r,o,a,s){let d=i&&!I8(i),p;if(d)p=e;else{let j=e||{};p=j.index,n=j.injector,r=j.projectableNodes,o=j.environmentInjector||j.ngModuleRef,a=j.directives,s=j.bindings}let f=d?i:new Uc(xs(i)),b=n||this.parentInjector;if(!o&&f.ngModule==null){let K=(d?b:this.parentInjector).get(_n,null);K&&(o=K)}let w=xs(f.componentType??{}),A=Gv(this._lContainer,w?.id??null),M=A?.firstChild??null,J=f.create(b,r,M,o,a,s);return this.insertImpl(J.hostView,p,ep(this._hostTNode,A)),J}insert(i,e){return this.insertImpl(i,e,!0)}insertImpl(i,e,n){let r=i._lView;if(LN(r)){let s=this.indexOf(i);if(s!==-1)this.detach(s);else{let d=r[qi],p=new t(d,d[to],d[qi]);p.detach(p.indexOf(i))}}let o=this._adjustIndex(e),a=this._lContainer;return ig(a,r,o,n),i.attachToViewContainerRef(),Mx(gS(a),o,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=RO(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),n=Wf(this._lContainer,e);n&&(Af(gS(this._lContainer),e),u0(n[st],n))}detach(i){let e=this._adjustIndex(i,-1),n=Wf(this._lContainer,e);return n&&Af(gS(this._lContainer),e)!=null?new Hc(n):null}_adjustIndex(i,e=0){return i??this.length+e}};function RO(t){return t[Mf]}function gS(t){return t[Mf]||(t[Mf]=[])}function wP(t,i){let e,n=i[t.index];return $a(n)?e=n:(e=sP(n,i,null,t),i[t.index]=e,wT(i,e)),y7(e,i,t,n),new WS(e,t,i)}function v7(t,i){let e=t[Rn],n=e.createComment(""),r=zo(i,t),o=e.parentNode(r);return zv(e,o,n,e.nextSibling(r),!1),n}var y7=E7,C7=()=>!1;function D7(t,i,e){return C7(t,i,e)}function E7(t,i,e,n){if(t[Bc])return;let r;e.type&8?r=pa(n):r=v7(i,e),t[Bc]=r}var $S=class t{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},qS=class t{queries;constructor(i=[]){this.queries=i}createEmbeddedView(i){let e=i.queries;if(e!==null){let n=i.contentQueries!==null?i.contentQueries[0]:e.length,r=[];for(let o=0;o<n;o++){let a=e.getByIndex(o),s=this.queries[a.indexInDeclarationView];r.push(s.clone())}return new t(r)}return null}insertView(i){this.dirtyQueriesWithMatches(i)}detachView(i){this.dirtyQueriesWithMatches(i)}finishViewCreation(i){this.dirtyQueriesWithMatches(i)}dirtyQueriesWithMatches(i){for(let e=0;e<this.queries.length;e++)jT(i,e).matches!==null&&this.queries[e].setDirty()}},Yv=class{flags;read;predicate;constructor(i,e,n=null){this.flags=e,this.read=n,typeof i=="string"?this.predicate=I7(i):this.predicate=i}},YS=class t{queries;constructor(i=[]){this.queries=i}elementStart(i,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(i,e)}elementEnd(i){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(i)}embeddedTView(i){let e=null;for(let n=0;n<this.length;n++){let r=e!==null?e.length:0,o=this.getByIndex(n).embeddedTView(i,r);o&&(o.indexInDeclarationView=n,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(i,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(i,e)}getByIndex(i){return this.queries[i]}get length(){return this.queries.length}track(i){this.queries.push(i)}},KS=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(i,e=-1){this.metadata=i,this._declarationNodeIndex=e}elementStart(i,e){this.isApplyingToNode(e)&&this.matchTNode(i,e)}elementEnd(i){this._declarationNodeIndex===i.index&&(this._appliesToNextNode=!1)}template(i,e){this.elementStart(i,e)}embeddedTView(i,e){return this.isApplyingToNode(i)?(this.crossesNgTemplate=!0,this.addMatch(-i.index,e),new t(this.metadata)):null}isApplyingToNode(i){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,n=i.parent;for(;n!==null&&n.type&8&&n.index!==e;)n=n.parent;return e===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(i,e){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let o=n[r];this.matchTNodeWithReadOption(i,e,w7(e,o)),this.matchTNodeWithReadOption(i,e,Fv(e,i,o,!1,!1))}else n===Zt?e.type&4&&this.matchTNodeWithReadOption(i,e,-1):this.matchTNodeWithReadOption(i,e,Fv(e,i,n,!1,!1))}matchTNodeWithReadOption(i,e,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===Q||r===Pt||r===Zt&&e.type&4)this.addMatch(e.index,-2);else{let o=Fv(e,i,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,n)}}addMatch(i,e){this.matches===null?this.matches=[i,e]:this.matches.push(i,e)}};function w7(t,i){let e=t.localNames;if(e!==null){for(let n=0;n<e.length;n+=2)if(e[n]===i)return e[n+1]}return null}function x7(t,i){return t.type&11?rp(t,i):t.type&4?f0(t,i):null}function S7(t,i,e,n){return e===-1?x7(i,t):e===-2?T7(t,i,n):Uf(t,t[st],e,i)}function T7(t,i,e){if(e===Q)return rp(i,t);if(e===Zt)return f0(i,t);if(e===Pt)return wP(i,t)}function xP(t,i,e,n){let r=i[Ss].queries[n];if(r.matches===null){let o=t.data,a=e.matches,s=[];for(let d=0;a!==null&&d<a.length;d+=2){let p=a[d];if(p<0)s.push(null);else{let f=o[p];s.push(S7(i,f,a[d+1],e.metadata.read))}}r.matches=s}return r.matches}function XS(t,i,e,n){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let a=xP(t,i,r,e);for(let s=0;s<o.length;s+=2){let d=o[s];if(d>0)n.push(a[s/2]);else{let p=o[s+1],f=i[-d];for(let b=Ci;b<f.length;b++){let w=f[b];w[Pc]===w[qi]&&XS(w[st],w,p,n)}if(f[cu]!==null){let b=f[cu];for(let w=0;w<b.length;w++){let A=b[w];XS(A[st],A,p,n)}}}}}return n}function VT(t,i){return t[Ss].queries[i].queryList}function SP(t,i,e){let n=new ro((e&4)===4);return jN(t,i,n,n.destroy),(i[Ss]??=new qS).queries.push(new $S(n))-1}function TP(t,i,e){let n=Nn();return n.firstCreatePass&&(AP(n,new Yv(t,i,e),-1),(i&2)===2&&(n.staticViewQueries=!0)),SP(n,Oe(),i)}function IP(t,i,e,n){let r=Nn();if(r.firstCreatePass){let o=Ki();AP(r,new Yv(i,e,n),o.index),A7(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return SP(r,Oe(),e)}function I7(t){return t.split(",").map(i=>i.trim())}function AP(t,i,e){t.queries===null&&(t.queries=new YS),t.queries.track(new KS(i,e))}function A7(t,i){let e=t.contentQueries||(t.contentQueries=[]),n=e.length?e[e.length-1]:-1;i!==n&&e.push(t.queries.length-1,i)}function jT(t,i){return t.queries.getByIndex(i)}function kP(t,i){let e=t[st],n=jT(e,i);return n.crossesNgTemplate?XS(e,t,i,[]):xP(e,t,n,i)}function HT(t,i,e){let n,r=df(()=>{n._dirtyCounter();let o=k7(n,t);if(i&&o===void 0)throw new ce(-951,!1);return o}
4);return n=r[yi],n._dirtyCounter=Z(0),n._flatValue=void 0,r}function UT(t){return HT(!0,!1,t)}function zT(t){return HT(!0,!0,t)}function RP(t){return HT(!1,!1,t)}function MP(t,i){let e=t[yi];e._lView=Oe(),e._queryIndex=i,e._queryList=VT(e._lView,i),e._queryList.onDirty(()=>e._dirtyCounter.update(n=>n+1))}function k7(t,i){let e=t._lView,n=t._queryIndex;if(e===void 0||n===void 0||e[vt]&4)return i?void 0:Pr;let r=VT(e,n),o=kP(e,n);return r.reset(o,sF),i?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}var ZS=new Map,R7=new Set;function GT(t){return kn(this,null,function*(){let i=ZS;ZS=new Map;let e=new Map;function n(o){let a=e.get(o);if(a)return a;let s=t(o).then(d=>M7(o,d));return e.set(o,s),s}let r=Array.from(i).map(s=>kn(null,[s],function*([o,a]){if(a.styleUrl&&a.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");let d=[];a.templateUrl&&d.push(n(a.templateUrl).then(w=>{a.template=w}));let p=typeof a.styles=="string"?[a.styles]:a.styles??[];a.styles=p;let{styleUrl:f,styleUrls:b}=a;if(f&&(b=[f],a.styleUrl=void 0),b?.length){let w=Promise.all(b.map(A=>n(A))).then(A=>{p.push(...A),a.styleUrls=void 0});d.push(w)}yield Promise.all(d),R7.delete(o)}));yield Promise.all(r)})}function NP(){return ZS.size===0}function M7(t,i){return kn(this,null,function*(){if(typeof i=="string")return i;if(i.status!==void 0&&i.status!==200)throw new ce(918,!1);return i.text()})}var Ms=class{},b0=class{};var qf=class extends Ms{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new $v(this);constructor(i,e,n,r=!0){super(),this.ngModuleType=i,this._parent=e;let o=Ix(i);this._bootstrapComponents=OF(o.bootstrap),this._r3Injector=lS(i,e,[{provide:Ms,useValue:this},{provide:Bl,useValue:this.componentFactoryResolver},...n],xf(i),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}},Yf=class extends b0{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new qf(this.moduleType,i,[])}};function OP(t,i,e){return new qf(t,i,e,!1)}var Kv=class extends Ms{injector;componentFactoryResolver=new $v(this);instance=null;constructor(i){super();let e=new iu([...i.providers,{provide:Ms,useValue:this},{provide:Bl,useValue:this.componentFactoryResolver}],i.parent||Um(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}};function op(t,i,e=null){return new Kv({providers:t,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var N7=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let n=Fx(!1,e.type),r=n.length>0?op([n],this._injector,""):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 \u0275prov=D({token:t,providedIn:"environment",factory:()=>new t(F(_n))})}return t})();function k(t){return Xf(()=>{let i=PP(t),e=Ae(L({},i),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===dT.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:i.standalone?r=>r.get(N7).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ka.Emulated,styles:t.styles||Pr,_:null,schemas:t.schemas||null,tView:null,id:""});i.standalone&&qo("NgStandalone"),LP(e);let n=t.dependencies;return e.directiveDefs=Xv(n,FP),e.pipeDefs=Xv(n,Ax),e.id=P7(e),e})}function FP(t){return xs(t)||dv(t)}function X(t){return Xf(()=>({type:t.type,bootstrap:t.bootstrap||Pr,declarations:t.declarations||Pr,imports:t.imports||Pr,exports:t.exports||Pr,transitiveCompileScopes:null,
vendor: 17,922 bytes, line 4
4schemas:t.schemas||null,id:t.id||null}))}function O7(t,i){if(t==null)return za;let e={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o,a,s,d;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o,d=r[3]||null):(o=r,a=r,s=l0.None,d=null),e[o]=[n,s,d],i[o]=a}return e}function F7(t){if(t==null)return za;let i={};for(let e in t)t.hasOwnProperty(e)&&(i[t[e]]=e);return i}function N(t){return Xf(()=>{let i=PP(t);return LP(i),i})}function pe(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function PP(t){let i={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputConfig:t.inputs||za,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Pr,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:O7(t.inputs,i),outputs:F7(t.outputs),debugInfo:null}}function LP(t){t.features?.forEach(i=>i(t))}function Xv(t,i){return t?()=>{let e=typeof t=="function"?t():t,n=[];for(let r of e){let o=i(r);o!==null&&n.push(o)}return n}:null}function P7(t){let i=0,e=typeof t.consts=="function"?"":t.consts,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of n.join("|"))i=Math.imul(31,i)+o.charCodeAt(0)<<0;return i+=2147483648,"c"+i}function WT(t){let i=e=>{let n=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=L7,e.hostDirectives=n?t.map(QS):[t]):n?e.hostDirectives.unshift(...t.map(QS)):e.hostDirectives.unshift(t)};return i.ngInherit=!0,i}function L7(t){let i=[],e=!1,n=null,r=null;for(let o=0;o<t.length;o++){let a=t[o];if(a.hostDirectives!==null){let s=i.length;n??=new Map,r??=new Map,BP(a,i,n),r.set(a,[s,i.length-1])}o===0&&qa(a)&&(e=!0,i.push(a))}for(let o=e?1:0;o<t.length;o++)i.push(t[o]);return[i,n,r]}function BP(t,i,e){if(t.hostDirectives!==null)for(let n of t.hostDirectives)if(typeof n=="function"){let r=n();for(let o of r)MO(QS(o),i,e)}else MO(n,i,e)}function MO(t,i,e){let n=dv(t.directive);B7(n.declaredInputs,t.inputs),BP(n,i,e),e.set(n,t),i.push(n)}function QS(t){return typeof t=="function"?{directive:$i(t),inputs:za,outputs:za}:{directive:$i(t.directive),inputs:NO(t.inputs),outputs:NO(t.outputs)}}function NO(t){if(t===void 0||t.length===0)return za;let i={};for(let e=0;e<t.length;e+=2)i[t[e]]=t[e+1];return i}function B7(t,i){for(let e in i)if(i.hasOwnProperty(e)){let n=i[e],r=t[e];t[n]=r}}function V7(t){return Object.getPrototypeOf(t.prototype).constructor}function he(t){let i=V7(t.type),e=!0,n=[t];for(;i&&i!==Function.prototype&&i!==Object.prototype;){let r,o=Object.hasOwn(i,Tf)?i[Tf]:void 0,a=Object.hasOwn(i,If)?i[If]:void 0;if(qa(t))r=o??a;else{if(o)throw new ce(903,!1);r=a}if(r){if(e){n.push(r);let d=t;d.inputs=_S(t.inputs),d.declaredInputs=_S(t.declaredInputs),d.outputs=_S(t.outputs);let p=r.hostBindings;p&&G7(t,p);let f=r.viewQuery,b=r.contentQueries;if(f&&U7(t,f),b&&z7(t,b),j7(t,r),CN(t.outputs,r.outputs),qa(r)&&r.data.animation){let w=t.data;w.animation=(w.animation||[]).concat(r.data.animation)}}let s=r.features;if(s)for(let d=0;d<s.length;d++){let p=s[d];p&&p.ngInherit&&p(t),p===he&&(e=!1)}}i=Object.getPrototypeOf(i)}H7(n)}function j7(t,i){for(let e in i.inputs){if(!i.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let n=i.inputs[e];n!==void 0&&(t.inputs[e]=n,t.declaredInputs[e]=i.declaredInputs[e])}}function H7(t){let i=0,e=null;for(let n=t.length-1;n>=0;n--){let r=t[n];r.hostVars=i+=r.hostVars,r.hostAttrs=Qm(r.hostAttrs,e=Qm(e,r.hostAttrs))}}function _S(t){return t===za?{}:t===Pr?[]:t}function U7(t,i){let e=t.viewQuery;e?t.viewQuery=(n,r)=>{i(n,r),e(n,r)}:t.viewQuery=i}function z7(t,i){let e=t.contentQueries;e?t.contentQueries=(n,r,o)=>{i(n,r,o),e(n,r,o)}:t.contentQueries=i}function G7(t,i){let e=t.hostBindings;e?t.hostBindings=(n,r)=>{i(n,r),e(n,r)}:t.hostBindings=i}function VP(t,i,e,n,r,o,a,s){if(e.firstCreatePass){t.mergedAttrs=Qm(t.mergedAttrs,t.attrs);let f=t.tView=DT(2,t,r,o,a,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),f.queries=e.queries.embeddedTView(t))}s&&(t.flags|=s),pu(t,!1);let d=$7(e,i,t,n);xv()&&AT(e,i,d,t),Jm(d,i);let p=sP(d,i,d,t);i[n+Mn]=p,wT(i,p),D7(p,t,i)}function W7(t,i,e,n,r,o,a,s,d,p,f){let b=e+Mn,w;return i.firstCreatePass?(w=Du(i,b,4,a||null,s||null),vv()&&hP(i,t,w,Go(i.consts,p),RT),KO(i,w)):w=i.data[b],VP(w,t,i,e,n,r,o,d),Wm(w)&&p0(i,t,w),p!=null&&tg(t,w,f),w}function tp(t,i,e,n,r,o,a,s,d,p,f){let b=e+Mn,w;if(i.firstCreatePass){if(w=Du(i,b,4,a||null,s||null),p!=null){let A=Go(i.consts,p);w.localNames=[];for(let M=0;M<A.length;M+=2)w.localNames.push(A[M],-1)}}else w=i.data[b];return VP(w,t,i,e,n,r,o,d),p!=null&&tg(t,w,f),w}function fe(t,i,e,n,r,o,a,s){let d=Oe(),p=Nn(),f=Go(p.consts,o);return W7(d,p,t,i,e,n,r,f,void 0,a,s),fe}function Gc(t,i,e,n,r,o,a,s){let d=Oe(),p=Nn(),f=Go(p.consts,o);return tp(d,p,t,i,e,n,r,f,void 0,a,s),Gc}var $7=q7;function q7(t,i,e,n){return Pf(!0),i[Rn].createComment("")}var v0=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Os(t){return typeof t=="function"&&t[yi]!==void 0}function $T(t){return Os(t)&&typeof t.set=="function"}var y0=new R(""),C0=new R(""),rg=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,n,r){this._ngZone=e,this.registry=n,Bx()&&(this._destroyRef=m(dn,{optional:!0})??void 0),qT||(HP(r),r.addToWindow(n)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),n=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{le.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),n.unsubscribe()})}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(a=>a.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 \u0275fac=function(n){return new(n||t)(F(le),F(jP),F(C0))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),jP=(()=>{class t{_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 qT?.findTestabilityInTree(this,e,n)??null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function HP(t){qT=t}var qT;function Vl(t){return!!t&&typeof t.then=="function"}function D0(t){return!!t&&typeof t.subscribe=="function"}var YT=new R("");function E0(t){return Fc([{provide:YT,multi:!0,useValue:t}])}var KT=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n});appInits=m(YT,{optional:!0})??[];injector=m(ie);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Yi(this.injector,r);if(Vl(o))e.push(o);else if(D0(o)){let a=new Promise((s,d)=>{o.subscribe({complete:s,error:d})});e.push(a)}}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 \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),w0=new R("");function UP(){jw(()=>{let t="";throw new ce(600,t)})}function zP(t){return t.isBoundToModule}var Y7=10;function XT(t,i){return Array.isArray(i)?i.reduce(XT,t):L(L({},t),i)}var Qi=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m(Eo);afterRenderManager=m(d0);zonelessEnabled=m(Km);rootEffectScheduler=m(Tv);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new O;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=m(As);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe($(e=>!e))}constructor(){m(Xa,{optional:!0})}whenStable(){let e;return new Promise(n=>{e=this.isStable.subscribe({next:r=>{r&&n()}})}).finally(()=>{e.unsubscribe()})}_injector=m(_n);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,n){return this.bootstrapImpl(e,n)}bootstrapImpl(e,n,r=ie.NULL){return this._injector.get(le).run(()=>{jn(vn.BootstrapComponentStart);let a=e instanceof g0;if(!this._injector.get(KT).done){let M="";throw new ce(405,M)}let d;a?d=e:d=this._injector.get(Bl).resolveComponentFactory(e),this.componentTypes.push(d.componentType);let p=zP(d)?void 0:this._injector.get(Ms),f=n||d.selector,b=d.create(r,[],f,p),w=b.location.nativeElement,A=b.injector.get(y0,null);return A?.registerApplication(w),b.onDestroy(()=>{this.detachView(b.hostView),Hf(this.components,b),A?.unregisterApplication(w)}),this._loadComponent(b),jn(vn.BootstrapComponentEnd,b),b})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){jn(vn.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(c0.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw jn(vn.ChangeDetectionEnd),new ce(101,!1);let e=nt(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,nt(e),this.afterTick.next(),jn(vn.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(fi,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<Y7;){jn(vn.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{jn(vn.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!n&&!Of(r))continue;let o=n&&!this.zonelessEnabled?0:1;iP(r,o),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Of(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;Hf(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(w0,[]).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._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Hf(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ce(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Hf(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function og(t,i){let e=Oe(),n=Is();if(oo(e,n,i)){let r=Nn(),o=hu();if(h0(o,r,e,t,i))Ts(o)&&XF(e,o.index);else{let s=zo(o,e);ZF(e[Rn],s,null,o.value,t,i,null)}}return og}function oe(t,i,e,n){let r=Oe(),o=Is();if(oo(r,o,i)){let a=Nn(),s=hu();E6(s,r,t,i,e,n)}return oe}var JS=class{destroy(i){}updateValue(i,e){}swap(i,e){let n=Math.min(i,e),r=Math.max(i,e),o=this.detach(r);if(r-n>1){let a=this.detach(n);this.attach(n,o),this.attach(r,a)}else this.attach(n,o)}move(i,e){this.attach(e,this.detach(i))}};function bS(t,i,e,n,r){return t===e&&Object.is(i,n)?1:Object.is(r(t,i),r(e,n))?-1:0}function K7(t,i,e,n){let r,o,a=0,s=t.length-1,d=void 0;if(Array.isArray(i)){nt(n);let p=i.length-1;for(nt(null);a<=s&&a<=p;){let f=t.at(a),b=i[a],w=bS(a,f,a,b,e);if(w!==0){w<0&&t.updateValue(a,b),a++;continue}let A=t.at(s),M=i[p],J=bS(s,A,p,M,e);if(J!==0){J<0&&t.updateValue(s,M),s--,p--;continue}let j=e(a,f),K=e(s,A),Te=e(a,b);if(Object.is(Te,K)){let tn=e(p,M);Object.is(tn,j)?(t.swap(a,s),t.updateValue(s,M),p--,s--):t.move(s,a),t.updateValue(a,b),a++;continue}if(r??=new Zv,o??=FO(t,a,s,e),eT(t,r,a,Te))t.updateValue(a,b),a++,s++;else if(o.has(Te))r.set(j,t.detach(a)),s--;else{let tn=t.create(a,i[a]);t.attach(a,tn),a++,s++}}for(;a<=p;)OO(t,r,e,a,i[a]),a++}else if(i!=null){nt(n);let p=i[Symbol.iterator]();nt(null);let f=p.next();for(;!f.done&&a<=s;){let b=t.at(a),w=f.value,A=bS(a,b,a,w,e);if(A!==0)A<0&&t.updateValue(a,w),a++,f=p.next();else{r??=new Zv,o??=FO(t,a,s,e);let M=e(a,w);if(eT(t,r,a,M))t.updateValue(a,w),a++,s++,f=p.next();else if(!o.has(M))t.attach(a,t.create(a,w)),a++,s++,f=p.next();else{let J=e(a,b);r.set(J,t.detach(a)),s--}}}for(;!f.done;)OO(t,r,e,t.length,f.value),f=p.next()}for(;a<=s;)t.destroy(t.detach(s--));r?.forEach(p=>{t.destroy(p)})}function eT(t,i,e,n){return i!==void 0&&i.has(n)?(t.attach(e,i.get(n)),i.delete(n),!0):!1}function OO(t,i,e,n,r){if(eT(t,i,n,e(n,r)))t.updateValue(n,r);else{let o=t.create(n,r);t.attach(n,o)}}function FO(t,i,e,n){let r=new Set;for(let o=i;o<=e;o++)r.add(n(o,t.at(o)));return r}var Zv=class{kvMap=new Map;_vMap=void 0;has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;let e=this.kvMap.get(i);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(i,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,e){if(this.kvMap.has(i)){let n=this.kvMap.get(i);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(i,e)}forEach(i){for(let[e,n]of this.kvMap)if(i(n,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),i(n,e)}}};function v(t,i,e,n,r,o,a,s){qo("NgControlFlow");let d=Oe(),p=Nn(),f=Go(p.consts,o);return tp(d,p,t,i,e,n,r,f,256,a,s),ZT}function ZT(t,i,e,n,r,o,a,s){qo("NgControlFlow");let d=Oe(),p=Nn(),f=Go(p.consts,o);return tp(d,p,t,i,e,n,r,f,512,a,s),ZT}function y(t,i){qo("NgControlFlow");let e=Oe(),n=Is(),r=e[n]!==Zi?e[n]:-1,o=r!==-1?Qv(e,Mn+r):void 0,a=0;if(oo(e,n,t)){let s=nt(null);try{if(o!==void 0&&cP(o,a),t!==-1){let d=Mn+t,p=Qv(e,d),f=rT(e[st],d),b=uP(p,f,e),w=ng(e,f,i,{dehydratedView:b});ig(p,w,a,ep(f,b))}}finally{nt(s)}}else if(o!==void 0){let s=lP(o,a);s!==void 0&&(s[Ti]=i)}}var tT=class{lContainer;$implicit;$index;constructor(i,e,n){this.lContainer=i,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-Ci}};function GP(t){return t}function at(t,i){return i}var nT=class{hasEmptyBlock;trackByFn;liveCollection;constructor(i,e,n){this.hasEmptyBlock=i,this.trackByFn=e,this.liveCollection=n}};function He(t,i,e,n,r,o,a,s,d,p,f,b,w){qo("NgControlFlow");let A=Oe(),M=Nn(),J=d!==void 0,j=Oe(),K=s?a.bind(j[no][Ti]):a,Te=new nT(J,K);j[Mn+t]=Te,tp(A,M,t+1,i,e,n,r,Go(M.consts,o),256),J&&tp(A,M,t+2,d,p,f,b,Go(M.consts,w),512)}var iT=class extends JS{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(i,e,n){super(),this.lContainer=i,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-Ci}at(i){return this.getLView(i)[Ti].$implicit}attach(i,e){let n=e[ou];this.needsIndexUpdate||=i!==this.length,ig(this.lContainer,e,i,ep(this.templateTNode,n)),X7(this.lContainer,i)}detach(i){return this.needsIndexUpdate||=i!==this.length-1,Z7(this.lContainer,i),Q7(this.lContainer,i)}create(i,e){let n=Gv(this.lContainer,this.templateTNode.tView.ssrId);return ng(this.hostLView,this.templateTNode,new tT(this.lContainer,e,i),{dehydratedView:n})}destroy(i){u0(i[st],i)}updateValue(i,e){this.getLView(i)[Ti].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i<this.length;i++)this.getLView(i)[Ti].$index=i}getLView(i){return J7(this.lContainer,i)}};function Ue(t){let i=nt(null),e=Do();
4try{let n=Oe(),r=n[st],o=n[e],a=e+1,s=Qv(n,a);if(o.liveCollection===void 0){let p=rT(r,a);o.liveCollection=new iT(s,n,p)}else o.liveCollection.reset();let d=o.liveCollection;if(K7(d,t,o.trackByFn,i),d.updateIndexes(),o.hasEmptyBlock){let p=Is(),f=d.length===0;if(oo(n,p,f)){let b=e+2,w=Qv(n,b);if(f){let A=rT(r,b),M=uP(w,A,n),J=ng(n,A,void 0,{dehydratedView:M});ig(w,J,0,ep(A,M))}else r.firstUpdatePass&&$6(w),cP(w,0)}}}finally{nt(i)}}function Qv(t,i){return t[i]}function X7(t,i){if(t.length<=Ci)return;let e=Ci+i,n=t[e],r=n?n[Lc]:void 0;if(n&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let o=n[Ml];n6(o,r),bu.delete(n[Nl]),r.detachedLeaveAnimationFns=void 0}}function Z7(t,i){if(t.length<=Ci)return;let e=Ci+i,n=t[e],r=n?n[Lc]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function Q7(t,i){return Wf(t,i)}function J7(t,i){return lP(t,i)}function rT(t,i){return gv(t,i)}function g(t,i,e){let n=Oe(),r=Is();if(oo(n,r,i)){let o=Nn(),a=hu();YF(a,n,t,i,n[Rn],e)}return g}function oT(t,i,e,n,r){h0(i,t,e,r?"class":"style",n)}function u(t,i,e,n){let r=Oe(),o=r[st],a=t+Mn,s=o.firstCreatePass?PT(a,r,2,i,RT,vv(),e,n):o.data[a];if(Ts(s)){let d=r[Wa].tracingService;if(d&&d.componentCreate){let p=o.data[s.directiveStart+s.componentOffset];return d.componentCreate(DP(p),()=>(PO(t,i,r,s,n),u))}}return PO(t,i,r,s,n),u}function PO(t,i,e,n,r){if(MT(n,e,t,i,WP),Wm(n)){let o=e[st];p0(o,e,n),pT(o,n,e)}r!=null&&tg(e,n)}function c(){let t=Nn(),i=Ki(),e=NT(i);return t.firstCreatePass&&LT(t,e),Qx(e)&&Jx(),Xx(),e.classesWithoutHost!=null&&O8(e)&&oT(t,e,Oe(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&F8(e)&&oT(t,e,Oe(),e.stylesWithoutHost,!1),c}function x(t,i,e,n){return u(t,i,e,n),c(),x}function ft(t,i,e,n){let r=Oe(),o=r[st],a=t+Mn,s=o.firstCreatePass?a7(a,o,2,i,e,n):o.data[a];return MT(s,r,t,i,WP),n!=null&&tg(r,s),ft}function _t(){let t=Ki(),i=NT(t);return Qx(i)&&Jx(),Xx(),_t}function gi(t,i,e,n){return ft(t,i,e,n),_t(),gi}var WP=(t,i,e,n,r)=>(Pf(!0),TF(i[Rn],n,sS()));function yn(t,i,e){let n=Oe(),r=n[st],o=t+Mn,a=r.firstCreatePass?PT(o,n,8,"ng-container",RT,vv(),i,e):r.data[o];if(MT(a,n,t,"ng-container",e9),Wm(a)){let s=n[st];p0(s,n,a),pT(s,a,n)}return e!=null&&tg(n,a),yn}function Cn(){let t=Nn(),i=Ki(),e=NT(i);return t.firstCreatePass&&LT(t,e),Cn}function Di(t,i,e){return yn(t,i,e),Cn(),Di}var e9=(t,i,e,n,r)=>(Pf(!0),A$(i[Rn],""));function Se(){return Oe()}function In(t,i,e){let n=Oe(),r=Is();if(oo(n,r,i)){let o=Nn(),a=hu();KF(a,n,t,i,n[Rn],e)}return In}var Bf=void 0;function t9(t){let i=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return i===1&&e===0?1:5}var n9=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Bf,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Bf,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Bf,Bf,Bf],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",t9],vS=Object.create(null);function Yo(t){let i=i9(t),e=LO(i);if(e)return e;let n=i.split("-")[0];if(e=LO(n),e)return e;if(n==="en")return n9;throw new ce(701,!1)}function LO(t){if(!(t in vS)){let i=Fi.ng&&Fi.ng.common&&Fi.ng.common.locales&&Fi.ng.common.locales[t];return i!==void 0&&(vS[t]=i),i}return vS[t]}var Ii=(function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t})(Ii||{});function i9(t){return t.toLowerCase().replace(/_/g,"-")}var ag="en-US";var r9=ag;function $P(t){typeof t=="string"&&(r9=t.toLowerCase().replace(/_/g,"-"))}
vendor: 11,435 bytes, line 4
4function T(t,i,e){let n=Oe(),r=Nn(),o=Ki();return qP(r,n,n[Rn],o,t,i,e),T}function Fs(t,i,e){let n=Oe(),r=Nn(),o=Ki();return(o.type&3||e)&&yP(o,r,n,e,n[Rn],t,i,Lv(o,n,i)),Fs}function qP(t,i,e,n,r,o,a){let s=!0,d=null;if((n.type&3||a)&&(d??=Lv(n,i,o),yP(n,t,i,a,e,r,o,d)&&(s=!1)),s){let p=n.outputs?.[r],f=n.hostDirectiveOutputs?.[r];if(f&&f.length)for(let b=0;b<f.length;b+=2){let w=f[b],A=f[b+1];d??=Lv(n,i,o),AO(n,i,w,A,r,d)}if(p&&p.length)for(let b of p)d??=Lv(n,i,o),AO(n,i,b,r,r,d)}}function _(t=1){return QN(t)}function o9(t,i){let e=null,n=H$(t);for(let r=0;r<i.length;r++){let o=i[r];if(o==="*"){e=r;continue}if(n===null?PF(t,o,!0):G$(n,o))return r}return e}function Ie(t){let i=Oe()[no][to];if(!i.projection){let e=t?t.length:1,n=i.projection=TN(e,null),r=n.slice(),o=i.child;for(;o!==null;){if(o.type!==128){let a=t?o9(o,t):0;a!==null&&(r[a]?r[a].projectionNext=o:n[a]=o,r[a]=o)}o=o.next}}}function re(t,i=0,e,n,r,o){let a=Oe(),s=Nn(),d=n?t+1:null;d!==null&&tp(a,s,d,n,r,o,null,e);let p=Du(s,Mn+t,16,null,e||null);p.projection===null&&(p.projection=i),nS();let b=!a[ou]||Zx();a[no][to].projection[p.projection]===null&&d!==null?a9(a,s,d):b&&!o0(p)&&p6(s,a,p)}function a9(t,i,e){let n=Mn+e,r=i.data[n],o=t[n],a=Gv(o,r.tView.ssrId),s=ng(t,r,void 0,{dehydratedView:a});ig(o,s,0,ep(r,a))}function Gt(t,i,e,n){return IP(t,i,e,n),Gt}function ve(t,i,e){return TP(t,i,e),ve}function H(t){let i=Oe(),e=Nn(),n=Dv();Ff(n+1);let r=jT(e,n);if(t.dirty&&PN(i)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=kP(i,n);t.reset(o,sF),t.notifyOnChanges()}return!0}return!1}function U(){return VT(Oe(),Dv())}function x0(t,i,e,n,r){return MP(i,IP(t,e,n,r)),x0}function Wc(t,i,e,n){return MP(t,TP(i,e,n)),Wc}function $c(t=1){Ff(Dv()+t)}function ye(t){let i=iS();return uu(i,Mn+t)}function Rv(t,i){return t<<17|i<<2}function vu(t){return t>>17&32767}function s9(t){return(t&2)==2}function l9(t,i){return t&131071|i<<17}function aT(t){return t|2}function np(t){return(t&131068)>>2}function yS(t,i){return t&-131069|i<<2}function c9(t){return(t&1)===1}function sT(t){return t|1}function d9(t,i,e,n,r,o){let a=o?i.classBindings:i.styleBindings,s=vu(a),d=np(a);t[n]=e;let p=!1,f;if(Array.isArray(e)){let b=e;f=b[1],(f===null||Hm(b,f)>0)&&(p=!0)}else f=e;if(r)if(d!==0){let w=vu(t[s+1]);t[n+1]=Rv(w,s),w!==0&&(t[w+1]=yS(t[w+1],n)),t[s+1]=l9(t[s+1],n)}else t[n+1]=Rv(s,0),s!==0&&(t[s+1]=yS(t[s+1],n)),s=n;else t[n+1]=Rv(d,0),s===0?s=n:t[d+1]=yS(t[d+1],n),d=n;p&&(t[n+1]=aT(t[n+1])),BO(t,f,n,!0),BO(t,f,n,!1),u9(i,f,t,n,o),a=Rv(s,d),o?i.classBindings=a:i.styleBindings=a}function u9(t,i,e,n,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof i=="string"&&Hm(o,i)>=0&&(e[n+1]=sT(e[n+1]))}function BO(t,i,e,n){let r=t[e+1],o=i===null,a=n?vu(r):np(r),s=!1;for(;a!==0&&(s===!1||o);){let d=t[a],p=t[a+1];m9(d,i)&&(s=!0,t[a+1]=n?sT(p):aT(p)),a=n?vu(p):np(p)}s&&(t[e+1]=n?aT(r):sT(r))}function m9(t,i){return t===null||i==null||(Array.isArray(t)?t[1]:t)===i?!0:Array.isArray(t)&&typeof i=="string"?Hm(t,i)>=0:!1}var Xi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function YP(t){return t.substring(Xi.key,Xi.keyEnd)}function p9(t){return t.substring(Xi.value,Xi.valueEnd)}function h9(t){return ZP(t),KP(t,ip(t,0,Xi.textEnd))}function KP(t,i){let e=Xi.textEnd;return e===i?-1:(i=Xi.keyEnd=g9(t,Xi.key=i,e),ip(t,i,e))}function f9(t){return ZP(t),XP(t,ip(t,0,Xi.textEnd))}function XP(t,i){let e=Xi.textEnd,n=Xi.key=ip(t,i,e);return e===n?-1:(n=Xi.keyEnd=_9(t,n,e),n=VO(t,n,e,58),n=Xi.value=ip(t,n,e),n=Xi.valueEnd=b9(t,n,e),VO(t,n,e,59))}function ZP(t){Xi.key=0,Xi.keyEnd=0,Xi.value=0,Xi.valueEnd=0,Xi.textEnd=t.length}function ip(t,i,e){for(;i<e&&t.charCodeAt(i)<=32;)i++;return i}function g9(t,i,e){for(;i<e&&t.charCodeAt(i)>32;)i++;return i}function _9(t,i,e){let n;for(;i<e&&((n=t.charCodeAt(i))===45||n===95||(n&-33)>=65&&(n&-33)<=90||n>=48&&n<=57);)i++;return i}function VO(t,i,e,n){return i=ip(t,i,e),i<e&&i++,i}function b9(t,i,e){let n=-1,r=-1,o=-1,a=i,s=a;for(;a<e;){let d=t.charCodeAt(a++);if(d===59)return s;d===34||d===39?s=a=jO(t,d,a,e):i===a-4&&o===85&&r===82&&n===76&&d===40?s=a=jO(t,41,a,e):d>32&&(s=a),o=r,r=n,n=d&-33}return s}function jO(t,i,e,n){let r=-1,o=e;for(;o<n;){let a=t.charCodeAt(o++);if(a==i&&r!==92)return o;a==92&&r===92?r=0:r=a}throw new Error}function On(t,i,e){return QP(t,i,e,!1),On}function ee(t,i){return QP(t,i,null,!0),ee}function S0(t){JP(nL,v9,t,!1)}function v9(t,i){for(let e=f9(i);e>=0;e=XP(i,e))nL(t,YP(i),p9(i))}function Be(t){JP(S9,y9,t,!0)}function y9(t,i){for(let e=h9(i);e>=0;e=KP(i,e))kf(t,YP(i),!0)}function QP(t,i,e,n){let r=Oe(),o=Nn(),a=qm(2);if(o.firstUpdatePass&&tL(o,t,a,n),i!==Zi&&oo(r,a,i)){let s=o.data[Do()];iL(o,s,r,r[Rn],t,r[a+1]=I9(i,e),n,a)}}function JP(t,i,e,n){let r=Nn(),o=qm(2);r.firstUpdatePass&&tL(r,null,o,n);let a=Oe();if(e!==Zi&&oo(a,o,e)){let s=r.data[Do()];if(rL(s,n)&&!eL(r,o)){let d=n?s.classesWithoutHost:s.stylesWithoutHost;d!==null&&(e=lv(d,e||"")),oT(r,s,a,e,n)}else T9(r,s,a,a[Rn],a[o+1],a[o+1]=x9(t,i,e),n,o)}}function eL(t,i){return i>=t.expandoStartIndex}function tL(t,i,e,n){let r=t.data;if(r[e+1]===null){let o=r[Do()],a=eL(t,e);rL(o,n)&&i===null&&!a&&(i=!1),i=C9(r,o,i,n),d9(r,o,i,e,a,n)}}function C9(t,i,e,n){let r=YN(t),o=n?i.residualClasses:i.residualStyles;if(r===null)(n?i.classBindings:i.styleBindings)===0&&(e=CS(null,t,i,e,n),e=Kf(e,i.attrs,n),o=null);else{let a=i.directiveStylingLast;if(a===-1||t[a]!==r)if(e=CS(r,t,i,e,n),o===null){let d=D9(t,i,n);d!==void 0&&Array.isArray(d)&&(d=CS(null,t,i,d[1],n),d=Kf(d,i.attrs,n),E9(t,i,n,d))}else o=w9(t,i,n)}return o!==void 0&&(n?i.residualClasses=o:i.residualStyles=o),e}function D9(t,i,e){let n=e?i.classBindings:i.styleBindings;if(np(n)!==0)return t[vu(n)]}function E9(t,i,e,n){let r=e?i.classBindings:i.styleBindings;t[vu(r)]=n}function w9(t,i,e){let n,r=i.directiveEnd;for(let o=1+i.directiveStylingLast;o<r;o++){let a=t[o].hostAttrs;n=Kf(n,a,e)}return Kf(n,i.attrs,e)}function CS(t,i,e,n,r){let o=null,a=e.directiveEnd,s=e.directiveStylingLast;for(s===-1?s=e.directiveStart:s++;s<a&&(o=i[s],n=Kf(n,o.hostAttrs,r),o!==t);)s++;return t!==null&&(e.directiveStylingLast=s),n}function Kf(t,i,e){let n=e?1:2,r=-1;if(i!==null)for(let o=0;o<i.length;o++){let a=i[o];typeof a=="number"?r=a:r===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),kf(t,a,e?!0:i[++o]))}return t===void 0?null:t}function x9(t,i,e){if(e==null||e==="")return Pr;let n=[],r=ao(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(n,r[o],!0);else if(r instanceof Set)for(let o of r)t(n,o,!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(n,o,r[o]);else typeof r=="string"&&i(n,r);return n}function nL(t,i,e){kf(t,i,ao(e))}function S9(t,i,e){let n=String(i);n!==""&&!n.includes(" ")&&kf(t,n,e)}function T9(t,i,e,n,r,o,a,s){r===Zi&&(r=Pr);let d=0,p=0,f=0<r.length?r[0]:null,b=0<o.length?o[0]:null;for(;f!==null||b!==null;){let w=d<r.length?r[d+1]:void 0,A=p<o.length?o[p+1]:void 0,M=null,J;f===b?(d+=2,p+=2,w!==A&&(M=b,J=A)):b===null||f!==null&&f<b?(d+=2,M=f):(p+=2,M=b,J=A),M!==null&&iL(t,i,e,n,M,J,a,s),f=d<r.length?r[d]:null,b=p<o.length?o[p]:null}}function iL(t,i,e,n,r,o,a,s){if(!(i.type&3))return;let d=t.data,p=d[s+1],f=c9(p)?HO(d,i,e,r,np(p),a):void 0;if(!Jv(f)){Jv(o)||s9(p)&&(o=HO(d,null,e,r,s,a));let b=Gx(Do(),e);f6(n,a,b,r,o)}}function HO(t,i,e,n,r,o){let a=i===null,s;for(;r>0;){let d=t[r],p=Array.isArray(d),f=p?d[1]:d,b=f===null,w=e[r+1];w===Zi&&(w=b?Pr:void 0);let A=b?hv(w,n):f===n?w:void 0;if(p&&!Jv(A)&&(A=hv(d,n)),Jv(A)&&(s=A,a))return s;let M=t[r+1];r=a?vu(M):np(M)}if(i!==null){let d=o?i.residualClasses:i.residualStyles;d!=null&&(s=hv(d,n))}return s}function Jv(t){return t!==void 0}function I9(t,i){return t==null||t===""||(typeof i=="string"?t=t+i:typeof t=="object"&&(t=xf(ao(t)))),t}function rL(t,i){return(t.flags&(i?8:16))!==0}function h(t,i=""){let e=Oe(),n=Nn(),r=t+Mn,o=n.firstCreatePass?Du(n,r,1,i,null):n.data[r],a=A9(n,e,o,i);e[r]=a,xv()&&AT(n,e,a,o),pu(o,!1)}var A9=(t,i,e,n)=>(Pf(!0),T$(i[Rn],n));function oL(t,i,e,n=""){return oo(t,Is(),e)?i+eo(e)+n:Zi}function k9(t,i,e,n,r,o=""){let a=yv(),s=$f(t,a,e,r);return qm(2),s?i+eo(e)+n+eo(r)+o:Zi}function aL(t,i,e,n,r,o,a,s=""){let d=yv(),p=bP(t,d,e,r,a);return qm(3),p?i+eo(e)+n+eo(r)+o+eo(a)+s:Zi}function R9(t,i,e,n,r,o,a,s,d,p=""){let f=yv(),b=vP(t,f,e,r,a,d);return qm(4),b?i+eo(e)+n+eo(r)+o+eo(a)+s+eo(d)+p:Zi}function S(t){return se("",t),S}function se(t,i,e){let n=Oe(),r=oL(n,t,i,e);return r!==Zi&&T0(n,Do(),r),se}function so(t,i,e,n,r){let o=Oe(),a=k9(o,t,i,e,n,r);return a!==Zi&&T0(o,Do(),a),so}function wo(t,i,e,n,r,o,a){let s=Oe(),d=aL(s,t,i,e,n,r,o,a);return d!==Zi&&T0(s,Do(),d),wo}function sL(t,i,e,n,r,o,a,s,d){let p=Oe(),f=R9(p,t,i,e,n,r,o,a,s,d);return f!==Zi&&T0(p,Do(),f),sL}function T0(t,i,e){let n=Gx(i,t);I$(t[Rn],n,e)}function xo(t,i,e){$T(i)&&(i=i());let n=Oe(),r=Is();if(oo(n,r,i)){let o=Nn(),a=hu();YF(a,n,t,i,n[Rn],e)}return xo}function Ko(t,i){let e=$T(t);return e&&t.set(i),e}function So(t,i){let e=Oe(),n=Nn(),r=Ki();return qP(n,e,e[Rn],r,t,i),So}var lL={};function cL(t){qo("NgLet");let i=Nn(),e=Oe(),n=t+Mn,r=Du(i,n,128,null,null);return pu(r,!1),Nf(i,e,n,lL),cL}function M9(t){let i=Nn(),e=Oe(),n=Do();return Nf(i,e,n,t),t}function N9(t){let i=iS(),e=uu(i,Mn+t);if(e===lL)throw new ce(314,!1);return e}function ri(t){return oo(Oe(),Is(),t)?eo(t):Zi}function jl(t,i,e=""){return oL(Oe(),t,i,e)}function QT(t,i,e,n,r,o,a=""){return aL(Oe(),t,i,e,n,r,o,a)}function UO(t,i,e){let n=Nn();n.firstCreatePass&&dL(i,n.data,n.blueprint,qa(t),e)}function dL(t,i,e,n,r){if(t=$i(t),Array.isArray(t))for(let o=0;o<t.length;o++)dL(t[o],i,e,n,r);else{let o=Nn(),a=Oe(),s=Ki(),d=nu(t)?t:$i(t.provide),p=Lx(t),f=s.providerIndexes&1048575,b=s.directiveStart,w=s.providerIndexes>>20;if(nu(t)||!t.multi){let A=new _u(p,r,E,null),M=ES(d,i,r?f:f+w,b);M===-1?(xS(Uv(s,a),o,d),DS(o,t,i.length),i.push(d),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(A),a.push(A)):(e[M]=A,a[M]=A)}else{let A=ES(d,i,f+w,b),M=ES(d,i,f,f+w),J=A>=0&&e[A],j=M>=0&&e[M];if(r&&!j||!r&&!J){xS(Uv(s,a),o,d);let K=P9(r?F9:O9,e.length,r,n,p,t);!r&&j&&(e[M].providerFactory=K),DS(o,t,i.length,0),i.push(d),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(K),a.push(K)}else{let K=uL(e[r?M:A],p,!r&&n);DS(o,t,A>-1?A:M,K)}!r&&n&&j&&e[M].componentProviders++}}}function DS(t,i,e,n){let r=nu(i),o=MN(i);if(r||o){let d=(o?$i(i.useClass):i).prototype.ngOnDestroy;if(d){let p=t.destroyHooks||(t.destroyHooks=[]);if(!r&&i.multi){let f=p.indexOf(e);f===-1?p.push(e,[n,d]):p[f+1].push(n,d)}else p.push(e,d)}}}function uL(t,i,e){return e&&t.componentProviders++,t.multi.push(i)-1}function ES(t,i,e,n){for(let r=e;r<n;r++)if(i[r]===t)return r;return-1}function O9(t,i,e,n,r){return lT(this.multi,[])}function F9(t,i,e,n,r){let o=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,d=Uf(n,n[st],this.providerFactory.index,r);a=d.slice(0,s),lT(o,a);for(let p=s;p<d.length;p++)a.push(d[p])}else a=[],lT(o,a);return a}function lT(t,i){for(let e=0;e<t.length;e++){let n=t[e];i.push(n())}return i}function P9(t,i,e,n,r,o){let a=new _u(t,e,E,null);return a.multi=[],a.index=i,a.componentProviders=0,uL(a,r,n&&!e),a}function me(t,i){return e=>{e.providersResolver=(n,r)=>UO(n,r?r(t):t,!1),i&&(e.viewProvidersResolver=(n,r)=>UO(n,r?r(i):i,!0))}}function qc(t,i,e){let n=t.\u0275cmp;n.directiveDefs=Xv(i,FP),n.pipeDefs=Xv(e,Ax)}function lo(t,i,e){return mL(Oe(),Vc(),t,i,e)}
4function L9(t,i,e,n){return pL(Oe(),Vc(),t,i,e,n)}function JT(t,i,e,n,r,o,a){return hL(Oe(),Vc(),t,i,e,n,r,o)}function I0(t,i){let e=t[i];return e===Zi?void 0:e}function mL(t,i,e,n,r,o){let a=i+e;return oo(t,a,r)?_0(t,a+1,o?n.call(o,r):n(r)):I0(t,a+1)}function pL(t,i,e,n,r,o,a){let s=i+e;return $f(t,s,r,o)?_0(t,s+2,a?n.call(a,r,o):n(r,o)):I0(t,s+2)}function B9(t,i,e,n,r,o,a,s){let d=i+e;return bP(t,d,r,o,a)?_0(t,d+3,s?n.call(s,r,o,a):n(r,o,a)):I0(t,d+3)}function hL(t,i,e,n,r,o,a,s,d){let p=i+e;return vP(t,p,r,o,a,s)?_0(t,p+4,d?n.call(d,r,o,a,s):n(r,o,a,s)):I0(t,p+4)}function be(t,i){let e=Nn(),n,r=t+Mn;e.firstCreatePass?(n=V9(i,e.pipeRegistry),e.data[r]=n,n.onDestroy&&(e.destroyHooks??=[]).push(r,n.onDestroy)):n=e.data[r];let o=n.factory||(n.factory=Mc(n.type,!0)),a,s=Jr(E);try{let d=Hv(!1),p=o();return Hv(d),Nf(e,Oe(),r,p),p}finally{Jr(s)}}function V9(t,i){if(i)for(let e=i.length-1;e>=0;e--){let n=i[e];if(t===n.name)return n}}function Fe(t,i,e){let n=t+Mn,r=Oe(),o=uu(r,n);return A0(r,n)?mL(r,Vc(),i,o.transform,e,o):o.transform(e)}function Dr(t,i,e,n){let r=t+Mn,o=Oe(),a=uu(o,r);return A0(o,r)?pL(o,Vc(),i,a.transform,e,n,a):a.transform(e,n)}function ap(t,i,e,n,r){let o=t+Mn,a=Oe(),s=uu(a,o);return A0(a,o)?B9(a,Vc(),i,s.transform,e,n,r,s):s.transform(e,n,r)}function eI(t,i,e,n,r,o){let a=t+Mn,s=Oe(),d=uu(s,a);return A0(s,a)?hL(s,Vc(),i,d.transform,e,n,r,o,d):d.transform(e,n,r,o)}function A0(t,i){return t[st].data[i].pure}function fa(t,i){return f0(t,i)}var Mv=null;function fL(t){Mv!==null&&(t.defaultEncapsulation!==Mv.defaultEncapsulation||t.preserveWhitespaces!==Mv.preserveWhitespaces)||(Mv=t)}var e0=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},tI=(()=>{class t{compileModuleSync(e){return new Yf(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let n=this.compileModuleSync(e),r=Ix(e),o=OF(r.declarations).reduce((a,s)=>{let d=xs(s);return d&&a.push(new Uc(d)),a},[]);return new e0(n,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),gL=new R("");var _L=(()=>{class t{applicationErrorHandler=m(Eo);appRef=m(Qi);taskService=m(As);ngZone=m(le);zonelessEnabled=m(Km);tracing=m(Xa,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new _e;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ef):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(Sv,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}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 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let n=this.useMicrotaskScheduler?tO:dS;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.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDef
4ined&&Zone.current.get(Ef+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();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){this.applicationErrorHandler(n)}finally{this.taskService.remove(e),this.cleanup()}}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 \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bL(){return[{provide:Ua,useExisting:_L},{provide:le,useClass:wf},{provide:Km,useValue:!0}]}function j9(){return typeof $localize<"u"&&$localize.locale||ag}var wu=new R("",{factory:()=>m(wu,{optional:!0,skipSelf:!0})||j9()});var sg=class{destroyed=!1;listeners=null;errorHandler=m(Lr,{optional:!0});destroyRef=m(dn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(i){if(this.destroyed)throw new ce(953,!1);return(this.listeners??=[]).push(i),{unsubscribe:()=>{let e=this.listeners?.indexOf(i);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(i){if(this.destroyed){console.warn(ua(953,!1));return}if(this.listeners===null)return;let e=nt(null);try{for(let n of this.listeners)try{n(i)}catch(r){this.errorHandler?.handleError(r)}}finally{nt(e)}}};function Wt(t){return gN(t)}function Ct(t,i){return df(t,i?.equal)}var H9=t=>t;function nI(t,i){if(typeof t=="function"){let e=dx(t,H9,i?.equal);return vL(e,i?.debugName)}else{let e=dx(t.source,t.computation,t.equal);return vL(e,t.debugName)}}function vL(t,i){let e=t[yi],n=t;return n.set=r=>hN(e,r),n.update=r=>fN(e,r),n.asReadonly=Lf.bind(t),n}var N0=Symbol("InputSignalNode#UNSET"),AL=Ae(L({},uf),{transformFn:void 0,applyValueToInputSignal(t,i){Tc(t,i)}});function kL(t,i){let e=Object.create(AL);e.value=t,e.transformFn=i?.transform;function n(){if(El(e),e.value===N0){let r=null;throw new ce(-950,r)}return e.value}return n[yi]=e,n}var di=class{attributeName;constructor(i){this.attributeName=i}__NG_ELEMENT_ID__=()=>Zf(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function YOe(t){return new sg}function yL(t,i){return kL(t,i)}function J9(t){return kL(N0,t)}var co=(yL.required=J9,yL);function CL(t,i){return UT(i)}function eq(t,i){return zT(i)}var Ps=(CL.required=eq,CL);function DL(t,i){return UT(i)}function tq(t,i){return zT(i)}var RL=(DL.required=tq,DL);function KOe(t,i){return RP(i)}function ML(t,i){let e=Object.create(AL),n=new sg;e.value=t;function r(){return El(e),EL(e.value),e.value}return r[yi]=e,r.asReadonly=Lf.bind(r),r.set=o=>{e.equal(e.value,o)||(Tc(e,o),n.emit(o))},r.update=o=>{EL(e.value),r.set(o(e.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function EL(t){if(t===N0)throw new ce(952,!1)}function wL(t,i){return ML(t,i)}function nq(t){return ML(N0,t)}var XOe=(wL.required=nq,wL);function iq(t,i,e){let n=new Yf(e);return Promise.resolve(n)}function xL(t){for(let i=t.length-1;i>=0;i--)if(t[i]!==void 0)return t[i]}var rq=(()=>{class t{zone=m(le);changeDetectionScheduler=m(Ua);applicationRef=m(Qi);applicationErrorHandler=m(Eo);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),oq=new R("",{factory:()=>!1});function aq({ngZoneFactory:t,scheduleInRootZone:i}){return t??=()=>new le(Ae(L({},NL()),{scheduleInRootZone:i})),[{provide:Km,useValue:!1},{provide:le,useFactory:t},{provide:Rl,multi:!0,useFactory:()=>{let e=m(rq,{optional:!0});return()=>e.initialize()}},{provide:Rl,multi:!0,useFactory:()=>{let e=m(sq);return()=>{e.initialize()}}},{provide:Sv,useValue:i??cS}]}function ZOe(t){let i=t?.scheduleInRootZone,e=aq({ngZoneFactory:()=>{let n=NL(t);return n.scheduleInRootZone=i,n.shouldCoalesceEventChangeDetection&&qo("NgZone_CoalesceEvent"),new le(n)},scheduleInRootZone:i});return Fc([{provide:oq,useValue:!0},e])}function NL(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var sq=(()=>{class t{subscription=new _e;initialized=!1;zone=m(le);pendingTasks=m(As);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(()=>{le.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}
vendor: 11,008 bytes, line 4
4))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{le.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var k0=new R(""),lq=new R("");function lg(t){return!t.moduleRef}function cq(t){let i=lg(t)?t.r3Injector:t.moduleRef.injector,e=i.get(le);return e.run(()=>{lg(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=i.get(Eo),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:n})}),lg(t)){let o=()=>i.destroy(),a=t.platformInjector.get(k0);a.add(o),i.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(k0);a.add(o),t.moduleRef.onDestroy(()=>{Hf(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return uq(n,e,()=>{let o=i.get(As),a=o.add(),s=i.get(KT);return s.runInitializers(),s.donePromise.then(()=>{let d=i.get(wu,ag);if($P(d||ag),!i.get(lq,!0))return lg(t)?i.get(Qi):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(lg(t)){let f=i.get(Qi);return t.rootComponent!==void 0&&f.bootstrap(t.rootComponent),f}else return OL?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(a)})})})}var OL;function SL(){OL=dq}function dq(t,i){let e=t.injector.get(Qi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>e.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new ce(-403,!1);i.push(t)}function uq(t,i,e){try{let n=e();return Vl(n)?n.catch(r=>{throw i.runOutsideAngular(()=>t(r)),r}):n}catch(n){throw i.runOutsideAngular(()=>t(n)),n}}var FL=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,n){let r=[bL(),...n?.applicationProviders??[],iO],o=OP(e.moduleType,this.injector,r);return SL(),cq({moduleRef:o,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,n=[]){let r=XT({},n);return SL(),iq(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 ce(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());let e=this._injector.get(k0,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(n){return new(n||t)(F(ie))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),cI=null;function mq(t){if(uI())throw new ce(400,!1);UP(),cI=t;let i=t.get(FL);return fq(t),i}function dI(t,i,e=[]){let n=`Platform: ${i}`,r=new R(n);return(o=[])=>{let a=uI();if(!a){let s=[...e,...o,{provide:r,useValue:!0}];a=t?.(s)??mq(pq(s,n))}return hq(r)}}function pq(t=[],i){return ie.create({name:i,providers:[{provide:Rf,useValue:"platform"},{provide:k0,useValue:new Set([()=>cI=null])},...t]})}function hq(t){let i=uI();if(!i)throw new ce(-401,!1);return i}function uI(){return cI?.get(FL)??null}function fq(t){let i=t.get(t0,null);Yi(t,()=>{i?.forEach(e=>e())})}var gq=1e4;var QOe=gq-1e3;var Ee=(()=>{class t{static __NG_ELEMENT_ID__=_q}return t})();function _q(t){return bq(Ki(),Oe(),(t&16)===16)}function bq(t,i,e){if(Ts(t)&&!e){let n=ha(t.index,i);return new Hc(n,n)}else if(t.type&175){let n=i[no];return new Hc(n,i)}return null}var rI=class{supports(i){return BT(i)}create(i){return new oI(i)}},vq=(t,i)=>i,oI=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(i){this._trackByFn=i||vq}forEachItem(i){let e;for(e=this._itHead;e!==null;e=e._next)i(e)}forEachOperation(i){let e=this._itHead,n=this._removalsHead,r=0,o=null;for(;e||n;){let a=!n||e&&e.currentIndex<TL(n,r,o)?e:n,s=TL(a,r,o),d=a.currentIndex;if(a===n)r--,n=n._nextRemoved;else if(e=e._next,a.previousIndex==null)r++;else{o||(o=[]);let p=s-r,f=d-r;if(p!=f){for(let w=0;w<p;w++){let A=w<o.length?o[w]:o[w]=0,M=A+w;f<=M&&M<p&&(o[w]=A+1)}let b=a.previousIndex;o[b]=f-p}}s!==d&&i(a,s,d)}}forEachPreviousItem(i){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)i(e)}forEachAddedItem(i){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)i(e)}forEachMovedItem(i){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)i(e)}forEachRemovedItem(i){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)i(e)}forEachIdentityChange(i){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)i(e)}diff(i){if(i==null&&(i=[]),!BT(i))throw new ce(900,!1);return this.check(i)?this:null}onDestroy(){}check(i){this._reset();let e=this._itHead,n=!1,r,o,a;if(Array.isArray(i)){this.length=i.length;for(let s=0;s<this.length;s++)o=i[s],a=this._trackByFn(s,o),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,o,a,s),n=!0):(n&&(e=this._verifyReinsertion(e,o,a,s)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else r=0,gP(i,s=>{a=this._trackByFn(r,s),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,s,a,r),n=!0):(n&&(e=this._verifyReinsertion(e,s,a,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=i,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;i!==null;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;i!==null;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,e,n,r){let o;return i===null?o=this._itTail:(o=i._prev,this._remove(i)),i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._reinsertAfter(i,o,r)):(i=this._linkedRecords===null?null:this._linkedRecords.get(n,r),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._moveAfter(i,o,r)):i=this._addAfter(new aI(e,n),o,r)),i}_verifyReinsertion(i,e,n,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?i=this._reinsertAfter(o,i._prev,r):i.currentIndex!=r&&(i.currentIndex=r,this._addToMoves(i,r)),i}_truncate(i){for(;i!==null;){let e=i._next;this._addToRemovals(this._unlink(i)),i=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(i,e,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(i);let r=i._prevRemoved,o=i._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(i,e,n),this._addToMoves(i,n),i}_moveAfter(i,e,n){return this._unlink(i),this._insertAfter(i,e,n),this._addToMoves(i,n),i}_addAfter(i,e,n){return this._insertAfter(i,e,n),this._additionsTail===null?this._additionsTail=this._additionsHead=i:this._additionsTail=this._additionsTail._nextAdded=i,i}_insertAfter(i,e,n){let r=e===null?this._itHead:e._next;return i._next=r,i._prev=e,r===null?this._itTail=i:r._prev=i,e===null?this._itHead=i:e._next=i,this._linkedRecords===null&&(this._linkedRecords=new R0),this._linkedRecords.put(i),i.currentIndex=n,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){this._linkedRecords!==null&&this._linkedRecords.remove(i);let e=i._prev,n=i._next;return e===null?this._itHead=n:e._next=n,n===null?this._itTail=e:n._prev=e,i}_addToMoves(i,e){return i.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=i:this._movesTail=this._movesTail._nextMoved=i),i}_addToRemovals(i){return this._unlinkedRecords===null&&(this._unlinkedRecords=new R0),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,e){return i.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=i:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=i,i}},aI=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(i,e){this.item=i,this.trackById=e}},sI=class{_head=null;_tail=null;add(i){this._head===null?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,e){let n;for(n=this._head;n!==null;n=n._nextDup)if((e===null||e<=n.currentIndex)&&Object.is(n.trackById,i))return n;return null}remove(i){let e=i._prevDup,n=i._nextDup;return e===null?this._head=n:e._nextDup=n,n===null?this._tail=e:n._prevDup=e,this._head===null}},R0=class{map=new Map;put(i){let e=i.trackById,n=this.map.get(e);n||(n=new sI,this.map.set(e,n)),n.add(i)}get(i,e){let n=i,r=this.map.get(n);return r?r.get(i,e):null}remove(i){let e=i.trackById;return this.map.get(e).remove(i)&&this.map.delete(e),i}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function TL(t,i,e){let n=t.previousIndex;if(n===null)return n;let r=0;return e&&n<e.length&&(r=e[n]),n+i+r}function IL(){return new Hl([new rI])}var Hl=(()=>{class t{factories;static \u0275prov=D({token:t,providedIn:"root",factory:IL});constructor(e){this.factories=e}static create(e,n){if(n!=null){let r=n.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let n=m(t,{optional:!0,skipSelf:!0});return t.create(e,n||IL())}}}find(e){let n=this.factories.find(r=>r.supports(e));if(n!=null)return n;throw new ce(901,!1)}}return t})();var PL=dI(null,"core",[]),LL=(()=>{class t{constructor(e){}static \u0275fac=function(n){return new(n||t)(F(Qi))};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();function q(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function rn(t,i=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):i}var iI=Symbol("NOT_SET"),BL=new Set,yq=Ae(L({},uf),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:iI,cleanup:null,consumerMarkedDirty(){
4if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==iI&&!wm(this))return this.signal;try{for(let r of this.cleanup??BL)r()}finally{this.cleanup?.clear()}let i=[];t!==void 0&&i.push(t),i.push(this.registerCleanupFn);let e=wl(this),n;try{n=this.userFn.apply(null,i)}finally{xc(this,e)}return(this.value===iI||!this.equal(this.value,n))&&(this.value=n,this.version++),this.signal}}),lI=class extends zf{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(i,e,n,r,o,a=null){super(i,[void 0,void 0,void 0,void 0],n,!1,o.get(dn),a),this.scheduler=r;for(let s of ST){let d=e[s];if(d===void 0)continue;let p=Object.create(yq);p.sequence=this,p.phase=s,p.userFn=d,p.dirty=!0,p.signal=()=>(El(p),p.value),p.signal[yi]=p,p.registerCleanupFn=f=>(p.cleanup??=new Set).add(f),this.nodes[s]=p,this.hooks[s]=f=>p.phaseFn(f)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let i of this.onDestroyFns)i();super.destroy();for(let i of this.nodes)if(i)try{for(let e of i.cleanup??BL)e()}finally{Sc(i)}}};function VL(t,i){let e=i?.injector??m(ie),n=e.get(Ua),r=e.get(d0),o=e.get(Xa,null,{optional:!0});r.impl??=e.get(TT);let a=t;typeof a=="function"&&(a={mixedReadWrite:t});let s=e.get(Ym,null,{optional:!0}),d=new lI(r.impl,[a.earlyRead,a.write,a.mixedReadWrite,a.read],s?.view,n,e,o?.snapshot(null));return r.impl.register(d),d}function O0(t,i){let e=xs(t),n=i.elementInjector||Um();return new Uc(e).create(n,i.projectableNodes,i.hostElement,i.environmentInjector,i.directives,i.bindings)}function F0(t){let i=xs(t);if(!i)return null;let e=new Uc(i);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}var jL=null;function Xo(){return jL}function mI(t){jL??=t}var cg=class{},Ul=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(HL),providedIn:"platform"})}return t})(),pI=new R(""),HL=(()=>{class t extends Ul{_location;_history;_doc=m(Ce);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Xo().getBaseHref(this._doc)}onPopState(e){let n=Xo().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=Xo().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 \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function P0(t,i){return t?i?t.endsWith("/")?i.startsWith("/")?t+i.slice(1):t+i:i.startsWith("/")?t+i:`${t}/${i}`:t:i}function UL(t){let i=t.search(/#|\?|$/);return t[i-1]==="/"?t.slice(0,i-1)+t.slice(i):t}function Za(t){return t&&t[0]!=="?"?`?${t}`:t}var Qa=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(B0),providedIn:"root"})}return t})(),L0=new R(""),B0=(()=>{class t extends Qa{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??m(Ce).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.on
vendor: 12,018 bytes, line 4
4HashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return P0(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+Za(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,o){let a=this.prepareExternalUrl(r+Za(o));this._platformLocation.pushState(e,n,a)}replaceState(e,n,r,o){let a=this.prepareExternalUrl(r+Za(o));this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(F(Ul),F(L0,8))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ls=(()=>{class t{_subject=new O;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=Eq(UL(zL(n))),this._locationStrategy.onPopState(r=>{this._subject.next({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+Za(n))}normalize(e){return t.stripTrailingSlash(Dq(this._basePath,zL(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+Za(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Za(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??void 0,complete:r??void 0})}static normalizeQueryParams=Za;static joinWithSlash=P0;static stripTrailingSlash=UL;static \u0275fac=function(n){return new(n||t)(F(Qa))};static \u0275prov=D({token:t,factory:()=>Cq(),providedIn:"root"})}return t})();function Cq(){return new Ls(F(Qa))}function Dq(t,i){if(!t||!i.startsWith(t))return i;let e=i.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function zL(t){return t.replace(/\/index\.html$/,"")}function Eq(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var yI=(()=>{class t extends Qa{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}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}path(e=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=P0(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,r,o){let a=this.prepareExternalUrl(r+Za(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,a)}replaceState(e,n,r,o){let a=this.prepareExternalUrl(r+Za(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(F(Ul),F(L0,8))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var Br=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(Br||{}),Hn=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(Hn||{}),To=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(To||{}),Gl={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function $L(t){return Yo(t)[Ii.LocaleId]}function qL(t,i,e){let n=Yo(t),r=[n[Ii.DayPeriodsFormat],n[Ii.DayPeriodsStandalone]],o=ga(r,i);return ga(o,e)}function YL(t,i,e){let n=Yo(t),r=[n[Ii.DaysFormat],n[Ii.DaysStandalone]],o=ga(r,i);return ga(o,e)}function KL(t,i,e){let n=Yo(t),r=[n[Ii.MonthsFormat],n[Ii.MonthsStandalone]],o=ga(r,i);return ga(o,e)}function XL(t,i){let n=Yo(t)[Ii.Eras];return ga(n,i)}function dg(t,i){let e=Yo(t);return ga(e[Ii.DateFormat],i)}function ug(t,i){let e=Yo(t);return ga(e[Ii.TimeFormat],i)}function mg(t,i){let n=Yo(t)[Ii.DateTimeFormat];return ga(n,i)}function pg(t,i){let e=Yo(t),n=e[Ii.NumberSymbols][i];if(typeof n>"u"){if(i===Gl.CurrencyDecimal)return e[Ii.NumberSymbols][Gl.Decimal];if(i===Gl.CurrencyGroup)return e[Ii.NumberSymbols][Gl.Group]}return n}function ZL(t){if(!t[Ii.ExtraData])throw new ce(2303,!1)}function QL(t){let i=Yo(t);return ZL(i),(i[Ii.ExtraData][2]||[]).map(n=>typeof n=="string"?hI(n):[hI(n[0]),hI(n[1])])}function JL(t,i,e){let n=Yo(t);ZL(n);let r=[n[Ii.ExtraData][0],n[Ii.ExtraData][1]],o=ga(r,i)||[];return ga(o,e)||[]}function ga(t,i){for(let e=i;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new ce(2304,!1)}function hI(t){let[i,e]=t.split(":");return{hours:+i,minutes:+e}}var wq=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,V0={},xq=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Sq=256;function e2(t,i,e,n){let r=Pq(t);Tq(i),i=zl(e,i)||i;let a=[],s;for(;i;)if(s=xq.exec(i),s){a=a.concat(s.slice(1));let f=a.pop();if(!f)break;i=f}else{a.push(i);break}let d=r.getTimezoneOffset();n&&(d=n2(n,d),r=Fq(r,n));let p="";return a.forEach(f=>{let b=Nq(f);p+=b?b(r,e,d):f==="''"?"'":f.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),p}function Tq(t){if(t.length>Sq)throw new ce(2300,!1)}function G0(t,i,e){let n=new Date(0);return n.setFullYear(t,i,e),n.setHours(0,0,0),n}function zl(t,i){let e=$L(t);if(V0[e]??={},V0[e][i])return V0[e][i];let n="";switch(i){case"shortDate":n=dg(t,To.Short);break;case"mediumDate":n=dg(t,To.Medium);break;case"longDate":n=dg(t,To.Long);break;case"fullDate":n=dg(t,To.Full);break;case"shortTime":n=ug(t,To.Short);break;case"mediumTime":n=ug(t,To.Medium);break;case"longTime":n=ug(t,To.Long);break;case"fullTime":n=ug(t,To.Full);break;case"short":let r=zl(t,"shortTime"),o=zl(t,"shortDate");n=j0(mg(t,To.Short),[r,o]);break;case"medium":let a=zl(t,"mediumTime"),s=zl(t,"mediumDate");n=j0(mg(t,To.Medium),[a,s]);break;case"long":let d=zl(t,"longTime"),p=zl(t,"longDate");n=j0(mg(t,To.Long),[d,p]);break;case"full":let f=zl(t,"fullTime"),b=zl(t,"fullDate");n=j0(mg(t,To.Full),[f,b]);break}return n&&(V0[e][i]=n),n}function j0(t,i){return i&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return i!=null&&n in i?i[n]:e})),t}function Ja(t,i,e="-",n,r){let o="";(t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,o=e));let a=String(t);for(;a.length<i;)a="0"+a;return n&&(a=a.slice(a.length-i)),o+a}function Iq(t,i){return Ja(t,3).substring(0,i)}function Pi(t,i,e=0,n=!1,r=!1){return function(o,a){let s=Aq(t,o);if((e>0||s>-e)&&(s+=e),t===3)s===0&&e===-12&&(s=12);else if(t===6)return Iq(s,i);let d=pg(a,Gl.MinusSign);return Ja(s,i,d,n,r)}}function Aq(t,i){switch(t){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new ce(2301,!1)}}function Xn(t,i,e=Br.Format,n=!1){return function(r,o){return kq(r,o,t,i,e,n)}}function kq(t,i,e,n,r,o){switch(e){case 2:return KL(i,r,n)[t.getMonth()];case 1:return YL(i,r,n)[t.getDay()];case 0:let a=t.getHours(),s=t.getMinutes();if(o){let p=QL(i),f=JL(i,r,n),b=p.findIndex(w=>{if(Array.isArray(w)){let[A,M]=w,J=a>=A.hours&&s>=A.minutes,j=a<M.hours||a===M.hours&&s<M.minutes;if(A.hours<M.hours){if(J&&j)return!0}else if(J||j)return!0}else if(w.hours===a&&w.minutes===s)return!0;return!1});if(b!==-1)return f[b]}return qL(i,r,n)[a<12?0:1];case 3:return XL(i,n)[t.getFullYear()<=0?0:1];default:let d=e;throw new ce(2302,!1)}}function H0(t){return function(i,e,n){let r=-1*n,o=pg(e,Gl.MinusSign),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case 0:return(r>=0?"+":"")+Ja(a,2,o)+Ja(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+Ja(a,1,o);case 2:return"GMT"+(r>=0?"+":"")+Ja(a,2,o)+":"+Ja(Math.abs(r%60),2,o);case 3:return n===0?"Z":(r>=0?"+":"")+Ja(a,2,o)+":"+Ja(Math.abs(r%60),2,o);default:throw new ce(2310,!1)}}}var Rq=0,z0=4;function Mq(t){let i=G0(t,Rq,1).getDay();return G0(t,0,1+(i<=z0?z0:z0+7)-i)}function t2(t){let i=t.getDay(),e=i===0?-3:z0-i;return G0(t.getFullYear(),t.getMonth(),t.getDate()+e)}function fI(t,i=!1){return function(e,n){let r;if(i){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();r=1+Math.floor((a+o)/7)}else{let o=t2(e),a=Mq(o.getFullYear()),s=o.getTime()-a.getTime();r=1+Math.round(s/6048e5)}return Ja(r,t,pg(n,Gl.MinusSign))}}function U0(t,i=!1){return function(e,n){let o=t2(e).getFullYear();return Ja(o,t,pg(n,Gl.MinusSign),i)}}var gI={};function Nq(t){if(gI[t])return gI[t];let i;switch(t){case"G":case"GG":case"GGG":i=Xn(3,Hn.Abbreviated);break;case"GGGG":i=Xn(3,Hn.Wide);break;case"GGGGG":i=Xn(3,Hn.Narrow);break;case"y":i=Pi(0,1,0,!1,!0);break;case"yy":i=Pi(0,2,0,!0,!0);break;case"yyy":i=Pi(0,3,0,!1,!0);break;case"yyyy":i=Pi(0,4,0,!1,!0);break;case"Y":i=U0(1);break;case"YY":i=U0(2,!0);break;case"YYY":i=U0(3);break;case"YYYY":i=U0(4);break;case"M":case"L":i=Pi(1,1,1);break;case"MM":case"LL":i=Pi(1,2,1);break;case"MMM":i=Xn(2,Hn.Abbreviated);break;case"MMMM":i=Xn(2,Hn.Wide);break;case"MMMMM":i=Xn(2,Hn.Narrow);break;case"LLL":i=Xn(2,Hn.Abbreviated,Br.Standalone);break;case"LLLL":i=Xn(2,Hn.Wide,Br.Standalone);break;case"LLLLL":i=Xn(2,Hn.Narrow,Br.Standalone);break;case"w":i=fI(1);break;case"ww":i=fI(2);break;case"W":i=fI(1,!0);break;case"d":i=Pi(2,1);break;case"dd":i=Pi(2,2);break;case"c":case"cc":i=Pi(7,1);break;case"ccc":i=Xn(1,Hn.Abbreviated,Br.Standalone);break;case"cccc":i=Xn(1,Hn.Wide,Br.Standalone);break;case"ccccc":i=Xn(1,Hn.Narrow,Br.Standalone);break;case"cccccc":i=Xn(1,Hn.Short,Br.Standalone);break;case"E":case"EE":case"EEE":i=Xn(1,Hn.Abbreviated);break;case"EEEE":i=Xn(1,Hn.Wide);break;case"EEEEE":i=Xn(1,Hn.Narrow);break;case"EEEEEE":i=Xn(1,Hn.Short);break;case"a":case"aa":case"aaa":i=Xn(0,Hn.Abbreviated);break;case"aaaa":i=Xn(0,Hn.Wide);break;case"aaaaa":i=Xn(0,Hn.Narrow);break;case"b":case"bb":case"bbb":i=Xn(0,Hn.Abbreviated,Br.Standalone,!0);break;case"bbbb":i=Xn(0,Hn.Wide,Br.Standalone,!0);break;case"bbbbb":i=Xn(0,Hn.Narrow,Br.Standalone,!0);break;case"B":case"BB":case"BBB":i=Xn(0,Hn.Abbreviated,Br.Format,!0);break;case"BBBB":i=Xn(0,Hn.Wide,Br.Format,!0);break;case"BBBBB":i=Xn(0,Hn.Narrow,Br.Format,!0);break;case"h":i=Pi(3,1,-12);break;case"hh":i=Pi(3,2,-12);break;case"H":i=Pi(3,1);break;case"HH":i=Pi(3,2);break;case"m":i=Pi(4,1);break;case"mm":i=Pi(4,2);break;case"s":i=Pi(5,1);break;case"ss":i=Pi(5,2);break;case"S":i=Pi(6,1);break;case"SS":i=Pi(6,2);break;case"SSS":i=Pi(6,3);break;case"Z":case"ZZ":case"ZZZ":i=H0(0);break;case"ZZZZZ":i=H0(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=H0(1);break;
4case"OOOO":case"ZZZZ":case"zzzz":i=H0(2);break;default:return null}return gI[t]=i,i}function n2(t,i){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?i:e}function Oq(t,i){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+i),t}function Fq(t,i,e){let r=t.getTimezoneOffset(),o=n2(i,r);return Oq(t,-1*(o-r))}function Pq(t){if(GL(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[r,o=1,a=1]=t.split("-").map(s=>+s);return G0(r,o-1,a)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(wq))return Lq(n)}let i=new Date(t);if(!GL(i))throw new ce(2311,!1);return i}function Lq(t){let i=new Date(0),e=0,n=0,r=t[8]?i.setUTCFullYear:i.setFullYear,o=t[8]?i.setUTCHours:i.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),r.call(i,Number(t[1]),Number(t[2])-1,Number(t[3]));let a=Number(t[4]||0)-e,s=Number(t[5]||0)-n,d=Number(t[6]||0),p=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(i,a,s,d,p),i}function GL(t){return t instanceof Date&&!isNaN(t.valueOf())}var _I=/\s+/,WL=[],cr=(()=>{class t{_ngEl;_renderer;initialClasses=WL;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(_I):WL}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(_I):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(_I).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||t)(E(Q),E(ot))};static \u0275dir=N({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var xu=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=m(ie);constructor(e){this._viewContainerRef=e}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._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.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 \u0275fac=function(n){return new(n||t)(E(Pt))};static \u0275dir=N({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ke]})}return t})();function CI(t,i){return new ce(2100,!1)}var bI=class{createSubscription(i,e,n){return Wt(()=>i.subscribe({next:e,error:n}))}dispose(i){Wt(()=>i.unsubscribe())}},vI=class{createSubscription(i,e,n){return i.then(r=>e?.(r),r=>n?.(r)),{unsubscribe:()=>{e=null,n=null}}}dispose(i){i.unsubscribe()}},Bq=new vI,Vq=new bI,Ji=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=m(Eo);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n),n=>this.applicationErrorHandler(n))}_selectStrategy(e){if(Vl(e))return Bq;if(D0(e))return Vq;throw CI(t,e)}
4_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(E(Ee,16))};static \u0275pipe=pe({name:"async",type:t,pure:!1})}return t})();var jq=(()=>{class t{transform(e){return e==null?null:(Hq(t,e),e.toUpperCase())}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=pe({name:"uppercase",type:t,pure:!0})}return t})();function Hq(t,i){if(typeof i!="string")throw CI(t,i)}var Uq="mediumDate",i2=new R(""),r2=new R(""),un=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,n,r){this.locale=e,this.defaultTimezone=n,this.defaultOptions=r}transform(e,n,r,o){if(e==null||e===""||e!==e)return null;try{let a=n??this.defaultOptions?.dateFormat??Uq,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return e2(e,a,o||this.locale,s)}catch(a){throw CI(t,a.message)}}static \u0275fac=function(n){return new(n||t)(E(wu,16),E(i2,24),E(r2,24))};static \u0275pipe=pe({name:"date",type:t,pure:!0})}return t})();var Yc=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();function hg(t,i){i=encodeURIComponent(i);for(let e of t.split(";")){let n=e.indexOf("="),[r,o]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(r.trim()===i)return decodeURIComponent(o)}return null}var Su=class{};var EI="browser";function W0(t){return t===EI}var wI=(()=>{class t{static \u0275prov=D({token:t,providedIn:"root",factory:()=>new DI(m(Ce),window)})}return t})(),DI=class{document;window;offset=()=>[0,0];constructor(i,e){this.document=i,this.window=e}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i,e){this.window.scrollTo(Ae(L({},e),{left:i[0],top:i[1]}))}scrollToAnchor(i,e){let n=Gq(this.document,i);n&&(this.scrollToElement(n,e),n.focus({preventScroll:!0}))}setHistoryScrollRestoration(i){try{this.window.history.scrollRestoration=i}catch(e){console.warn(ua(2400,!1))}}scrollToElement(i,e){let n=i.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(Ae(L({},e),{left:r-a[0],top:o-a[1]}))}};function Gq(t,i){let e=t.getElementById(i)||t.getElementsByName(i)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let o=r.shadowRoot;if(o){let a=o.getElementById(i)||o.querySelector(`[name="${i}"]`);if(a)return a}r=n.nextNode()}}return null}var s2=t=>t.src,Wq=new R("",{factory:()=>s2});var o2=/^((\s*\d+w\s*(,|$)){1,})$/;var $q=[1,2],qq=640;var Yq=1920,Kq=1080;var DPe=(()=>{class t{imageLoader=m(Wq);config=Xq(m(i0));renderer=m(ot);imgElement=m(Q).nativeElement;injector=m(ie);destroyRef=m(dn);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){this.destroyRef.onDestroy(()=>{this.renderer.removeAttribute(this.imgElement,"loading")})}ngOnInit(){qo("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let e=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&o2.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(e){if(e.ngSrc&&!e.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0)}}getAspectRatio(){return this.width&&this.height&&this.height!==0?this.width/this.height:null}callImageLoader(e){let n=e;this.loaderParams&&(n.loaderParams=this.loaderParams);let r=this.getAspectRatio();return r!==null&&n.width&&(n.height=Math.round(n.width/r)),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){let e=o2.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let o=e?parseFloat(r):parseFloat(r)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:e}=this.config,n=e;return this.sizes?.trim()==="100vw"&&(n=e.filter(o=>o>=qq)),n.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return $q.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>Yq||this.height>Kq),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==s2&&!e}generatePlaceholder(e){let{placeholderResolution:n}=this.config;return e===!0?`url("${a2(this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0}))}")`:typeof e=="string"?`url("${a2(e)}")`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")?!0:!!e.blur}removePlaceholderOnLoad(e){let n=()=>{let a=this.injector.get(Ee);r(),o(),this.placeholder=!1,a.markForCheck()},r=this.renderer.listen(e,"load",n),o=this.renderer.listen(e,"error",n);this.destroyRef.onDestroy(()=>{r(),o()}),Zq(e,n)}setHostAttribute(e,n){this.renderer.setAttribute(this.imgElement,e,n)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,r){n&2&&On("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",Qq],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",rn],height:[2,"height","height",rn],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",q],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",q],fill:[2,"fill","fill",q],placeholder:[2,"placeholder","placeholder",Jq],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[Ke]})}return t})();function Xq(t){let i={};return t.breakpoints&&(i.breakpoints=t.breakpoints.sort((e,n)=>e-n)),Object.assign({},n0,t,i)}
vendor: 12,493 bytes, line 4
4function Zq(t,i){t.complete&&t.naturalWidth&&i()}function Qq(t){return typeof t=="string"?t:ao(t)}function a2(t){return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function Jq(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:q(t)}var fg=class{_doc;constructor(i){this._doc=i}manager},$0=(()=>{class t extends fg{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,r,o){return e.addEventListener(n,r,o),()=>this.removeEventListener(e,n,r,o)}removeEventListener(e,n,r,o){return e.removeEventListener(n,r,o)}static \u0275fac=function(n){return new(n||t)(F(Ce))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),K0=new R(""),II=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(a=>{a.manager=this});let r=e.filter(a=>!(a instanceof $0));this._plugins=r.slice().reverse();let o=e.find(a=>a instanceof $0);o&&this._plugins.push(o)}addEventListener(e,n,r,o){return this._findPluginFor(n).addEventListener(e,n,r,o)}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 ce(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(F(K0),F(le))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),xI="ng-app-id";function l2(t){for(let i of t)i.remove()}function c2(t,i){let e=i.createElement("style");return e.textContent=t,e}function eY(t,i,e,n){let r=t.head?.querySelectorAll(`style[${xI}="${i}"],link[${xI}="${i}"]`);if(r)for(let o of r)o.removeAttribute(xI),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function TI(t,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var AI=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,n,r,o={}){this.doc=e,this.appId=n,this.nonce=r,eY(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let r of e)this.addUsage(r,this.inline,c2);n?.forEach(r=>this.addUsage(r,this.external,TI))}removeStyles(e,n){for(let r of e)this.removeUsage(r,this.inline);n?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,n,r){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(e,this.doc)))})}removeUsage(e,n){let r=n.get(e);r&&(r.usage--,r.usage<=0&&(l2(r.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])l2(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:r}]of this.inline)r.push(this.addElement(e,c2(n,this.doc)));for(let[n,{elements:r}]of this.external)r.push(this.addElement(e,TI(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(F(Ce),F(zc),F(yu,8),F(Pl))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),SI={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"},kI=/%COMP%/g;var u2="%COMP%",tY=`_nghost-${u2}`,nY=`_ngcontent-${u2}`,iY=!0,rY=new R("",{factory:()=>iY});function oY(t){return nY.replace(kI,t)}function aY(t){return tY.replace(kI,t)}function m2(t,i){return i.map(e=>e.replace(kI,t))}var RI=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,n,r,o,a,s,d=null,p=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=s,this.nonce=d,this.tracingService=p,this.defaultRenderer=new gg(e,a,s,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,n);return r instanceof Y0?r.applyToHost(e):r instanceof _g&&r.applyStyles(),r}getOrCreateRenderer(e,n){let r=this.rendererByCompId,o=r.get(n.id);if(!o){let a=this.doc,s=this.ngZone,d=this.eventManager,p=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,b=this.tracingService;switch(n.encapsulation){case Ka.Emulated:o=new Y0(d,p,n,this.appId,f,a,s,b);break;case Ka.ShadowDom:return new q0(d,e,n,a,s,this.nonce,b,p);case Ka.ExperimentalIsolatedShadowDom:return new q0(d,e,n,a,s,this.nonce,b);default:o=new _g(d,p,n,f,a,s,b);break}r.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(F(II),F(AI),F(zc),F(rY),F(Ce),F(le),F(yu),F(Xa,8))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),gg=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(i,e,n,r){this.eventManager=i,this.doc=e,this.ngZone=n,this.tracingService=r}destroy(){}destroyNode=null;createElement(i,e){return e?this.doc.createElementNS(SI[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(d2(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(d2(i)?i.content:i).insertBefore(e,n)}removeChild(i,e){e.remove()}selectRootElement(i,e){let n=typeof i=="string"?this.doc.querySelector(i):i;if(!n)throw new ce(-5104,!1);return e||(n.textContent=""),n}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,n,r){if(r){e=r+":"+e;let o=SI[r];o?i.setAttributeNS(o,e,n):i.setAttribute(e,n)}else i.setAttribute(e,n)}removeAttribute(i,e,n){if(n){let r=SI[n];r?i.removeAttributeNS(r,e):i.removeAttribute(`${n}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,n,r){r&(Rs.DashCase|Rs.Important)?i.style.setProperty(e,n,r&Rs.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&Rs.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,n){i!=null&&(i[e]=n)}setValue(i,e){i.nodeValue=e}listen(i,e,n,r){if(typeof i=="string"&&(i=Xo().getGlobalEventTarget(this.doc,i),!i))throw new ce(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(i,e,o)),this.eventManager.addEventListener(i,e,o,r)}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;i(e)===!1&&e.preventDefault()}}};function d2(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var q0=class extends gg{hostEl;sharedStylesHost;shadowRoot;constructor(i,e,n,r,o,a,s,d){super(i,r,o,s),this.hostEl=e,this.sharedStylesHost=d,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let p=n.styles;p=m2(n.id,p);for(let b of p){let w=document.createElement("style");a&&w.setAttribute("nonce",a),w.textContent=b,this.shadowRoot.appendChild(w)}let f=n.getExternalStyles?.();if(f)for(let b of f){let w=TI(b,r);a&&w.setAttribute("nonce",a),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,n){return super.insertBefore(this.nodeOrShadowRoot(i),e,n)}removeChild(i,e){return super.removeChild(null,e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},_g=class extends gg{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,e,n,r,o,a,s,d){super(i,o,a,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let p=n.styles;this.styles=d?m2(d,p):p,this.styleUrls=n.getExternalStyles?.(d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&bu.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Y0=class extends _g{contentAttr;hostAttr;constructor(i,e,n,r,o,a,s,d){let p=r+"-"+n.id;super(i,e,n,o,a,s,d,p),this.contentAttr=oY(p),this.hostAttr=aY(p)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){let n=super.createElement(i,e);return super.setAttribute(n,this.contentAttr,""),n}};var X0=class t extends cg{supportsDOMEvents=!0;static makeCurrent(){mI(new t)}onAndCancel(i,e,n,r){return i.addEventListener(e,n,r),()=>{i.removeEventListener(e,n,r)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.remove()}createElement(i,e){return e=e||this.getDefaultDocument(),e.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return e==="window"?window:e==="document"?i:e==="body"?i.body:null}getBaseHref(i){let e=sY();return e==null?null:lY(e)}resetBaseElement(){bg=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return hg(document.cookie,i)}},bg=null;function sY(){return bg=bg||document.head.querySelector("base"),bg?bg.getAttribute("href"):null}function lY(t){return new URL(t,document.baseURI).pathname}var Z0=class{addToWindow(i){Fi.getAngularTestability=(n,r=!0)=>{let o=i.findTestabilityInTree(n,r);if(o==null)throw new ce(5103,!1);return o},Fi.getAllAngularTestabilities=()=>i.getAllTestabilities(),Fi.getAllAngularRootElements=()=>i.getAllRootElements();let e=n=>{let r=Fi.getAllAngularTestabilities(),o=r.length,a=function(){o--,o==0&&n()};r.forEach(s=>{s.whenStable(a)})};Fi.frameworkStabilizers||(Fi.frameworkStabilizers=[]),Fi.frameworkStabilizers.push(e)}findTestabilityInTree(i,e,n){if(e==null)return null;let r=i.getTestability(e);return r??(n?Xo().isShadowRoot(e)?this.findTestabilityInTree(i,e.host,!0):this.findTestabilityInTree(i,e.parentElement,!0):null)}},cY=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),p2=["alt","control","meta","shift"],dY={"\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"},uY={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},h2=(()=>{class t extends fg{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,r,o){let a=t.parseEventName(n),s=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xo().onAndCancel(e,a.domEventName,s,o))}static parseEventName(e){let n=e.toLowerCase().split("."),r=n.shift();if(n.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(n.pop()),a="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),a="code."),p2.forEach(p=>{let f=n.indexOf(p);f>-1&&(n.splice(f,1),a+=p+".")}),a+=o,n.length!=0||o.length===0)return null;let d={};return d.domEventName=r,d.fullKey=a,d}static matchEventFullKeyCode(e,n){let r=dY[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"),p2.forEach(a=>{if(a!==r){let s=uY[a];s(e)&&(o+=a+".")}}),o+=r,o===n)}static eventCallback(e,n,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(F(Ce))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function mY(){X0.makeCurrent()}function pY(){return new Lr}function hY(){return uT(document),document}var fY=[{provide:Pl,useValue:EI},{provide:t0,useValue:mY,multi:!0},{provide:Ce,useFactory:hY}],gY=dI(PL,"browser",fY);var _Y=[{provide:C0,useClass:Z0},{provide:y0,useClass:rg},{provide:rg,useClass:rg}],bY=[{provide:Rf,useValue:"root"},{provide:Lr,useFactory:pY},{provide:K0,useClass:$0,multi:!0},{provide:K0,useClass:h2,multi:!0},RI,AI,II,{provide:fi,useExisting:RI},{provide:Su,useClass:cY},[]],vY=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[...bY,..._Y],imports:[Yc,LL]})}return t})();var Xc=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(`
5`).forEach(e=>{let n=e.indexOf(":");if(n>0){let r=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init();for(let[e,n]of i.headers.entries())this.headers.set(e,n),this.normalizedNames.set(e,i.normalizedNames.get(e))}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let r=i.op==="a"?(this.headers.get(e)||[]).slice():[];r.push(...n),this.headers.set(e,r);break;case"d":let o=i.value;if(o===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=Array.isArray(o)?o:[o],s=this.headers.get(e);if(!s)return;s=s.filter(d=>a.indexOf(d)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=i.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(i,r)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var J0=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}},ey=class{encodeKey(i){return f2(i)}encodeValue(i){return f2(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function yY(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,s]=o==-1?[i.decodeKey(r),""]:[i.decodeKey(r.slice(0,o)),i.decodeValue(r.slice(o+1))],d=e.get(a)||[];d.push(s),e.set(a,d)}),e}var CY=/%(\d[a-f0-9])/gi,DY={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function f2(t){return encodeURIComponent(t).replace(CY,(i,e)=>DY[e]??i)}function Q0(t){return`${t}`}var it=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new ey,i.fromString){if(i.fromObject)throw new ce(2805,!1);this.map=yY(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],r=Array.isArray(n)?n.map(Q0):[Q0(n)];this.map.set(e,r)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];
5return Object.keys(i).forEach(n=>{let r=i[n];Array.isArray(r)?r.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[i,e]of this.cloneFrom.map.entries())this.map.set(i,e);this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=i.op==="a"?(this.map.get(i.param)||[]).slice():[];e.push(Q0(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=(this.map.get(i.param)||[]).slice(),r=n.indexOf(Q0(i.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null}}};function EY(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function g2(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function _2(t){return typeof Blob<"u"&&t instanceof Blob}function b2(t){return typeof FormData<"u"&&t instanceof FormData}function wY(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var v2="Content-Type",y2="Accept",D2="text/plain",E2="application/json",xY=`${E2}, ${D2}, */*`,sp=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(i,e,n,r){this.url=e,this.method=i.toUpperCase();let o;if(EY(this.method)||r?(this.body=n!==void 0?n:null,o=r):o=n,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new ce(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new Xc,this.context??=new J0,!this.params)this.params=new it,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),d=s===-1?"?":s<e.length-1?"&":"";this.urlWithParams=e+d+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||g2(this.body)||_2(this.body)||b2(this.body)||wY(this.body)?this.body:this.body instanceof it?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||b2(this.body)?null:_2(this.body)?this.body.type||null:g2(this.body)?null:typeof this.body=="string"?D2:this.body instanceof it?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?E2:null}clone(i={}){let e=i.method||this.method,n=i.url||this.url,r=i.responseType||this.responseType,o=i.keepalive??this.keepalive,a=i.priority||this.priority,s=i.cache||this.cache,d=i.mode||this.mode,p=i.redirect||this.redirect,f=i.credentials||this.credentials,b=i.referrer??this.referrer,w=i.integrity||this.integrity,A=i.referrerPolicy||this.referrerPolicy,M=i.transferCache??this.transferCache,J=i.timeout??this.timeout,j=i.body!==void 0?i.body:this.body,K=i.withCredentials??this.withCredentials,Te=i.reportProgress??this.reportProgress,tn=i.headers||this.headers,jt=i.params||this.params,Oi=i.context??this.context;return i.setHeaders!==void 0&&(tn=Object.keys(i.setHeaders).reduce((Ec,Wd)=>Ec.set(Wd,i.setHeaders[Wd]),tn)),i.setParams&&(jt=Object.keys(i.setParams).reduce((Ec,Wd)=>Ec.set(Wd,i.setParams[Wd]),jt)),new t(e,n,j,{params:jt,headers:tn,context:Oi,reportProgress:Te,responseType:r,withCredentials:K,transferCache:M,keepalive:o,cache:s,priority:a,timeout:J,mode:d,redirect:p,credentials:f,referrer:b,integrity:w,referrerPolicy:A})}},Tu=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Tu||{}),lp=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(i,e=200,n="OK"){this.headers=i.headers||new Xc,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.redirected=i.redirected,this.responseType=i.responseType,this.ok=this.status>=200&&this.status<300}},ty=class t extends lp{constructor(i={}){super(i)}type=Tu.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},vg=class t extends lp{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=Tu.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0,redirected:i.redirected??this.redirected,responseType:i.responseType??this.responseType})}},Kc=class extends lp{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},SY=200,TY=204;var IY=new R("");var AY=/^\)\]\}',?\n/;var NI=(()=>{class t{xhrFactory;tracingService=m(Xa,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new ce(-2800,!1);let n=this.xhrFactory;return P(null).pipe(W(()=>new Ne(o=>{let a=n.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEac
5h((j,K)=>a.setRequestHeader(j,K.join(","))),e.headers.has(y2)||a.setRequestHeader(y2,xY),!e.headers.has(v2)){let j=e.detectContentTypeHeader();j!==null&&a.setRequestHeader(v2,j)}if(e.timeout&&(a.timeout=e.timeout),e.responseType){let j=e.responseType.toLowerCase();a.responseType=j!=="json"?j:"text"}let s=e.serializeBody(),d=null,p=()=>{if(d!==null)return d;let j=a.statusText||"OK",K=new Xc(a.getAllResponseHeaders()),Te=a.responseURL||e.url;return d=new ty({headers:K,status:a.status,statusText:j,url:Te}),d},f=this.maybePropagateTrace(()=>{let{headers:j,status:K,statusText:Te,url:tn}=p(),jt=null;K!==TY&&(jt=typeof a.response>"u"?a.responseText:a.response),K===0&&(K=jt?SY:0);let Oi=K>=200&&K<300;if(e.responseType==="json"&&typeof jt=="string"){let Ec=jt;jt=jt.replace(AY,"");try{jt=jt!==""?JSON.parse(jt):null}catch(Wd){jt=Ec,Oi&&(Oi=!1,jt={error:Wd,text:jt})}}Oi?(o.next(new vg({body:jt,headers:j,status:K,statusText:Te,url:tn||void 0})),o.complete()):o.error(new Kc({error:jt,headers:j,status:K,statusText:Te,url:tn||void 0}))}),b=this.maybePropagateTrace(j=>{let{url:K}=p(),Te=new Kc({error:j,status:a.status||0,statusText:a.statusText||"Unknown Error",url:K||void 0});o.error(Te)}),w=b;e.timeout&&(w=this.maybePropagateTrace(j=>{let{url:K}=p(),Te=new Kc({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:K||void 0});o.error(Te)}));let A=!1,M=this.maybePropagateTrace(j=>{A||(o.next(p()),A=!0);let K={type:Tu.DownloadProgress,loaded:j.loaded};j.lengthComputable&&(K.total=j.total),e.responseType==="text"&&a.responseText&&(K.partialText=a.responseText),o.next(K)}),J=this.maybePropagateTrace(j=>{let K={type:Tu.UploadProgress,loaded:j.loaded};j.lengthComputable&&(K.total=j.total),o.next(K)});return a.addEventListener("load",f),a.addEventListener("error",b),a.addEventListener("timeout",w),a.addEventListener("abort",b),e.reportProgress&&(a.addEventListener("progress",M),s!==null&&a.upload&&a.upload.addEventListener("progress",J)),a.send(s),o.next({type:Tu.Sent}),()=>{a.removeEventListener("error",b),a.removeEventListener("abort",b),a.removeEventListener("load",f),a.removeEventListener("timeout",w),e.reportProgress&&(a.removeEventListener("progress",M),s!==null&&a.upload&&a.upload.removeEventListener("progress",J)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(n){return new(n||t)(F(Su))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),kY=new R("",{factory:()=>!0}),RY="XSRF-TOKEN",w2=new R("",{factory:()=>RY}),MY="X-XSRF-TOKEN",x2=new R("",{factory:()=>MY}),NY=(()=>{class t{cookieName=m(w2);doc=m(Ce);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=hg(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),S2=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=F(NY),r},providedIn:"root"})}return t})();function T2(t,i){if(!m(kY)||t.method==="GET"||t.method==="HEAD")return i(t);try{let r=m(Ul).href,{origin:o}=new URL(r),{origin:a}=new URL(t.url,o);if(o!==a)return i(t)}catch(r){return i(t)}let e=m(S2).getToken(),n=m(x2);return e!=null&&!t.headers.has(n)&&(t=t.clone({headers:t.headers.set(n,e)})),i(t)}function I2(t,i){return i(t)}function OY(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function FY(t,i,e){return(n,r)=>Yi(e,()=>i(n,o=>t(o,r)))}var A2=new R(""),OI=new R("",{factory:()=>[T2]}),k2=new R(""),FI=new R("",{factory:()=>!0});function PY(){let t=null;return(i,e)=>{t===null&&(t=(m(A2,{optional:!0})??[]).reduceRight(OY,I2));let n=m(fu);if(m(FI)){let o=n.add();return t(i,e).pipe(Zr(o))}else return t(i,e)}}var PI=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=F(NI),r},providedIn:"root"})}return t})();var ny=(()=>{class t{backend;injector;chain=null;pendingTasks=m(fu);contributeToStability=m(FI);constructor(e,n){this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=this.injector.get(iy,null,{skipSelf:!0}),r=n!==null&&this.backend===n,o=this.injector.get(k2,[],r?{self:!0}:void 0),a=Array.from(new Set([...this.injector.get(OI),...o]));this.chain=a.reduceRight((s,d)=>FY(s,d,this.injector),I2)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Zr(n))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(F(PI),F(_n))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),iy=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=F(ny),r},providedIn:"root"})}return t})();function MI(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var ge=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,r={}){let o;if(e instanceof sp)o=e;else{let d;r.headers instanceof Xc?d=r.headers:d=new Xc(r.headers);let p;r.params&&(r.params instanceof it?p=r.params:p=new it({fromObject:r.params})),o=new sp(e,n,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:p,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}let a=P(o).pipe(Es(d=>this.handler.handle(d)));if(e instanceof sp||r.observe==="events")return a;let s=a.pipe(ae(d=>d instanceof vg));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe($(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new ce(2806,!1);return d.body}));case"blob":return s.pipe($(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new ce(2807,!1);return d.body}));case"text":return s.pipe($(d=>{if(d.body!==null&&typeof d.body!="string")throw new ce(2808,!1);return d.body}));default:return s.pipe($(d=>d.body))}case"response":return s;default:throw new ce(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new it().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,MI(r,n))}post(e,n,r={}){return this.request("POST",e,MI(r,n))}put(e,n,r={}){return this.request("PUT",e,MI(r,n))}static \u0275fac=function(n){return new(n||t)(F(iy))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ry=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(ry||{});function R2(t,i){return{\u0275kind:t,\u0275providers:i}}function LY(...t){let i=[ge,ny,{provide:iy,useExisting:ny},{provide:PI,useFactory:()=>m(IY,{optional:!0})??m(NI)},{provide:OI,useValue:T2,multi:!0}];for(let e of t)i.push(...e.\u0275providers);return Fc(i)}var C2=new R("");function BY(){return R2(ry.LegacyInterceptors,[{provide:C2,useFactory:PY},{provide:OI,useExisting:C2,multi:!0}])}function VY({cookieName:t,headerName:i}){let e=[];return t!==void 0&&e.push({provide:w2,useValue:t}),i!==void 0&&e.push({provide:x2,useValue:i}),R2(ry.CustomXsrfConfiguration,e)}var M2=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(F(Ce))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Iu=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=F(jY),r},providedIn:"root"})}return t})(),jY=(()=>{class t extends Iu{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case cn.NONE:return n;case cn.HTML:return Ns(n,"HTML")?ao(n):s0(this._doc,String(n)).toString();case cn.STYLE:return Ns(n,"Style")?ao(n):n;case cn.SCRIPT:if(Ns(n,"Script"))return ao(n);throw new ce(5200,!1);case cn.URL:return Ns(n,"URL")?ao(n):Jf(String(n));case cn.RESOURCE_URL:if(Ns(n,"ResourceURL"))return ao(n);throw new ce(5201,!1);default:throw new ce(5202,!1)}}bypassSecurityTrustHtml(e){return hT(e)}bypassSecurityTrustStyle(e){return fT(e)}bypassSecurityTrustScript(e){return gT(e)}bypassSecurityTrustUrl(e){return _T(e)}bypassSecurityTrustResourceUrl(e){return bT(e)}static \u0275fac=function(n){return new(n||t)(F(Ce))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var j2=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}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 \u0275fac=function(n){return new(n||t)(E(ot),E(Q))};static \u0275dir=N({type:t})}return t})(),H2=(()=>{class t extends j2{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,features:[he]})}return t})(),er=new R("");var HY={provide:er,useExisting:bn(()=>Je),multi:!0};function UY(){let t=Xo()?Xo().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var zY=new R(""),Je=(()=>{class t extends j2{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!UY())}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 \u0275fac=function(n){return new(n||t)(E(ot),E(Q),E(zY,8))};static \u0275dir=N({type:t,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&&T("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[me([HY]),he]})}return t})();function jI(t){return t==null||HI(t)===0}function HI(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var Zo=new R(""),Tg=new R(""),GY=/^(?=.{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])?)*$/,G=class{static min(i){return WY(i)}static max(i){return $Y(i)}static required(i){return U2(i)}static requiredTrue(i){return qY(i)}static email(i){return YY(i)}static minLength(i){return KY(i)}static maxLength(i){return z2(i)}static pattern(i){return XY(i)}static nullValidator(i){return ay()}static compose(i){return K2(i)}static composeAsync(i){return X2(i)}};function WY(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e<t?{min:{min:t,actual:i.value}}:null}}function $Y(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e>t?{max:{max:t,actual:i.value}}:null}}function U2(t){return jI(t.value)?{required:!0}:null}function qY(t){return t.value===!0?null:{required:!0}}
5function YY(t){return jI(t.value)||GY.test(t.value)?null:{email:!0}}function KY(t){return i=>{let e=i.value?.length??HI(i.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function z2(t){return i=>{let e=i.value?.length??HI(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function XY(t){if(!t)return ay;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>{if(jI(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function ay(t){return null}function G2(t){return t!=null}function W2(t){return Vl(t)?fn(t):t}function $2(t){let i={};return t.forEach(e=>{i=e!=null?L(L({},i),e):i}),Object.keys(i).length===0?null:i}function q2(t,i){return i.map(e=>e(t))}function ZY(t){return!t.validate}function Y2(t){return t.map(i=>ZY(i)?i:e=>i.validate(e))}function K2(t){if(!t)return null;let i=t.filter(G2);return i.length==0?null:function(e){return $2(q2(e,i))}}function UI(t){return t!=null?K2(Y2(t)):null}function X2(t){if(!t)return null;let i=t.filter(G2);return i.length==0?null:function(e){let n=q2(e,i).map(W2);return Jd(n).pipe($($2))}}function zI(t){return t!=null?X2(Y2(t)):null}function N2(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function Z2(t){return t._rawValidators}function Q2(t){return t._rawAsyncValidators}function BI(t){return t?Array.isArray(t)?t:[t]:[]}function sy(t,i){return Array.isArray(t)?t.includes(i):t===i}function O2(t,i){let e=BI(i);return BI(t).forEach(r=>{sy(e,r)||e.push(r)}),e}function F2(t,i){return BI(i).filter(e=>!sy(t,e))}var ly=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=UI(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=zI(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control?.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},Bs=class extends ly{name;get formDirective(){return null}get path(){return null}},Li=class extends ly{_parent=null;name=null;valueAccessor=null},cy=class{_cd;constructor(i){this._cd=i}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}};var Xe=(()=>{class t extends cy{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(E(Li,2))};static \u0275dir=N({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&ee("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)},standalone:!1,features:[he]})}return t})(),Ai=(()=>{class t extends cy{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(E(Bs,10))};static \u0275dir=N({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){n&2&&ee("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)},standalone:!1,features:[he]})}return t})();var yg="VALID",oy="INVALID",cp="PENDING",Cg="DISABLED",Zc=class{},dy=class extends Zc{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Eg=class extends Zc{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},wg=class extends Zc{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},dp=class extends Zc{status;source;constructor(i,e){super(),this.status=i,this.source=e}},uy=class extends Zc{source;constructor(i){super(),this.source=i}},xg=class extends Zc{source;constructor(i){super(),this.source=i}};function GI(t){return(gy(t)?t.validators:t)||null}function QY(t){return Array.isArray(t)?UI(t):t||null}function WI(t,i){return(gy(i)?i.asyncValidators:t)||null}function JY(t){return Array.isArray(t)?zI(t):t||null}function gy(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function J2(t,i,e){let n=t.controls;if(!(i?Object.keys(n):n).length)throw new ce(1e3,"");if(!n[e])throw new ce(1001,"")}function eB(t,i,e){t._forEachChild((n,r)=>{if(e[r]===void 0)throw new ce(-1002,"")})}var up=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return Wt(this.statusReactive)}set status(i){Wt(()=>this.statusReactive.set(i))}_status=Ct(()=>this.statusReactive());statusReactive=Z(void 0);get valid(){return this.status===yg}get invalid(){return this.status===oy}get pending(){return this.status===cp}get disabled(){return this.status===Cg}get enabled(){return this.status!==Cg}errors;get pristine(){return Wt(this.pristineReactive)}set pristine(i){Wt(()=>this.pristineReactive.set(i))}_pristine=Ct(()=>this.pristineReactive());pristineReactive=Z(!0);get dirty(){return!this.pristine}get touched(){return Wt(this.touchedReactive)}set touched(i){Wt(()=>this.touchedReactive.set(i))}_touched=Ct(()=>this.touchedReactive());touchedReactive=Z(!1);get untouched(){return!this.touched}_events=new O;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(O2(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(O2(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(F2(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(F2(i,this._rawAsyncValidators))}hasValidator(i){return sy(this._rawValidators,i)}hasAsyncValidator(i){return sy(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let n=i.sourceControl??this;i.onlySelf||this._parent?.markAsTouched(Ae(L({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new wg(!0,n))}
5markAllAsDirty(i={}){this.markAsDirty({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(i))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:n})}),i.onlySelf||this._parent?._updateTouched(i,n),e&&i.emitEvent!==!1&&this._events.next(new wg(!1,n))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;i.onlySelf||this._parent?.markAsDirty(Ae(L({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Eg(!1,n))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),i.onlySelf||this._parent?._updatePristine(i,n),e&&i.emitEvent!==!1&&this._events.next(new Eg(!0,n))}markAsPending(i={}){this.status=cp;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new dp(this.status,e)),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.markAsPending(Ae(L({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Cg,this.errors=null,this._forEachChild(r=>{r.disable(Ae(L({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new dy(this.value,n)),this._events.next(new dp(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ae(L({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=yg,this._forEachChild(n=>{n.enable(Ae(L({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(Ae(L({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i,e){i.onlySelf||(this._parent?.updateValueAndValidity(i),i.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===yg||this.status===cp)&&this._runAsyncValidator(n,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new dy(this.value,e)),this._events.next(new dp(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.updateValueAndValidity(Ae(L({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Cg:yg}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=cp,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:i!==!1};let n=W2(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(i,e){let n=e?this.get(e):this;return n?.errors?n.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,n){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||n)&&this._events.next(new dp(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?Cg:this.errors?oy:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(cp)?cp:this._anyControlsHaveStatus(oy)?oy:yg}
5_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,i.onlySelf||this._parent?._updatePristine(i,e),r&&this._events.next(new Eg(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new wg(this.touched,e)),i.onlySelf||this._parent?._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){gy(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){return!i&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=QY(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=JY(this._rawAsyncValidators)}},Au=class extends up{constructor(i,e,n){super(GI(e),WI(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}
5){eB(this,!0,i),Object.keys(i).forEach(n=>{J2(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(n=>{let r=this.controls[n];r&&r.patchValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((n,r)=>{n.reset(i?i[r]:null,Ae(L({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new xg(this))}getRawValue(){return this._reduceChildren({},(i,e,n)=>(i[n]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&i(n,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&i(n))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(i,e){let n=i;return this._forEachChild((r,o)=>{n=e(n,r,o)}),n}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var Qn=Au;var VI=class extends Au{};var mp=new R("",{factory:()=>_y}),_y="always";function tB(t,i){return[...i.path,t]}function Sg(t,i,e=_y){$I(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),tK(t,i),iK(t,i),nK(t,i),eK(t,i)}function my(t,i,e=!0){let n=()=>{};i?.valueAccessor?.registerOnChange(n),i?.valueAccessor?.registerOnTouched(n),hy(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function py(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function eK(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function $I(t,i){let e=Z2(t);i.validator!==null?t.setValidators(N2(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=Q2(t);i.asyncValidator!==null?t.setAsyncValidators(N2(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();py(i._rawValidators,r),py(i._rawAsyncValidators,r)}function hy(t,i){let e=!1;if(t!==null){if(i.validator!==null){let r=Z2(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==i.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(i.asyncValidator!==null){let r=Q2(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==i.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let n=()=>{};return py(i._rawValidators,n),py(i._rawAsyncValidators,n),e}function tK(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&nB(t,i)})}function nK(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&nB(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function nB(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function iK(t,i){let e=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function iB(t,i){t==null,$I(t,i)}function rK(t,i){return hy(t,i)}function qI(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function oK(t){return Object.getPrototypeOf(t.constructor)===H2}function rB(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function YI(t,i){if(!i)return null;Array.isArray(i);let e,n,r;
vendor: 4,106 bytes, line 5
5return i.forEach(o=>{o.constructor===Je?e=o:oK(o)?n=o:r=o}),r||n||e||null}function aK(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var sK={provide:Bs,useExisting:bn(()=>pp)},Dg=Promise.resolve(),pp=(()=>{class t extends Bs{callSetDisabledState;get submitted(){return Wt(this.submittedReactive)}_submitted=Ct(()=>this.submittedReactive());submittedReactive=Z(!1);_directives=new Set;form;ngSubmit=new V;options;constructor(e,n,r){super(),this.callSetDisabledState=r,this.form=new Au({},UI(e),zI(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Dg.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Sg(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Dg.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Dg.then(()=>{let n=this._findContainer(e.path),r=new Au({});iB(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Dg.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){Dg.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),rB(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new uy(this.control)),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 \u0275fac=function(n){return new(n||t)(E(Zo,10),E(Tg,10),E(mp,8))};static \u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&T("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[me([sK]),he]})}return t})();function P2(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function L2(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var uo=class extends up{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(GI(e),WI(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),gy(e)&&(e.nonNullable||e.initialValueIsDefault)&&(L2(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new xg(this))}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){P2(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){P2(this._onDisabledChange,i)}_forEachChild(i){}_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(i){L2(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1}
5)):this.value=this._pendingValue=i}},z=uo,lK=t=>t instanceof uo;var cK={provide:Li,useExisting:bn(()=>Qc)},B2=Promise.resolve(),Qc=(()=>{class t extends Li{_changeDetectorRef;callSetDisabledState;control=new uo;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new V;constructor(e,n,r,o,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=YI(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),qI(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){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(){Sg(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){B2.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&q(n);B2.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?tB(e,this._parent):[e]}static \u0275fac=function(n){return new(n||t)(E(Bs,9),E(Zo,10),E(Tg,10),E(er,10),E(Ee,8),E(mp,8))};static \u0275dir=N({type:t,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"],standalone:!1,features:[me([cK]),he,Ke]})}return t})();var Vr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),dK={provide:er,useExisting:bn(()=>ku),multi:!0},ku=(()=>{class t extends H2{writeValue(e){let n=e??"";this.setProperty("value",n)}registerOnChange(e){this.onChange=n=>{e(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){n&1&&T("input",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[me([dK]),he]})}return t})();var fy=class extends up{constructor(i,e,n){super(GI(e),WI(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(i){return this.controls[this._adjustIndex(i)]}push(i,e={}){Array.isArray(i)?i.forEach(n=>{this.controls.push(n),this._registerControl(n)}):(this.controls.push(i),this._registerControl(i)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(i,e,n={}){this.controls.splice(i,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,e={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}
5),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(i,e,n={}){let r=this._adjustIndex(i);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(i,e={}){eB(this,!1,i),i.forEach((n,r)=>{J2(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(i.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i=[],e={}){this._forEachChild((n,r)=>{n.reset(i[r],Ae(L({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new xg(this))}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((e,n)=>n._syncPendingControls()?!0:e,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((e,n)=>{i(e,n)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(e=>e.enabled&&i(e))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(let i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}},QLe=fy;var uK=(()=>{class t extends Bs{callSetDisabledState;get submitted(){return Wt(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Ct(()=>this._submittedReactive());_submittedReactive=Z(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,n,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(hy(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let n=this.form.get(e.path);return Sg(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}
5removeControl(e){my(e.control||null,e,!1),aK(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,n){this.form.get(e.path).setValue(n)}onReset(){this.resetForm()}resetForm(e=void 0,n={}){this.form.reset(e,n),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,rB(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new uy(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(my(n||null,e),lK(r)&&(Sg(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);iB(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let n=this.form?.get(e.path);n&&rK(n,e)&&n.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){$I(this.form,this),this._oldForm&&hy(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(n){return new(n||t)(E(Zo,10),E(Tg,10),E(mp,8))};static \u0275dir=N({type:t,features:[he,Ke]})}return t})();var KI=new R(""),mK={provide:Li,useExisting:bn(()=>$e)},$e=(()=>{class t extends Li{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new V;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=YI(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&my(n,this,!1),Sg(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}qI(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&my(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||t)(E(Zo,10),E(Tg,10),E(er,10),E(KI,8),E(mp,8))};static \u0275dir=N({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[me([mK]),he,Ke]})}return t})();var pK={provide:Li,useExisting:bn(()=>Ru)},Ru=(()=>{class t extends Li{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new V;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,o,a){super(),this._ngModelWarningConfig=a,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=YI(this,o)}ngOnChanges(e){this._added||this._setUpControl(),qI(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return tB(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||t)(E(Bs,13),E(Zo,10),E(Tg,10),E(er,10),E(KI,8))};static \u0275dir=N({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[me([pK]),he,Ke]})}return t})();var hK={provide:Bs,useExisting:bn(()=>$n)},$n=(()=>{class t extends uK{form=null;ngSubmit=new V;get control(){return this.form}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&T("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[me([hK]),he]})}return t})();function fK(t){return typeof t=="number"?t:parseInt(t,10)}var oB=(()=>{class t{_validator=ay;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].
5currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):ay,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,features:[Ke]})}return t})();var gK={provide:Zo,useExisting:bn(()=>mn),multi:!0};var mn=(()=>{class t extends oB{required;inputName="required";normalizeInput=q;createValidator=e=>U2;enabled(e){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){n&2&&oe("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[me([gK]),he]})}return t})();var _K={provide:Zo,useExisting:bn(()=>Bi),multi:!0},Bi=(()=>{class t extends oB{maxlength;inputName="maxlength";normalizeInput=e=>fK(e);createValidator=e=>z2(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&oe("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[me([_K]),he]})}return t})();var aB=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();function V2(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var Er=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,n=null){let r=this._reduceControls(e),o={};return V2(n)?o=n:n!==null&&(o.validators=n.validator,o.asyncValidators=n.asyncValidator),new Au(r,o)}record(e,n=null){let r=this._reduceControls(e);return new VI(r,n)}control(e,n,r){let o={};return this.useNonNullable?(V2(n)?o=n:(o.validators=n,o.asyncValidators=r),new uo(e,Ae(L({},o),{nonNullable:!0}))):new uo(e,n,r)}array(e,n,r){let o=e.map(a=>this._createControl(a));return new fy(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 uo)return e;if(e instanceof up)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 \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vi=(()=>{class t extends Er{group(e,n=null){return super.group(e,n)}control(e,n,r){return super.control(e,n,r)}array(e,n,r){return super.array(e,n,r)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),XI=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:mp,useValue:e.callSetDisabledState??_y}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[aB]})}return t})(),es=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:KI,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:mp,useValue:e.callSetDisabledState??_y}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[aB]})}return t})();var xt="primary",jg=Symbol("RouteTitle"),tA=class{params;constructor(i){this.params=i||{}}has(i){return Object.prototype.hasOwnProperty.call(this.params,i)}get(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e[0]:e}return null}getAll(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Nu(t){return new tA(t)}function ZI(t,i,e){for(let n=0;n<t.length;n++){let r=t[n],o=i[n];if(r[0]===":")e[r.substring(1)]=o;else if(r!==o.path)return!1}return!0}function pB(t,i,e){let n=e.path.split("/"),r=n.indexOf("**");if(r===-1){if(n.length>t.length||e.pathMatch==="full"&&(i.hasChildren()||n.length<t.length))return null;let d={},p=t.slice(0,n.length);return ZI(n,p,d)?{consumed:p,posParams:d}:null}if(r!==n.lastIndexOf("**"))return null;let o=n.slice(0,r),a=n.slice(r+1);if(o.length+a.length>t.length||e.pathMatch==="full"&&i.hasChildren()&&e.path!=="**")return null;let s={};return!ZI(o,t.slice(0,o.length),s)||!ZI(a,t.slice(t.length-a.length),s)?null:{consumed:t,posParams:s}}function Ey(t){return new Promise((i,e)=>{t.pipe(Ha()).subscribe({next:n=>i(n),error:n=>e(n)})})}function bK(t,i){if(t.length!==i.length)return!1;for(let e=0;e<t.length;++e)if(!Vs(t[e],i[e]))return!1;return!0}function Vs(t,i){let e=t?nA(t):void 0,n=i?nA(i):void 0;if(!e||!n||e.length!=n.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!hB(t[r],i[r]))return!1;return!0}function nA(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function hB(t,i){if(Array.isArray(t)&&Array.isArray(i)){if(t.length!==i.length)return!1;let e=[...t].sort(),n=[...i].sort();return e.every((r,o)=>n[o]===r)}else return t===i}function vK(t){return t.length>0?t[t.length-1]:null}function Fu(t){return Sl(t)?t:Vl(t)?fn(Promise.resolve(t)):P(t)}function fB(t){return Sl(t)?Ey(t):Promise.resolve(t)}var yK={exact:_B,subset:bB},gB={exact:CK,subset:DK,ignored:()=>!0},gA={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Mg={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function _A(t,i,e){let n=t instanceof mo?t:i.parseUrl(t);return Ct(()=>iA(i.lastSuccessfulNavigation()?.finalUrl??new mo,n,L(L({},Mg),e)))}function iA(t,i,e){return yK[e.paths](t.root,i.root,e.matrixParams)&&gB[e.queryParams](t.queryParams,i.queryParams)&&!(e.fragment==="exact"&&t.fragment!==i.fragment)}function CK(t,i){return Vs(t,i)}function _B(t,i,e){if(!Mu(t.segments,i.segments)||!yy(t.segments,i.segments,e)||t.numberOfChildren!==i.numberOfChildren)return!1;
5for(let n in i.children)if(!t.children[n]||!_B(t.children[n],i.children[n],e))return!1;return!0}function DK(t,i){return Object.keys(i).length<=Object.keys(t).length&&Object.keys(i).every(e=>hB(t[e],i[e]))}function bB(t,i,e){return vB(t,i,i.segments,e)}function vB(t,i,e,n){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Mu(r,e)||i.hasChildren()||!yy(r,e,n))}else if(t.segments.length===e.length){if(!Mu(t.segments,e)||!yy(t.segments,e,n))return!1;for(let r in i.children)if(!t.children[r]||!bB(t.children[r],i.children[r],n))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Mu(t.segments,r)||!yy(t.segments,r,n)||!t.children[xt]?!1:vB(t.children[xt],i,o,n)}}function yy(t,i,e){return i.every((n,r)=>gB[e](t[r].parameters,n.parameters))}var mo=class{root;queryParams;fragment;_queryParamMap;constructor(i=new Dn([],{}),e={},n=null){this.root=i,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Nu(this.queryParams),this._queryParamMap}toString(){return xK.serialize(this)}},Dn=class{segments;children;parent=null;constructor(i,e){this.segments=i,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cy(this)}},Jc=class{path;parameters;_parameterMap;constructor(i,e){this.path=i,this.parameters=e}get parameterMap(){return this._parameterMap??=Nu(this.parameters),this._parameterMap}toString(){return CB(this)}};function EK(t,i){return Mu(t,i)&&t.every((e,n)=>Vs(e.parameters,i[n].parameters))}function Mu(t,i){return t.length!==i.length?!1:t.every((e,n)=>e.path===i[n].path)}function wK(t,i){let e=[];return Object.entries(t.children).forEach(([n,r])=>{n===xt&&(e=e.concat(i(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==xt&&(e=e.concat(i(r,n)))}),e}var td=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>new $l,providedIn:"root"})}return t})(),$l=class{parse(i){let e=new oA(i);return new mo(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(i){let e=`/${Ig(i.root,!0)}`,n=IK(i.queryParams),r=typeof i.fragment=="string"?`#${SK(i.fragment)}`:"";return`${e}${n}${r}`}},xK=new $l;function Cy(t){return t.segments.map(i=>CB(i)).join("/")}function Ig(t,i){if(!t.hasChildren())return Cy(t);if(i){let e=t.children[xt]?Ig(t.children[xt],!1):"",n=[];return Object.entries(t.children).forEach(([r,o])=>{r!==xt&&n.push(`${r}:${Ig(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=wK(t,(n,r)=>r===xt?[Ig(t.children[xt],!1)]:[`${r}:${Ig(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[xt]!=null?`${Cy(t)}/${e[0]}`:`${Cy(t)}/(${e.join("//")})`}}function yB(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function by(t){return yB(t).replace(/%3B/gi,";")}function SK(t){return encodeURI(t)}function rA(t){return yB(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dy(t){return decodeURIComponent(t)}function sB(t){return Dy(t.replace(/\+/g,"%20"))}function CB(t){return`${rA(t.path)}${TK(t.parameters)}`}function TK(t){return Object.entries(t).map(([i,e])=>`;${rA(i)}=${rA(e)}`).join("")}function IK(t){let i=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(r=>`${by(e)}=${by(r)}`).join("&"):`${by(e)}=${by(n)}`).filter(e=>e);return i.length?`?${i.join("&")}`:""}var AK=/^[^\/()?;#]+/;function QI(t){let i=t.match(AK);return i?i[0]:""}var kK=/^[^\/()?;=#]+/;function RK(t){let i=t.match(kK);return i?i[0]:""}var MK=/^[^=?&#]+/;function NK(t){let i=t.match(MK);return i?i[0]:""}var OK=/^[^&#]+/;function FK(t){let i=t.match(OK);return i?i[0]:""}var oA=class{url;remaining;constructor(i){this.url=i,this.remaining=i}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dn([],{}):new Dn([],this.parseChildren())}parseQueryParams(){let i={};if(this.consumeOptional("?"))do this.parseQueryParam(i);while(this.consumeOptional("&"));return i}
5parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(i=0){if(i>50)throw new ce(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0,i));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1,i)),(e.length>0||Object.keys(n).length>0)&&(r[xt]=new Dn(e,n)),r}parseSegment(){let i=QI(this.remaining);if(i===""&&this.peekStartsWith(";"))throw new ce(4009,!1);return this.capture(i),new Jc(Dy(i),this.parseMatrixParams())}parseMatrixParams(){let i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){let e=RK(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let r=QI(this.remaining);r&&(n=r,this.capture(n))}i[Dy(e)]=Dy(n)}parseQueryParam(i){let e=NK(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let a=FK(this.remaining);a&&(n=a,this.capture(n))}let r=sB(e),o=sB(n);if(i.hasOwnProperty(r)){let a=i[r];Array.isArray(a)||(a=[a],i[r]=a),a.push(o)}else i[r]=o}parseParens(i,e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=QI(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new ce(4010,!1);let a;r.indexOf(":")>-1?(a=r.slice(0,r.indexOf(":")),this.capture(a),this.capture(":")):i&&(a=xt);let s=this.parseChildren(e+1);n[a??xt]=Object.keys(s).length===1&&s[xt]?s[xt]:new Dn([],s),this.consumeOptional("//")}return n}peekStartsWith(i){return this.remaining.startsWith(i)}consumeOptional(i){return this.peekStartsWith(i)?(this.remaining=this.remaining.substring(i.length),!0):!1}capture(i){if(!this.consumeOptional(i))throw new ce(4011,!1)}};function DB(t){return t.segments.length>0?new Dn([],{[xt]:t}):t}function EB(t){let i={};for(let[n,r]of Object.entries(t.children)){let o=EB(r);if(n===xt&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))i[a]=s;else(o.segments.length>0||o.hasChildren())&&(i[n]=o)}let e=new Dn(t.segments,i);return PK(e)}function PK(t){if(t.numberOfChildren===1&&t.children[xt]){let i=t.children[xt];return new Dn(t.segments.concat(i.segments),i.children)}return t}function ed(t){return t instanceof mo}function wB(t,i,e=null,n=null,r=new $l){let o=xB(t);return SB(o,i,e,n,r)}function xB(t){let i;function e(o){let a={};for(let d of o.children){let p=e(d);a[d.outlet]=p}let s=new Dn(o.url,a);return o===t&&(i=s),s}let n=e(t.root),r=DB(n);return i??r}function SB(t,i,e,n,r){let o=t;for(;o.parent;)o=o.parent;if(i.length===0)return JI(o,o,o,e,n,r);let a=LK(i);if(a.toRoot())return JI(o,o,new Dn([],{}),e,n,r);let s=BK(a,o,t),d=s.processChildren?kg(s.segmentGroup,s.index,a.commands):IB(s.segmentGroup,s.index,a.commands);return JI(o,s.segmentGroup,d,e,n,r)}function wy(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ng(t){return typeof t=="object"&&t!=null&&t.outlets}function lB(t,i,e){t||="\u0275";let n=new mo;return n.queryParams={[t]:i},e.parse(e.serialize(n)).queryParams[t]}function JI(t,i,e,n,r,o){let a={};for(let[p,f]of Object.entries(n??{}))a[p]=Array.isArray(f)?f.map(b=>lB(p,b,o)):lB(p,f,o);let s;t===i?s=e:s=TB(t,i,e);let d=DB(EB(s));return new mo(d,a,r)}function TB(t,i,e){let n={};return Object.entries(t.children).forEach(([r,o])=>{o===i?n[r]=e:n[r]=TB(o,i,e)}),new Dn(t.segments,n)}var xy=class{isAbsolute;numberOfDoubleDots;commands;constructor(i,e,n){if(this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=n,i&&n.length>0&&wy(n[0]))throw new ce(4003,!1);let r=n.find(Ng);if(r&&r!==vK(n))throw new ce(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function LK(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new xy(!0,0,t);let i=0,e=!1,n=t.reduce((r,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};
5return Object.entries(o.outlets).forEach(([d,p])=>{s[d]=typeof p=="string"?p.split("/"):p}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:a===0?(o.split("/").forEach((s,d)=>{d==0&&s==="."||(d==0&&s===""?e=!0:s===".."?i++:s!=""&&r.push(s))}),r):[...r,o]},[]);return new xy(e,i,n)}var fp=class{segmentGroup;processChildren;index;constructor(i,e,n){this.segmentGroup=i,this.processChildren=e,this.index=n}};function BK(t,i,e){if(t.isAbsolute)return new fp(i,!0,0);if(!e)return new fp(i,!1,NaN);if(e.parent===null)return new fp(e,!0,0);let n=wy(t.commands[0])?0:1,r=e.segments.length-1+n;return VK(e,r,t.numberOfDoubleDots)}function VK(t,i,e){let n=t,r=i,o=e;for(;o>r;){if(o-=r,n=n.parent,!n)throw new ce(4005,!1);r=n.segments.length}return new fp(n,!1,r-o)}function jK(t){return Ng(t[0])?t[0].outlets:{[xt]:t}}function IB(t,i,e){if(t??=new Dn([],{}),t.segments.length===0&&t.hasChildren())return kg(t,i,e);let n=HK(t,i,e),r=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new Dn(t.segments.slice(0,n.pathIndex),{});return o.children[xt]=new Dn(t.segments.slice(n.pathIndex),t.children),kg(o,0,r)}else return n.match&&r.length===0?new Dn(t.segments,{}):n.match&&!t.hasChildren()?aA(t,i,e):n.match?kg(t,0,r):aA(t,i,e)}function kg(t,i,e){if(e.length===0)return new Dn(t.segments,{});{let n=jK(e),r={};if(Object.keys(n).some(o=>o!==xt)&&t.children[xt]&&t.numberOfChildren===1&&t.children[xt].segments.length===0){let o=kg(t.children[xt],i,e);return new Dn(t.segments,o.children)}return Object.entries(n).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[o]=IB(t.children[o],i,a))}),Object.entries(t.children).forEach(([o,a])=>{n[o]===void 0&&(r[o]=a)}),new Dn(t.segments,r)}}function HK(t,i,e){let n=0,r=i,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(n>=e.length)return o;let a=t.segments[r],s=e[n];if(Ng(s))break;let d=`${s}`,p=n<e.length-1?e[n+1]:null;if(r>0&&d===void 0)break;if(d&&p&&typeof p=="object"&&p.outlets===void 0){if(!dB(d,p,a))return o;n+=2}else{if(!dB(d,{},a))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function aA(t,i,e){let n=t.segments.slice(0,i),r=0;for(;r<e.length;){let o=e[r];if(Ng(o)){let d=UK(o.outlets);return new Dn(n,d)}if(r===0&&wy(e[0])){let d=t.segments[i];n.push(new Jc(d.path,cB(e[0]))),r++;continue}let a=Ng(o)?o.outlets[xt]:`${o}`,s=r<e.length-1?e[r+1]:null;a&&s&&wy(s)?(n.push(new Jc(a,cB(s))),r+=2):(n.push(new Jc(a,{})),r++)}return new Dn(n,{})}function UK(t){let i={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(i[e]=aA(new Dn([],{}),0,n))}),i}function cB(t){let i={};return Object.entries(t).forEach(([e,n])=>i[e]=`${n}`),i}function dB(t,i,e){return t==e.path&&Vs(i,e.parameters)}var gp="imperative",tr=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(tr||{}),Jo=class{id;url;constructor(i,e){this.id=i,this.url=e}},js=class extends Jo{type=tr.NavigationStart;navigationTrigger;restoredState;constructor(i,e,n="imperative",r=null){super(i,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ea=class extends Jo{urlAfterRedirects;type=tr.NavigationEnd;constructor(i,e,n){super(i,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},jr=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
5solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(jr||{}),bp=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(bp||{}),_a=class extends Jo{reason;code;type=tr.NavigationCancel;constructor(i,e,n,r){super(i,e),this.reason=n,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function AB(t){return t instanceof _a&&(t.code===jr.Redirect||t.code===jr.SupersededByNewNavigation)}var Hs=class extends Jo{reason;code;type=tr.NavigationSkipped;constructor(i,e,n,r){super(i,e),this.reason=n,this.code=r}},Ou=class extends Jo{error;target;type=tr.NavigationError;constructor(i,e,n,r){super(i,e),this.error=n,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Og=class extends Jo{urlAfterRedirects;state;type=tr.RoutesRecognized;constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Sy=class extends Jo{urlAfterRedirects;state;type=tr.GuardsCheckStart;constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ty=class extends Jo{urlAfterRedirects;state;shouldActivate;type=tr.GuardsCheckEnd;constructor(i,e,n,r,o){super(i,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Iy=class extends Jo{urlAfterRedirects;state;type=tr.ResolveStart;constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ay=class extends Jo{urlAfterRedirects;state;type=tr.ResolveEnd;constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ky=class{route;type=tr.RouteConfigLoadStart;constructor(i){this.route=i}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ry=class{route;type=tr.RouteConfigLoadEnd;constructor(i){this.route=i}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},My=class{snapshot;type=tr.ChildActivationStart;constructor(i){this.snapshot=i}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ny=class{snapshot;type=tr.ChildActivationEnd;constructor(i){this.snapshot=i}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Oy=class{snapshot;type=tr.ActivationStart;constructor(i){this.snapshot=i}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Fy=class{snapshot;type=tr.ActivationEnd;constructor(i){this.snapshot=i}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},vp=class{routerEvent;position;anchor;scrollBehavior;type=tr.Scroll;constructor(i,e,n,r){this.routerEvent=i,this.position=e,this.anchor=n,this.scrollBehavior=r}toString(){let i=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${i}')`}},yp=class{},Fg=class{},Cp=class{url;navigationBehaviorOptions;constructor(i,e){this.url=i,this.navigationBehaviorOptions=e}};function zK(t){return!(t instanceof yp)&&!(t instanceof Cp)&&!(t instanceof Fg)}var Py=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(i){this.rootInjector=i,this.children=new Pu(this.rootInjector)}},Pu=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let r=this.getOrCreateContext(e);r.outlet=n,this.contexts.set(e,r)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new Py(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(F(_n))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ly=class{_root;constructor(i){this._root=i}get root(){return this._root.value}
5parent(i){let e=this.pathFromRoot(i);return e.length>1?e[e.length-2]:null}children(i){let e=sA(i,this._root);return e?e.children.map(n=>n.value):[]}firstChild(i){let e=sA(i,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(i){let e=lA(i,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==i)}pathFromRoot(i){return lA(i,this._root).map(e=>e.value)}};function sA(t,i){if(t===i.value)return i;for(let e of i.children){let n=sA(t,e);if(n)return n}return null}function lA(t,i){if(t===i.value)return[i];for(let e of i.children){let n=lA(t,e);if(n.length)return n.unshift(i),n}return[]}var Qo=class{value;children;constructor(i,e){this.value=i,this.children=e}toString(){return`TreeNode(${this.value})`}};function hp(t){let i={};return t&&t.children.forEach(e=>i[e.value.outlet]=e),i}var Pg=class extends Ly{snapshot;constructor(i,e){super(i),this.snapshot=e,vA(this,i)}toString(){return this.snapshot.toString()}};function kB(t,i){let e=GK(t,i),n=new zt([new Jc("",{})]),r=new zt({}),o=new zt({}),a=new zt({}),s=new zt(""),d=new ql(n,r,a,s,o,xt,t,e.root);return d.snapshot=e.root,new Pg(new Qo(d,[]),e)}function GK(t,i){let e={},n={},r={},a=new Dp([],e,r,"",n,xt,t,null,{},i);return new Lg("",new Qo(a,[]))}var ql=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(i,e,n,r,o,a,s,d){this.urlSubject=i,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=d,this.title=this.dataSubject?.pipe($(p=>p[jg]))??P(void 0),this.url=i,this.params=e,this.queryParams=n,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe($(i=>Nu(i))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe($(i=>Nu(i))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function bA(t,i,e="emptyOnly"){let n,{routeConfig:r}=t;return i!==null&&(e==="always"||r?.path===""||!i.component&&!i.routeConfig?.loadComponent)?n={params:L(L({},i.params),t.params),data:L(L({},i.data),t.data),resolve:L(L(L(L({},t.data),i.data),r?.data),t._resolvedData)}:n={params:L({},t.params),data:L({},t.data),resolve:L(L({},t.data),t._resolvedData??{})},r&&MB(r)&&(n.resolve[jg]=r.title),n}var Dp=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[jg]}constructor(i,e,n,r,o,a,s,d,p,f){this.url=i,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=d,this._resolve=p,this._environmentInjector=f}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Nu(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Nu(this.queryParams),this._queryParamMap}toString(){let i=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${i}', path:'${e}')`}},Lg=class extends Ly{url;constructor(i,e){super(e),this.url=i,vA(this,e)}toString(){return RB(this._root)}};function vA(t,i){i.value._routerState=t,i.children.forEach(e=>vA(t,e))}function RB(t){let i=t.children.length>0?` { ${t.children.map(RB).join(", ")} } `:"";return`${t.value}${i}`}function eA(t){if(t.snapshot){let i=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Vs(i.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),i.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Vs(i.params,e.params)||t.paramsSubject.next(e.params),bK(i.url,e.url)||t.urlSubject.next(e.url),Vs(i.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function cA(t,i){let e=Vs(t.params,i.params)&&EK(t.url,i.url),n=!t.parent!=!i.parent;return e&&!n&&(!t.parent||cA(t.parent,i.parent))}function MB(t){return typeof t.title=="string"||t.title===null}var NB=new R(""),yA=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=xt;activateEvents=new V;deactivateEvents=new V;attachEvents=new V;detachEvents=new V;routerOutletData=co();parentContexts=m(Pu);location=m(Pt);changeDetector=m(Ee);inputBinder=m(Hg,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:r}=e.name;if(n)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new ce(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ce(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ce(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new ce(4013,!1);this._activatedRoute=e;let r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,d=new dA(e,s,r.injector,this.routerOutletData);this.activated=r.createComponent(a,{index:r.length,injector:d,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ke]})}return t})(),dA=class{route;childContexts;parent;outletData;
5constructor(i,e,n,r){this.route=i,this.childContexts=e,this.parent=n,this.outletData=r}get(i,e){return i===ql?this.route:i===Pu?this.childContexts:i===NB?this.outletData:this.parent.get(i,e)}},Hg=new R(""),CA=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,r=nn([n.queryParams,n.params,n.data]).pipe(W(([o,a,s],d)=>(s=L(L(L({},o),a),s),d===0?P(s):Promise.resolve(s)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let a=F0(n.component);if(!a){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,o[s])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),DA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,r){n&1&&x(0,"router-outlet")},dependencies:[yA],encapsulation:2})}return t})();function EA(t){let i=t.children&&t.children.map(EA),e=i?Ae(L({},t),{children:i}):L({},t);return!e.component&&!e.loadComponent&&(i||e.loadChildren)&&e.outlet&&e.outlet!==xt&&(e.component=DA),e}function WK(t,i,e){let n=Bg(t,i._root,e?e._root:void 0);return new Pg(n,i)}function Bg(t,i,e){if(e&&t.shouldReuseRoute(i.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=i.value;let r=$K(t,i,e);return new Qo(n,r)}else{if(t.shouldAttach(i.value)){let o=t.retrieve(i.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=i.value,a.children=i.children.map(s=>Bg(t,s)),a}}let n=qK(i.value),r=i.children.map(o=>Bg(t,o));return new Qo(n,r)}}function $K(t,i,e){return i.children.map(n=>{for(let r of e.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return Bg(t,n,r);return Bg(t,n)})}function qK(t){return new ql(new zt(t.url),new zt(t.params),new zt(t.queryParams),new zt(t.fragment),new zt(t.data),t.outlet,t.component,t)}var Ep=class{redirectTo;navigationBehaviorOptions;constructor(i,e){this.redirectTo=i,this.navigationBehaviorOptions=e}},OB="ngNavigationCancelingError";function By(t,i){let{redirectTo:e,navigationBehaviorOptions:n}=ed(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,r=FB(!1,jr.Redirect);return r.url=e,r.navigationBehaviorOptions=n,r}function FB(t,i){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[OB]=!0,e.cancellationCode=i,e}function YK(t){return PB(t)&&ed(t.url)}function PB(t){return!!t&&t[OB]}var uA=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(i,e,n,r,o){this.routeReuseStrategy=i,this.futureState=e,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(i){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,i),eA(this.futureState.root),this.activateChildRoutes(e,n,i)}deactivateChildRoutes(i,e,n){let r=hp(e);i.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,r[a],n),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(i,e,n){let r=i.value,o=e?e.value:null;if(r===o)if(r.component){let a=n.getContext(r.outlet);a&&this.deactivateChildRoutes(i,e,a.children)}else this.deactivateChildRoutes(i,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(i,e){i.value.component&&this.routeReuseStrategy.shouldDetach(i.value.snapshot)?this.detachAndStoreRouteSubtree(i,e):this.deactivateRouteAndOutlet(i,e)}detachAndStoreRouteSubtree(i,e){let n=e.getContext(i.value.outlet),r=n&&i.value.component?n.children:e,o=hp(i);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(n&&n.outlet){let a=n.outlet.detach(),s=n.children.onOutletDeactivated();this.routeReuseStrategy.store(i.value.snapshot,{componentRef:a,route:i,contexts:s})}}deactivateRouteAndOutlet(i,e){let n=e.getContext(i.value.outlet),r=n&&i.value.component?n.children:e,o=hp(i);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(i,e,n){let r=hp(e);
5i.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new Fy(o.value.snapshot))}),i.children.length&&this.forwardEvent(new Ny(i.value.snapshot))}activateRoutes(i,e,n){let r=i.value,o=e?e.value:null;if(eA(r),r===o)if(r.component){let a=n.getOrCreateContext(r.outlet);this.activateChildRoutes(i,e,a.children)}else this.activateChildRoutes(i,e,n);else if(r.component){let a=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),eA(s.route.value),this.activateChildRoutes(i,null,a.children)}else a.attachRef=null,a.route=r,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(i,null,a.children)}else this.activateChildRoutes(i,null,n)}},Vy=class{path;route;constructor(i){this.path=i,this.route=this.path[this.path.length-1]}},_p=class{component;route;constructor(i,e){this.component=i,this.route=e}};function KK(t,i,e){let n=t._root,r=i?i._root:null;return Ag(n,r,e,[n.value])}function XK(t){let i=t.routeConfig?t.routeConfig.canActivateChild:null;return!i||i.length===0?null:{node:t,guards:i}}function xp(t,i){let e=Symbol(),n=i.get(t,e);return n===e?typeof t=="function"&&!wx(t)?t:i.get(t):n}function Ag(t,i,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=hp(i);return t.children.forEach(a=>{ZK(a,o[a.value.outlet],e,n.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Rg(s,e.getContext(a),r)),r}function ZK(t,i,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=i?i.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let d=QK(a,o,o.routeConfig.runGuardsAndResolvers);d?r.canActivateChecks.push(new Vy(n)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Ag(t,i,s?s.children:null,n,r):Ag(t,i,e,n,r),d&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new _p(s.outlet.component,a))}else a&&Rg(i,s,r),r.canActivateChecks.push(new Vy(n)),o.component?Ag(t,null,s?s.children:null,n,r):Ag(t,null,e,n,r);return r}function QK(t,i,e){if(typeof e=="function")return Yi(i._environmentInjector,()=>e(t,i));switch(e){case"pathParamsChange":return!Mu(t.url,i.url);case"pathParamsOrQueryParamsChange":return!Mu(t.url,i.url)||!Vs(t.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!cA(t,i)||!Vs(t.queryParams,i.queryParams);default:return!cA(t,i)}}function Rg(t,i,e){let n=hp(t),r=t.value;Object.entries(n).forEach(([o,a])=>{r.component?i?Rg(a,i.children.getContext(o),e):Rg(a,null,e):Rg(a,i,e)}),r.component?i&&i.outlet&&i.outlet.isActivated?e.canDeactivateChecks.push(new _p(i.outlet.component,r)):e.canDeactivateChecks.push(new _p(null,r)):e.canDeactivateChecks.push(new _p(null,r))}function Ug(t){return typeof t=="function"}function JK(t){return typeof t=="boolean"}function eX(t){return t&&Ug(t.canLoad)}function tX(t){return t&&Ug(t.canActivate)}function nX(t){return t&&Ug(t.canActivateChild)}function iX(t){return t&&Ug(t.canDeactivate)}function rX(t){return t&&Ug(t.canMatch)}function LB(t){return t instanceof Tl||t?.name==="EmptyError"}var vy=Symbol("INITIAL_VALUE");function wp(){return W(t=>nn(t.map(i=>i.pipe(We(1),Re(vy)))).pipe($(i=>{for(let e of i)if(e!==!0){if(e===vy)return vy;if(e===!1||oX(e))return e}return!0}),ae(i=>i!==vy),We(1)))}function oX(t){return ed(t)||t instanceof Ep}function BB(t){return t.aborted?P(void 0).pipe(We(1)):new Ne(i=>{let e=()=>{i.next(),i.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function VB(t){return xe(BB(t))}function aX(t){return ii(i=>{let{targetSnapshot:e,currentSnapshot:n,guards:{canActivateChecks:r,canDeactivateChecks:o}}=i;return o.length===0&&r.length===0?P(Ae(L({},i),{guardsResult:!0})):sX(o,e,n).pipe(ii(a=>a&&JK(a)?lX(e,r,t):P(a)),$(a=>Ae(L({},i),{guardsResult:a})))})}function sX(t,i,e){return fn(t).pipe(ii(n=>pX(n.component,n.route,e,i)),Ha(n=>n!==!0,!0))}function lX(t,i,e){return fn(i).pipe(Es(n=>Ds(dX(n.route.parent,e),cX(n.route,e),mX(t,n.path),uX(t,n.route))),Ha(n=>n!==!0,!0))}function cX(t,i){return t!==null&&i&&i(new Oy(t)),P(!0)}function dX(t,i){return t!==null&&i&&i(new My(t)),P(!0)}
5function uX(t,i){let e=i.routeConfig?i.routeConfig.canActivate:null;if(!e||e.length===0)return P(!0);let n=e.map(r=>Wn(()=>{let o=i._environmentInjector,a=xp(r,o),s=tX(a)?a.canActivate(i,t):Yi(o,()=>a(i,t));return Fu(s).pipe(Ha())}));return P(n).pipe(wp())}function mX(t,i){let e=i[i.length-1],r=i.slice(0,i.length-1).reverse().map(o=>XK(o)).filter(o=>o!==null).map(o=>Wn(()=>{let a=o.guards.map(s=>{let d=o.node._environmentInjector,p=xp(s,d),f=nX(p)?p.canActivateChild(e,t):Yi(d,()=>p(e,t));return Fu(f).pipe(Ha())});return P(a).pipe(wp())}));return P(r).pipe(wp())}function pX(t,i,e,n){let r=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!r||r.length===0)return P(!0);let o=r.map(a=>{let s=i._environmentInjector,d=xp(a,s),p=iX(d)?d.canDeactivate(t,i,e,n):Yi(s,()=>d(t,i,e,n));return Fu(p).pipe(Ha())});return P(o).pipe(wp())}function hX(t,i,e,n,r){let o=i.canLoad;if(o===void 0||o.length===0)return P(!0);let a=o.map(s=>{let d=xp(s,t),p=eX(d)?d.canLoad(i,e):Yi(t,()=>d(i,e)),f=Fu(p);return r?f.pipe(VB(r)):f});return P(a).pipe(wp(),jB(n))}function jB(t){return Kw(B(i=>{if(typeof i!="boolean")throw By(t,i)}),$(i=>i===!0))}function fX(t,i,e,n,r,o){let a=i.canMatch;if(!a||a.length===0)return P(!0);let s=a.map(d=>{let p=xp(d,t),f=rX(p)?p.canMatch(i,e,r):Yi(t,()=>p(i,e,r));return Fu(f).pipe(VB(o))});return P(s).pipe(wp(),jB(n))}var Wl=class t extends Error{segmentGroup;constructor(i){super(),this.segmentGroup=i||null,Object.setPrototypeOf(this,t.prototype)}},Vg=class t extends Error{urlTree;constructor(i){super(),this.urlTree=i,Object.setPrototypeOf(this,t.prototype)}};function gX(t){throw new ce(4e3,!1)}function _X(t){throw FB(!1,jr.GuardRejected)}var mA=class{urlSerializer;urlTree;constructor(i,e){this.urlSerializer=i,this.urlTree=e}lineralizeSegments(i,e){return kn(this,null,function*(){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return n;if(r.numberOfChildren>1||!r.children[xt])throw gX(`${i.redirectTo}`);r=r.children[xt]}})}applyRedirectCommands(i,e,n,r,o){return kn(this,null,function*(){let a=yield bX(e,r,o);if(a instanceof mo)throw new Vg(a);let s=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),i,n);if(a[0]==="/")throw new Vg(s);return s})}applyRedirectCreateUrlTree(i,e,n,r){let o=this.createSegmentGroup(i,e.root,n,r);return new mo(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(i,e){let n={};return Object.entries(i).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let s=o.substring(1);n[r]=e[s]}else n[r]=o}),n}createSegmentGroup(i,e,n,r){let o=this.createSegments(i,e.segments,n,r),a={};return Object.entries(e.children).forEach(([s,d])=>{a[s]=this.createSegmentGroup(i,d,n,r)}),new Dn(o,a)}createSegments(i,e,n,r){return e.map(o=>o.path[0]===":"?this.findPosParam(i,o,r):this.findOrReturn(o,n))}findPosParam(i,e,n){let r=n[e.path.substring(1)];if(!r)throw new ce(4001,!1);return r}findOrReturn(i,e){let n=0;for(let r of e){if(r.path===i.path)return e.splice(n),r;n++}return i}};function bX(t,i,e){if(typeof t=="string")return Promise.resolve(t);let n=t;return Ey(Fu(Yi(e,()=>n(i))))}function vX(t,i){return t.providers&&!t._injector&&(t._injector=op(t.providers,i,`Route: ${t.path}`)),t._injector??i}function ts(t){return t.outlet||xt}function yX(t,i){let e=t.filter(n=>ts(n)===i);return e.push(...t.filter(n=>ts(n)!==i)),e}var pA={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function HB(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function CX(t,i,e,n,r,o,a){let s=UB(t,i,e);if(!s.matched)return P(s);let d=HB(o(s));return n=vX(i,n),fX(n,i,e,r,d,a).pipe($(p=>p===!0?s:L({},pA)))}function UB(t,i,e){if(i.path==="")return i.pathMatch==="full"&&(t.hasChildren()||e.length>0)?L({},pA):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(i.matcher||pB)(e,t,i);if(!r)return L({},pA);let o={};Object.entries(r.posParams??{}
5).forEach(([s,d])=>{o[s]=d.path});let a=r.consumed.length>0?L(L({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function uB(t,i,e,n,r){return e.length>0&&wX(t,e,n,r)?{segmentGroup:new Dn(i,EX(n,new Dn(e,t.children))),slicedSegments:[]}:e.length===0&&xX(t,e,n)?{segmentGroup:new Dn(t.segments,DX(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new Dn(t.segments,t.children),slicedSegments:e}}function DX(t,i,e,n){let r={};for(let o of e)if(Hy(t,i,o)&&!n[ts(o)]){let a=new Dn([],{});r[ts(o)]=a}return L(L({},n),r)}function EX(t,i){let e={};e[xt]=i;for(let n of t)if(n.path===""&&ts(n)!==xt){let r=new Dn([],{});e[ts(n)]=r}return e}function wX(t,i,e,n){return e.some(r=>!Hy(t,i,r)||!(ts(r)!==xt)?!1:!(n!==void 0&&ts(r)===n))}function xX(t,i,e){return e.some(n=>Hy(t,i,n))}function Hy(t,i,e){return(t.hasChildren()||i.length>0)&&e.pathMatch==="full"?!1:e.path===""}function SX(t,i,e){return i.length===0&&!t.children[e]}var hA=class{};function TX(t,i,e,n,r,o,a="emptyOnly",s){return kn(this,null,function*(){return new fA(t,i,e,n,r,a,o,s).recognize()})}var IX=31,fA=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(i,e,n,r,o,a,s,d){this.injector=i,this.configLoader=e,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.abortSignal=d,this.applyRedirects=new mA(this.urlSerializer,this.urlTree)}noMatchError(i){return new ce(4002,`'${i.segmentGroup}'`)}recognize(){return kn(this,null,function*(){let i=uB(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:n}=yield this.match(i),r=new Qo(n,e),o=new Lg("",r),a=wB(n,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}})}match(i){return kn(this,null,function*(){let e=new Dp([],Object.freeze({}),Object.freeze(L({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),xt,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,i,xt,e),rootSnapshot:e}}catch(n){if(n instanceof Vg)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Wl?this.noMatchError(n):n}})}processSegmentGroup(i,e,n,r,o){return kn(this,null,function*(){if(n.segments.length===0&&n.hasChildren())return this.processChildren(i,e,n,o);let a=yield this.processSegment(i,e,n,n.segments,r,!0,o);return a instanceof Qo?[a]:[]})}processChildren(i,e,n,r){return kn(this,null,function*(){let o=[];for(let d of Object.keys(n.children))d==="primary"?o.unshift(d):o.push(d);let a=[];for(let d of o){let p=n.children[d],f=yX(e,d),b=yield this.processSegmentGroup(i,f,p,d,r);a.push(...b)}let s=zB(a);return AX(s),s})}processSegment(i,e,n,r,o,a,s){return kn(this,null,function*(){for(let d of e)try{return yield this.processSegmentAgainstRoute(d._injector??i,e,d,n,r,o,a,s)}catch(p){if(p instanceof Wl||LB(p))continue;throw p}if(SX(n,r,o))return new hA;throw new Wl(n)})}processSegmentAgainstRoute(i,e,n,r,o,a,s,d){return kn(this,null,function*(){if(ts(n)!==a&&(a===xt||!Hy(r,o,n)))throw new Wl(r);if(n.redirectTo===void 0)return this.matchSegmentAgainstRoute(i,r,n,o,a,d);if(this.allowRedirects&&s)return this.expandSegmentAgainstRouteUsingRedirect(i,r,e,n,o,a,d);throw new Wl(r)})}expandSegmentAgainstRouteUsingRedirect(i,e,n,r,o,a,s){return kn(this,null,function*(){let{matched:d,parameters:p,consumedSegments:f,positionalParamSegments:b,remainingSegments:w}=UB(e,r,o);if(!d)throw new Wl(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>IX&&(this.allowRedirects=!1));let A=this.createSnapshot(i,r,o,p,s);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let M=yield this.applyRedirects.applyRedirectCommands(f,r.redirectTo,b,HB(A),i),J=yield this.applyRedirects.lineralizeSegments(r,M);return this.processSegment(i,n,e,J.concat(w),a,!1,s)})}
5createSnapshot(i,e,n,r,o){let a=new Dp(n,r,Object.freeze(L({},this.urlTree.queryParams)),this.urlTree.fragment,RX(e),ts(e),e.component??e._loadedComponent??null,e,MX(e),i),s=bA(a,o,this.paramsInheritanceStrategy);return a.params=Object.freeze(s.params),a.data=Object.freeze(s.data),a}matchSegmentAgainstRoute(i,e,n,r,o,a){return kn(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let s=tn=>this.createSnapshot(i,n,tn.consumedSegments,tn.parameters,a),d=yield Ey(CX(e,n,r,i,this.urlSerializer,s,this.abortSignal));if(n.path==="**"&&(e.children={}),!d?.matched)throw new Wl(e);i=n._injector??i;let{routes:p}=yield this.getChildConfig(i,n,r),f=n._loadedInjector??i,{parameters:b,consumedSegments:w,remainingSegments:A}=d,M=this.createSnapshot(i,n,w,b,a),{segmentGroup:J,slicedSegments:j}=uB(e,w,A,p,o);if(j.length===0&&J.hasChildren()){let tn=yield this.processChildren(f,p,J,M);return new Qo(M,tn)}if(p.length===0&&j.length===0)return new Qo(M,[]);let K=ts(n)===o,Te=yield this.processSegment(f,p,J,j,K?xt:o,!0,M);return new Qo(M,Te instanceof Qo?[Te]:[])})}getChildConfig(i,e,n){return kn(this,null,function*(){if(e.children)return{routes:e.children,injector:i};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(i).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield Ey(hX(i,e,n,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(i,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw _X(e)}return{routes:[],injector:i}})}};function AX(t){t.sort((i,e)=>i.value.outlet===xt?-1:e.value.outlet===xt?1:i.value.outlet.localeCompare(e.value.outlet))}function kX(t){let i=t.value.routeConfig;return i&&i.path===""}function zB(t){let i=[],e=new Set;for(let n of t){if(!kX(n)){i.push(n);continue}let r=i.find(o=>n.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...n.children),e.add(r)):i.push(n)}for(let n of e){let r=zB(n.children);i.push(new Qo(n.value,r))}return i.filter(n=>!e.has(n))}function RX(t){return t.data||{}}function MX(t){return t.resolve||{}}function NX(t,i,e,n,r,o,a){return ii(s=>kn(null,null,function*(){let{state:d,tree:p}=yield TX(t,i,e,n,s.extractedUrl,r,o,a);return Ae(L({},s),{targetSnapshot:d,urlAfterRedirects:p})}))}function OX(t){return ii(i=>{let{targetSnapshot:e,guards:{canActivateChecks:n}}=i;if(!n.length)return P(i);let r=new Set(n.map(s=>s.route)),o=new Set;for(let s of r)if(!o.has(s))for(let d of GB(s))o.add(d);let a=0;return fn(o).pipe(Es(s=>r.has(s)?FX(s,e,t):(s.data=bA(s,s.parent,t).resolve,P(void 0))),B(()=>a++),Zb(1),ii(s=>a===o.size?P(i):ke))})}function GB(t){let i=t.children.map(e=>GB(e)).flat();return[t,...i]}function FX(t,i,e){let n=t.routeConfig,r=t._resolve;return n?.title!==void 0&&!MB(n)&&(r[jg]=n.title),Wn(()=>(t.data=bA(t,t.parent,e).resolve,PX(r,t,i).pipe($(o=>(t._resolvedData=o,t.data=L(L({},t.data),o),null)))))}function PX(t,i,e){let n=nA(t);if(n.length===0)return P({});let r={};return fn(n).pipe(ii(o=>LX(t[o],i,e).pipe(Ha(),B(a=>{if(a instanceof Ep)throw By(new $l,a);r[o]=a}))),Zb(1),$(()=>r),Ge(o=>LB(o)?ke:gn(o)))}function LX(t,i,e){let n=i._environmentInjector,r=xp(t,n),o=r.resolve?r.resolve(i,e):Yi(n,()=>r(i,e));return Fu(o)}function mB(t){return W(i=>{let e=t(i);return e?fn(e).pipe($(()=>i)):P(i)})}var wA=(()=>{class t{buildTitle(e){let n,r=e.root;for(;r!==void 0;)n=this.getResolvedTitleForRoute(r)??n,r=r.children.find(o=>o.outlet===xt);return n}getResolvedTitleForRoute(e){return e.data[jg]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(WB),providedIn:"root"})}return t})(),WB=(()=>{class t extends wA{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(F(M2))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),nd=new R("",{factory:()=>({})}),Sp=new R(""),Uy=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=m(tI);loadComponent(e,n){return kn(this,null,function*(){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return Promise.resolve(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=kn(this,null,function*(){try{let o=yield fB(Yi(e,()=>n.loadComponent())),a=yield YB(qB(o));return this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=a,a}finally{this.componentLoaders.delete(n)}});return this.componentLoaders.set(n,r),r})}
5loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Promise.resolve({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let r=kn(this,null,function*(){try{let o=yield $B(n,this.compiler,e,this.onLoadEndListener);return n._loadedRoutes=o.routes,n._loadedInjector=o.injector,n._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(n)}});return this.childrenLoaders.set(n,r),r}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function $B(t,i,e,n){return kn(this,null,function*(){let r=yield fB(Yi(e,()=>t.loadChildren())),o=yield YB(qB(r)),a;o instanceof b0||Array.isArray(o)?a=o:a=yield i.compileModuleAsync(o),n&&n(t);let s,d,p=!1,f;return Array.isArray(a)?(d=a,p=!0):(s=a.create(e).injector,f=a,d=s.get(Sp,[],{optional:!0,self:!0}).flat()),{routes:d.map(EA),injector:s,factory:f}})}function BX(t){return t&&typeof t=="object"&&"default"in t}function qB(t){return BX(t)?t.default:t}function YB(t){return kn(this,null,function*(){return t})}var zy=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(VX),providedIn:"root"})}return t})(),VX=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xA=new R(""),SA=new R("");function KB(t,i,e){let n=t.get(SA),r=t.get(Ce);if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(p=>setTimeout(p));let o,a=new Promise(p=>{o=p}),s=r.startViewTransition(()=>(o(),jX(t)));s.updateCallbackDone.catch(p=>{}),s.ready.catch(p=>{}),s.finished.catch(p=>{});let{onViewTransitionCreated:d}=n;return d&&Yi(t,()=>d({transition:s,from:i,to:e})),a}function jX(t){return new Promise(i=>{Dt({read:()=>setTimeout(i)},{injector:t})})}var HX=()=>{},TA=new R(""),Gy=(()=>{class t{currentNavigation=Z(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Z(null);events=new O;transitionAbortWithErrorSubject=new O;configLoader=m(Uy);environmentInjector=m(_n);destroyRef=m(dn);urlSerializer=m(td);rootContexts=m(Pu);location=m(Ls);inputBindingEnabled=m(Hg,{optional:!0})!==null;titleStrategy=m(wA);options=m(nd,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=m(zy);createViewTransition=m(xA,{optional:!0});navigationErrorHandler=m(TA,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>P(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new ky(r)),n=r=>this.events.next(new Ry(r));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;Wt(()=>{this.transitions?.next(Ae(L({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new zt(null),this.transitions.pipe(ae(n=>n!==null),W(n=>{let r=!1,o=new AbortController,a=()=>!r&&this.currentTransition?.id===n.id;return P(n).pipe(W(s=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",jr.SupersededByNewNavigation),ke;this.currentTransition=n;let d=this.lastSuccessfulNavigation();this.currentNavigation.set({id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:d?Ae(L({},d),{previousNavigation:null}):null,abort:()=>o.abort(),routesRecognizeHandler:s.routesRecognizeHandler,beforeActivateHandler:s.beforeActivateHandler});let p=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),f=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!p&&f!=="reload")return this.events.next(new Hs(s.id,this.urlSerializer.serialize(s.rawUrl),"",bp.IgnoredSameUrlNavigation)),s.resolve(!1),ke;if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return P(s).pipe(W(b=>(this.events.next(new js(b.id,this.urlSerializer.serialize(b.extractedUrl),b.source,b.restoredState)),b.id!==this.navigationId?ke:Promise.resolve(b))),NX(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),B(b=>{n.targetSnapshot=b.targetSnapshot,n.urlAfterRedirects=b.urlAfterRedirects,this.currentNavigation.update(w=>(w.finalUrl=b.urlAfterRedirects,w)),this.events.next(new Fg)}),W(b=>fn(n.routesRecognizeHandler.deferredHandle??P(void 0)).pipe($(()=>b))),B(()=>{let b=new Og(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(b)}));if(p&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:b,extractedUrl:w,source:A,restoredState:M,extras:J}=s,j=new js(b,this.urlSerializer.serialize(w),A,M);this.events.next(j);let K=kB(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=n=Ae(L({},s),{targetSnapshot:K,urlAfterRedirects:w,extras:Ae(L({},J),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(Te=>(Te.finalUrl=w,Te)),P(n)}else return this.events.next(new Hs(s.id,this.urlSerializer.serialize(s.extractedUrl),"",bp.IgnoredByUrlHandlingStrategy)),s.resolve(!1),ke}),$(s=>{let d=new Sy(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);return this.events.next(d),this.currentTransition=n=Ae(L({},s),{guards:KK(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),n}),aX(s=>this.events.next(s)),W(s=>{if(n.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw By(this.urlSerializer,s.guardsResult);let d=new Ty(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(d),!a())return ke;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",jr.GuardRejected),ke;if(s.guards.canActivateChecks.length===0)return P(s);let p=new Iy(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(p),!a())return ke;let f=!1;return P(s).pipe(OX(this.paramsInheritanceStrategy),B({next:()=>{f=!0;let b=new Ay(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(b)},complete:()=>
5{f||this.cancelNavigationTransition(s,"",jr.NoDataFromResolver)}}))}),mB(s=>{let d=f=>{let b=[];if(f.routeConfig?._loadedComponent)f.component=f.routeConfig?._loadedComponent;else if(f.routeConfig?.loadComponent){let w=f._environmentInjector;b.push(this.configLoader.loadComponent(w,f.routeConfig).then(A=>{f.component=A}))}for(let w of f.children)b.push(...d(w));return b},p=d(s.targetSnapshot.root);return p.length===0?P(s):fn(Promise.all(p).then(()=>s))}),mB(()=>this.afterPreactivation()),W(()=>{let{currentSnapshot:s,targetSnapshot:d}=n,p=this.createViewTransition?.(this.environmentInjector,s.root,d.root);return p?fn(p).pipe($(()=>n)):P(n)}),We(1),W(s=>{let d=WK(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);this.currentTransition=n=s=Ae(L({},s),{targetRouterState:d}),this.currentNavigation.update(f=>(f.targetRouterState=d,f)),this.events.next(new yp);let p=n.beforeActivateHandler.deferredHandle;return p?fn(p.then(()=>s)):P(s)}),B(s=>{new uA(e.routeReuseStrategy,n.targetRouterState,n.currentRouterState,d=>this.events.next(d),this.inputBindingEnabled).activate(this.rootContexts),a()&&(r=!0,this.currentNavigation.update(d=>(d.abort=HX,d)),this.lastSuccessfulNavigation.set(Wt(this.currentNavigation)),this.events.next(new ea(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0))}),xe(BB(o.signal).pipe(ae(()=>!r&&!n.targetRouterState),B(()=>{this.cancelNavigationTransition(n,o.signal.reason+"",jr.Aborted)}))),B({complete:()=>{r=!0}}),xe(this.transitionAbortWithErrorSubject.pipe(B(s=>{throw s}))),Zr(()=>{o.abort(),r||this.cancelNavigationTransition(n,"",jr.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Ge(s=>{if(r=!0,this.destroyed)return n.resolve(!1),ke;if(PB(s))this.events.next(new _a(n.id,this.urlSerializer.serialize(n.extractedUrl),s.message,s.cancellationCode)),YK(s)?this.events.next(new Cp(s.url,s.navigationBehaviorOptions)):n.resolve(!1);else{let d=new Ou(n.id,this.urlSerializer.serialize(n.extractedUrl),s,n.targetSnapshot??void 0);try{let p=Yi(this.environmentInjector,()=>this.navigationErrorHandler?.(d));if(p instanceof Ep){let{message:f,cancellationCode:b}=By(this.urlSerializer,p);this.events.next(new _a(n.id,this.urlSerializer.serialize(n.extractedUrl),f,b)),this.events.next(new Cp(p.redirectTo,p.navigationBehaviorOptions))}else throw this.events.next(d),s}catch(p){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(p)}}return ke}))}))}cancelNavigationTransition(e,n,r){let o=new _a(e.id,this.urlSerializer.serialize(e.extractedUrl),n,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=Wt(this.currentNavigation),r=n?.targetBrowserUrl??n?.extractedUrl;return e.toString()!==r?.toString()&&!n?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function UX(t){return t!==gp}var XB=new R("");var ZB=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(zX),providedIn:"root"})}return t})(),jy=class{shouldDetach(i){return!1}store(i,e){}shouldAttach(i){return!1}retrieve(i){return null}shouldReuseRoute(i,e){return i.routeConfig===e.routeConfig}shouldDestroyInjector(i){return!0}},zX=(()=>{class t extends jy{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wy=(()=>{class t{urlSerializer=m(td);options=m(nd,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=m(Ls);urlHandlingStrategy=m(zy);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new mo;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,a=r??o;return a instanceof mo?this.urlSerializer.serialize(a):a}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:r}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,r),this.routerState=e):this.rawUrlTree=r}routerState=kB(null,m(_n));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(GX),providedIn:"root"})}return t})(),GX=(()=>{class t extends Wy{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,n){e instanceof js?this.updateStateMemento():e instanceof Hs?this.commitTransition(n):e instanceof Og?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof yp?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof _a&&!AB(e)?this.restoreHistory(n):e instanceof Ou?this.restoreHistory(n,!0):e instanceof ea&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,n){let{extras:r,id:o}=n,{replaceUrl:a,state:s}=r;if(this.location.isCurrentPathEqualTo(e)||a){let d=this.browserPageId,p=L(L({},s),this.generateNgRouterState(o,d,n));this.location.replaceState(e,"",p)}else{let d=L(L({},s),this.generateNgRouterState(o,this.browserPageId+1,n));this.location.go(e,"",d)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n,r){return this.canceledNavigationResolution==="computed"?L({navigationId:e,\u0275routerPageId:n},this.routerUrlState(r)):L({navigationId:e},this.routerUrlState(r))}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function $y(t,i){t.events.pipe(ae(e=>e instanceof ea||e instanceof _a||e instanceof Ou||e instanceof Hs),$(e=>e instanceof ea||e instanceof Hs?0:(e instanceof _a?e.code===jr.Redirect||e.code===jr.SupersededByNewNavigation:!1)?2:1),ae(e=>e!==2),We(1)).subscribe(()=>{i()})}var wr=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=m(v0);stateManager=m(Wy);options=m(nd,{optional:!0})||{};pendingTasks=m(As);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=m(Gy);
5urlSerializer=m(td);location=m(Ls);urlHandlingStrategy=m(zy);injector=m(_n);_events=new O;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=m(ZB);injectorCleanup=m(XB,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=m(Sp,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!m(Hg,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new _e;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let r=this.navigationTransitions.currentTransition,o=Wt(this.navigationTransitions.currentNavigation);if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof _a&&n.code!==jr.Redirect&&n.code!==jr.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof ea)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(n instanceof Cp){let a=n.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(n.url,r.currentRawUrl),d=L({scroll:r.extras.scroll,browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||UX(r.source)},a);this.scheduleNavigation(s,gp,null,d,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}zK(n)&&this._events.next(n)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),gp,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,r,o)=>{this.navigateToSyncWithBrowser(e,r,n,o)})}navigateToSyncWithBrowser(e,n,r,o){let a=r?.navigationId?r:null,s=r?.\u0275routerUrl??e;if(r?.\u0275routerUrl&&(o=Ae(L({},o),{browserUrl:e})),r){let p=L({},r);delete p.navigationId,delete p.\u0275routerPageId,delete p.\u0275routerUrl,Object.keys(p).length!==0&&(o.state=p)}let d=this.parseUrl(s);this.scheduleNavigation(d,n,a,o).catch(p=>{this.disposed||this.injector.get(Eo)(p)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Wt(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(EA),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:d}=n,p=d?this.currentUrlTree.fragment:a,f=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":f=L(L({},this.currentUrlTree.queryParams),o);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=o||null}f!==null&&(f=this.removeEmptyProps(f));let b;try{let w=r?r.snapshot:this.routerState.snapshot.root;b=xB(w)}catch(w){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),b=this.currentUrlTree.root}return SB(b,e,f,p??null,this.urlSerializer)}navigateByUrl(e,n={skipLocationChange:!1}){let r=ed(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,gp,null,n)}navigate(e,n={skipLocationChange:!1}){return WX(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(n){return this.console.warn(ua(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,n){let r;if(n===!0?r=L({},gA):n===!1?r=L({},Mg):r=L(L({},Mg),n),ed(e))return iA(this.currentUrlTree,e,r);let o=this.parseUrl(e);return iA(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((n,[r,o])=>(o!=null&&(n[r]=o),n),{})}scheduleNavigation(e,n,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,d,p;a?(s=a.resolve,d=a.reject,p=a.promise):p=new Promise((b,w)=>{s=b,d=w});let f=this.pendingTasks.add();return $y(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:s,reject:d,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
5),p.catch(Promise.reject.bind(Promise))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function WX(t){for(let i=0;i<t.length;i++)if(t[i]==null)throw new ce(4008,!1)}var $X=(()=>{class t{router=m(wr);stateManager=m(Wy);fragment=Z("");queryParams=Z({});path=Z("");serializer=m(td);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof ea&&this.updateState()})}updateState(){let{fragment:e,root:n,queryParams:r}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(r),this.path.set(this.serializer.serialize(new mo(n)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qy=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=m(new di("href"),{optional:!0});reactiveHref=nI(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return Wt(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return Wt(this._target)}_target=Z(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return Wt(this._queryParams)}_queryParams=Z(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return Wt(this._fragment)}_fragment=Z(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return Wt(this._queryParamsHandling)}_queryParamsHandling=Z(void 0);set state(e){this._state.set(e)}get state(){return Wt(this._state)}_state=Z(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return Wt(this._info)}_info=Z(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return Wt(this._relativeTo)}_relativeTo=Z(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return Wt(this._preserveFragment)}_preserveFragment=Z(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return Wt(this._skipLocationChange)}_skipLocationChange=Z(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return Wt(this._replaceUrl)}_replaceUrl=Z(!1);isAnchorElement;onChanges=new O;applicationErrorHandler=m(Eo);options=m(nd,{optional:!0});reactiveRouterState=m($X);constructor(e,n,r,o,a,s){this.router=e,this.route=n,this.tabIndexAttribute=r,this.renderer=o,this.el=a,this.locationStrategy=s;let d=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=d==="a"||d==="area"||!!(typeof customElements=="object"&&customElements.get(d)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=Z(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(ed(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,r,o,a){let s=this._urlTree();if(s===null||this.isAnchorElement&&(e!==0||n||r||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,d)?.catch(p=>{this.applicationErrorHandler(p)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,n){let r=this.renderer,o=this.el.nativeElement;n!==null?r.setAttribute(o,e,n):r.removeAttribute(o,e)}_urlTree=Ct(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=r=>r==="preserve"||r==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let n=this.routerLinkInput();return n===null||!this.router.createUrlTree?null:ed(n)?n:this.router.createUrlTree(n,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,n)=>this.computeHref(e)===this.computeHref(n)});get urlTree(){return Wt(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(n){return new(n||t)(E(wr),E(ql),Zf("tabindex"),E(ot),E(Q),E(Qa))};static \u0275dir=N({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(n,r){n&1&&T("click",function(a){return r.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),n&2&&oe("href",r.reactiveHref(),vT)("target",r._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",q],skipLocationChange:[2,"skipLocationChange","skipLocationChange",q],replaceUrl:[2,"replaceUrl","replaceUrl",q],routerLink:"routerLink"},features:[Ke]})}return t})(),qX=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new V;link=m(qy,{optional:!0});constructor(e,n,r,o){this.router=e,this.element=n,this.renderer=r,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof ea&&this.update()})}ngAfterContentInit(){P(this.links.changes,P(null)).pipe(Cs()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=fn(e).pipe(Cs()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(r=>!!r)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();
5this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=YX(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?L({},gA):L({},Mg);return r=>{let o=r.urlTree;return o?Wt(_A(o,e,n)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(E(wr),E(Q),E(ot),E(Ee))};static \u0275dir=N({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,qy,5),n&2){let a;H(a=U())&&(r.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Ke]})}return t})();function YX(t){let i=t;return!!(i.paths||i.matrixParams||i.queryParams||i.fragment)}var zg=class{};var QB=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,r,o){this.router=e,this.injector=n,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ae(e=>e instanceof ea),Es(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,n){let r=[];for(let o of n){o.providers&&!o._injector&&(o._injector=op(o.providers,e,""));let a=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(a).injector);let s=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(s,o.children??o._loadedRoutes))}return fn(r).pipe(Cs())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{if(e.destroyed)return P(null);let r;n.loadChildren&&n.canLoad===void 0?r=fn(this.loader.loadChildren(e,n)):r=P(null);let o=r.pipe(ii(a=>a===null?P(void 0):(n._loadedRoutes=a.routes,n._loadedInjector=a.injector,n._loadedNgModuleFactory=a.factory,this.processRoutes(a.injector??e,a.routes))));if(n.loadComponent&&!n._loadedComponent){let a=this.loader.loadComponent(e,n);return fn([o,a]).pipe(Cs())}else return o})}static \u0275fac=function(n){return new(n||t)(F(wr),F(_n),F(zg),F(Uy))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),JB=new R(""),KX=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=gp;restoredId=0;store={};isHydrating=m(mT,{optional:!0})??!1;urlSerializer=m(td);zone=m(le);viewportScroller=m(wI);transitions=m(Gy);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&m(Qi).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof js?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ea?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Hs&&e.code===bp.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof vp)||e.scrollBehavior==="manual")return;let n={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],n):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,n):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,n){if(this.isHydrating)return;let r=Wt(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>kn(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new vp(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){Eu()};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function XX(){return m(wr).routerState.root}function Gg(t,i){return{\u0275kind:t,\u0275providers:i}}function ZX(){let t=m(ie);return i=>{let e=t.get(Qi);if(i!==e.components[0])return;let n=t.get(wr),r=t.get(eV);t.get(AA)===1&&n.initialNavigation(),t.get(iV,null,{optional:!0})?.setUpPreloading(),t.get(JB,null,{optional:!0})?.init(),n.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var eV=new R("",{factory:()=>new O}),AA=new R("",{factory:()=>1});function tV(){let t=[{provide:r0,useValue:!0},{provide:AA,useValue:0},E0(()=>{let i=m(ie);return i.get(pI,Promise.resolve()).then(()=>new Promise(n=>{let r=i.get(wr),o=i.get(eV);$y(r,()=>{n(!0)}),i.get(Gy).afterPreactivation=()=>(n(!0),o.closed?P(void 0):o),r.initialNavigation()}))})];return Gg(2,t)}function nV(){let t=[E0(()=>{m(wr).setUpLocationChangeListener()}),{provide:AA,useValue:2}];return Gg(3,t)}var iV=new R("");function rV(t){return Gg(0,[{provide:iV,useExisting:QB},{provide:zg,useExisting:t}])}function oV(){return Gg(8,[CA,{provide:Hg,useExisting:CA}])}function aV(t){qo("NgRouterViewTransitions");let i=[{provide:xA,useValue:KB},{provide:SA,useValue:L({skipNextTransition:!!t?.skipInitialTransition},t)}];return Gg(9,i)}var sV=[Ls,{provide:td,useClass:$l},wr,Pu,{provide:ql,useFactory:XX},Uy,[]],QX=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[sV,[],{provide:Sp,multi:!0,useValue:e},[],n?.errorHandler?{provide:TA,useValue:n.errorHandler}:[],{provide:nd,useValue:n||{}},n?.useHash?eZ():tZ(),JX(),n?.preloadingStrategy?rV(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?nZ(n):[],n?.bindToComponentInputs?oV().\u0275providers:[],n?.enableViewTransitions?aV().\u0275providers:[],iZ()]}}static forChild(e){return{ngModule:t,providers:[{provide:Sp,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();function JX(){return{provide:JB,useFactory:()=>{let t=m(wI),i=m(nd);return i.scrollOffset&&t.setOffset(i.scrollOffset),new KX(i)}}}function eZ(){return{provide:Qa,useClass:yI}}function tZ(){return{provide:Qa,useClass:B0}}function nZ(t){return[t.initialNavigation==="disabled"?nV().\u0275providers:[],t.initialNavigation==="enabledBlocking"?tV().\u0275providers:[]]}var IA=new R("");function iZ(){return[{provide:IA,useFactory:ZX},{provide:w0,multi:!0,useExisting:IA}]}var Tp="accounts",X2e="bank-statements",Z2e="current",Q2e="transfer-history",J2e="cards",eBe="card-locks",tBe="operations",nBe="standing-order",iBe="deposits",rBe="gsm-boosts",oBe="transfers",aBe="signatures",sBe="approvals",lBe="execution",cBe="currency-exchange",dBe="contractors",uBe="support-tables",mBe="banks",pBe="foreign-banks",hBe="tax-office",fBe="exchange-rate",gBe="deposit-interest-rate",_Be="proposals",bBe="credit-holidays",Yy="messages",Ky="view",lV="unallocated",cV="login",vBe="logout",yBe="profile",CBe="mobile-app";var id=(function(t){return t[t.ALL=0]="ALL",t[t.ANY=1]="ANY",t})(id||{});var Xy=new WeakMap,Lt=(()=>{class t{_appRef;_injector=m(ie);_environmentInjector=m(_n);load(e){let n=this._appRef=this._appRef||this._injector.get(Qi),r=Xy.get(n);r||(r={loaders:new Set,refs:[]},Xy.set(n,r),n.onDestroy(()=>
5{Xy.get(n)?.refs.forEach(o=>o.destroy()),Xy.delete(n)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(O0(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var kA;function dV(){if(kA==null){let t=typeof document<"u"?document.head:null;kA=!!(t&&(t.createShadowRoot||t.attachShadow))}return kA}function Lu(t){if(dV()){let i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Io(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function ui(t){return t.composedPath?t.composedPath()[0]:t.target}function Yl(t){return t.buttons===0||t.detail===0}function Kl(t){let i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}function xr(t,i=0){return Zy(t)?Number(t):arguments.length===2?i:0}function Zy(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function _i(t){return t instanceof Q?t.nativeElement:t}var RA;try{RA=typeof Intl<"u"&&Intl.v8BreakIterator}catch(t){RA=!1}var gt=(()=>{class t{_platformId=m(Pl);isBrowser=this._platformId?W0(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||RA)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var oZ=new R("cdk-dir-doc",{providedIn:"root",factory:()=>m(Ce)}),aZ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function uV(t){let i=t?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?aZ.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var an=(()=>{class t{get value(){return this.valueSignal()}valueSignal=Z("ltr");change=new V;constructor(){let e=m(oZ,{optional:!0});if(e){let n=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(uV(n||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ns=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(ns||{}),Qy,Bu;function Jy(){if(Bu==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Bu=!1,Bu;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Bu=!0;else{let t=Element.prototype.scrollTo;t?Bu=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Bu=!1}}return Bu}function Ip(){if(typeof document!="object"||!document)return ns.NORMAL;if(Qy==null){let t=document.createElement("div"),i=t.style;t.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",t.appendChild(e),document.body.appendChild(t),Qy=ns.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Qy=t.scrollLeft===0?ns.NEGATED:ns.INVERTED),t.remove()}return Qy}var Vu=class{};function Wg(t){return t&&typeof t.connect=="function"&&!(t instanceof mf)}var is=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(is||{}),eC=class{viewCacheSize=20;_viewCache=[];
vendor: 4,139 bytes, line 5
5applyChanges(i,e,n,r,o){i.forEachOperation((a,s,d)=>{let p,f;if(a.previousIndex==null){let b=()=>n(a,s,d);p=this._insertView(b,d,e,r(a)),f=p?is.INSERTED:is.REPLACED}else d==null?(this._detachAndCacheView(s,e),f=is.REMOVED):(p=this._moveView(s,d,e,r(a)),f=is.MOVED);o&&o({context:p?.context,operation:f,record:a})})}detach(){for(let i of this._viewCache)i.destroy();this._viewCache=[]}_insertView(i,e,n,r){let o=this._insertViewFromCache(e,n);if(o){o.context.$implicit=r;return}let a=i();return n.createEmbeddedView(a.templateRef,a.context,a.index)}_detachAndCacheView(i,e){let n=e.detach(i);this._maybeCacheView(n,e)}_moveView(i,e,n,r){let o=n.get(i);return n.move(o,e),o.context.$implicit=r,o}_maybeCacheView(i,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(i);else{let n=e.indexOf(i);n===-1?i.destroy():e.remove(n)}}_insertViewFromCache(i,e){let n=this._viewCache.pop();return n&&e.insert(n,i),n||null}};var De=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var sZ=20,rs=(()=>{class t{_ngZone=m(le);_platform=m(gt);_renderer=m(fi).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new O;_scrolledCount=0;scrollContainers=new Map;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=sZ){return this._platform.isBrowser?new Ne(n=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(Fm(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):P()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){let r=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(ae(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let n=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&n.push(o)}),n}_scrollableContainsElement(e,n){let r=_i(n),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Us=(()=>{class t{elementRef=m(Q);scrollDispatcher=m(rs);ngZone=m(le);dir=m(an,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new O;_renderer=m(ot);_cleanupScroll;_elementScrolled=new O;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),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&&Ip()!=ns.NORMAL?(e.left!=null&&(e.right=n.scrollWidth-n.clientWidth-e.left),Ip()==ns.INVERTED?e.left=e.right:Ip()==ns.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;Jy()?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 a=this.dir&&this.dir.value=="rtl";
5return e=="start"?e=a?r:n:e=="end"&&(e=a?n:r),a&&Ip()==ns.INVERTED?e==n?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Ip()==ns.NEGATED?e==n?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==n?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),lZ=20,ji=(()=>{class t{_platform=m(gt);_listeners;_viewportSize=null;_change=new O;_document=m(Ce);constructor(){let e=m(le),n=m(fi).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[n.listen("window","resize",r),n.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),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(),a=-o.top||e.body?.scrollTop||n.scrollY||r.scrollTop||0,s=-o.left||e.body?.scrollLeft||n.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=lZ){return e>0?this._change.pipe(Fm(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 \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var mV=new R("CDK_VIRTUAL_SCROLL_VIEWPORT");var ur=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})(),rd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De,ur,De,ur]})}return t})();var MA={},pt=class t{_appId=m(zc);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(i,e=!1){return this._appId!=="ng"&&(i+=this._appId),MA.hasOwnProperty(i)||(MA[i]=0),`${i}${e?t._infix+"-":""}${MA[i]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})};function Xl(t){return Array.isArray(t)?t:[t]}function FA(t){let i=t.cloneNode(!0),e=i.querySelectorAll("[id]"),n=t.nodeName.toLowerCase();i.removeAttribute("id");for(let r=0;r<e.length;r++)e[r].removeAttribute("id");return n==="canvas"?fV(t,i):(n==="input"||n==="select"||n==="textarea")&&hV(t,i),pV("canvas",t,i,fV),pV("input, textarea, select",t,i,hV),i}function pV(t,i,e,n){let r=i.querySelectorAll(t);if(r.length){let o=e.querySelectorAll(t);for(let a=0;a<r.length;a++)n(r[a],o[a])}}var dZ=0;function hV(t,i){i.type!=="file"&&(i.value=t.value),i.type==="radio"&&i.name&&(i.name=`mat-clone-${i.name}-${dZ++}`)}function fV(t,i){let e=i.getContext("2d");if(e)try{e.drawImage(t,0,0)}catch(n){}}function HA(t){let i=t.getBoundingClientRect();return{top:i.top,right:i.right,bottom:i.bottom,left:i.left,width:i.width,height:i.height,x:i.x,y:i.y}}function PA(t,i,e){let{top:n,bottom:r,left:o,right:a}=t;return e>=n&&e<=r&&i>=o&&i<=a}function uZ(t,i){let e=i.left<t.left,n=i.left+i.width>t.right,r=i.top<t.top,o=i.top+i.height>t.bottom;return e||n||r||o}function Yg(t,i,e){t.top+=i,t.bottom=t.top+t.height,t.left+=e,t.right=t.left+t.width}function gV(t,i,e,n){let{top:r,right:o,bottom:a,left:s,width:d,height:p}=t,f=d*i,b=p*i;return n>r-b&&n<a+b&&e>s-f&&e<o+f}var tC=class{_document;positions=new Map;constructor(i){this._document=i}clear(){this.positions.clear()}cache(i){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}
vendor: 4,103 bytes, lines 5-18
5),i.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:HA(e)})})}handleScroll(i){let e=ui(i),n=this.positions.get(e);if(!n)return null;let r=n.scrollPosition,o,a;if(e===this._document){let p=this.getViewportScrollPosition();o=p.top,a=p.left}else o=e.scrollTop,a=e.scrollLeft;let s=r.top-o,d=r.left-a;return this.positions.forEach((p,f)=>{p.clientRect&&e!==f&&e.contains(f)&&Yg(p.clientRect,s,d)}),r.top=o,r.left=a,{top:s,left:d}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function TV(t,i){let e=t.rootNodes;if(e.length===1&&e[0].nodeType===i.ELEMENT_NODE)return e[0];let n=i.createElement("div");return e.forEach(r=>n.appendChild(r)),n}function UA(t,i,e){for(let n in i)if(i.hasOwnProperty(n)){let r=i[n];r?t.setProperty(n,r,e?.has(n)?"important":""):t.removeProperty(n)}return t}function Ap(t,i){let e=i?"":"none";UA(t.style,{"touch-action":i?"":"none","-webkit-user-drag":i?"":"none","-webkit-tap-highlight-color":i?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function _V(t,i,e){UA(t.style,{position:i?"":"fixed",top:i?"":"0",opacity:i?"":"0",left:i?"":"-999em"},e)}function nC(t,i){return i&&i!="none"?t+" "+i:t}function bV(t,i){t.style.width=`${i.width}px`,t.style.height=`${i.height}px`,t.style.transform=Kg(i.left,i.top)}function Kg(t,i){return`translate3d(${Math.round(t)}px, ${Math.round(i)}px, 0)`}var $g={capture:!0},NA={passive:!1,capture:!0},mZ=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(n,r){},styles:[`@layer cdk-resets {
6  .cdk-drag-preview {
7    background: none;
8    border: none;
9    padding: 0;
10    color: inherit;
11    inset: auto;
12  }
13}
14.cdk-drag-placeholder *,
15.cdk-drag-preview * {
16  pointer-events: none !important;
17}
18`],encapsulation:2,changeDetection:0})}return t})(),IV=(()=>{class t{_ngZone=m(le);_document=m(Ce);_styleLoader=m(Lt);_renderer=m(fi).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new O;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=Z([]);_globalListeners;_draggingPredicate=e=>e.isDragging();_domNodesToDirectives=null;pointerMove=new O;pointerUp=new O;constructor(){}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=this._renderer.listen(this._document,"touchmove",this._persistentTouchmoveListener,NA)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),this._dragInstances.size===0&&this._cleanupDocumentTouchmove?.()}startDragging(e,n){if(!(this._activeDragInstances().indexOf(e)>-1)&&(this._styleLoader.load(mZ),this._activeDragInstances.update(r=>[...r,e]),this._activeDragInstances().length===1)){let r=n.type.startsWith("touch"),o=s=>this.pointerUp.next(s),a=[["scroll",s=>this._scroll.next(s),$g],["selectstart",this._preventDefaultWhileDragging,NA]];r?a.push(["touchend",o,$g],["touchcancel",o,$g]):a.push(["mouseup",o,$g]),r||a.push(["mousemove",s=>this.pointerMove.next(s),NA]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=a.map(([s,d,p])=>this._renderer.listen(this._document,s,d,p))})}}stopDragging(e){this._activeDragInstances.update(n=>{let r=n.indexOf(e);return r>-1?(n.splice(r,1),[...n]):n}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(e){return this._activeDragInstances().indexOf(e)>-1}scrolled(e){let n=[this._scroll];return e&&e!==this._document&&n.push(new Ne(r=>this._ngZone.runOutsideAngular(()=>{let o=this._renderer.listen(e,"scroll",a=>{this._activeDragInstances().length&&r.next(a)},$g);return()=>{o()}}))),ut(...n)}registerDirectiveNode(e,n){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(e,n)}removeDirectiveNode(e){this._domNodesToDirectives?.delete(e)}
18getDragDirectiveForNode(e){return this._domNodesToDirectives?.get(e)||null}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=e=>{this._activeDragInstances().length>0&&e.preventDefault()};_persistentTouchmoveListener=e=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&e.preventDefault(),this.pointerMove.next(e))};_clearGlobalListeners(){this._globalListeners?.forEach(e=>e()),this._globalListeners=void 0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vV(t){let i=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*i}function pZ(t){let i=getComputedStyle(t),e=OA(i,"transition-property"),n=e.find(s=>s==="transform"||s==="all");if(!n)return 0;let r=e.indexOf(n),o=OA(i,"transition-duration"),a=OA(i,"transition-delay");return vV(o[r])+vV(a[r])}function OA(t,i){return t.getPropertyValue(i).split(",").map(n=>n.trim())}var hZ=new Set(["position"]),LA=class{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView=null;_preview;get element(){return this._preview}constructor(i,e,n,r,o,a,s,d,p,f){this._document=i,this._rootElement=e,this._direction=n,this._initialDomRect=r,this._previewTemplate=o,this._previewClass=a,this._pickupPositionOnPage=s,this._initialTransform=d,this._zIndex=p,this._renderer=f}attach(i){this._preview=this._createPreview(),i.appendChild(this._preview),yV(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(i){this._preview.style.transform=i}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(i){this._preview.classList.add(i)}getTransitionDuration(){return pZ(this._preview)}addEventListener(i,e){return this._renderer.listen(this._preview,i,e)}_createPreview(){let i=this._previewTemplate,e=this._previewClass,n=i?i.template:null,r;if(n&&i){let o=i.matchSize?this._initialDomRect:null,a=i.viewContainer.createEmbeddedView(n,i.context);a.detectChanges(),r=TV(a,this._document),this._previewEmbeddedView=a,i.matchSize?bV(r,o):r.style.transform=Kg(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=FA(this._rootElement),bV(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return UA(r.style,{"pointer-events":"none",margin:yV(r)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},hZ),Ap(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("popover","manual"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>r.classList.add(o)):r.classList.add(e)),r}};function yV(t){return"showPopover"in t}var fZ={passive:!0},CV={passive:!1},gZ={passive:!1,capture:!0},_Z=800,DV="cdk-drag-placeholder",EV=new Set(["position"]);function bZ(t,i,e={dragStartThreshold:5,pointerDirectionChangeThreshold:5}){let n=t.get(ot,null,{optional:!0})||t.get(fi).createRenderer(null,null);return new BA(i,e,t.get(Ce),t.get(le),t.get(ji),t.get(IV),n)}var BA=class{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview=null;_previewContainer;_placeholderRef=null;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=Z(!1);_hasMoved=!1;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new O;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement=null;_rootElementTapHighlight;_pointerMoveSubscription=_e.EMPTY;_pointerUpSubscription=_e.EMPTY;_scrollSubscription=_e.EMPTY;_resizeSubscription=_e.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef=null;_cachedShadowRoot;lockAxis=null;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(i){i!==this._disabled&&(this._disabled=i,this._toggleNativeDragInteractions(),this._handles.forEac
vendor: 28,404 bytes, line 18
18h(e=>Ap(e,i)))}_disabled=!1;beforeStarted=new O;started=new O;released=new O;ended=new O;entered=new O;exited=new O;dropped=new O;moved=this._moveEvents;data;constrainPosition;constructor(i,e,n,r,o,a,s){this._config=e,this._document=n,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=a,this._renderer=s,this.withRootElement(i).withParent(e.parentDragRef||null),this._parentPositions=new tC(n),a.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(i){this._handles=i.map(n=>_i(n)),this._handles.forEach(n=>Ap(n,this.disabled)),this._toggleNativeDragInteractions();let e=new Set;return this._disabledHandles.forEach(n=>{this._handles.indexOf(n)>-1&&e.add(n)}),this._disabledHandles=e,this}withPreviewTemplate(i){return this._previewTemplate=i,this}withPlaceholderTemplate(i){return this._placeholderTemplate=i,this}withRootElement(i){let e=_i(i);if(e!==this._rootElement){this._removeRootElementListeners();let n=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[n.listen(e,"mousedown",this._pointerDown,CV),n.listen(e,"touchstart",this._pointerDown,fZ),n.listen(e,"dragstart",this._nativeDragStart,CV)]),this._initialTransform=void 0,this._rootElement=e}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(i){return this._boundaryElement=i?_i(i):null,this._resizeSubscription.unsubscribe(),i&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(i){return this._parentDragRef=i,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._marker?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._marker=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&uZ(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){let i=this._boundaryElement.getBoundingClientRect(),e=this._rootElement.getBoundingClientRect(),n=0,r=0;e.left<i.left?n=i.left-e.left:e.right>i.right&&(n=i.right-e.right),e.top<i.top?r=i.top-e.top:e.bottom>i.bottom&&(r=i.bottom-e.bottom);let o=this._activeTransform.x,a=this._activeTransform.y,s=o+n,d=a+r;this._rootElement.style.transform=Kg(s,d),this._activeTransform={x:s,y:d},this._passiveTransform={x:s,y:d}}}disableHandle(i){!this._disabledHandles.has(i)&&this._handles.indexOf(i)>-1&&(this._disabledHandles.add(i),Ap(i,!0))}enableHandle(i){this._disabledHandles.has(i)&&(this._disabledHandles.delete(i),Ap(i,this.disabled))}withDirection(i){return this._direction=i,this}_withDropContainer(i){this._dropContainer=i}getFreeDragPosition(){let i=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:i.x,y:i.y}}setFreeDragPosition(i){return this._activeTransform={x:0,y:0},this._passiveTransform.x=i.x,this._passiveTransform.y=i.y,this._dropContainer||this._applyRootElementTransform(i.x,i.y),this}withPreviewContainer(i){return this._previewContainer=i,this}_sortFromLastPointerPosition(){let i=this._lastKnownPointerPosition;i&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(i),i)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null}_pointerDown=i=>{if(this.beforeStarted.next(),this._handles.length){let e=this._getTargetHandle(i);e&&!this._disabledHandles.has(e)&&!this.disabled&&this._initializeDragSequence(e,i)}else this.disabled||this._initializeDragSequence(this._rootElement,i)};_pointerMove=i=>{let e=this._getPointerPositionOnPage(i);if(!this._hasStartedDragging()){let r=Math.abs(e.x-this._pickupPositionOnPage.x),o=Math.abs(e.y-this._pickupPositionOnPage.y);if(r+o>=this._config.dragStartThreshold){let s=Date.now()>=this._dragStartTime+this._getDragStartDelay(i),d=this._dropContainer;if(!s){this._endDragSequence(i);return}(!d||!d.isDragging()&&!d.isReceiving())&&(i.cancelable&&i.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(i)))}return}i.cancelable&&i.preventDefault();let n=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(n),this._dropContainer)this._updateActiveDropContainer(n,e);else{let r=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,o=this._activeTransform;o.x=n.x-r.x+this._passiveTransform.x,o.y=n.y-r.y+this._passiveTransform.y,this._applyRootElementTransform(o.x,o.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:n,event:i,distance:this._getDragDistance(n),delta:this._pointerDirectionDelta})})};_pointerUp=i=>{this._endDragSequence(i)};_endDragSequence(i){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:i}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(i),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let e=this._getPointerPositionOnPage(i);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:i})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(i){qg(i)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let e=this._getShadowRoot(),n=this._dropContainer;if(e&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(e,"selectstart",vZ,gZ)}),n){let r=this._rootElement,o=r.parentNode,a=this._placeholder=this._createPlaceholderElement(),s=this._marker=this._marker||this._document.createComment("");o.insertBefore(s,r),this._initialTransform=r.style.transform||"",this._preview=new LA(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(o,e)),_V(r,!1,EV),this._document.body.appendChild(o.replaceChild(a,r)),this.started.next({source:this,event:i}),n.start(),this._initialContainer=n,this._initialIndex=n.getItemIndex(this)}else this.started.next({source:this,event:i}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(n?n.getScrollableParents():[])}_initializeDragSequence(i,e){this._parentDragRef&&e.stopPropagation();let n=this.isDragging(),r=qg(e),o=!r&&e.button!==0,a=this._rootElement,s=ui(e),d=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+_Z>Date.now(),p=r?Kl(e):Yl(e);if(s&&s.draggable&&e.type==="mousedown"&&e.preventDefault(),n||o||d||p)return;if(this._handles.length){let w=a.style;this._rootElementTapHighlight=w.webkitTapHighlightColor||"",w.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(w=>this._updateOnScroll(w)),this._boundaryElement&&(this._boundaryRect=HA(this._boundaryElement));let f=this._previewTemplate;this._pickupPositionInElement=f&&f.template&&!f.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,i,e);let b=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:b.x,y:b.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(i){_V(this._rootElement,!0,EV),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let e=this._dropContainer,n=e.getItemIndex(this),r=this._getPointerPositionOnPage(i),o=this._getDragDistance(r),a=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:o,dropPoint:r,event:i}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:a,distance:o,dropPoint:r,event:i}),e.drop(this,n,this._initialIndex,this._initialContainer,a,o,r,i),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:i,y:e},{x:n,y:r}){let o=this._initialContainer._getSiblingContainerFromPosition(this,i,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(i,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{let a=this._dropContainer.getItemIndex(this),s=this._dropContainer.getItemAtIndex(a+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(o,this._dropContainer,s),this._dropContainer=o,this._dropContainer.enter(this,i,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(n,r),this._dropContainer._sortItem(this,i,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(i,e):this._applyPreviewTransform(i-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let i=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(i.left,i.top);let e=this._preview.getTransitionDuration();return e===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(n=>{let r=s=>{(!s||this._preview&&ui(s)===this._preview.element&&s.propertyName==="transform")&&(a(),n(),clearTimeout(o))},o=setTimeout(r,e*1.5),a=this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){let i=this._placeholderTemplate,e=i?i.template:null,n;return e?(this._placeholderRef=i.viewContainer.createEmbeddedView(e,i.context),this._placeholderRef.detectChanges(),n=TV(this._placeholderRef,this._document)):n=FA(this._rootElement),n.style.pointerEvents="none",n.classList.add(DV),n}_getPointerPositionInElement(i,e,n){let r=e===this._rootElement?null:e,o=r?r.getBoundingClientRect():i,a=qg(n)?n.targetTouches[0]:n,s=this._getViewportScrollPosition(),d=a.pageX-o.left-s.left,p=a.pageY-o.top-s.top;return{x:o.left-i.left+d,y:o.top-i.top+p}}_getPointerPositionOnPage(i){let e=this._getViewportScrollPosition(),n=qg(i)?i.touches[0]||i.changedTouches[0]||{pageX:0,pageY:0}:i,r=n.pageX-e.left,o=n.pageY-e.top;if(this._ownerSVGElement){let a=this._ownerSVGElement.getScreenCTM();if(a){let s=this._ownerSVGElement.createSVGPoint();return s.x=r,s.y=o,s.matrixTransform(a.inverse())}}return{x:r,y:o}}_getConstrainedPointerPosition(i){let e=this._dropContainer?this._dropContainer.lockAxis:null,{x:n,y:r}=this.constrainPosition?this.constrainPosition(i,this,this._initialDomRect,this._pickupPositionInElement):i;if(this.lockAxis==="x"||e==="x"?r=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||e==="y")&&(n=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:o,y:a}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,s=this._boundaryRect,{width:d,height:p}=this._getPreviewRect(),f=s.top+a,b=s.bottom-(p-a),w=s.left+o,A=s.right-(d-o);n=wV(n,w,A),r=wV(r,f,b)}return{x:n,y:r}}_updatePointerDirectionDelta(i){let{x:e,y:n}=i,r=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-o.x),s=Math.abs(n-o.y);return a>this._config.pointerDirectionChangeThreshold&&(r.x=e>o.x?1:-1,o.x=e),s>this._config.pointerDirectionChangeThreshold&&(r.y=n>o.y?1:-1,o.y=n),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let i=this._handles.length>0||!this.isDragging();i!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=i,Ap(this._rootElement,i))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(i=>i()),this._rootElementCleanups=void 0}_applyRootElementTransform(i,e){let n=1/this.scale,r=Kg(i*n,e*n),o=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=o.transform&&o.transform!="none"?o.transform:""),o.transform=nC(r,this._initialTransform)}_applyPreviewTransform(i,e){let n=this._previewTemplate?.template?void 0:this._initialTransform,r=Kg(i,e);this._preview.setTransform(nC(r,n))}_getDragDistance(i){let e=this._pickupPositionOnPage;return e?{x:i.x-e.x,y:i.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:i,y:e}=this._passiveTransform;if(i===0&&e===0||this.isDragging()||!this._boundaryElement)return;let n=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(r.width===0&&r.height===0||n.width===0&&n.height===0)return;let o=r.left-n.left,a=n.right-r.right,s=r.top-n.top,d=n.bottom-r.bottom;r.width>n.width?(o>0&&(i+=o),a>0&&(i-=a)):i=0,r.height>n.height?(s>0&&(e+=s),d>0&&(e-=d)):e=0,(i!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:i})}_getDragStartDelay(i){let e=this.dragStartDelay;return typeof e=="number"?e:qg(i)?e.touch:e?e.mouse:0}_updateOnScroll(i){let e=this._parentPositions.handleScroll(i);if(e){let n=ui(i);this._boundaryRect&&n!==this._boundaryElement&&n.contains(this._boundaryElement)&&Yg(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=Lu(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(i,e){let n=this._previewContainer||"global";if(n==="parent")return i;if(n==="global"){let r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return _i(n)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=i=>{if(this._handles.length){let e=this._getTargetHandle(i);e&&!this._disabledHandles.has(e)&&!this.disabled&&i.preventDefault()}else this.disabled||i.preventDefault()};_getTargetHandle(i){return this._handles.find(e=>i.target&&(i.target===e||e.contains(i.target)))}_conditionallyInsertAnchor(i,e,n){if(i===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(e===this._initialContainer&&e.hasAnchor){let r=this._anchor??=FA(this._placeholder);r.classList.remove(DV),r.classList.add("cdk-drag-anchor"),r.style.transform="",n?n.before(r):_i(e.element).appendChild(r)}}};function wV(t,i,e){return Math.max(i,Math.min(e,t))}function qg(t){return t.type[0]==="t"}function vZ(t){t.preventDefault()}function AV(t,i,e){let n=xV(i,t.length-1),r=xV(e,t.length-1);if(n===r)return;let o=t[n],a=r<n?-1:1;for(let s=n;s!==r;s+=a)t[s]=t[s+a];t[r]=o}function xV(t,i){return Math.max(0,Math.min(i,t))}var iC=class{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction="ltr";constructor(i){this._dragDropRegistry=i}_previousSwap={drag:null,delta:0,overlaps:!1};start(i){this.withItems(i)}sort(i,e,n,r){let o=this._itemPositions,a=this._getItemIndexFromPointerPosition(i,e,n,r);if(a===-1&&o.length>0)return null;let s=this.orientation==="horizontal",d=o.findIndex(j=>j.drag===i),p=o[a],f=o[d].clientRect,b=p.clientRect,w=d>a?1:-1,A=this._getItemOffsetPx(f,b,w),M=this._getSiblingOffsetPx(d,o,w),J=o.slice();return AV(o,d,a),o.forEach((j,K)=>{if(J[K]===j)return;let Te=j.drag===i,tn=Te?A:M,jt=Te?i.getPlaceholderElement():j.drag.getRootElement();j.offset+=tn;let Oi=Math.round(j.offset*(1/j.drag.scale));s?(jt.style.transform=nC(`translate3d(${Oi}px, 0, 0)`,j.initialTransform),Yg(j.clientRect,0,tn)):(jt.style.transform=nC(`translate3d(0, ${Oi}px, 0)`,j.initialTransform),Yg(j.clientRect,tn,0))}),this._previousSwap.overlaps=PA(b,e,n),this._previousSwap.drag=p.drag,this._previousSwap.delta=s?r.x:r.y,{previousIndex:d,currentIndex:a}}enter(i,e,n,r){let o=this._activeDraggables,a=o.indexOf(i),s=i.getPlaceholderElement();a>-1&&o.splice(a,1);let d=r==null||r<0?this._getItemIndexFromPointerPosition(i,e,n):r,p=o[d];if(p===i&&(p=o[d+1]),!p&&(d==null||d===-1||d<o.length-1)&&this._shouldEnterAsFirstChild(e,n)&&(p=o[0]),p&&!this._dragDropRegistry.isDragging(p)){let f=p.getRootElement();f.parentElement.insertBefore(s,f),o.splice(d,0,i)}else this._element.appendChild(s),o.push(i);s.style.transform="",this._cacheItemPositions()}withItems(i){this._activeDraggables=i.slice(),this._cacheItemPositions()}withSortPredicate(i){this._sortPredicate=i}reset(){this._activeDraggables?.forEach(i=>{let e=i.getRootElement();if(e){let n=this._itemPositions.find(r=>r.drag===i)?.initialTransform;e.style.transform=n||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(i){return this._getVisualItemPositions().findIndex(e=>e.drag===i)}getItemAtIndex(i){return this._getVisualItemPositions()[i]?.drag||null}updateOnScroll(i,e){this._itemPositions.forEach(({clientRect:n})=>{Yg(n,i,e)}),this._itemPositions.forEach(({drag:n})=>{this._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()})}withElementContainer(i){this._element=i}_cacheItemPositions(){let i=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(e=>{let n=e.getVisibleElement();return{drag:e,offset:0,initialTransform:n.style.transform||"",clientRect:HA(n)}}).sort((e,n)=>i?e.clientRect.left-n.clientRect.left:e.clientRect.top-n.clientRect.top)}_getVisualItemPositions(){return this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(i,e,n){let r=this.orientation==="horizontal",o=r?e.left-i.left:e.top-i.top;return n===-1&&(o+=r?e.width-i.width:e.height-i.height),o}_getSiblingOffsetPx(i,e,n){let r=this.orientation==="horizontal",o=e[i].clientRect,a=e[i+n*-1],s=o[r?"width":"height"]*n;if(a){let d=r?"left":"top",p=r?"right":"bottom";n===-1?s-=a.clientRect[d]-o[p]:s+=o[d]-a.clientRect[p]}return s}_shouldEnterAsFirstChild(i,e){if(!this._activeDraggables.length)return!1;let n=this._itemPositions,r=this.orientation==="horizontal";if(n[0].drag!==this._activeDraggables[0]){let a=n[n.length-1].clientRect;return r?i>=a.right:e>=a.bottom}else{let a=n[0].clientRect;return r?i<=a.left:e<=a.top}}_getItemIndexFromPointerPosition(i,e,n,r){let o=this.orientation==="horizontal",a=this._itemPositions.findIndex(({drag:s,clientRect:d})=>{if(s===i)return!1;if(r){let p=o?r.x:r.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&p===this._previousSwap.delta)return!1}return o?e>=Math.floor(d.left)&&e<Math.floor(d.right):n>=Math.floor(d.top)&&n<Math.floor(d.bottom)});return a===-1||!this._sortPredicate(a,i)?-1:a}},VA=class{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};_relatedNodes=[];constructor(i,e){this._document=i,this._dragDropRegistry=e}start(i){let e=this._element.childNodes;this._relatedNodes=[];for(let n=0;n<e.length;n++){let r=e[n];this._relatedNodes.push([r,r.nextSibling])}this.withItems(i)}sort(i,e,n,r){let o=this._getItemIndexFromPointerPosition(i,e,n),a=this._previousSwap;if(o===-1||this._activeItems[o]===i)return null;let s=this._activeItems[o];if(a.drag===s&&a.overlaps&&a.deltaX===r.x&&a.deltaY===r.y)return null;let d=this.getItemIndex(i),p=i.getPlaceholderElement(),f=s.getRootElement();o>d?f.after(p):f.before(p),AV(this._activeItems,d,o);let b=this._getRootNode().elementFromPoint(e,n);return a.deltaX=r.x,a.deltaY=r.y,a.drag=s,a.overlaps=f===b||f.contains(b),{previousIndex:d,currentIndex:o}}enter(i,e,n,r){let o=this._activeItems.indexOf(i);o>-1&&this._activeItems.splice(o,1);let a=r==null||r<0?this._getItemIndexFromPointerPosition(i,e,n):r;a===-1&&(a=this._getClosestItemIndexToPointer(i,e,n));let s=this._activeItems[a];s&&!this._dragDropRegistry.isDragging(s)?(this._activeItems.splice(a,0,i),s.getRootElement().before(i.getPlaceholderElement())):(this._activeItems.push(i),this._element.appendChild(i.getPlaceholderElement()))}withItems(i){this._activeItems=i.slice()}withSortPredicate(i){this._sortPredicate=i}reset(){let i=this._element,e=this._previousSwap;for(let n=this._relatedNodes.length-1;n>-1;n--){let[r,o]=this._relatedNodes[n];r.parentNode===i&&r.nextSibling!==o&&(o===null?i.appendChild(r):o.parentNode===i&&i.insertBefore(r,o))}this._relatedNodes=[],this._activeItems=[],e.drag=null,e.deltaX=e.deltaY=0,e.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(i){return this._activeItems.indexOf(i)}getItemAtIndex(i){return this._activeItems[i]||null}updateOnScroll(){this._activeItems.forEach(i=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}withElementContainer(i){i!==this._element&&(this._element=i,this._rootNode=void 0)}_getItemIndexFromPointerPosition(i,e,n){let r=this._getRootNode().elementFromPoint(Math.floor(e),Math.floor(n)),o=r?this._activeItems.findIndex(a=>{let s=a.getRootElement();return r===s||s.contains(r)}):-1;return o===-1||!this._sortPredicate(o,i)?-1:o}_getRootNode(){return this._rootNode||(this._rootNode=Lu(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(i,e,n){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let r=1/0,o=-1;for(let a=0;a<this._activeItems.length;a++){let s=this._activeItems[a];if(s!==i){let{x:d,y:p}=s.getRootElement().getBoundingClientRect(),f=Math.hypot(e-d,n-p);f<r&&(r=f,o=a)}}return o}},SV=.05,kV=.05,ba=(function(t){return t[t.NONE=0]="NONE",t[t.UP=1]="UP",t[t.DOWN=2]="DOWN",t})(ba||{}),po=(function(t){return t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t})(po||{});function yZ(t,i){return new jA(i,t.get(IV),t.get(Ce),t.get(le),t.get(ji))}var jA=class{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis=null;autoScrollDisabled=!1;autoScrollStep=2;hasAnchor=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new O;entered=new O;exited=new O;dropped=new O;sorted=new O;receivingStarted=new O;receivingStopped=new O;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=_e.EMPTY;_verticalScrollDirection=ba.NONE;_horizontalScrollDirection=po.NONE;_scrollNode;_stopScrollTimers=new O;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(i,e,n,r,o){this._dragDropRegistry=e,this._ngZone=r,this._viewportRuler=o;let a=this.element=_i(i);this._document=n,this.withOrientation("vertical").withElementContainer(a),e.registerDropContainer(this),this._parentPositions=new tC(n)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(i,e,n,r){this._draggingStarted(),r==null&&this.sortingDisabled&&(r=this._draggables.indexOf(i)),this._sortStrategy.enter(i,e,n,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:i,container:this,currentIndex:this.getItemIndex(i)})}exit(i){this._reset(),this.exited.next({item:i,container:this})}drop(i,e,n,r,o,a,s,d={}){this._reset(),this.dropped.next({item:i,currentIndex:e,previousIndex:n,container:this,previousContainer:r,isPointerOverContainer:o,distance:a,dropPoint:s,event:d})}withItems(i){let e=this._draggables;return this._draggables=i,i.forEach(n=>n._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>i.indexOf(r)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(i){return this._direction=i,this._sortStrategy instanceof iC&&(this._sortStrategy.direction=i),this}connectedTo(i){return this._siblings=i.slice(),this}withOrientation(i){if(i==="mixed")this._sortStrategy=new VA(this._document,this._dragDropRegistry);else{let e=new iC(this._dragDropRegistry);e.direction=this._direction,e.orientation=i,this._sortStrategy=e}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((e,n)=>this.sortPredicate(e,n,this)),this}withScrollableParents(i){let e=this._container;return this._scrollableElements=i.indexOf(e)===-1?[e,...i]:i.slice(),this}withElementContainer(i){if(i===this._container)return this;let e=_i(this.element),n=this._scrollableElements.indexOf(this._container),r=this._scrollableElements.indexOf(i);return n>-1&&this._scrollableElements.splice(n,1),r>-1&&this._scrollableElements.splice(r,1),this._sortStrategy&&this._sortStrategy.withElementContainer(i),this._cachedShadowRoot=null,this._scrollableElements.unshift(i),this._container=i,this}getScrollableParents(){return this._scrollableElements}getItemIndex(i){return this._isDragging?this._sortStrategy.getItemIndex(i):this._draggables.indexOf(i)}getItemAtIndex(i){return this._isDragging?this._sortStrategy.getItemAtIndex(i):this._draggables[i]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(i,e,n,r){if(this.sortingDisabled||!this._domRect||!gV(this._domRect,SV,e,n))return;let o=this._sortStrategy.sort(i,e,n,r);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:i})}_startScrollingIfNecessary(i,e){if(this.autoScrollDisabled)return;let n,r=ba.NONE,o=po.NONE;if(this._parentPositions.positions.forEach((a,s)=>
18{s===this._document||!a.clientRect||n||gV(a.clientRect,SV,i,e)&&([r,o]=CZ(s,a.clientRect,this._direction,i,e),(r||o)&&(n=s))}),!r&&!o){let{width:a,height:s}=this._viewportRuler.getViewportSize(),d={width:a,height:s,top:0,right:a,bottom:s,left:0};r=RV(d,e),o=MV(d,i),n=window}n&&(r!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||n!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=n,(r||o)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let i=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=i.msScrollSnapType||i.scrollSnapType||"",i.scrollSnapType=i.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let i=this._container.style;i.scrollSnapType=i.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),nx(0,Rm).pipe(xe(this._stopScrollTimers)).subscribe(()=>{let i=this._scrollNode,e=this.autoScrollStep;this._verticalScrollDirection===ba.UP?i.scrollBy(0,-e):this._verticalScrollDirection===ba.DOWN&&i.scrollBy(0,e),this._horizontalScrollDirection===po.LEFT?i.scrollBy(-e,0):this._horizontalScrollDirection===po.RIGHT&&i.scrollBy(e,0)})};_isOverContainer(i,e){return this._domRect!=null&&PA(this._domRect,i,e)}_getSiblingContainerFromPosition(i,e,n){return this._siblings.find(r=>r._canReceive(i,e,n))}_canReceive(i,e,n){if(!this._domRect||!PA(this._domRect,e,n)||!this.enterPredicate(i,this))return!1;let r=this._getShadowRoot().elementFromPoint(e,n);return r?r===this._container||this._container.contains(r):!1}_startReceiving(i,e){let n=this._activeSiblings;!n.has(i)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(n.add(i),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:i,receiver:this,items:e}))}_stopReceiving(i){this._activeSiblings.delete(i),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:i,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(i=>{if(this.isDragging()){let e=this._parentPositions.handleScroll(i);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let i=Lu(this._container);this._cachedShadowRoot=i||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let i=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,i))}};function RV(t,i){let{top:e,bottom:n,height:r}=t,o=r*kV;return i>=e-o&&i<=e+o?ba.UP:i>=n-o&&i<=n+o?ba.DOWN:ba.NONE}function MV(t,i){let{left:e,right:n,width:r}=t,o=r*kV;return i>=e-o&&i<=e+o?po.LEFT:i>=n-o&&i<=n+o?po.RIGHT:po.NONE}function CZ(t,i,e,n,r){let o=RV(i,r),a=MV(i,n),s=ba.NONE,d=po.NONE;if(o){let p=t.scrollTop;o===ba.UP?p>0&&(s=ba.UP):t.scrollHeight-p>t.clientHeight&&(s=ba.DOWN)}if(a){let p=t.scrollLeft;e==="rtl"?a===po.RIGHT?p<0&&(d=po.RIGHT):t.scrollWidth+p>t.clientWidth&&(d=po.LEFT):a===po.LEFT?p>0&&(d=po.LEFT):t.scrollWidth-p>t.clientWidth&&(d=po.RIGHT)}return[s,d]}var zA=(()=>{class t{_injector=m(ie);constructor(){}createDrag(e,n){return bZ(this._injector,e,n)}createDropList(e){return yZ(this._injector,e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var GA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[zA],imports:[ur]})}return t})();var Xg;function NV(){if(Xg==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Xg=!0}))}finally{Xg=Xg||!1}return Xg}function kp(t){return NV()?t:!!t.capture}var OV=new R("cdk-input-modality-detector-options"),FV={ignoreKeys:[18,17,224,91,16]},PV=650,WA={passive:!0,capture:!0},LV=(()=>{class t{_platform=m(gt);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new zt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(n=>
18n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ui(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<PV||(this._modality.next(Yl(e)?"keyboard":"mouse"),this._mostRecentTarget=ui(e))};_onTouchstart=e=>{if(Kl(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ui(e)};constructor(){let e=m(le),n=m(Ce),r=m(OV,{optional:!0});if(this._options=L(L({},FV),r),this.modalityDetected=this._modality.pipe(Al(1)),this.modalityChanged=this.modalityDetected.pipe(It()),this._platform.isBrowser){let o=m(fi).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(n,"keydown",this._onKeydown,WA),o.listen(n,"mousedown",this._onMousedown,WA),o.listen(n,"touchstart",this._onTouchstart,WA)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Zg=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Zg||{}),BV=new R("cdk-focus-monitor-default-options"),rC=kp({passive:!0,capture:!0}),oi=(()=>{class t{_ngZone=m(le);_platform=m(gt);_inputModalityDetector=m(LV);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=m(Ce);_stopInputModalityDetector=new O;constructor(){let e=m(BV,{optional:!0});this._detectionMode=e?.detectionMode||Zg.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=ui(e);for(let r=n;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,n=!1){let r=_i(e);if(!this._platform.isBrowser||r.nodeType!==1)return P();let o=Lu(r)||this._document,a=this._elementInfo.get(r);if(a)return n&&(a.checkChildren=!0),a.subject;let s={checkChildren:n,subject:new O,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let n=_i(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=_i(e),a=this._document.activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,d])=>this._originChanged(s,n,d)):(this._setOrigin(n),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getWindow(){return this._document.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===Zg.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===Zg.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?PV:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,n){let r=this._elementInfo.get(n),o=ui(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,rC),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,rC)}),this._rootNodeFocusListenerCount.set(n,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(xe(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,rC),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,rC),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 a=0;a<o.length;a++)if(o[a].contains(n))return!0}return!1}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),oC=(()=>{class t{_elementRef=m(Q);_focusMonitor=m(oi);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new V;constructor(){}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?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var zs=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,r){},styles:[`.cdk-visually-hidden {
19  border: 0;
20  clip: rect(0 0 0 0);
21  height: 1px;
22  margin: -1px;
23  overflow: hidden;
24  padding: 0;
25  position: absolute;
26  width: 1px;
27  white-space: nowrap;
28  outline: 0;
29  -webkit-appearance: none;
30  -moz-appearance: none;
31  left: 0;
32}
33[dir=rtl] .cdk-visually-hidden {
34  left: auto;
35  right: 0;
36}
37`],encapsulation:2,changeDetection:0})}return t})(),aC;function EZ(){if(aC===void 0&&(aC=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(aC=t.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return aC}function ju(t){return EZ()?.createHTML(t)||t}function VV(t,i,e){let n=e.sanitize(cn.HTML,i);t.innerHTML=ju(n||"")}var jV=new Set,Hu,Rp=(()=>{class t{_platform=m(gt);_nonce=m(yu,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):xZ}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&wZ(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function wZ(t,i){if(!jV.has(t))try{Hu||(Hu=document.createElement("style"),i&&Hu.setAttribute("nonce",i),Hu.setAttribute("type","text/css"),document.head.appendChild(Hu)),Hu.sheet&&(Hu.sheet.insertRule(`@media ${t} {body{ }}`,0),jV.add(t))}catch(e){console.error(e)}}function xZ(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Zl=(()=>{class t{_mediaMatcher=m(Rp);_zone=m(le);_queries=new Map;
37_destroySubject=new O;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return HV(Xl(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=HV(Xl(e)).map(a=>this._registerQuery(a).observable),o=nn(r);return o=Ds(o.pipe(We(1)),o.pipe(Al(1),hi(0))),o.pipe($(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:d,query:p})=>{s.matches=s.matches||d,s.breakpoints[p]=d}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),o={observable:new Ne(a=>{let s=d=>this._zone.run(()=>a.next(d));return n.addListener(s),()=>{n.removeListener(s)}}).pipe(Re(n),$(({matches:a})=>({query:e,matches:a})),xe(this._destroySubject)),mql:n};return this._queries.set(e,o),o}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function HV(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}function SZ(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let i=0;i<t.addedNodes.length;i++)if(!(t.addedNodes[i]instanceof Comment))return!1;for(let i=0;i<t.removedNodes.length;i++)if(!(t.removedNodes[i]instanceof Comment))return!1;return!0}return!1}var UV=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zV=(()=>{class t{_mutationObserverFactory=m(UV);_observedElements=new Map;_ngZone=m(le);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){let n=_i(e);return new Ne(r=>{let a=this._observeElement(n).pipe($(s=>s.filter(d=>!SZ(d))),ae(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let n=new O,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 \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qg=(()=>{class t{_contentObserver=m(zV);_elementRef=m(Q);event=new V;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=xr(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}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(hi(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",q],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Mp=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[UV]})}return t})();var Uu=(()=>{class t{_platform=m(gt);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return IZ(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=TZ(PZ(e));if(n&&(GV(n)===-1||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),o=GV(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!OZ(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIRE
37FOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return FZ(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function TZ(t){try{return t.frameElement}catch(i){return null}}function IZ(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function AZ(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function kZ(t){return MZ(t)&&t.type=="hidden"}function RZ(t){return NZ(t)&&t.hasAttribute("href")}function MZ(t){return t.nodeName.toLowerCase()=="input"}function NZ(t){return t.nodeName.toLowerCase()=="a"}function qV(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function GV(t){if(!qV(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function OZ(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function FZ(t){return kZ(t)?!1:AZ(t)||RZ(t)||t.hasAttribute("contenteditable")||qV(t)}function PZ(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var sC=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,n,r,o=!1,a){this._element=i,this._checker=e,this._ngZone=n,this._document=r,this._injector=a,o||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let n=this._getFirstTabbableElement(e);return n?.focus(i),!!n}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=0;n<e.length;n++){let r=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(r)return r}return null}_getLastTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=e.length-1;n>=0;n--){let r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?Dt(i,{injector:this._injector}):setTimeout(i)}},Np=(()=>{class t{_checker=m(Uu);_ngZone=m(le);_document=m(Ce);_injector=m(ie);constructor(){m(Lt).load(zs)}create(e,n=!1){return new sC(e,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qA=(()=>{class t{_elementRef=m(Q);_focusTrapFactory=m(Np);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture=!1;constructor(){m(gt).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let n=e.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Io(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",q],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",q]},exportAs:["cdkTrapFocus"],features:[Ke]})}return t})(),YV=new R("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),KV=new R("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),LZ=0,Jg=(()=>{class t{_ngZone=m(le);_defaultOptions=m(KV,{optional:!0});_liveElement;_document=m(Ce);_sanitizer=m(Iu);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=m(YV,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...n){let r=this._defaultOptions,o,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[o,a]=n,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=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(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!e||typeof e=="string"?this._liveElement.textContent=e:VV(this._liveElement,e,this._sanitizer),typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),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<n.length;o++)n[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${LZ++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<n.length;r++){let o=n[r],a=o.getAttribute("aria-owns");a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var od=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(od||{}),WV="cdk-high-contrast-black-on-white",$V="cdk-high-contrast-white-on-black",$A="cdk-high-contrast-active",XV=(()=>{class t{_platform=m(gt);_hasCheckedHighContrastMode=!1;_document=m(Ce);_breakpointSubscription;constructor(){this._breakpointSubscription=m(Zl).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasse
vendor: 4,883 bytes, line 37
37s())})}getHighContrastMode(){if(!this._platform.isBrowser)return od.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 od.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return od.BLACK_ON_WHITE}return od.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove($A,WV,$V),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===od.BLACK_ON_WHITE?e.add($A,WV):n===od.WHITE_ON_BLACK&&e.add($A,$V)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ql=(()=>{class t{constructor(){m(XV)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Mp]})}return t})();var BZ=200,lC=class{_letterKeyStream=new O;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new O;selectedItem=this._selectedItem;constructor(i,e){let n=typeof e?.debounceInterval=="number"?e.debounceInterval:BZ;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.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(i){this._letterKeyStream.pipe(B(e=>this._pressedLetters.push(e)),hi(i),ae(()=>this._pressedLetters.length>0),$(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;n<this._items.length+1;n++){let r=(this._selectedItemIndex+n)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function Ht(t,...i){return i.length?i.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Op=class{_items;_activeItemIndex=Z(-1);_activeItem=Z(null);_wrap=!1;_typeaheadSubscription=_e.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=i=>i.disabled;constructor(i,e){this._items=i,i instanceof ro?this._itemChangesSubscription=i.changes.subscribe(n=>this._itemsChanged(n.toArray())):Os(i)&&(this._effectRef=io(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new O;change=new O;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new lC(e,{debounceInterval:typeof i=="number"?i: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(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(i){let e=i.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!i[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>
370?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}else return;default:(r||Ht(i,"shiftKey"))&&this._typeahead?.handleKey(i);return}this._typeahead?.reset(),i.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(i){let e=this._getItemsArray(),n=typeof i=="number"?i:e.indexOf(i),r=e[n];this._activeItem.set(r??null),this._activeItemIndex.set(n),this._typeahead?.setCurrentSelectedItemIndex(n)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(i){this._wrap?this._setActiveInWrapMode(i):this._setActiveInDefaultMode(i)}_setActiveInWrapMode(i){let e=this._getItemsArray();for(let n=1;n<=e.length;n++){let r=(this._activeItemIndex()+i*n+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(i){this._setActiveItemByIndex(this._activeItemIndex()+i,i)}_setActiveItemByIndex(i,e){let n=this._getItemsArray();if(n[i]){for(;this._skipPredicateFn(n[i]);)if(i+=e,!n[i])return;this.setActiveItem(i)}}_getItemsArray(){return Os(this._items)?this._items():this._items instanceof ro?this._items.toArray():this._items}_itemsChanged(i){this._typeahead?.setItems(i);let e=this._activeItem();if(e){let n=i.indexOf(e);n>-1&&n!==this._activeItemIndex()&&(this._activeItemIndex.set(n),this._typeahead?.setCurrentSelectedItemIndex(n))}}};var zu=class extends Op{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}};var os=class extends Op{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var JV=" ";function Fp(t,i,e){let n=pC(t,i);e=e.trim(),!n.some(r=>r.trim()===e)&&(n.push(e),t.setAttribute(i,n.join(JV)))}function ad(t,i,e){let n=pC(t,i);e=e.trim();let r=n.filter(o=>o!==e);r.length?t.setAttribute(i,r.join(JV)):t.removeAttribute(i)}function pC(t,i){return t.getAttribute(i)?.match(/\S+/g)??[]}var ej="cdk-describedby-message",mC="cdk-describedby-host",KA=0,n_=(()=>{class t{_platform=m(gt);_document=m(Ce);_messageRegistry=new Map;_messagesContainer=null;_id=`${KA++}`;constructor(){m(Lt).load(zs),this._id=m(zc)+"-"+KA++}describe(e,n,r){if(!this._canBeDescribed(e,n))return;let o=YA(n,r);typeof n!="string"?(QV(n,this._id),this._messageRegistry.set(o,{messageElement:n,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(n,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,n,r){if(!n||!this._isElementNode(e))return;let o=YA(n,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof n=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${mC}="${this._id}"]`);for(let n=0;n<e.length;n++)this._removeCdkDescribedByReferenceIds(e[n]),e[n].removeAttribute(mC);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,n){let r=this._document.createElement("div");QV(r,this._id),r.textContent=e,n&&r.setAttribute("role",n),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(YA(e,n),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",n=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<n.length;o++)n[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let n=pC(e,"aria-describedby").filter(r=>r.indexOf(ej)!=0);e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){let r=this._messageRegistry.get(n);Fp(e,"aria-describedby",r.messageElement.id),e.setAttribute(mC,this._id),r.referenceCount++}_removeMessageReference(e,n){let r=this._messageRegistry.get(n);r.referenceCount--,ad(e,"aria-describedby",r.messageElement.id),e.removeAttribute(mC)}_isElementDescribedByMessage(e,n){let r=pC(e,"aria-describedby"),o=this._messageRegistry.get(n),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&typeof n=="object")return!0;let r=n==null?"":`${n}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}
37_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function YA(t,i){return typeof t=="string"?`${i||""}/${t}`:t}function QV(t,i){t.id||(t.id=`${ej}-${i}-${KA++}`)}var mr=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected=null;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new O;constructor(i=!1,e,n=!0,r){this._multiple=i,this._emitChanges=n,this.compareWith=r,e&&e.length&&(i?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...i){this._verifyValueAssignment(i),i.forEach(n=>this._markSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...i){this._verifyValueAssignment(i),i.forEach(n=>this._unmarkSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...i){this._verifyValueAssignment(i);let e=this.selected,n=new Set(i.map(o=>this._getConcreteValue(o)));i.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(i){return this.isSelected(i)?this.deselect(i):this.select(i)}clear(i=!0){this._unmarkAll();let e=this._hasQueuedChanges();return i&&this._emitChangeEvent(),e}isSelected(i){return this._selection.has(this._getConcreteValue(i))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(i){this._multiple&&this.selected&&this._selected.sort(i)}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(i){i=this._getConcreteValue(i),this.isSelected(i)||(this._multiple||this._unmarkAll(),this.isSelected(i)||this._selection.add(i),this._emitChanges&&this._selectedToEmit.push(i))}_unmarkSelected(i){i=this._getConcreteValue(i),this.isSelected(i)&&(this._selection.delete(i),this._emitChanges&&this._deselectedToEmit.push(i))}_unmarkAll(){this.isEmpty()||this._selection.forEach(i=>this._unmarkSelected(i))}_verifyValueAssignment(i){i.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(i,e){if(this.compareWith){e=e??this._selection;for(let n of e)if(this.compareWith(i,n))return n;return i}else return i}};var Gu=(()=>{class t{_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 \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hC=class{applyChanges(i,e,n,r,o){i.forEachOperation((a,s,d)=>{let p,f;if(a.previousIndex==null){let b=n(a,s,d);p=e.createEmbeddedView(b.templateRef,b.context,b.index),f=is.INSERTED}else d==null?(e.remove(s),f=is.REMOVED):(p=e.get(s),e.move(p,d),f=is.MOVED);o&&o({context:p?.context,operation:f,record:a})})}detach(){}};var VZ=["mat-internal-form-field",""],jZ=["*"],Pp=(()=>{class t{labelPosition="after";static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:VZ,ngContentSelectors:jZ,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},styles:[`.mat-internal-form-field {
38  -moz-osx-font-smoothing: grayscale;
39  -webkit-font-smoothing: antialiased;
40  display: inline-flex;
41  align-items: center;
42  vertical-align: middle;
43}
44.mat-internal-form-field > label {
45  margin-left: 0;
46  margin-right: auto;
47  padding-left: 4px;
48  padding-right: 0;
49  order: 0;
50}
51[dir=rtl] .mat-internal-form-field > label {
52  margin-left: auto;
53  margin-right: 0;
54  padding-left: 0;
55  padding-right: 4px;
56}
57
58.mdc-form-field--align-end > label {
59  margin-left: auto;
60  margin-right: 0;
61  padding-left: 0;
62  padding-right: 4px;
63  order: -1;
64}
65[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label {
66  margin-left: 0;
67  margin-right: auto;
68  padding-left: 4px;
69  padding-right: 0;
70}
71`],encapsulation:2,changeDetection:0})}return t})();var as={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var HZ=new R("MATERIAL_ANIMATIONS"),tj=null;function i_(){return m(HZ,{optional:!0})?.animationsDisabled||m(Qf,{optional:!0})==="NoopAnimations"?"di-disabled":(tj??=m(Rp).matchMedia("(prefers-reduced-motion)").matches,tj?"reduced-motion":"enabled")}function lt(){return i_()!=="enabled"}var mi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,r){},styles:[`.mat-focus-indicator {
72  position: relative;
73}
74.mat-focus-indicator::before {
75  top: 0;
76  left: 0;
77  right: 0;
78  bottom: 0;
79  position: absolute;
80  box-sizing: border-box;
81  pointer-events: none;
82  display: var(--mat-focus-indicator-display, none);
83  border-width: var(--mat-focus-indicator-border-width, 3px);
84  border-style: var(--mat-focus-indicator-border-style, solid);
85  border-color: var(--mat-focus-indicator-border-color, transparent);
86  border-radius: var(--mat-focus-indicator-border-radius, 4px);
87}
88.mat-focus-indicator:focus-visible::before {
89  content: "";
90}
91
92@media (forced-colors: active) {
93  html {
94    --mat-focus-indicator-display: block;
95  }
96}
97`],encapsulation:2,changeDetection:0})}return t})();function XA(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Lp,nj=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ZA(){if(Lp)return Lp;if(typeof document!="object"||!document)return Lp=new Set(nj),Lp;let t=document.createElement("input");return Lp=new Set(nj.filter(i=>(t.setAttribute("type",i),t.type===i))),Lp}function ki(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Fn(t){return t!=null&&`${t}`!="false"}function ij(t,i=/\s+/){let e=[];
vendor: 4,181 bytes, lines 97-125
97if(t!=null){let n=Array.isArray(t)?t:`${t}`.split(i);for(let r of n){let o=`${r}`.trim();o&&e.push(o)}}return e}var na=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(na||{}),fC=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=na.HIDDEN;constructor(i,e,n,r=!1){this._renderer=i,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},rj=kp({passive:!0,capture:!0}),QA=class{_events=new Map;addHandler(i,e,n,r){let o=this._events.get(e);if(o){let a=o.get(n);a?a.add(r):o.set(n,new Set([r]))}else this._events.set(e,new Map([[n,new Set([r])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,rj)})}removeHandler(i,e,n){let r=this._events.get(i);if(!r)return;let o=r.get(e);o&&(o.delete(n),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,rj)))}_delegateEventHandler=i=>{let e=ui(i);e&&this._events.get(i.type)?.forEach((n,r)=>{(r===e||r.contains(e))&&n.forEach(o=>o.handleEvent(i))})}},Bp={enterDuration:225,exitDuration:150},UZ=800,oj=kp({passive:!0,capture:!0}),aj=["mousedown","touchstart"],sj=["mouseup","mouseleave","touchend","touchcancel"],zZ=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`.mat-ripple {
98  overflow: hidden;
99  position: relative;
100}
101.mat-ripple:not(:empty) {
102  transform: translateZ(0);
103}
104
105.mat-ripple.mat-ripple-unbounded {
106  overflow: visible;
107}
108
109.mat-ripple-element {
110  position: absolute;
111  border-radius: 50%;
112  pointer-events: none;
113  transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);
114  transform: scale3d(0, 0, 0);
115  background-color: var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent));
116}
117@media (forced-colors: active) {
118  .mat-ripple-element {
119    display: none;
120  }
121}
122.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element {
123  display: none;
124}
125`],encapsulation:2,changeDetection:0})}return t})(),sd=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new QA;constructor(i,e,n,r,o){this._target=i,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=_i(n)),o&&o.get(Lt).load(zZ)}fadeInRipple(i,e,n={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=L(L({},Bp),n.animation);n.centered&&(i=r.left+r.width/2,e=r.top+r.height/2);let a=n.radius||GZ(i,e,r),s=i-r.left,d=e-r.top,p=o.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=`${s-a}px`,f.style.top=`${d-a}px`,f.style.height=`${a*2}px`,f.style.width=`${a*2}px`,n.color!=null&&(f.style.backgroundColor=n.color),f.style.transitionDuration=`${p}ms`,this._containerElement.appendChild(f);let b=window.getComputedStyle(f),w=b.transitionProperty,A=b.transitionDuration,M=w==="none"||A==="0s"||A==="0s, 0s"||r.width===0&&r.height===0,J=new fC(this,f,n,M);f.style.transform="scale3d(1, 1, 1)",J.state=na.FADING_IN,n.persistent||(this._mostRecentTransientRipple=J);let j=null;return!M&&(p||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let K=()=>{j&&(j.fallbackTimer=null),clearTimeout(tn),this._finishRippleTransition(J)},Te=()=>this._destroyRipple(J),tn=setTimeout(Te,p+100);f.addEventListener("transitionend",K),f.addEventListener("transitioncancel",Te),j={onTransitionEnd:K,onTransitionCancel:Te,fallbackTimer:tn}}),this._activeRipples.set(J,j),(M||!p)&&this._finishRippleTransition(J),J}fadeOutRipple(i){if(i.state===na.FADING_OUT||i.state===na.HIDDEN)return;let e=i.element,n=L(L({},Bp),i.config.animation);e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",i.state=na.FADING_OUT,(i._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(i)}
125fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let e=_i(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,aj.forEach(n=>{t._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{sj.forEach(e=>{this._triggerElement.addEventListener(e,this,oj)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===na.FADING_IN?this._startFadeOutTransition(i):i.state===na.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let e=i===this._mostRecentTransientRipple,{persistent:n}=i.config;i.state=na.VISIBLE,!n&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let e=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=na.HIDDEN,e!==null&&(i.element.removeEventListener("transitionend",e.onTransitionEnd),i.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),i.element.remove()}_onMousedown(i){let e=Yl(i),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+UZ;!this._target.rippleDisabled&&!e&&!n&&(this._isPointerDown=!0,this.fadeInRipple(i.clientX,i.clientY,this._target.rippleConfig))}_onTouchStart(i){if(!this._target.rippleDisabled&&!Kl(i)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=i.changedTouches;if(e)for(let n=0;n<e.length;n++)this.fadeInRipple(e[n].clientX,e[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(i=>{let e=i.state===na.VISIBLE||i.config.terminateOnPointerUp&&i.state===na.FADING_IN;!i.config.persistent&&e&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(aj.forEach(e=>t._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&(sj.forEach(e=>i.removeEventListener(e,this,oj)),this._pointerUpEventsRegistered=!1))}};function GZ(t,i,e){let n=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(n*n+r*r)}var ld=new R("mat-ripple-global-options"),Hr=(()=>{class t{_elementRef=m(Q);_animationsDisabled=lt();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=m(le),n=m(gt),r=m(ld,{optional:!0}),o=m(ie);this._globalOptions=r||{},this._rippleRenderer=new sd(this,e,this._elementRef,n,o)}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:L(L(L({},this._globalOptions.animation),this._animationsDisabled?{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,L(L({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,L(L({},this.rippleConfig),e))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,r){n&2&&ee("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"]})}return t})();var Hi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var WZ=["input"],$Z=["formField"],qZ=["*"],gC=class{source;value;constructor(i,e){this.source=i,this.value=e}},YZ={provide:er,useExisting:bn(()=>JA),multi:!0},lj=new R("MatRadioGroup"),KZ=new R("mat-radio-default-options",{providedIn:"root",factory:()=>({color:"accent",disabledInteractive:!1})}),JA=(()=>{class t{_changeDetector=m(Ee);_value=null;_name=m(pt).getId("mat-radio-group-");_selected=null;_isInitialized=!1;_labelPosition="after";_disabled=!1;_required=!1;_buttonChanges;_controlValueAccessorChangeFn=()=>{};onTouched=()=>{};change=new V;_radios;color;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()}_disabledInteractive=!1;constructor(){}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()}
125_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 gC(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 \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-radio-group"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,_C,5),n&2){let a;H(a=U())&&(r._radios=a)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",q],required:[2,"required","required",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[me([YZ,{provide:lj,useExisting:t}])]})}return t})(),_C=(()=>{class t{_elementRef=m(Q);_changeDetector=m(Ee);_focusMonitor=m(oi);_radioDispatcher=m(Gu);_defaultOptions=m(KZ,{optional:!0});_ngZone=m(le);_renderer=m(ot);_uniqueId=m(pt).getId("mat-radio-");_cleanupClick;id=this._uniqueId;name;ariaLabel;ariaLabelledby;ariaDescribedby;disableRipple=!1;tabIndex=0;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}_labelPosition;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){e!==this._required&&this._changeDetector.markForCheck(),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}_color;get disabledInteractive(){return this._disabledInteractive||this.radioGroup!==null&&this.radioGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}_disabledInteractive;change=new V;radioGroup;get inputId(){return`${this.id||this._uniqueId}-input`}_checked=!1;_disabled=!1;_required=!1;_value=null;_removeUniqueSelectionListener=()=>{};_previousTabIndex;_inputElement;_rippleTrigger;_noopAnimations=lt();_injector=m(ie);constructor(){m(Lt).load(mi);let e=m(lj,{optional:!0}),n=m(new di("tabindex"),{optional:!0});this.radioGroup=e,this._disabledInteractive=this._defaultOptions?.disabledInteractive??!1,n&&(this.tabIndex=rn(n,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._cleanupClick=this._renderer.listen(this._inputElement.nativeElement,"click",this._onInputClick)})}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new gC(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._c
125ontrolValueAccessorChangeFn(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())}_onInputClick=e=>{this.disabled&&this.disabledInteractive&&e.preventDefault()};_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,Dt(()=>{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 \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-radio-button"]],viewQuery:function(n,r){if(n&1&&ve(WZ,5)($Z,7,Q),n&2){let o;H(o=U())&&(r._inputElement=o.first),H(o=U())&&(r._rippleTrigger=o.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(n,r){n&1&&T("focus",function(){return r._inputElement.nativeElement.focus()}),n&2&&(oe("id",r.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),ee("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",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:rn(e)],checked:[2,"checked","checked",q],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",q],required:[2,"required","required",q],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change"},exportAs:["matRadioButton"],ngContentSelectors:qZ,decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],["aria-hidden","true",1,"mat-mdc-radio-touch-target",3,"click"],["type","radio","aria-invalid","false",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],["aria-hidden","true",1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","","aria-hidden","true",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(n,r){n&1&&(Ie(),u(0,"div",2,0)(2,"div",3)(3,"div",4),T("click",function(a){return r._onTouchTargetClick(a)}),c(),u(4,"input",5,1),T("change",function(a){return r._onInputInteraction(a)}),c(),u(6,"div",6),x(7,"div",7)(8,"div",8),c(),u(9,"div",9),x(10,"div",10),c()(),u(11,"label",11),re(12),c()()),n&2&&(g("labelPosition",r.labelPosition),l(2),ee("mdc-radio--disabled",r.disabled),l(2),g("id",r.inputId)("checked",r.checked)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),oe("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),l(5),g("matRippleTrigger",r._rippleTrigger.nativeElement)("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",!0),l(2),g("for",r.inputId))},dependencies:[Hr,Pp],styles:[`.mat-mdc-radio-button {
126  -webkit-tap-highlight-color: transparent;
127}
128.mat-mdc-radio-button .mdc-radio {
129  display: inline-block;
130  position: relative;
131  flex: 0 0 auto;
132  box-sizing: content-box;
133  width: 20px;
134  height: 20px;
135  cursor: pointer;
136  will-change: opacity, transform, border-color, color;
137  padding: calc((var(--mat-radio-state-layer-size, 40px) - 20px) / 2);
138}
139.mat-mdc-radio-button .mdc-radio:hover > .mdc-radio__native-control:not([disabled]):not(:focus) ~ .mdc-radio__background::before {
140  opacity: 0.04;
141  transform: scale(1);
142}
143.mat-mdc-radio-button .mdc-radio:hover > .mdc-radio__native-control:not([disabled]) ~ .mdc-radio__background > .mdc-radio__outer-circle {
144  border-color: var(--mat-radio-unselected-hover-icon-color, var(--mat-sys-on-surface));
145}
146.mat-mdc-radio-button .mdc-radio:hover > .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__outer-circle {
147  border-color: var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary));
148}
149.mat-mdc-radio-button .mdc-radio:hover > .mdc-radio__native-control:enabled:checked + .mdc-radio__background >
149 .mdc-radio__inner-circle {
150  background-color: var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary, currentColor));
151}
152.mat-mdc-radio-button .mdc-radio:active > .mdc-radio__native-control:enabled:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle {
153  border-color: var(--mat-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface));
154}
155.mat-mdc-radio-button .mdc-radio:active > .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__outer-circle {
156  border-color: var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary));
157}
158.mat-mdc-radio-button .mdc-radio:active > .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__inner-circle {
159  background-color: var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary, currentColor));
160}
161.mat-mdc-radio-button .mdc-radio__background {
162  display: inline-block;
163  position: relative;
164  box-sizing: border-box;
165  width: 20px;
166  height: 20px;
167}
168.mat-mdc-radio-button .mdc-radio__background::before {
169  position: absolute;
170  transform: scale(0, 0);
171  border-radius: 50%;
172  opacity: 0;
173  pointer-events: none;
174  content: "";
175  transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
176  width: var(--mat-radio-state-layer-size, 40px);
177  height: var(--mat-radio-state-layer-size, 40px);
178  top: calc(-1 * (var(--mat-radio-state-layer-size, 40px) - 20px) / 2);
179  left: calc(-1 * (var(--mat-radio-state-layer-size, 40px) - 20px) / 2);
180}
181.mat-mdc-radio-button .mdc-radio__outer-circle {
182  position: absolute;
183  top: 0;
184  left: 0;
185  box-sizing: border-box;
186  width: 100%;
187  height: 100%;
188  border-width: 2px;
189  border-style: solid;
190  border-radius: 50%;
191  transition: border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);
192}
193.mat-mdc-radio-button .mdc-radio__inner-circle {
194  position: absolute;
195  top: 0;
196  left: 0;
197  box-sizing: border-box;
198  width: 100%;
199  height: 100%;
200  transform: scale(0);
201  border-radius: 50%;
202  transition: transform 90ms cubic-bezier(0.4, 0, 0.6, 1), background-color 90ms cubic-bezier(0.4, 0, 0.6, 1);
203}
204@media (forced-colors: active) {
205  .mat-mdc-radio-button .mdc-radio__inner-circle {
206    background-color: CanvasText !important;
207  }
208}
209.mat-mdc-radio-button .mdc-radio__native-control {
210  position: absolute;
211  margin: 0;
212  padding: 0;
213  opacity: 0;
214  top: 0;
215  right: 0;
216  left: 0;
217  cursor: inherit;
218  z-index: 1;
219  width: var(--mat-radio-state-layer-size, 40px);
220  height: var(--mat-radio-state-layer-size, 40px);
221}
222.mat-mdc-radio-button .mdc-radio__native-control:checked + .mdc-radio__background, .mat-mdc-radio-button .mdc-radio__native-control:disabled + .mdc-radio__background {
223  transition: opacity 90ms cubic-bezier(0, 0, 0.2, 1), transform 90ms cubic-bezier(0, 0, 0.2, 1);
224}
225.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 {
226  transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1);
227}
228.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 {
229  transition: transform 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1);
230}
231.mat-mdc-radio-button .mdc-radio__native-control:focus + .mdc-radio__background::before {
232  transform: scale(1);
233  opacity: 0.12;
234  transition: opacity 90ms cubic-bezier(0, 0, 0.2, 1), transform 90ms cubic-bezier(0, 0, 0.2, 1);
235}
236.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle {
237  border-color: var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));
238  opacity: var(--mat-radio-disabled-unselected-icon-opacity, 0.38);
239}
240.mat-mdc-radio-button .mdc-radio__native-control:disabled + .mdc-radio__background {
241  cursor: default;
242}
243.mat-mdc-radio-button .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__outer-circle {
244  border-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));
245  opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38);
246}
247.mat-mdc-radio-button .mdc-radio__native-control:disabled + .mdc-radio__background >
247 .mdc-radio__inner-circle {
248  background-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));
249  opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38);
250}
251.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle {
252  border-color: var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant));
253}
254.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__outer-circle {
255  border-color: var(--mat-radio-selected-icon-color, var(--mat-sys-primary));
256}
257.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__inner-circle {
258  background-color: var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor));
259}
260.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked + .mdc-radio__background > .mdc-radio__outer-circle {
261  border-color: var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary));
262}
263.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked + .mdc-radio__background > .mdc-radio__inner-circle {
264  background-color: var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary, currentColor));
265}
266.mat-mdc-radio-button .mdc-radio__native-control:checked + .mdc-radio__background > .mdc-radio__inner-circle {
267  transform: scale(0.5);
268  transition: transform 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1);
269}
270.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled {
271  pointer-events: auto;
272}
273.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 {
274  border-color: var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));
275  opacity: var(--mat-radio-disabled-unselected-icon-opacity, 0.38);
276}
277.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,
278.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,
279.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control + .mdc-radio__background > .mdc-radio__outer-circle {
280  border-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));
281  opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38);
282}
283.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,
284.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,
285.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control + .mdc-radio__background > .mdc-radio__inner-circle {
286  background-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));
287  opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38);
288}
289.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,
290.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,
291.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle {
292  transition: none !important;
293}
294.mat-mdc-radio-button label {
295  cursor: pointer;
296}
297.mat-mdc-radio-button label:empty {
298  display: none;
299}
300.mat-mdc-radio-button .mdc-radio__background::before {
301  background-color: var(--mat-radio-ripple-color, var(--mat-sys-on-surface));
302}
303.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,
304.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before {
305  background-color: var(--mat-radio-checked-ripple-color, var(--mat-sys-primary));
306}
307.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,
308.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before {
309  background-color: var(--mat-radio-ripple-color, var(--mat-sys-on-surface));
310}
311.mat-mdc-radio-button .mat-internal-form-field {
312  color: var(--mat-radio-label-text-color, var(--mat-sys-on-surface));
313  font-family: var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font));
314  line-height: var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height));
315  font-size: var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size));
316  letter-spacing: var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking));
317  font-weight: var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight));
318}
319.mat-mdc-radio-button .mdc-radio--disabled + label {
320  color: var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
321}
322.mat-mdc-radio-button .mat-radio-ripple {
323  top: 0;
324  left: 0;
325  right: 0;
326  bottom: 0;
327  position: absolute;
328  pointer-events: none;
329  border-radius: 50%;
330}
331.mat-mdc-radio-button .mat-radio-ripple > .mat-ripple-element {
332  opacity: 0.14;
333}
334.mat-mdc-radio-button .mat-radio-ripple::before {
335  border-radius: 50%;
336}
337.mat-mdc-radio-button .mdc-radio > .mdc-radio__native-control:focus:enabled:not(:checked) ~ .mdc-radio__background > .mdc-radio__outer-circle {
338  border-color: var(--mat-radio-unselected-focus-icon-color, var(--mat-sys-on-surface));
339}
340.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before {
341  content: "";
342}
343
344.mat-mdc-radio-disabled {
345  cursor: default;
346  pointer-events: none;
347}
348.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive {
349  pointer-events: auto;
350}
351
352.mat-mdc-radio-touch-target {
353  position: absolute;
354  top: 50%;
355  left: 50%;
356  height: var(--mat-radio-touch-target-size, 48px);
357  width: var(--mat-radio-touch-target-size, 48px);
358  transform: translate(-50%, -50%);
359  display: var(--mat-radio-touch-target-display, block);
360}
361[dir=rtl] .mat-mdc-radio-touch-target {
362  left: auto;
363  right: 50%;
364  transform: translate(50%, -50%);
365}
366`],encapsulation:2,changeDetection:0})}return t})(),ek=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Hi,_C,De]})}return t})();var tk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var r_=class{_attachedHost=null;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},ko=class extends r_{component;viewContainerRef;injector;projectableNodes;bindings;
vendor: 10,265 bytes, line 366
366constructor(i,e,n,r,o){super(),this.component=i,this.viewContainerRef=e,this.injector=n,this.projectableNodes=r,this.bindings=o||null}},Sr=class extends r_{templateRef;viewContainerRef;context;injector;constructor(i,e,n,r){super(),this.templateRef=i,this.viewContainerRef=e,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}},nk=class extends r_{element;constructor(i){super(),this.element=i instanceof Q?i.nativeElement:i}},cd=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof ko)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof Sr)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof nk)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Vp=class extends cd{outletElement;_appRef;_defaultInjector;constructor(i,e,n){super(),this.outletElement=i,this._appRef=e,this._defaultInjector=n}attachComponentPortal(i){let e;if(i.viewContainerRef){let n=i.injector||i.viewContainerRef.injector,r=n.get(Ms,null,{optional:!0})||void 0;e=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:n,ngModuleRef:r,projectableNodes:i.projectableNodes||void 0,bindings:i.bindings||void 0}),this.setDisposeFn(()=>e.destroy())}else{let n=this._appRef,r=i.injector||this._defaultInjector||ie.NULL,o=r.get(_n,n.injector);e=O0(i.component,{elementInjector:r,environmentInjector:o,projectableNodes:i.projectableNodes||void 0,bindings:i.bindings||void 0}),n.attachView(e.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=i,e}attachTemplatePortal(i){let e=i.viewContainerRef,n=e.createEmbeddedView(i.templateRef,i.context,{injector:i.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=i,n}attachDomPortal=i=>{let e=i.element;e.parentNode;let n=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=i,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var ho=(()=>{class t extends cd{_moduleRef=m(Ms,{optional:!0});_document=m(Ce);_viewContainerRef=m(Pt);_isInitialized=!1;_attachedRef=null;constructor(){super()}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)}attached=new V;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,r=n.createComponent(e.component,{index:n.length,injector:e.injector||n.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0});return n!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}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}attachDomPortal=e=>{let n=e.element;n.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),n.parentNode.insertBefore(r,n),this._getRootNode().appendChild(n),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(n,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[he]})}return t})(),pr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var cj=Jy();function $s(t){return new bC(t.get(ji),t.get(Ce))}var bC=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,e){this._viewportRuler=i,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=ki(-this._previousScrollPosition.left),i.style.top=ki(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,e=this._document.body,n=i.style,r=e.style,o=n.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),cj&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),cj&&(n.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}};function gj(t,i){return new vC(t.get(rs),t.get(le),t.get(ji),i)}var vC=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(i,e,n,r){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=n,this._config=r}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(ae(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=i.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var o_=class{enable(){}disable(){}attach(){}};function ik(t,i){return i.some(e=>{let n=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,a=t.left>e.right;return n||r||o||a})}function dj(t,i){return i.some(e=>{let n=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,a=t.right>e.right;return n||r||o||a})}function ia(t,i){return new yC(t.get(rs),t.get(ji),t.get(le),i)}var yC=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,e,n,r){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=n,this._config=r}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();ik(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}},_j=(()=>{class t{_injector=m(ie);constructor(){}noop=()=>new o_;close=e=>gj(this._injector,e);block=()=>$s(this._injector);reposition=e=>ia(this._injector,e);static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fo=class{positionStrategy;scrollStrategy=new o_;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(i){if(i){let e=Object.keys(i);for(let n of e)i[n]!==void 0&&(this[n]=i[n])}}};var CC=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var bj=(()=>{class t{_attachedOverlays=[];_document=m(Ce);_isAttached=!1;constructor(){}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()}canReceiveEvent(e,n,r){return r.observers.length<1?!1:e.eventPredicate?e.eventPredicate(n):!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vj=(()=>{class t extends bj{_ngZone=m(le);_renderer=m(fi).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._key
366downListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let n=this._attachedOverlays;for(let r=n.length-1;r>-1;r--){let o=n[r];if(this.canReceiveEvent(o,e,o._keydownEvents)){this._ngZone.run(()=>o._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),yj=(()=>{class t extends bj{_platform=m(gt);_ngZone=m(le);_renderer=m(fi).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let n=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(n,"pointerdown",this._pointerDownListener,r),o.listen(n,"click",this._clickListener,r),o.listen(n,"auxclick",this._clickListener,r),o.listen(n,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=ui(e)};_clickListener=e=>{let n=ui(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:n;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){let s=o[a],d=s._outsidePointerEvents;if(!(!s.hasAttached()||!this.canReceiveEvent(s,e,d))){if(uj(s.overlayElement,n)||uj(s.overlayElement,r))break;this._ngZone?this._ngZone.run(()=>d.next(e)):d.next(e)}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function uj(t,i){let e=typeof ShadowRoot<"u"&&ShadowRoot,n=i;for(;n;){if(n===t)return!0;n=e&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var Cj=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper {
367  pointer-events: none;
368  top: 0;
369  left: 0;
370  height: 100%;
371  width: 100%;
372}
373
374.cdk-overlay-container {
375  position: fixed;
376}
377@layer cdk-overlay {
378  .cdk-overlay-container {
379    z-index: 1000;
380  }
381}
382.cdk-overlay-container:empty {
383  display: none;
384}
385
386.cdk-global-overlay-wrapper {
387  display: flex;
388  position: absolute;
389}
390@layer cdk-overlay {
391  .cdk-global-overlay-wrapper {
392    z-index: 1000;
393  }
394}
395
396.cdk-overlay-pane {
397  position: absolute;
398  pointer-events: auto;
399  box-sizing: border-box;
400  display: flex;
401  max-width: 100%;
402  max-height: 100%;
403}
404@layer cdk-overlay {
405  .cdk-overlay-pane {
406    z-index: 1000;
407  }
408}
409
410.cdk-overlay-backdrop {
411  position: absolute;
412  top: 0;
413  bottom: 0;
414  left: 0;
415  right: 0;
416  pointer-events: auto;
417  -webkit-tap-highlight-color: transparent;
418  opacity: 0;
419  touch-action: manipulation;
420}
421@layer cdk-overlay {
422  .cdk-overlay-backdrop {
423    z-index: 1000;
424    transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
425  }
426}
427@media (prefers-reduced-motion) {
428  .cdk-overlay-backdrop {
429    transition-duration: 1ms;
430  }
431}
432
433.cdk-overlay-backdrop-showing {
434  opacity: 1;
435}
436@media (forced-colors: active) {
437  .cdk-overlay-backdrop-showing {
438    opacity: 0.6;
439  }
440}
441
442@layer cdk-overlay {
443  .cdk-overlay-dark-backdrop {
444    background: rgba(0, 0, 0, 0.32);
445  }
446}
447
448.cdk-overlay-transparent-backdrop {
449  transition: visibility 1ms linear, opacity 1ms linear;
450  visibility: hidden;
451  opacity: 1;
452}
453.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {
454  opacity: 0;
455  visibility: visible;
456}
457
458.cdk-overlay-backdrop-noop-animation {
459  transition: none;
460}
461
462.cdk-overlay-connected-position-bounding-box {
463  position: absolute;
464  display: flex;
465  flex-direction: column;
466  min-width: 1px;
467  min-height: 1px;
468}
469@layer cdk-overlay {
470  .cdk-overlay-connected-position-bounding-box {
471    z-index: 1000;
472  }
473}
474
475.cdk-global-scrollblock {
476  position: fixed;
477  width: 100%;
478  overflow-y: scroll;
479}
480
481.cdk-overlay-popover {
482  background: none;
483  border: none;
484  padding: 0;
485  outline: 0;
486  overflow: visible;
487  position: fixed;
488  pointer-events: none;
489  white-space: normal;
490  color: inherit;
491  text-decoration: none;
492  width: 100%;
493  height: 100%;
494  inset: auto;
495  top: 0;
496  left: 0;
497}
498.cdk-overlay-popover::backdrop {
499  display: none;
500}
501.cdk-overlay-popover .cdk-overlay-backdrop {
502  position: fixed;
503  z-index: auto;
504}
505`],encapsulation:2,changeDetection:0})}return t})(),EC=(()=>{class t{_platform=m(gt);_containerElement;_document=m(Ce);_styleLoader=m(Lt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||XA()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let n=this._document.createElement("div");n.classList.add(e),XA()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}_loadStyles(){this._styleLoader.load(Cj)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),rk=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(i,e,n,r){this._renderer=e,this._ngZone=n,this.element=i.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let i=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),i.style.pointerEvents="none",i.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function ok(t){return t&&t.nodeType===1}var jp=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new O;_attachments=new O;_detachments=new O;_positionStrategy;_scrollStrategy;_locationChanges=_e.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new O;_outsidePointerEvents=new O;_afterNextRenderRef;constructor(i,e,n,r,o,a,s,d,p,f=!1,b,w){this._portalOutlet=i,this._host=e,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=d,this._outsideClickDispatcher=p,this._animationsDisabled=f,this._injector=b,this._renderer=w,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(i){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(i);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Dt(()=>{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._completeDetachContent(),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 i=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){if(this._disposed)return;let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
505pose(),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=this._backdropRef=null,i&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}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(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=L(L({},this._config),i),this._updateElementSize()}setDirection(i){this._config=Ae(L({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=ki(this._config.width),i.height=ki(this._config.height),i.minWidth=ki(this._config.minWidth),i.minHeight=ki(this._config.minHeight),i.maxWidth=ki(this._config.maxWidth),i.maxHeight=ki(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachHost(){if(!this._host.parentElement){let i=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;ok(i)?i.after(this._host):i?.type==="parent"?i.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(i){}}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new rk(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(i))}):this._backdropRef.element.classList.add(i)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(i,e,n){let r=Xl(e||[]).filter(o=>!!o);r.length&&(n?i.classList.add(...r):i.classList.remove(...r))}_detachContentWhenEmpty(){let i=!1;try{this._detachContentAfterRenderRef=Dt(()=>{i=!0,this._detachContent()},{injector:this._injector})}catch(e){if(i)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!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()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let i=this._scrollStrategy;i?.disable(),i?.detach?.()}},mj="cdk-overlay-connected-position-bounding-box",ZZ=/([A-Za-z%]+)$/;function ss(t,i){return new Hp(i,t.get(ji),t.get(Ce),t.get(gt),t.get(EC))}var Hp=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new O;_resizeSubscription=_e.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
vendor: 5,340 bytes, line 505
505constructor(i,e,n,r,o){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=o,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(mj),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.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._getContainerRect();let i=this._originRect,e=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let d=this._getOriginPoint(i,r,s),p=this._getOverlayPoint(d,e,s),f=this._getOverlayFit(p,e,n,s);if(f.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,d);return}if(this._canFitWithFlexibleDimensions(f,p,n)){o.push({position:s,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,s)});continue}(!a||a.overlayFit.visibleArea<f.visibleArea)&&(a={overlayFit:f,overlayPoint:p,originPoint:d,position:s,overlayRect:e})}if(o.length){let s=null,d=-1;for(let p of o){let f=p.boundingBoxRect.width*p.boundingBoxRect.height*(p.position.weight||1);f>d&&(d=f,s=p)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Wu(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(mj),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;i?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(i,this._getOriginPoint(this._originRect,this._containerRect,i))):this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}withPopoverLocation(i){return this._popoverLocation=i,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof Q?this._origin.nativeElement:ok(this._origin)?this._origin:null}_getOriginPoint(i,e,n){let r;if(n.originX=="center")r=i.left+i.width/2;else{let a=this._isRtl()?i.right:i.left,s=this._isRtl()?i.left:i.right;r=n.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return n.originY=="center"?o=i.top+i.height/2:o=n.originY=="top"?i.top:i.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(i,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:i.x+r,y:i.y+o}}_getOverlayFit(i,e,n,r){let o=hj(e),{x:a,y:s}=i,d=this._getOffset(r,"x"),p=this._getOffset(r,"y");d&&(a+=d),p&&(s+=p);let f=0-a,b=a+o.width-n.width,w=0-s,A=s+o.height-n.height,M=this._subtractOverflows(o.width,f,b),J=this._subtractOverflows(o.height,w,A),j=M*J;return{visibleArea:j,isCompletelyWithinViewport:o.width*o.height===j,fitsInViewportVertically:J===o.height,fitsInViewportHorizontally:M==o.width}}_canFitWithFlexibleDimensions(i,e,n){if(this._hasFlexibleDimensions){let r=n.bottom-e.y,o=n.right-e.x,a=pj(this._overlayRef.getConfig().minHeight),s=pj(this._overlayRef.getConfig().minWidth),d=i.fitsInViewportVertically||a!=null&&a<=r,p=i.fitsInViewportHorizontally||s!=null&&s<=o;return d&&p}return!1}_pushOverlayOnScreen(i,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let r=hj(e),o=this._viewportRect,a=Math.max(i.x+r.width-o.width,0),s=Math.max(i.y+r.height-o.height,0),d=Math.max(o.top-n.top-i.y,0),p=Math.max(o.left-n.left-i.x,0),f=0,b=0;
505return r.width<=o.width?f=p||-a:f=i.x<this._getViewportMarginStart()?o.left-n.left-i.x:0,r.height<=o.height?b=d||-s:b=i.y<this._getViewportMarginTop()?o.top-n.top-i.y:0,this._previousPushAmount={x:f,y:b},{x:i.x+f,y:i.y+b}}_applyPosition(i,e){if(this._setTransformOrigin(i),this._setOverlayElementStyles(e,i),this._setBoundingBoxStyles(e,i),i.panelClass&&this._addPanelClasses(i.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(i!==this._lastPosition||!this._lastScrollVisibility||!QZ(this._lastScrollVisibility,n)){let r=new CC(i,n);this._positionChanges.next(r)}this._lastScrollVisibility=n}this._lastPosition=i,this._isInitialRender=!1}_setTransformOrigin(i){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,r=i.overlayY;i.overlayX==="center"?n="center":this._isRtl()?n=i.overlayX==="start"?"right":"left":n=i.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(i,e){let n=this._viewportRect,r=this._isRtl(),o,a,s;if(e.overlayY==="top")a=i.y,o=n.height-a+this._getViewportMarginBottom();else if(e.overlayY==="bottom")s=n.height-i.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),o=n.height-s+this._getViewportMarginTop();else{let A=Math.min(n.bottom-i.y+n.top,i.y),M=this._lastBoundingBoxSize.height;o=A*2,a=i.y-A,o>M&&!this._isInitialRender&&!this._growAfterOpen&&(a=i.y-M/2)}let d=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,p=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,f,b,w;if(p)w=n.width-i.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),f=i.x-this._getViewportMarginStart();else if(d)b=i.x,f=n.right-i.x-this._getViewportMarginEnd();else{let A=Math.min(n.right-i.x+n.left,i.x),M=this._lastBoundingBoxSize.width;f=A*2,b=i.x-A,f>M&&!this._isInitialRender&&!this._growAfterOpen&&(b=i.x-M/2)}return{top:a,left:b,bottom:s,right:w,width:f,height:o}}_setBoundingBoxStyles(i,e){let n=this._calculateBoundingBoxRect(i,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="auto",r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.width=ki(n.width),r.height=ki(n.height),r.top=ki(n.top)||"auto",r.bottom=ki(n.bottom)||"auto",r.left=ki(n.left)||"auto",r.right=ki(n.right)||"auto",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=ki(o)),a&&(r.maxWidth=ki(a))}this._lastBoundingBoxSize=n,Wu(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Wu(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Wu(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){let n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let f=this._viewportRuler.getViewportScrollPosition();Wu(n,this._getExactOverlayY(e,i,f)),Wu(n,this._getExactOverlayX(e,i,f))}else n.position="static";let s="",d=this._getOffset(e,"x"),p=this._getOffset(e,"y");d&&(s+=`translateX(${d}px) `),p&&(s+=`translateY(${p}px)`),n.transform=s.trim(),a.maxHeight&&(r?n.maxHeight=ki(a.maxHeight):o&&(n.maxHeight="")),a.maxWidth&&(r?n.maxWidth=ki(a.maxWidth):o&&(n.maxWidth="")),Wu(this._pane.style,n)}_getExactOverlayY(i,e,n){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,i);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=ki(o.y);return r}_getExactOverlayX(i,e,n){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,i);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let a;if(this._isRtl()?a=i.overlayX==="end"?"left":"right":a=i.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=ki(o.x);return r}_getScrollVisibility(){let i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:dj(i,n),isOriginOutsideView:ik(i,n),isOverlayClipped:dj(e,n),isOverlayOutsideView:ik(e,n)}}_subtractOverflows(i,...e){return e.reduce((n,r)=>n-Math.max(r,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._getViewportMarginTop(),left:n.left+this._getViewportMarginStart(),right:n.left+i-this._getViewportMarginEnd(),bottom:n.top+e-this._getViewportMarginBottom(),width:i-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return e==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}
505_addPanelClasses(i){this._pane&&Xl(i).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let i=this._origin;if(i instanceof Q)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let e=i.width||0,n=i.height||0;return{top:i.y,bottom:i.y+n,left:i.x,right:i.x+e,height:n,width:e}}_getContainerRect(){let i=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();i&&(e.style.display="block");let n=e.getBoundingClientRect();return i&&(e.style.display=""),n}};function Wu(t,i){for(let e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t}function pj(t){if(typeof t!="number"&&t!=null){let[i,e]=t.split(ZZ);return!e||e==="px"?parseFloat(i):null}return t||null}function hj(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function QZ(t,i){return t===i?!0:t.isOriginClipped===i.isOriginClipped&&t.isOriginOutsideView===i.isOriginOutsideView&&t.isOverlayClipped===i.isOverlayClipped&&t.isOverlayOutsideView===i.isOverlayOutsideView}var fj="cdk-global-overlay-wrapper";function va(t){return new DC}var DC=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(fj),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=n,d=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),p=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),f=this._xPosition,b=this._xOffset,w=this._overlayRef.getConfig().direction==="rtl",A="",M="",J="";d?J="flex-start":f==="center"?(J="center",w?M=b:A=b):w?f==="left"||f==="end"?(J="flex-end",A=b):(f==="right"||f==="start")&&(J="flex-start",M=b):f==="left"||f==="start"?(J="flex-start",A=b):(f==="right"||f==="end")&&(J="flex-end",M=b),i.position=this._cssPosition,i.marginLeft=d?"0":A,i.marginTop=p?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=d?"0":M,e.justifyContent=J,e.alignItems=p?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(fj),n.justifyContent=n.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},Dj=(()=>{class t{_injector=m(ie);constructor(){}global(){return va()}flexibleConnectedTo(e){return ss(this._injector,e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),a_=new R("OVERLAY_DEFAULT_CONFIG");function go(t,i){t.get(Lt).load(Cj);let e=t.get(EC),n=t.get(Ce),r=t.get(pt),o=t.get(Qi),a=t.get(an),s=t.get(ot,null,{optional:!0})||t.get(fi).createRenderer(null,null),d=new fo(i),p=t.get(a_,null,{optional:!0})?.usePopover??!0;d.direction=d.direction||a.value,"showPopover"in n.body?d.usePopover=i?.usePopover??p:d.usePopover=!1;let f=n.createElement("div"),b=n.createElement("div");f.id=r.getId("cdk-overlay-"),f.classList.add("cdk-overlay-pane"),b.appendChild(f),d.usePopover&&(b.setAttribute("popover","manual"),b.classList.add("cdk-overlay-popover"));let w=d.usePopover?d.positionStrategy?.getPopoverInsertionPoint?.():null;return ok(w)?w.after(b):w?.type==="parent"?w.element.appendChild(b):e.getContainerElement().appendChild(b),new jp(new Vp(f,o,t),b,f,d,t.get(le),t.get(vj),n,t.get(Ls),t.get(yj),i?.disableAnimations??t.get(Qf,null,{optional:!0})==="NoopAnimations",t.get(_n),s)}var Ej=(()=>{class t{scrollStrategies=m(_j);_positionBuilder=m(Dj);_injector=m(ie);constructor(){}create(e){return go(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),JZ=[{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"}],eQ=new R("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ia(t)}}),Up=(()=>{class t{elementRef=m(Q);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),wj=new R("cdk-connected-overlay-default-config"),wC=(()=>{class t{_dir=m(an,{optional:!0});_injector=m(ie);_overlayRef;_templatePortal;_backdropSubscription=_e.EMPTY;_attachSubscription=_e.EMPTY;_detachSubscription=_e.EMPTY;_positionSubscription=_e.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=m(eQ);_ngZone=m(le);origin;positions;positionStrategy;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)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;
505set _config(e){typeof e!="string"&&this._assignConfig(e)}backdropClick=new V;positionChange=new V;attach=new V;detach=new V;overlayKeydown=new V;overlayOutsideClick=new V;constructor(){let e=m(Zt),n=m(Pt),r=m(wj,{optional:!0}),o=m(a_,{optional:!0});this.usePopover=o?.usePopover===!1?null:"global",this._templatePortal=new Sr(e,n),this.scrollStrategy=this._scrollStrategyFactory(),r&&this._assignConfig(r)}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?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),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=JZ);let e=this._overlayRef=go(this._injector,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&&!Ht(n)&&(n.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{let r=this._getOriginElement(),o=ui(n);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(n)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),n=new fo({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(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).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=ss(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Up?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Up?this.origin.elementRef.nativeElement:this.origin instanceof Q?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(n=>this.backdropClick.emit(n)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(sx(()=>this.positionChange.observers.length>0)).subscribe(n=>{this._ngZone.run(()=>this.positionChange.emit(n)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,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",q],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",q],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",q],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",q],push:[2,"cdkConnectedOverlayPush","push",q],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",q],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",q],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ke]})}return t})(),Ui=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[Ej],imports:[De,pr,rd,rd]})}return t})();var tQ=[[["caption"]],[["colgroup"],["col"]],"*"],nQ=["caption","colgroup, col","*"];function iQ(t,i){t&1&&re(0,2)}function rQ(t,i){t&1&&(u(0,"thead",0),Di(1,1),c(),u(2,"tbody",0),Di(3,2)(4,3),c(),u(5,"tfoot",0),Di(6,4),c())}function oQ(t,i){t&1&&Di(0,1)(1,2)(2,3)(3,4)}var ls=new R("CDK_TABLE");var TC=(()=>{class t{template=m(Zt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),IC=(()=>{class t{template=m(Zt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),Tj=(()=>{class t{template=m(Zt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})(),dd=(()=>{class t{_table=m(ls,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,TC,5)(o,IC,5)(o,Tj,5),n&2){let a;H(a=U())&&(r.cell=a.first),H(a=U())&&(r.headerCell=a.first),H(a=U())&&(r.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",q],stickyEnd:[2,"stickyEnd","stickyEnd",q]}})}return t})(),SC=class{constructor(i,e){e.nativeElement.classList.add(...i._columnCssClassName)}},Ij=(()=>{class t extends SC{constructor(){super(m(dd),m(Q))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[he]})}return t})();var Aj=(()=>{class t extends SC{constructor(){let e=m(dd),n=m(Q);super(e,n);let r=e._table?._getCellRole();r&&n.nativeElement.setAttribute("role",r)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[he]})}return t})();var sk=(()=>{class t{template=m(Zt);_differs=m(Hl);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let n=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof l_?e.headerCell.template:this instanceof lk?e.footerCell.template:e.cell.template}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,features:[Ke]})}return t})(),l_=(()=>{class t extends sk{_table=m(ls,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(m(Zt),m(Hl))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",q]},features:[he,Ke]})}return t})(),lk=(()=>{class t extends sk{_table=m(ls,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(m(Zt),m(Hl))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",q]},features:[he,Ke]})}return t})(),AC=(()=>{class t extends sk{_table=m(ls,{optional:!0});when;constructor(){super(m(Zt),m(Hl))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[he]})}return t})(),$u=(()=>{class t{_viewContainer=m(Pt);cells;context;static mostRecentCellOutlet=null;constructor(){t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkCellOutlet",""]]})}return t})(),ck=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Di(0,0)},dependencies:[$u],encapsulation:2})}return t})();var dk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Di(0,0)},dependencies:[$u],encapsulation:2})}return t})(),kj=(()=>{class t{templateRef=m(Zt);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["ng-template","cdkNoDataRow",""]]})}return t})(),xj=["top","bottom","left","right"],ak=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(i=>this._updateCachedSizes(i)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;
505constructor(i,e,n=!0,r=!0,o,a,s){this._isNativeHtmlTable=i,this._stickCellCss=e,this._isBrowser=n,this._needsPositionStickyOnElement=r,this.direction=o,this._positionListener=a,this._tableInjector=s,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(i,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(i);let n=[];for(let r of i)r.nodeType===r.ELEMENT_NODE&&n.push(r,...Array.from(r.children));Dt({write:()=>{for(let r of n)this._removeStickyStyle(r,e)}},{injector:this._tableInjector})}updateStickyColumns(i,e,n,r=!0,o=!0){if(!i.length||!this._isBrowser||!(e.some(j=>j)||n.some(j=>j))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let a=i[0],s=a.children.length,d=this.direction==="rtl",p=d?"right":"left",f=d?"left":"right",b=e.lastIndexOf(!0),w=n.indexOf(!0),A,M,J;o&&this._updateStickyColumnReplayQueue({rows:[...i],stickyStartStates:[...e],stickyEndStates:[...n]}),Dt({earlyRead:()=>{A=this._getCellWidths(a,r),M=this._getStickyStartColumnPositions(A,e),J=this._getStickyEndColumnPositions(A,n)},write:()=>{for(let j of i)for(let K=0;K<s;K++){let Te=j.children[K];e[K]&&this._addStickyStyle(Te,p,M[K],K===b),n[K]&&this._addStickyStyle(Te,f,J[K],K===w)}this._positionListener&&A.some(j=>!!j)&&(this._positionListener.stickyColumnsUpdated({sizes:b===-1?[]:A.slice(0,b+1).map((j,K)=>e[K]?j:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:w===-1?[]:A.slice(w).map((j,K)=>n[K+w]?j:null).reverse()}))}},{injector:this._tableInjector})}stickRows(i,e,n){if(!this._isBrowser)return;let r=n==="bottom"?i.slice().reverse():i,o=n==="bottom"?e.slice().reverse():e,a=[],s=[],d=[];Dt({earlyRead:()=>{for(let p=0,f=0;p<r.length;p++){if(!o[p])continue;a[p]=f;let b=r[p];d[p]=this._isNativeHtmlTable?Array.from(b.children):[b];let w=this._retrieveElementSize(b).height;f+=w,s[p]=w}},write:()=>{let p=o.lastIndexOf(!0);for(let f=0;f<r.length;f++){if(!o[f])continue;let b=a[f],w=f===p;for(let A of d[f])this._addStickyStyle(A,n,b,w)}n==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:s,offsets:a,elements:d}):this._positionListener?.stickyFooterRowsUpdated({sizes:s,offsets:a,elements:d})}},{injector:this._tableInjector})}updateStickyFooterContainer(i,e){this._isNativeHtmlTable&&Dt({write:()=>{let n=i.querySelector("tfoot");n&&(e.some(r=>!r)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(i,e){if(!i.classList.contains(this._stickCellCss))return;for(let r of e)i.style[r]="",i.classList.remove(this._borderCellCss[r]);xj.some(r=>e.indexOf(r)===-1&&i.style[r])?i.style.zIndex=this._getCalculatedZIndex(i):(i.style.zIndex="",this._needsPositionStickyOnElement&&(i.style.position=""),i.classList.remove(this._stickCellCss))}_addStickyStyle(i,e,n,r){i.classList.add(this._stickCellCss),r&&i.classList.add(this._borderCellCss[e]),i.style[e]=`${n}px`,i.style.zIndex=this._getCalculatedZIndex(i),this._needsPositionStickyOnElement&&(i.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(i){let e={top:100,bottom:10,left:1,right:1},n=0;for(let r of xj)i.style[r]&&(n+=e[r]);return n?`${n}`:""}_getCellWidths(i,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let n=[],r=i.children;for(let o=0;o<r.length;o++){let a=r[o];n.push(this._retrieveElementSize(a).width)}return this._cachedCellWidths=n,n}_getStickyStartColumnPositions(i,e){let n=[],r=0;for(let o=0;o<i.length;o++)e[o]&&(n[o]=r,r+=i[o]);return n}_getStickyEndColumnPositions(i,e){let n=[],r=0;for(let o=i.length;o>0;o--)e[o]&&(n[o]=r,r+=i[o]);return n}_retrieveElementSize(i){let e=this._elemSizeCache.get(i);if(e)return e;let n=i.getBoundingClientRect(),r={width:n.width,height:n.height};return this._resizeObserver&&(this._elemSizeCache.set(i,r),this._resizeObserver.observe(i,{box:"border-box"})),r}_updateStickyColumnReplayQueue(i){this._removeFromStickyColumnReplayQueue(i.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(i)}_removeFromStickyColumnReplayQueue(i){let e=new Set(i);for(let n of this._updatedStickyColumnsParamsToReplay)n.rows=n.rows.filter(r=>!e.has(r));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(n=>!!n.rows.length)}_updateCachedSizes(i){let e=!1;for(let n of i){let r=n.borderBoxSize?.length?{width:n.borderBoxSize[0].inlineSize,height:n.borderBoxSize[0].blockSize}:{width:n.contentRect.width,height:n.contentRect.height};r.width!==this._elemSizeCache.get(n.target)?.width&&aQ(n.target)&&(e=!0),this._elemSizeCache.set(n.target,r)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let n of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(n.rows,n.stickyStart
505States,n.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}};function aQ(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(i=>t.classList.contains(i))}var s_=new R("STICKY_POSITIONING_LISTENER");var uk=(()=>{class t{viewContainer=m(Pt);elementRef=m(Q);constructor(){let e=m(ls);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","rowOutlet",""]]})}return t})(),mk=(()=>{class t{viewContainer=m(Pt);elementRef=m(Q);constructor(){let e=m(ls);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),pk=(()=>{class t{viewContainer=m(Pt);elementRef=m(Q);constructor(){let e=m(ls);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),hk=(()=>{class t{viewContainer=m(Pt);elementRef=m(Q);constructor(){let e=m(ls);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),fk=(()=>{class t{_differs=m(Hl);_changeDetectorRef=m(Ee);_elementRef=m(Q);_dir=m(an,{optional:!0});_platform=m(gt);_viewRepeater;_viewportRuler=m(ji);_injector=m(ie);_virtualScrollViewport=m(mV,{optional:!0,host:!0});_positionListener=m(s_,{optional:!0})||m(s_,{optional:!0,skipSelf:!0});_document=m(Ce);_data;_renderedRange;_onDestroy=new O;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_headerRowStickyUpdates=new O;_footerRowStickyUpdates=new O;_disableVirtualScrolling=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&(this._switchDataSource(e),this._changeDetectorRef.markForCheck())}_dataSource;_dataSourceChanges=new O;_dataStream=new O;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._virtualScrollEnabled()?!0:this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;recycleRows=!1;contentChanged=new V;viewChange=new zt({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;constructor(){m(new di("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((n,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(xe(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new eC:new hC,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e
505=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),Wg(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,n,(r,o,a)=>this._getEmbeddedViewArgs(r.item,a),r=>r.item.data,r=>{r.operation===is.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let o=n.get(r.currentIndex);o.context.$implicit=r.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=Sj(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let n=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=Sj(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let n=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...n,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,a)=>{this._addStickyColumnStyles([o],this._headerRowDefs[a])}),this._rowDefs.forEach(o=>{let a=[];for(let s=0;s<n.length;s++)this._renderRows[s].rowDef===o&&a.push(n[s]);this._addStickyColumnStyles(a,o)}),r.forEach((o,a)=>{this._addStickyColumnStyles([o],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}stickyColumnsUpdated(e){this._positionListener?.stickyColumnsUpdated(e)}stickyEndColumnsUpdated(e){this._positionListener?.stickyEndColumnsUpdated(e)}stickyHeaderRowsUpdated(e){this._headerRowStickyUpdates.next(e),this._positionListener?.stickyHeaderRowsUpdated(e)}stickyFooterRowsUpdated(e){this._footerRowStickyUpdates.next(e),this._positionListener?.stickyFooterRowsUpdated(e)}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return[];let e=[],n=Math.min(this._data.length,this._renderedRange.end),r=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=this._renderedRange.start;o<n;o++){let a=this._data[o],s=this._getRenderRowsForData(a,o,r.get(a));this._cachedRenderRowsMap.has(a)||this._cachedRenderRowsMap.set(a,new WeakMap);for(let d=0;d<s.length;d++){let p=s[d],f=this._cachedRenderRowsMap.get(p.data);f.has(p.rowDef)?f.get(p.rowDef).push(p):f.set(p.rowDef,[p]),e.push(p)}}return e}_getRenderRowsForData(e,n,r){return this._getRowDefs(e,n).map(a=>{let s=r&&r.has(a)?r.get(a):[];if(s.length){let d=s.shift();return d.dataIndex=n,d}else return{data:e,rowDef:a,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),xC(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEac
505h(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=xC(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=xC(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=xC(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(n=>!n.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>{let d=!!s.getColumnsDiff();return a||d},n=this._rowDefs.reduce(e,!1);n&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),n||r||o}_switchDataSource(e){this._data=[],Wg(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Wg(this.dataSource)?e=this.dataSource.connect(this):Sl(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=P(this.dataSource)),this._renderChangeSubscription=nn([e,this.viewChange]).pipe(xe(this._onDestroy)).subscribe(([n,r])=>{this._data=n||[],this._renderedRange=r,this._dataStream.next(n),this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,n)=>this._renderRow(this._headerRowOutlet,e,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,n)=>this._renderRow(this._footerRowOutlet,e,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,n){let r=Array.from(n?.columns||[]).map(s=>{let d=this._columnDefsByName.get(s);return d}),o=r.map(s=>s.sticky),a=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,a,!this.fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let n=[];for(let r=0;r<e.viewContainer.length;r++){let o=e.viewContainer.get(r);n.push(o.rootNodes[0])}return n}_getRowDefs(e,n){if(this._rowDefs.length===1)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(o=>!o.when||o.when(n,e));else{let o=this._rowDefs.find(a=>a.when&&a.when(n,e))||this._defaultRowDef;o&&r.push(o)}return r.length,r}_getEmbeddedViewArgs(e,n){let r=e.rowDef,o={$implicit:e.data};return{templateRef:r.template,context:o,index:n}}_renderRow(e,n,r,o={}){let a=e.viewContainer.createEmbeddedView(n.template,o,r);return this._renderCellTemplateForItem(n,o),a}_renderCellTemplateForItem(e,n){for(let r of this._getCellTemplates(e))$u.mostRecentCellOutlet&&$u.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let n=0,r=e.length;n<r;n++){let a=e.get(n).context;a.count=r,a.first=n===0,a.last=n===r-1,a.even=n%2===0,a.odd=!a.even,this.multiTemplateDataRows?(a.dataIndex=this._renderRows[n].dataIndex,a.renderIndex=n):a.index=this._renderRows[n].dataIndex}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,n=>{let r=this._columnDefsByName.get(n);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(n,r)=>n||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr",n=this._injector;this._stickyStyler=new ak(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this,n),(this._dir?this._dir.change:P()).pipe(xe(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_setupVirtualScrolling(e){let n=typeof requestAnimationFrame<"u"?Rm
505:kb;this.viewChange.next({start:0,end:0}),e.renderedRangeStream.pipe(Fm(0,n),xe(this._onDestroy)).subscribe(this.viewChange),e.attach({dataStream:this._dataStream,measureRangeSize:(r,o)=>this._measureRangeSize(r,o)}),nn([e.renderedContentOffset,this._headerRowStickyUpdates]).pipe(xe(this._onDestroy)).subscribe(([r,o])=>{if(!(!o.sizes||!o.offsets||!o.elements))for(let a=0;a<o.elements.length;a++){let s=o.elements[a];if(s){let d=o.offsets[a],p=r!==0?Math.max(r-d,d):-d;for(let f of s)f.style.top=`${-p}px`}}}),nn([e.renderedContentOffset,this._footerRowStickyUpdates]).pipe(xe(this._onDestroy)).subscribe(([r,o])=>{if(!(!o.sizes||!o.offsets||!o.elements))for(let a=0;a<o.elements.length;a++){let s=o.elements[a];if(s)for(let d of s)d.style.bottom=`${r+o.offsets[a]}px`}})}_getOwnDefs(e){return e.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let n=this._rowOutlet.viewContainer.length===0;if(n===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(n){let o=r.createEmbeddedView(e.templateRef),a=o.rootNodes[0];if(o.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE){a.setAttribute("role","row"),a.classList.add(...e._contentClassNames);let s=a.querySelectorAll(e._cellSelector);for(let d=0;d<s.length;d++)s[d].classList.add(...e._cellClassNames)}}else r.clear();this._isShowingNoDataRow=n,this._changeDetectorRef.markForCheck()}_measureRangeSize(e,n){if(e.start>=e.end||n!=="vertical")return 0;let r=this.viewChange.value,o=this._rowOutlet.viewContainer;e.start<r.start||e.end>r.end;let a=e.start-r.start,s=e.end-e.start,d,p;for(let w=0;w<s;w++){let A=o.get(w+a);if(A&&A.rootNodes.length){d=p=A.rootNodes[0];break}}for(let w=s-1;w>-1;w--){let A=o.get(w+a);if(A&&A.rootNodes.length){p=A.rootNodes[A.rootNodes.length-1];break}}let f=d?.getBoundingClientRect?.(),b=p?.getBoundingClientRect?.();return f&&b?b.bottom-f.top:0}_virtualScrollEnabled(){return!this._disableVirtualScrolling&&this._virtualScrollViewport!=null}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,kj,5)(o,dd,5)(o,AC,5)(o,l_,5)(o,lk,5),n&2){let a;H(a=U())&&(r._noDataRow=a.first),H(a=U())&&(r._contentColumnDefs=a),H(a=U())&&(r._contentRowDefs=a),H(a=U())&&(r._contentHeaderRowDefs=a),H(a=U())&&(r._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,r){n&2&&ee("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",q],fixedLayout:[2,"fixedLayout","fixedLayout",q],recycleRows:[2,"recycleRows","recycleRows",q]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[me([{provide:ls,useExisting:t},{provide:s_,useValue:null}])],ngContentSelectors:nQ,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,r){n&1&&(Ie(tQ),re(0),re(1,1),v(2,iQ,1,0),v(3,rQ,7,0)(4,oQ,4,0)),n&2&&(l(2),y(r._isServer?2:-1),l(),y(r._isNativeHtmlTable?3:4))},dependencies:[mk,uk,hk,pk],styles:[`.cdk-table-fixed-layout {
506  table-layout: fixed;
507}
508`],encapsulation:2})}return t})();function xC(t,i){return t.concat(Array.from(i))}function Sj(t,i){let e=i.toUpperCase(),n=t.viewContainer.element.nativeElement;for(;n;){let r=n.nodeType===1?n.nodeName:null;if(r===e)return n;if(r==="TABLE")break;n=n.parentNode}return null}var c_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[rd]})}return t})();var gk=class{dataNodes;expansionModel=new mr(!0);trackBy;getLevel;isExpandable;getChildren;toggle(i){this.expansionModel.toggle(this._trackByValue(i))}expand(i){this.expansionModel.select(this._trackByValue(i))}collapse(i){this.expansionModel.deselect(this._trackByValue(i))}isExpanded(i){return this.expansionModel.isSelected(this._trackByValue(i))}toggleDescendants(i){this.expansionModel.isSelected(this._trackByValue(i))?this.collapseDescendants(i):this.expandDescendants(i)}collapseAll(){this.expansionModel.clear()}expandDescendants(i){let e=[i];e.push(...this.getDescendants(i)),this.expansionModel.select(...e.map(n=>this._trackByValue(n)))}collapseDescendants(i){let e=[i];e.push(...this.getDescendants(i)),this.expansionModel.deselect(...e.map(n=>this._trackByValue(n)))}_trackByValue(i){return this.trackBy?this.trackBy(i):i}},Rj=class extends gk{getLevel;isExpandable;options;
508constructor(i,e,n){super(),this.getLevel=i,this.isExpandable=e,this.options=n,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(i){let e=this.dataNodes.indexOf(i),n=[];for(let r=e+1;r<this.dataNodes.length&&this.getLevel(i)<this.getLevel(this.dataNodes[r]);r++)n.push(this.dataNodes[r]);return n}expandAll(){this.expansionModel.select(...this.dataNodes.map(i=>this._trackByValue(i)))}};var d_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var kC=(()=>{class t{_animationsDisabled=lt();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,r){n&2&&ee("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._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(n,r){},styles:[`.mat-pseudo-checkbox {
509  border-radius: 2px;
510  cursor: pointer;
511  display: inline-block;
512  vertical-align: middle;
513  box-sizing: border-box;
514  position: relative;
515  flex-shrink: 0;
516  transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1);
517}
518.mat-pseudo-checkbox::after {
519  position: absolute;
520  opacity: 0;
521  content: "";
522  border-bottom: 2px solid currentColor;
523  transition: opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);
524}
525.mat-pseudo-checkbox._mat-animation-noopable {
526  transition: none !important;
527  animation: none !important;
528}
529.mat-pseudo-checkbox._mat-animation-noopable::after {
530  transition: none;
531}
532
533.mat-pseudo-checkbox-disabled {
534  cursor: default;
535}
536
537.mat-pseudo-checkbox-indeterminate::after {
538  left: 1px;
539  opacity: 1;
540  border-radius: 2px;
541}
542
543.mat-pseudo-checkbox-checked::after {
544  left: 1px;
545  border-left: 2px solid currentColor;
546  transform: rotate(-45deg);
547  opacity: 1;
548  box-sizing: content-box;
549}
550
551.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after {
552  color: var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary));
553}
554.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 {
555  color: var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
556}
557
558.mat-pseudo-checkbox-full {
559  border-color: var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));
560  border-width: 2px;
561  border-style: solid;
562}
563.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled {
564  border-color: var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
565}
566.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate {
567  background-color: var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));
568  border-color: transparent;
569}
570.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after {
571  color: var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary));
572}
573.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled {
574  background-color: var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
575}
576.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 {
577  color: var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface));
578}
579
580.mat-pseudo-checkbox {
581  width: 18px;
582  height: 18px;
583}
584
585.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after {
586  width: 14px;
587  height: 6px;
588  transform-origin: center;
589  top: -4.2426406871px;
590  left: 0;
591  bottom: 0;
592  right: 0;
593  margin: auto;
594}
595.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after {
596  top: 8px;
597  width: 16px;
598}
599
600.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after {
601  width: 10px;
602  height: 4px;
603  transform-origin: center;
604  top: -2.8284271247px;
605  left: 0;
606  bottom: 0;
607  right: 0;
608  margin: auto;
609}
610.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after {
611  top: 6px;
612  width: 12px;
613}
614`],encapsulation:2,changeDetection:0})}return t})();var sQ=["text"],lQ=[[["mat-icon"]],"*"],cQ=["mat-icon","*"];function dQ(t,i){if(t&1&&x(0,"mat-pseudo-checkbox",1),t&2){let e=_();g("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function uQ(t,i){if(t&1&&x(0,"mat-pseudo-checkbox",3),t&2){let e=_();g("disabled",e.disabled)}}function mQ(t,i){if(t&1&&(u(0,"span",4),h(1),c()),t&2){let e=_();l(),se("(",e.group.label,")")}}var m_=new R("MAT_OPTION_PARENT_COMPONENT"),p_=new R("MatOptgroup");var u_=class{source;isUserInput;constructor(i,e=!1){this.source=i,this.isUserInput=e}},Qt=(()=>{class t{_element=m(Q);_changeDetectorRef=m(Ee);_parent=m(m_,{optional:!0});group=m(p_,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=m(pt).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Z(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new V;_text;_stateChanges=new O;constructor(){let e=m(Lt);e.load(mi),e.load(zs),this._signalDisableRipple=!!this._parent&&Os(this._parent.disableRipple)}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)&&!Ht(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 u_(this,e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-option"]],viewQuery:function(n,r){if(n&1&&ve(sQ,7),n&2){let o;H(o=U())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,r){n&1&&T("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),n&2&&(In("id",r.id),oe("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ee("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",q]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:cQ,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-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,r){n&1&&(Ie(lQ),v(0,dQ,1,2,"mat-pseudo-checkbox",1),re(1),u(2,"span",2,0),re(4,1),c(),v(5,uQ,1,1,"mat-pseudo-checkbox",3),v(6,mQ,2,1,"span",4),x(7,"div",5)),n&2&&(y(r.multiple?0:-1),l(5),y(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),l(),y(r.group&&r.group._inert?6:-1),l(),g("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[kC,Hr],styles:[`.mat-mdc-option {
615  -webkit-user-select: none;
616  user-select: none;
617  -moz-osx-font-smoothing: grayscale;
618  -webkit-font-smoothing: antialiased;
619  display: flex;
620  position: relative;
621  align-items: center;
622  justify-content: flex-start;
623  overflow: hidden;
624  min-height: 48px;
625  padding: 0 16px;
626  cursor: pointer;
627  -webkit-tap-highlight-color: transparent;
628  color: var(--mat-option-label-text-color, var(--mat-sys-on-surface));
629  font-family: var(--mat-option-label-text-font, var(--mat-sys-label-large-font));
630  line-height: var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));
631  font-size: var(--mat-option-label-text-size, var(--mat-sys-body-large-size));
632  letter-spacing: var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));
633  font-weight: var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight));
634}
635.mat-mdc-option:hover:not(.mdc-list-item--disabled) {
636  background-color: var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));
637}
638.mat-mdc-option:focus.mdc-list-item, .mat-mdc-option.mat-mdc-option-active.mdc-list-item {
639  background-color: var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));
640  outline: 0;
641}
642.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) {
643  background-color: var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container));
644}
645.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) .mdc-list-item__primary-text {
646  color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container));
647}
648.mat-mdc-option .mat-pseudo-checkbox {
649  --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container));
650}
651.mat-mdc-option.mdc-list-item {
652  align-items: center;
653  background: transparent;
654}
655.mat-mdc-option.mdc-list-item--disabled {
656  cursor: default;
657  pointer-events: none;
658}
659.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 {
660  opacity: 0.38;
661}
662.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) {
663  padding-left: 32px;
664}
665[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) {
666  padding-left: 16px;
667  padding-right: 32px;
668}
669.mat-mdc-option .mat-icon,
670.mat-mdc-option .mat-pseudo-checkbox-full {
671  margin-right: 16px;
672  flex-shrink: 0;
673}
674[dir=rtl] .mat-mdc-option .mat-icon,
675[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full {
676  margin-right: 0;
677  margin-left: 16px;
678}
679.mat-mdc-option .mat-pseudo-checkbox-minimal {
680  margin-left: 16px;
681  flex-shrink: 0;
682}
683[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal {
684  margin-right: 16px;
685  margin-left: 0;
686}
687.mat-mdc-option .mat-mdc-option-ripple {
688  top: 0;
689  left: 0;
690  right: 0;
691  bottom: 0;
692  position: absolute;
693  pointer-events: none;
694}
695.mat-mdc-option .mdc-list-item__primary-text {
696  white-space: normal;
697  font-size: inherit;
698  font-weight: inherit;
699  letter-spacing: inherit;
700  line-height: inherit;
701  font-family: inherit;
702  text-decoration: inherit;
703  text-transform: inherit;
704  margin-right: auto;
705}
706[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text {
707  margin-right: 0;
708  margin-left: auto;
709}
710@media (forced-colors: active) {
711  .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after {
712    content: "";
713    position: absolute;
714    top: 50%;
715    right: 16px;
716    transform: translateY(-50%);
717    width: 10px;
718    height: 0;
719    border-bottom: solid 10px;
720    border-radius: 10px;
721  }
722  [dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after {
723    right: auto;
724    left: 16px;
725  }
726}
727
728.mat-mdc-option-multiple {
729  --mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent);
730}
731
732.mat-mdc-option-active .mat-focus-indicator::before {
733  content: "";
734}
735`],encapsulation:2,changeDetection:0})}return t})();function RC(t,i,e){if(e.length){let n=i.toArray(),r=e.toArray(),o=0;for(let a=0;
735a<t+1;a++)n[a].group&&n[a].group===r[o]&&o++;return o}return 0}function MC(t,i,e,n){return t<e?t:t+i>e+n?Math.max(0,t-n+i):e}var _k=class{_box;_destroyed=new O;_resizeSubject=new O;_resizeObserver;_elementObservables=new Map;constructor(i){this._box=i,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(i){return this._elementObservables.has(i)||this._elementObservables.set(i,new Ne(e=>{let n=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(i,{box:this._box}),()=>{this._resizeObserver?.unobserve(i),n.unsubscribe(),this._elementObservables.delete(i)}}).pipe(ae(e=>e.some(n=>n.target===i)),Qr({bufferSize:1,refCount:!0}),xe(this._destroyed))),this._elementObservables.get(i)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},NC=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=m(le);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,n){let r=n?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new _k(r)),this._observers.get(r).observe(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var pQ=["notch"],hQ=["matFormFieldNotchedOutline",""],fQ=["*"],Mj=["iconPrefixContainer"],Nj=["textPrefixContainer"],Oj=["iconSuffixContainer"],Fj=["textSuffixContainer"],gQ=["textField"],_Q=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],bQ=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function vQ(t,i){t&1&&x(0,"span",21)}function yQ(t,i){if(t&1&&(u(0,"label",20),re(1,1),v(2,vQ,1,0,"span",21),c()),t&2){let e=_(2);g("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),oe("for",e._control.disableAutomaticLabeling?null:e._control.id),l(2),y(!e.hideRequiredMarker&&e._control.required?2:-1)}}function CQ(t,i){if(t&1&&v(0,yQ,3,5,"label",20),t&2){let e=_();y(e._hasFloatingLabel()?0:-1)}}function DQ(t,i){t&1&&x(0,"div",7)}function EQ(t,i){}function wQ(t,i){if(t&1&&fe(0,EQ,0,0,"ng-template",13),t&2){_(2);let e=ye(1);g("ngTemplateOutlet",e)}}function xQ(t,i){if(t&1&&(u(0,"div",9),v(1,wQ,1,1,null,13),c()),t&2){let e=_();g("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),l(),y(e._forceDisplayInfixLabel()?-1:1)}}function SQ(t,i){t&1&&(u(0,"div",10,2),re(2,2),c())}function TQ(t,i){t&1&&(u(0,"div",11,3),re(2,3),c())}function IQ(t,i){}function AQ(t,i){if(t&1&&fe(0,IQ,0,0,"ng-template",13),t&2){_();let e=ye(1);g("ngTemplateOutlet",e)}}function kQ(t,i){t&1&&(u(0,"div",14,4),re(2,4),c())}function RQ(t,i){t&1&&(u(0,"div",15,5),re(2,5),c())}function MQ(t,i){t&1&&x(0,"div",16)}function NQ(t,i){t&1&&(u(0,"div",18),re(1,6),c())}function OQ(t,i){if(t&1&&(u(0,"mat-hint",22),h(1),c()),t&2){let e=_(2);g("id",e._hintLabelId),l(),S(e.hintLabel)}}function FQ(t,i){if(t&1&&(u(0,"div",19),v(1,OQ,2,2,"mat-hint",22),re(2,7),x(3,"div",23),re(4,8),c()),t&2){let e=_();l(),y(e.hintLabel?1:-1)}}var qe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-label"]]})}return t})(),Uj=new R("MatError"),St=(()=>{class t{id=m(pt).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(n,r){n&2&&In("id",r.id)},inputs:{id:"id"},features:[me([{provide:Uj,useExisting:t}])]})}return t})(),ra=(()=>{class t{align="start";id=m(pt).getId("mat-mdc-hint-");static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,r){n&2&&(In("id",r.id),oe("align",null),ee("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),zj=new R("MatPrefix"),bk=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[me([{provide:zj,useExisting:t}])]})}return t})(),Gj=new R("MatSuffix"),Pn=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[me([{provide:Gj,useExisting:t}])]})}return t})(),Wj=new R("FloatingLabelParent"),Pj=(()=>{class t{_elementRef=m(Q);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=m(NC);_ngZone=m(le);_parent=m(Wj);_resizeSubscription=new _e;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return PQ(this._elementRef.nativeElement)}
735get 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 \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function PQ(t){let i=t;if(i.offsetParent!==null)return i.scrollWidth;let e=i.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 Lj="mdc-line-ripple--active",OC="mdc-line-ripple--deactivating",Bj=(()=>{class t{_elementRef=m(Q);_cleanupTransitionEnd;constructor(){let e=m(le),n=m(ot);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=n.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(OC),e.add(Lj)}deactivate(){this._elementRef.nativeElement.classList.add(OC)}_handleTransitionEnd=e=>{let n=this._elementRef.nativeElement.classList,r=n.contains(OC);e.propertyName==="opacity"&&r&&n.remove(Lj,OC)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),Vj=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,n=e.querySelector(".mdc-floating-label");n?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(n.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>n.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let n=this._notch.nativeElement;!this.open||!e?n.style.width="":n.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,r){if(n&1&&ve(pQ,5),n&2){let o;H(o=U())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:hQ,ngContentSelectors:fQ,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&&(Ie(),gi(0,"div",1),ft(1,"div",2,0),re(3),_t(),gi(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),zp=(()=>{class t{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t})}return t})();var Jl=new R("MatFormField"),LQ=new R("MAT_FORM_FIELD_DEFAULT_OPTIONS"),jj="fill",BQ="auto",Hj="fixed",VQ="translateY(-50%)",Ve=(()=>{class t{_elementRef=m(Q);_changeDetectorRef=m(Ee);_platform=m(gt);_idGenerator=m(pt);_ngZone=m(le);_defaults=m(LQ,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Ps("iconPrefixContainer");_textPrefixContainerSignal=Ps("textPrefixContainer");_iconSuffixContainerSignal=Ps("iconSuffixContainer");_textSuffixContainerSignal=Ps("textSuffixContainer");_prefixSuffixContainers=Ct(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=RL(qe);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Fn(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||BQ}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let n=e||this._defaults?.appearance||jj;this._appearanceSignal.set(n)}_appearanceSignal=Z(jj);
735get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Hj}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Hj}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new O;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=lt();constructor(){let e=this._defaults,n=m(an);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),io(()=>this._currentDirection=n.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Ct(()=>this._hasFloatingLabel()?this._labelId:null);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._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=n.stateChanges.pipe(Re([void 0,void 0]),$(()=>[n.errorState,n.userAriaDescribedBy]),Qb(),ae(([[o,a],[s,d]])=>o!==s||a!==d)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),n.ngControl&&n.ngControl.valueChanges&&(this._valueChanges=n.ngControl.valueChanges.pipe(xe(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(),ut(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(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){VL({earlyRead:()=>
735{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Ct(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_getSubscriptMessageType(){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=[];
735if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,a=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let n=this._control.describedByIds,r;if(n){let o=this._describedByIds||e;r=e.concat(n.filter(a=>a&&!o.includes(a)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,n=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,s=n?.getBoundingClientRect().width??0,d=r?.getBoundingClientRect().width??0,p=o?.getBoundingClientRect().width??0,f=this._currentDirection==="rtl"?"-1":"1",b=`${a+s}px`,A=`calc(${f} * (${b} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,M=`var(--mat-mdc-form-field-label-transform, ${VQ} translateX(${A}))`,J=a+s+d+p;return[M,J]}_writeOutlinedLabelStyles(e){if(e!==null){let[n,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=n),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let n=e.getRootNode();return n&&n!==e}return document.documentElement.contains(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-form-field"]],contentQueries:function(n,r,o){if(n&1&&(x0(o,r._labelChild,qe,5),Gt(o,zp,5)(o,zj,5)(o,Gj,5)(o,Uj,5)(o,ra,5)),n&2){$c();let a;H(a=U())&&(r._formFieldControl=a.first),H(a=U())&&(r._prefixChildren=a),H(a=U())&&(r._suffixChildren=a),H(a=U())&&(r._errorChildren=a),H(a=U())&&(r._hintChildren=a)}},viewQuery:function(n,r){if(n&1&&(Wc(r._iconPrefixContainerSignal,Mj,5)(r._textPrefixContainerSignal,Nj,5)(r._iconSuffixContainerSignal,Oj,5)(r._textSuffixContainerSignal,Fj,5),ve(gQ,5)(Mj,5)(Nj,5)(Oj,5)(Fj,5)(Pj,5)(Vj,5)(Bj,5)),n&2){$c(4);let o;H(o=U())&&(r._textField=o.first),H(o=U())&&(r._iconPrefixContainer=o.first),H(o=U())&&(r._textPrefixContainer=o.first),H(o=U())&&(r._iconSuffixContainer=o.first),H(o=U())&&(r._textSuffixContainer=o.first),H(o=U())&&(r._floatingLabel=o.first),H(o=U())&&(r._notchedOutline=o.first),H(o=U())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(n,r){n&2&&ee("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-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("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"],features:[me([{provide:Jl,useExisting:t},{provide:Wj,useExisting:t}])],ngContentSelectors:bQ,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",""],["aria-atomic","true","aria-live","polite",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"],["matFormField
735FloatingLabel","",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&&(Ie(_Q),fe(0,CQ,1,1,"ng-template",null,0,fa),u(2,"div",6,1),T("click",function(a){return r._control.onContainerClick(a)}),v(4,DQ,1,0,"div",7),u(5,"div",8),v(6,xQ,2,2,"div",9),v(7,SQ,3,0,"div",10),v(8,TQ,3,0,"div",11),u(9,"div",12),v(10,AQ,1,1,null,13),re(11),c(),v(12,kQ,3,0,"div",14),v(13,RQ,3,0,"div",15),c(),v(14,MQ,1,0,"div",16),c(),u(15,"div",17),v(16,NQ,2,0,"div",18)(17,FQ,5,1,"div",19),c()),n&2){let o;l(2),ee("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),l(2),y(!r._hasOutline()&&!r._control.disabled?4:-1),l(2),y(r._hasOutline()?6:-1),l(),y(r._hasIconPrefix?7:-1),l(),y(r._hasTextPrefix?8:-1),l(2),y(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),l(2),y(r._hasTextSuffix?12:-1),l(),y(r._hasIconSuffix?13:-1),l(),y(r._hasOutline()?-1:14),l(),ee("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let a=r._getSubscriptMessageType();l(),y((o=a)==="error"?16:o==="hint"?17:-1)}},dependencies:[Pj,Vj,xu,Bj,ra],styles:[`.mdc-text-field {
736  display: inline-flex;
737  align-items: baseline;
738  padding: 0 16px;
739  position: relative;
740  box-sizing: border-box;
741  overflow: hidden;
742  will-change: opacity, transform, color;
743  border-top-left-radius: 4px;
744  border-top-right-radius: 4px;
745  border-bottom-right-radius: 0;
746  border-bottom-left-radius: 0;
747}
748
749.mdc-text-field__input {
750  width: 100%;
751  min-width: 0;
752  border: none;
753  border-radius: 0;
754  background: none;
755  padding: 0;
756  -moz-appearance: none;
757  -webkit-appearance: none;
758  height: 28px;
759}
760.mdc-text-field__input::-webkit-calendar-picker-indicator, .mdc-text-field__input::-webkit-search-cancel-button {
761  display: none;
762}
763.mdc-text-field__input::-ms-clear {
764  display: none;
765}
766.mdc-text-field__input:focus {
767  outline: none;
768}
769.mdc-text-field__input:invalid {
770  box-shadow: none;
771}
772.mdc-text-field__input::placeholder {
773  opacity: 0;
774}
775.mdc-text-field__input::-moz-placeholder {
776  opacity: 0;
777}
778.mdc-text-field__input::-webkit-input-placeholder {
779  opacity: 0;
780}
781.mdc-text-field__input:-ms-input-placeholder {
782  opacity: 0;
783}
784.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder {
785  opacity: 1;
786}
787.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mdc-text-field--focused .mdc-text-field__input::-moz-placeholder {
788  opacity: 1;
789}
790.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder {
791  opacity: 1;
792}
793.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder {
794  opacity: 1;
795}
796.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder {
797  opacity: 0;
798}
799.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder {
800  opacity: 0;
801}
802.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder {
803  opacity: 0;
804}
805.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder {
806  opacity: 0;
807}
808.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input {
809  height: 100%;
810}
811.mdc-text-field--outlined .mdc-text-field__input {
812  display: flex;
813  border: none !important;
814  background-color: transparent;
815}
816.mdc-text-field--disabled .mdc-text-field__input {
817  pointer-events: auto;
818}
819.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input {
820  color: var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));
821  caret-color: var(--mat-form-field-filled-caret-color, var(--mat-sys-primary));
822}
823.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder {
824  color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
825}
826.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder {
827  color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
828}
829.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder {
830  color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
831}
832.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder {
833  color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
834}
835.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input {
836  color: var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));
837  caret-color: var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary));
838}
839.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder {
840  color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
841}
842.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder {
843  color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
844}
845.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder {
846  color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
847}
848.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder {
849  color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
850}
851.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input {
852  caret-color: var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error));
853}
854.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input {
855  caret-color: var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error));
856}
857.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input {
858  color: var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
859}
860.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {
861  color: var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
862}
863@media (forced-colors: active) {
864  .mdc-text-field--disabled .mdc-text-field__input {
865    background-color: Window;
866  }
867}
868
869.mdc-text-field--filled {
870  height: 56px;
871  border-bottom-right-radius: 0;
872  border-bottom-left-radius: 0;
873  border-top-left-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));
874  border-top-right-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));
875}
876.mdc-text-field--filled:not(.mdc-text-field--disabled) {
877  background-color: var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant));
878}
879.mdc-text-field--filled.mdc-text-field--disabled {
880  background-color: var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent));
881}
882
883.mdc-text-field--outlined {
884  height: 56px;
885  overflow: visible;
886  padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));
887  padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);
888}
889[dir=rtl] .mdc-text-field--outlined {
890  padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);
891  padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));
892}
893
894.mdc-floating-label {
895  position: absolute;
896  left: 0;
897  transform-origin: left top;
898  line-height: 1.15rem;
899  text-align: left;
900  text-overflow: ellipsis;
901  white-space: nowrap;
902  cursor: text;
903  overflow: hidden;
904  will-change: transform;
905}
906[dir=rtl] .mdc-floating-label {
907  right: 0;
908  left: auto;
909  transform-origin: right top;
910  text-align: right;
911}
912.mdc-text-field .mdc-floating-label {
913  top: 50%;
914  transform: translateY(-50%);
915  pointer-events: none;
916}
917.mdc-notched-outline .mdc-floating-label {
918  display: inline-block;
919  position: relative;
920  max-width: 100%;
921}
922.mdc-text-field--outlined .mdc-floating-label {
923  left: 4px;
924  right: auto;
925}
926[dir=rtl] .mdc-text-field--outlined .mdc-floating-label {
927  left: auto;
928  right: 4px;
929}
930.mdc-text-field--filled .mdc-floating-label {
931  left: 16px;
932  right: auto;
933}
934[dir=rtl] .mdc-text-field--filled .mdc-floating-label {
935  left: auto;
936  right: 16px;
937}
938.mdc-text-field--disabled .mdc-floating-label {
939  cursor: default;
940}
941@media (forced-colors: active) {
942  .mdc-text-field--disabled .mdc-floating-label {
943    z-index: 1;
944  }
945}
946.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label {
947  display: none;
948}
949.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label {
950  color: var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant));
951}
952.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {
953  color: var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary));
954}
955.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
955over .mdc-floating-label {
956  color: var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant));
957}
958.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label {
959  color: var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
960}
961.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label {
962  color: var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error));
963}
964.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label {
965  color: var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error));
966}
967.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label {
968  color: var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container));
969}
970.mdc-text-field--filled .mdc-floating-label {
971  font-family: var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));
972  font-size: var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));
973  font-weight: var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));
974  letter-spacing: var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking));
975}
976.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label {
977  color: var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant));
978}
979.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {
980  color: var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary));
981}
982.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label {
983  color: var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface));
984}
985.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label {
986  color: var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
987}
988.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label {
989  color: var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error));
990}
991.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label {
992  color: var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error));
993}
994.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label {
995  color: var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container));
996}
997.mdc-text-field--outlined .mdc-floating-label {
998  font-family: var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));
999  font-size: var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));
1000  font-weight: var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));
1001  letter-spacing: var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking));
1002}
1003
1004.mdc-floating-label--float-above {
1005  cursor: auto;
1006  transform: translateY(-106%) scale(0.75);
1007}
1008.mdc-text-field--filled .mdc-floating-label--float-above {
1009  transform: translateY(-106%) scale(0.75);
1010}
1011.mdc-text-field--outlined .mdc-floating-label--float-above {
1012  transform: translateY(-37.25px) scale(1);
1013  font-size: 0.75rem;
1014}
1015.mdc-notched-outline .mdc-floating-label--float-above {
1016  text-overflow: clip;
1017}
1018.mdc-notched-outline--upgraded .mdc-floating-label--float-above {
1019  max-width: 133.3333333333%;
1020}
1021.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 {
1022  transform: translateY(-34.75px) scale(0.75);
1023}
1024.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 {
1025  font-size: 1rem;
1026}
1027
1028.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after {
1029  margin-left: 1px;
1030  margin-right: 0;
1031  content: "*";
1032}
1033[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after {
1034  margin-left: 0;
1035  margin-right: 1px;
1036}
1037
1038.mdc-notched-outline {
1039  display: flex;
1040  position: absolute;
1041  top: 0;
1042  right: 0;
1043  left: 0;
1044  box-sizing: border-box;
1045  width: 100%;
1046  max-width: 100%;
1047  height: 100%;
1048  text-align: left;
1049  pointer-events: none;
1050}
1051[dir=rtl] .mdc-notched-outline {
1052  text-align: right;
1053}
1054.mdc-text-field--outlined .mdc-notched-outline {
1055  z-index: 1;
1056}
1057
1058.mat-mdc-notch-piece {
1059  box-sizing: border-box;
1060  height: 100%;
1061  pointer-events: none;
1062  border: none;
1063  border-top: 1px solid;
1064  border-bottom: 1px solid;
1065}
1066.mdc-text-field--focused .mat-mdc-notch-piece {
1067  border-width: 2px;
1068}
1069.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece {
1070  border-color: var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));
1071  border-width: var(--mat-form-field-outlined-outline-width, 1px);
1072}
1073.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1073over .mat-mdc-notch-piece {
1074  border-color: var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface));
1075}
1076.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece {
1077  border-color: var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary));
1078}
1079.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece {
1080  border-color: var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
1081}
1082.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece {
1083  border-color: var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error));
1084}
1085.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 {
1086  border-color: var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container));
1087}
1088.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece {
1089  border-color: var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error));
1090}
1091.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece {
1092  border-width: var(--mat-form-field-outlined-focus-outline-width, 2px);
1093}
1094
1095.mdc-notched-outline__leading {
1096  border-left: 1px solid;
1097  border-right: none;
1098  border-top-right-radius: 0;
1099  border-bottom-right-radius: 0;
1100  border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1101  border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1102}
1103.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading {
1104  width: max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));
1105}
1106[dir=rtl] .mdc-notched-outline__leading {
1107  border-left: none;
1108  border-right: 1px solid;
1109  border-bottom-left-radius: 0;
1110  border-top-left-radius: 0;
1111  border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1112  border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1113}
1114
1115.mdc-notched-outline__trailing {
1116  flex-grow: 1;
1117  border-left: none;
1118  border-right: 1px solid;
1119  border-top-left-radius: 0;
1120  border-bottom-left-radius: 0;
1121  border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1122  border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1123}
1124[dir=rtl] .mdc-notched-outline__trailing {
1125  border-left: 1px solid;
1126  border-right: none;
1127  border-top-right-radius: 0;
1128  border-bottom-right-radius: 0;
1129  border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1130  border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1131}
1132
1133.mdc-notched-outline__notch {
1134  flex: 0 0 auto;
1135  width: auto;
1136}
1137.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch {
1138  max-width: min(var(--mat-form-field-notch-max-width, 100%), calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2));
1139}
1140.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {
1141  max-width: min(100%, calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2));
1142}
1143.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {
1144  padding-top: 1px;
1145}
1146.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {
1147  padding-top: 2px;
1148}
1149.mdc-notched-outline--notched .mdc-notched-outline__notch {
1150  padding-left: 0;
1151  padding-right: 8px;
1152  border-top: none;
1153}
1154[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch {
1155  padding-left: 8px;
1156  padding-right: 0;
1157}
1158.mdc-notched-outline--no-label .mdc-notched-outline__notch {
1159  display: none;
1160}
1161
1162.mdc-line-ripple::before, .mdc-line-ripple::after {
1163  position: absolute;
1164  bottom: 0;
1165  left: 0;
1166  width: 100%;
1167  border-bottom-style: solid;
1168  content: "";
1169}
1170.mdc-line-ripple::before {
1171  z-index: 1;
1172  border-bottom-width: var(--mat-form-field-filled-active-indicator-height, 1px);
1173}
1174.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before {
1175  border-bottom-color: var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant));
1176}
1177.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1177over .mdc-line-ripple::before {
1178  border-bottom-color: var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface));
1179}
1180.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before {
1181  border-bottom-color: var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1182}
1183.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before {
1184  border-bottom-color: var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error));
1185}
1186.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before {
1187  border-bottom-color: var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container));
1188}
1189.mdc-line-ripple::after {
1190  transform: scaleX(0);
1191  opacity: 0;
1192  z-index: 2;
1193}
1194.mdc-text-field--filled .mdc-line-ripple::after {
1195  border-bottom-width: var(--mat-form-field-filled-focus-active-indicator-height, 2px);
1196}
1197.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after {
1198  border-bottom-color: var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary));
1199}
1200.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after {
1201  border-bottom-color: var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error));
1202}
1203
1204.mdc-line-ripple--active::after {
1205  transform: scaleX(1);
1206  opacity: 1;
1207}
1208
1209.mdc-line-ripple--deactivating::after {
1210  opacity: 0;
1211}
1212
1213.mdc-text-field--disabled {
1214  pointer-events: none;
1215}
1216
1217.mat-mdc-form-field-textarea-control {
1218  vertical-align: middle;
1219  resize: vertical;
1220  box-sizing: border-box;
1221  height: auto;
1222  margin: 0;
1223  padding: 0;
1224  border: none;
1225  overflow: auto;
1226}
1227
1228.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control {
1229  -moz-osx-font-smoothing: grayscale;
1230  -webkit-font-smoothing: antialiased;
1231  font: inherit;
1232  letter-spacing: inherit;
1233  text-decoration: inherit;
1234  text-transform: inherit;
1235  border: none;
1236}
1237
1238.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label {
1239  -moz-osx-font-smoothing: grayscale;
1240  -webkit-font-smoothing: antialiased;
1241  line-height: normal;
1242  pointer-events: all;
1243  will-change: auto;
1244}
1245
1246.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label {
1247  cursor: inherit;
1248}
1249
1250.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,
1251.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control {
1252  height: auto;
1253}
1254
1255.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color] {
1256  height: 23px;
1257}
1258
1259.mat-mdc-text-field-wrapper {
1260  height: auto;
1261  flex: auto;
1262  will-change: auto;
1263}
1264
1265.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {
1266  padding-left: 0;
1267  --mat-mdc-form-field-label-offset-x: -16px;
1268}
1269
1270.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper {
1271  padding-right: 0;
1272}
1273
1274[dir=rtl] .mat-mdc-text-field-wrapper {
1275  padding-left: 16px;
1276  padding-right: 16px;
1277}
1278[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper {
1279  padding-left: 0;
1280}
1281[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {
1282  padding-right: 0;
1283}
1284
1285.mat-form-field-disabled .mdc-text-field__input::placeholder {
1286  color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1287}
1288.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder {
1289  color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1290}
1291.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder {
1292  color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1293}
1294.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder {
1295  color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1296}
1297
1298.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder {
1299  transition-delay: 40ms;
1300  transition-duration: 110ms;
1301  opacity: 1;
1302}
1303
1304.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label {
1305  left: auto;
1306  right: auto;
1307}
1308
1309.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input {
1310  display: inline-block;
1311}
1312
1313.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch {
1314  padding-top: 0;
1315}
1316
1317.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 {
1318  border-left: 1px solid transparent;
1319}
1320
1321[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 {
1322  border-left: none;
1323  border-right: 1px solid transparent;
1324}
1325
1326.mat-mdc-form-field-infix {
1327  min-height: var(--mat-form-field-container-height, 56px);
1328  padding-top: var(--mat-form-field-filled-with-label-container-padding-top, 24px);
1329  padding-bottom: var(--mat-form-field-filled-with-label-container-padding-bottom, 8px);
1330}
1331.mdc-text-field--outlined .mat-mdc-form-field-infix, .mdc-text-field--no-label .mat-mdc-form-field-infix {
1332  padding-top: var(--mat-form-field-container-vertical-padding, 16px);
1333  padding-bottom: var(--mat-form-field-container-vertical-padding, 16px);
1334}
1335
1336.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
1337  top: calc(var(--mat-form-field-container-height, 56px) / 2);
1338}
1339
1340.mdc-text-field--filled .mat-mdc-floating-label {
1341  display: var(--mat-form-field-filled-label-display, block);
1342}
1343
1344.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
1345  --mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1))
1346    scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
1347  transform: var(--mat-mdc-form-field-label-transform);
1348}
1349
1350@keyframes _mat-form-field-subscript-animation {
1351  from {
1352    opacity: 0;
1353    transform: translateY(-5px);
1354  }
1355  to {
1356    opacity: 1;
1357    transform: translateY(0);
1358  }
1359}
1360.mat-mdc-form-field-subscript-wrapper {
1361  box-sizing: border-box;
1362  width: 100%;
1363  position: relative;
1364}
1365
1366.mat-mdc-form-field-hint-wrapper,
1367.mat-mdc-form-field-error-wrapper {
1368  position: absolute;
1369  top: 0;
1370  left: 0;
1371  right: 0;
1372  padding: 0 16px;
1373  opacity: 1;
1374  transform: translateY(0);
1375  animation: _mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2);
1376}
1377
1378.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,
1379.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper {
1380  position: static;
1381}
1382
1383.mat-mdc-form-field-bottom-align::before {
1384  content: "";
1385  display: inline-block;
1386  height: 16px;
1387}
1388
1389.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before {
1390  content: unset;
1391}
1392
1393.mat-mdc-form-field-hint-end {
1394  order: 1;
1395}
1396
1397.mat-mdc-form-field-hint-wrapper {
1398  display: flex;
1399}
1400
1401.mat-mdc-form-field-hint-spacer {
1402  flex: 1 0 1em;
1403}
1404
1405.mat-mdc-form-field-error {
1406  display: block;
1407  color: var(--mat-form-field-error-text-color, var(--mat-sys-error));
1408}
1409
1410.mat-mdc-form-field-subscript-wrapper,
1411.mat-mdc-form-field-bottom-align::before {
1412  -moz-osx-font-smoothing: grayscale;
1413  -webkit-font-smoothing: antialiased;
1414  font-family: var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));
1415  line-height: var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));
1416  font-size: var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));
1417  letter-spacing: var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));
1418  font-weight: var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight));
1419}
1420
1421.mat-mdc-form-field-focus-overlay {
1422  top: 0;
1423  left: 0;
1424  right: 0;
1425  bottom: 0;
1426  position: absolute;
1427  opacity: 0;
1428  pointer-events: none;
1429  background-color: var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface));
1430}
1431.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay {
1432  opacity: var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
1433}
1434.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay {
1435  opacity: var(--mat-form-field-focus-state-layer-opacity, 0);
1436}
1437
1438select.mat-mdc-form-field-input-control {
1439  -moz-appearance: none;
1440  -webkit-appearance: none;
1441  background-color: transparent;
1442  display: inline-flex;
1443  box-sizing: border-box;
1444}
1445select.mat-mdc-form-field-input-control:not(:disabled) {
1446  cursor: pointer;
1447}
1448select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option {
1449  color: var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10));
1450}
1451select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled {
1452  color: var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent));
1453}
1454
1455.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {
1456  content: "";
1457  width: 0;
1458  height: 0;
1459  border-left: 5px solid transparent;
1460  border-right: 5px solid transparent;
1461  border-top: 5px solid;
1462  position: absolute;
1463  right: 0;
1464  top: 50%;
1465  margin-top: -2.5px;
1466  pointer-events: none;
1467  color: var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant));
1468}
1469[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {
1470  right: auto;
1471  left: 0;
1472}
1473.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after {
1474  color: var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary));
1475}
1476.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after {
1477  color: var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1478}
1479.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control {
1480  padding-right: 15px;
1481}
1482[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control {
1483  padding-right: 0;
1484  padding-left: 15px;
1485}
1486
1487@media (forced-colors: active) {
1488  .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper {
1489    outline: solid 1px;
1490  }
1491}
1492@media (forced-colors: active) {
1493  .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper {
1494    outline-color: GrayText;
1495  }
1496}
1497
1498@media (forced-colors: active) {
1499  .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper {
1500    outline: dashed 3px;
1501  }
1502}
1503
1504@media (forced-colors: active) {
1505  .mat-mdc-form-field.mat-focused .mdc-notched-outline {
1506    border: dashed 3px;
1507  }
1508}
1509
1510.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] {
1511  line-height: 1;
1512}
1513.mat-mdc-form-field-input-control::-webkit-datetime-edit {
1514  line-height: 1;
1515  padding: 0;
1516  margin-bottom: -2px;
1517}
1518
1519.mat-mdc-form-field {
1520  --mat-mdc-form-field-floating-label-scale: 0.75;
1521  display: inline-flex;
1522  flex-direction: column;
1523  min-width: 0;
1524  text-align: left;
1525  -moz-osx-font-smoothing: grayscale;
1526  -webkit-font-smoothing: antialiased;
1527  font-family: var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));
1528  line-height: var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));
1529  font-size: var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));
1530  letter-spacing: var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));
1531  font-weight: var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight));
1532}
1533.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above {
1534  font-size: calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale));
1535}
1536.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
1537  font-size: var(--mat-form-field-outlined-label-text-populated-size);
1538}
1539[dir=rtl] .mat-mdc-form-field {
1540  text-align: right;
1541}
1542
1543.mat-mdc-form-field-flex {
1544  display: inline-flex;
1545  align-items: baseline;
1546  box-sizing: border-box;
1547  width: 100%;
1548}
1549
1550.mat-mdc-text-field-wrapper {
1551  width: 100%;
1552  z-index: 0;
1553}
1554
1555.mat-mdc-form-field-icon-prefix,
1556.mat-mdc-form-field-icon-suffix {
1557  align-self: center;
1558  line-height: 0;
1559  pointer-events: auto;
1560  position: relative;
1561  z-index: 1;
1562}
1563.mat-mdc-form-field-icon-prefix > .mat-icon,
1564.mat-mdc-form-field-icon-suffix > .mat-icon {
1565  padding: 0 12px;
1566  box-sizing: content-box;
1567}
1568
1569.mat-mdc-form-field-icon-prefix {
1570  color: var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant));
1571}
1572.mat-form-field-disabled .mat-mdc-form-field-icon-prefix {
1573  color: var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1574}
1575
1576.mat-mdc-form-field-icon-suffix {
1577  color: var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant));
1578}
1579.mat-form-field-disabled .mat-mdc-form-field-icon-suffix {
1580  color: var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1581}
1582.mat-form-field-invalid .mat-mdc-form-field-icon-suffix {
1583  color: var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error));
1584}
1585.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix {
1586  color: var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container));
1587}
1588.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix {
1589  color: var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error));
1590}
1591
1592.mat-mdc-form-field-icon-prefix,
1593[dir=rtl] .mat-mdc-form-field-icon-suffix {
1594  padding: 0 4px 0 0;
1595}
1596
1597.mat-mdc-form-field-icon-suffix,
1598[dir=rtl] .mat-mdc-form-field-icon-prefix {
1599  padding: 0 0 0 4px;
1600}
1601
1602.mat-mdc-form-field-subscript-wrapper .mat-icon,
1603.mat-mdc-form-field label .mat-icon {
1604  width: 1em;
1605  height: 1em;
1606  font-size: inherit;
1607}
1608
1609.mat-mdc-form-field-infix {
1610  flex: auto;
1611  min-width: 0;
1612  width: 180px;
1613  position: relative;
1614  box-sizing: border-box;
1615}
1616.mat-mdc-form-field-infix:has(textarea[cols]) {
1617  width: auto;
1618}
1619
1620.mat-mdc-form-field .mdc-notched-outline__notch {
1621  margin-left: -1px;
1622  -webkit-clip-path: inset(-9em -999em -9em 1px);
1623  clip-path: inset(-9em -999em -9em 1px);
1624}
1625[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch {
1626  margin-left: 0;
1627  margin-right: -1px;
1628  -webkit-clip-path: inset(-9em 1px -9em -999em);
1629  clip-path: inset(-9em 1px -9em -999em);
1630}
1631
1632.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label {
1633  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);
1634}
1635.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input {
1636  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
1637}
1638.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder {
1639  transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);
1640}
1641.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder {
1642  transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);
1643}
1644.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder {
1645  transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);
1646}
1647.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder {
1648  transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);
1649}
1650.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder {
1651  transition-delay: 40ms;
1652  transition-duration: 110ms;
1653}
1654.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder {
1655  transition-delay: 40ms;
1656  transition-duration: 110ms;
1657}
1658.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder {
1659  transition-delay: 40ms;
1660  transition-duration: 110ms;
1661}
1662.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder {
1663  transition-delay: 40ms;
1664  transition-duration: 110ms;
1665}
1666.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before {
1667  transition-duration: 75ms;
1668}
1669.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after {
1670  transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);
1671}
1672.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,
1673.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper {
1674  animation-duration: 300ms;
1675}
1676
1677.mdc-notched-outline .mdc-floating-label {
1678  max-width: calc(100% + 1px);
1679}
1680
1681.mdc-notched-outline--upgraded .mdc-floating-label--float-above {
1682  max-width: calc(133.3333333333% + 1px);
1683}
1684`],encapsulation:2,changeDetection:0})}return t})();var FC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var Gp=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Hi,FC,Qt,De]})}return t})();var jQ=["panel"],HQ=["*"];
vendor: 19,587 bytes, lines 1684-1738
1684function UQ(t,i){if(t&1&&(ft(0,"div",1,0),re(2),_t()),t&2){let e=i.id,n=_();Be(n._classList),ee("mat-mdc-autocomplete-visible",n.showPanel)("mat-mdc-autocomplete-hidden",!n.showPanel)("mat-autocomplete-panel-animations-enabled",!n._animationsDisabled)("mat-primary",n._color==="primary")("mat-accent",n._color==="accent")("mat-warn",n._color==="warn"),In("id",n.id),oe("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(e))}}var vk=class{source;option;constructor(i,e){this.source=i,this.option=e}},$j=new R("mat-autocomplete-default-options",{providedIn:"root",factory:()=>({autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1})}),ya=(()=>{class t{_changeDetectorRef=m(Ee);_elementRef=m(Q);_defaults=m($j);_animationsDisabled=lt();_activeOptionChanges=_e.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple=!1;optionSelected=new V;opened=new V;closed=new V;optionActivated=new V;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=m(pt).getId("mat-autocomplete-");inertGroups;constructor(){let e=m(gt);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new zu(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let n=new vk(this,e);this.optionSelected.emit(n)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let n=e?e+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Qt,5)(o,p_,5),n&2){let a;H(a=U())&&(r.options=a),H(a=U())&&(r.optionGroups=a)}},viewQuery:function(n,r){if(n&1&&ve(Zt,7)(jQ,5),n&2){let o;H(o=U())&&(r.template=o.first),H(o=U())&&(r.panel=o.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",q],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",q],requireSelection:[2,"requireSelection","requireSelection",q],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",q],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[me([{provide:m_,useExisting:t}])],ngContentSelectors:HQ,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(n,r){n&1&&(Ie(),Gc(0,UQ,3,17,"ng-template"))},styles:[`div.mat-mdc-autocomplete-panel {
1685  width: 100%;
1686  max-height: 256px;
1687  visibility: hidden;
1688  transform-origin: center top;
1689  overflow: auto;
1690  padding: 8px 0;
1691  box-sizing: border-box;
1692  position: relative;
1693  border-radius: var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));
1694  box-shadow: var(--mat-autocomplete-container-elevation-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));
1695  background-color: var(--mat-autocomplete-background-color, var(--mat-sys-surface-container));
1696}
1697@media (forced-colors: active) {
1698  div.mat-mdc-autocomplete-panel {
1699    outline: solid 1px;
1700  }
1701}
1702.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel {
1703  border-top-left-radius: 0;
1704  border-top-right-radius: 0;
1705}
1706.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel {
1707  border-bottom-left-radius: 0;
1708  border-bottom-right-radius: 0;
1709  transform-origin: center bottom;
1710}
1711div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible {
1712  visibility: visible;
1713}
1714
1715div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden,
1716.cdk-overlay-pane:has(> .mat-mdc-autocomplete-hidden) {
1717  visibility: hidden;
1718  pointer-events: none;
1719}
1720
1721@keyframes _mat-autocomplete-enter {
1722  from {
1723    opacity: 0;
1724    transform: scaleY(0.8);
1725  }
1726  to {
1727    opacity: 1;
1728    transform: none;
1729  }
1730}
1731.mat-autocomplete-panel-animations-enabled {
1732  animation: _mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1);
1733}
1734
1735mat-autocomplete {
1736  display: none;
1737}
1738`],encapsulation:2,changeDetection:0})}return t})();var zQ={provide:er,useExisting:bn(()=>hr),multi:!0};var GQ=new R("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ia(t)}}),hr=(()=>{class t{_environmentInjector=m(_n);_element=m(Q);_injector=m(ie);_viewContainerRef=m(Pt);_zone=m(le);_changeDetectorRef=m(Ee);_dir=m(an,{optional:!0});_formField=m(Jl,{optional:!0,host:!0});_viewportRuler=m(ji);_scrollStrategy=m(GQ);_renderer=m(ot);_animationsDisabled=lt();_defaults=m($j,{optional:!0});_overlayRef=null;_portal;_componentDestroyed=!1;_initialized=new O;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue=null;_valueOnAttach=null;_valueOnLastKeydown=null;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=_e.EMPTY;_breakpointObserver=m(Zl);_handsetLandscapeSubscription=_e.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption=null;_closeKeyEventStream=new O;_overlayPanelClass=Xl(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled=!1;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&ad(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return ut(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(ae(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(ae(()=>this._overlayAttached)):P()).pipe($(e=>e instanceof u_?e:null))}optionSelections=Wn(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Re(e),W(()=>ut(...e.map(n=>n.onSelectionChange)))):this._initialized.pipe(W(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new Ne(e=>{let n=o=>{let a=ui(o),s=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,d=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&a!==this._element.nativeElement&&!this._hasFocus()&&(!s||!s.contains(a))&&(!d||!d.contains(a))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(a)&&e.next(o)},r=[this._renderer.listen("document","click",n),this._renderer.listen("document","auxclick",n),this._renderer.listen("document","touchend",n)];return()=>{r.forEach(o=>o())}})}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let n=e,r=n.keyCode,o=Ht(n);if(r===27&&!o&&n.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&r===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),n.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,s=r===38||r===40;r===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(n):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let n=e.target,r=n.value;if(n.type==="number"&&(r=r==""?null:parseFloat(r)),this._previousValue!==r){if(this._previousValue=r,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(r),!r)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let o=this.autocomplete.options?.find(a=>a.selected);if(o){let a=this._getDisplayValue(o.value);r!==a&&o.deselect(!1)}}if(this._canOpen()&&this._hasFocus()){let o=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(o)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return Io()===this._element.nativeElement}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new Ne(r=>{Dt(()=>{r.next()},{injector:this._environmentInjector})}),n=this.autocomplete.options?.changes.pipe(B(()=>this._positionStrategy.reapplyLastPosition()),ox(0))??P();return ut(e,n).pipe(W(()=>this._zone.run(()=>{let r=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),We(1)).subscribe(r=>this._setValueAndClose(r))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let n=this.autocomplete;return n&&n.displayWith?n.displayWith(e):e}_assignOptionValue(e){let n=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(n??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let n=this.autocomplete,r=e?e.source:this._pendingAutoselectedOption;r?(this._clearPreviousSelectedOption(r),this._assignOptionValue(r.value),this._onChange(r.value),n._emitSelectEvent(r),this._element.nativeElement.focus()):n.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,n){this.autocomplete?.options?.forEach(r=>{r!==e&&r.selected&&r.deselect(n)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let n=this.autocomplete.id;Fp(this._trackedModal,"aria-owns",n)}}_attachOverlay(e){if(!this.autocomplete)return;let n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new Sr(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),n=go(this._injector,this._getOverlayConfig()),this._overlayRef=n,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&n&&n.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(as.HandsetLandscape).subscribe(o=>{o.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),n&&!n.hasAttached()&&(n.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let r=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&r!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!Ht(e)||e.keyCode===38&&Ht(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=void 0}_getOverlayConfig(){return new fo({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){let e=ss(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPopoverLocation("inline");return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}],a;this.position==="above"?a=o:this.position==="below"?a=n:a=[...n,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let n=-1;for(let r=0;r<e.options.length;r++)if(!e.options.get(r).disabled){n=r;break}e._keyManager.setActiveItem(n)}else e._keyManager.setActiveItem(-1)}_canOpen(){let e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this.autocompleteDisabled}_scrollToOption(e){let n=this.autocomplete,r=RC(e,n.options,n.optionGroups);if(e===0&&r===1)n._setScrollTop(0);else if(n.panel){let o=n.options.toArray()[e];if(o){let a=o._getHostElement(),s=MC(a.offsetTop,a.offsetHeight,n._getScrollTop(),n.panel.nativeElement.offsetHeight);n._setScrollTop(s)}}}_trackedModal=null;_applyModalPanelOwnership(){let e=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let n=this.autocomplete.id;this._trackedModal&&ad(this._trackedModal,"aria-owns",n),Fp(e,"aria-owns",n),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;ad(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(n,r){n&1&&T("focusin",function(){return r._handleFocus()})("blur",function(){return r._onTouched()})("input",function(a){return r._handleInput(a)})("keydown",function(a){return r._handleKeydown(a)})("click",function(){return r._handleClick()}),n&2&&oe("autocomplete",r.autocompleteAttribute)("role",r.autocompleteDisabled?null:"combobox")("aria-autocomplete",r.autocompleteDisabled?null:"list")("aria-activedescendant",r.panelOpen&&r.activeOption?r.activeOption.id:null)("aria-expanded",r.autocompleteDisabled?null:r.panelOpen.toString())("aria-controls",r.autocompleteDisabled||!r.panelOpen||r.autocomplete==null?null:r.autocomplete.id)("aria-haspopup",r.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",q]},exportAs:["matAutocompleteTrigger"],features:[me([zQ]),Ke]})}return t}
vendor: 10,065 bytes, lines 1738-1745
1738)(),h_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Ui,Gp,ur,Gp,De]})}return t})();var yk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Ql,De]})}return t})();function WQ(t,i){}var ud=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var g_=(()=>{class t extends cd{_elementRef=m(Q);_focusTrapFactory=m(Np);_config;_interactivityChecker=m(Uu);_ngZone=m(le);_focusMonitor=m(oi);_renderer=m(ot);_changeDetectorRef=m(Ee);_injector=m(ie);_platform=m(gt);_document=m(Ce);_portalOutlet;_focusTrapped=new O;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=m(ud,{optional:!0})||new ud,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let n=this._ariaLabelledByQueue.indexOf(e);n>-1&&(this._ariaLabelledByQueue.splice(n,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),n}attachTemplatePortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),n}attachDomPortal=e=>{this._portalOutlet.hasAttached();let n=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),n};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),a(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),a=this._renderer.listen(e,"mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_trapFocus(e){this._isDestroyed||Dt(()=>{let n=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||n.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,n=null;if(typeof e=="string"?n=this._document.querySelector(e):typeof e=="boolean"?n=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(n=e),this._config.restoreFocus&&n&&typeof n.focus=="function"){let r=Io(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,n=Io();return e===n||e.contains(n)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Io()))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(n,r){if(n&1&&ve(ho,7),n&2){let o;H(o=U())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,r){n&2&&oe("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[he],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,r){n&1&&fe(0,WQ,0,0,"ng-template",0)},dependencies:[ho],styles:[`.cdk-dialog-container {
1739  display: block;
1740  width: 100%;
1741  height: 100%;
1742  min-height: inherit;
1743  max-height: inherit;
1744}
1745`],encapsulation:2})}return t})(),f_=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new O;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(i,e){this.overlayRef=i,this.config=e,this.disableClose=e.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(n=>{n.keyCode===27&&!this.disableClose&&!Ht(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=i.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(i,e){if(this._canClose(i)){let n=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(i),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",e=""){return this.overlayRef.updateSize({width:i,height:e}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}_canClose(i){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(i,e,this.componentInstance))}},$Q=new R("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>$s(t)}}),qQ=new R("DialogData"),YQ=new R("DefaultDialogConfig");function KQ(t){let i=Z(t),e=new V;return{valueSignal:i,get value(){return i()},change:e,ngOnDestroy(){e.complete()}}}var __=(()=>{class t{_injector=m(ie);_defaultOptions=m(YQ,{optional:!0});_parentDialog=m(t,{optional:!0,skipSelf:!0});_overlayContainer=m(EC);_idGenerator=m(pt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new O;_afterOpenedAtThisLevel=new O;_ariaHiddenElements=new Map;_scrollStrategy=m($Q);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Wn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Re(void 0)));constructor(){}open(e,n){let r=this._defaultOptions||new ud;n=L(L({},r),n),n.id=n.id||this._idGenerator.getId("cdk-dialog-"),n.id&&this.getDialogById(n.id);let o=this._getOverlayConfig(n),a=go(this._injector,o),s=new f_(a,n),d=this._attachContainer(a,s,n);if(s.containerInstance=d,!this.openDialogs.length){let p=this._overlayContainer.getContainerElement();d._focusTrapped?d._focusTrapped.pipe(We(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(p)}):this._hideNonDialogContentFromAssistiveTechnology(p)}return this._attachDialogContent(e,s,d,n),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){Ck(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){Ck(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Ck(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let n=new fo({positionStrategy:e.positionStrategy||va().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(n.backdropClass=e.backdropClass),n}_attachContainer(e,n,r){let o=r.injector||r.viewContainerRef?.injector,a=[{provide:ud,useValue:r},{provide:f_,useValue:n},{provide:jp,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=g_;let d=new ko(s,r.viewContainerRef,ie.create({parent:o||this._injector,providers:a}));return e.attach(d).instance}_attachDialogContent(e,n,r,o){if(e instanceof Zt){let a=this._createInjector(o,n,r,void 0),s={$implicit:o.data,dialogRef:n};o.templateContext&&(s=L(L({},s),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Sr(e,null,s,a))}else{let a=this._createInjector(o,n,r,this._injector),s=r.attachComponentPortal(new ko(e,o.viewContainerRef,a));n.componentRef=s,n.componentInstance=s.instance}}_createInjector(e,n,r,o){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:qQ,useValue:e.data},{provide:f_,useValue:n}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(n,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(an,null,{optional:!0}))&&s.push({provide:an,useValue:KQ(e.direction)}),ie.create({parent:a||o,providers:s})}_removeOpenDialog(e,n){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1745h((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let n=e.parentElement.children;for(let r=n.length-1;r>-1;r--){let o=n[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&!o.hasAttribute("popover")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ck(t,i){let e=t.length;for(;e--;)i(t[e])}var PC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[__],imports:[Ui,pr,Ql,pr]})}return t})();function XQ(t,i){}var qj="_mat-bottom-sheet-enter",Yj="_mat-bottom-sheet-exit",ZQ=(()=>{class t extends g_{_breakpointSubscription;_animationsDisabled=lt();_animationState="void";_animationStateChanged=new V;_destroyed=!1;constructor(){super();let e=m(Zl);this._breakpointSubscription=e.observe([as.Medium,as.Large,as.XLarge]).subscribe(()=>{let n=this._elementRef.nativeElement.classList;n.toggle("mat-bottom-sheet-container-medium",e.isMatched(as.Medium)),n.toggle("mat-bottom-sheet-container-large",e.isMatched(as.Large)),n.toggle("mat-bottom-sheet-container-xlarge",e.isMatched(as.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._animationsDisabled&&this._simulateAnimation(qj))}exit(){this._destroyed||(this._elementRef.nativeElement.setAttribute("mat-exit",""),this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._animationsDisabled&&this._simulateAnimation(Yj))}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_simulateAnimation(e){this._ngZone.run(()=>{this._handleAnimationEvent(!0,e),setTimeout(()=>this._handleAnimationEvent(!1,e))})}_trapFocus(){super._trapFocus({preventScroll:!0})}_handleAnimationEvent(e,n){let r=n===qj;(r||n===Yj)&&this._animationStateChanged.emit({toState:r?"visible":"hidden",phase:e?"start":"done"})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:9,hostBindings:function(n,r){n&1&&T("animationstart",function(a){return r._handleAnimationEvent(!0,a.animationName)})("animationend",function(a){return r._handleAnimationEvent(!1,a.animationName)})("animationcancel",function(a){return r._handleAnimationEvent(!1,a.animationName)}),n&2&&(oe("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-label",r._config.ariaLabel),ee("mat-bottom-sheet-container-animations-enabled",!r._animationsDisabled)("mat-bottom-sheet-container-enter",r._animationState==="visible")("mat-bottom-sheet-container-exit",r._animationState==="hidden"))},features:[he],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,r){n&1&&fe(0,XQ,0,0,"ng-template",0)},dependencies:[ho],styles:[`@keyframes _mat-bottom-sheet-enter {
1746  from {
1747    transform: translateY(100%);
1748  }
1749  to {
1750    transform: none;
1751  }
1752}
1753@keyframes _mat-bottom-sheet-exit {
1754  from {
1755    transform: none;
1756  }
1757  to {
1758    transform: translateY(100%);
1759  }
1760}
1761.mat-bottom-sheet-container {
1762  box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);
1763  padding: 8px 16px;
1764  min-width: 100vw;
1765  box-sizing: border-box;
1766  display: block;
1767  outline: 0;
1768  max-height: 80vh;
1769  overflow: auto;
1770  position: relative;
1771  background: var(--mat-bottom-sheet-container-background-color, var(--mat-sys-surface-container-low));
1772  color: var(--mat-bottom-sheet-container-text-color, var(--mat-sys-on-surface));
1773  font-family: var(--mat-bottom-sheet-container-text-font, var(--mat-sys-body-large-font));
1774  font-size: var(--mat-bottom-sheet-container-text-size, var(--mat-sys-body-large-size));
1775  line-height: var(--mat-bottom-sheet-container-text-line-height, var(--mat-sys-body-large-line-height));
1776  font-weight: var(--mat-bottom-sheet-container-text-weight, var(--mat-sys-body-large-weight));
1777  letter-spacing: var(--mat-bottom-sheet-container-text-tracking, var(--mat-sys-body-large-tracking));
1778}
1779@media (forced-colors: active) {
1780  .mat-bottom-sheet-container {
1781    outline: 1px solid;
1782  }
1783}
1784
1785.mat-bottom-sheet-container-animations-enabled {
1786  transform: translateY(100%);
1787}
1788.mat-bottom-sheet-container-animations-enabled.mat-bottom-sheet-container-enter {
1789  animation: _mat-bottom-sheet-enter 195ms cubic-bezier(0, 0, 0.2, 1) forwards;
1790}
1791.mat-bottom-sheet-container-animations-enabled.mat-bottom-sheet-container-exit {
1792  animation: _mat-bottom-sheet-exit 375ms cubic-bezier(0.4, 0, 1, 1) backwards;
1793}
1794
1795.mat-bottom-sheet-container-xlarge, .mat-bottom-sheet-container-large, .mat-bottom-sheet-container-medium {
1796  border-top-left-radius: var(--mat-bottom-sheet-container-shape, 28px);
1797  border-top-right-radius: var(--mat-bottom-sheet-container-shape, 28px);
1798}
1799
1800.mat-bottom-sheet-container-medium {
1801  min-width: 384px;
1802  max-width: calc(100vw - 128px);
1803}
1804
1805.mat-bottom-sheet-container-large {
1806  min-width: 512px;
1807  max-width: calc(100vw - 256px);
1808}
1809
1810.mat-bottom-sheet-container-xlarge {
1811  min-width: 576px;
1812  max-width: calc(100vw - 384px);
1813}
1814`],encapsulation:2})}return t})(),QQ=new R("MatBottomSheetData"),Dk=class{viewContainerRef;injector;panelClass;direction;data=null;hasBackdrop=!0;backdropClass;disableClose=!1;ariaLabel=null;ariaModal=!1;closeOnNavigation=!0;
vendor: 3,218 bytes, line 1814
1814autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;height="";minHeight;maxHeight},LC=class{_ref;get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}containerInstance;disableClose;_afterOpened=new O;_result;_closeFallbackTimeout;constructor(i,e,n){this._ref=i,this.containerInstance=n,this.disableClose=e.disableClose,n._animationStateChanged.pipe(ae(r=>r.phase==="done"&&r.toState==="visible"),We(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(ae(r=>r.phase==="done"&&r.toState==="hidden"),We(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),i.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),ut(this.backdropClick(),this.keydownEvents().pipe(ae(r=>r.keyCode===27))).subscribe(r=>{!this.disableClose&&(r.type!=="keydown"||!Ht(r))&&(r.preventDefault(),this.dismiss())})}dismiss(i){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(ae(e=>e.phase==="start"),We(1)).subscribe(()=>{this._closeFallbackTimeout=setTimeout(()=>this._ref.close(this._result),500),this._ref.overlayRef.detachBackdrop()}),this._result=i,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},JQ=new R("mat-bottom-sheet-default-options"),eJ=(()=>{class t{_injector=m(ie);_parentBottomSheet=m(t,{optional:!0,skipSelf:!0});_animationsDisabled=lt();_defaultOptions=m(JQ,{optional:!0});_bottomSheetRefAtThisLevel=null;_dialog=m(__);get _openedBottomSheetRef(){let e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}constructor(){}open(e,n){let r=L(L({},this._defaultOptions||new Dk),n),o;return this._dialog.open(e,Ae(L({},r),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:ZQ,scrollStrategy:r.scrollStrategy||$s(this._injector),positionStrategy:va(this._injector).centerHorizontally().bottom("0"),disableAnimations:this._animationsDisabled,templateContext:()=>({bottomSheetRef:o}),providers:(a,s,d)=>(o=new LC(a,r,d),[{provide:LC,useValue:o},{provide:QQ,useValue:r.data}])})),o.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===o&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>o.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):o.containerInstance.enter(),this._openedBottomSheetRef=o,o}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ek=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[eJ],imports:[PC,pr,De]})}return t})();var tJ={capture:!0}
1814,nJ=["focus","mousedown","mouseenter","touchstart"],wk="mat-ripple-loader-uninitialized",xk="mat-ripple-loader-class-name",Kj="mat-ripple-loader-centered",BC="mat-ripple-loader-disabled",Xj=(()=>{class t{_document=m(Ce);_animationsDisabled=lt();_globalRippleOptions=m(ld,{optional:!0});_platform=m(gt);_ngZone=m(le);_injector=m(ie);_eventCleanups;_hosts=new Map;constructor(){let e=m(fi).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>nJ.map(n=>e.listen(this._document,n,this._onInteraction,tJ)))}ngOnDestroy(){let e=this._hosts.keys();for(let n of e)this.destroyRipple(n);this._eventCleanups.forEach(n=>n())}configureRipple(e,n){e.setAttribute(wk,this._globalRippleOptions?.namespace??""),(n.className||!e.hasAttribute(xk))&&e.setAttribute(xk,n.className||""),n.centered&&e.setAttribute(Kj,""),n.disabled&&e.setAttribute(BC,"")}setDisabled(e,n){let r=this._hosts.get(e);r?(r.target.rippleDisabled=n,!n&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):n?e.setAttribute(BC,""):e.removeAttribute(BC)}_onInteraction=e=>{let n=ui(e);if(n instanceof HTMLElement){let r=n.closest(`[${wk}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let n=this._document.createElement("span");n.classList.add("mat-ripple",e.getAttribute(xk)),e.append(n);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??Bp.enterDuration,a=this._animationsDisabled?0:r?.animation?.exitDuration??Bp.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(BC),rippleConfig:{centered:e.hasAttribute(Kj),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:a}}},d=new sd(s,this._ngZone,n,this._platform,this._injector),p=!s.rippleDisabled;p&&d.setupTriggerEvents(e),this._hosts.set(e,{target:s,renderer:d,hasSetUpEvents:p}),e.removeAttribute(wk)}destroyRipple(e){let n=this._hosts.get(e);n&&(n.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var iJ=["mat-icon-button",""],rJ=["*"],oJ=new R("MAT_BUTTON_CONFIG");function Zj(t){return t==null?void 0:rn(t)}var Sk=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_animationsDisabled=lt();_config=m(oJ,{optional:!0});_focusMonitor=m(oi);_cleanupClick;_renderer=m(ot);_rippleLoader=m(Xj);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){m(Lt).load(mi);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",n){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,n):this._elementRef.nativeElement.focus(n)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(n,r){n&2&&(oe("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),Be(r.color?"mat-"+r.color:""),ee("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",q],disabled:[2,"disabled","disabled",q],ariaDisabled:[2,"aria-disabled","ariaDisabled",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q],tabIndex:[2,"tabIndex","tabIndex",Zj],_tabindex:[2,"tabindex","_tabindex",Zj]}})}return t})(),fr=(()=>{class t extends Sk{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[he],attrs:iJ,ngContentSelectors:rJ,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){n&1&&(Ie(),gi(0,"span",0),re(1),gi(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button {
1815  -webkit-user-select: none;
1816  user-select: none;
1817  display: inline-block;
1818  position: relative;
1819  box-sizing: border-box;
1820  border: none;
1821  outline: none;
1822  background-color: transparent;
1823  fill: currentColor;
1824  text-decoration: none;
1825  cursor: pointer;
1826  z-index: 0;
1827  overflow: visible;
1828  border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));
1829  flex-shrink: 0;
1830  text-align: center;
1831  width: var(--mat-icon-button-state-layer-size, 40px);
1832  height: var(--mat-icon-button-state-layer-size, 40px);
1833  padding: calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);
1834  font-size: var(--mat-icon-button-icon-size, 24px);
1835  color: var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));
1836  -webkit-tap-highlight-color: transparent;
1837}
1838.mat-mdc-icon-button .mat-mdc-button-ripple,
1839.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,
1840.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
1841  top: 0;
1842  left: 0;
1843  right: 0;
1844  bottom: 0;
1845  position: absolute;
1846  pointer-events: none;
1847  border-radius: inherit;
1848}
1849.mat-mdc-icon-button .mat-mdc-button-ripple {
1850  overflow: hidden;
1851}
1852.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
1853  content: "";
1854  opacity: 0;
1855}
1856.mat-mdc-icon-button .mdc-button__label,
1857.mat-mdc-icon-button .mat-icon {
1858  z-index: 1;
1859  position: relative;
1860}
1861.mat-mdc-icon-button .mat-focus-indicator {
1862  top: 0;
1863  left: 0;
1864  right: 0;
1865  bottom: 0;
1866  position: absolute;
1867  border-radius: inherit;
1868}
1869.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before {
1870  content: "";
1871  border-radius: inherit;
1872}
1873.mat-mdc-icon-button .mat-ripple-element {
1874  background-color: var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
1875}
1876.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
1877  background-color: var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant));
1878}
1879.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
1880  background-color: var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
1881}
1882.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before {
1883  opacity: var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
1884}
1885.mat-mdc-icon-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
1886  opacity: var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
1887}
1888.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before {
1889  opacity: var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
1890}
1891.mat-mdc-icon-button .mat-mdc-button-touch-target {
1892  position: absolute;
1893  top: 50%;
1894  height: var(--mat-icon-button-touch-target-size, 48px);
1895  display: var(--mat-icon-button-touch-target-display, block);
1896  left: 50%;
1897  width: var(--mat-icon-button-touch-target-size, 48px);
1898  transform: translate(-50%, -50%);
1899}
1900.mat-mdc-icon-button._mat-animation-noopable {
1901  transition: none !important;
1902  animation: none !important;
1903}
1904.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled {
1905  cursor: default;
1906  pointer-events: none;
1907  color: var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1908}
1909.mat-mdc-icon-button.mat-mdc-button-disabled-interactive {
1910  pointer-events: auto;
1911}
1912.mat-mdc-icon-button img,
1913.mat-mdc-icon-button svg {
1914  width: var(--mat-icon-button-icon-size, 24px);
1915  height: var(--mat-icon-button-icon-size, 24px);
1916  vertical-align: baseline;
1917}
1918.mat-mdc-icon-button .mat-mdc-button-persistent-ripple {
1919  border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));
1920}
1921.mat-mdc-icon-button[hidden] {
1922  display: none;
1923}
1924.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before {
1925  background: transparent;
1926  opacity: 1;
1927}
1928`,`@media (forced-colors: active) {
1929  .mat-mdc-button:not(.mdc-button--outlined),
1930  .mat-mdc-unelevated-button:not(.mdc-button--outlined),
1931  .mat-mdc-raised-button:not(.mdc-button--outlined),
1932  .mat-mdc-outlined-button:not(.mdc-button--outlined),
1933  .mat-mdc-button-base.mat-tonal-button,
1934  .mat-mdc-icon-button.mat-mdc-icon-button,
1935  .mat-mdc-outlined-button .mdc-button__ripple {
1936    outline: solid 1px;
1937  }
1938}
1939`],encapsulation:2,changeDetection:0})}return t})();var aJ=["matButton",""],sJ=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],lJ=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var Qj=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),qn=(()=>{class t extends Sk{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=cJ(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let n=this._elementRef.nativeElement.classList,r=this._appearance?Qj.get(this._appearance):null,o=Qj.get(e);r&&n.remove(...r),n.add(...o),this._appearance=e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]}
1939,exportAs:["matButton","matAnchor"],features:[he],attrs:aJ,ngContentSelectors:lJ,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){n&1&&(Ie(sJ),gi(0,"span",0),re(1),ft(2,"span",1),re(3,1),_t(),re(4,2),gi(5,"span",2)(6,"span",3)),n&2&&ee("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base {
1940  text-decoration: none;
1941}
1942.mat-mdc-button-base .mat-icon {
1943  min-height: fit-content;
1944  flex-shrink: 0;
1945}
1946@media (hover: none) {
1947  .mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before {
1948    opacity: 0;
1949  }
1950}
1951
1952.mdc-button {
1953  -webkit-user-select: none;
1954  user-select: none;
1955  position: relative;
1956  display: inline-flex;
1957  align-items: center;
1958  justify-content: center;
1959  box-sizing: border-box;
1960  min-width: 64px;
1961  border: none;
1962  outline: none;
1963  line-height: inherit;
1964  -webkit-appearance: none;
1965  overflow: visible;
1966  vertical-align: middle;
1967  background: transparent;
1968  padding: 0 8px;
1969}
1970.mdc-button::-moz-focus-inner {
1971  padding: 0;
1972  border: 0;
1973}
1974.mdc-button:active {
1975  outline: none;
1976}
1977.mdc-button:hover {
1978  cursor: pointer;
1979}
1980.mdc-button:disabled {
1981  cursor: default;
1982  pointer-events: none;
1983}
1984.mdc-button[hidden] {
1985  display: none;
1986}
1987.mdc-button .mdc-button__label {
1988  position: relative;
1989}
1990
1991.mat-mdc-button {
1992  padding: 0 var(--mat-button-text-horizontal-padding, 12px);
1993  height: var(--mat-button-text-container-height, 40px);
1994  font-family: var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));
1995  font-size: var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));
1996  letter-spacing: var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));
1997  text-transform: var(--mat-button-text-label-text-transform);
1998  font-weight: var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight));
1999}
2000.mat-mdc-button, .mat-mdc-button .mdc-button__ripple {
2001  border-radius: var(--mat-button-text-container-shape, var(--mat-sys-corner-full));
2002}
2003.mat-mdc-button:not(:disabled) {
2004  color: var(--mat-button-text-label-text-color, var(--mat-sys-primary));
2005}
2006.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled {
2007  cursor: default;
2008  pointer-events: none;
2009  color: var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
2010}
2011.mat-mdc-button.mat-mdc-button-disabled-interactive {
2012  pointer-events: auto;
2013}
2014.mat-mdc-button:has(.material-icons, mat-icon, [matButtonIcon]) {
2015  padding: 0 var(--mat-button-text-with-icon-horizontal-padding, 16px);
2016}
2017.mat-mdc-button > .mat-icon {
2018  margin-right: var(--mat-button-text-icon-spacing, 8px);
2019  margin-left: var(--mat-button-text-icon-offset, -4px);
2020}
2021[dir=rtl] .mat-mdc-button > .mat-icon {
2022  margin-right: var(--mat-button-text-icon-offset, -4px);
2023  margin-left: var(--mat-button-text-icon-spacing, 8px);
2024}
2025.mat-mdc-button .mdc-button__label + .mat-icon {
2026  margin-right: var(--mat-button-text-icon-offset, -4px);
2027  margin-left: var(--mat-button-text-icon-spacing, 8px);
2028}
2029[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon {
2030  margin-right: var(--mat-button-text-icon-spacing, 8px);
2031  margin-left: var(--mat-button-text-icon-offset, -4px);
2032}
2033.mat-mdc-button .mat-ripple-element {
2034  background-color: var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
2035}
2036.mat-mdc-button .mat-mdc-button-persistent-ripple::before {
2037  background-color: var(--mat-button-text-state-layer-color, var(--mat-sys-primary));
2038}
2039.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
2040  background-color: var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
2041}
2042.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before {
2043  opacity: var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
2044}
2045.mat-mdc-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
2046  opacity: var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
2047}
2048.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before {
2049  opacity: var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
2050}
2051.mat-mdc-button .mat-mdc-button-touch-target {
2052  position: absolute;
2053  top: 50%;
2054  height: var(--mat-button-text-touch-target-size, 48px);
2055  display: var(--mat-button-text-touch-target-display, block);
2056  left: 0;
2057  right: 0;
2058  transform: translateY(-50%);
2059}
2060
2061.mat-mdc-unelevated-button {
2062  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
2063  height: var(--mat-button-filled-container-height, 40px);
2064  font-family: var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));
2065  font-size: var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));
2066  letter-spacing: var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));
2067  text-transform: var(--mat-button-filled-label-text-transform);
2068  font-weight: var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));
2069  padding: 0 var(--mat-button-filled-horizontal-padding, 24px);
2070}
2071.mat-mdc-unelevated-button > .mat-icon {
2072  margin-right: var(--mat-button-filled-icon-spacing, 8px);
2073  margin-left: var(--mat-button-filled-icon-offset, -8px);
2074}
2075[dir=rtl] .mat-mdc-unelevated-button > .mat-icon {
2076  margin-right: var(--mat-button-filled-icon-offset, -8px);
2077  margin-left: var(--mat-button-filled-icon-spacing, 8px);
2078}
2079.mat-mdc-unelevated-button .mdc-button__label + .mat-icon {
2080  margin-right: var(--mat-button-filled-icon-offset, -8px);
2081  margin-left: var(--mat-button-filled-icon-spacing, 8px);
2082}
2083[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon {
2084  margin-right: var(--mat-button-filled-icon-spacing, 8px);
2085  margin-left: var(--mat-button-filled-icon-offset, -8px);
2086}
2087.mat-mdc-unelevated-button .mat-ripple-element {
2088  background-color: var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
2089}
2090.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before {
2091  background-color: var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary));
2092}
2093.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
2094  background-color: var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
2095}
2096.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before {
2097  opacity: var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
2098}
2099.mat-mdc-unelevated-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
2100  opacity: var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
2101}
2102.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before {
2103  opacity: var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
2104}
2105.mat-mdc-unelevated-button .mat-mdc-button-touch-target {
2106  position: absolute;
2107  top: 50%;
2108  height: var(--mat-button-filled-touch-target-size, 48px);
2109  display: var(--mat-button-filled-touch-target-display, block);
2110  left: 0;
2111  right: 0;
2112  transform: translateY(-50%);
2113}
2114.mat-mdc-unelevated-button:not(:disabled) {
2115  color: var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));
2116  background-color: var(--mat-button-filled-container-color, var(--mat-sys-primary));
2117}
2118.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple {
2119  border-radius: var(--mat-button-filled-container-shape, var(--mat-sys-corner-full));
2120}
2121.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled {
2122  cursor: default;
2123  pointer-events: none;
2124  color: var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
2125  background-color: var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
2126}
2127.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive {
2128  pointer-events: auto;
2129}
2130
2131.mat-mdc-raised-button {
2132  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
2133  box-shadow: var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));
2134  height: var(--mat-button-protected-container-height, 40px);
2135  font-family: var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));
2136  font-size: var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));
2137  letter-spacing: var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));
2138  text-transform: var(--mat-button-protected-label-text-transform);
2139  font-weight: var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));
2140  padding: 0 var(--mat-button-protected-horizontal-padding, 24px);
2141}
2142.mat-mdc-raised-button > .mat-icon {
2143  margin-right: var(--mat-button-protected-icon-spacing, 8px);
2144  margin-left: var(--mat-button-protected-icon-offset, -8px);
2145}
2146[dir=rtl] .mat-mdc-raised-button > .mat-icon {
2147  margin-right: var(--mat-button-protected-icon-offset, -8px);
2148  margin-left: var(--mat-button-protected-icon-spacing, 8px);
2149}
2150.mat-mdc-raised-button .mdc-button__label + .mat-icon {
2151  margin-right: var(--mat-button-protected-icon-offset, -8px);
2152  margin-left: var(--mat-button-protected-icon-spacing, 8px);
2153}
2154[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon {
2155  margin-right: var(--mat-button-protected-icon-spacing, 8px);
2156  margin-left: var(--mat-button-protected-icon-offset, -8px);
2157}
2158.mat-mdc-raised-button .mat-ripple-element {
2159  background-color: var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
2160}
2161.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before {
2162  background-color: var(--mat-button-protected-state-layer-color, var(--mat-sys-primary));
2163}
2164.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
2165  background-color: var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
2166}
2167.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before {
2168  opacity: var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
2169}
2170.mat-mdc-raised-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
2171  opacity: var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
2172}
2173.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before {
2174  opacity: var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
2175}
2176.mat-mdc-raised-button .mat-mdc-button-touch-target {
2177  position: absolute;
2178  top: 50%;
2179  height: var(--mat-button-protected-touch-target-size, 48px);
2180  display: var(--mat-button-protected-touch-target-display, block);
2181  left: 0;
2182  right: 0;
2183  transform: translateY(-50%);
2184}
2185.mat-mdc-raised-button:not(:disabled) {
2186  color: var(--mat-button-protected-label-text-color, var(--mat-sys-primary));
2187  background-color: var(--mat-button-protected-container-color, var(--mat-sys-surface));
2188}
2189.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple {
2190  border-radius: var(--mat-button-protected-container-shape, var(--mat-sys-corner-full));
2191}
2192@media (hover: hover) {
2193  .mat-mdc-raised-button:hover {
2194    box-shadow: var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2));
2195  }
2196}
2197.mat-mdc-raised-button:focus {
2198  box-shadow: var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1));
2199}
2200.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active {
2201  box-shadow: var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1));
2202}
2203.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled {
2204  cursor: default;
2205  pointer-events: none;
2206  color: var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
2207  background-color: var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
2208}
2209.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled {
2210  box-shadow: var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0));
2211}
2212.mat-mdc-raised-button.mat-mdc-button-disabled-interactive {
2213  pointer-events: auto;
2214}
2215
2216.mat-mdc-outlined-button {
2217  border-style: solid;
2218  transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1);
2219  height: var(--mat-button-outlined-container-height, 40px);
2220  font-family: var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));
2221  font-size: var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));
2222  letter-spacing: var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));
2223  text-transform: var(--mat-button-outlined-label-text-transform);
2224  font-weight: var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));
2225  border-radius: var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));
2226  border-width: var(--mat-button-outlined-outline-width, 1px);
2227  padding: 0 var(--mat-button-outlined-horizontal-padding, 24px);
2228}
2229.mat-mdc-outlined-button > .mat-icon {
2230  margin-right: var(--mat-button-outlined-icon-spacing, 8px);
2231  margin-left: var(--mat-button-outlined-icon-offset, -8px);
2232}
2233[dir=rtl] .mat-mdc-outlined-button > .mat-icon {
2234  margin-right: var(--mat-button-outlined-icon-offset, -8px);
2235  margin-left: var(--mat-button-outlined-icon-spacing, 8px);
2236}
2237.mat-mdc-outlined-button .mdc-button__label + .mat-icon {
2238  margin-right: var(--mat-button-outlined-icon-offset, -8px);
2239  margin-left: var(--mat-button-outlined-icon-spacing, 8px);
2240}
2241[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon {
2242  margin-right: var(--mat-button-outlined-icon-spacing, 8px);
2243  margin-left: var(--mat-button-outlined-icon-offset, -8px);
2244}
2245.mat-mdc-outlined-button .mat-ripple-element {
2246  background-color: var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
2247}
2248.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before {
2249  background-color: var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary));
2250}
2251.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
2252  background-color: var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
2253}
2254.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before {
2255  opacity: var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
2256}
2257.mat-mdc-outlined-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
2258  opacity: var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
2259}
2260.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before {
2261  opacity: var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
2262}
2263.mat-mdc-outlined-button .mat-mdc-button-touch-target {
2264  position: absolute;
2265  top: 50%;
2266  he
2266ight: var(--mat-button-outlined-touch-target-size, 48px);
2267  display: var(--mat-button-outlined-touch-target-display, block);
2268  left: 0;
2269  right: 0;
2270  transform: translateY(-50%);
2271}
2272.mat-mdc-outlined-button:not(:disabled) {
2273  color: var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));
2274  border-color: var(--mat-button-outlined-outline-color, var(--mat-sys-outline));
2275}
2276.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled {
2277  cursor: default;
2278  pointer-events: none;
2279  color: var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
2280  border-color: var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
2281}
2282.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive {
2283  pointer-events: auto;
2284}
2285
2286.mat-tonal-button {
2287  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
2288  height: var(--mat-button-tonal-container-height, 40px);
2289  font-family: var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));
2290  font-size: var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));
2291  letter-spacing: var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));
2292  text-transform: var(--mat-button-tonal-label-text-transform);
2293  font-weight: var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));
2294  padding: 0 var(--mat-button-tonal-horizontal-padding, 24px);
2295}
2296.mat-tonal-button:not(:disabled) {
2297  color: var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));
2298  background-color: var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container));
2299}
2300.mat-tonal-button, .mat-tonal-button .mdc-button__ripple {
2301  border-radius: var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full));
2302}
2303.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled {
2304  cursor: default;
2305  pointer-events: none;
2306  color: var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
2307  background-color: var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
2308}
2309.mat-tonal-button.mat-mdc-button-disabled-interactive {
2310  pointer-events: auto;
2311}
2312.mat-tonal-button > .mat-icon {
2313  margin-right: var(--mat-button-tonal-icon-spacing, 8px);
2314  margin-left: var(--mat-button-tonal-icon-offset, -8px);
2315}
2316[dir=rtl] .mat-tonal-button > .mat-icon {
2317  margin-right: var(--mat-button-tonal-icon-offset, -8px);
2318  margin-left: var(--mat-button-tonal-icon-spacing, 8px);
2319}
2320.mat-tonal-button .mdc-button__label + .mat-icon {
2321  margin-right: var(--mat-button-tonal-icon-offset, -8px);
2322  margin-left: var(--mat-button-tonal-icon-spacing, 8px);
2323}
2324[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon {
2325  margin-right: var(--mat-button-tonal-icon-spacing, 8px);
2326  margin-left: var(--mat-button-tonal-icon-offset, -8px);
2327}
2328.mat-tonal-button .mat-ripple-element {
2329  background-color: var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
2330}
2331.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
2332  background-color: var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container));
2333}
2334.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
2335  background-color: var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
2336}
2337.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before {
2338  opacity: var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
2339}
2340.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
2341  opacity: var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
2342}
2343.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before {
2344  opacity: var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
2345}
2346.mat-tonal-button .mat-mdc-button-touch-target {
2347  position: absolute;
2348  top: 50%;
2349  height: var(--mat-button-tonal-touch-target-size, 48px);
2350  display: var(--mat-button-tonal-touch-target-display, block);
2351  left: 0;
2352  right: 0;
2353  transform: translateY(-50%);
2354}
2355
2356.mat-mdc-button,
2357.mat-mdc-unelevated-button,
2358.mat-mdc-raised-button,
2359.mat-mdc-outlined-button,
2360.mat-tonal-button {
2361  -webkit-tap-highlight-color: transparent;
2362}
2363.mat-mdc-button .mat-mdc-button-ripple,
2364.mat-mdc-button .mat-mdc-button-persistent-ripple,
2365.mat-mdc-button .mat-mdc-button-persistent-ripple::before,
2366.mat-mdc-unelevated-button .mat-mdc-button-ripple,
2367.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,
2368.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,
2369.mat-mdc-raised-button .mat-mdc-button-ripple,
2370.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,
2371.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,
2372.mat-mdc-outlined-button .mat-mdc-button-ripple,
2373.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,
2374.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,
2375.mat-tonal-button .mat-mdc-button-ripple,
2376.mat-tonal-button .mat-mdc-button-persistent-ripple,
2377.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
2378  top: 0;
2379  left: 0;
2380  right: 0;
2381  bottom: 0;
2382  position: absolute;
2383  pointer-events: none;
2384  border-radius: inherit;
2385}
2386.mat-mdc-button .mat-mdc-button-ripple,
2387.mat-mdc-unelevated-button .mat-mdc-button-ripple,
2388.mat-mdc-raised-button .mat-mdc-button-ripple,
2389.mat-mdc-outlined-button .mat-mdc-button-ripple,
2390.mat-tonal-button .mat-mdc-button-ripple {
2391  overflow: hidden;
2392}
2393.mat-mdc-button .mat-mdc-button-persistent-ripple::before,
2394.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,
2395.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,
2396.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,
2397.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
2398  content: "";
2399  opacity: 0;
2400}
2401.mat-mdc-button .mdc-button__label,
2402.mat-mdc-button .mat-icon,
2403.mat-mdc-unelevated-button .mdc-button__label,
2404.mat-mdc-unelevated-button .mat-icon,
2405.mat-mdc-raised-button .mdc-button__label,
2406.mat-mdc-raised-button .mat-icon,
2407.mat-mdc-outlined-button .mdc-button__label,
2408.mat-mdc-outlined-button .mat-icon,
2409.mat-tonal-button .mdc-button__label,
2410.mat-tonal-button .mat-icon {
2411  z-index: 1;
2412  position: relative;
2413}
2414.mat-mdc-button .mat-focus-indicator,
2415.mat-mdc-unelevated-button .mat-focus-indicator,
2416.mat-mdc-raised-button .mat-focus-indicator,
2417.mat-mdc-outlined-button .mat-focus-indicator,
2418.mat-tonal-button .mat-focus-indicator {
2419  top: 0;
2420  left: 0;
2421  right: 0;
2422  bottom: 0;
2423  position: absolute;
2424  border-radius: inherit;
2425}
2426.mat-mdc-button:focus-visible > .mat-focus-indicator::before,
2427.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before,
2428.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before,
2429.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before,
2430.mat-tonal-button:focus-visible > .mat-focus-indicator::before {
2431  content: "";
2432  border-radius: inherit;
2433}
2434.mat-mdc-button._mat-animation-noopable,
2435.mat-mdc-unelevated-button._mat-animation-noopable,
2436.mat-mdc-raised-button._mat-animation-noopable,
2437.mat-mdc-outlined-button._mat-animation-noopable,
2438.mat-tonal-button._mat-animation-noopable {
2439  transition: none !important;
2440  animation: none !important;
2441}
2442.mat-mdc-button > .mat-icon,
2443.mat-mdc-unelevated-button > .mat-icon,
2444.mat-mdc-raised-button > .mat-icon,
2445.mat-mdc-outlined-button > .mat-icon,
2446.mat-tonal-button > .mat-icon {
2447  display: inline-block;
2448  position: relative;
2449  vertical-align: top;
2450  font-size: 1.125rem;
2451  height: 1.125rem;
2452  width: 1.125rem;
2453}
2454
2455.mat-mdc-outlined-button .mat-mdc-button-ripple,
2456.mat-mdc-outlined-button .mdc-button__ripple {
2457  top: -1px;
2458  left: -1px;
2459  bottom: -1px;
2460  right: -1px;
2461}
2462
2463.mat-mdc-unelevated-button .mat-focus-indicator::before,
2464.mat-tonal-button .mat-focus-indicator::before,
2465.mat-mdc-raised-button .mat-focus-indicator::before {
2466  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
2467}
2468
2469.mat-mdc-outlined-button .mat-focus-indicator::before {
2470  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1);
2471}
2472`,`@media (forced-colors: active) {
2473  .mat-mdc-button:not(.mdc-button--outlined),
2474  .mat-mdc-unelevated-button:not(.mdc-button--outlined),
2475  .mat-mdc-raised-button:not(.mdc-button--outlined),
2476  .mat-mdc-outlined-button:not(.mdc-button--outlined),
2477  .mat-mdc-button-base.mat-tonal-button,
2478  .mat-mdc-icon-button.mat-mdc-icon-button,
2479  .mat-mdc-outlined-button .mdc-button__ripple {
2480    outline: solid 1px;
2481  }
2482}
2483`],encapsulation:2,changeDetection:0})}return t})();function cJ(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var _o=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Hi,De]})}return t})();var dJ=["button"],uJ=["*"];function mJ(t,i){if(t&1&&(u(0,"div",2),x(1,"mat-pseudo-checkbox",6),c()),t&2){let e=_();l(),g("disabled",e.disabled)}}var pJ=new R("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:()=>
2483({hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1})}),hJ=new R("MatButtonToggleGroup");var Tk=class{source;value;constructor(i,e){this.source=i,this.value=e}};var fJ=(()=>{class t{_changeDetectorRef=m(Ee);_elementRef=m(Q);_focusMonitor=m(oi);_idGenerator=m(pt);_animationDisabled=lt();_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex()}set tabIndex(e){this._tabIndex.set(e)}_tabIndex;disableRipple=!1;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}_appearance;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}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}_disabledInteractive;change=new V;constructor(){m(Lt).load(mi);let e=m(hJ,{optional:!0}),n=m(new di("tabindex"),{optional:!0})||"",r=m(pJ,{optional:!0});this._tabIndex=Z(parseInt(n)||0),this.buttonToggleGroup=e,this._appearance=r&&r.appearance?r.appearance:"standard",this._disabledInteractive=r?.disabledInteractive??!1}ngOnInit(){let e=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._animationDisabled||this._elementRef.nativeElement.classList.add("mat-button-toggle-animations-enabled"),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 Tk(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 \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(n,r){if(n&1&&ve(dJ,5),n&2){let o;H(o=U())&&(r._buttonElement=o.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(n,r){n&1&&T("focus",function(){return r.focus()}),n&2&&(oe("aria-label",null)("aria-labelledby",null)("id",r.id)("name",null),ee("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",q],appearance:"appearance",checked:[2,"checked","checked",q],disabled:[2,"disabled","disabled",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:uJ,decls:7,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-checkbox-wrapper"],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"],["state","checked","aria-hidden","true","appearance","minimal",3,"disabled"]],template:function(n,r){if(n&1&&(Ie(),u(0,"button",1,0),T("click",function(){return r._onButtonClick()}),v(2,mJ,2,1,"div",2),u(3,"span",3),re(4),c()(),x(5,"span",4)(6,"span",5)),n&2){let o=ye(1);g("id",r.buttonId)("disabled",r.disabled&&!r.disabledInteractive||null),oe("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),l(2),y(r.buttonToggleGroup&&(!r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideSingleSelectionIndicator||r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),l(4),g("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)}},dependencies:[Hr,kC],styles:[`.mat-button-toggle-standalone,
2484.mat-button-toggle-group {
2485  position: relative;
2486  display: inline-flex;
2487  flex-direction: row;
2488  white-space: nowrap;
2489  overflow: hidden;
2490  -webkit-tap-highlight-color: transparent;
2491  border-radius: var(--mat-button-toggle-legacy-shape);
2492  transform: translateZ(0);
2493}
2494.mat-button-toggle-standalone:not([class*=mat-elevation-z]),
2495.mat-button-toggle-group:not([class*=mat-elevation-z]) {
2496  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);
2497}
2498@media (forced-colors: active) {
2499  .mat-button-toggle-standalone,
2500  .mat-button-toggle-group {
2501    outline: solid 1px;
2502  }
2503}
2504
2505.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,
2506.mat-button-toggle-group-appearance-standard {
2507  border-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
2508  border: solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline));
2509}
2510.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,
2511.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox {
2512  --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));
2513}
2514.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),
2515.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]) {
2516  box-shadow: none;
2517}
2518@media (forced-colors: active) {
2519  .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,
2520  .mat-button-toggle-group-appearance-standard {
2521    outline: 0;
2522  }
2523}
2524
2525.mat-button-toggle-vertical {
2526  flex-direction: column;
2527}
2528.mat-button-toggle-vertical .mat-button-toggle-label-content {
2529  display: block;
2530}
2531
2532.mat-button-toggle {
2533  white-space: nowrap;
2534  position: relative;
2535  color: var(--mat-button-toggle-legacy-text-color);
2536  font-family: var(--mat-button-toggle-legacy-label-text-font);
2537  font-size: var(--mat-button-toggle-legacy-label-text-size);
2538  line-height: var(--mat-button-toggle-legacy-label-text-line-height);
2539  font-weight: var(--mat-button-toggle-legacy-label-text-weight);
2540  letter-spacing: var(--mat-button-toggle-legacy-label-text-tracking);
2541  --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-legacy-selected-state-text-color);
2542}
2543.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay {
2544  opacity: var(--mat-button-toggle-legacy-focus-state-layer-opacity);
2545}
2546.mat-button-toggle .mat-icon svg {
2547  vertical-align: top;
2548}
2549
2550.mat-button-toggle-checkbox-wrapper {
2551  display: inline-block;
2552  justify-content: flex-start;
2553  align-items: center;
2554  width: 0;
2555  height: 18px;
2556  line-height: 18px;
2557  overflow: hidden;
2558  box-sizing: border-box;
2559  position: absolute;
2560  top: 50%;
2561  left: 16px;
2562  transform: translate3d(0, -50%, 0);
2563}
2564[dir=rtl] .mat-button-toggle-checkbox-wrapper {
2565  left: auto;
2566  right: 16px;
2567}
2568.mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper {
2569  left: 12px;
2570}
2571[dir=rtl] .mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper {
2572  left: auto;
2573  right: 12px;
2574}
2575.mat-button-toggle-checked .mat-button-toggle-checkbox-wrapper {
2576  width: 18px;
2577}
2578.mat-button-toggle-animations-enabled .mat-button-toggle-checkbox-wrapper {
2579  transition: width 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1);
2580}
2581.mat-button-toggle-vertical .mat-button-toggle-checkbox-wrapper {
2582  transition: none;
2583}
2584
2585.mat-button-toggle-checked {
2586  color: var(--mat-button-toggle-legacy-selected-state-text-color);
2587  background-color: var(--mat-button-toggle-legacy-selected-state-background-color);
2588}
2589
2590.mat-button-toggle-disabled {
2591  pointer-events: none;
2592  color: var(--mat-button-toggle-legacy-disabled-state-text-color);
2593  background-color: var(--mat-button-toggle-legacy-disabled-state-background-color);
2594  --mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-legacy-disabled-state-text-color);
2595}
2596.mat-button-toggle-disabled.mat-button-toggle-checked {
2597  background-color: var(--mat-button-toggle-legacy-disabled-selected-state-background-color);
2598}
2599
2600.mat-button-toggle-disabled-interactive {
2601  pointer-events: auto;
2602}
2603
2604.mat-button-toggle-appearance-standard {
2605  color: var(--mat-button-toggle-text-color, var(--mat-sys-on-surface));
2606  background-color: var(--mat-button-toggle-background-color, transparent);
2607  font-family: var(--mat-button-toggle-label-text-font, var(--mat-sys-label-large-font));
2608  font-size: var(--mat-button-toggle-label-text-size, var(--mat-sys-label-large-size));
2609  line-height: var(--mat-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));
2610  font-weight: var(--mat-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));
2611  letter-spacing: var(--mat-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking));
2612}
2613.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard + .mat-button-toggle-appearance-standard {
2614  border-left: solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline));
2615}
2616[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard + .mat-button-toggle-appearance-standard {
2617  border-left: none;
2618  border-right: solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline));
2619}
2620.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard + .mat-button-toggle-appearance-standard {
2621  border-left: none;
2622  border-right: none;
2623  border-top: solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline));
2624}
2625.mat-button-toggle-appearance-standard.mat-button-toggle-checked {
2626  color: var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));
2627  background-color: var(--mat-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container));
2628}
2629.mat-button-toggle-appearance-standard.mat-button-toggle-disabled {
2630  color: var(--mat-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
2631  background-color: var(--mat-button-toggle-disabled-state-background-color, transparent);
2632}
2633.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox {
2634  --mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
2635}
2636.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked {
2637  color: var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
2638  background-color: var(--mat-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
2639}
2640.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay {
2641  background-color: var(--mat-button-toggle-state-layer-color, var(--mat-sys-on-surface));
2642}
2643.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay {
2644  opacity: var(--mat-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
2645}
2646.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay {
2647  opacity: var(--mat-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
2648}
2649@media (hover: none) {
2650  .mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay {
2651    display: none;
2652  }
2653}
2654
2655.mat-button-toggle-label-content {
2656  -webkit-user-select: none;
2657  user-select: none;
2658  display: inline-block;
2659  padding: 0 16px;
2660  line-height: var(--mat-button-toggle-legacy-height);
2661  position: relative;
2662}
2663.mat-button-toggle-appearance-standard .mat-button-toggle-label-content {
2664  padding: 0 12px;
2665  line-height: var(--mat-button-toggle-height, 40px);
2666}
2667
2668.mat-button-toggle-label-content > * {
2669  vertical-align: middle;
2670}
2671
2672.mat-button-toggle-focus-overlay {
2673  top: 0;
2674  left: 0;
2675  right: 0;
2676  bottom: 0;
2677  position: absolute;
2678  border-radius: inherit;
2679  pointer-events: none;
2680  opacity: 0;
2681  background-color: var(--mat-button-toggle-legacy-state-layer-color);
2682}
2683
2684@media (forced-colors: active) {
2685  .mat-button-toggle-checked .mat-button-toggle-focus-overlay {
2686    border-bottom: solid 500px;
2687    opacity: 0.5;
2688    height: 0;
2689  }
2690  .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay {
2691    opacity: 0.6;
2692  }
2693  .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay {
2694    border-bottom: solid 500px;
2695  }
2696}
2697.mat-button-toggle .mat-button-toggle-ripple {
2698  top: 0;
2699  left: 0;
2700  right: 0;
2701  bottom: 0;
2702  position: absolute;
2703  pointer-events: none;
2704}
2705
2706.mat-button-toggle-button {
2707  border: 0;
2708  background: none;
2709  color: inherit;
2710  padding: 0;
2711  margin: 0;
2712  font: inherit;
2713  outline: none;
2714  width: 100%;
2715  cursor: pointer;
2716}
2717.mat-button-toggle-animations-enabled .mat-button-toggle-button {
2718  transition: padding 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1);
2719}
2720.mat-button-toggle-vertical .mat-button-toggle-button {
2721  transition: none;
2722}
2723.mat-button-toggle-disabled .mat-button-toggle-button {
2724  cursor: default;
2725}
2726.mat-button-toggle-button::-moz-focus-inner {
2727  border: 0;
2728}
2729.mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper) {
2730  padding-left: 30px;
2731}
2732[dir=rtl] .mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper) {
2733  padding-left: 0;
2734  padding-right: 30px;
2735}
2736
2737.mat-button-toggle-standalone.mat-button-toggle-appearance-standard {
2738  --mat-focus-indicator-border-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
2739}
2740
2741.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:last-of-type .mat-button-toggle-button::before {
2742  border-top-right-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
2743  border-bottom-right-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
2744}
2745.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:first-of-type .mat-button-toggle-button::before {
2746  border-top-left-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
2747  border-bottom-left-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
2748}
2749
2750.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:last-of-type .mat-button-toggle-button::before {
2751  border-bottom-right-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
2752  border-bottom-left-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
2753}
2754.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:first-of-type .mat-button-toggle-button::before {
2755  border-top-right-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
2756  border-top-left-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
2757}
2758`],encapsulation:2,changeDetection:0})}return t})(),Ik=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Hi,fJ,De]})}return t})();var gJ=["*"];var _J=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],bJ=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
2759      [mat-card-title], [mat-card-subtitle],
2760      [matCardTitle], [matCardSubtitle]`,"*"],vJ=new R("MAT_CARD_CONFIG"),M4e=(()=>{class t{appearance;constructor(){let e=m(vJ,{optional:!0});this.appearance=e?.appearance||"raised"}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(n,r){n&2&&ee("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")("mat-mdc-card-filled",r.appearance==="filled")("mdc-card--filled",r.appearance==="filled")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:gJ,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},styles:[`.mat-mdc-card {
2761  display: flex;
2762  flex-direction: column;
2763  box-sizing: border-box;
2764  position: relative;
2765  border-style: solid;
2766  border-width: 0;
2767  background-color: var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));
2768  border-color: var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));
2769  border-radius: var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium));
2770  box-shadow: var(--mat-card-elevated-container-elevation, var(--mat-sys-level1));
2771}
2772.mat-mdc-card::after {
2773  position: absolute;
2774  top: 0;
2775  left: 0;
2776  width: 100%;
2777  height: 100%;
2778  border: solid 1px transparent;
2779  content: "";
2780  display: block;
2781  pointer-events: none;
2782  box-sizing: border-box;
2783  border-radius: var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium));
2784}
2785
2786.mat-mdc-card-outlined {
2787  background-color: var(--mat-card-outlined-container-color, var(--mat-sys-surface));
2788  border-radius: var(--mat-card-outlined-container-shape, var(--mat-sys-corner-medium));
2789  border-width: var(--mat-card-outlined-outline-width, 1px);
2790  border-color: var(--mat-card-outlined-outline-color, var(--mat-sys-outline-variant));
2791  box-shadow: var(--mat-card-outlined-container-elevation, var(--mat-sys-level0));
2792}
2793.mat-mdc-card-outlined::after {
2794  border: none;
2795}
2796
2797.mat-mdc-card-filled {
2798  background-color: var(--mat-card-filled-container-color, var(--mat-sys-surface-container-highest));
2799  border-radius: var(--mat-card-filled-container-shape, var(--mat-sys-corner-medium));
2800  box-shadow: var(--mat-card-filled-container-elevation, var(--mat-sys-level0));
2801}
2802
2803.mdc-card__media {
2804  position: relative;
2805  box-sizing: border-box;
2806  background-repeat: no-repeat;
2807  background-position: center;
2808  background-size: cover;
2809}
2810.mdc-card__media::before {
2811  display: block;
2812  content: "";
2813}
2814.mdc-card__media:first-child {
2815  border-top-left-radius: inherit;
2816  border-top-right-radius: inherit;
2817}
2818.mdc-card__media:last-child {
2819  border-bottom-left-radius: inherit;
2820  border-bottom-right-radius: inherit;
2821}
2822
2823.mat-mdc-card-actions {
2824  display: flex;
2825  flex-direction: row;
2826  align-items: center;
2827  box-sizing: border-box;
2828  min-height: 52px;
2829  padding: 8px;
2830}
2831
2832.mat-mdc-card-title {
2833  font-family: var(--mat-card-title-text-font, var(--mat-sys-title-large-font));
2834  line-height: var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));
2835  font-size: var(--mat-card-title-text-size, var(--mat-sys-title-large-size));
2836  letter-spacing: var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));
2837  font-weight: var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight));
2838}
2839
2840.mat-mdc-card-subtitle {
2841  color: var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));
2842  font-family: var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));
2843  line-height: var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));
2844  font-size: var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));
2845  letter-spacing: var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));
2846  font-weight: var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight));
2847}
2848
2849.mat-mdc-card-title,
2850.mat-mdc-card-subtitle {
2851  display: block;
2852  margin: 0;
2853}
2854.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-title,
2855.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-subtitle {
2856  padding: 16px 16px 0;
2857}
2858
2859.mat-mdc-card-header {
2860  display: flex;
2861  padding: 16px 16px 0;
2862}
2863
2864.mat-mdc-card-content {
2865  display: block;
2866  padding: 0 16px;
2867}
2868.mat-mdc-card-content:first-child {
2869  padding-top: 16px;
2870}
2871.mat-mdc-card-content:last-child {
2872  padding-bottom: 16px;
2873}
2874
2875.mat-mdc-card-title-group {
2876  display: flex;
2877  justify-content: space-between;
2878  width: 100%;
2879}
2880
2881.mat-mdc-card-avatar {
2882  height: 40px;
2883  width: 40px;
2884  border-radius: 50%;
2885  flex-shrink: 0;
2886  margin-bottom: 16px;
2887  object-fit: cover;
2888}
2889.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-subtitle,
2890.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-title {
2891  line-height: normal;
2892}
2893
2894.mat-mdc-card-sm-image {
2895  width: 80px;
2896  height: 80px;
2897}
2898
2899.mat-mdc-card-md-image {
2900  width: 112px;
2901  height: 112px;
2902}
2903
2904.mat-mdc-card-lg-image {
2905  width: 152px;
2906  height: 152px;
2907}
2908
2909.mat-mdc-card-xl-image {
2910  width: 240px;
2911  height: 240px;
2912}
2913
2914.mat-mdc-card-subtitle ~ .mat-mdc-card-title,
2915.mat-mdc-card-title ~ .mat-mdc-card-subtitle,
2916.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,
2917.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,
2918.mat-mdc-card-title-group .mat-mdc-card-title,
2919.mat-mdc-card-title-group .mat-mdc-card-subtitle {
2920  padding-top: 0;
2921}
2922
2923.mat-mdc-card-content > :last-child:not(.mat-mdc-card-footer) {
2924  margin-bottom: 0;
2925}
2926
2927.mat-mdc-card-actions-align-end {
2928  justify-content: flex-end;
2929}
2930`],encapsulation:2,changeDetection:0})}return t})();var VC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return t})(),jC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return t})(),qu=(()=>{class t{align="start";static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]})}return t})(),HC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:bJ,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(n,r){n&1&&(Ie(_J),re(0),ft(1,"div",0),re(2,1),_t(),re(3,2))},encapsulation:2,changeDetection:0})}return t})();var Ak=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var yJ=["input"],CJ=["label"],DJ=["*"],kk={color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1},EJ=new R("mat-checkbox-default-options",{providedIn:"root",factory:()=>kk}),Ur=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(Ur||{}),Rk=class{source;checked},ir=(()=>{class t{_elementRef=m(Q);_changeDetectorRef=m(Ee);_ngZone=m(le);_animationsDisabled=lt();_options=m(EJ,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let n=new Rk;return n.source=this,n.checked=e,n}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_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"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required=!1;labelPosition="after";name=null;change=new V;indeterminateChange=new V;value;disableRipple=!1;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=Ur.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){m(Lt).load(mi);let e=m(new di("tabindex"),{optional:!0});this._options=this._options||kk,this.color=this._options.color||kk.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=m(pt).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.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())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let n=e!=this._indeterminate();this._indeterminate.set(e),n&&(e?this._transitionCheckState(Ur.Indeterminate):this._transitionCheckState(this.checked?Ur.Checked:Ur.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=Z(!1);_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}
2930registerOnValidatorChange(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.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Ur.Checked:Ur.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._animationsDisabled)return"";switch(e){case Ur.Init:if(n===Ur.Checked)return this._animationClasses.uncheckedToChecked;if(n==Ur.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Ur.Unchecked:return n===Ur.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Ur.Checked:return n===Ur.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Ur.Indeterminate:return n===Ur.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 \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-checkbox"]],viewQuery:function(n,r){if(n&1&&ve(yJ,5)(CJ,5),n&2){let o;H(o=U())&&(r._inputElement=o.first),H(o=U())&&(r._labelElement=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(n,r){n&2&&(In("id",r.id),oe("tabindex",null)("aria-label",null)("aria-labelledby",null),Be(r.color?"mat-"+r.color:"mat-accent"),ee("_mat-animation-noopable",r._animationsDisabled)("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"],ariaExpanded:[2,"aria-expanded","ariaExpanded",q],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",q],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:rn(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q],checked:[2,"checked","checked",q],disabled:[2,"disabled","disabled",q],indeterminate:[2,"indeterminate","indeterminate",q]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[me([{provide:er,useExisting:bn(()=>t),multi:!0},{provide:Zo,useExisting:t,multi:!0}]),Ke],ngContentSelectors:DJ,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],["aria-hidden","true",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"],["aria-hidden","true",1,"mdc-checkbox__ripple"],["aria-hidden","true",1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24",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","","aria-hidden","true",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(n,r){if(n&1&&(Ie(),u(0,"div",3),T("click",function(a){return r._preventBubblingFromLabel(a)}),u(1,"div",4,0)(3,"div",5),T("click",function(){return r._onTouchTargetClick()}),c(),u(4,"input",6,1),T("blur",function(){return r._onBlur()})("click",function(){return r._onInputClick()})("change",function(a){return r._onInteractionEvent(a)}),c(),x(6,"div",7),u(7,"div",8),Tn(),u(8,"svg",9),x(9,"path",10),c(),Wo(),x(10,"div",11),c(),x(11,"div",12),c(),u(12,"label",13,2),re(14),c()()),n&2){let o=ye(2);g("labelPosition",r.labelPosition),l(4),ee("mdc-checkbox--selected",r.checked),g("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),oe("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-controls",r.ariaControl
2930s)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("aria-expanded",r.ariaExpanded)("aria-owns",r.ariaOwns)("name",r.name)("value",r.value),l(7),g("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),l(),g("for",r.inputId)}},dependencies:[Hr,Pp],styles:[`.mdc-checkbox {
2931  display: inline-block;
2932  position: relative;
2933  flex: 0 0 18px;
2934  box-sizing: content-box;
2935  width: 18px;
2936  height: 18px;
2937  line-height: 0;
2938  white-space: nowrap;
2939  cursor: pointer;
2940  vertical-align: bottom;
2941  padding: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2);
2942  margin: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
2943}
2944.mdc-checkbox:hover > .mdc-checkbox__ripple {
2945  opacity: var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
2946  background-color: var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface));
2947}
2948.mdc-checkbox:hover > .mat-mdc-checkbox-ripple > .mat-ripple-element {
2949  background-color: var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface));
2950}
2951.mdc-checkbox .mdc-checkbox__native-control:focus + .mdc-checkbox__ripple {
2952  opacity: var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
2953  background-color: var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface));
2954}
2955.mdc-checkbox .mdc-checkbox__native-control:focus ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
2956  background-color: var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface));
2957}
2958.mdc-checkbox:active > .mdc-checkbox__native-control + .mdc-checkbox__ripple {
2959  opacity: var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
2960  background-color: var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary));
2961}
2962.mdc-checkbox:active > .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
2963  background-color: var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary));
2964}
2965.mdc-checkbox:hover > .mdc-checkbox__native-control:checked + .mdc-checkbox__ripple {
2966  opacity: var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
2967  background-color: var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary));
2968}
2969.mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
2970  background-color: var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary));
2971}
2972.mdc-checkbox .mdc-checkbox__native-control:focus:checked + .mdc-checkbox__ripple {
2973  opacity: var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
2974  background-color: var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary));
2975}
2976.mdc-checkbox .mdc-checkbox__native-control:focus:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
2977  background-color: var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary));
2978}
2979.mdc-checkbox:active > .mdc-checkbox__native-control:checked + .mdc-checkbox__ripple {
2980  opacity: var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
2981  background-color: var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface));
2982}
2983.mdc-checkbox:active > .mdc-checkbox__native-control:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
2984  background-color: var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface));
2985}
2986.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element,
2987.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control + .mdc-checkbox__ripple {
2988  background-color: var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface));
2989}
2990.mdc-checkbox .mdc-checkbox__native-control {
2991  position: absolute;
2992  margin: 0;
2993  padding: 0;
2994  opacity: 0;
2995  cursor: inherit;
2996  z-index: 1;
2997  width: var(--mat-checkbox-state-layer-size, 40px);
2998  height: var(--mat-checkbox-state-layer-size, 40px);
2999  top: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
3000  right: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
3001  left: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
3002}
3003
3004.mdc-checkbox--disabled {
3005  cursor: default;
3006  pointer-events: none;
3007}
3008
3009.mdc-checkbox__background {
3010  display: inline-flex;
3011  position: absolute;
3012  align-items: center;
3013  justify-content: center;
3014  box-sizing: border-box;
3015  width: 18px;
3016  height: 18px;
3017  border: 2px solid currentColor;
3018  border-radius: 2px;
3019  background-color: transparent;
3020  pointer-events: none;
3021  will-change: background-color, border-color;
3022  transition: background-color 90ms cubic-bezier(0.4, 0, 0.6, 1), border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);
3023  -webkit-print-color-adjust: exact;
3024  color-adjust: exact;
3025  border-color: var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));
3026  top: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2);
3027  left: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2);
3028}
3029
3030.mdc-checkbox__native-control:enabled:checked ~ .mdc-checkbox__background,
3031.mdc-checkbox__native-control:enabled:indeterminate ~ .mdc-checkbox__background {
3032  border-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));
3033  background-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));
3034}
3035
3036.mdc-checkbox--disabled .mdc-checkbox__background {
3037  border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
3038}
3039@media (forced-colors: active) {
3040  .mdc-checkbox--disabled .mdc-checkbox__background {
3041    border-color: GrayText;
3042  }
3043}
3044
3045.mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background,
3046.mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background {
3047  background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
3048  border-color: transparent;
3049}
3050@media (forced-colors: active) {
3051  .mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background,
3052  .mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background {
3053    border-color: GrayText;
3054  }
3055}
3056
3057.mdc-checkbox:hover > .mdc-checkbox__native-control:not(:checked) ~ .mdc-checkbox__background,
3058.mdc-checkbox:hover > .mdc-checkbox__native-control:not(:indeterminate) ~ .mdc-checkbox__background {
3059  border-color: var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));
3060  background-color: transparent;
3061}
3062
3063.mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
3064.mdc-checkbox:hover > .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
3065  border-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));
3066  background-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));
3067}
3068
3069.mdc-checkbox__native-control:focus:focus:not(:checked) ~ .mdc-checkbox__background,
3070.mdc-checkbox__native-control:focus:focus:not(:indeterminate) ~ .mdc-checkbox__background {
3071  border-color: var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface));
3072}
3073
3074.mdc-checkbox__native-control:focus:focus:checked ~ .mdc-checkbox__background,
3075.mdc-checkbox__native-control:focus:focus:indeterminate ~ .mdc-checkbox__background {
3076  border-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));
3077  background-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));
3078}
3079
3080.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,
3081.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,
3082.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background {
3083  border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
3084}
3085@media (forced-colors: active) {
3086  .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,
3087  .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,
3088  .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background {
3089    border-color: GrayText;
3090  }
3091}
3092.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
3093.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
3094  background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
3095  border-color: transparent;
3096}
3097
3098.mdc-checkbox__checkmark {
3099  position: absolute;
3100  top: 0;
3101  right: 0;
3102  bottom: 0;
3103  left: 0;
3104  width: 100%;
3105  opacity: 0;
3106  transition: opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);
3107  color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary));
3108}
3109@media (forced-colors: active) {
3110  .mdc-checkbox__checkmark {
3111    color: CanvasText;
3112  }
3113}
3114
3115.mdc-checkbox--disabled .mdc-checkbox__checkmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark {
3116  color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface));
3117}
3118@media (forced-colors: active) {
3119  .mdc-checkbox--disabled .mdc-checkbox__checkmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark {
3120    color: GrayText;
3121  }
3122}
3123
3124.mdc-checkbox__checkmark-path {
3125  transition: stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);
3126  stroke: currentColor;
3127  stroke-width: 3.12px;
3128  stroke-dashoffset: 29.7833385;
3129  stroke-dasharray: 29.7833385;
3130}
3131
3132.mdc-checkbox__mixedmark {
3133  width: 100%;
3134  height: 0;
3135  transform: scaleX(0) rotate(0deg);
3136  border-width: 1px;
3137  border-style: solid;
3138  opacity: 0;
3139  transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
3140  border-color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary));
3141}
3142@media (forced-colors: active) {
3143  .mdc-checkbox__mixedmark {
3144    margin: 0 1px;
3145  }
3146}
3147
3148.mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark {
3149  border-color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface));
3150}
3151@media (forced-colors: active) {
3152  .mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark {
3153    border-color: GrayText;
3154  }
3155}
3156
3157.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,
3158.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,
3159.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,
3160.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background {
3161  animation-duration: 180ms;
3162  animation-timing-function: linear;
3163}
3164
3165.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path {
3166  animation: mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;
3167  transition: none;
3168}
3169
3170.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark {
3171  animation: mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;
3172  transition: none;
3173}
3174
3175.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path {
3176  animation: mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;
3177  transition: none;
3178}
3179
3180.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark {
3181  animation: mdc-checkbox-checked-indeterminate-checkmark 90ms linear;
3182  transition: none;
3183}
3184.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark {
3185  animation: mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;
3186  transition: none;
3187}
3188
3189.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark {
3190  animation: mdc-checkbox-indeterminate-checked-checkmark 500ms linear;
3191  transition: none;
3192}
3193.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark {
3194  animation: mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;
3195  transition: none;
3196}
3197
3198.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark {
3199  animation: mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;
3200  transition: none;
3201}
3202
3203.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
3204.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
3205  transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1);
3206}
3207.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
3208.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path {
3209  stroke-dashoffset: 0;
3210}
3211
3212.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark {
3213  transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1), transform 180ms cubic-bezier(0, 0, 0.2, 1);
3214  opacity: 1;
3215}
3216.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark {
3217  transform: scaleX(1) rotate(-45deg);
3218}
3219
3220.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark {
3221  transform: rotate(45deg);
3222  opacity: 0;
3223  transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
3224}
3225.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark {
3226  transform: scaleX(1) rotate(0deg);
3227  opacity: 1;
3228}
3229
3230@keyframes mdc-checkbox-unchecked-checked-checkmark-path {
3231  0%, 50% {
3232    stroke-dashoffset: 29.7833385;
3233  }
3234  50% {
3235    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
3236  }
3237  100% {
3238    stroke-dashoffset: 0;
3239  }
3240}
3241@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark {
3242  0%, 68.2% {
3243    transform: scaleX(0);
3244  }
3245  68.2% {
3246    animation-timing-function: cubic-bezier(0, 0, 0, 1);
3247  }
3248  100% {
3249    transform: scaleX(1);
3250  }
3251}
3252@keyframes mdc-checkbox-checked-unchecked-checkmark-path {
3253  from {
3254    animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
3255    opacity: 1;
3256    stroke-dashoffset: 0;
3257  }
3258  to {
3259    opacity: 0;
3260    stroke-dashoffset: -29.7833385;
3261  }
3262}
3263@keyframes mdc-checkbox-checked-indeterminate-checkmark {
3264  from {
3265    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
3266    transform: rotate(0deg);
3267    opacity: 1;
3268  }
3269  to {
3270    transform: rotate(45deg);
3271    opacity: 0;
3272  }
3273}
3274@keyframes mdc-checkbox-indeterminate-checked-checkmark {
3275  from {
3276    animation-timing-function: cubic-bezier(0.14, 0, 0, 1);
3277    transform: rotate(45deg);
3278    opacity: 0;
3279  }
3280  to {
3281    transform: rotate(360deg);
3282    opacity: 1;
3283  }
3284}
3285@keyframes mdc-checkbox-checked-indeterminate-mixedmark {
3286  from {
3287    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
3288    transform: rotate(-45deg);
3289    opacity: 0;
3290  }
3291  to {
3292    transform: rotate(0deg);
3293    opacity: 1;
3294  }
3295}
3296@keyframes mdc-checkbox-indeterminate-checked-mixedmark {
3297  from {
3298    animation-timing-function: cubic-bezier(0.14, 0, 0, 1);
3299    transform: rotate(0deg);
3300    opacity: 1;
3301  }
3302  to {
3303    transform: rotate(315deg);
3304    opacity: 0;
3305  }
3306}
3307@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark {
3308  0% {
3309    animation-timing-function: linear;
3310    transform: scaleX(1);
3311    opacity: 1;
3312  }
3313  32.8%, 100% {
3314    transform: scaleX(0);
3315    opacity: 0;
3316  }
3317}
3318.mat-mdc-checkbox {
3319  display: inline-block;
3320  position: relative;
3321  -webkit-tap-highlight-color: transparent;
3322}
3323.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mat-mdc-checkbox-touch-target,
3324.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__native-control,
3325.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__ripple,
3326.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mat-mdc-checkbox-ripple::before,
3327.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background,
3328.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark,
3329.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
3330.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__mixedmark {
3331  transition: none !important;
3332  animation: none !important;
3333}
3334.mat-mdc-checkbox label {
3335  cursor: pointer;
3336}
3337.mat-mdc-checkbox .mat-internal-form-field {
3338  color: var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));
3339  font-family: var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));
3340  line-height: var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));
3341  font-size: var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));
3342  letter-spacing: var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));
3343  font-weight: var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight));
3344}
3345.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive {
3346  pointer-events: auto;
3347}
3348.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input {
3349  cursor: default;
3350}
3351.mat-mdc-checkbox.mat-mdc-checkbox-disabled label {
3352  cursor: default;
3353  color: var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
3354}
3355@media (forced-colors: active) {
3356  .mat-mdc-checkbox.mat-mdc-checkbox-disabled label {
3357    color: GrayText;
3358  }
3359}
3360.mat-mdc-checkbox label:empty {
3361  display: none;
3362}
3363.mat-mdc-checkbox .mdc-checkbox__ripple {
3364  opacity: 0;
3365}
3366
3367.mat-mdc-checkbox .mat-mdc-checkbox-ripple,
3368.mdc-checkbox__ripple {
3369  top: 0;
3370  left: 0;
3371  right: 0;
3372  bottom: 0;
3373  position: absolute;
3374  border-radius: 50%;
3375  pointer-events: none;
3376}
3377.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),
3378.mdc-checkbox__ripple:not(:empty) {
3379  transform: translateZ(0);
3380}
3381
3382.mat-mdc-checkbox-ripple .mat-ripple-element {
3383  opacity: 0.1;
3384}
3385
3386.mat-mdc-checkbox-touch-target {
3387  position: absolute;
3388  top: 50%;
3389  left: 50%;
3390  height: var(--mat-checkbox-touch-target-size, 48px);
3391  width: var(--mat-checkbox-touch-target-size, 48px);
3392  transform: translate(-50%, -50%);
3393  display: var(--mat-checkbox-touch-target-display, block);
3394}
3395
3396.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before {
3397  border-radius: 50%;
3398}
3399
3400.mdc-checkbox__native-control:focus-visible ~ .mat-focus-indicator::before {
3401  content: "";
3402}
3403`],encapsulation:2,changeDetection:0})}return t})(),b_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[ir,De]})}return t})();var $p=(()=>
3403{class t{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var qp=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(i,e,n,r,o){this._defaultMatcher=i,this.ngControl=e,this._parentFormGroup=n,this._parentForm=r,this._stateChanges=o}updateErrorState(){let i=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!==i&&(this.errorState=o,this._stateChanges.next())}};var wJ=new R("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})});var Mk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[$p,{provide:wJ,useValue:{separatorKeyCodes:[13]}}],imports:[Hi,De]})}return t})();var Yu=new R("MAT_DATE_LOCALE",{providedIn:"root",factory:()=>m(wu)}),Yp="Method not implemented",rr=class{locale;_localeChanges=new O;localeChanges=this._localeChanges;setTime(i,e,n,r){throw new Error(Yp)}getHours(i){throw new Error(Yp)}getMinutes(i){throw new Error(Yp)}getSeconds(i){throw new Error(Yp)}parseTime(i,e){throw new Error(Yp)}addSeconds(i,e){throw new Error(Yp)}getValidDateOrNull(i){return this.isDateInstance(i)&&this.isValid(i)?i:null}deserialize(i){return i==null||this.isDateInstance(i)&&this.isValid(i)?i:this.invalid()}setLocale(i){this.locale=i,this._localeChanges.next()}compareDate(i,e){return this.getYear(i)-this.getYear(e)||this.getMonth(i)-this.getMonth(e)||this.getDate(i)-this.getDate(e)}compareTime(i,e){return this.getHours(i)-this.getHours(e)||this.getMinutes(i)-this.getMinutes(e)||this.getSeconds(i)-this.getSeconds(e)}sameDate(i,e){if(i&&e){let n=this.isValid(i),r=this.isValid(e);return n&&r?!this.compareDate(i,e):n==r}return i==e}sameTime(i,e){if(i&&e){let n=this.isValid(i),r=this.isValid(e);return n&&r?!this.compareTime(i,e):n==r}return i==e}clampDate(i,e,n){return e&&this.compareDate(i,e)<0?e:n&&this.compareDate(i,n)>0?n:i}},qs=new R("mat-date-formats");var Nk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var xJ=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,SJ=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Ok(t,i){let e=Array(t);for(let n=0;n<t;n++)e[n]=i(n);return e}var TJ=(()=>{class t extends rr{_matDateLocale=m(Yu,{optional:!0});constructor(){super();let e=m(Yu,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Ok(12,r=>this._format(n,new Date(2017,r,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ok(31,n=>this._format(e,new Date(2017,0,n+1)))}getDayOfWeekNames(e){let n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Ok(7,r=>this._format(n,new Date(2017,0,r+1)))}getYearName(e){let n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(n,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),n=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return n===7?0:n}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,n,r){let o=this._createDateWithOverflow(e,n,r);return o.getMonth()!=n,o}today(){return new Date}parse(e,n){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,n){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let r=new Intl.DateTimeFormat(this.locale,Ae(L({},n),{timeZone:"utc"}));return this._format(r,e)}addCalendarYears(e,n){return this.addCalendarMonths(e,n*12)}addCalendarMonths(e,n){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+n,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+n)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,n){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+n)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(xJ.test(e)){let n=new Date(e);if(this.isValid(n))return n}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,n,r,o){let a=this.clone(e);return a.setHours(n,r,o,0),a}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,n){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let r=e.trim();if(r.length===0)return null;let o=this._parseTimeString(r);if(o===null){let a=r.replace(/[^0-9:(AM|PM)]/gi,"").trim();a.length>0&&(o=this._parseTimeString(a))}return o||this.invalid()}addSeconds(e,n){return new Date(e.getTime()+n*1e3)}_createDateWithOverflow(e,n,r){let o=new Date;return o.setFullYear(e,n,r),o.setHours(0,0,0,0),o}_2digit(e){return("00"+e).slice(-2)}_format(e,n){let r=new Date;return r.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),r.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e.format(r)}_parseTimeString(e){let n=e.toUpperCase().match(SJ);if(n){let r=parseInt(n[1]),o=parseInt(n[2]),a=n[3]==null?void 0:parseInt(n[3]),s=n[4];if(r===12?r=s==="AM"?0:r:s==="PM"&&(r+=12),Fk(r,0,23)&&Fk(o,0,59)&&(a==null||Fk(a,0,59)))return this.setTime(this.today(),r,o,a||0)}return null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function Fk(t,i,e){return!isNaN(t)&&t>=i&&t<=e}var IJ={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};var Pk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[AJ()]})}return t})();function AJ(t=IJ){return[{provide:rr,useClass:TJ},{provide:qs,useValue:t}]}var kJ=["tooltip"],RJ=20;var MJ=new R("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ia(t,{scrollThrottle:RJ})}}),NJ=new R("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var Jj="tooltip-panel",OJ={passive:!0},FJ=8,PJ=8,LJ=24,BJ=200,Ys=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_platform=m(gt);_ariaDescriber=m(n_);_focusMonitor=m(oi);_dir=m(an);_injector=m(ie);
3403_viewContainerRef=m(Pt);_mediaMatcher=m(Rp);_document=m(Ce);_renderer=m(ot);_animationsDisabled=lt();_defaultOptions=m(NJ,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=eH;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Fn(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let n=Fn(e);this._disabled!==n&&(this._disabled=n,n?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=xr(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=xr(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let n=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(n)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new O;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=FJ}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(xe(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(n=>n()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,n){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(n);this._detach(),this._portal=this._portal||new ko(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(xe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let n=this._tooltipInstance;n&&(n.isVisible()?n.hide(e):(n._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof Q)return this._overlayRef;this._detach()}let n=this._injector.get(rs).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${Jj}`,o=ss(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n).withPopoverLocation("global");return o.positionChanges.pipe(xe(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=go(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(MJ)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(xe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(xe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(xe(this._destroyed)).subscribe(a=>{a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(xe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let n=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();n.withPositions([this._addOffset(L(L({},r.main),o.main)),this._addOffset(L(L({},r.fallback),o.fallback))])}_addOffset(e){let n=PJ,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-n:e.originY==="bottom"?e.offsetY=n:e.originX==="start"?e.offsetX=r?-n:n:e.originX==="end"&&(e.offsetX=r?n:-n),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",n=this.position,r;n=="above"||n=="below"?r={originX:"center",originY:n=="above"?"top":"bottom"}:n=="before"||n=="left"&&e||n=="right"&&!e?r={originX:"start",originY:"center"}:(n=="after"||n=="right"&&e||n=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",n=this.position,r;n=="above"?r={overlayX:"center",overlayY:"bottom"}:n=="below"?r={overlayX:"center",overlayY:"top"}:n=="before"||n=="left"&&e||n=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(n=="after"||n=="right"&&e||n=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Dt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e instanceof Set?Array.from(e):e,this._tooltipInstance._markForCheck())}_invertPosition(e,n){return this.position==="above"||this.position==="below"?n==="top"?n="bottom":n==="bottom"&&(n="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:n}}_updateCurrentPositionClass(e){let{overlayY:n,originX:r,originY:o}=e,a;
3403if(n==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=n==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let d=`${this._cssClassPrefix}-${Jj}-`;s.removePanelClass(d+this._currentPosition),s.addPanelClass(d+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",e=>{let n=e.targetTouches?.[0],r=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let n;e.x!==void 0&&e.y!==void 0&&(n=e),this.show(void 0,n)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",e=>{let n=e.relatedTarget;(!n||!this._overlayRef?.overlayElement.contains(n))&&this.hide()}),this._addListener("wheel",e=>{if(this._isTooltipVisible()){let n=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;n!==r&&!r.contains(n)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",e),this._addListener("touchcancel",e)}}}_addListener(e,n){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,e,n,OJ))}_isTouchPlatform(){let e=this._defaultOptions?.detectHoverCapability;return typeof e=="function"?!e():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!e&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let n=this._elementRef.nativeElement,r=n.style;(e==="on"||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!n.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||Dt({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=e=>e.type==="keydown"?this._isTooltipVisible()&&e.keyCode===27&&!Ht(e):!0;static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),eH=(()=>{class t{_changeDetectorRef=m(Ee);_elementRef=m(Q);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=lt();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new O;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>
3403LJ&&e.width>=BJ}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let n=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(n.classList.remove(e?o:r),n.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(n);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(n,r){if(n&1&&ve(kJ,7),n&2){let o;H(o=U())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(n,r){n&1&&T("mouseleave",function(a){return r._handleMouseLeave(a)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(n,r){n&1&&(ft(0,"div",1,0),Fs("animationend",function(a){return r._handleAnimationEnd(a)}),ft(2,"div",2),h(3),_t()()),n&2&&(Be(r.tooltipClass),ee("mdc-tooltip--multiline",r._isMultiline),l(3),S(r.message))},styles:[`.mat-mdc-tooltip {
3404  position: relative;
3405  transform: scale(0);
3406  display: inline-flex;
3407}
3408.mat-mdc-tooltip::before {
3409  content: "";
3410  top: 0;
3411  right: 0;
3412  bottom: 0;
3413  left: 0;
3414  z-index: -1;
3415  position: absolute;
3416}
3417.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before {
3418  top: -8px;
3419}
3420.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before {
3421  bottom: -8px;
3422}
3423.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before {
3424  left: -8px;
3425}
3426.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before {
3427  right: -8px;
3428}
3429.mat-mdc-tooltip._mat-animation-noopable {
3430  animation: none;
3431  transform: scale(1);
3432}
3433
3434.mat-mdc-tooltip-surface {
3435  word-break: normal;
3436  overflow-wrap: anywhere;
3437  padding: 4px 8px;
3438  min-width: 40px;
3439  max-width: 200px;
3440  min-height: 24px;
3441  max-height: 40vh;
3442  box-sizing: border-box;
3443  overflow: hidden;
3444  text-align: center;
3445  will-change: transform, opacity;
3446  background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));
3447  color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));
3448  border-radius: var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));
3449  font-family: var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));
3450  font-size: var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));
3451  font-weight: var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));
3452  line-height: var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));
3453  letter-spacing: var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking));
3454}
3455.mat-mdc-tooltip-surface::before {
3456  position: absolute;
3457  box-sizing: border-box;
3458  width: 100%;
3459  height: 100%;
3460  top: 0;
3461  left: 0;
3462  border: 1px solid transparent;
3463  border-radius: inherit;
3464  content: "";
3465  pointer-events: none;
3466}
3467.mdc-tooltip--multiline .mat-mdc-tooltip-surface {
3468  text-align: left;
3469}
3470[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface {
3471  text-align: right;
3472}
3473
3474.mat-mdc-tooltip-panel {
3475  line-height: normal;
3476}
3477.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive {
3478  pointer-events: none;
3479}
3480
3481@keyframes mat-mdc-tooltip-show {
3482  0% {
3483    opacity: 0;
3484    transform: scale(0.8);
3485  }
3486  100% {
3487    opacity: 1;
3488    transform: scale(1);
3489  }
3490}
3491@keyframes mat-mdc-tooltip-hide {
3492  0% {
3493    opacity: 1;
3494    transform: scale(1);
3495  }
3496  100% {
3497    opacity: 0;
3498    transform: scale(0.8);
3499  }
3500}
3501.mat-mdc-tooltip-show {
3502  animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards;
3503}
3504
3505.mat-mdc-tooltip-hide {
3506  animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards;
3507}
3508`],encapsulation:2,changeDetection:0})}return t})();var UC=new R("MAT_INPUT_VALUE_ACCESSOR");var VJ=["mat-calendar-body",""];function jJ(t,i){return this._trackRow(i)}var sH=(t,i)=>i.id;function HJ(t,i){if(t&1&&(ft(0,"tr",0)(1,"td",3),h(2),_t()()),t&2){let e=_();l(),On("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),oe("colspan",e.numCols),l(),se(" ",e.label," ")}}function UJ(t,i){if(t&1&&(ft(0,"td",3),h(1),_t()),t&2){let e=_(2);On("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),oe("colspan",e._firstRowOffset),l(),se(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function zJ(t,i){if(t&1){let e=Se();ft(0,"td",6)(1,"button",7),Fs("click",function(r){let o=te(e).$implicit,a=_(2);return ne(a._cellClicked(o,r))})("focus",function(r){let o=te(e).$implicit,a=_(2);return ne(a._emitActiveDateChange(o,r))}),ft(2,"span",8),h(3),_t(),gi(4,"span",9),_t()()}if(t&2){let e=i.$implicit,n=i.$index,r=_().$index,o=_();On("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),oe("data-mat-row",r)("data-mat-col",n),l(),Be(e.cssClasse
3508s),ee("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",o._isActiveCell(r,n))("mat-calendar-body-range-start",o._isRangeStart(e.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",o._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(e.compareValue,r,n))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(e.compareValue,r,n))("mat-calendar-body-comparison-start",o._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",o._isInPreview(e.compareValue)),In("tabIndex",o._isActiveCell(r,n)?0:-1),oe("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",o._isSelected(e.compareValue))("aria-current",o.todayValue===e.compareValue?"date":null)("aria-describedby",o._getDescribedby(e.compareValue)),l(),ee("mat-calendar-body-selected",o._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",o.todayValue===e.compareValue),l(),se(" ",e.displayValue," ")}}function GJ(t,i){if(t&1&&(ft(0,"tr",1),v(1,UJ,2,6,"td",4),He(2,zJ,5,49,"td",5,sH),_t()),t&2){let e=i.$implicit,n=i.$index,r=_();l(),y(n===0&&r._firstRowOffset?1:-1),l(),Ue(e)}}function WJ(t,i){if(t&1&&(u(0,"th",2)(1,"span",6),h(2),c(),u(3,"span",3),h(4),c()()),t&2){let e=i.$implicit;l(2),S(e.long),l(2),S(e.narrow)}}var $J=["*"];function qJ(t,i){}function YJ(t,i){if(t&1){let e=Se();u(0,"mat-month-view",4),So("activeDateChange",function(r){te(e);let o=_();return Ko(o.activeDate,r)||(o.activeDate=r),ne(r)}),T("_userSelection",function(r){te(e);let o=_();return ne(o._dateSelected(r))})("dragStarted",function(r){te(e);let o=_();return ne(o._dragStarted(r))})("dragEnded",function(r){te(e);let o=_();return ne(o._dragEnded(r))}),c()}if(t&2){let e=_();xo("activeDate",e.activeDate),g("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function KJ(t,i){if(t&1){let e=Se();u(0,"mat-year-view",5),So("activeDateChange",function(r){te(e);let o=_();return Ko(o.activeDate,r)||(o.activeDate=r),ne(r)}),T("monthSelected",function(r){te(e);let o=_();return ne(o._monthSelectedInYearView(r))})("selectedChange",function(r){te(e);let o=_();return ne(o._goToDateInView(r,"month"))}),c()}if(t&2){let e=_();xo("activeDate",e.activeDate),g("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function XJ(t,i){if(t&1){let e=Se();u(0,"mat-multi-year-view",6),So("activeDateChange",function(r){te(e);let o=_();return Ko(o.activeDate,r)||(o.activeDate=r),ne(r)}),T("yearSelected",function(r){te(e);let o=_();return ne(o._yearSelectedInMultiYearView(r))})("selectedChange",function(r){te(e);let o=_();return ne(o._goToDateInView(r,"year"))}),c()}if(t&2){let e=_();xo("activeDate",e.activeDate),g("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function ZJ(t,i){}var QJ=["button"],JJ=[[["","matDatepickerToggleIcon",""]]],eee=["[matDatepickerToggleIcon]"];function tee(t,i){t&1&&(Tn(),u(0,"svg",2),x(1,"path",3),c())}var Zp=(()=>{class t{changes=new O;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,n){return`${e} \u2013 ${n}`}formatYearRangeLabel(e,n){return`${e} to ${n}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),nee=0,y_=class{value;displayValue;ariaLabel;enabled;compareValue;rawValue;id=nee++;
3508cssClasses;constructor(i,e,n,r,o,a=i,s){this.value=i,this.displayValue=e,this.ariaLabel=n,this.enabled=r,this.compareValue=a,this.rawValue=s,this.cssClasses=o instanceof Set?Array.from(o):o}},iee={passive:!1,capture:!0},zC={passive:!0,capture:!0},tH={passive:!0},Xp=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_platform=m(gt);_intl=m(Zp);_eventCleanups;_skipNextFocus=!1;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart=null;comparisonEnd=null;previewStart=null;previewEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;selectedValueChange=new V;previewChange=new V;activeDateChange=new V;dragStarted=new V;dragEnded=new V;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=m(ie);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=m(ot),n=m(pt);this._startDateLabelId=n.getId("mat-calendar-body-start-"),this._endDateLabelId=n.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=n.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=n.getId("mat-calendar-body-comparison-end-"),m(Lt).load(mi),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,o=[e.listen(r,"touchmove",this._touchmoveHandler,iee),e.listen(r,"mouseenter",this._enterHandler,zC),e.listen(r,"focus",this._enterHandler,zC),e.listen(r,"mouseleave",this._leaveHandler,zC),e.listen(r,"blur",this._leaveHandler,zC),e.listen(r,"mousedown",this._mousedownHandler,tH),e.listen(r,"touchstart",this._mousedownHandler,tH)];this._platform.isBrowser&&o.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=o})}_cellClicked(e,n){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:n})}_emitActiveDateChange(e,n){e.enabled&&this.activeDateChange.emit({value:e.value,event:n})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let n=e.numCols,{rows:r,numCols:o}=this;(e.rows||n)&&(this._firstRowOffset=r&&r.length&&r[0].length?o-r[0].length:0),(e.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/o}%`),(n||!this._cellWidth)&&(this._cellWidth=`${100/o}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,n){let r=e*this.numCols+n;return e&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(e=!0){Dt(()=>{setTimeout(()=>{let n=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(e||(this._skipNextFocus=!0),n.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return Vk(e,this.startValue,this.endValue)}_isRangeEnd(e){return jk(e,this.startValue,this.endValue)}_isInRange(e){return Hk(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return Vk(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,n,r){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let o=this.rows[n][r-1];if(!o){let a=this.rows[n-1];o=a&&a[a.length-1]}return o&&!this._isRangeEnd(o.compareValue)}_isComparisonBridgeEnd(e,n,r){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let o=this.rows[n][r+1];if(!o){let a=this.rows[n+1];o=a&&a[0]}return o&&!this._isRangeStart(o.compareValue)}_isComparisonEnd(e){return jk(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return Hk(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return Vk(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return jk(e,this.previewStart,this.previewEnd)}_isInPreview(e){return Hk(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let n=this._getCellFromElement(e.target);n&&this._ngZone.run(()=>this.previewChange.emit({value:n.enabled?n:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let n=nH(e),r=n?this._getCellFromElement(n):null;n!==e.target&&(this._didDragSinceMouseDown=!0),Bk(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r?.enabled?r:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let n=e.target&&this._getCellFromElement(e.target);!n||!this._isInRange(n.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:n.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let n=Bk(e.target);if(!n){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}n.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(n);this.dragEnded.emit({value:r?.rawValue??null,event:e})})};_touchendHandler=e=>{let n=nH(e);n&&this._mouseupHandler({target:n})};_getCellFromElement(e){let n=Bk(e);if(n){let r=n.getAttribute("data-mat-row"),o=n.getAttribute("data-mat-col");if(r&&o)return this.rows[parseInt(r)]?.[parseInt(o)]||null}return null}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numC
3508ols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[Ke],attrs:VJ,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(n,r){n&1&&(v(0,HJ,3,6,"tr",0),He(1,GJ,4,1,"tr",1,jJ,!0),ft(3,"span",2),h(4),_t(),ft(5,"span",2),h(6),_t(),ft(7,"span",2),h(8),_t(),ft(9,"span",2),h(10),_t()),n&2&&(y(r._firstRowOffset<r.labelMinRequiredCells?0:-1),l(),Ue(r.rows),l(2),In("id",r._startDateLabelId),l(),se(" ",r.startDateAccessibleName,`
3509`),l(),In("id",r._endDateLabelId),l(),se(" ",r.endDateAccessibleName,`
3510`),l(),In("id",r._comparisonStartDateLabelId),l(),so(" ",r.comparisonDateAccessibleName," ",r.startDateAccessibleName,`
3511`),l(),In("id",r._comparisonEndDateLabelId),l(),so(" ",r.comparisonDateAccessibleName," ",r.endDateAccessibleName,`
3512`))},styles:[`.mat-calendar-body {
3513  min-width: 224px;
3514}
3515
3516.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3517  border-color: var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary));
3518}
3519
3520.mat-calendar-body-label {
3521  height: 0;
3522  line-height: 0;
3523  text-align: start;
3524  padding-left: 4.7142857143%;
3525  padding-right: 4.7142857143%;
3526  font-size: var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size));
3527  font-weight: var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight));
3528  color: var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface));
3529}
3530
3531.mat-calendar-body-hidden-label {
3532  display: none;
3533}
3534
3535.mat-calendar-body-cell-container {
3536  position: relative;
3537  height: 0;
3538  line-height: 0;
3539}
3540
3541.mat-calendar-body-cell {
3542  position: absolute;
3543  top: 0;
3544  left: 0;
3545  width: 100%;
3546  height: 100%;
3547  background: none;
3548  text-align: center;
3549  outline: none;
3550  margin: 0;
3551  font-family: var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));
3552  font-size: var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));
3553  -webkit-user-select: none;
3554  user-select: none;
3555  cursor: pointer;
3556  outline: none;
3557  border: none;
3558  -webkit-tap-highlight-color: transparent;
3559}
3560.mat-calendar-body-cell::-moz-focus-inner {
3561  border: 0;
3562}
3563
3564.mat-calendar-body-cell::before,
3565.mat-calendar-body-cell::after,
3566.mat-calendar-body-cell-preview {
3567  content: "";
3568  position: absolute;
3569  top: 5%;
3570  left: 0;
3571  z-index: 0;
3572  box-sizing: border-box;
3573  display: block;
3574  height: 90%;
3575  width: 100%;
3576}
3577
3578.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,
3579.mat-calendar-body-range-start::after,
3580.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,
3581.mat-calendar-body-comparison-start::after,
3582.mat-calendar-body-preview-start .mat-calendar-body-cell-preview {
3583  left: 5%;
3584  width: 95%;
3585  border-top-left-radius: 999px;
3586  border-bottom-left-radius: 999px;
3587}
3588[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,
3589[dir=rtl] .mat-calendar-body-range-start::after,
3590[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,
3591[dir=rtl] .mat-calendar-body-comparison-start::after,
3592[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview {
3593  left: 0;
3594  border-radius: 0;
3595  border-top-right-radius: 999px;
3596  border-bottom-right-radius: 999px;
3597}
3598
3599.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,
3600.mat-calendar-body-range-end::after,
3601.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,
3602.mat-calendar-body-comparison-end::after,
3603.mat-calendar-body-preview-end .mat-calendar-body-cell-preview {
3604  width: 95%;
3605  border-top-right-radius: 999px;
3606  border-bottom-right-radius: 999px;
3607}
3608[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,
3609[dir=rtl] .mat-calendar-body-range-end::after,
3610[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,
3611[dir=rtl] .mat-calendar-body-comparison-end::after,
3612[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview {
3613  left: 5%;
3614  border-radius: 0;
3615  border-top-left-radius: 999px;
3616  border-bottom-left-radius: 999px;
3617}
3618
3619[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,
3620[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after {
3621  width: 95%;
3622  border-top-right-radius: 999px;
3623  border-bottom-right-radius: 999px;
3624}
3625
3626.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after, [dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,
3627.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,
3628[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after {
3629  width: 90%;
3630}
3631
3632.mat-calendar-body-in-preview {
3633  color: var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary));
3634}
3635.mat-calendar-body-in-preview .mat-calendar-body-cell-preview {
3636  border-top: dashed 1px;
3637  border-bottom: dashed 1px;
3638}
3639
3640.mat-calendar-body-preview-start .mat-calendar-body-cell-preview {
3641  border-left: dashed 1px;
3642}
3643[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview {
3644  border-left: 0;
3645  border-right: dashed 1px;
3646}
3647
3648.mat-calendar-body-preview-end .mat-calendar-body-cell-preview {
3649  border-right: dashed 1px;
3650}
3651[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview {
3652  border-right: 0;
3653  border-left: dashed 1px;
3654}
3655
3656.mat-calendar-body-disabled {
3657  cursor: default;
3658}
3659.mat-calendar-body-disabled > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3660  color: var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
3661}
3662.mat-calendar-body-disabled > .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3663  border-color: var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
3664}
3665@media (forced-colors: active) {
3666  .mat-calendar-body-disabled {
3667    opacity: 0.5;
3668  }
3669}
3670
3671.mat-calendar-body-cell-content {
3672  top: 5%;
3673  left: 5%;
3674  z-index: 1;
3675  display: flex;
3676  align-items: center;
3677  justify-content: center;
3678  box-sizing: border-box;
3679  width: 90%;
3680  height: 90%;
3681  line-height: 1;
3682  border-width: 1px;
3683  border-style: solid;
3684  border-radius: 999px;
3685  color: var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));
3686  border-color: var(--mat-datepicker-calendar-date-outline-color, transparent);
3687}
3688.mat-calendar-body-cell-content.mat-focus-indicator {
3689  position: absolute;
3690}
3691@media (forced-colors: active) {
3692  .mat-calendar-body-cell-content {
3693    border: none;
3694  }
3695}
3696
3697.cdk-keyboard-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical), .cdk-program-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3698  background-color: var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));
3699}
3700
3701@media (hover: hover) {
3702  .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3703    background-color: var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));
3704  }
3705}
3706.mat-calendar-body-selected {
3707  background-color: var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));
3708  color: var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary));
3709}
3710.mat-calendar-body-disabled > .mat-calendar-body-selected {
3711  background-color: var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
3712}
3713.mat-calendar-body-selected.mat-calendar-body-today {
3714  box-shadow: inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary));
3715}
3716
3717.mat-calendar-body-in-range::before {
3718  background: var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container));
3719}
3720
3721.mat-calendar-body-comparison-identical,
3722.mat-calendar-body-in-comparison-range::before {
3723  background: var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container));
3724}
3725
3726.mat-calendar-body-comparison-identical,
3727.mat-calendar-body-in-comparison-range::before {
3728  background: var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container));
3729}
3730
3731.mat-calendar-body-comparison-bridge-start::before,
3732[dir=rtl] .mat-calendar-body-comparison-bridge-end::before {
3733  background: linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%);
3734}
3735
3736.mat-calendar-body-comparison-bridge-end::before,
3737[dir=rtl] .mat-calendar-body-comparison-bridge-start::before {
3738  background: linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%);
3739}
3740
3741.mat-calendar-body-in-range > .mat-calendar-body-comparison-identical,
3742.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after {
3743  background: var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container));
3744}
3745
3746.mat-calendar-body-comparison-identical.mat-calendar-body-selected,
3747.mat-calendar-body-in-comparison-range > .mat-calendar-body-selected {
3748  background: var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary));
3749}
3750
3751@media (forced-colors: active) {
3752  .mat-datepicker-popup:not(:empty),
3753  .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected {
3754    outline: solid 1px;
3755  }
3756  .mat-calendar-body-today {
3757    outline: dotted 1px;
3758  }
3759  .mat-calendar-body-cell::before,
3760  .mat-calendar-body-cell::after,
3761  .mat-calendar-body-selected {
3762    background: none;
3763  }
3764  .mat-calendar-body-in-range::before,
3765  .mat-calendar-body-comparison-bridge-start::before,
3766  .mat-calendar-body-comparison-bridge-end::before {
3767    border-top: solid 1px;
3768    border-bottom: solid 1px;
3769  }
3770  .mat-calendar-body-range-start::before {
3771    border-left: solid 1px;
3772  }
3773  [dir=rtl] .mat-calendar-body-range-start::before {
3774    border-left: 0;
3775    border-right: solid 1px;
3776  }
3777  .mat-calendar-body-range-end::before {
3778    border-right: solid 1px;
3779  }
3780  [dir=rtl] .mat-calendar-body-range-end::before {
3781    border-right: 0;
3782    border-left: solid 1px;
3783  }
3784  .mat-calendar-body-in-comparison-range::before {
3785    border-top: dashed 1px;
3786    border-bottom: dashed 1px;
3787  }
3788  .mat-calendar-body-comparison-start::before {
3789    border-left: dashed 1px;
3790  }
3791  [dir=rtl] .mat-calendar-body-comparison-start::before {
3792    border-left: 0;
3793    border-right: dashed 1px;
3794  }
3795  .mat-calendar-body-comparison-end::before {
3796    border-right: dashed 1px;
3797  }
3798  [dir=rtl] .mat-calendar-body-comparison-end::before {
3799    border-right: 0;
3800    border-left: dashed 1px;
3801  }
3802}
3803`],encapsulation:2,changeDetection:0})}return t})();function Lk(t){return t?.nodeName==="TD"}function Bk(t){let i;return Lk(t)?i=t:Lk(t.parentNode)?i=t.parentNode:Lk(t.parentNode?.parentNode)&&(i=t.parentNode.parentNode),i?.getAttribute("data-mat-row")!=null?i:null}function Vk(t,i,e){return e!==null&&i!==e&&t<e&&t===i}function jk(t,i,e){return i!==null&&i!==e&&t>=i&&t===e}function Hk(t,i,e,n){return n&&i!==null&&e!==null&&i!==e&&t>=i&&t<=e}function nH(t){let i=t.changedTouches[0];return document.elementFromPoint(i.clientX,i.clientY)}var Ca=class{start;end;_disableStructuralEquivalency;constructor(i,e){this.start=i,this.end=e}},C_=(()=>{class t{selection;_adapter;_selectionChanged=new O;selectionChanged=this._selectionChanged;constructor(e,n){this.selection=e,this._adapter=n,this.selection=e}updateSelection(e,n){let r=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:n,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static \u0275fac=function(n){Eu()};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),ree=(()=>{class t extends C_{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let e=new t(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(n){return new(n||t)(F(rr))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var lH={provide:C_,useFactory:()=>m(C_,{optional:!0,skipSelf:!0})||new ree(m(rr))};var cH=new R("MAT_DATE_RANGE_SELECTION_STRATEGY");var Uk=7,oee=0,iH=(()=>{class t{_changeDetectorRef=m(Ee);_dateFormats=m(qs,{optional:!0});_dateAdapter=m(rr,{optional:!0});_dir=m(an,{optional:!0});_rangeStrategy=m(cH,{optional:!0});_rerenderSubscription=_e.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(n,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Ca?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;activeDrag=null;selectedChange=new V;_userSelection=new V;dragStarted=new V;dragEnded=new V;activeDateChange=new V;_matCalendarBody;_monthLabel=Z("");_weeks=Z([]);_firstWeekOffset=Z(0);_rangeStart=Z(null);_rangeEnd=Z(null);_comparisonRangeStart=Z(null);_comparisonRangeEnd=Z(null);_previewStart=Z(null);_previewEnd=Z(null);_isRange=Z(!1);_todayDate=Z(null);_weekdays=Z([]);constructor(){m(Lt).load(zs),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Re(null)).subscribe(()=>this._init())}ngOnChanges(e){let n=e.comparisonStart||e.comparisonEnd;n&&!n.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){let n=e.value,r=this._getDateFromDayOfMonth(n),o,a;this._selected instanceof Ca?(o=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):o=a=this._getDateInCurrentMonth(this._selected),(o!==n||a!==n)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){let n=e.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(n),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&e.preventDefault();return;case 27:this._previewEnd()!=null&&!Ht(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation());return;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate.set(this._getCellCompareValue(this._dateAdapter.today())),this._monthLabel.set(this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase());let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset.set((Uk+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%Uk),this._initWeek
3803days(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:n}){if(this._rangeStrategy){let r=n?n.rawValue:null,o=this._rangeStrategy.createPreview(r,this.selected,e);if(this._previewStart.set(this._getCellCompareValue(o.start)),this._previewEnd.set(this._getCellCompareValue(o.end)),this.activeDrag&&r){let a=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,r,e);a&&(this._previewStart.set(this._getCellCompareValue(a.start)),this._previewEnd.set(this._getCellCompareValue(a.end)))}}}_dragEnded(e){if(this.activeDrag)if(e.value){let n=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:n??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){let e=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow"),o=this._dateAdapter.getDayOfWeekNames("long").map((a,s)=>({long:a,narrow:n[s],id:oee++}));this._weekdays.set(o.slice(e).concat(o.slice(0,e)))}_createWeekCells(){let e=this._dateAdapter.getNumDaysInMonth(this.activeDate),n=this._dateAdapter.getDateNames(),r=[[]];for(let o=0,a=this._firstWeekOffset();o<e;o++,a++){a==Uk&&(r.push([]),a=0);let s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),o+1),d=this._shouldEnableDate(s),p=this._dateAdapter.format(s,this._dateFormats.display.dateA11yLabel),f=this.dateClass?this.dateClass(s,"month"):void 0;r[r.length-1].push(new y_(o+1,n[o],p,d,f,this._getCellCompareValue(s),s))}this._weeks.set(r)}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,n){return!!(e&&n&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n)&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n))}_getCellCompareValue(e){if(e){let n=this._dateAdapter.getYear(e),r=this._dateAdapter.getMonth(e),o=this._dateAdapter.getDate(e);return new Date(n,r,o).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(e){e instanceof Ca?(this._rangeStart.set(this._getCellCompareValue(e.start)),this._rangeEnd.set(this._getCellCompareValue(e.end)),this._isRange.set(!0)):(this._rangeStart.set(this._getCellCompareValue(e)),this._rangeEnd.set(this._rangeStart()),this._isRange.set(!1)),this._comparisonRangeStart.set(this._getCellCompareValue(this.comparisonStart)),this._comparisonRangeEnd.set(this._getCellCompareValue(this.comparisonEnd))}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart.set(null),this._previewEnd.set(null)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-month-view"]],viewQuery:function(n,r){if(n&1&&ve(Xp,5),n&2){let o;H(o=U())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Ke],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(n,r){n&1&&(u(0,"table",0)(1,"thead",1)(2,"tr"),He(3,WJ,5,2,"th",2,sH),c(),u(5,"tr",3),x(6,"th",4),c()(),u(7,"tbody",5),T("selectedValueChange",function(a){return r._dateSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("previewChange",function(a){return r._previewChanged(a)})("dragStarted",function(a){return r.dragStarted.emit(a)})("dragEnded",function(a){return r._dragEnded(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),c()()),n&2&&(l(3),Ue(r._weekdays()),l(4),g("label",r._monthLabel())("rows",r._weeks())("todayValue",r._todayDate(
3803))("startValue",r._rangeStart())("endValue",r._rangeEnd())("comparisonStart",r._comparisonRangeStart())("comparisonEnd",r._comparisonRangeEnd())("previewStart",r._previewStart())("previewEnd",r._previewEnd())("isRange",r._isRange())("labelMinRequiredCells",3)("activeCell",r._dateAdapter.getDate(r.activeDate)-1)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName))},dependencies:[Xp],encapsulation:2,changeDetection:0})}return t})(),oa=24,zk=4,rH=(()=>{class t{_changeDetectorRef=m(Ee);_dateAdapter=m(rr,{optional:!0});_dir=m(an,{optional:!0});_rerenderSubscription=_e.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),dH(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Ca?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;selectedChange=new V;yearSelected=new V;activeDateChange=new V;_matCalendarBody;_years=Z([]);_todayYear=Z(0);_selectedYear=Z(null);constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Re(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear.set(this._dateAdapter.getYear(this._dateAdapter.today()));let n=this._dateAdapter.getYear(this._activeDate)-v_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),r=[];for(let o=0,a=[];o<oa;o++)a.push(n+o),a.length==zk&&(r.push(a.map(s=>this._createCellForYear(s))),a=[]);this._years.set(r),this._changeDetectorRef.markForCheck()}_yearSelected(e){let n=e.value,r=this._dateAdapter.createDate(n,0,1),o=this._getDateFromYear(n);this.yearSelected.emit(r),this.selectedChange.emit(o)}_updateActiveDate(e){let n=e.value,r=this._activeDate;this.activeDate=this._getDateFromYear(n),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-zk);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,zk);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-v_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,oa-v_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-oa*10:-oa);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?oa*10:oa);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return v_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){let n=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));return this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),r))}
3803_createCellForYear(e){let n=this._dateAdapter.createDate(e,0,1),r=this._dateAdapter.getYearName(n),o=this.dateClass?this.dateClass(n,"multi-year"):void 0;return new y_(e,r,r,this._shouldEnableYear(e),o)}_shouldEnableYear(e){if(e==null||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let n=this._dateAdapter.createDate(e,0,1);for(let r=n;this._dateAdapter.getYear(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(e){if(this._selectedYear.set(null),e instanceof Ca){let n=e.start||e.end;n&&this._selectedYear.set(this._dateAdapter.getYear(n))}else e&&this._selectedYear.set(this._dateAdapter.getYear(e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(n,r){if(n&1&&ve(Xp,5),n&2){let o;H(o=U())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(n,r){n&1&&(u(0,"table",0)(1,"thead",1)(2,"tr"),x(3,"th",2),c()(),u(4,"tbody",3),T("selectedValueChange",function(a){return r._yearSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),c()()),n&2&&(l(4),g("rows",r._years())("todayValue",r._todayYear())("startValue",r._selectedYear())("endValue",r._selectedYear())("numCols",4)("cellAspectRatio",4/7)("activeCell",r._getActiveCell()))},dependencies:[Xp],encapsulation:2,changeDetection:0})}return t})();function dH(t,i,e,n,r){let o=t.getYear(i),a=t.getYear(e),s=uH(t,n,r);return Math.floor((o-s)/oa)===Math.floor((a-s)/oa)}function v_(t,i,e,n){let r=t.getYear(i);return aee(r-uH(t,e,n),oa)}function uH(t,i,e){let n=0;return e?n=t.getYear(e)-oa+1:i&&(n=t.getYear(i)),n}function aee(t,i){return(t%i+i)%i}var oH=(()=>{class t{_changeDetectorRef=m(Ee);_dateFormats=m(qs,{optional:!0});_dateAdapter=m(rr,{optional:!0});_dir=m(an,{optional:!0});_rerenderSubscription=_e.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(n)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Ca?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;selectedChange=new V;monthSelected=new V;activeDateChange=new V;_matCalendarBody;_months=Z([]);_yearLabel=Z("");_todayMonth=Z(null);_selectedMonth=Z(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Re(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){let n=e.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(r);let o=this._getDateFromMonth(n);this.selectedChange.emit(o)}_updateActiveDate(e){let n=e.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(n),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth.set(this._getMonthInCurrentYear(this._dateAdapter.today())),this._yearLabel.set(this._dateAdapter.getYearName(this.activeDate));let e=this._dateAdapter.getMonthNames("short");this._months.set([[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(n=>n.map(r=>this._createCellForMonth(r,e[r])))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){let n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.getNumDaysInMonth(n);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(e,n){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),o=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(r,"year"):void 0;return new y_(e,n.toLocaleUpperCase(),o,this._shouldEnableMonth(e),a)}_shouldEnableMonth(e){let n=this._dateAdapter.getYear(this.activeDate);if(e==null||this._isYearAndMonthAfterMaxDate(n,e)||this._isYearAndMonthBeforeMinDate(n,e))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(n,e,1);for(let o=r;this._dateAdapter.getMonth(o)==e;
3803o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_isYearAndMonthAfterMaxDate(e,n){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),o=this._dateAdapter.getMonth(this.maxDate);return e>r||e===r&&n>o}return!1}_isYearAndMonthBeforeMinDate(e,n){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),o=this._dateAdapter.getMonth(this.minDate);return e<r||e===r&&n<o}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(e){e instanceof Ca?this._selectedMonth.set(this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end)):this._selectedMonth.set(this._getMonthInCurrentYear(e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-year-view"]],viewQuery:function(n,r){if(n&1&&ve(Xp,5),n&2){let o;H(o=U())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(n,r){n&1&&(u(0,"table",0)(1,"thead",1)(2,"tr"),x(3,"th",2),c()(),u(4,"tbody",3),T("selectedValueChange",function(a){return r._monthSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),c()()),n&2&&(l(4),g("label",r._yearLabel())("rows",r._months())("todayValue",r._todayMonth())("startValue",r._selectedMonth())("endValue",r._selectedMonth())("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",r._dateAdapter.getMonth(r.activeDate)))},dependencies:[Xp],encapsulation:2,changeDetection:0})}return t})(),mH=(()=>{class t{_intl=m(Zp);calendar=m(Gk);_dateAdapter=m(rr,{optional:!0});_dateFormats=m(qs,{optional:!0});_periodButtonText;_periodButtonDescription;_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){m(Lt).load(zs);let e=m(Ee);this._updateLabels(),this.calendar.stateChanges.subscribe(()=>{this._updateLabels(),e.markForCheck()})}get periodButtonText(){return this._periodButtonText}get periodButtonDescription(){return this._periodButtonDescription}get periodButtonLabel(){return this._periodButtonLabel}get prevButtonLabel(){return this._prevButtonLabel}get nextButtonLabel(){return this._nextButtonLabel}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.previousEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-oa))}nextClicked(){this.nextEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:oa))}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_updateLabels(){let e=this.calendar,n=this._intl,r=this._dateAdapter;e.currentView==="month"?(this._periodButtonText=r.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=r.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=n.switchToMultiYearViewLabel,this._prevButtonLabel=n.prevMonthLabel,this._nextButtonLabel=n.nextMonthLabel):e.currentView==="year"?(this._periodButtonText=r.getYearName(e.activeDate),this._periodButtonDescription=r.getYearName(e.activeDate),this._periodButtonLabel=n.switchToMonthViewLabel,this._prevButtonLabel=n.prevYearLabel,this._nextButtonLabel=n.nextYearLabel):(this._periodButtonText=n.formatYearRange(...this._formatMinAndMaxYearLabels()),this._periodButtonDescription=n.formatYearRangeLabel(...this._formatMinAndMaxYearLabels()),this._periodButtonLabel=n.switchToMonthViewLabel,this._prevButtonLabel=n.prevMultiYearLabel,this._nextButtonLabel=n.nextMultiYearLabel)}_isSameView(e,n){return this.calendar.currentView=="month"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n):this.calendar.currentView=="year"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n):dH(this._dateAdapter,e,n,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let n=this._dateAdapter.getYear(this.calendar.activeDate)-v_
3803(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),r=n+oa-1,o=this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1)),a=this._dateAdapter.getYearName(this._dateAdapter.createDate(r,0,1));return[o,a]}_periodButtonLabelId=m(pt).getId("mat-calendar-period-label-");static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:$J,decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["matButton","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-previous-button",3,"click","disabled","matTooltip"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-next-button",3,"click","disabled","matTooltip"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(n,r){n&1&&(Ie(),u(0,"div",0)(1,"div",1)(2,"span",2),h(3),c(),u(4,"button",3),T("click",function(){return r.currentPeriodClicked()}),u(5,"span",4),h(6),c(),Tn(),u(7,"svg",5),x(8,"polygon",6),c()(),Wo(),x(9,"div",7),re(10),u(11,"button",8),T("click",function(){return r.previousClicked()}),Tn(),u(12,"svg",9),x(13,"path",10),c()(),Wo(),u(14,"button",11),T("click",function(){return r.nextClicked()}),Tn(),u(15,"svg",9),x(16,"path",12),c()()()()),n&2&&(l(2),g("id",r._periodButtonLabelId),l(),S(r.periodButtonDescription),l(),oe("aria-label",r.periodButtonLabel)("aria-describedby",r._periodButtonLabelId),l(2),S(r.periodButtonText),l(),ee("mat-calendar-invert",r.calendar.currentView!=="month"),l(4),g("disabled",!r.previousEnabled())("matTooltip",r.prevButtonLabel),oe("aria-label",r.prevButtonLabel),l(3),g("disabled",!r.nextEnabled())("matTooltip",r.nextButtonLabel),oe("aria-label",r.nextButtonLabel))},dependencies:[qn,fr,Ys],encapsulation:2,changeDetection:0})}return t})(),Gk=(()=>{class t{_dateAdapter=m(rr,{optional:!0});_dateFormats=m(qs,{optional:!0});_changeDetectorRef=m(Ee);_elementRef=m(Q);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt=null;startView="month";get selected(){return this._selected}set selected(e){e instanceof Ca?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;selectedChange=new V;yearSelected=new V;monthSelected=new V;viewChanged=new V(!0);_userSelection=new V;_userDragDrop=new V;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(e){let n=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),n&&(this.stateChanges.next(),this.viewChanged.emit(n))}_currentView;_activeDrag=null;stateChanges=new O;constructor(){this._intlChanges=m(Zp).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new ko(this.headerComponent||mH),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){let n=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,r=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,o=n||r||e.dateFilter;if(o&&!o.firstChange){let a=this._getCurrentViewComponent();a&&(this._elementRef.nativeElement.contains(Io())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()?._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()?._init()}_dateSelected(e){let n=e.value;(this.selected instanceof Ca||n&&!this._dateAdapter.sameDate(n,this.selected))&&this.selectedChange.emit(n),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,n){this.activeDate=e,this.currentView=n}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-calendar"]],viewQuery:function(n,r){if(n&1&&ve(iH,5)(oH,5)(rH,5),n&2){let o;H(o=U())&&(r.monthView=o.first),H(o=U())&&(r.yearView=o.first),H(o=U())&&(r.multiYearView=o.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[me([lH]),Ke],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(n,r){if(n&1&&(fe(0,qJ,0,0,"ng-template",0),u(1,"div",1),v(2,YJ,1,11,"mat-month-view",2)(3,KJ,1,6,"mat-year-view",3)(4,XJ,1,6,"mat-multi-year-view",3),c()),n&2){let o;g("cdkPortalOutlet",r._calendarHeaderPortal),l(2),y((o=r.currentView)==="month"?2:o==="year"?3:o==="multi-year"?4:-1)}},dependencies:[ho,oC,iH,oH,rH],styles:[`.mat-calendar {
3804  display: block;
3805  line-height: normal;
3806  font-family: var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));
3807  font-size: var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));
3808}
3809
3810.mat-calendar-header {
3811  padding: 8px 8px 0 8px;
3812}
3813
3814.mat-calendar-content {
3815  padding: 0 8px 8px 8px;
3816  outline: none;
3817}
3818
3819.mat-calendar-controls {
3820  display: flex;
3821  align-items: center;
3822  margin: 5% calc(4.7142857143% - 16px);
3823}
3824
3825.mat-calendar-spacer {
3826  flex: 1 1 auto;
3827}
3828
3829.mat-calendar-period-button {
3830  min-width: 0;
3831  margin: 0 8px;
3832  font-size: var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));
3833  font-weight: var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));
3834  --mat-button-text-label-text-color: var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant));
3835}
3836
3837.mat-calendar-arrow {
3838  display: inline-block;
3839  width: 10px;
3840  height: 5px;
3841  margin: 0 0 0 5px;
3842  vertical-align: middle;
3843  fill: var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant));
3844}
3845.mat-calendar-arrow.mat-calendar-invert {
3846  transform: rotate(180deg);
3847}
3848[dir=rtl] .mat-calendar-arrow {
3849  margin: 0 5px 0 0;
3850}
3851@media (forced-colors: active) {
3852  .mat-calendar-arrow {
3853    fill: CanvasText;
3854  }
3855}
3856
3857.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),
3858.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled) {
3859  color: var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant));
3860}
3861[dir=rtl] .mat-calendar-previous-button,
3862[dir=rtl] .mat-calendar-next-button {
3863  transform: rotate(180deg);
3864}
3865
3866.mat-calendar-table {
3867  border-spacing: 0;
3868  border-collapse: collapse;
3869  width: 100%;
3870}
3871
3872.mat-calendar-table-header th {
3873  text-align: center;
3874  padding: 0 0 8px 0;
3875  color: var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));
3876  font-size: var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));
3877  font-weight: var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight));
3878}
3879
3880.mat-calendar-table-header-divider {
3881  position: relative;
3882  height: 1px;
3883}
3884.mat-calendar-table-header-divider::after {
3885  content: "";
3886  position: absolute;
3887  top: 0;
3888  left: -8px;
3889  right: -8px;
3890  height: 1px;
3891  background: var(--mat-datepicker-calendar-header-divider-color, transparent);
3892}
3893
3894.mat-calendar-body-cell-content::before {
3895  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1);
3896}
3897
3898.mat-calendar-body-cell:focus-visible .mat-focus-indicator::before {
3899  content: "";
3900}
3901`],encapsulation:2,changeDetection:0})}return t})(),see=new R("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ia(t)}}),pH=(()=>{class t{_elementRef=m(Q);_animationsDisabled=lt();_changeDetectorRef=m(Ee);_globalModel=m(C_);_dateAdapter=m(rr);_ngZone=m(le);_rangeSelectionStrategy=m(cH,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;_isAbove=!1;_animationDone=new O;_isAnimating=!1;_closeButtonText;_closeButtonFocused=!1;_actionsPortal=null;_dialogLabelId=null;constructor(){if(m(Lt).load(zs),this._closeButtonText=m(Zp).closeCalendarLabel,!this._animationsDisabled){let e=this._elementRef.nativeElement,n=m(ot);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[n.listen(e,"animationstart",this._handleAnimationEvent),n.listen(e,"animationend",this._handleAnimationEvent),n.listen(e,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(e=>e()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){let n=this._model.selection,r=e.value,o=n instanceof Ca;if(o&&this._rangeSelectionStrategy){let a=this._rangeSelectionStrategy.selectionFinished(r,n,e.event);this._model.updateSelection(a,this)}else r&&(o||!this._dateAdapter.sameDate(r,n))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=e=>{let n=this._elementRef.nativeElement;e.target!==n||!e.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=e.type==="animationstart",n.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};
3901_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,n){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,n&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(n,r){if(n&1&&ve(Gk,5),n&2){let o;H(o=U())&&(r._calendar=o.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(n,r){n&2&&(Be(r.color?"mat-"+r.color:""),ee("mat-datepicker-content-touch",r.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!r._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","matButton","elevated",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(n,r){n&1&&(u(0,"div",0)(1,"mat-calendar",1),T("yearSelected",function(a){return r.datepicker._selectYear(a)})("monthSelected",function(a){return r.datepicker._selectMonth(a)})("viewChanged",function(a){return r.datepicker._viewChanged(a)})("_userSelection",function(a){return r._handleUserSelection(a)})("_userDragDrop",function(a){return r._handleUserDragDrop(a)}),c(),fe(2,ZJ,0,0,"ng-template",2),u(3,"button",3),T("focus",function(){return r._closeButtonFocused=!0})("blur",function(){return r._closeButtonFocused=!1})("click",function(){return r.datepicker.close()}),h(4),c()()),n&2&&(ee("mat-datepicker-content-container-with-custom-header",r.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",r._actionsPortal),oe("aria-modal",!0)("aria-labelledby",r._dialogLabelId??void 0),l(),Be(r.datepicker.panelClass),g("id",r.datepicker.id)("startAt",r.datepicker.startAt)("startView",r.datepicker.startView)("minDate",r.datepicker._getMinDate())("maxDate",r.datepicker._getMaxDate())("dateFilter",r.datepicker._getDateFilter())("headerComponent",r.datepicker.calendarHeaderComponent)("selected",r._getSelected())("dateClass",r.datepicker.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName),l(),g("cdkPortalOutlet",r._actionsPortal),l(),ee("cdk-visually-hidden",!r._closeButtonFocused),g("color",r.color||"primary"),l(),S(r._closeButtonText))},dependencies:[qA,Gk,ho,qn],styles:[`@keyframes _mat-datepicker-content-dropdown-enter {
3902  from {
3903    opacity: 0;
3904    transform: scaleY(0.8);
3905  }
3906  to {
3907    opacity: 1;
3908    transform: none;
3909  }
3910}
3911@keyframes _mat-datepicker-content-dialog-enter {
3912  from {
3913    opacity: 0;
3914    transform: scale(0.8);
3915  }
3916  to {
3917    opacity: 1;
3918    transform: none;
3919  }
3920}
3921@keyframes _mat-datepicker-content-exit {
3922  from {
3923    opacity: 1;
3924  }
3925  to {
3926    opacity: 0;
3927  }
3928}
3929.mat-datepicker-content {
3930  display: block;
3931  background-color: var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));
3932  color: var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));
3933  box-shadow: var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));
3934  border-radius: var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large));
3935}
3936.mat-datepicker-content.mat-datepicker-content-animations-enabled {
3937  animation: _mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1);
3938}
3939.mat-datepicker-content .mat-calendar {
3940  width: 296px;
3941  height: 354px;
3942}
3943.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar {
3944  height: auto;
3945}
3946.mat-datepicker-content .mat-datepicker-close-button {
3947  position: absolute;
3948  top: 100%;
3949  left: 0;
3950  margin-top: 8px;
3951}
3952.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button {
3953  display: none;
3954}
3955
3956.mat-datepicker-content-container {
3957  display: flex;
3958  flex-direction: column;
3959  justify-content: space-between;
3960}
3961
3962.mat-datepicker-content-touch {
3963  display: block;
3964  max-height: 80vh;
3965  box-shadow: var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));
3966  border-radius: var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));
3967  position: relative;
3968  overflow: visible;
3969  min-height: fit-content;
3970}
3971.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled {
3972  animation: _mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1);
3973}
3974.mat-datepicker-content-touch .mat-datepicker-content-container {
3975  min-height: 312px;
3976  max-height: 788px;
3977  min-width: 250px;
3978  max-width: 750px;
3979}
3980.mat-datepicker-content-touch .mat-calendar {
3981  width: 100%;
3982  height: auto;
3983}
3984
3985.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled {
3986  animation: _mat-datepicker-content-exit 100ms linear;
3987}
3988
3989@media all and (orientation: landscape) {
3990  .mat-datepicker-content-touch .mat-datepicker-content-container {
3991    width: 64vh;
3992    height: 80vh;
3993  }
3994}
3995@media all and (orientation: portrait) {
3996  .mat-datepicker-content-touch .mat-datepicker-content-container {
3997    width: 80vw;
3998    height: 100vw;
3999  }
4000  .mat-datepicker-content-touch .mat-datepicker-content-container-with-actions {
4001    height: 115vw;
4002  }
4003}
4004`],encapsulation:2,changeDetection:0})}return t})(),aH=(()=>{class t{_injector=m(ie);
4004_viewContainerRef=m(Pt);_dateAdapter=m(rr,{optional:!0});_dir=m(an,{optional:!0});_model=m(C_);_animationsDisabled=lt();_scrollStrategy=m(see);_inputStateChanges=_e.EMPTY;_document=m(Ce);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt=null;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}_color;touchUi=!1;get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new V;monthSelected=new V;viewChanged=new V(!0);dateClass;openedStream=new V;closedStream=new V;get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=ij(e)}_panelClass;get opened(){return this._opened}set opened(e){e?this.open():this.close()}_opened=!1;id=m(pt).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef=null;_componentRef=null;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal=null;datepickerInput;stateChanges=new O;_changeDetectorRef=m(Ee);constructor(){this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(e){let n=e.xPosition||e.yPosition;if(n&&!n.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof Hp&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal,this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=Io(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;let e=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",n=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:r,location:o}=this._componentRef;r._animationDone.pipe(We(1)).subscribe(()=>{let a=this._document.activeElement;e&&(!a||a===this._document.activeElement||o.nativeElement.contains(a))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),r._startExitAnimation()}e?setTimeout(n):n()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let e=this.touchUi,n=new ko(pH,this._viewContainerRef),r=this._overlayRef=go(this._injector,new fo({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:e?$s(this._injector):this._scrollStrategy(),panelClass:`mat-datepicker-${e?"dialog":"popup"}`,disableAnimations:this._animationsDisabled}));this._getCloseStream(r).subscribe(o=>{o&&o.preventDefault(),this.close()}
4004),r.keydownEvents().subscribe(o=>{let a=o.keyCode;(a===38||a===40||a===37||a===39||a===33||a===34)&&o.preventDefault()}),this._componentRef=r.attach(n),this._forwardContentValues(this._componentRef.instance),e||Dt(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return va(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=ss(this._injector,this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){let n=this.xPosition==="end"?"end":"start",r=n==="start"?"end":"start",o=this.yPosition==="above"?"bottom":"top",a=o==="top"?"bottom":"top";return e.withPositions([{originX:n,originY:a,overlayX:n,overlayY:o},{originX:n,originY:o,overlayX:n,overlayY:a},{originX:r,originY:a,overlayX:r,overlayY:o},{originX:r,originY:o,overlayX:r,overlayY:a}])}_getCloseStream(e){let n=["ctrlKey","shiftKey","metaKey"];return ut(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(ae(r=>r.keyCode===27&&!Ht(r)||this.datepickerInput&&Ht(r,"altKey")&&r.keyCode===38&&n.every(o=>!Ht(r,o)))))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",q],disabled:[2,"disabled","disabled",q],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",q],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",q]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Ke]})}return t})(),zi=(()=>{class t extends aH{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[me([lH,{provide:aH,useExisting:t}]),he],decls:0,vars:0,template:function(n,r){},encapsulation:2,changeDetection:0})}return t})(),Kp=class{target;targetElement;value=null;constructor(i,e){this.target=i,this.targetElement=e,this.value=this.target.value}},lee=(()=>{class t{_elementRef=m(Q);_dateAdapter=m(rr,{optional:!0});_dateFormats=m(qs,{optional:!0});_isInitialized=!1;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e,!0)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){let n=e,r=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.next(void 0)),n&&this._isInitialized&&r.blur&&r.blur()}_disabled;dateChange=new V;dateInput=new V;stateChanges=new O;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=_e.EMPTY;_localeSubscription=_e.EMPTY;_pendingValue=null;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!n||this._matchesFilter(n)?null:{matDatepickerFilter:!0}};_minValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMinDate();return!r||!n||this._dateAdapter.compareDate(r,n)<=0?null:{matDatepickerMin:{min:r,actual:n}}};_maxValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMaxDate();return!r||!n||this._dateAdapter.compareDate(r,n)>=0?null:{matDatepickerMax:{max:r,actual:n}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(n=>{if(this._shouldHandleChangeEvent(n)){let r=this._getValueFromModel(n.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Kp(this,this._elementRef.nativeElement)),this.dateChange.emit(new Kp(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value,!0)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){cee(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}
4004registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e,e!==this.value)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){let n=["ctrlKey","shiftKey","metaKey"];Ht(e,"altKey")&&e.keyCode===40&&n.every(o=>!Ht(e,o))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){let n=e.target.value,r=this._lastValueValid,o=this._dateAdapter.parse(n,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(o),o=this._dateAdapter.getValidDateOrNull(o);let a=!this._dateAdapter.sameDate(o,this.value);!o||a?this._cvaOnChange(o):(n&&!this.value&&this._cvaOnChange(o),r!==this._lastValueValid&&this._validatorOnChange()),a&&(this._assignValue(o),this.dateInput.emit(new Kp(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Kp(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e!=null?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e,n){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),n&&this._formatValue(e)}_matchesFilter(e){let n=this._getDateFilter();return!n||n(e)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",q]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Ke]})}return t})();function cee(t,i){let e=Object.keys(t);for(let n of e){let{previousValue:r,currentValue:o}=t[n];if(i.isDateInstance(r)&&i.isDateInstance(o)){if(!i.sameDate(r,o))return!0}else return!0}return!1}var dee={provide:er,useExisting:bn(()=>pi),multi:!0},uee={provide:Zo,useExisting:bn(()=>pi),multi:!0},pi=(()=>{class t extends lee{_formField=m(Jl,{optional:!0});_closedSubscription=_e.EMPTY;_openedSubscription=_e.EMPTY;set matDatepicker(e){e&&(this._datepicker=e,this._ariaOwns.set(e.opened?e.id:null),this._closedSubscription=e.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=e.openedStream.subscribe(()=>{this._ariaOwns.set(e.id)}),this._registerModel(e.registerInput(this)))}_datepicker;_ariaOwns=Z(null);get min(){return this._min}set min(e){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._validatorOnChange())}_min=null;get max(){return this._max}set max(e){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._validatorOnChange())}_max=null;get dateFilter(){return this._dateFilter}set dateFilter(e){let n=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==n&&this._validatorOnChange()}_dateFilter;_validator=null;constructor(){super(),this._validator=G.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(n,r){n&1&&T("input",function(a){return r._onInput(a)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(a){return r._onKeydown(a)}),n&2&&(In("disabled",r.disabled),oe("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",r._ariaOwns())("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[me([dee,uee,{provide:UC,useExisting:t}]),he]})}return t})(),mee=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),Ri=(()=>{class t{_intl=m(Zp);
4004_changeDetectorRef=m(Ee);_stateChanges=_e.EMPTY;datepicker;tabIndex=null;ariaLabel;get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=e}_disabled;disableRipple=!1;_customIcon;_button;constructor(){let e=m(new di("tabindex"),{optional:!0}),n=Number(e);this.tabIndex=n||n===0?n:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){let e=this.datepicker?this.datepicker.stateChanges:P(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:P(),r=this.datepicker?ut(this.datepicker.openedStream,this.datepicker.closedStream):P();this._stateChanges.unsubscribe(),this._stateChanges=ut(this._intl.changes,e,n,r).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,mee,5),n&2){let a;H(a=U())&&(r._customIcon=a.first)}},viewQuery:function(n,r){if(n&1&&ve(QJ,5),n&2){let o;H(o=U())&&(r._button=o.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(n,r){n&1&&T("click",function(a){return r._open(a)}),n&2&&(oe("tabindex",null)("data-mat-calendar",r.datepicker?r.datepicker.id:null),ee("mat-datepicker-toggle-active",r.datepicker&&r.datepicker.opened)("mat-accent",r.datepicker&&r.datepicker.color==="accent")("mat-warn",r.datepicker&&r.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",q],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Ke],ngContentSelectors:eee,decls:4,vars:7,consts:[["button",""],["matIconButton","","type","button",3,"tabIndex","disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(n,r){n&1&&(Ie(JJ),u(0,"button",1,0),v(2,tee,2,0,":svg:svg",2),re(3),c()),n&2&&(g("tabIndex",r.disabled?-1:r.tabIndex)("disabled",r.disabled)("disableRipple",r.disableRipple),oe("aria-haspopup",r.datepicker?"dialog":null)("aria-label",r.ariaLabel||r._intl.openCalendarLabel)("aria-expanded",r.datepicker?r.datepicker.opened:null),l(2),y(r._customIcon?-1:2))},dependencies:[fr],styles:[`.mat-datepicker-toggle {
4005  pointer-events: auto;
4006  color: var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant));
4007}
4008.mat-datepicker-toggle button {
4009  color: inherit;
4010}
4011
4012.mat-datepicker-toggle-active {
4013  color: var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-primary));
4014}
4015
4016@media (forced-colors: active) {
4017  .mat-datepicker-toggle-default-icon {
4018    color: CanvasText;
4019  }
4020}
4021`],encapsulation:2,changeDetection:0})}return t})();var Wk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[Zp],imports:[_o,Ui,Ql,pr,pH,Ri,mH,De,ur]})}return t})();function pee(t,i){}var Jt=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},$k="mdc-dialog--open",hH="mdc-dialog--opening",fH="mdc-dialog--closing",hee=150,fee=75,gee=(()=>{class t extends g_{_animationStateChanged=new V;_animationsEnabled=!lt();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?_H(this._config.enterAnimationDuration)??hee:0;_exitAnimationDuration=this._animationsEnabled?_H(this._config.exitAnimationDuration)??fee:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(gH,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(hH,$k)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add($k),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove($k),this._animationsEnabled?(this._hostElement.style.setProperty(gH,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(fH)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(hH,fH)}_waitForAnimationToComplete(e,n){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let n=super.attachComponentPortal(e);return n.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),n}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(n,r){n&2&&(In("id",r._config.id),oe("aria-modal",r._config.ariaModal)("role",r._
vendor: 5,842 bytes, lines 4021-4193
4021config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),ee("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[he],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,r){n&1&&(u(0,"div",0)(1,"div",1),fe(2,pee,0,0,"ng-template",2),c()())},dependencies:[ho],styles:[`.mat-mdc-dialog-container {
4022  width: 100%;
4023  height: 100%;
4024  display: block;
4025  box-sizing: border-box;
4026  max-height: inherit;
4027  min-height: inherit;
4028  min-width: inherit;
4029  max-width: inherit;
4030  outline: 0;
4031}
4032
4033.cdk-overlay-pane.mat-mdc-dialog-panel {
4034  max-width: var(--mat-dialog-container-max-width, 560px);
4035  min-width: var(--mat-dialog-container-min-width, 280px);
4036}
4037@media (max-width: 599px) {
4038  .cdk-overlay-pane.mat-mdc-dialog-panel {
4039    max-width: var(--mat-dialog-container-small-max-width, calc(100vw - 32px));
4040  }
4041}
4042
4043.mat-mdc-dialog-inner-container {
4044  display: flex;
4045  flex-direction: row;
4046  align-items: center;
4047  justify-content: space-around;
4048  box-sizing: border-box;
4049  height: 100%;
4050  opacity: 0;
4051  transition: opacity linear var(--mat-dialog-transition-duration, 0ms);
4052  max-height: inherit;
4053  min-height: inherit;
4054  min-width: inherit;
4055  max-width: inherit;
4056}
4057.mdc-dialog--closing .mat-mdc-dialog-inner-container {
4058  transition: opacity 75ms linear;
4059  transform: none;
4060}
4061.mdc-dialog--open .mat-mdc-dialog-inner-container {
4062  opacity: 1;
4063}
4064._mat-animation-noopable .mat-mdc-dialog-inner-container {
4065  transition: none;
4066}
4067
4068.mat-mdc-dialog-surface {
4069  display: flex;
4070  flex-direction: column;
4071  flex-grow: 0;
4072  flex-shrink: 0;
4073  box-sizing: border-box;
4074  width: 100%;
4075  height: 100%;
4076  position: relative;
4077  overflow-y: auto;
4078  outline: 0;
4079  transform: scale(0.8);
4080  transition: transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);
4081  max-height: inherit;
4082  min-height: inherit;
4083  min-width: inherit;
4084  max-width: inherit;
4085  box-shadow: var(--mat-dialog-container-elevation-shadow, none);
4086  border-radius: var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));
4087  background-color: var(--mat-dialog-container-color, var(--mat-sys-surface, white));
4088}
4089[dir=rtl] .mat-mdc-dialog-surface {
4090  text-align: right;
4091}
4092.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface {
4093  transform: none;
4094}
4095._mat-animation-noopable .mat-mdc-dialog-surface {
4096  transition: none;
4097}
4098.mat-mdc-dialog-surface::before {
4099  position: absolute;
4100  box-sizing: border-box;
4101  width: 100%;
4102  height: 100%;
4103  top: 0;
4104  left: 0;
4105  border: 2px solid transparent;
4106  border-radius: inherit;
4107  content: "";
4108  pointer-events: none;
4109}
4110
4111.mat-mdc-dialog-title {
4112  display: block;
4113  position: relative;
4114  flex-shrink: 0;
4115  box-sizing: border-box;
4116  margin: 0 0 1px;
4117  padding: var(--mat-dialog-headline-padding, 6px 24px 13px);
4118}
4119.mat-mdc-dialog-title::before {
4120  display: inline-block;
4121  width: 0;
4122  height: 40px;
4123  content: "";
4124  vertical-align: 0;
4125}
4126[dir=rtl] .mat-mdc-dialog-title {
4127  text-align: right;
4128}
4129.mat-mdc-dialog-container .mat-mdc-dialog-title {
4130  color: var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
4131  font-family: var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));
4132  line-height: var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));
4133  font-size: var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));
4134  font-weight: var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));
4135  letter-spacing: var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em));
4136}
4137
4138.mat-mdc-dialog-content {
4139  display: block;
4140  flex-grow: 1;
4141  box-sizing: border-box;
4142  margin: 0;
4143  overflow: auto;
4144  max-height: 65vh;
4145}
4146.mat-mdc-dialog-content > :first-child {
4147  margin-top: 0;
4148}
4149.mat-mdc-dialog-content > :last-child {
4150  margin-bottom: 0;
4151}
4152.mat-mdc-dialog-container .mat-mdc-dialog-content {
4153  color: var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));
4154  font-family: var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));
4155  line-height: var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));
4156  font-size: var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));
4157  font-weight: var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));
4158  letter-spacing: var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em));
4159}
4160.mat-mdc-dialog-container .mat-mdc-dialog-content {
4161  padding: var(--mat-dialog-content-padding, 20px 24px);
4162}
4163.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content {
4164  padding: var(--mat-dialog-with-actions-content-padding, 20px 24px 0);
4165}
4166.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content {
4167  padding-top: 0;
4168}
4169
4170.mat-mdc-dialog-actions {
4171  display: flex;
4172  position: relative;
4173  flex-shrink: 0;
4174  flex-wrap: wrap;
4175  align-items: center;
4176  box-sizing: border-box;
4177  min-height: 52px;
4178  margin: 0;
4179  border-top: 1px solid transparent;
4180  padding: var(--mat-dialog-actions-padding, 16px 24px);
4181  justify-content: var(--mat-dialog-actions-alignment, flex-end);
4182}
4183@media (forced-colors: active) {
4184  .mat-mdc-dialog-actions {
4185    border-top-color: CanvasText;
4186  }
4187}
4188.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] {
4189  justify-content: start;
4190}
4191.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] {
4192  justify-content: center;
4193}
4194.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] {
4195  justify-content: flex-end;
4196}
4197.mat-mdc-dialog-actions .mat-button-base + .mat-button-base,
4198.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {
4199  margin-left: 8px;
4200}
4201[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base,
4202[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {
4203  margin-left: 0;
4204  margin-right: 8px;
4205}
4206
4207.mat-mdc-dialog-component-host {
4208  display: contents;
4209}
4210`],encapsulation:2})}return t})(),gH="--mat-dialog-transition-duration";function _H(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?xr(t.substring(0,t.length-2)):t.endsWith("s")?xr(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var GC=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(GC||{}),Ze=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new Co(1);_beforeClosed=new Co(1);_result;_closeFallbackTimeout;_state=GC.OPEN;_closeInteractionType;constructor(i,e,n){this._ref=i,this._config=e,this._containerInstance=n,this.disableClose=e.disableClose,this.id=i.id,i.addPanelClass("mat-mdc-dialog-panel"),n._animationStateChanged.pipe(ae(r=>r.state==="opened"),We(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(ae(r=>r.state==="closed"),We(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),ut(this.backdropClick(),this.keydownEvents().pipe(ae(r=>r.keyCode===27&&!this.disableClose&&!Ht(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),bH(this,r.type==="keydown"?"keyboard":"mouse"))})}close(i){let e=this._config.closePredicate;e&&!e(i,this._config,this.componentInstance)||(this._result=i,this._containerInstance._animationStateChanged.pipe(ae(n=>n.state==="closing"),We(1)).subscribe(n=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),n.totalTime+100)}),this._state=GC.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let e=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?e.left(i.left):e.right(i.right):e.centerHorizontally(),i&&(i.top||i.bottom)?i.top?e.top(i.top):e.bottom(i.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",e=""){return this._ref.updateSize(i,e),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=GC.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function bH(t,i,e){return t._closeInteractionType=i,t.close(e)}var rt=new R("MatMdcDialogData"),_ee=new R("mat-mdc-dialog-default-options"),bee=new R("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>$s(t)}}),mt=(()=>{class t{_defaultOptions=m(_ee,{optional:!0});_scrollStrategy=m(bee);_parentDialog=m(t,{optional:!0,skipSelf:!0});_idGenerator=m(pt);_injector=m(ie);_dialog=m(__);_animationsDisabled=lt();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new O;_afterOpenedAtThisLevel=new O;dialogConfigClass=Jt;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Wn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Re(void 0)));constructor(){this._dialogRefConstructor=Ze,this._dialogContainerType=gee,this._dialogDataToken=rt}open(e,n){let r;n=L(L({},this._defaultOptions||new Jt),n),n.id=n.id||this._idGenerator.getId("mat-mdc-dialog-"),n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,Ae(L({},n),{positionStrategy:va(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||n.enterAnimationDuration?.toLocaleStr
4210ing()==="0"||n.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:ud,useValue:n}]},templateContext:()=>({dialogRef:r}),providers:(a,s,d)=>(r=new this._dialogRefConstructor(a,n,d),r.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let n=e.length;for(;n--;)e[n].close()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),WC=(()=>{class t{dialogRef=m(Ze,{optional:!0});_elementRef=m(Q);_dialog=m(mt);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=yH(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let n=e._matDialogClose||e._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(e){bH(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,r){n&1&&T("click",function(a){return r._onButtonClick(a)}),n&2&&oe("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ke]})}return t})(),vH=(()=>{class t{_dialogRef=m(Ze,{optional:!0});_elementRef=m(Q);_dialog=m(mt);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=yH(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t})}return t})(),$C=(()=>{class t extends vH{id=m(pt).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(n,r){n&2&&In("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[he]})}return t})(),Qp=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[WT([Us])]})}return t})(),Jp=(()=>{class t extends vH{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(n,r){n&2&&ee("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[he]})}return t})();function yH(t,i){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?i.find(n=>n.id===e.id):null}var Ku=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[mt],imports:[PC,Ui,pr,De]})}return t})();var qWe=(()=>{class t{get vertical(){return this._vertical}set vertical(e){this._vertical=Fn(e)}_vertical=!1;get inset(){return this._inset}set inset(e){this._inset=Fn(e)}_inset=!1;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(n,r){n&2&&(oe("aria-orientation",r.vertical?"vertical":"horizontal"),ee("mat-divider-vertical",r.vertical)("mat-divider-horizontal",!r.vertical)("mat-divider-inset",r.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(n,r){},styles:[`.mat-divider {
4211  display: block;
4212  margin: 0;
4213  border-top-style: solid;
4214  border-top-color: var(--mat-divider-color, var(--mat-sys-outline-variant));
4215  border-top-width: var(--mat-divider-width, 1px);
4216}
4217.mat-divider.mat-divider-vertical {
4218  border-top: 0;
4219  border-right-style: solid;
4220  border-right-color: var(--mat-divider-color, var(--mat-sys-outline-variant));
4221  border-right-width: var(--mat-divider-width, 1px);
4222}
4223.mat-divider.mat-divider-inset {
4224  margin-left: 80px;
4225}
4226[dir=rtl] .mat-divider.mat-divider-inset {
4227  margin-left: auto;
4228  margin-right: 80px;
4229}
4230`],encapsulation:2,changeDetection:0})}return t})(),D_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var qk=new R("CdkAccordion"),CH=(()=>{class t{_stateChanges=new O;_openCloseAllActions=new O;id=m(pt).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",q]},exportAs:["cdkAccordion"],features:[me([{provide:qk,useExisting:t}]),Ke]})}return t})(),DH=(()=>{class t{accordion=m(qk,{optional:!0,skipSelf:!0});_changeDetectorRef=m(Ee);_expansionDispatcher=m(Gu);_openCloseAllSubscription=_e.EMPTY;closed=new V;opened=new V;destroyed=new V;expandedChange=new V;id=m(pt).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let n=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,n)}
4230else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Z(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,n)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===n&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",q],disabled:[2,"disabled","disabled",q]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[me([{provide:qk,useValue:void 0}])]})}return t})(),EH=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var vee=["body"],yee=["bodyWrapper"],Cee=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Dee=["mat-expansion-panel-header","*","mat-action-row"];function Eee(t,i){}var wee=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],xee=["mat-panel-title","mat-panel-description","*"];function See(t,i){t&1&&(ft(0,"span",1),Tn(),ft(1,"svg",2),gi(2,"path",3),_t()())}var Yk=new R("MAT_ACCORDION"),wH=new R("MAT_EXPANSION_PANEL"),Tee=(()=>{class t{_template=m(Zt);_expansionPanel=m(wH,{optional:!0});constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),xH=new R("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),tc=(()=>{class t extends DH{_viewContainerRef=m(Pt);_animationsDisabled=lt();_document=m(Ce);_ngZone=m(le);_elementRef=m(Q);_renderer=m(ot);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new V;afterCollapse=new V;_inputChanges=new O;accordion=m(Yk,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=m(pt).getId("mat-expansion-panel-header-");constructor(){super();let e=m(xH,{optional:!0});this._expansionDispatcher=m(Gu),e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Re(null),ae(()=>this.expanded&&!this._portal),We(1)).subscribe(()=>{this._portal=new Sr(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,n=this._body.nativeElement;return e===n||n.contains(e)}return!1}_transitionEndListener=({target:e,propertyName:n})=>{e===this._bodyWrapper?.nativeElement&&n==="grid-template-rows"&&this._ngZone.run(()=>
4230{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let e=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this._transitionEndListener),e.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Tee,5),n&2){let a;H(a=U())&&(r._lazyContent=a.first)}},viewQuery:function(n,r){if(n&1&&ve(vee,5)(yee,5),n&2){let o;H(o=U())&&(r._body=o.first),H(o=U())&&(r._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(n,r){n&2&&ee("mat-expanded",r.expanded)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",q],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[me([{provide:Yk,useValue:void 0},{provide:wH,useExisting:t}]),he,Ke],ngContentSelectors:Dee,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(n,r){n&1&&(Ie(Cee),re(0),u(1,"div",2,0)(3,"div",3,1)(5,"div",4),re(6,1),fe(7,Eee,0,0,"ng-template",5),c(),re(8,2),c()()),n&2&&(l(),oe("inert",r.expanded?null:""),l(2),g("id",r.id),oe("aria-labelledby",r._headerId),l(4),g("cdkPortalOutlet",r._portal))},dependencies:[ho],styles:[`.mat-expansion-panel {
4231  box-sizing: content-box;
4232  display: block;
4233  margin: 0;
4234  overflow: hidden;
4235}
4236.mat-expansion-panel.mat-expansion-panel-animations-enabled {
4237  transition: margin 225ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
4238}
4239.mat-expansion-panel {
4240  position: relative;
4241  background: var(--mat-expansion-container-background-color, var(--mat-sys-surface));
4242  color: var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));
4243  border-radius: var(--mat-expansion-container-shape, 12px);
4244}
4245.mat-expansion-panel:not([class*=mat-elevation-z]) {
4246  box-shadow: var(--mat-expansion-container-elevation-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));
4247}
4248.mat-accordion .mat-expansion-panel:not(.mat-expanded), .mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing) {
4249  border-radius: 0;
4250}
4251.mat-accordion .mat-expansion-panel:first-of-type {
4252  border-top-right-radius: var(--mat-expansion-container-shape, 12px);
4253  border-top-left-radius: var(--mat-expansion-container-shape, 12px);
4254}
4255.mat-accordion .mat-expansion-panel:last-of-type {
4256  border-bottom-right-radius: var(--mat-expansion-container-shape, 12px);
4257  border-bottom-left-radius: var(--mat-expansion-container-shape, 12px);
4258}
4259@media (forced-colors: active) {
4260  .mat-expansion-panel {
4261    outline: solid 1px;
4262  }
4263}
4264
4265.mat-expansion-panel-content-wrapper {
4266  display: grid;
4267  grid-template-rows: 0fr;
4268  grid-template-columns: 100%;
4269}
4270.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper {
4271  transition: grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1);
4272}
4273.mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper {
4274  grid-template-rows: 1fr;
4275}
4276@supports not (grid-template-rows: 0fr) {
4277  .mat-expansion-panel-content-wrapper {
4278    height: 0;
4279  }
4280  .mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper {
4281    height: auto;
4282  }
4283}
4284@media print {
4285  .mat-expansion-panel-content-wrapper {
4286    height: 0;
4287  }
4288  .mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper {
4289    height: auto;
4290  }
4291}
4292
4293.mat-expansion-panel-content {
4294  display: flex;
4295  flex-direction: column;
4296  overflow: visible;
4297  min-height: 0;
4298  visibility: hidden;
4299}
4300.mat-expansion-panel-animations-enabled .mat-expansion-panel-content {
4301  transition: visibility 190ms linear;
4302}
4303.mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper > .mat-expansion-panel-content {
4304  visibility: visible;
4305}
4306.mat-expansion-panel-content {
4307  font-family: var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));
4308  font-size: var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));
4309  font-weight: var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));
4310  line-height: var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));
4311  letter-spacing: var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking));
4312}
4313
4314.mat-expansion-panel-body {
4315  padding: 0 24px 16px;
4316}
4317
4318.mat-expansion-panel-spacing {
4319  margin: 16px 0;
4320}
4321.mat-accordion > .mat-expansion-panel-spacing:first-child, .mat-accordion > *:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing {
4322  margin-top: 0;
4323}
4324.mat-accordion > .mat-expansion-panel-spacing:last-child, .mat-accordion > *:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing {
4325  margin-bottom: 0;
4326}
4327
4328.mat-action-row {
4329  border-top-style: solid;
4330  border-top-width: 1px;
4331  display: flex;
4332  flex-direction: row;
4333  justify-content: flex-end;
4334  padding: 16px 8px 16px 24px;
4335  border-top-color: var(--mat-expansion-actions-divider-color, var(--mat-sys-outline));
4336}
4337.mat-action-row .mat-button-base,
4338.mat-action-row .mat-mdc-button-base {
4339  margin-left: 8px;
4340}
4341[dir=rtl] .mat-action-row .mat-button-base,
4342[dir=rtl] .mat-action-row .mat-mdc-button-base {
4343  margin-left: 0;
4344  margin-right: 8px;
4345}
4346`],encapsulation:2,changeDetection:0})}return t})();var nc=(()=>{class t{panel=m(tc,{host:!0});_element=m(Q);_focusMonitor=m(oi);_changeDetectorRef=m(Ee);_parentChangeSubscription=_e.EMPTY;constructor(){m(Lt).load(mi);let e=this.panel,n=m(xH,{optional:!0}),r=m(new di("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(ae(a=>!!(a.hideToggle||a.togglePosition))):ke;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=ut(e.opened,e.closed,o,e._inputChanges.pipe(ae(a=>!!(a.hideToggle||a.disabled||a.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(ae(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),n&&(this.expandedHeight=n.expandedHeight,this.collapsedHeight=n.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}
4346_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Ht(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,n){e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(n,r){n&1&&T("click",function(){return r._toggle()})("keydown",function(a){return r._keydown(a)}),n&2&&(oe("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),On("height",r._getHeaderHeight()),ee("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:rn(e)]},ngContentSelectors:xee,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(n,r){n&1&&(Ie(wee),ft(0,"span",0),re(1),re(2,1),re(3,2),_t(),v(4,See,3,0,"span",1)),n&2&&(ee("mat-content-hide-toggle",!r._showToggle()),l(4),y(r._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header {
4347  display: flex;
4348  flex-direction: row;
4349  align-items: center;
4350  padding: 0 24px;
4351  border-radius: inherit;
4352}
4353.mat-expansion-panel-animations-enabled .mat-expansion-panel-header {
4354  transition: height 225ms cubic-bezier(0.4, 0, 0.2, 1);
4355}
4356.mat-expansion-panel-header::before {
4357  border-radius: inherit;
4358}
4359.mat-expansion-panel-header {
4360  height: var(--mat-expansion-header-collapsed-state-height, 48px);
4361  font-family: var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));
4362  font-size: var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));
4363  font-weight: var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));
4364  line-height: var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));
4365  letter-spacing: var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking));
4366}
4367.mat-expansion-panel-header.mat-expanded {
4368  height: var(--mat-expansion-header-expanded-state-height, 64px);
4369}
4370.mat-expansion-panel-header[aria-disabled=true] {
4371  color: var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
4372}
4373.mat-expansion-panel-header:not([aria-disabled=true]) {
4374  cursor: pointer;
4375}
4376.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover {
4377  background: var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));
4378}
4379@media (hover: none) {
4380  .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover {
4381    background: var(--mat-expansion-container-background-color, var(--mat-sys-surface));
4382  }
4383}
4384.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused {
4385  background: var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));
4386}
4387.mat-expansion-panel-header._mat-animation-noopable {
4388  transition: none;
4389}
4390.mat-expansion-panel-header:focus, .mat-expansion-panel-header:hover {
4391  outline: none;
4392}
4393.mat-expansion-panel-header.mat-expanded:focus, .mat-expansion-panel-header.mat-expanded:hover {
4394  background: inherit;
4395}
4396.mat-expansion-panel-header.mat-expansion-toggle-indicator-before {
4397  flex-direction: row-reverse;
4398}
4399.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator {
4400  margin: 0 16px 0 0;
4401}
4402[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator {
4403  margin: 0 0 0 16px;
4404}
4405
4406.mat-content {
4407  display: flex;
4408  flex: 1;
4409  flex-direction: row;
4410  overflow: hidden;
4411}
4412.mat-content.mat-content-hide-toggle {
4413  margin-right: 8px;
4414}
4415[dir=rtl] .mat-content.mat-content-hide-toggle {
4416  margin-right: 0;
4417  margin-left: 8px;
4418}
4419.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle {
4420  margin-left: 24px;
4421  margin-right: 0;
4422}
4423[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle {
4424  margin-right: 24px;
4425  margin-left: 0;
4426}
4427
4428.mat-expansion-panel-header-title {
4429  color: var(--mat-expansion-header-text-color, var(--mat-sys-on-surface));
4430}
4431
4432.mat-expansion-panel-header-title,
4433.mat-expansion-panel-header-description {
4434  display: flex;
4435  flex-grow: 1;
4436  flex-basis: 0;
4437  margin-right: 16px;
4438  align-items: center;
4439}
4440[dir=rtl] .mat-expansion-panel-header-title,
4441[dir=rtl] .mat-expansion-panel-header-description {
4442  margin-right: 0;
4443  margin-left: 16px;
4444}
4445.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,
4446.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description {
4447  color: inherit;
4448}
4449
4450.mat-expansion-panel-header-description {
4451  flex-grow: 2;
4452  color: var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant));
4453}
4454
4455.mat-expansion-panel-animations-enabled .mat-expansion-indicator {
4456  transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1);
4457}
4458.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator {
4459  transform: rotate(180deg);
4460}
4461.mat-expansion-indicator::after {
4462  border-style: solid;
4463  border-width: 0 2px 2px 0;
4464  content: "";
4465  padding: 3px;
4466  transform: rotate(45deg);
4467  vertical-align: middle;
4468  color: var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));
4469  display: var(--mat-expansion-legacy-header-indicator-display, none);
4470}
4471.mat-expansion-indicator svg {
4472  width: 24px;
4473  height: 24px;
4474  margin: 0 -8px;
4475  vertical-align: middle;
4476  fill: var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));
4477  display: var(--mat-expansion-header-indicator-display, inline-block);
4478}
4479
4480@media (forced-colors: active) {
4481  .mat-expansion-panel-content {
4482    border-top: 1px solid;
4483    border-top-left-radius: 0;
4484    border-top-right-radius: 0;
4485  }
4486}
4487`],encapsulation:2,changeDetection:0})}return t})();var pd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),S8e=(()=>{class t extends CH{_keyManager;_ownHeaders=new ro;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(Re(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(n=>n.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new os(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["mat-accordion"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,nc,5),n&2){let a;H(a=U())&&(r._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",q],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[me([{provide:Yk,useExisting:t}]),he]})}return t})(),Kk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[EH,pr,De]})}return t})();var zr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Mp,Ve,De]})}return t})();var Zk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Nk,De,Nk]})}return t})();function SH(t){return Error(`Unable to find icon with the name "${t}"`)}function Iee(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function TH(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function IH(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var ic=class{url;svgText;options;svgElement=null;
4487constructor(i,e,n){this.url=i,this.svgText=e,this.options=n}},kH=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,n,r,o){this._httpClient=e,this._sanitizer=n,this._errorHandler=o,this._document=r}addSvgIcon(e,n,r){return this.addSvgIconInNamespace("",e,n,r)}addSvgIconLiteral(e,n,r){return this.addSvgIconLiteralInNamespace("",e,n,r)}addSvgIconInNamespace(e,n,r,o){return this._addSvgIconConfig(e,n,new ic(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,r,o){let a=this._sanitizer.sanitize(cn.HTML,r);if(!a)throw IH(r);let s=ju(a);return this._addSvgIconConfig(e,n,new ic("",s,o))}addSvgIconSet(e,n){return this.addSvgIconSetInNamespace("",e,n)}addSvgIconSetLiteral(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}addSvgIconSetInNamespace(e,n,r){return this._addSvgIconSetConfig(e,new ic(n,null,r))}addSvgIconSetLiteralInNamespace(e,n,r){let o=this._sanitizer.sanitize(cn.HTML,n);if(!o)throw IH(n);let a=ju(o);return this._addSvgIconSetConfig(e,new ic("",a,r))}registerFontClassAlias(e,n=e){return this._fontCssClassesByAlias.set(e,n),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let n=this._sanitizer.sanitize(cn.RESOURCE_URL,e);if(!n)throw TH(e);let r=this._cachedIconsByUrl.get(n);return r?P(qC(r)):this._loadSvgIconFromConfig(new ic(e,null)).pipe(B(o=>this._cachedIconsByUrl.set(n,o)),$(o=>qC(o)))}getNamedSvgIcon(e,n=""){let r=AH(n,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(n,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let a=this._iconSetConfigs.get(n);return a?this._getSvgFromIconSetConfigs(e,a):gn(SH(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?P(qC(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe($(n=>qC(n)))}_getSvgFromIconSetConfigs(e,n){let r=this._extractIconWithNameFromAnySet(e,n);if(r)return P(r);let o=n.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Ge(s=>{let p=`Loading icon set URL: ${this._sanitizer.sanitize(cn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(p)),P(null)})));return Jd(o).pipe($(()=>{let a=this._extractIconWithNameFromAnySet(e,n);if(!a)throw SH(e);return a}))}_extractIconWithNameFromAnySet(e,n){for(let r=n.length-1;r>=0;r--){let o=n[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(B(n=>e.svgText=n),$(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?P(null):this._fetchIcon(e).pipe(B(n=>e.svgText=n))}_extractSvgIconFromSet(e,n,r){let o=e.querySelector(`[id="${n}"]`);if(!o)return null;let a=o.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,r);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),r);let s=this._svgElementFromString(ju("<svg></svg>"));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){let n=this._document.createElement("DIV");n.innerHTML=e;let r=n.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let n=this._svgElementFromString(ju("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){let{name:a,value:s}=r[o];a!=="id"&&n.setAttribute(a,s)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&n.appendChild(e.childNodes[o].cloneNode(!0));return n}_setSvgAttributes(e,n){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),n&&n.viewBox&&e.setAttribute("viewBox",n.viewB
4487ox),e}_fetchIcon(e){let{url:n,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw Iee();if(n==null)throw Error(`Cannot fetch icon from URL "${n}".`);let a=this._sanitizer.sanitize(cn.RESOURCE_URL,n);if(!a)throw TH(n);let s=this._inProgressUrlFetches.get(a);if(s)return s;let d=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe($(p=>ju(p)),Zr(()=>this._inProgressUrlFetches.delete(a)),_f());return this._inProgressUrlFetches.set(a,d),d}_addSvgIconConfig(e,n,r){return this._svgIconConfigs.set(AH(e,n),r),this}_addSvgIconSetConfig(e,n){let r=this._iconSetConfigs.get(e);return r?r.push(n):this._iconSetConfigs.set(e,[n]),this}_svgElementFromConfig(e){if(!e.svgElement){let n=this._svgElementFromString(e.svgText);this._setSvgAttributes(n,e.options),e.svgElement=n}return e.svgElement}_getIconConfigFromResolvers(e,n){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](n,e);if(o)return Aee(o)?new ic(o.url,null,o.options):new ic(o,null)}}static \u0275fac=function(n){return new(n||t)(F(ge,8),F(Iu),F(Ce,8),F(Lr))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function qC(t){return t.cloneNode(!0)}function AH(t,i){return t+":"+i}function Aee(t){return!!(t.url&&t.options)}var kee=["*"],Ree=new R("MAT_ICON_DEFAULT_OPTIONS"),Mee=new R("mat-icon-location",{providedIn:"root",factory:()=>{let t=m(Ce),i=t?t.location:null;return{getPathname:()=>i?i.pathname+i.search:""}}}),RH=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Nee=RH.map(t=>`[${t}]`).join(", "),Oee=/^url\(['"]?#(.*?)['"]?\)$/,zn=(()=>{class t{_elementRef=m(Q);_iconRegistry=m(kH);_location=m(Mee);_errorHandler=m(Lr);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let n=this._cleanupFontValue(e);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let n=this._cleanupFontValue(e);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=_e.EMPTY;constructor(){let e=m(new di("aria-hidden"),{optional:!0}),n=m(Ree,{optional:!0});n&&(n.color&&(this.color=this._defaultColor=n.color),n.fontSet&&(this.fontSet=n.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let n=e.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,n=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let r=e.childNodes[n];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),n.forEach(r=>e.classList.add(r)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let n=this._elementsWithExternalReferences;
4487n&&n.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let n=e.querySelectorAll(Nee),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<n.length;o++)RH.forEach(a=>{let s=n[o],d=s.getAttribute(a),p=d?d.match(Oee):null;if(p){let f=r.get(s);f||(f=[],r.set(s,f)),f.push({name:a,value:p[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[n,r]=this._splitIconName(e);n&&(this._svgNamespace=n),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,n).pipe(We(1)).subscribe(o=>this._setSvgElement(o),o=>{let a=`Error retrieving icon ${n}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,r){n&2&&(oe("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Be(r.color?"mat-"+r.color:""),ee("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",q],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:kee,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},styles:[`mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn {
4488  color: var(--mat-icon-color, inherit);
4489}
4490
4491.mat-icon {
4492  -webkit-user-select: none;
4493  user-select: none;
4494  background-repeat: no-repeat;
4495  display: inline-block;
4496  fill: currentColor;
4497  height: 24px;
4498  width: 24px;
4499  overflow: hidden;
4500}
4501.mat-icon.mat-icon-inline {
4502  font-size: inherit;
4503  height: inherit;
4504  line-height: inherit;
4505  width: inherit;
4506}
4507.mat-icon.mat-ligature-font[fontIcon]::before {
4508  content: attr(fontIcon);
4509}
4510
4511[dir=rtl] .mat-icon-rtl-mirror {
4512  transform: scale(-1, 1);
4513}
4514
4515.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,
4516.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon {
4517  display: block;
4518}
4519.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,
4520.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon {
4521  margin: auto;
4522}
4523`],encapsulation:2,changeDetection:0})}return t})(),E_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var Fee=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`textarea.cdk-textarea-autosize {
4524  resize: none;
4525}
4526
4527textarea.cdk-textarea-autosize-measuring {
4528  padding: 2px 0 !important;
4529  box-sizing: content-box !important;
4530  height: auto !important;
4531  overflow: hidden !important;
4532}
4533
4534textarea.cdk-textarea-autosize-measuring-firefox {
4535  padding: 2px 0 !important;
4536  box-sizing: content-box !important;
4537  height: 0 !important;
4538}
4539
4540@keyframes cdk-text-field-autofill-start { /*!*/ }
4541@keyframes cdk-text-field-autofill-end { /*!*/ }
4542.cdk-text-field-autofill-monitored:-webkit-autofill {
4543  animation: cdk-text-field-autofill-start 0s 1ms;
4544}
4545
4546.cdk-text-field-autofill-monitored:not(:-webkit-autofill) {
4547  animation: cdk-text-field-autofill-end 0s 1ms;
4548}
4549`],encapsulation:2,changeDetection:0})}return t})(),Pee={passive:!0},MH=(()=>{class t{_platform=m(gt);_ngZone=m(le);_renderer=m(fi).createRenderer(null,null);_styleLoader=m(Lt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return ke;this._styleLoader.load(Fee);let n=_i(e),r=this._monitoredElements.get(n);if(r)return r.subject;let o=new O,a="cdk-text-field-autofilled",s=p=>{p.animationName==="cdk-text-field-autofill-start"&&!n.classList.contains(a)?(n.classList.add(a),this._ngZone.run(()=>o.next({target:p.target,isAutofilled:!0}))):p.animationName==="cdk-text-field-autofill-end"&&n.classList.contains(a)&&(n.classList.remove(a),this._ngZone.run(()=>o.next({target:p.target,isAutofilled:!1})))},d=this._ngZone.runOutsideAngular(()=>(n.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(n,"animationstart",s,Pee)));return this._monitoredElements.set(n,{subject:o,unlisten:d}),o}stopMonitoring(e){let n=_i(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))}
4549ngOnDestroy(){this._monitoredElements.forEach((e,n)=>this.stopMonitoring(n))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var NH=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var Lee=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Bee=new R("MAT_INPUT_CONFIG"),et=(()=>{class t{_elementRef=m(Q);_platform=m(gt);ngControl=m(Li,{optional:!0,self:!0});_autofillMonitor=m(MH);_ngZone=m(le);_formField=m(Jl,{optional:!0});_renderer=m(ot);_uid=m(pt).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=m(Bee,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new O;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=Fn(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(G.required)??!1}set required(e){this._required=Fn(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&ZA().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Fn(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>ZA().has(e));constructor(){let e=m(pp,{optional:!0}),n=m($n,{optional:!0}),r=m($p),o=m(UC,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();o?Os(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new qp(r,this.ngControl,n,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&io(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}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._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}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){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let n=this._elementRef.nativeElement;n.type==="number"?(n.type="text",n.setSelectionRange(0,0),n.type="number"):n.setSelectionRange(0,0)}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(){Lee.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.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let n=this._elementRef.nativeElement;e.length?n.setAttribute("aria-describedby",e.join(" ")):n.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let n=e.target;!n.value&&n.selectionStart===0&&n.selectionEnd===0&&(n.setSelectionRange(1,1),n.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(n,r){n&1&&T("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),n&2&&(In("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),oe("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ee("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("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",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},exportAs:["matInput"],features:[me([{provide:zp,useExisting:t}]),Ke]})}return t})(),cs=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[zr,zr,NH,De]})}return t})();var OH=["*"],FH=`.mdc-list {
4550  margin: 0;
4551  padding: 8px 0;
4552  list-style-type: none;
4553}
4554.mdc-list:focus {
4555  outline: none;
4556}
4557
4558.mdc-list-item {
4559  display: flex;
4560  position: relative;
4561  justify-content: flex-start;
4562  overflow: hidden;
4563  padding: 0;
4564  align-items: stretch;
4565  cursor: pointer;
4566  padding-left: 16px;
4567  padding-right: 16px;
4568  background-color: var(--mat-list-list-item-container-color, transparent);
4569  border-radius: var(--mat-list-list-item-container-shape, var(--mat-sys-corner-none));
4570}
4571.mdc-list-item.mdc-list-item--selected {
4572  background-color: var(--mat-list-list-item-selected-container-color);
4573}
4574.mdc-list-item:focus {
4575  outline: 0;
4576}
4577.mdc-list-item.mdc-list-item--disabled {
4578  cursor: auto;
4579}
4580.mdc-list-item.mdc-list-item--with-one-line {
4581  height: var(--mat-list-list-item-one-line-container-height, 48px);
4582}
4583.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start {
4584  align-self: center;
4585  margin-top: 0;
4586}
4587.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end {
4588  align-self: center;
4589  margin-top: 0;
4590}
4591.mdc-list-item.mdc-list-item--with-two-lines {
4592  height: var(--mat-list-list-item-two-line-container-height, 64px);
4593}
4594.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start {
4595  align-self: flex-start;
4596  margin-top: 16px;
4597}
4598.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end {
4599  align-self: center;
4600  margin-top: 0;
4601}
4602.mdc-list-item.mdc-list-item--with-three-lines {
4603  height: var(--mat-list-list-item-three-line-container-height, 88px);
4604}
4605.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start {
4606  align-self: flex-start;
4607  margin-top: 16px;
4608}
4609.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end {
4610  align-self: flex-start;
4611  margin-top: 16px;
4612}
4613.mdc-list-item.mdc-list-item--selected::before, .mdc-list-item.mdc-list-item--selected:focus::before, .mdc-list-item:not(.mdc-list-item--selected):focus::before {
4614  position: absolute;
4615  box-sizing: border-box;
4616  width: 100%;
4617  height: 100%;
4618  top: 0;
4619  left: 0;
4620  content: "";
4621  pointer-events: none;
4622}
4623
4624a.mdc-list-item {
4625  color: inherit;
4626  text-decoration: none;
4627}
4628
4629.mdc-list-item__start {
4630  fill: currentColor;
4631  flex-shrink: 0;
4632  pointer-events: none;
4633}
4634.mdc-list-item--with-leading-icon .mdc-list-item__start {
4635  color: var(--mat-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));
4636  width: var(--mat-list-list-item-leading-icon-size, 24px);
4637  height: var(--mat-list-list-item-leading-icon-size, 24px);
4638  margin-left: 16px;
4639  margin-right: 32px;
4640}
4641[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start {
4642  margin-left: 32px;
4643  margin-right: 16px;
4644}
4645.mdc-list-item--with-leading-icon:hover .mdc-list-item__start {
4646  color: var(--mat-list-list-item-hover-leading-icon-color);
4647}
4648.mdc-list-item--with-leading-avatar .mdc-list-item__start {
4649  width: var(--mat-list-list-item-leading-avatar-size, 40px);
4650  height: var(--mat-list-list-item-leading-avatar-size, 40px);
4651  margin-left: 16px;
4652  margin-right: 16px;
4653  border-radius: 50%;
4654}
4655.mdc-list-item--with-leading-avatar .mdc-list-item__start, [dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start {
4656  margin-left: 16px;
4657  margin-right: 16px;
4658  border-radius: 50%;
4659}
4660
4661.mdc-list-item__end {
4662  flex-shrink: 0;
4663  pointer-events: none;
4664}
4665.mdc-list-item--with-trailing-meta .mdc-list-item__end {
4666  font-family: var(--mat-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));
4667  line-height: var(--mat-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));
4668  font-size: var(--mat-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));
4669  font-weight: var(--mat-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));
4670  letter-spacing: var(--mat-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking));
4671}
4672.mdc-list-item--with-trailing-icon .mdc-list-item__end {
4673  color: var(--mat-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));
4674  width: var(--mat-list-list-item-trailing-icon-size, 24px);
4675  height: var(--mat-list-list-item-trailing-icon-size, 24px);
4676}
4677.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end {
4678  color: var(--mat-list-list-item-hover-trailing-icon-color);
4679}
4680.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end {
4681  color: var(--mat-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant));
4682}
4683.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end {
4684  color: var(--mat-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary));
4685}
4686
4687.mdc-list-item__content {
4688  text-overflow: ellipsis;
4689  white-space: nowrap;
4690  overflow: hidden;
4691  align-self: center;
4692  flex: 1;
4693  pointer-events: none;
4694}
4695.mdc-list-item--with-two-lines .mdc-list-item__content, .mdc-list-item--with-three-lines .mdc-list-item__content {
4696  align-self: stretch;
4697}
4698
4699.mdc-list-item__primary-text {
4700  text-overflow: ellipsis;
4701  white-space: nowrap;
4702  overflow: hidden;
4703  color: var(--mat-list-list-item-label-text-color, var(--mat-sys-on-surface));
4704  font-family: var(--mat-list-list-item-label-text-font, var(--mat-sys-body-large-font));
4705  line-height: var(--mat-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));
4706  font-size: var(--mat-list-list-item-label-text-size, var(--mat-sys-body-large-size));
4707  font-weight: var(--mat-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));
4708  letter-spacing: var(--mat-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking));
4709}
4710.mdc-list-item:hover .mdc-list-item__primary-text {
4711  color: var(--mat-list-list-item-hover-label-text-color, var(--mat-sys-on-surface));
4712}
4713.mdc-list-item:focus .mdc-list-item__primary-text {
4714  color: var(--mat-list-list-item-focus-label-text-color, var(--mat-sys-on-surface));
4715}
4716.mdc-list-item--with-two-lines .mdc-list-item__primary-text, .mdc-list-item--with-three-lines .mdc-list-item__primary-text {
4717  display: block;
4718  margin-top: 0;
4719  line-height: normal;
4720  margin-bottom: -20px;
4721}
4722.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before, .mdc-list-item--with-three-lines .mdc-list-item__primary-text::before {
4723  display: inline-block;
4724  width: 0;
4725  height: 28px;
4726  content: "";
4727  vertical-align: 0;
4728}
4729.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after, .mdc-list-item--with-three-lines .mdc-list-item__primary-text::after {
4730  display: inline-block;
4731  width: 0;
4732  height: 20px;
4733  content: "";
4734  vertical-align: -20px;
4735}
4736
4737.mdc-list-item__secondary-text {
4738  text-overflow: ellipsis;
4739  white-space: nowrap;
4740  overflow: hidden;
4741  display: block;
4742  margin-top: 0;
4743  color: var(--mat-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));
4744  font-family: var(--mat-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));
4745  line-height: var(--mat-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));
4746  font-size: var(--mat-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));
4747  font-weight: var(--mat-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));
4748  letter-spacing: var(--mat-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking));
4749}
4750.mdc-list-item__secondary-text::before {
4751  display: inline-block;
4752  width: 0;
4753  height: 20px;
4754  content: "";
4755  vertical-align: 0;
4756}
4757.mdc-list-item--with-three-lines .mdc-list-item__secondary-text {
4758  white-space: normal;
4759  line-height: 20px;
4760}
4761.mdc-list-item--with-overline .mdc-list-item__secondary-text {
4762  white-space: nowrap;
4763  line-height: auto;
4764}
4765
4766.mdc-list-item--with-leading-radio.mdc-list-item,
4767.mdc-list-item--with-leading-checkbox.mdc-list-item,
4768.mdc-list-item--with-leading-icon.mdc-list-item,
4769.mdc-list-item--with-leading-avatar.mdc-list-item {
4770  padding-left: 0;
4771  padding-right: 16px;
4772}
4773[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,
4774[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,
4775[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,
4776[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item {
4777  padding-left: 16px;
4778  padding-right: 0;
4779}
4780.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,
4781.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,
4782.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,
4783.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text {
4784  display: block;
4785  margin-top: 0;
4786  line-height: normal;
4787  margin-bottom: -20px;
4788}
4789.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,
4790.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,
4791.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,
4792.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before {
4793  display: inline-block;
4794  width: 0;
4795  height: 32px;
4796  content: "";
4797  vertical-align: 0;
4798}
4799.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,
4800.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,
4801.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,
4802.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after {
4803  display: inline-block;
4804  width: 0;
4805  height: 20px;
4806  content: "";
4807  vertical-align: -20px;
4808}
4809.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,
4810.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,
4811.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,
4812.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end {
4813  display: block;
4814  margin-top: 0;
4815  line-height: normal;
4816}
4817.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,
4818.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,
4819.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,
4820.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before {
4821  display: inline-block;
4822  width: 0;
4823  height: 32px;
4824  content: "";
4825  vertical-align: 0;
4826}
4827
4828.mdc-list-item--with-trailing-icon.mdc-list-item, [dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item {
4829  padding-left: 0;
4830  padding-right: 0;
4831}
4832.mdc-list-item--with-trailing-icon .mdc-list-item__end {
4833  margin-left: 16px;
4834  margin-right: 16px;
4835}
4836
4837.mdc-list-item--with-trailing-meta.mdc-list-item {
4838  padding-left: 16px;
4839  padding-right: 0;
4840}
4841[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item {
4842  padding-left: 0;
4843  padding-right: 16px;
4844}
4845.mdc-list-item--with-trailing-meta .mdc-list-item__end {
4846  -webkit-user-select: none;
4847  user-select: none;
4848  margin-left: 28px;
4849  margin-right: 16px;
4850}
4851[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end {
4852  margin-left: 16px;
4853  margin-right: 28px;
4854}
4855.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end, .mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end {
4856  display: block;
4857  line-height: normal;
4858  align-self: flex-start;
4859  margin-top: 0;
4860}
4861.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before, .mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before {
4862  display: inline-block;
4863  width: 0;
4864  height: 28px;
4865  content: "";
4866  vertical-align: 0;
4867}
4868
4869.mdc-list-item--with-leading-radio .mdc-list-item__start,
4870.mdc-list-item--with-leading-checkbox .mdc-list-item__start {
4871  margin-left: 8px;
4872  margin-right: 24px;
4873}
4874[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,
4875[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start {
4876  margin-left: 24px;
4877  margin-right: 8px;
4878}
4879.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,
4880.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start {
4881  align-self: flex-start;
4882  margin-top: 8px;
4883}
4884
4885.mdc-list-item--with-trailing-radio.mdc-list-item,
4886.mdc-list-item--with-trailing-checkbox.mdc-list-item {
4887  padding-left: 16px;
4888  padding-right: 0;
4889}
4890[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,
4891[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item {
4892  padding-left: 0;
4893  padding-right: 16px;
4894}
4895.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon, .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,
4896.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,
4897.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar {
4898  padding-left: 0;
4899}
4900[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon, [dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,
4901[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,
4902[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar {
4903  padding-right: 0;
4904}
4905.mdc-list-item--with-trailing-radio .mdc-list-item__end,
4906.mdc-list-item--with-trailing-checkbox .mdc-list-item__end {
4907  margin-left: 24px;
4908  margin-right: 8px;
4909}
4910[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,
4911[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end {
4912  margin-left: 8px;
4913  margin-right: 24px;
4914}
4915.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,
4916.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end {
4917  align-self: flex-start;
4918  margin-top: 8px;
4919}
4920
4921.mdc-list-group__subheader {
4922  margin: 0.75rem 16px;
4923}
4924
4925.mdc-list-item--disabled .mdc-list-item__start,
4926.mdc-list-item--disabled .mdc-list-item__content,
4927.mdc-list-item--disabled .mdc-list-item__end {
4928  opacity: 1;
4929}
4930.mdc-list-item--disabled .mdc-list-item__primary-text,
4931.mdc-list-item--disabled .mdc-list-item__secondary-text {
4932  opacity: var(--mat-list-list-item-disabled-label-text-opacity, 0.3);
4933}
4934.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start {
4935  color: var(--mat-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));
4936  opacity: var(--mat-list-list-item-disabled-leading-icon-opacity, 0.38);
4937}
4938.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end {
4939  color: var(--mat-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));
4940  opacity: var(--mat-list-list-item-disabled-trailing-icon-opacity, 0.38);
4941}
4942
4943.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing, [dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing {
4944  padding-left: 0;
4945  padding-right: 0;
4946}
4947
4948.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text {
4949  color: var(--mat-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface));
4950}
4951
4952.mdc-list-item:hover::before {
4953  background-color: var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));
4954  opacity: var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
4955}
4956
4957.mdc-list-item.mdc-list-item--disabled::before {
4958  background-color: var(--mat-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));
4959  opacity: var(--mat-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
4960}
4961
4962.mdc-list-item:focus::before {
4963  background-color: var(--mat-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));
4964  opacity: var(--mat-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
4965}
4966
4967.mdc-list-item--disabled .mdc-radio,
4968.mdc-list-item--disabled .mdc-checkbox {
4969  opacity: var(--mat-list-list-item-disabled-label-text-opacity, 0.3);
4970}
4971
4972.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar {
4973  border-radius: var(--mat-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));
4974  background-color: var(--mat-list-list-item-leading-avatar-color, var(--mat-sys-primary-container));
4975}
4976
4977.mat-mdc-list-item-icon {
4978  font-size: var(--mat-list-list-item-leading-icon-size, 24px);
4979}
4980
4981@media (forced-colors: active) {
4982  a.mdc-list-item--activated::after {
4983    content: "";
4984    position: absolute;
4985    top: 50%;
4986    right: 16px;
4987    transform: translateY(-50%);
4988    width: 10px;
4989    height: 0;
4990    border-bottom: solid 10px;
4991    border-radius: 10px;
4992  }
4993  a.mdc-list-item--activated [dir=rtl]::after {
4994    right: auto;
4995    left: 16px;
4996  }
4997}
4998
4999.mat-mdc-list-base {
5000  display: block;
5001}
5002.mat-mdc-list-base .mdc-list-item__start,
5003.mat-mdc-list-base .mdc-list-item__end,
5004.mat-mdc-list-base .mdc-list-item__content {
5005  pointer-events: auto;
5006}
5007
5008.mat-mdc-list-item,
5009.mat-mdc-list-option {
5010  width: 100%;
5011  box-sizing: border-box;
5012  -webkit-tap-highlight-color: transparent;
5013}
5014.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),
5015.mat-mdc-list-option:not(.mat-mdc-list-it
5015em-interactive) {
5016  cursor: default;
5017}
5018.mat-mdc-list-item .mat-divider-inset,
5019.mat-mdc-list-option .mat-divider-inset {
5020  position: absolute;
5021  left: 0;
5022  right: 0;
5023  bottom: 0;
5024}
5025.mat-mdc-list-item .mat-mdc-list-item-avatar ~ .mat-divider-inset,
5026.mat-mdc-list-option .mat-mdc-list-item-avatar ~ .mat-divider-inset {
5027  margin-left: 72px;
5028}
5029[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar ~ .mat-divider-inset,
5030[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar ~ .mat-divider-inset {
5031  margin-right: 72px;
5032}
5033
5034.mat-mdc-list-item-interactive::before {
5035  top: 0;
5036  left: 0;
5037  right: 0;
5038  bottom: 0;
5039  position: absolute;
5040  content: "";
5041  opacity: 0;
5042  pointer-events: none;
5043  border-radius: inherit;
5044}
5045
5046.mat-mdc-list-item > .mat-focus-indicator {
5047  top: 0;
5048  left: 0;
5049  right: 0;
5050  bottom: 0;
5051  position: absolute;
5052  pointer-events: none;
5053}
5054.mat-mdc-list-item:focus-visible > .mat-focus-indicator::before {
5055  content: "";
5056}
5057
5058.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text {
5059  white-space: nowrap;
5060  line-height: normal;
5061}
5062.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text {
5063  display: -webkit-box;
5064  -webkit-box-orient: vertical;
5065  -webkit-line-clamp: 2;
5066}
5067
5068mat-action-list button {
5069  background: none;
5070  color: inherit;
5071  border: none;
5072  font: inherit;
5073  outline: inherit;
5074  -webkit-tap-highlight-color: transparent;
5075  text-align: start;
5076}
5077mat-action-list button::-moz-focus-inner {
5078  border: 0;
5079}
5080
5081.mdc-list-item--with-leading-icon .mdc-list-item__start {
5082  margin-inline-start: var(--mat-list-list-item-leading-icon-start-space, 16px);
5083  margin-inline-end: var(--mat-list-list-item-leading-icon-end-space, 16px);
5084}
5085
5086.mat-mdc-nav-list .mat-mdc-list-item {
5087  border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));
5088  --mat-focus-indicator-border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));
5089}
5090.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated {
5091  background-color: var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container));
5092}
5093`,PH=["unscopedContent"],Vee=["text"],jee=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],Hee=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],Uee=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],zee=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"];function Gee(t,i){t&1&&re(0,4)}function Wee(t,i){if(t&1&&(u(0,"div",11),x(1,"input",12),u(2,"div",13),Tn(),u(3,"svg",14),x(4,"path",15),c(),Wo(),x(5,"div",16),c()()),t&2){let e=_();ee("mdc-checkbox--disabled",e.disabled),l(),g("checked",e.selected)("disabled",e.disabled)}}function $ee(t,i){if(t&1&&(u(0,"div",17),x(1,"input",18),u(2,"div",19),x(3,"div",20)(4,"div",21),c()()),t&2){let e=_();ee("mdc-radio--disabled",e.disabled),l(),g("checked",e.selected)("disabled",e.disabled)}}function qee(t,i){}function Yee(t,i){if(t&1&&(u(0,"span",4),fe(1,qee,0,0,"ng-template",6),c()),t&2){_();let e=ye(3);l(),g("ngTemplateOutlet",e)}}function Kee(t,i){}function Xee(t,i){if(t&1&&(u(0,"span",5),fe(1,Kee,0,0,"ng-template",6),c()),t&2){_();let e=ye(5);l(),g("ngTemplateOutlet",e)}}function Zee(t,i){}function Qee(t,i){if(t&1&&fe(0,Zee,0,0,"ng-template",6),t&2){_();let e=ye(1);g("ngTemplateOutlet",e)}}function Jee(t,i){}function ete(t,i){if(t&1&&(u(0,"span",9),fe(1,Jee,0,0,"ng-template",6),c()),t&2){_();let e=ye(3);l(),g("ngTemplateOutlet",e)}}function tte(t,i){}function nte(t,i){if(t&1&&(u(0,"span",9),fe(1,tte,0,0,"ng-template",6),c()),t&2){_();let e=ye(5);l(),g("ngTemplateOutlet",e)}}function ite(t,i){}function rte(t,i){if(t&1&&fe(0,ite,0,0,"ng-template",6),t&2){_();let e=ye(1);g("ngTemplateOutlet",e)}}var LH=new R("ListOption"),BH=(()=>{class t{_elementRef=m(Q);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return t})(),VH=(()=>{class t{_elementRef=m(Q);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return t})(),ote=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return t})(),jH=(()=>{class t{_listOption=m(LH,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,hostVars:4,hostBindings:function(n,r){n&2&&ee("mdc-list-item__start",r._isAlignedAtStart())("mdc-list-item__end",!r._isAlignedAtStart())}})}return t})(),ate=(()=>{class t extends jH{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[he]})}return t})(),ste=(()=>{class t extends jH{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[he]})}return t})(),lte=new R("MAT_LIST_CONFIG"),w_=(()=>{class t{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Fn(e)}_disableRipple=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(Fn(e))}_disabled=Z(!1);_defaultOptions=m(lte,{optional:!0});static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,hostVars:1,hostBindings:function(n,r){n&2&&oe("aria-disabled",r.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return t})(),Qk=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_listBase=m(w_,{optional:!0});_platform=m(gt);_hostElement;_isButtonElement;_noopAnimations=lt();_avatars;_icons;set lines(e){this._explicitLines=xr(e,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=Fn(e)}_disableRipple=!1;get disabled(){return this._disabled()||!!this._listBase?.disabled}set disabled(e){this._disabled.set(Fn(e))}_disabled=Z(!1);_subscriptions=new _e;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){m(Lt).load(mi);let e=m(ld,{optional:!0});this.rippleConfig=e||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new sd(this,this._ngZone,this._hostElement,this._platform,m(ie)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(ut(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}
5093_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();let n=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",n===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",n===3),this._hasUnscopedTextContent){let o=this._titles.length===0&&n===1;r.classList.toggle("mdc-list-item__primary-text",o),r.classList.toggle("mdc-list-item__secondary-text",!o)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!!(e.textContent&&e.textContent.trim()))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,contentQueries:function(n,r,o){if(n&1&&Gt(o,ate,4)(o,ste,4),n&2){let a;H(a=U())&&(r._avatars=a),H(a=U())&&(r._icons=a)}},hostVars:4,hostBindings:function(n,r){n&2&&(oe("aria-disabled",r.disabled)("disabled",r._isButtonElement&&r.disabled||null),ee("mdc-list-item--disabled",r.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return t})();var i6e=(()=>{class t extends Qk{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(e){this._activated=Fn(e)}_activated=!1;_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,VH,5)(o,BH,5)(o,ote,5),n&2){let a;H(a=U())&&(r._lines=a),H(a=U())&&(r._titles=a),H(a=U())&&(r._meta=a)}},viewQuery:function(n,r){if(n&1&&ve(PH,5)(Vee,5),n&2){let o;H(o=U())&&(r._unscopedContent=o.first),H(o=U())&&(r._itemText=o.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(n,r){n&2&&(oe("aria-current",r._getAriaCurrent()),ee("mdc-list-item--activated",r.activated)("mdc-list-item--with-leading-avatar",r._avatars.length!==0)("mdc-list-item--with-leading-icon",r._icons.length!==0)("mdc-list-item--with-trailing-meta",r._meta.length!==0)("mat-mdc-list-item-both-leading-and-trailing",r._hasBothLeadingAndTrailing())("_mat-animation-noopable",r._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[he],ngContentSelectors:Hee,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(n,r){n&1&&(Ie(jee),re(0),u(1,"span",1),re(2,1),re(3,2),u(4,"span",2,0),T("cdkObserveContent",function(){return r._updateItemLines(!0)}),re(6,3),c()(),re(7,4),re(8,5),x(9,"div",3))},dependencies:[Qg],encapsulation:2,changeDetection:0})}return t})(),HH=new R("SelectionList"),cte=(()=>{class t extends Qk{_selectionList=m(HH);_changeDetectorRef=m(Ee);_lines;_titles;_unscopedContent;selectedChange=new V;togglePosition="after";get checkboxPosition(){return this.togglePosition}set checkboxPosition(e){this.togglePosition=e}get color(){return this._color||this._selectionList.color}set color(e){this._color=e}_color;get value(){return this._value}set value(e){this.selected&&e!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=e}_value;get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(e){let n=Fn(e);n!==this._selected&&(this._setSelected(n),(n||this._selectionList.multiple)&&this._selectionList._reportValueChange())}_selected=!1;_inputsInitialized=!1;ngOnInit(){let e=this._selectionList;e._value&&e._value.some(r=>e.compareWith(this._value,r))&&this._setSelected(!0);let n=this._selected;Promise.resolve().then(()=>{(this._selected||n)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(e){return this._selectionList.multiple&&this._getTogglePosition()===e}_hasRadioAt(e){return!this._selectionList.multiple&&this._getTogglePosition()===e&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(e){return this._hasProjected("icons",e)||this._hasProjected("avatars",e)}_hasProjected(e,n){return this._getTogglePosition()!==n&&(e==="avatars"?this._avatars.length!==0:this._icons.length!==0)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(e){return e===this._selected?!1:(this._selected=e,e?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(e),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(e){this._hostElement.setAttribute("tabindex",e+"")}_hasBothLeadingAndTrailing(){let e=this._hasProjected("avatars","before")||this._hasProjected("icons","before")||this._hasCheckboxAt("before")||this._hasRadioAt("before"),n=this._hasProjected("icons","after")||this._hasProjected("avatars","after")||this._hasCheckboxAt("after")||this._hasRadioAt("after");return e&&n}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-list-option"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,VH,5)(o,BH,5),n&2){let a;H(a=U())&&(r._lines=a),H(a=U())&&(r._titles=a)}},viewQuery:function(n,r){if(n&1&&ve(PH,5),n&2){let o;H(o=U())&&(r._unscopedContent=o.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:27,hostBindings:function(n,r){n&1&&T("blur",function(){return r._handleBlur()})("click",function(){return r._toggleOnInteraction()}),n&2&&(oe("aria-selected",r.selected),ee("mdc-list-item--selected",r.selected&&!r._selectionList.multiple&&r._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",r._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",r._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",r._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",r._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",r._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",r._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",r._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",r._hasRadioAt("after"))("mat-mdc-list-item-both-leading-and-trailing",r._hasBothLeadingAndTrailing())("mat-accent",r.color!=="primary"&&r.color!=="warn")("mat-warn",r.color==="warn")("_mat-animation-noopable",r._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[me([{provide:Qk,useExisting:t},{provide:LH,useExisting:t}]),he],ngContentSelectors:zee,decls:20,vars:4,consts:[["icons",""],["checkbox",""],["radio",""],["unscopedContent",""],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mdc-list-item__end"],[1,"mat-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["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"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner
5093-circle"]],template:function(n,r){n&1&&(Ie(Uee),fe(0,Gee,1,0,"ng-template",null,0,fa)(2,Wee,6,4,"ng-template",null,1,fa)(4,$ee,5,4,"ng-template",null,2,fa),v(6,Yee,2,1,"span",4)(7,Xee,2,1,"span",5),v(8,Qee,1,1,null,6),u(9,"span",7),re(10),re(11,1),u(12,"span",8,3),T("cdkObserveContent",function(){return r._updateItemLines(!0)}),re(14,2),c()(),v(15,ete,2,1,"span",9)(16,nte,2,1,"span",9),v(17,rte,1,1,null,6),re(18,3),x(19,"div",10)),n&2&&(l(6),y(r._hasCheckboxAt("before")?6:r._hasRadioAt("before")?7:-1),l(2),y(r._hasIconsOrAvatarsAt("before")?8:-1),l(7),y(r._hasCheckboxAt("after")?15:r._hasRadioAt("after")?16:-1),l(2),y(r._hasIconsOrAvatarsAt("after")?17:-1))},dependencies:[xu,Qg],styles:[`.mat-mdc-list-option-with-trailing-avatar.mdc-list-item, [dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item {
5094  padding-left: 0;
5095  padding-right: 0;
5096}
5097.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end {
5098  margin-left: 16px;
5099  margin-right: 16px;
5100  width: 40px;
5101  height: 40px;
5102}
5103.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text {
5104  display: block;
5105  margin-top: 0;
5106  line-height: normal;
5107  margin-bottom: -20px;
5108}
5109.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before {
5110  display: inline-block;
5111  width: 0;
5112  height: 32px;
5113  content: "";
5114  vertical-align: 0;
5115}
5116.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after {
5117  display: inline-block;
5118  width: 0;
5119  height: 20px;
5120  content: "";
5121  vertical-align: -20px;
5122}
5123.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end {
5124  border-radius: 50%;
5125}
5126
5127.mat-mdc-list-option .mdc-checkbox {
5128  display: inline-block;
5129  position: relative;
5130  flex: 0 0 18px;
5131  box-sizing: content-box;
5132  width: 18px;
5133  height: 18px;
5134  line-height: 0;
5135  white-space: nowrap;
5136  cursor: pointer;
5137  vertical-align: bottom;
5138  padding: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2);
5139  margin: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
5140}
5141.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control {
5142  position: absolute;
5143  margin: 0;
5144  padding: 0;
5145  opacity: 0;
5146  cursor: inherit;
5147  z-index: 1;
5148  width: var(--mat-checkbox-state-layer-size, 40px);
5149  height: var(--mat-checkbox-state-layer-size, 40px);
5150  top: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
5151  right: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
5152  left: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
5153}
5154.mat-mdc-list-option .mdc-checkbox--disabled {
5155  cursor: default;
5156  pointer-events: none;
5157}
5158.mat-mdc-list-option .mdc-checkbox__background {
5159  display: inline-flex;
5160  position: absolute;
5161  align-items: center;
5162  justify-content: center;
5163  box-sizing: border-box;
5164  width: 18px;
5165  height: 18px;
5166  border: 2px solid currentColor;
5167  border-radius: 2px;
5168  background-color: transparent;
5169  pointer-events: none;
5170  will-change: background-color, border-color;
5171  transition: background-color 90ms cubic-bezier(0.4, 0, 0.6, 1), border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);
5172  -webkit-print-color-adjust: exact;
5173  color-adjust: exact;
5174  border-color: var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));
5175  top: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2);
5176  left: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2);
5177}
5178.mat-mdc-list-option .mdc-checkbox__native-control:enabled:checked ~ .mdc-checkbox__background,
5179.mat-mdc-list-option .mdc-checkbox__native-control:enabled:indeterminate ~ .mdc-checkbox__background {
5180  border-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));
5181  background-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));
5182}
5183.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background {
5184  border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
5185}
5186@media (forced-colors: active) {
5187  .mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background {
5188    border-color: GrayText;
5189  }
5190}
5191.mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background,
5192.mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background {
5193  background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
5194  border-color: transparent;
5195}
5196@media (forced-colors: active) {
5197  .mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background,
5198  .mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background {
5199    border-color: GrayText;
5200  }
5201}
5202.mat-mdc-list-option .mdc-checkbox:hover > .mdc-checkbox__native-control:not(:checked) ~ .mdc-checkbox__background,
5203.mat-mdc-list-option .mdc-checkbox:hover > .mdc-checkbox__native-control:not(:indeterminate) ~ .mdc-checkbox__background {
5204  border-color: var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));
5205  background-color: transparent;
5206}
5207.mat-mdc-list-option .mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
5208.mat-mdc-list-option .mdc-checkbox:hover > .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
5209  border-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));
5210  background-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));
5211}
5212.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:checked) ~ .mdc-checkbox__background,
5213.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:indeterminate) ~ .mdc-checkbox__background {
5214  border-color: var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface));
5215}
5216.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:checked ~ .mdc-checkbox__background,
5217.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:indeterminate ~ .mdc-checkbox__background {
5218  border-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));
5219  background-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));
5220}
5221.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,
5222.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,
5223.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background {
5224  border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
5225}
5226@media (forced-colors: active) {
5227  .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,
5228  .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,
5229  .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background {
5230    border-color: GrayText;
5231  }
5232}
5233.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
5234.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
5235  background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
5236  border-color: transparent;
5237}
5238.mat-mdc-list-option .mdc-checkbox__checkmark {
5239  position: absolute;
5240  top: 0;
5241  right: 0;
5242  bottom: 0;
5243  left: 0;
5244  width: 100%;
5245  opacity: 0;
5246  transition: opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);
5247  color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary));
5248}
5249@media (forced-colors: active) {
5250  .mat-mdc-list-option .mdc-checkbox__checkmark {
5251    color: CanvasText;
5252  }
5253}
5254.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark, .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark {
5255  color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface));
5256}
5257@media (forced-colors: active) {
5258  .mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark, .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark {
5259    color: GrayText;
5260  }
5261}
5262.mat-mdc-list-option .mdc-checkbox__checkmark-path {
5263  transition: stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);
5264  stroke: currentColor;
5265  stroke-width: 3.12px;
5266  stroke-dashoffset: 29.7833385;
5267  stroke-dasharray: 29.7833385;
5268}
5269.mat-mdc-list-option .mdc-checkbox__mixedmark {
5270  width: 100%;
5271  height: 0;
5272  transform: scaleX(0) rotate(0deg);
5273  border-width: 1px;
5274  border-style: solid;
5275  opacity: 0;
5276  transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
5277  border-color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary));
5278}
5279@media (forced-colors: active) {
5280  .mat-mdc-list-option .mdc-checkbox__mixedmark {
5281    margin: 0 1px;
5282  }
5283}
5284.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark {
5285  border-color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface));
5286}
5287@media (forced-colors: active) {
5288  .mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark {
5289    border-color: GrayText;
5290  }
5291}
5292.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,
5293.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,
5294.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,
5295.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background {
5296  animation-duration: 180ms;
5297  animation-timing-function: linear;
5298}
5299.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path {
5300  animation: mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;
5301  transition: none;
5302}
5303.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark {
5304  animation: mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;
5305  transition: none;
5306}
5307.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path {
5308  animation: mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;
5309  transition: none;
5310}
5311.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark {
5312  animation: mdc-checkbox-checked-indeterminate-checkmark 90ms linear;
5313  transition: none;
5314}
5315.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark {
5316  animation: mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;
5317  transition: none;
5318}
5319.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark {
5320  animation: mdc-checkbox-indeterminate-checked-checkmark 500ms linear;
5321  transition: none;
5322}
5323.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark {
5324  animation: mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;
5325  transition: none;
5326}
5327.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark {
5328  animation: mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;
5329  transition: none;
5330}
5331.mat-mdc-list-option .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
5332.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
5333  transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1);
5334}
5335.mat-mdc-list-option .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
5336.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path {
5337  stroke-dashoffset: 0;
5338}
5339.mat-mdc-list-option .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark {
5340  transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1), transform 180ms cubic-bezier(0, 0, 0.2, 1);
5341  opacity: 1;
5342}
5343.mat-mdc-list-option .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark {
5344  transform: scaleX(1) rotate(-45deg);
5345}
5346.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark {
5347  transform: rotate(45deg);
5348  opacity: 0;
5349  transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
5350}
5351.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark {
5352  transform: scaleX(1) rotate(0deg);
5353  opacity: 1;
5354}
5355@keyframes mdc-checkbox-unchecked-checked-checkmark-path {
5356  0%, 50% {
5357    stroke-dashoffset: 29.7833385;
5358  }
5359  50% {
5360    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
5361  }
5362  100% {
5363    stroke-dashoffset: 0;
5364  }
5365}
5366@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark {
5367  0%, 68.2% {
5368    transform: scaleX(0);
5369  }
5370  68.2% {
5371    animation-timing-function: cubic-bezier(0, 0, 0, 1);
5372  }
5373  100% {
5374    transform: scaleX(1);
5375  }
5376}
5377@keyframes mdc-checkbox-checked-unchecked-checkmark-path {
5378  from {
5379    animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
5380    opacity: 1;
5381    stroke-dashoffset: 0;
5382  }
5383  to {
5384    opacity: 0;
5385    stroke-dashoffset: -29.7833385;
5386  }
5387}
5388@keyframes mdc-checkbox-checked-indeterminate-checkmark {
5389  from {
5390    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
5391    transform: rotate(0deg);
5392    opacity: 1;
5393  }
5394  to {
5395    transform: rotate(45deg);
5396    opacity: 0;
5397  }
5398}
5399@keyframes mdc-checkbox-indeterminate-checked-checkmark {
5400  from {
5401    animation-timing-function: cubic-bezier(0.14, 0, 0, 1);
5402    transform: rotate(45deg);
5403    opacity: 0;
5404  }
5405  to {
5406    transform: rotate(360deg);
5407    opacity: 1;
5408  }
5409}
5410@keyframes mdc-checkbox-checked-indeterminate-mixedmark {
5411  from {
5412    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
5413    transform: rotate(-45deg);
5414    opacity: 0;
5415  }
5416  to {
5417    transform: rotate(0deg);
5418    opacity: 1;
5419  }
5420}
5421@keyframes mdc-checkbox-indeterminate-checked-mixedmark {
5422  from {
5423    animation-timing-function: cubic-bezier(0.14, 0, 0, 1);
5424    transform: rotate(0deg);
5425    opacity: 1;
5426  }
5427  to {
5428    transform: rotate(315deg);
5429    opacity: 0;
5430  }
5431}
5432@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark {
5433  0% {
5434    animation-timing-function: linear;
5435    transform: scaleX(1);
5436    opacity: 1;
5437  }
5438  32.8%, 100% {
5439    transform: scaleX(0);
5440    opacity: 0;
5441  }
5442}
5443.mat-mdc-list-option .mdc-radio {
5444  display: inline-block;
5445  position: relative;
5446  flex: 0 0 auto;
5447  box-sizing: content-box;
5448  width: 20px;
5449  height: 20px;
5450  cursor: pointer;
5451  will-change: opacity, transform, border-color, color;
5452  padding: calc((var(--mat-radio-state-layer-size, 40px) - 20px) / 2);
5453}
5454.mat-mdc-list-option .mdc-radio__background {
5455  display: inline-block;
5456  position: relative;
5457  box-sizing: border-box;
5458  width: 20px;
5459  height: 20px;
5460}
5461.mat-mdc-list-option .mdc-radio__background::before {
5462  position: absolute;
5463  transform: scale(0, 0);
5464  border-radius: 50%;
5465  opacity: 0;
5466  pointer-events: none;
5467  content: "";
5468  transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
5469  width: var(--mat-radio-state-layer-size, 40px);
5470  height: var(--mat-radio-state-layer-size, 40px);
5471  top: calc(-1 * (var(--mat-radio-state-layer-size, 40px) - 20px) / 2);
5472  left: calc(-1 * (var(--mat-radio-state-layer-size, 40px) - 20px) / 2);
5473}
5474.mat-mdc-list-option .mdc-radio__outer-circle {
5475  position: absolute;
5476  top: 0;
5477  left: 0;
5478  box-sizing: border-box;
5479  width: 100%;
5480  height: 100%;
5481  border-width: 2px;
5482  border-style: solid;
5483  border-radius: 50%;
5484  transition: border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);
5485}
5486.mat-mdc-list-option .mdc-radio__inner-circle {
5487  position: absolute;
5488  top: 0;
5489  left: 0;
5490  box-sizing: border-box;
5491  width: 100%;
5492  height: 100%;
5493  transform: scale(0);
5494  border-radius: 50%;
5495  transition: transform 90ms cubic-bezier(0.4, 0, 0.6, 1), background-color 90ms cubic-bezier(0.4, 0, 0.6, 1);
5496}
5497@media (forced-colors: active) {
5498  .mat-mdc-list-option .mdc-radio__inner-circle {
5499    background-color: CanvasText !important;
5500  }
5501}
5502.mat-mdc-list-option .mdc-radio__native-control {
5503  position: absolute;
5504  margin: 0;
5505  padding: 0;
5506  opacity: 0;
5507  top: 0;
5508  right: 0;
5509  left: 0;
5510  cursor: inherit;
5511  z-index: 1;
5512  width: var(--mat-radio-state-layer-size, 40px);
5513  height: var(--mat-radio-state-layer-size, 40px);
5514}
5515.mat-mdc-list-option .mdc-radio__native-control:checked + .mdc-radio__background, .mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background {
5516  transition: opacity 90ms cubic-bezier(0, 0, 0.2, 1), transform 90ms cubic-bezier(0, 0, 0.2, 1);
5517}
5518.mat-mdc-list-option .mdc-radio__native-control:checked + .mdc-radio__background > .mdc-radio__outer-circle, .mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__outer-circle {
5519  transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1);
5520}
5521.mat-mdc-list-option .mdc-radio__native-control:checked + .mdc-radio__background > .mdc-radio__inner-circle, .mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__inner-circle {
5522  transition: transform 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1);
5523}
5524.mat-mdc-list-option .mdc-radio__native-control:disabled:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle {
5525  border-color: var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));
5526  opacity: var(--mat-radio-disabled-unselected-icon-opacity, 0.38);
5527}
5528.mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background {
5529  cursor: default;
5530}
5531.mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__outer-circle {
5532  border-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));
5533  opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38);
5534}
5535.mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__inner-circle {
5536  background-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));
5537  opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38);
5538}
5539.mat-mdc-list-option .mdc-radio__native-control:enabled:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle {
5540  border-color: var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant));
5541}
5542.mat-mdc-list-option .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__outer-circle {
5543  border-color: var(--mat-radio-selected-icon-color, var(--mat-sys-primary));
5544}
5545.mat-mdc-list-option .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__inner-circle {
5546  background-color: var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor));
5547}
5548.mat-mdc-list-option .mdc-radio__native-control:checked + .mdc-radio__background >
5548 .mdc-radio__inner-circle {
5549  transform: scale(0.5);
5550  transition: transform 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1);
5551}
5552.mat-mdc-list-option._mat-animation-noopable .mdc-radio__background::before,
5553.mat-mdc-list-option._mat-animation-noopable .mdc-radio__outer-circle,
5554.mat-mdc-list-option._mat-animation-noopable .mdc-radio__inner-circle {
5555  transition: none !important;
5556}
5557.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mat-mdc-checkbox-touch-target,
5558.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__native-control,
5559.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__ripple,
5560.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mat-mdc-checkbox-ripple::before,
5561.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__background,
5562.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark,
5563.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
5564.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__mixedmark, .mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mat-mdc-checkbox-touch-target,
5565.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__native-control,
5566.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__ripple,
5567.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mat-mdc-checkbox-ripple::before,
5568.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__background,
5569.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark,
5570.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
5571.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__mixedmark {
5572  transition: none !important;
5573  animation: none !important;
5574}
5575.mat-mdc-list-option .mdc-checkbox__native-control, .mat-mdc-list-option .mdc-radio__native-control {
5576  display: none;
5577}
5578
5579@media (forced-colors: active) {
5580  .mat-mdc-list-option.mdc-list-item--selected::after {
5581    content: "";
5582    position: absolute;
5583    top: 50%;
5584    right: 16px;
5585    transform: translateY(-50%);
5586    width: 10px;
5587    height: 0;
5588    border-bottom: solid 10px;
5589    border-radius: 10px;
5590  }
5591  .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after {
5592    right: auto;
5593    left: 16px;
5594  }
5595}
5596`],encapsulation:2,changeDetection:0})}return t})();var r6e=(()=>{class t extends w_{_isNonInteractive=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[me([{provide:w_,useExisting:t}]),he],ngContentSelectors:OH,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},styles:[FH],encapsulation:2,changeDetection:0})}return t})(),dte={provide:er,useExisting:bn(()=>ute),multi:!0},Jk=class{source;options;constructor(i,e){this.source=i,this.options=e}},ute=(()=>{class t extends w_{_element=m(Q);_ngZone=m(le);_renderer=m(ot);_initialized=!1;_keyManager;_listenerCleanups;_destroyed=new O;_isDestroyed=!1;_onChange=e=>{};_items;selectionChange=new V;color="accent";compareWith=(e,n)=>e===n;get multiple(){return this._multiple}set multiple(e){let n=Fn(e);n!==this._multiple&&(this._multiple=n,this.selectedOptions=new mr(this._multiple,this.selectedOptions.selected))}_multiple=!0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Fn(e)}
5596_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;selectedOptions=new mr(this._multiple);_value=null;_onTouched=()=>{};_changeDetectorRef=m(Ee);constructor(){super(),this._isNonInteractive=!1}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._listenerCleanups=[this._renderer.listen(this._element.nativeElement,"focusin",this._handleFocusin),this._renderer.listen(this._element.nativeElement,"focusout",this._handleFocusout)]}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges(e){let n=e.disabled,r=e.disableRipple,o=e.hideSingleSelectionIndicator;(r&&!r.firstChange||n&&!n.firstChange||o&&!o.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._listenerCleanups?.forEach(e=>e()),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(e){this._element.nativeElement.focus(e)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){let e=this._getSelectedOptionValues();this._onChange(e),this._value=e}}_emitChangeEvent(e){this.selectionChange.emit(new Jk(this,e))}writeValue(e){this._value=e,this.options&&this._setOptionsFromValues(e||[])}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this._markOptionsForCheck()}get disabled(){return this._selectionListDisabled()}set disabled(e){this._selectionListDisabled.set(Fn(e)),this._selectionListDisabled()&&this._keyManager?.setActiveItem(-1)}_selectionListDisabled=Z(!1);registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}_watchForSelectionChange(){this.selectedOptions.changed.pipe(xe(this._destroyed)).subscribe(e=>{for(let n of e.added)n.selected=!0;for(let n of e.removed)n.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(e){this.options.forEach(n=>n._setSelected(!1)),e.forEach(n=>{let r=this.options.find(o=>o.selected?!1:this.compareWith(o.value,n));r&&r._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(e=>e.selected).map(e=>e.value)}_markOptionsForCheck(){this.options&&this.options.forEach(e=>e._markForCheck())}_setAllOptionsSelected(e,n){let r=[];return this.options.forEach(o=>{(!n||!o.disabled)&&o._setSelected(e)&&r.push(o)}),r.length&&this._reportValueChange(),r}get options(){return this._items}_handleKeydown(e){let n=this._keyManager.activeItem;if((e.keyCode===13||e.keyCode===32)&&!this._keyManager.isTyping()&&n&&!n.disabled)e.preventDefault(),n._toggleOnInteraction();else if(e.keyCode===65&&this.multiple&&!this._keyManager.isTyping()&&Ht(e,"ctrlKey","metaKey")){let r=this.options.some(o=>!o.disabled&&!o.selected);e.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(r,!0))}else this._keyManager.onKeydown(e)}_handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})};_handleFocusin=e=>{if(this.disabled)return;let n=this._items.toArray().findIndex(r=>r._elementRef.nativeElement.contains(e.target));n>-1?this._setActiveOption(n):this._resetActiveOption()};_setupRovingTabindex(){this._keyManager=new os(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(e=>this._setActiveOption(e)),this._items.changes.pipe(xe(this._destroyed)).subscribe(()=>{let e=this._keyManager.activeItem;(!e||this._items.toArray().indexOf(e)===-1)&&this._resetActiveOption()})}_setActiveOption(e){this._items.forEach((n,r)=>n._setTabindex(r===e?0:-1)),this._keyManager.updateActiveItem(e)}_resetActiveOption(){if(this.disabled){this._setActiveOption(-1);return}let e=this._items.find(n=>n.selected&&!n.disabled)||this._items.first;this._setActiveOption(e?this._items.toArray().indexOf(e):-1)}_containsFocus(){let e=Io();return e&&this._element.nativeElement.contains(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-selection-list"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,cte,5),n&2){let a;H(a=U())&&(r._items=a)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(n,r){n&1&&T("keydown",function(a){return r._handleKeydown(a)}),n&2&&oe("aria-multiselectable",r.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hide
vendor: 12,991 bytes, lines 5596-5666
5596SingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[me([dte,{provide:w_,useExisting:t},{provide:HH,useExisting:t}]),he,Ke],ngContentSelectors:OH,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},styles:[FH],encapsulation:2,changeDetection:0})}return t})(),e1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Mp,Hi,FC,De,D_]})}return t})();var mte=["mat-menu-item",""],pte=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],hte=["mat-icon, [matMenuItemIcon]","*"];function fte(t,i){t&1&&(Tn(),u(0,"svg",2),x(1,"polygon",3),c())}var gte=["*"];function _te(t,i){if(t&1){let e=Se();ft(0,"div",0),Fs("click",function(){te(e);let r=_();return ne(r.closed.emit("click"))})("animationstart",function(r){te(e);let o=_();return ne(o._onAnimationStart(r.animationName))})("animationend",function(r){te(e);let o=_();return ne(o._onAnimationDone(r.animationName))})("animationcancel",function(r){te(e);let o=_();return ne(o._onAnimationDone(r.animationName))}),ft(1,"div",1),re(2),_t()()}if(t&2){let e=_();Be(e._classList),ee("mat-menu-panel-animations-disabled",e._animationsDisabled)("mat-menu-panel-exit-animation",e._panelAnimationState==="void")("mat-menu-panel-animating",e._isAnimating()),In("id",e.panelId),oe("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var n1=new R("MAT_MENU_PANEL"),Xu=(()=>{class t{_elementRef=m(Q);_document=m(Ce);_focusMonitor=m(oi);_parentMenu=m(n1,{optional:!0});_changeDetectorRef=m(Ee);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new O;_focused=new O;_highlighted=!1;_triggersSubmenu=!1;constructor(){m(Lt).load(mi),this._parentMenu?.addItem?.(this)}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),n=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r<n.length;r++)n[r].remove();return e.textContent?.trim()||""}_setHighlighted(e){this._highlighted=e,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(e){this._triggersSubmenu=e,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(n,r){n&1&&T("click",function(a){return r._checkDisabled(a)})("mouseenter",function(){return r._handleMouseEnter()}),n&2&&(oe("role",r.role)("tabindex",r._getTabIndex())("aria-disabled",r.disabled)("disabled",r.disabled||null),ee("mat-mdc-menu-item-highlighted",r._highlighted)("mat-mdc-menu-item-submenu-trigger",r._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q]},exportAs:["matMenuItem"],attrs:mte,ngContentSelectors:hte,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(n,r){n&1&&(Ie(pte),re(0),u(1,"span",0),re(2,1),c(),x(3,"div",1),v(4,fte,2,0,":svg:svg",2)),n&2&&(l(3),g("matRippleDisabled",r.disableRipple||r.disabled)("matRippleTrigger",r._getHostElement()),l(),y(r._triggersSubmenu?4:-1))},dependencies:[Hr],encapsulation:2,changeDetection:0})}return t})();var UH=new R("MatMenuContent"),KC=(()=>{class t{_template=m(Zt);_appRef=m(Qi);_injector=m(ie);_viewContainerRef=m(Pt);_document=m(Ce);_changeDetectorRef=m(Ee);_portal;_outlet;_attached=new O;constructor(){}attach(e={}){this._portal||(this._portal=new Sr(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new Vp(this._document.createElement("div"),this._appRef,this._injector));let n=this._template.elementRef.nativeElement;n.parentNode.insertBefore(this._outlet.outletElement,n),this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal?.isAttached&&this._portal.detach()}ngOnDestroy(){this.detach(),this._outlet?.dispose()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["ng-template","matMenuContent",""]],features:[me([{provide:UH,useExisting:t}])]})}return t})(),bte=new R("mat-menu-default-options",{providedIn:"root",factory:()=>({overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"})}),t1="_mat-menu-enter",YC="_mat-menu-exit",Ks=(()=>{class t{_elementRef=m(Q);_changeDetectorRef=m(Ee);_injector=m(ie);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=lt();_allItems;_directDescendantItems=new ro;_classList={};_panelAnimationState="void";_animationDone=new O;_isAnimating=Z(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger=!1;hasBackdrop;set panelClass(e){let n=this._previousPanelClass,r=L({},this._classList);n&&n.length&&n.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new V;close=this.closed;panelId=m(pt).getId("mat-menu-panel-");constructor(){let e=m(bte);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new os(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Re(this._directDescendantItems),W(e=>ut(...e.map(n=>n._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let n=this._keyManager;if(this._panelAnimationState==="enter"&&n.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,n.activeItemIndex||0));r[o]&&!r[o].disabled?n.setActiveItem(o):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(Re(this._directDescendantItems),W(n=>ut(...n.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let n=e.keyCode,r=this._keyManager;switch(n){case 27:Ht(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(n===38||n===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=Dt(()=>{let n=this._resolvePanel();if(!n||!n.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&n&&n.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,n=this.yPosition){this._classList=Ae(L({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":n==="above","mat-menu-below":n==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let n=e===YC;(n||e===t1)&&(n&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(n?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(e){(e===t1||e===YC)&&this._isAnimating.set(!0)}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let n=this._resolvePanel();n&&(n.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(YC),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?t1:YC)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(Re(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-menu"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,UH,5)(o,Xu,5)(o,Xu,4),n&2){let a;H(a=U())&&(r.lazyContent=a.first),H(a=U())&&(r._allItems=a),H(a=U())&&(r.items=a)}},viewQuery:function(n,r){if(n&1&&ve(Zt,5),n&2){let o;H(o=U())&&(r.templateRef=o.first)}},hostVars:3,hostBindings:function(n,r){n&2&&oe("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",q],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:q(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[me([{provide:n1,useExisting:t}])],ngContentSelectors:gte,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(n,r){n&1&&(Ie(),Gc(0,_te,3,12,"ng-template"))},styles:[`mat-menu {
5597  display: none;
5598}
5599
5600.mat-mdc-menu-content {
5601  margin: 0;
5602  padding: 8px 0;
5603  outline: 0;
5604}
5605.mat-mdc-menu-content,
5606.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text {
5607  -moz-osx-font-smoothing: grayscale;
5608  -webkit-font-smoothing: antialiased;
5609  flex: 1;
5610  white-space: normal;
5611  font-family: var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));
5612  line-height: var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));
5613  font-size: var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));
5614  letter-spacing: var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));
5615  font-weight: var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight));
5616}
5617
5618@keyframes _mat-menu-enter {
5619  from {
5620    opacity: 0;
5621    transform: scale(0.8);
5622  }
5623  to {
5624    opacity: 1;
5625    transform: none;
5626  }
5627}
5628@keyframes _mat-menu-exit {
5629  from {
5630    opacity: 1;
5631  }
5632  to {
5633    opacity: 0;
5634  }
5635}
5636.mat-mdc-menu-panel {
5637  min-width: 112px;
5638  max-width: 280px;
5639  overflow: auto;
5640  box-sizing: border-box;
5641  outline: 0;
5642  animation: _mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);
5643  border-radius: var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));
5644  background-color: var(--mat-menu-container-color, var(--mat-sys-surface-container));
5645  box-shadow: var(--mat-menu-container-elevation-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));
5646  will-change: transform, opacity;
5647}
5648.mat-mdc-menu-panel.mat-menu-panel-exit-animation {
5649  animation: _mat-menu-exit 100ms 25ms linear forwards;
5650}
5651.mat-mdc-menu-panel.mat-menu-panel-animations-disabled {
5652  animation: none;
5653}
5654.mat-mdc-menu-panel.mat-menu-panel-animating {
5655  pointer-events: none;
5656}
5657.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty) {
5658  display: none;
5659}
5660@media (forced-colors: active) {
5661  .mat-mdc-menu-panel {
5662    outline: solid 1px;
5663  }
5664}
5665.mat-mdc-menu-panel .mat-divider {
5666  border-top-color: var(--mat-menu-divider-color, var(--mat-sys-surface-variant));
5667  margin-bottom: var(--mat-menu-divider-bottom-spacing, 8px);
5668  margin-top: var(--mat-menu-divider-top-spacing, 8px);
5669}
5670
5671.mat-mdc-menu-item {
5672  display: flex;
5673  position: relative;
5674  align-items: center;
5675  justify-content: flex-start;
5676  overflow: hidden;
5677  padding: 0;
5678  cursor: pointer;
5679  width: 100%;
5680  text-align: left;
5681  box-sizing: border-box;
5682  color: inherit;
5683  font-size: inherit;
5684  background: none;
5685  text-decoration: none;
5686  margin: 0;
5687  min-height: 48px;
5688  padding-left: var(--mat-menu-item-leading-spacing, 12px);
5689  padding-right: var(--mat-menu-item-trailing-spacing, 12px);
5690  -webkit-user-select: none;
5691  user-select: none;
5692  cursor: pointer;
5693  outline: none;
5694  border: none;
5695  -webkit-tap-highlight-color: transparent;
5696}
5697.mat-mdc-menu-item::-moz-focus-inner {
5698  border: 0;
5699}
5700[dir=rtl] .mat-mdc-menu-item {
5701  padding-left: var(--mat-menu-item-trailing-spacing, 12px);
5702  padding-right: var(--mat-menu-item-leading-spacing, 12px);
5703}
5704.mat-mdc-menu-item:has(.material-icons, mat-icon, [matButtonIcon]) {
5705  padding-left: var(--mat-menu-item-with-icon-leading-spacing, 12px);
5706  padding-right: var(--mat-menu-item-with-icon-trailing-spacing, 12px);
5707}
5708[dir=rtl] .mat-mdc-menu-item:has(.material-icons, mat-icon, [matButtonIcon]) {
5709  padding-left: var(--mat-menu-item-with-icon-trailing-spacing, 12px);
5710  padding-right: var(--mat-menu-item-with-icon-leading-spacing, 12px);
5711}
5712.mat-mdc-menu-item, .mat-mdc-menu-item:visited, .mat-mdc-menu-item:link {
5713  color: var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface));
5714}
5715.mat-mdc-menu-item .mat-icon-no-color,
5716.mat-mdc-menu-item .mat-mdc-menu-submenu-icon {
5717  color: var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant));
5718}
5719.mat-mdc-menu-item[disabled] {
5720  cursor: default;
5721  opacity: 0.38;
5722}
5723.mat-mdc-menu-item[disabled]::after {
5724  display: block;
5725  position: absolute;
5726  content: "";
5727  top: 0;
5728  left: 0;
5729  bottom: 0;
5730  right: 0;
5731}
5732.mat-mdc-menu-item:focus {
5733  outline: 0;
5734}
5735.mat-mdc-menu-item .mat-icon {
5736  flex-shrink: 0;
5737  margin-right: var(--mat-menu-item-spacing, 12px);
5738  height: var(--mat-menu-item-icon-size, 24px);
5739  width: var(--mat-menu-item-icon-size, 24px);
5740}
5741[dir=rtl] .mat-mdc-menu-item {
5742  text-align: right;
5743}
5744[dir=rtl] .mat-mdc-menu-item .mat-icon {
5745  margin-right: 0;
5746  margin-left: var(--mat-menu-item-spacing, 12px);
5747}
5748.mat-mdc-menu-item:not([disabled]):hover {
5749  background-color: var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));
5750}
5751.mat-mdc-menu-item:not([disabled]).cdk-program-focused, .mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused, .mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted {
5752  background-color: var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));
5753}
5754@media (forced-colors: active) {
5755  .mat-mdc-menu-item {
5756    margin-top: 1px;
5757  }
5758}
5759
5760.mat-mdc-menu-submenu-icon {
5761  width: var(--mat-menu-item-icon-size, 24px);
5762  height: 10px;
5763  fill: currentColor;
5764  padding-left: var(--mat-menu-item-spacing, 12px);
5765}
5766[dir=rtl] .mat-mdc-menu-submenu-icon {
5767  padding-right: var(--mat-menu-item-spacing, 12px);
5768  padding-left: 0;
5769}
5770[dir=rtl] .mat-mdc-menu-submenu-icon polygon {
5771  transform: scaleX(-1);
5772  transform-origin: center;
5773}
5774@media (forced-colors: active) {
5775  .mat-mdc-menu-submenu-icon {
5776    fill: CanvasText;
5777  }
5778}
5779
5780.mat-mdc-menu-item .mat-mdc-menu-ripple {
5781  top: 0;
5782  left: 0;
5783  right: 0;
5784  bottom: 0;
5785  position: absolute;
5786  pointer-events: none;
5787}
5788`],encapsulation:2,changeDetection:0})}return t})(),vte=new R("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ia(t)}});var eh=new WeakMap,yte=(()=>{class t{_canHaveBackdrop;_element=m(Q);_viewContainerRef=m(Pt);_menuItemInstance=m(Xu,{optional:!0,self:!0});_dir=m(an,{optional:!0});_focusMonitor=m(oi);_ngZone=m(le);_injector=m(ie);_scrollStrategy=m(vte);_changeDetectorRef=m(Ee);_animationsDisabled=lt();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=_e.EMPTY;_menuCloseSubscription=_e.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(e){e!==this._menuInternal&&(this._menuInternal=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(n=>{this._destroyMenu(n),(n==="click"||n==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal=null;constructor(e){this._canHaveBackdrop=e;let n=m(n1,{optional:!0});this._parentMaterialMenu=n instanceof Ks?n:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&eh.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(e){if(this._triggerIsAriaDisabled())return;let n=this._menu;if(this._menuOpen||!n)return;this._pendingRemoval?.unsubscribe();let r=eh.get(n);eh.set(n,this),r&&r!==this&&r._closeMenu();let o=this._createOverlay(n),a=o.getConfig(),s=a.positionStrategy;this._setPosition(n,s),this._canHaveBackdrop?a.hasBackdrop=n.hasBackdrop==null?!this._triggersSubmenu():n.hasBackdrop:a.hasBackdrop=n.hasBackdrop??!1,o.hasAttached()||(o.attach(this._getPortal(n)),n.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),n.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,n.direction=this.dir,e&&n.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),n instanceof Ks&&(n._setIsOpen(!0),n._directDescendantItems.changes.pipe(xe(n.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}_destroyMenu(e){let n=this._overlayRef,r=this._menu;!n||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),r instanceof Ks&&this._ownsMenu(r)?(this._pendingRemoval=r._animationDone.pipe(We(1)).subscribe(()=>{n.detach(),eh.has(r)||r.lazyContent?.detach()}),r._setIsOpen(!1)):(n.detach(),r?.lazyContent?.detach()),r&&this._ownsMenu(r)&&eh.delete(r),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}
vendor: 5,389 bytes, line 5788
5788_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let n=this._getOverlayConfig(e);this._subscribeToPositions(e,n.positionStrategy),this._overlayRef=go(this._injector,n),this._overlayRef.keydownEvents().subscribe(r=>{this._menu instanceof Ks&&this._menu._handleKeydown(r)})}return this._overlayRef}_getOverlayConfig(e){return new fo({positionStrategy:ss(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(e,n){e.setPositionClasses&&n.positionChanges.subscribe(r=>{this._ngZone.run(()=>{let o=r.connectionPair.overlayX==="start"?"after":"before",a=r.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(o,a)})})}_setPosition(e,n){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[d,p]=[a,s],[f,b]=[r,o],w=0;if(this._triggersSubmenu()){if(b=r=e.xPosition==="before"?"start":"end",o=f=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let A=this._parentMaterialMenu.items.first;this._parentInnerPadding=A?A._getHostElement().offsetTop:0}w=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(d=a==="top"?"bottom":"top",p=s==="top"?"bottom":"top");n.withPositions([{originX:r,originY:d,overlayX:f,overlayY:a,offsetY:w},{originX:o,originY:d,overlayX:b,overlayY:a,offsetY:w},{originX:r,originY:p,overlayX:f,overlayY:s,offsetY:-w},{originX:o,originY:p,overlayX:b,overlayY:s,offsetY:-w}])}_menuClosingActions(){let e=this._getOutsideClickStream(this._overlayRef),n=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:P(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ae(a=>this._menuOpen&&a!==this._menuItemInstance)):P();return ut(e,r,o,n)}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Sr(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return eh.get(e)===this}_triggerIsAriaDisabled(){return q(this._element.nativeElement.getAttribute("aria-disabled"))}static \u0275fac=function(n){Eu()};static \u0275dir=N({type:t})}return t})(),hd=(()=>{class t extends yte{_cleanupTouchstart;_hoverSubscription=_e.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){this._menu=e}menuData;restoreFocus=!0;menuOpened=new V;onMenuOpen=this.menuOpened;menuClosed=new V;onMenuClose=this.menuClosed;constructor(){super(!0);let e=m(ot);this._cleanupTouchstart=e.listen(this._element.nativeElement,"touchstart",n=>{Kl(n)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(e){return e.backdropClick()}_handleMousedown(e){Yl(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let n=e.keyCode;(n===13||n===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(n===39&&this.dir==="ltr"||n===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&this._parentMaterialMenu?._panelAnimationState!=="void"&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(n,r){n&1&&T("click",function(a){return r._handleClick(a)})("mousedown",function(a){return r._handleMousedown(a)})("keydown",function(a){return r._handleKeydown(a)}),n&2&&oe("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu==null?null:r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[he]})}return t})();var i1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Hi,Ui,De,ur]})}return t})();
5788var Cte=["trigger"],Dte=["panel"],Ete=[[["mat-select-trigger"]],"*"],wte=["mat-select-trigger","*"];function xte(t,i){if(t&1&&(u(0,"span",4),h(1),c()),t&2){let e=_();l(),S(e.placeholder)}}function Ste(t,i){t&1&&re(0)}function Tte(t,i){if(t&1&&(u(0,"span",11),h(1),c()),t&2){let e=_(2);l(),S(e.triggerValue)}}function Ite(t,i){if(t&1&&(u(0,"span",5),v(1,Ste,1,0)(2,Tte,2,1,"span",11),c()),t&2){let e=_();l(),y(e.customTrigger?1:2)}}function Ate(t,i){if(t&1){let e=Se();u(0,"div",12,1),T("keydown",function(r){te(e);let o=_();return ne(o._handleKeydown(r))}),re(2,1),c()}if(t&2){let e=_();Be(e.panelClass),ee("mat-select-panel-animations-enabled",!e._animationsDisabled)("mat-primary",(e._parentFormField==null?null:e._parentFormField.color)==="primary")("mat-accent",(e._parentFormField==null?null:e._parentFormField.color)==="accent")("mat-warn",(e._parentFormField==null?null:e._parentFormField.color)==="warn")("mat-undefined",!(e._parentFormField!=null&&e._parentFormField.color)),oe("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var kte=new R("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ia(t)}}),Rte=new R("MAT_SELECT_CONFIG"),Mte=new R("MatSelectTrigger"),r1=class{source;value;constructor(i,e){this.source=i,this.value=e}},si=(()=>{class t{_viewportRuler=m(ji);_changeDetectorRef=m(Ee);_elementRef=m(Q);_dir=m(an,{optional:!0});_idGenerator=m(pt);_renderer=m(ot);_parentFormField=m(Jl,{optional:!0});ngControl=m(Li,{self:!0,optional:!0});_liveAnnouncer=m(Jg);_defaultOptions=m(Rte,{optional:!0});_animationsDisabled=lt();_popoverLocation;_initialized=new O;_cleanupDetach;options;optionGroups;customTrigger;_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"}];_scrollOptionIntoView(e){let n=this.options.toArray()[e];if(n){let r=this.panel.nativeElement,o=RC(e,this.options,this.optionGroups),a=n._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=MC(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new r1(this,e)}_scrollStrategyFactory=m(kte);_panelOpen=!1;_compareWith=(e,n)=>e===n;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new O;_errorStateTracker;stateChanges=new O;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=Z(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(G.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;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)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=Wn(()=>{let e=this.options;return e?e.changes.pipe(Re(e),W(()=>ut(...e.map(n=>n.onSelectionChange)))):this._initialized.pipe(W(()=>this.optionSelectionChanges))});openedChange=new V;
5788_openedStream=this.openedChange.pipe(ae(e=>e),$(()=>{}));_closedStream=this.openedChange.pipe(ae(e=>!e),$(()=>{}));selectionChange=new V;valueChange=new V;constructor(){let e=m($p),n=m(pp,{optional:!0}),r=m($n,{optional:!0}),o=m(new di("tabindex"),{optional:!0}),a=m(a_,{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new qp(e,this.ngControl,r,n,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this._popoverLocation=a?.usePopover===!1?null:"inline",this.id=this.id}ngOnInit(){this._selectionModel=new mr(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(xe(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(xe(this._destroy)).subscribe(e=>{e.added.forEach(n=>n.select()),e.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(Re(null),xe(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),e.panelClass&&this.panelClass instanceof Set&&(this.panelClass=Array.from(this.panelClass))}ngOnDestroy(){this._cleanupDetach?.(),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._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(We(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let n=`${this.id}-panel`;this._trackedModal&&ad(this._trackedModal,"aria-owns",n),Fp(e,"aria-owns",n),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;ad(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{n(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,n=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}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,a=this._keyManager;if(!a.isTyping()&&o&&!Ht(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let d=this.selected;d&&s!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){let n=this._keyManager,r=e.keyCode,o=r===40||r===38,a=n.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&n.activeItem&&!Ht(e))e.preventDefault(),n.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(s?d.select():d.deselect())})}else{let s=n.activeItemIndex;n.onKeydown(e),this._multiple&&o&&e.shiftKey&&n.activeItem&&n.activeItemIndex!==s&&n.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!Ht(e)&&(e.preventDefault(),this.close())}_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())}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.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch(o){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}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Up?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 zu(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=ut(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(xe(e)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),ut(...this.options.map(n=>n._stateChanges)).pipe(xe(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,n){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&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;n<this.options.length;n++)if(!this.options.get(n).disabled){e=n;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,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()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let n=this._elementRef.nativeElement;e.length?n.setAttribute("aria-describedby",e.join(" ")):n.removeAttribute("aria-describedby")}onContainerClick(e){let n=ui(e);n&&(n.tagName==="MAT-OPTION"||n.classList.contains("cdk-overlay-backdrop")||n.closest(".mat-mdc-select-panel"))||(this.focus(),this.open())}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-select"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Mte,5)(o,Qt,5)(o,p_,5),n&2){let a;H(a=U())&&(r.customTrigger=a.first),H(a=U())&&(r.options=a),H(a=U())&&(r.optionGroups=a)}},viewQuery:function(n,r){if(n&1&&ve(Cte,5)(Dte,5)(wC,5),n&2){let o;H(o=U())&&(r.trigger=o.first),H(o=U())&&(r.panel=o.first),H(o=U())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(n,r){n&1&&T("keydown",function(a){return r._handleKeydown(a)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),n&2&&(oe("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()),ee("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)("mat-select-open",r.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:rn(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q],placeholder:"placeholder",required:[2,"required","required",q],multiple:[2,"multiple","multiple",q],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",q],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",rn],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",q]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[me([{provide:zp,useExisting:t},{provide:m_,useExisting:t}]),Ke],ngContentSelectors:wte,decls:11,vars:10,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","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayUsePopover"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",1,"mat-mdc-select-panel","mdc-menu-surface","mdc-menu-surface--open",3,"keydown"]],template:function(n,r){if(n&1&&(Ie(Ete),u(0,"div",2,0),T("click",function(){return r.open()}),u(3,"div",3),v(4,xte,2,1,"span",4)(5,Ite,3,1,"span",5),c(),u(6,"div",6)(7,"div",7),Tn(),u(8,"svg",8),x(9,"path",9),c()()()(),fe(10,Ate,3,16,"ng-template",10),T("detach",function(){return r.close()})("backdropClick",function(){return r.close()})("overlayKeydown",function(a){return r._handleOverlayKeydown(a)})),n&2){let o=ye(1);l(3),oe("id",r._valueId),l(),y(r.empty?4:5),l(6),g("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)("cdkConnectedOverlayUsePopover",r._popoverLocation)}},dependencies:[Up,wC],styles:[`@keyframes _mat-select-enter {
5789  from {
5790    opacity: 0;
5791    transform: scaleY(0.8);
5792  }
5793  to {
5794    opacity: 1;
5795    transform: none;
5796  }
5797}
5798@keyframes _mat-select-exit {
5799  from {
5800    opacity: 1;
5801  }
5802  to {
5803    opacity: 0;
5804  }
5805}
5806.mat-mdc-select {
5807  display: inline-block;
5808  width: 100%;
5809  outline: none;
5810  -moz-osx-font-smoothing: grayscale;
5811  -webkit-font-smoothing: antialiased;
5812  color: var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));
5813  font-family: var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));
5814  line-height: var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));
5815  font-size: var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));
5816  font-weight: var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));
5817  letter-spacing: var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking));
5818}
5819
5820div.mat-mdc-select-panel {
5821  box-shadow: var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.
582114), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));
5822}
5823
5824.mat-mdc-select-disabled {
5825  color: var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
5826}
5827.mat-mdc-select-disabled .mat-mdc-select-placeholder {
5828  color: var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
5829}
5830
5831.mat-mdc-select-trigger {
5832  display: inline-flex;
5833  align-items: center;
5834  cursor: pointer;
5835  position: relative;
5836  box-sizing: border-box;
5837  width: 100%;
5838}
5839.mat-mdc-select-disabled .mat-mdc-select-trigger {
5840  -webkit-user-select: none;
5841  user-select: none;
5842  cursor: default;
5843}
5844
5845.mat-mdc-select-value {
5846  width: 100%;
5847  overflow: hidden;
5848  text-overflow: ellipsis;
5849  white-space: nowrap;
5850}
5851
5852.mat-mdc-select-value-text {
5853  white-space: nowrap;
5854  overflow: hidden;
5855  text-overflow: ellipsis;
5856}
5857
5858.mat-mdc-select-arrow-wrapper {
5859  height: 24px;
5860  flex-shrink: 0;
5861  display: inline-flex;
5862  align-items: center;
5863}
5864.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper {
5865  transform: none;
5866}
5867
5868.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,
5869.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after {
5870  color: var(--mat-select-invalid-arrow-color, var(--mat-sys-error));
5871}
5872
5873.mat-mdc-select-arrow {
5874  width: 10px;
5875  height: 5px;
5876  position: relative;
5877  color: var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant));
5878}
5879.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow {
5880  color: var(--mat-select-focused-arrow-color, var(--mat-sys-primary));
5881}
5882.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow {
5883  color: var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
5884}
5885.mat-select-open .mat-mdc-select-arrow {
5886  transform: rotate(180deg);
5887}
5888.mat-form-field-animations-enabled .mat-mdc-select-arrow {
5889  transition: transform 80ms linear;
5890}
5891.mat-mdc-select-arrow svg {
5892  fill: currentColor;
5893  position: absolute;
5894  top: 50%;
5895  left: 50%;
5896  transform: translate(-50%, -50%);
5897}
5898@media (forced-colors: active) {
5899  .mat-mdc-select-arrow svg {
5900    fill: CanvasText;
5901  }
5902  .mat-mdc-select-disabled .mat-mdc-select-arrow svg {
5903    fill: GrayText;
5904  }
5905}
5906
5907div.mat-mdc-select-panel {
5908  width: 100%;
5909  max-height: 275px;
5910  outline: 0;
5911  overflow: auto;
5912  padding: 8px 0;
5913  box-sizing: border-box;
5914  transform-origin: top center;
5915  border-radius: 0 0 4px 4px;
5916  position: relative;
5917  background-color: var(--mat-select-panel-background-color, var(--mat-sys-surface-container));
5918}
5919.mat-mdc-select-panel-above div.mat-mdc-select-panel {
5920  border-radius: 4px 4px 0 0;
5921  transform-origin: bottom center;
5922}
5923@media (forced-colors: active) {
5924  div.mat-mdc-select-panel {
5925    outline: solid 1px;
5926  }
5927}
5928
5929.mat-select-panel-animations-enabled {
5930  animation: _mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1);
5931}
5932.mat-select-panel-animations-enabled.mat-select-panel-exit {
5933  animation: _mat-select-exit 100ms linear;
5934}
5935
5936.mat-mdc-select-placeholder {
5937  transition: color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);
5938  color: var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant));
5939}
5940.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder, ._mat-animation-noopable .mat-mdc-select-placeholder {
5941  transition: none;
5942}
5943.mat-form-field-hide-placeholder .mat-mdc-select-placeholder {
5944  color: transparent;
5945  -webkit-text-fill-color: transparent;
5946  transition: none;
5947  display: block;
5948}
5949
5950.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper {
5951  cursor: pointer;
5952}
5953.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label {
5954  max-width: calc(100% - 18px);
5955}
5956.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above {
5957  max-width: calc(100% / 0.75 - 24px);
5958}
5959.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch {
5960  max-width: calc(100% - 60px);
5961}
5962.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch {
5963  max-width: calc(100% - 24px);
5964}
5965
5966.mat-mdc-select-min-line:empty::before {
5967  content: " ";
5968  white-space: pre;
5969  width: 1px;
5970  display: inline-block;
5971  visibility: hidden;
5972}
5973
5974.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper {
5975  transform: var(--mat-select-arrow-transform, translateY(-8px));
5976}
5977`],encapsulation:2,changeDetection:0})}return t})();var Zu=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Ui,Gp,De,ur,zr,Gp]})}return t})();var S_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Ql,Ui,De,ur]})}return t})();function Nte(t,i){if(t&1&&(u(0,"mat-option",17),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),se(" ",e," ")}}function Ote(t,i){if(t&1){let e=Se();u(0,"mat-form-field",14)(1,"mat-select",16,0),T("selectionChange",function(r){te(e);let o=_(2);return ne(o._changePageSize(r.value))}),He(3,Nte,2,2,"mat-option",17,at),c(),u(5,"div",18),T("click",function(){te(e);let r=ye(2);
5977return ne(r.open())}),c()()}if(t&2){let e=_(2);g("appearance",e._formFieldAppearance)("color",e.color),l(),g("value",e.pageSize)("disabled",e.disabled),og("aria-labelledby",e._pageSizeLabelId),g("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),l(2),Ue(e._displayedPageSizeOptions)}}function Fte(t,i){if(t&1&&(u(0,"div",15),h(1),c()),t&2){let e=_(2);l(),S(e.pageSize)}}function Pte(t,i){if(t&1&&(u(0,"div",3)(1,"div",13),h(2),c(),v(3,Ote,6,7,"mat-form-field",14),v(4,Fte,2,1,"div",15),c()),t&2){let e=_();l(),oe("id",e._pageSizeLabelId),l(),se(" ",e._intl.itemsPerPageLabel," "),l(),y(e._displayedPageSizeOptions.length>1?3:-1),l(),y(e._displayedPageSizeOptions.length<=1?4:-1)}}function Lte(t,i){if(t&1){let e=Se();u(0,"button",19),T("click",function(){te(e);let r=_();return ne(r._buttonClicked(0,r._previousButtonsDisabled()))}),Tn(),u(1,"svg",8),x(2,"path",20),c()()}if(t&2){let e=_();g("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("disabled",e._previousButtonsDisabled())("tabindex",e._previousButtonsDisabled()?-1:null),oe("aria-label",e._intl.firstPageLabel)}}function Bte(t,i){if(t&1){let e=Se();u(0,"button",21),T("click",function(){te(e);let r=_();return ne(r._buttonClicked(r.getNumberOfPages()-1,r._nextButtonsDisabled()))}),Tn(),u(1,"svg",8),x(2,"path",22),c()()}if(t&2){let e=_();g("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("disabled",e._nextButtonsDisabled())("tabindex",e._nextButtonsDisabled()?-1:null),oe("aria-label",e._intl.lastPageLabel)}}var T_=(()=>{class t{changes=new O;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(e,n,r)=>{if(r==0||n==0)return`0 of ${r}`;r=Math.max(r,0);let o=e*n,a=o<r?Math.min(o+n,r):o+n;return`${o+1} \u2013 ${a} of ${r}`};static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vte=50;var jte=new R("MAT_PAGINATOR_DEFAULT_OPTIONS"),bo=(()=>{class t{_intl=m(T_);_changeDetectorRef=m(Ee);_formFieldAppearance;_pageSizeLabelId=m(pt).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new Co(1);color;get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(n=>rn(n,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new V;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){let e=this._intl,n=m(jte,{optional:!0});if(this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){let{pageSize:r,pageSizeOptions:o,hidePageSize:a,showFirstLastButtons:s}=n;r!=null&&(this._pageSize=r),o!=null&&(this._pageSizeOptions=o),a!=null&&(this.hidePageSize=a),s!=null&&(this.show
5977FirstLastButtons=s)}this._formFieldAppearance=n?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndex<e&&this.pageSize!=0}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(e){let n=this.pageIndex*this.pageSize,r=this.pageIndex;this.pageIndex=Math.floor(n/e)||0,this.pageSize=e,this._emitPageEvent(r)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:Vte),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((e,n)=>e-n),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(e){let n=this.pageIndex;e!==n&&(this.pageIndex=e,this._emitPageEvent(n))}_buttonClicked(e,n){n||this._navigate(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",rn],length:[2,"length","length",rn],pageSize:[2,"pageSize","pageSize",rn],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",q],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",q],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",q]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-atomic","true","aria-live","polite","role","status",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["aria-hidden","true",1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(n,r){n&1&&(u(0,"div",1)(1,"div",2),v(2,Pte,5,4,"div",3),u(3,"div",4)(4,"div",5),h(5),c(),v(6,Lte,3,5,"button",6),u(7,"button",7),T("click",function(){return r._buttonClicked(r.pageIndex-1,r._previousButtonsDisabled())}),Tn(),u(8,"svg",8),x(9,"path",9),c()(),Wo(),u(10,"button",10),T("click",function(){return r._buttonClicked(r.pageIndex+1,r._nextButtonsDisabled())}),Tn(),u(11,"svg",8),x(12,"path",11),c()(),v(13,Bte,3,5,"button",12),c()()()),n&2&&(l(2),y(r.hidePageSize?-1:2),l(3),se(" ",r._intl.getRangeLabel(r.pageIndex,r.pageSize,r.length)," "),l(),y(r.showFirstLastButtons?6:-1),l(),g("matTooltip",r._intl.previousPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("disabled",r._previousButtonsDisabled())("tabindex",r._previousButtonsDisabled()?-1:null),oe("aria-label",r._intl.previousPageLabel),l(3),g("matTooltip",r._intl.nextPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("disabled",r._nextButtonsDisabled())("tabindex",r._nextButtonsDisabled()?-1:null),oe("aria-label",r._intl.nextPageLabel),l(3),y(r.showFirstLastButtons?13:-1))},dependencies:[Ve,si,Qt,fr,Ys],styles:[`.mat-mdc-paginator {
5978  display: block;
5979  -moz-osx-font-smoothing: grayscale;
5980  -webkit-font-smoothing: antialiased;
5981  color: var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));
5982  background-color: var(--mat-paginator-container-background-color, var(--mat-sys-surface));
5983  font-family: var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));
5984  line-height: var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));
5985  font-size: var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));
5986  font-weight: var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));
5987  letter-spacing: var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));
5988  --mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);
5989  --mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px);
5990}
5991.mat-mdc-paginator .mat-mdc-select-value {
5992  font-size: var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size));
5993}
5994.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper {
5995  display: none;
5996}
5997.mat-mdc-paginator .mat-mdc-select {
5998  line-height: 1.5;
5999}
6000
6001.mat-mdc-paginator-outer-container {
6002  display: flex;
6003}
6004
6005.mat-mdc-paginator-container {
6006  display: flex;
6007  align-items: center;
6008  justify-content: flex-end;
6009  padding: 0 8px;
6010  flex-wrap: wrap;
6011  width: 100%;
6012  min-height: var(--mat-paginator-container-size, 56px);
6013}
6014
6015.mat-mdc-paginator-page-size {
6016  display: flex;
6017  align-items: baseline;
6018  margin-right: 8px;
6019}
6020[dir=rtl] .mat-mdc-paginator-page-size {
6021  margin-right: 0;
6022  margin-left: 8px;
6023}
6024
6025.mat-mdc-paginator-page-size-label {
6026  margin: 0 4px;
6027}
6028
6029.mat-mdc-paginator-page-size-select {
6030  margin: 0 4px;
6031  width: var(--mat-paginator-page-size-select-width, 84px);
6032}
6033
6034.mat-mdc-paginator-range-label {
6035  margin: 0 32px 0 24px;
6036}
6037
6038.mat-mdc-paginator-range-actions {
6039  display: flex;
6040  align-items: center;
6041}
6042
6043.mat-mdc-paginator-icon {
6044  display: inline-block;
6045  width: 28px;
6046  fill: var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant));
6047}
6048.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon {
6049  fill: var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
6050}
6051[dir=rtl] .mat-mdc-paginator-icon {
6052  transform: rotate(180deg);
6053}
6054
6055@media (forced-colors: active) {
6056  .mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,
6057  .mat-mdc-paginator-icon {
6058    fill: currentColor;
6059  }
6060  .mat-mdc-paginator-range-actions .mat-mdc-icon-button {
6061    outline: solid 1px;
6062  }
6063  .mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled] {
6064    color: GrayText;
6065  }
6066}
6067.mat-mdc-paginator-touch-target {
6068  display: var(--mat-paginator-touch-target-display, block);
6069  position: absolute;
6070  top: 50%;
6071  left: 50%;
6072  width: var(--mat-paginator-page-size-select-width, 84px);
6073  height: var(--mat-paginator-page-size-select-touch-target-height, 48px);
6074  background-color: transparent;
6075  transform: translate(-50%, -50%);
6076  cursor: pointer;
6077}
6078`],encapsulation:2,changeDetection:0})}return t})(),o1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[_o,Zu,S_,bo]})}return t})();function Hte(t,i){t&1&&gi(0,"div",2)}var Ute=new R("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var WH=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_changeDetectorRef=m(Ee);_renderer=m(ot);_cleanupTransitionEnd;constructor(){let e=i_(),n=m(Ute,{optional:!0});this._isNoopAnimation=e==="di-disabled",e==="reduced-motion"&&this._elementRef.nativeElement.classList.add("mat-progress-bar-reduced-motion"),n&&(n.color&&(this.color=this._defaultColor=n.color),this.mode=n.mode||this.mode)}_isNoopAnimation;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";get value(){return this._value}set value(e){this._value=GH(e||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=GH(e||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new V;get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler)})}ngOnDestroy(){this._cleanupTransitionEnd?.()}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}_transitionendHandler=e=>{this.animationEnd.observers.length===0||!e.target||!e.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(n,r){n&2&&(oe("aria-valuenow",r._isIndeterminate()?null:r.value)("mode",r.mode),Be("mat-"+r.color),ee("_mat-animation-noopable",r._isNoopAnimation)("mdc-linear-progress--animation-ready",!r._isNoopAnimation)("mdc-linear-progress--indeterminate",r._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",rn],bufferValue:[2,"bufferValue","bufferValue",rn],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(n,r){n&1&&(ft(0,"div",0),gi(1,"div",1),v(2,Hte,1,0,"div",2),_t(),ft(3,"div",3),gi(4,"span",4),_t(),ft(5,"div",5),gi(6,"span",4),_t()),n&2&&(l(),On("flex-basis",r._getBufferBarFlexBasis()),l(),y(r.mode==="buffer"?2:-1),l(),On("transform",r._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar {
6079  --mat-progress-bar-animation-multiplier: 1;
6080  display: block;
6081  text-align: start;
6082}
6083.mat-mdc-progress-bar[mode=query] {
6084  transform: scaleX(-1);
6085}
6086.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,
6087.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,
6088.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,
6089.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner {
6090  animation: none;
6091}
6092.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,
6093.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar {
6094  transition: transform 1ms;
6095}
6096
6097.mat-progress-bar-reduced-motion {
6098  --mat-progress-bar-animation-multiplier: 2;
6099}
6100
6101.mdc-linear-progress {
6102  position: relative;
6103  width: 100%;
6104  transform: translateZ(0);
6105  outline: 1px solid transparent;
6106  overflow-x: hidden;
6107  transition: opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
6108  height: max(var(--mat-progress-bar-track-height, 4px), var(--mat-progress-bar-active-indicator-height, 4px));
6109}
6110@media (forced-colors: active) {
6111  .mdc-linear-progress {
6112    outline-color: CanvasText;
6113  }
6114}
6115
6116.mdc-linear-progress__bar {
6117  position: absolute;
6118  top: 0;
6119  bottom: 0;
6120  margin: auto 0;
6121  width: 100%;
6122  animation: none;
6123  transform-origin: top left;
6124  transition: transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
6125  height: var(--mat-progress-bar-active-indicator-height, 4px);
6126}
6127.mdc-linear-progress--indeterminate .mdc-linear-progress__bar {
6128  transition: none;
6129}
6130[dir=rtl] .mdc-linear-progress__bar {
6131  right: 0;
6132  transform-origin: center right;
6133}
6134
6135.mdc-linear-progress__bar-inner {
6136  display: inline-block;
6137  position: absolute;
6138  width: 100%;
6139  animation: none;
6140  border-top-style: solid;
6141  border-color: var(--mat-progress-bar-active-indicator-color, var(--mat-sys-primary));
6142  border-top-width: var(--mat-progress-bar-active-indicator-height, 4px);
6143}
6144
6145.mdc-linear-progress__buffer {
6146  display: flex;
6147  position: absolute;
6148  top: 0;
6149  bottom: 0;
6150  margin: auto 0;
6151  width: 100%;
6152  overflow: hidden;
6153  height: var(--mat-progress-bar-track-height, 4px);
6154  border-radius: var(--mat-progress-bar-track-shape, var(--mat-sys-corner-none));
6155}
6156
6157.mdc-linear-progress__buffer-dots {
6158  background-image: radial-gradient(circle, var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant)) calc(var(--mat-progress-bar-track-height, 4px) / 2), transparent 0);
6159  background-repeat: repeat-x;
6160  background-size: calc(calc(var(--mat-progress-bar-track-height, 4px) / 2) * 5);
6161  background-position: left;
6162  flex: auto;
6163  transform: rotate(180deg);
6164  animation: mdc-linear-progress-buffering calc(250ms * var(--mat-progress-bar-animation-multiplier)) infinite linear;
6165}
6166@media (forced-colors: active) {
6167  .mdc-linear-progress__buffer-dots {
6168    background-color: ButtonBorder;
6169  }
6170}
6171[dir=rtl] .mdc-linear-progress__buffer-dots {
6172  animation: mdc-linear-progress-buffering-reverse calc(250ms * var(--mat-progress-bar-animation-multiplier)) infinite linear;
6173  transform: rotate(0);
6174}
6175
6176.mdc-linear-progress__buffer-bar {
6177  flex: 0 1 100%;
6178  transition: flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
6179  background-color: var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant));
6180}
6181
6182.mdc-linear-progress__primary-bar {
6183  transform: scaleX(0);
6184}
6185.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar {
6186  left: -145.166611%;
6187}
6188.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar {
6189  animation: mdc-linear-progress-primary-indeterminate-translate calc(2s * var(--mat-progress-bar-animation-multiplier)) infinite linear;
6190}
6191.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar > .mdc-linear-progress__bar-inner {
6192  animation: mdc-linear-progress-primary-indeterminate-scale calc(2s * var(--mat-progress-bar-animation-multiplier)) infinite linear;
6193}
6194[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar {
6195  animation-name: mdc-linear-progress-primary-indeterminate-translate-reverse;
6196}
6197[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar {
6198  right: -145.166611%;
6199  left: auto;
6200}
6201
6202.mdc-linear-progress__secondary-bar {
6203  display: none;
6204}
6205.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar {
6206  left: -54.888891%;
6207  display: block;
6208}
6209.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar {
6210  animation: mdc-linear-progress-secondary-indeterminate-translate calc(2s * var(--mat-progress-bar-animation-multiplier)) infinite linear;
6211}
6212.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar > .mdc-linear-progress__bar-inner {
6213  animation: mdc-linear-progress-secondary-indeterminate-scale calc(2s * var(--mat-progress-bar-animation-multiplier)) infinite linear;
6214}
6215[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar {
6216  animation-name: mdc-linear-progress-secondary-indeterminate-translate-reverse;
6217}
6218[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar {
6219  right: -54.888891%;
6220  left: auto;
6221}
6222
6223@keyframes mdc-linear-progress-buffering {
6224  from {
6225    transform: rotate(180deg) translateX(calc(var(--mat-progress-bar-track-height, 4px) * -2.5));
6226  }
6227}
6228@keyframes mdc-linear-progress-primary-indeterminate-translate {
6229  0% {
6230    transform: translateX(0);
6231  }
6232  20% {
6233    animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);
6234    transform: translateX(0);
6235  }
6236  59.15% {
6237    animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);
6238    transform: translateX(83.67142%);
6239  }
6240  100% {
6241    transform: translateX(200.611057%);
6242  }
6243}
6244@keyframes mdc-linear-progress-primary-indeterminate-scale {
6245  0% {
6246    transform: scaleX(0.08);
6247  }
6248  36.65% {
6249    animation-timing-function: cubic-bezier(0.334731, 0.12482, 0.785844, 1);
6250    transform: scaleX(0.08);
6251  }
6252  69.15% {
6253    animation-timing-function: cubic-bezier(0.06, 0.11, 0.6, 1);
6254    transform: scaleX(0.661479);
6255  }
6256  100% {
6257    transform: scaleX(0.08);
6258  }
6259}
6260@keyframes mdc-linear-progress-secondary-indeterminate-translate {
6261  0% {
6262    animation-timing-function: cubic-bezier(0.15, 0, 0.515058, 0.409685);
6263    transform: translateX(0);
6264  }
6265  25% {
6266    animation-timing-function: cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);
6267    transform: translateX(37.651913%);
6268  }
6269  48.35% {
6270    animation-timing-function: cubic-bezier(0.4, 0.627035, 0.6, 0.902026);
6271    transform: translateX(84.386165%);
6272  }
6273  100% {
6274    transform: translateX(160.277782%);
6275  }
6276}
6277@keyframes mdc-linear-progress-secondary-indeterminate-scale {
6278  0% {
6279    animation-timing-function: cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);
6280    transform: scaleX(0.08);
6281  }
6282  19.15% {
6283    animation-timing-function: cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);
6284    transform: scaleX(0.457104);
6285  }
6286  44.15% {
6287    animation-timing-function: cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);
6288    transform: scaleX(0.72796);
6289  }
6290  100% {
6291    transform: scaleX(0.08);
6292  }
6293}
6294@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse {
6295  0% {
6296    transform: translateX(0);
6297  }
6298  20% {
6299    animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);
6300    transform: translateX(0);
6301  }
6302  59.15% {
6303    animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);
6304    transform: translateX(-83.67142%);
6305  }
6306  100% {
6307    transform: translateX(-200.611057%);
6308  }
6309}
6310@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse {
6311  0% {
6312    animation-timing-function: cubic-bezier(0.15, 0, 0.515058, 0.409685);
6313    transform: translateX(0);
6314  }
6315  25% {
6316    animation-timing-function: cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);
6317    transform: translateX(-37.651913%);
6318  }
6319  48.35% {
6320    animation-timing-function: cubic-bezier(0.4, 0.627035, 0.6, 0.902026);
6321    transform: translateX(-84.386165%);
6322  }
6323  100% {
6324    transform: translateX(-160.277782%);
6325  }
6326}
6327@keyframes mdc-linear-progress-buffering-reverse {
6328  from {
6329    transform: translateX(-10px);
6330  }
6331}
6332`],encapsulation:2,changeDetection:0})}return t})();function GH(t,i=0,e=100){return Math.max(i,Math.min(e,t))}var s1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var Gte=["determinateSpinner"];function Wte(t,i){if(t&1&&(Tn(),u(0,"svg",11),x(1,"circle",12),c()),t&2){let e=_();oe("viewBox",e._viewBox()),l(),On("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),oe("r",e._circleRadius())}}var $te=new R("mat-progress-spinner-default-options",{providedIn:"root",factory:()=>({diameter:$H})}),$H=100,qte=10,th=(()=>{class t{_elementRef=m(Q);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=m($te),n=i_(),r=this._elementRef.nativeElement;this._noopAnimations=n==="di-disabled"&&!!e&&!e._forceAnimations,this.mode=r.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",!this._noopAnimations&&n==="reduced-motion"&&r.classList.add("mat-progress-spinner-reduced-motion"),e&&(e.color&&(this.color=this._defaultColor=e.color),e.diameter&&(this.diameter=e.diameter),e.strokeWidth&&(this.strokeWidth=e.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=$H;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-qte)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,r){if(n&1&&ve(Gte,5),n&2){let o;H(o=U())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(n,r){n&2&&(oe("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),Be("mat-"+r.color),On("width",r.diameter,"px")("height",r.diameter,"px")("--mat-progress-spinner-size",r.diameter+"px")("--mat-progress-spinner-active-indicator-width",r.diameter+"px"),ee("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",rn],diameter:[2,"diameter","diameter",rn],strokeWidth:[2,"strokeWidth","strokeWidth",rn]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(n,r){if(n&1&&(fe(0,Wte,2,8,"ng-template",null,0,fa),u(2,"div",2,1),Tn(),u(4,"svg",3),x(5,"circle",4),c()(),Wo(),u(6,"div",5)(7,"div",6)(8,"div",7),Di(9,8),c(),u(10,"div",9),Di(11,8),c(),u(12,"div",10),Di(13,8),c()()()),n&2){let o=ye(1);l(4),oe("viewBox",r._viewBox()),l(),On("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),oe("r",r._circleRadius()),l(4),g("ngTemplateOutlet",o),l(2),g("ngTemplateOutlet",o),l(2),g("ngTemplateOutlet",o)}},dependencies:[xu],styles:[`.mat-mdc-progress-spinner {
6333  --mat-progress-spinner-animation-multiplier: 1;
6334  display: block;
6335  overflow: hidden;
6336  line-height: 0;
6337  position: relative;
6338  direction: ltr;
6339  transition: opacity 250ms cubic-bezier(0.4, 0, 0.6, 1);
6340}
6341.mat-mdc-progress-spinner circle {
6342  stroke-width: var(--mat-progress-spinner-active-indicator-width, 4px);
6343}
6344.mat-mdc-progress-spinner._mat-animation-noopable, .mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle {
6345  transition: none !important;
6346}
6347.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,
6348.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,
6349.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container {
6350  animation: none !important;
6351}
6352.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle {
6353  stroke-dasharray: 0 !important;
6354}
6355@media (forced-colors: active) {
6356  .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,
6357  .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle {
6358    stroke: currentColor;
6359    stroke: CanvasText;
6360  }
6361}
6362
6363.mat-progress-spinner-reduced-motion {
6364  --mat-progress-spinner-animation-multiplier: 1.25;
6365}
6366
6367.mdc-circular-progress__determinate-container,
6368.mdc-circular-progress__indeterminate-circle-graphic,
6369.mdc-circular-progress__indeterminate-container,
6370.mdc-circular-progress__spinner-layer {
6371  position: absolute;
6372  width: 100%;
6373  height: 100%;
6374}
6375
6376.mdc-circular-progress__determinate-container {
6377  transform: rotate(-90deg);
6378}
6379.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container {
6380  opacity: 0;
6381}
6382
6383.mdc-circular-progress__indeterminate-container {
6384  font-size: 0;
6385  letter-spacing: 0;
6386  white-space: nowrap;
6387  opacity: 0;
6388}
6389.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container {
6390  opacity: 1;
6391  animation: mdc-circular-progress-container-rotate calc(1568.2352941176ms * var(--mat-progress-spinner-animation-multiplier)) linear infinite;
6392}
6393
6394.mdc-circular-progress__determinate-circle-graphic,
6395.mdc-circular-progress__indeterminate-circle-graphic {
6396  fill: transparent;
6397}
6398
6399.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,
6400.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic {
6401  stroke: var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary));
6402}
6403@media (forced-colors: active) {
6404  .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,
6405  .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic {
6406    stroke: CanvasText;
6407  }
6408}
6409
6410.mdc-circular-progress__determinate-circle {
6411  transition: stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1);
6412}
6413
6414.mdc-circular-progress__gap-patch {
6415  position: absolute;
6416  top: 0;
6417  left: 47.5%;
6418  box-sizing: border-box;
6419  width: 5%;
6420  height: 100%;
6421  overflow: hidden;
6422}
6423
6424.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic {
6425  left: -900%;
6426  width: 2000%;
6427  transform: rotate(180deg);
6428}
6429.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic {
6430  width: 200%;
6431}
6432.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic {
6433  left: -100%;
6434}
6435.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic {
6436  animation: mdc-circular-progress-left-spin calc(1333ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;
6437}
6438.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic {
6439  animation: mdc-circular-progress-right-spin calc(1333ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;
6440}
6441
6442.mdc-circular-progress__circle-clipper {
6443  display: inline-flex;
6444  position: relative;
6445  width: 50%;
6446  height: 100%;
6447  overflow: hidden;
6448}
6449
6450.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer {
6451  animation: mdc-circular-progress-spinner-layer-rotate calc(5332ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;
6452}
6453
6454@keyframes mdc-circular-progress-container-rotate {
6455  to {
6456    transform: rotate(360deg);
6457  }
6458}
6459@keyframes mdc-circular-progress-spinner-layer-rotate {
6460  12.5% {
6461    transform: rotate(135deg);
6462  }
6463  25% {
6464    transform: rotate(270deg);
6465  }
6466  37.5% {
6467    transform: rotate(405deg);
6468  }
6469  50% {
6470    transform: rotate(540deg);
6471  }
6472  62.5% {
6473    transform: rotate(675deg);
6474  }
6475  75% {
6476    transform: rotate(810deg);
6477  }
6478  87.5% {
6479    transform: rotate(945deg);
6480  }
6481  100% {
6482    transform: rotate(1080deg);
6483  }
6484}
6485@keyframes mdc-circular-progress-left-spin {
6486  from {
6487    transform: rotate(265deg);
6488  }
6489  50% {
6490    transform: rotat
6490e(130deg);
6491  }
6492  to {
6493    transform: rotate(265deg);
6494  }
6495}
6496@keyframes mdc-circular-progress-right-spin {
6497  from {
6498    transform: rotate(-265deg);
6499  }
6500  50% {
6501    transform: rotate(-130deg);
6502  }
6503  to {
6504    transform: rotate(-265deg);
6505  }
6506}
6507`],encapsulation:2,changeDetection:0})}return t})();var Qu=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var ZC=["*"],Yte=["content"],Kte=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Xte=["mat-drawer","mat-drawer-content","*"];function Zte(t,i){if(t&1){let e=Se();u(0,"div",1),T("click",function(){te(e);let r=_();return ne(r._onBackdropClicked())}),c()}if(t&2){let e=_();ee("mat-drawer-shown",e._isShowingBackdrop())}}function Qte(t,i){t&1&&(u(0,"mat-drawer-content"),re(1,2),c())}var Jte=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ene=["mat-sidenav","mat-sidenav-content","*"];function tne(t,i){if(t&1){let e=Se();u(0,"div",1),T("click",function(){te(e);let r=_();return ne(r._onBackdropClicked())}),c()}if(t&2){let e=_();ee("mat-drawer-shown",e._isShowingBackdrop())}}function nne(t,i){t&1&&(u(0,"mat-sidenav-content"),re(1,2),c())}var ine=`.mat-drawer-container {
6508  position: relative;
6509  z-index: 1;
6510  color: var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));
6511  background-color: var(--mat-sidenav-content-background-color, var(--mat-sys-background));
6512  box-sizing: border-box;
6513  display: block;
6514  overflow: hidden;
6515}
6516.mat-drawer-container[fullscreen] {
6517  top: 0;
6518  left: 0;
6519  right: 0;
6520  bottom: 0;
6521  position: absolute;
6522}
6523.mat-drawer-container[fullscreen].mat-drawer-container-has-open {
6524  overflow: hidden;
6525}
6526.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side {
6527  z-index: 3;
6528}
6529.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,
6530.mat-drawer-container.ng-animate-disabled .mat-drawer-content, .ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,
6531.ng-animate-disabled .mat-drawer-container .mat-drawer-content {
6532  transition: none;
6533}
6534
6535.mat-drawer-backdrop {
6536  top: 0;
6537  left: 0;
6538  right: 0;
6539  bottom: 0;
6540  position: absolute;
6541  display: block;
6542  z-index: 3;
6543  visibility: hidden;
6544}
6545.mat-drawer-backdrop.mat-drawer-shown {
6546  visibility: visible;
6547  background-color: var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent));
6548}
6549.mat-drawer-transition .mat-drawer-backdrop {
6550  transition-duration: 400ms;
6551  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
6552  transition-property: background-color, visibility;
6553}
6554@media (forced-colors: active) {
6555  .mat-drawer-backdrop {
6556    opacity: 0.5;
6557  }
6558}
6559
6560.mat-drawer-content {
6561  position: relative;
6562  z-index: 1;
6563  display: block;
6564  height: 100%;
6565  overflow: auto;
6566}
6567.mat-drawer-content.mat-drawer-content-hidden {
6568  opacity: 0;
6569}
6570.mat-drawer-transition .mat-drawer-content {
6571  transition-duration: 400ms;
6572  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
6573  transition-property: transform, margin-left, margin-right;
6574}
6575
6576.mat-drawer {
6577  position: relative;
6578  z-index: 4;
6579  color: var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));
6580  box-shadow: var(--mat-sidenav-container-elevation-shadow, none);
6581  background-color: var(--mat-sidenav-container-background-color, var(--mat-sys-surface));
6582  border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6583  border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6584  width: var(--mat-sidenav-container-width, 360px);
6585  display: block;
6586  position: absolute;
6587  top: 0;
6588  bottom: 0;
6589  z-index: 3;
6590  outline: 0;
6591  box-sizing: border-box;
6592  overflow-y: auto;
6593  transform: translate3d(-100%, 0, 0);
6594}
6595@media (forced-colors: active) {
6596  .mat-drawer, [dir=rtl] .mat-drawer.mat-drawer-end {
6597    border-right: solid 1px currentColor;
6598  }
6599}
6600@media (forced-colors: active) {
6601  [dir=rtl] .mat-drawer, .mat-drawer.mat-drawer-end {
6602    border-left: solid 1px currentColor;
6603    border-right: none;
6604  }
6605}
6606.mat-drawer.mat-drawer-side {
6607  z-index: 2;
6608}
6609.mat-drawer.mat-drawer-end {
6610  right: 0;
6611  transform: translate3d(100%, 0, 0);
6612  border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6613  border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6614  border-top-right-radius: 0;
6615  border-bottom-right-radius: 0;
6616}
6617[dir=rtl] .mat-drawer {
6618  border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6619  border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6620  border-top-right-radius: 0;
6621  border-bottom-right-radius: 0;
6622  transform: translate3d(100%, 0, 0);
6623}
6624[dir=rtl] .mat-drawer.mat-drawer-end {
6625  border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6626  border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6627  border-top-left-radius: 0;
6628  border-bottom-left-radius: 0;
6629  left: 0;
6630  right: auto;
6631  transform: translate3d(-100%, 0, 0);
6632}
6633.mat-drawer-transition .mat-drawer {
6634  transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
6635}
6636.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) {
6637  visibility: hidden;
6638  box-shadow: none;
6639}
6640.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container {
6641  display: none;
6642}
6643.mat-drawer.mat-drawer-opened.mat-drawer-opened {
6644  transform: none;
6645}
6646
6647.mat-drawer-side {
6648  box-shadow: none;
6649  border-right-color: var(--mat-sidenav-container-divider-color, transparent);
6650  border-right-width: 1px;
6651  border-right-style: solid;
6652}
6653.mat-drawer-side.mat-drawer-end {
6654  border-left-color: var(--mat-sidenav-container-divider-color, transparent);
6655  border-left-width: 1px;
6656  border-left-style: solid;
6657  border-right: none;
6658}
6659[dir=rtl] .mat-drawer-side {
6660  border-left-color: var(--mat-sidenav-container-divider-color, transparent);
6661  border-left-width: 1px;
6662  border-left-style: solid;
6663  border-right: none;
6664}
6665[dir=rtl] .mat-drawer-side.mat-drawer-end {
6666  border-right-color: var(--mat-sidenav-container-divider-color, transparent);
6667  border-right-width: 1px;
6668  border-right-style: solid;
6669  border-left: none;
6670}
6671
6672.mat-drawer-inner-container {
6673  width: 100%;
6674  height: 100%;
6675  overflow: auto;
6676}
6677
6678.mat-sidenav-fixed {
6679  position: fixed;
6680}
6681`;var rne=new R("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:()=>!1}),d1=new R("MAT_DRAWER_CONTAINER"),XC=(()=>{class t extends Us{_platform=m(gt);_changeDetectorRef=m(Ee);_container=m(c1);constructor(){let e=m(Q),n=m(rs),r=m(le);super(e,n,r)}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;let{start:e,end:n}=this._container;return e!=null&&e.mode!=="over"&&e.opened||n!=null&&n.mode!=="over"&&n.opened}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(n,r){n&2&&(On("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px"),ee("mat-drawer-content-hidden",r._shouldBeHidden()))},features:[me([{provide:Us,useExisting:t}]),he],ngContentSelectors:ZC,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},encapsulation:2,changeDetection:0})}return t})(),l1=(()=>{class t{_elementRef=m(Q);_focusTrapFactory=m(Np);_focusMonitor=m(oi);_platform=m(gt);_ngZone=m(le);_renderer=m(ot);_interactivityChecker=m(Uu);_doc=m(Ce);_container=m(d1,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_eventCleanups;_isAttached=!1;_anchor=null;get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Fn(e)}_disableClose=!1;get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=Fn(e)),this._autoFocus=e}_autoFocus;get opened(){return this._opened()}set opened(e){this.toggle(Fn(e))}_opened=Z(!1);_openedVia=null;_animationStarted=new O;_animationEnd=new O;openedChange=new V(!0);_openedStream=this.openedChange.pipe(ae(e=>e),$(()=>{}));openedStart=this._animationStarted.pipe(ae(()=>this.opened),Bm(void 0));
6681_closedStream=this.openedChange.pipe(ae(e=>!e),$(()=>{}));closedStart=this._animationStarted.pipe(ae(()=>!this.opened),Bm(void 0));_destroyed=new O;onPositionChanged=new V;_content;_modeChanged=new O;_injector=m(ie);_changeDetectorRef=m(Ee);constructor(){this.openedChange.pipe(xe(this._destroyed)).subscribe(e=>{e?(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement,this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._eventCleanups=this._ngZone.runOutsideAngular(()=>{let e=this._renderer,n=this._elementRef.nativeElement;return[e.listen(n,"keydown",r=>{r.keyCode===27&&!this.disableClose&&!Ht(r)&&this._ngZone.run(()=>{this.close(),r.stopPropagation(),r.preventDefault()})}),e.listen(n,"transitionend",this._handleTransitionEvent),e.listen(n,"transitioncancel",this._handleTransitionEvent)]}),this._animationEnd.subscribe(()=>{this.openedChange.emit(this.opened)})}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),a(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),a=this._renderer.listen(e,"mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":Dt(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,n){e&&n&&(this._openedVia=n);let r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,n,r){return e===this.opened?Promise.resolve(e?"open":"close"):(this._opened.set(e),this._container?._transitionsEnabled?(this._setIsAnimating(!0),setTimeout(()=>this._animationStarted.next())):setTimeout(()=>{this._animationStarted.next(),this._animationEnd.next()}),this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",e),!e&&n&&this._restoreFocus(r),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(We(1)).subscribe(a=>o(a?"open":"close"))}))}_setIsAnimating(e){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",e)}_getWidth(){return this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&!!this._container?._isShowingBackdrop())}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let n=this._elementRef.nativeElement,r=n.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,n)),r.appendChild(n)):this._anchor&&this._anchor.parentNode.insertBefore(n,this._anchor)}_handleTransitionEvent=e=>{let n=this._elementRef.nativeElement;e.target===n&&this._ngZone.run(()=>{e.type==="transitionend"&&this._setIsAnimating(!1),this._animationEnd.next(e)})};static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-drawer"]],viewQuery:function(n,r){if(n&1&&ve(Yte,5),n&2){let o;H(o=U())&&(r._content=o.first)}},hostAttrs:[1,"mat-drawer"],hostVars:12,hostBindings:function(n,r){n&2&&(oe("align",null)("tabIndex",r.mode!=="side"?"-1":null),On("visibility",!r._container&&!r.opened?"hidden":null),ee("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side"))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:ZC,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(n,r){n&1&&(Ie(),u(0,"div",1,0),re
6681(2),c())},dependencies:[Us],encapsulation:2,changeDetection:0})}return t})(),c1=(()=>{class t{_dir=m(an,{optional:!0});_element=m(Q);_ngZone=m(le);_changeDetectorRef=m(Ee);_animationDisabled=lt();_transitionsEnabled=!1;_allDrawers;_drawers=new ro;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Fn(e)}_autosize=m(rne);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:Fn(e)}_backdropOverride=null;backdropClick=new V;_start=null;_end=null;_left=null;_right=null;_destroyed=new O;_doCheckSubject=new O;_contentMargins={left:null,right:null};_contentMarginChanges=new O;get scrollable(){return this._userContent||this._content}_injector=m(ie);constructor(){let e=m(gt),n=m(ji);this._dir?.change.pipe(xe(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),n.change().pipe(xe(this._destroyed)).subscribe(()=>this.updateContentMargins()),!this._animationDisabled&&e.isBrowser&&this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._element.nativeElement.classList.add("mat-drawer-transition"),this._transitionsEnabled=!0},200)})}ngAfterContentInit(){this._allDrawers.changes.pipe(Re(this._allDrawers),xe(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(n=>!n._container||n._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Re(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(hi(10),xe(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,n=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,n-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")n+=this._right._getWidth();else if(this._right.mode=="push"){let r=this._right._getWidth();n+=r,e-=r}}e=e||null,n=n||null,(e!==this._contentMargins.left||n!==this._contentMargins.right)&&(this._contentMargins={left:e,right:n},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(xe(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(xe(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e.onPositionChanged.pipe(xe(this._drawers.changes)).subscribe(()=>{Dt({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(e){e._modeChanged.pipe(xe(ut(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let n=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?n.add(r):n.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>
6681e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,XC,5)(o,l1,5),n&2){let a;H(a=U())&&(r._content=a.first),H(a=U())&&(r._allDrawers=a)}},viewQuery:function(n,r){if(n&1&&ve(XC,5),n&2){let o;H(o=U())&&(r._userContent=o.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[me([{provide:d1,useExisting:t}])],ngContentSelectors:Xte,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(n,r){n&1&&(Ie(Kte),v(0,Zte,1,2,"div",0),re(1),re(2,1),v(3,Qte,2,0,"mat-drawer-content")),n&2&&(y(r.hasBackdrop?0:-1),l(3),y(r._content?-1:3))},dependencies:[XC],styles:[`.mat-drawer-container {
6682  position: relative;
6683  z-index: 1;
6684  color: var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));
6685  background-color: var(--mat-sidenav-content-background-color, var(--mat-sys-background));
6686  box-sizing: border-box;
6687  display: block;
6688  overflow: hidden;
6689}
6690.mat-drawer-container[fullscreen] {
6691  top: 0;
6692  left: 0;
6693  right: 0;
6694  bottom: 0;
6695  position: absolute;
6696}
6697.mat-drawer-container[fullscreen].mat-drawer-container-has-open {
6698  overflow: hidden;
6699}
6700.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side {
6701  z-index: 3;
6702}
6703.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,
6704.mat-drawer-container.ng-animate-disabled .mat-drawer-content, .ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,
6705.ng-animate-disabled .mat-drawer-container .mat-drawer-content {
6706  transition: none;
6707}
6708
6709.mat-drawer-backdrop {
6710  top: 0;
6711  left: 0;
6712  right: 0;
6713  bottom: 0;
6714  position: absolute;
6715  display: block;
6716  z-index: 3;
6717  visibility: hidden;
6718}
6719.mat-drawer-backdrop.mat-drawer-shown {
6720  visibility: visible;
6721  background-color: var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent));
6722}
6723.mat-drawer-transition .mat-drawer-backdrop {
6724  transition-duration: 400ms;
6725  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
6726  transition-property: background-color, visibility;
6727}
6728@media (forced-colors: active) {
6729  .mat-drawer-backdrop {
6730    opacity: 0.5;
6731  }
6732}
6733
6734.mat-drawer-content {
6735  position: relative;
6736  z-index: 1;
6737  display: block;
6738  height: 100%;
6739  overflow: auto;
6740}
6741.mat-drawer-content.mat-drawer-content-hidden {
6742  opacity: 0;
6743}
6744.mat-drawer-transition .mat-drawer-content {
6745  transition-duration: 400ms;
6746  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
6747  transition-property: transform, margin-left, margin-right;
6748}
6749
6750.mat-drawer {
6751  position: relative;
6752  z-index: 4;
6753  color: var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));
6754  box-shadow: var(--mat-sidenav-container-elevation-shadow, none);
6755  background-color: var(--mat-sidenav-container-background-color, var(--mat-sys-surface));
6756  border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6757  border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6758  width: var(--mat-sidenav-container-width, 360px);
6759  display: block;
6760  position: absolute;
6761  top: 0;
6762  bottom: 0;
6763  z-index: 3;
6764  outline: 0;
6765  box-sizing: border-box;
6766  overflow-y: auto;
6767  transform: translate3d(-100%, 0, 0);
6768}
6769@media (forced-colors: active) {
6770  .mat-drawer, [dir=rtl] .mat-drawer.mat-drawer-end {
6771    border-right: solid 1px currentColor;
6772  }
6773}
6774@media (forced-colors: active) {
6775  [dir=rtl] .mat-drawer, .mat-drawer.mat-drawer-end {
6776    border-left: solid 1px currentColor;
6777    border-right: none;
6778  }
6779}
6780.mat-drawer.mat-drawer-side {
6781  z-index: 2;
6782}
6783.mat-drawer.mat-drawer-end {
6784  right: 0;
6785  transform: translate3d(100%, 0, 0);
6786  border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6787  border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6788  border-top-right-radius: 0;
6789  border-bottom-right-radius: 0;
6790}
6791[dir=rtl] .mat-drawer {
6792  border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6793  border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6794  border-top-right-radius: 0;
6795  border-bottom-right-radius: 0;
6796  transform: translate3d(100%, 0, 0);
6797}
6798[dir=rtl] .mat-drawer.mat-drawer-end {
6799  border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6800  border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
6801  border-top-left-radius: 0;
6802  border-bottom-left-radius: 0;
6803  left: 0;
6804  right: auto;
6805  transform: translate3d(-100%, 0, 0);
6806}
6807.mat-drawer-transition .mat-drawer {
6808  transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
6809}
6810.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) {
6811  visibility: hidden;
6812  box-shadow: none;
6813}
6814.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container {
6815  display: none;
6816}
6817.mat-drawer.mat-drawer-opened.mat-drawer-opened {
6818  transform: none;
6819}
6820
6821.mat-drawer-side {
6822  box-shadow: none;
6823  border-right-color: var(--mat-sidenav-container-divider-color, transparent);
6824  border-right-width: 1px;
6825  border-right-style: solid;
6826}
6827.mat-drawer-side.mat-drawer-end {
6828  border-left-color: var(--mat-sidenav-container-divider-color, transparent);
6829  border-left-width: 1px;
6830  border-left-style: solid;
6831  border-right: none;
6832}
6833[dir=rtl] .mat-drawer-side {
6834  border-left-color: var(--mat-sidenav-container-divider-color, transparent);
6835  border-left-width: 1px;
6836  border-left-style: solid;
6837  border-right: none;
6838}
6839[dir=rtl] .mat-drawer-side.mat-drawer-end {
6840  border-right-color: var(--mat-sidenav-container-divider-color, transparent);
6841  border-right-width: 1px;
6842  border-right-style: solid;
6843  border-left: none;
6844}
6845
6846.mat-drawer-inner-container {
6847  width: 100%;
6848  height: 100%;
6849  overflow: auto;
6850}
6851
6852.mat-sidenav-fixed {
6853  position: fixed;
6854}
6855`],encapsulation:2,changeDetection:0})}return t})(),YH=(()=>{class t extends XC{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[me([{provide:Us,useExisting:t}]),he],ngContentSelectors:ZC,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},encapsulation:2,changeDetection:0})}return t})(),one=(()=>{class t extends l1{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Fn(e)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=xr(e)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=xr(e)}_fixedBottomGap=0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-sidenav"]],hostAttrs:[1,"mat-drawer","mat-sidenav"],hostVars:16,hostBindings:function(n,r){n&2&&(oe("tabIndex",r.mode!=="side"?"-1":null)("align",null),On("top",r.fixedInViewport?r.fixedTopGap:null,"px")("bottom",r.fixedInViewport?r.fixedBottomGap:null,"px"),ee("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-sidenav-fixed",r.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[me([{provide:l1,useExisting:t}]),he],ngContentSelectors:ZC,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(n,r){n&1&&(Ie(),u(0,"div",1,0),re(2),c())},dependencies:[Us],encapsulation:2,changeDetection:0})}return t})(),m9e=(()=>{class t extends c1{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,YH,5)(o,one,5),n&2){let a;H(a=U())&&(r._content=a.first),H(a=U())&&(r._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-drawer-container-explicit-backdrop",r._backdropOverride)},exportAs:["matSidenavContainer"],features:[me([{provide:d1,useExisting:t},{provide:c1,useExisting:t}]),he],ngContentSelectors:ene,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(n,r){n&1&&(Ie(Jte),v(0,tne,1,2,"div",0),re(1),re(2,1),v(3,nne,2,0,"mat-sidenav-content")),n&2&&(y(r.hasBackdrop?0:-1),l(3),y(r._content?-1:3))},dependencies:[YH],styles:[ine],encapsulation:2,changeDetection:0})}return t})(),u1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[ur,De,ur]})}return t})();var ane=["switch"],sne=["*"];function lne(t,i){t&1&&(u(0,"span",11),Tn(),u(1,"svg",13),x(2,"path",14),c(),u(3,"svg",15),x(4,"path",16),c()())}var cne=new R("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),QC=class{source;checked;constructor(i,e){this.source=i,this.checked=e}},dne=(()=>{class t{_elementRef=m(Q);_focusMonitor=m(oi);_changeDetectorRef=m(Ee);defaults=m(cne);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new QC(this,e)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=lt();_focused=!1;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required=!1;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new V;toggleChange=new V;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){m(Lt).load(mi);
6855let e=m(new di("tabindex"),{optional:!0}),n=this.defaults;this.tabIndex=e==null?0:parseInt(e)||0,this.color=n.color||"accent",this.id=this._uniqueId=m(pt).getId("mat-mdc-slide-toggle-"),this.hideIcon=n.hideIcon??!1,this.disabledInteractive=n.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new QC(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(n,r){if(n&1&&ve(ane,5),n&2){let o;H(o=U())&&(r._switchElement=o.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(n,r){n&2&&(In("id",r.id),oe("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Be(r.color?"mat-"+r.color:""),ee("mat-mdc-slide-toggle-focused",r._focused)("mat-mdc-slide-toggle-checked",r.checked)("_mat-animation-noopable",r._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",q],color:"color",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:rn(e)],checked:[2,"checked","checked",q],hideIcon:[2,"hideIcon","hideIcon",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[me([{provide:er,useExisting:bn(()=>t),multi:!0},{provide:Zo,useExisting:t,multi:!0}]),Ke],ngContentSelectors:sne,decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(n,r){if(n&1&&(Ie(),u(0,"div",1)(1,"button",2,0),T("click",function(){return r._handleClick()}),x(3,"div",3)(4,"span",4),u(5,"span",5)(6,"span",6)(7,"span",7),x(8,"span",8),c(),u(9,"span",9),x(10,"span",10),c(),v(11,lne,5,0,"span",11),c()()(),u(12,"label",12),T("click",function(a){return a.stopPropagation()}),re(13),c()()),n&2){let o=ye(2);g("labelPosition",r.labelPosition),l(),ee("mdc-switch--selected",r.checked)("mdc-switch--unselected",!r.checked)("mdc-switch--checked",r.checked)("mdc-switch--disabled",r.disabled)("mat-mdc-slide-toggle-disabled-interactive",r.disabledInteractive),g("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("disabled",r.disabled&&!r.disabledInteractive),oe("id",r.buttonId)("name",r.name)("aria-label",r.ariaLabel)("aria-labelledby",r._getAriaLabelledBy())("aria-describedby",r.ariaDescribedby)("aria-required",r.required||null)("aria-checked",r.checked)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),l(9),g("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),l(),y(r.hideIcon?-1:11),l(),g("for",r.buttonId),oe("id",r._labelId)}},dependencies:[Hr,Pp],styles:[`.mdc-switch {
6856  align-items: center;
6857  background: none;
6858  border: none;
6859  cursor: pointer;
6860  display: inline-flex;
6861  flex-shrink: 0;
6862  margin: 0;
6863  outline: none;
6864  overflow: visible;
6865  padding: 0;
6866  position: relative;
6867  width: var(--mat-slide-toggle-track-width, 52px);
6868}
6869.mdc-switch.mdc-switch--disabled {
6870  cursor: default;
6871  pointer-events: none;
6872}
6873.mdc-switch.mat-mdc-slide-toggle-disabled-interactive {
6874  pointer-events: auto;
6875}
6876
6877.mdc-switch__track {
6878  overflow: hidden;
6879  position: relative;
6880  width: 100%;
6881  height: var(--mat-slide-toggle-track-height, 32px);
6882  border-radius: var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full));
6883}
6884.mdc-switch--disabled.mdc-switch .mdc-switch__track {
6885  opacity: var(--mat-slide-toggle-disabled-track-opacity, 0.12);
6886}
6887.mdc-switch__track::before, .mdc-switch__track::after {
6888  border: 1px solid transparent;
6889  border-radius: inherit;
6890  box-sizing: border-box;
6891  content: "";
6892  height: 100%;
6893  left: 0;
6894  position: absolute;
6895  width: 100%;
6896  border-width: var(--mat-slide-toggle-track-outline-width, 2px);
6897  border-color: var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline));
6898}
6899.mdc-switch--selected .mdc-switch__track::before, .mdc-switch--selected .mdc-switch__track::after {
6900  border-width: var(--mat-slide-toggle-selected-track-outline-width, 2px);
6901  border-color: var(--mat-slide-toggle-selected-track-outline-color, transparent);
6902}
6903.mdc-switch--disabled .mdc-switch__track::before, .mdc-switch--disabled .mdc-switch__track::after {
6904  border-width: var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px);
6905  border-color: var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface));
6906}
6907@media (forced-colors: active) {
6908  .mdc-switch__track {
6909    border-color: currentColor;
6910  }
6911}
6912.mdc-switch__track::before {
6913  transition: transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);
6914  transform: translateX(0);
6915  background: var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant));
6916}
6917.mdc-switch--selected .mdc-switch__track::before {
6918  transition: transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
6919  transform: translateX(100%);
6920}
6921[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before {
6922  transform: translateX(-100%);
6923}
6924.mdc-switch--selected .mdc-switch__track::before {
6925  opacity: var(--mat-slide-toggle-hidden-track-opacity, 0);
6926  transition: var(--mat-slide-toggle-hidden-track-transition, opacity 75ms);
6927}
6928.mdc-switch--unselected .mdc-switch__track::before {
6929  opacity: var(--mat-slide-toggle-visible-track-opacity, 1);
6930  transition: var(--mat-slide-toggle-visible-track-transition, opacity 75ms);
6931}
6932.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before {
6933  background: var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant));
6934}
6935.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before {
6936  background: var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant));
6937}
6938.mdc-switch:enabled:active .mdc-switch__track::before {
6939  background: var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant));
6940}
6941.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before, .mdc-switch.mdc-switch--disabled .mdc-switch__track::before {
6942  background: var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant));
6943}
6944.mdc-switch__track::after {
6945  transform: translateX(-100%);
6946  background: var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary));
6947}
6948[dir=rtl] .mdc-switch__track::after {
6949  transform: translateX(100%);
6950}
6951.mdc-switch--selected .mdc-switch__track::after {
6952  transform: translateX(0);
6953}
6954.mdc-switch--selected .mdc-switch__track::after {
6955  opacity: var(--mat-slide-toggle-visible-track-opacity, 1);
6956  transition: var(--mat-slide-toggle-visible-track-transition, opacity 75ms);
6957}
6958.mdc-switch--unselected .mdc-switch__track::after {
6959  opacity: var(--mat-slide-toggle-hidden-track-opacity, 0);
6960  transition: var(--mat-slide-toggle-hidden-track-transition, opacity 75ms);
6961}
6962.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after {
6963  background: var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary));
6964}
6965.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after {
6966  background: var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary));
6967}
6968.mdc-switch:enabled:active .mdc-switch__track::after {
6969  background: var(--mat-slide-toggle-selected-pressed-track-color, var(--mat-sys-primary));
6970}
6971.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after, .mdc-switch.mdc-switch--disabled .mdc-switch__track::after {
6972  background: var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface));
6973}
6974
6975.mdc-switch__handle-track {
6976  height: 100%;
6977  pointer-events: none;
6978  position: absolute;
6979  top: 0;
6980  transition: transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
6981  left: 0;
6982  right: auto;
6983  transform: translateX(0);
6984  width: calc(100% - var(--mat-slide-toggle-handle-width));
6985}
6986[dir=rtl] .mdc-switch__handle-track {
6987  left: auto;
6988  right: 0;
6989}
6990.mdc-switch--selected .mdc-switch__handle-track {
6991  transform: translateX(100%);
6992}
6993[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track {
6994  transform: translateX(-100%);
6995}
6996
6997.mdc-switch__handle {
6998  display: flex;
6999  pointer-events: auto;
7000  position: absolute;
7001  top: 50%;
7002  transform: translateY(-50%);
7003  left: 0;
7004  right: auto;
7005  transition: width 75ms cubic-bezier(0.4, 0, 0.2, 1), height 75ms cubic-bezier(0.4, 0, 0.2, 1), margin 75ms cubic-bezier(0.4, 0, 0.2, 1);
7006  width: var(--mat-slide-toggle-handle-width);
7007  height: var(--mat-slide-toggle-handle-height);
7008  border-radius: var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full));
7009}
7010[dir=rtl] .mdc-switch__handle {
7011  left: auto;
7012  right: 0;
7013}
7014.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle {
7015  width: var(--mat-slide-toggle-unselected-handle-size, 16px);
7016  height: var(--mat-slide-toggle-unselected-handle-size, 16px);
7017  margin: var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px);
7018}
7019.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons) {
7020  margin: var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px);
7021}
7022.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle {
7023  width: var(--mat-slide-toggle-selected-handle-size, 24px);
7024  height: var(--mat-slide-toggle-selected-handle-size, 24px);
7025  margin: var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px);
7026}
7027.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons) {
7028  margin: var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px);
7029}
7030.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons) {
7031  width: var(--mat-slide-toggle-with-icon-handle-size, 24px);
7032  height: var(--mat-slide-toggle-with-icon-handle-size, 24px);
7033}
7034.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle {
7035  width: var(--mat-slide-toggle-pressed-handle-size, 28px);
7036  height: var(--mat-slide-toggle-pressed-handle-size, 28px);
7037}
7038.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle {
7039  margin: var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px);
7040}
7041.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle {
7042  margin: var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px);
7043}
7044.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after {
7045  opacity: var(--mat-slide-toggle-disabled-selected-handle-opacity, 1);
7046}
7047.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after {
7048  opacity: var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38);
7049}
7050.mdc-switch__handle::before, .mdc-switch__handle::after {
7051  border: 1px solid transparent;
7052  border-radius: inherit;
7053  box-sizing: border-box;
7054  content: "";
7055  width: 100%;
7056  height: 100%;
7057  left: 0;
7058  position: absolute;
7059  top: 0;
7060  transition: background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1), border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
7061  z-index: -1;
7062}
7063@media (forced-colors: active) {
7064  .mdc-switch__handle::before, .mdc-switch__handle::after {
7065    border-color: currentColor;
7066  }
7067}
7068.mdc-switch--selected:enabled .mdc-switch__handle::after {
7069  background: var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary));
7070}
7071.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after {
7072  background: var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container));
7073}
7074.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after {
7075  background: var(--mat-slide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container));
7076}
7077.mdc-switch--selected:enabled:active .mdc-switch__handle::after {
7078  background: var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container));
7079}
7080.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after, .mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after {
7081  background: var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface));
7082}
7083.mdc-switch--unselected:enabled .mdc-switch__handle::after {
7084  background: var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline));
7085}
7086.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after {
7087  background: var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant));
7088}
7089.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after {
7090  background: var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant));
7091}
7092.mdc-switch--unselected:enabled:active .mdc-switch__handle::after {
7093  background: var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant));
7094}
7095.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after {
7096  background: var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface));
7097}
7098.mdc-switch__handle::before {
7099  background: var(--mat-slide-toggle-handle-surface-color);
7100}
7101
7102.mdc-switch__shadow {
7103  border-radius: inherit;
7104  bottom: 0;
7105  left: 0;
7106  position: absolute;
7107  right: 0;
7108  top: 0;
7109}
7110.mdc-switch:enabled .mdc-switch__shadow {
7111  box-shadow: var(--mat-slide-toggle-handle-elevation-shadow);
7112}
7113.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow, .mdc-switch.mdc-switch--disabled .mdc-switch__shadow {
7114  box-shadow: var(--mat-slide-toggle-disabled-handle-elevation-shadow);
7115}
7116
7117.mdc-switch__ripple {
7118  left: 50%;
7119  position: absolute;
7120  top: 50%;
7121  transform: translate(-50%, -50%);
7122  z-index: -1;
7123  width: var(--mat-slide-toggle-state-layer-size, 40px);
7124  height: var(--mat-slide-toggle-state-layer-size, 40px);
7125}
7126.mdc-switch__ripple::after {
7127  content: "";
7128  opacity: 0;
7129}
7130.mdc-switch--disabled .mdc-switch__ripple::after {
7131  display: none;
7132}
7133.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after {
7134  display: block;
7135}
7136.mdc-switch:hover .mdc-switch__ripple::after {
7137  transition: 75ms opacity cubic-bezier(0, 0, 0.2, 1);
7138}
7139.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after, .mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after {
7140  background: var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface));
7141  opacity: var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
7142}
7143.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after {
7144  background: var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface));
7145  opacity: var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
7146}
7147.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after {
7148  background: var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));
7149  opacity: var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
7150  transition: opacity 75ms linear;
7151}
7152.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after {
7153  background: var(--mat-slide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary));
7154  opacity: var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
7155}
7156.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after {
7157  background: var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary));
7158  opacity: var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
7159}
7160.mdc-switch--selected:enabled:active .mdc-switch__ripple::after {
7161  background: var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary));
7162  opacity: var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
7163  transition: opacity 75ms linear;
7164}
7165
7166.mdc-switch__icons {
7167  position: relative;
7168  height: 100%;
7169  width: 100%;
7170  z-index: 1;
7171  transform: translateZ(0);
7172}
7173.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons {
7174  opacity: var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38);
7175}
7176.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons {
7177  opacity: var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38);
7178}
7179
7180.mdc-switch__icon {
7181  bottom: 0;
7182  left: 0;
7183  margin: auto;
7184  position: absolute;
7185  right: 0;
7186  top: 0;
7187  opacity: 0;
7188  transition: opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1);
7189}
7190.mdc-switch--unselected .mdc-switch__icon {
7191  width: var(--mat-slide-toggle-unselected-icon-size, 16px);
7192  height: var(--mat-slide-toggle-unselected-icon-size, 16px);
7193  fill: var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant));
7194}
7195.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon {
7196  fill: var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant));
7197}
7198.mdc-switch--selected .mdc-switch__icon {
7199  width: var(--mat-slide-toggle-selected-icon-size, 16px);
7200  height: var(--mat-slide-toggle-selected-icon-size, 16px);
7201  fill: var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container));
7202}
7203.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon {
7204  fill: var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface));
7205}
7206
7207.mdc-switch--selected .mdc-switch__icon--on,
7208.mdc-switch--unselected .mdc-switch__icon--off {
7209  opacity: 1;
7210  transition: opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1);
7211}
7212
7213.mat-mdc-slide-toggle {
7214  -webkit-user-select: none;
7215  user-select: none;
7216  display: inline-block;
7217  -webkit-tap-highlight-color: transparent;
7218  outline: 0;
7219}
7220.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,
7221.mat-mdc-slide-toggle .mdc-switch__ripple::after {
7222  top: 0;
7223  left: 0;
7224  right: 0;
7225  bottom: 0;
7226  position: absolute;
7227  border-radius: 50%;
7228  pointer-events: none;
7229}
7230.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),
7231.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty) {
7232  transform: translateZ(0);
7233}
7234.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before {
7235  content: "";
7236}
7237.mat-mdc-slide-toggle .mat-internal-form-field {
7238  color: var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface));
7239  font-family: var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font));
7240  line-height: var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height));
7241  font-size: var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size));
7242  letter-spacing: var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));
7243  font-weight: var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight));
7244}
7245.mat-mdc-slide-toggle .mat-ripple-element {
7246  opacity: 0.12;
7247}
7248.mat-mdc-slide-toggle .mat-focus-indicator::before {
7249  border-radius: 50%;
7250}
7251.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,
7252.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,
7253.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,
7254.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,
7255.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,
7256.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after {
7257  transition: none;
7258}
7259.mat-mdc-slide-toggle .mdc-switch:enabled + .mdc-label {
7260  cursor: pointer;
7261}
7262.mat-mdc-slide-toggle .mdc-switch--disabled + label {
7263  color: var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface));
7264}
7265.mat-mdc-slide-toggle label:empty {
7266  display: none;
7267}
7268
7269.mat-mdc-slide-toggle-touch-target {
7270  position: absolute;
7271  top: 50%;
7272  left: 50%;
7273  height: var(--mat-slide-toggle-touch-target-size, 48px);
7274  width: 100%;
7275  transform: translate(-50%, -50%);
7276  display: var(--mat-slide-toggle-touch-target-display, block);
7277}
7278[dir=rtl] .mat-mdc-slide-toggle-touch-target {
7279  left: auto;
7280  right: 50%;
7281  transform: translate(50%, -50%);
7282}
7283`],encapsulation:2,changeDetection:0})}return t})(),m1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[dne,De]})}return t})();var p1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Hi,De]})}return t})();function une(t,i){if(t&1){let e=Se();u(0,"div",1)(1,"button",2),T("click",function(){te(e);let r=_();return ne(r.action())}),h(2),c()()}if(t&2){let e=_();l(2),se(" ",e.data.action," ")}}var mne=["label"];function pne(t,i){}var hne=Math.pow(2,31)-1,Ju=class{_overlayRef;instance;containerInstance;_afterDismissed=new O;_afterOpened=new O;_onAction=new O;_durationTimeoutId;_dismissedByAction=!1;constructor(i,e){this._overlayRef=e,this.containerInstance=i,i._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,hne))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},JC=new R("MatSnackBarData"),nh=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},fne=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return t})(),gne=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return t})(),_ne=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return t})(),KH=(()=>{class t{snackBarRef=m(Ju);data=m(JC);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(n,r){n&1&&(u(0,"div",0),h(1),c(),v(2,une,3,1,"div",1)),n&2&&(l(),se(" ",r.data.message,`
7284`),l(),y(r.hasAction?2:-1))},dependencies:[qn,fne,gne,_ne],styles:[`.mat-mdc-simple-snack-bar {
7285  display: flex;
7286}
7287.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label {
7288  max-height: 50vh;
7289  overflow: auto;
7290}
7291`],encapsulation:2,changeDetection:0})}return t})(),h1="_mat-snack-bar-enter",f1="_mat-snack-bar-exit",bne=(()=>{class t extends cd{_ngZone=m(le);_elementRef=m(Q);_changeDetectorRef=m(Ee);_platform=m(gt);_animationsDisabled=lt();snackBarConfig=m(nh);_document=m(Ce);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=m(ie);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;
7291_onAnnounce=new O;_onExit=new O;_onEnter=new O;_animationState="void";_live;_label;_role;_liveElementId=m(pt).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),n}attachTemplatePortal(e){this._assertNotAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),n}attachDomPortal=e=>{this._assertNotAttached();let n=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),n};onAnimationEnd(e){e===f1?this._completeExit():e===h1&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?Dt(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(h1)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(h1)},200)))}exit(){return this._destroyed?P(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?Dt(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(f1)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(f1),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;
7291n&&(Array.isArray(n)?n.forEach(a=>e.classList.add(a)):e.classList.add(n)),this._exposeToModals();let r=this._label.nativeElement,o="mdc-snackbar__label";r.classList.toggle(o,!r.querySelector(`.${o}`))}_exposeToModals(){let e=this._liveElementId,n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<n.length;r++){let o=n[r],a=o.getAttribute("aria-owns");this._trackedModals.add(o),a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e)}}_clearFromModals(){this._trackedModals.forEach(e=>{let n=e.getAttribute("aria-owns");if(n){let r=n.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let e=this._elementRef.nativeElement,n=e.querySelector("[aria-hidden]"),r=e.querySelector("[aria-live]");if(n&&r){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&n.contains(document.activeElement)&&(o=document.activeElement),n.removeAttribute("aria-hidden"),r.appendChild(n),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(n,r){if(n&1&&ve(ho,7)(mne,7),n&2){let o;H(o=U())&&(r._portalOutlet=o.first),H(o=U())&&(r._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(n,r){n&1&&T("animationend",function(a){return r.onAnimationEnd(a.animationName)})("animationcancel",function(a){return r.onAnimationEnd(a.animationName)}),n&2&&ee("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[he],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(n,r){n&1&&(u(0,"div",1)(1,"div",2,0)(3,"div",3),fe(4,pne,0,0,"ng-template",4),c(),x(5,"div"),c()()),n&2&&(l(5),oe("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[ho],styles:[`@keyframes _mat-snack-bar-enter {
7292  from {
7293    transform: scale(0.8);
7294    opacity: 0;
7295  }
7296  to {
7297    transform: scale(1);
7298    opacity: 1;
7299  }
7300}
7301@keyframes _mat-snack-bar-exit {
7302  from {
7303    opacity: 1;
7304  }
7305  to {
7306    opacity: 0;
7307  }
7308}
7309.mat-mdc-snack-bar-container {
7310  display: flex;
7311  align-items: center;
7312  justify-content: center;
7313  box-sizing: border-box;
7314  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
7315  margin: 8px;
7316}
7317.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container {
7318  width: 100vw;
7319}
7320
7321.mat-snack-bar-container-animations-enabled {
7322  opacity: 0;
7323}
7324.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible {
7325  opacity: 1;
7326}
7327.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter {
7328  animation: _mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards;
7329}
7330.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit {
7331  animation: _mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards;
7332}
7333
7334.mat-mdc-snackbar-surface {
7335  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
7336  display: flex;
7337  align-items: center;
7338  justify-content: flex-start;
7339  box-sizing: border-box;
7340  padding-left: 0;
7341  padding-right: 8px;
7342}
7343[dir=rtl] .mat-mdc-snackbar-surface {
7344  padding-right: 0;
7345  padding-left: 8px;
7346}
7347.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
7348  min-width: 344px;
7349  max-width: 672px;
7350}
7351.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface {
7352  width: 100%;
7353  min-width: 0;
7354}
7355@media (forced-colors: active) {
7356  .mat-mdc-snackbar-surface {
7357    outline: solid 1px;
7358  }
7359}
7360.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
7361  color: var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));
7362  border-radius: var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));
7363  background-color: var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface));
7364}
7365
7366.mdc-snackbar__label {
7367  width: 100%;
7368  flex-grow: 1;
7369  box-sizing: border-box;
7370  margin: 0;
7371  padding: 14px 8px 14px 16px;
7372}
7373[dir=rtl] .mdc-snackbar__label {
7374  padding-left: 8px;
7375  padding-right: 16px;
7376}
7377.mat-mdc-snack-bar-container .mdc-snackbar__label {
7378  font-family: var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));
7379  font-size: var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));
7380  font-weight: var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));
7381  line-height: var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height));
7382}
7383
7384.mat-mdc-snack-bar-actions {
7385  display: flex;
7386  flex-shrink: 0;
7387  align-items: center;
7388  box-sizing: border-box;
7389}
7390
7391.mat-mdc-snack-bar-handset,
7392.mat-mdc-snack-bar-container,
7393.mat-mdc-snack-bar-label {
7394  flex: 1 1 auto;
7395}
7396
7397.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed {
7398  color: var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary));
7399}
7400.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) {
7401  --mat-button-text-state-layer-color: currentColor;
7402  --mat-button-text-ripple-color: currentColor;
7403}
7404.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element {
7405  opacity: 0.1;
7406}
7407`],encapsulation:2})}return t})(),vne=new R("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new nh}),g1=(()=>{class t{_live=m(Jg);_injector=m(ie);_breakpointObserver=m(Zl);_parentSnackBar=m(t,{optional:!0,skipSelf:!0});_defaultConfig=m(vne);_animationsDisabled=lt();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=KH;snackBarContainerComponent=bne;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,n){return this._attach(e,n)}openFromTemplate(e,n){return this._attach(e,n)}open(e,n="",r){let o=L(L({},this._defaultConfig),r);return o.data={message:e,action:n},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,n){let r=n&&n.viewContainerRef&&n.viewContainerRef.injector,o=ie.create({parent:r||this._injector,providers:[{provide:nh,useValue:n}]}),a=new ko(this.snackBarContainerComponent,n.viewContainerRef,o),s=e.attach(a);return s.instance.snackBarConfig=n,s.instance}_attach(e,n){let r=L(L(L({},new nh),this._defaultConfig),n),o=this._createOverlay(r),a=this._attachSnackBarContainer(o,r),s=new Ju(a,o);if(e instanceof Zt){let d=new Sr(e,null,{$implicit:r.data,snackBarRef:s});s.instance=a.attachTemplatePortal(d)}else{let d=this._createInjector(r,s),p=new ko(e,void 0,d),f=a.attachComponentPortal(p);s.instance=f.instance}return this._breakpointObserver.observe(as.HandsetPortrait).pipe(xe(o.detachments())).subscribe(d=>{o.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),r.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(s,r),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,n){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),n.duration&&n.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(n.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter()}_createOverlay(e){let n=new fo;
7407n.direction=e.direction;let r=va(this._injector),o=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!o||e.horizontalPosition==="end"&&o,s=!a&&e.horizontalPosition!=="center";return a?r.left("0"):s?r.right("0"):r.centerHorizontally(),e.verticalPosition==="top"?r.top("0"):r.bottom("0"),n.positionStrategy=r,n.disableAnimations=this._animationsDisabled,go(this._injector,n)}_createInjector(e,n){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return ie.create({parent:r||this._injector,providers:[{provide:Ju,useValue:n},{provide:JC,useValue:e.data}]})}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var _1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[g1],imports:[Ui,pr,_o,KH,De]})}return t})();var yne=["mat-sort-header",""],Cne=["*",[["","matSortHeaderIcon",""]]],Dne=["*","[matSortHeaderIcon]"];function Ene(t,i){t&1&&(Tn(),ft(0,"svg",3),gi(1,"path",4),_t())}function wne(t,i){t&1&&(ft(0,"div",2),re(1,1,null,Ene,2,0),_t())}var ZH=new R("MAT_SORT_DEFAULT_OPTIONS"),Ir=(()=>{class t{_defaultOptions;_initializedStream=new Co(1);sortables=new Map;_stateChanges=new O;active;start="asc";get direction(){return this._direction}set direction(e){this._direction=e}_direction="";disableClear;disabled=!1;sortChange=new V;initialized=this._initializedStream;constructor(e){this._defaultOptions=e}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let n=e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,r=xne(e.start||this.start,n),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[o]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(n){return new(n||t)(E(ZH,8))};static \u0275dir=N({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",q],disabled:[2,"matSortDisabled","disabled",q]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Ke]})}return t})();function xne(t,i){let e=["asc","desc"];return t=="desc"&&e.reverse(),i||e.push(""),e}var Xs=(()=>{class t{_sort=m(Ir,{optional:!0});_columnDef=m(dd,{optional:!0});_changeDetectorRef=m(Ee);_focusMonitor=m(oi);_elementRef=m(Q);_ariaDescriber=m(n_,{optional:!0});_renderChanges;_animationsDisabled=lt();_recentlyCleared=Z(null);_sortButton;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}_sortActionDescription="Sort";disableClear;constructor(){m(Lt).load(mi);let e=m(ZH,{optional:!0});this._sort,e?.arrowPosition&&(this.arrowPosition=e?.arrowPosition)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=ut(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>{Promise.resolve().then(()=>this._recentlyCleared.set(null))})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._renderChanges?.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_toggleOnInteraction(){if(!this._isDisabled()){let e=this._isSorted(),n=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(e&&!this._isSorted()?n:null)}}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(n,r){n&1&&T("click",function(){return r._toggleOnInteraction()})("keydown",function(a){return r._handleKeydown(a)})("mouseleave",function(){return r._recentlyCleared.set(null)}),n&2&&(oe("aria-sort",r._getAriaSortAttribute()),ee("mat-sort-header-disabled",r._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",q],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",q]},exportAs:["matSortHeader"],attrs:yne,ngContentSelectors:Dne,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(n,r){n&1&&(Ie(Cne),ft(0,"div",0)(1,"div",1),re(2),_t(),v(3,wne,3,0,"div",2),_t()),n&2&&(ee("mat-sort-header-sorted",r._isSorted())("mat-sort-header-position-before",r.arrowPosition==="before")("mat-sort-header-descending",r._sort.direction==="desc")("mat-sort-header-ascending",r._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",r._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",r._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",r._animationsDisabled),oe("tabindex",r._isDisabled()?null:0)("role",r._isDisabled()?null:"button"),l(3),y(r._renderArrow()?3:-1))},styles:[`.mat-sort-header {
7408  cursor: pointer;
7409}
7410
7411.mat-sort-header-disabled {
7412  cursor: default;
7413}
7414
7415.mat-sort-header-container {
7416  display: flex;
7417  align-items: center;
7418  letter-spacing: normal;
7419  outline: 0;
7420}
7421[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container, [mat-sort-header].cdk-program-focused .mat-sort-header-container {
7422  border-bottom: solid 1px currentColor;
7423}
7424.mat-sort-header-container::before {
7425  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
7426}
7427
7428.mat-sort-header-content {
7429  display: flex;
7430  align-items: center;
7431}
7432
7433.mat-sort-header-position-before {
7434  flex-direction: row-reverse;
7435}
7436
7437@keyframes _mat-sort-header-recently-cleared-ascending {
7438  from {
7439    transform: translateY(0);
7440    opacity: 1;
7441  }
7442  to {
7443    transform: translateY(-25%);
7444    opacity: 0;
7445  }
7446}
7447@keyframes _mat-sort-header-recently-cleared-descending {
7448  from {
7449    transform: translateY(0) rotate(180deg);
7450    opacity: 1;
7451  }
7452  to {
7453    transform: translateY(25%) rotate(180deg);
7454    opacity: 0;
7455  }
7456}
7457.mat-sort-header-arrow {
7458  height: 12px;
7459  width: 12px;
7460  position: relative;
7461  transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1), opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);
7462  opacity: 0;
7463  overflow: visible;
7464  color: var(--mat-sort-arrow-color, var(--mat-sys-on-surface));
7465}
7466.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow, .mat-sort-header.cdk-program-focused .mat-sort-header-arrow, .mat-sort-header:hover .mat-sort-header-arrow {
7467  opacity: 0.54;
7468}
7469.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow {
7470  opacity: 1;
7471}
7472.mat-sort-header-descending .mat-sort-header-arrow {
7473  transform: rotate(180deg);
7474}
7475.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow {
7476  transform: translateY(-25%);
7477}
7478.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow {
7479  transition: none;
7480  animation: _mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
7481}
7482.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow {
7483  transition: none;
7484  animation: _mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
7485}
7486.mat-sort-header-animations-disabled .mat-sort-header-arrow {
7487  transition-duration: 0ms;
7488  animation-duration: 0ms;
7489}
7490.mat-sort-header-arrow > svg, .mat-sort-header-arrow [matSortHeaderIcon] {
7491  width: 24px;
7492  height: 24px;
7493  fill: currentColor;
7494  position: absolute;
7495  top: 50%;
7496  left: 50%;
7497  margin: -12px 0 0 -12px;
7498  transform: translateZ(0);
7499}
7500.mat-sort-header-arrow, [dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow {
7501  margin: 0 0 0 6px;
7502}
7503.mat-sort-header-position-before .mat-sort-header-arrow, [dir=rtl] .mat-sort-header-arrow {
7504  margin: 0 6px 0 0;
7505}
7506`],encapsulation:2,changeDetection:0})}return t})(),I_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var Sne=[[["caption"]],[["colgroup"],["col"]],"*"],Tne=["caption","colgroup, col","*"];function Ine(t,i){t&1&&re(0,2)}function Ane(t,i){t&1&&(u(0,"thead",0),Di(1,1),c(),u(2,"tbody",2),Di(3,3)(4,4),c(),u(5,"tfoot",0),Di(6,5),c())}function kne(t,i){t&1&&Di(0,1)(1,3)(2,4)(3,5)}var Zs=(()=>{class t extends fk{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[me([{provide:fk,useExisting:t},{provide:ls,useExisting:t},{provide:s_,useValue:null}]),he],ngContentSelectors:Tne,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,r){n&1&&(Ie(Sne),re(0),re(1,1),v(2,Ine,1,0),v(3,Ane,7,0)(4,kne,4,0)),n&2&&(l(2),y(r._isServer?2:-1),l(),y(r._isNativeHtmlTable?3:4))},dependencies:[mk,uk,hk,pk],styles:[`.mat-mdc-table-sticky {
7507  position: sticky !important;
7508}
7509
7510mat-table {
7511  display: block;
7512}
7513
7514mat-header-row {
7515  min-height: var(--mat-table-header-container-height, 56px);
7516}
7517
7518mat-row {
7519  min-height: var(--mat-table-row-item-container-height, 52px);
7520}
7521
7522mat-footer-row {
7523  min-height: var(--mat-table-footer-container-height, 52px);
7524}
7525
7526mat-row, mat-header-row, mat-footer-row {
7527  display: flex;
7528  border-width: 0;
7529  border-bottom-width: 1px;
7530  border-style: solid;
7531  align-items: center;
7532  box-sizing: border-box;
7533}
7534
7535mat-cell:first-of-type, mat-header-cell:first-of-type, mat-footer-cell:first-of-type {
7536  padding-left: 24px;
7537}
7538[dir=rtl] mat-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type) {
7539  padding-left: 0;
7540  padding-right: 24px;
7541}
7542mat-cell:last-of-type, mat-header-cell:last-of-type, mat-footer-cell:last-of-type {
7543  padding-right: 24px;
7544}
7545[dir=rtl] mat-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type) {
7546  padding-right: 0;
7547  padding-left: 24px;
7548}
7549
7550mat-cell, mat-header-cell, mat-footer-cell {
7551  flex: 1;
7552  display: flex;
7553  align-items: center;
7554  overflow: hidden;
7555  word-wrap: break-word;
7556  min-height: inherit;
7557}
7558
7559.mat-mdc-table {
7560  min-width: 100%;
7561  border: 0;
7562  border-spacing: 0;
7563  table-layout: auto;
7564  white-space: normal;
7565  background-color: var(--mat-table-background-color, var(--mat-sys-surface));
7566}
7567
7568.mat-table-fixed-layout {
7569  table-layout: fixed;
7570}
7571
7572.mdc-data-table__cell {
7573  box-sizing: border-box;
7574  overflow: hidden;
7575  text-align: start;
7576  text-overflow: ellipsis;
7577}
7578
7579.mdc-data-table__cell,
7580.mdc-data-table__header-cell {
7581  padding: 0 16px;
7582}
7583
7584.mat-mdc-header-row {
7585  -moz-osx-font-smoothing: grayscale;
7586  -webkit-font-smoothing: antialiased;
7587  height: var(--mat-table-header-container-height, 56px);
7588  color: var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
7589  font-family: var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));
7590  line-height: var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));
7591  font-size: var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));
7592  font-weight: var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500));
7593}
7594
7595.mat-mdc-row {
7596  height: var(--mat-table-row-item-container-height, 52px);
7597  color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
7598}
7599
7600.mat-mdc-row,
7601.mdc-data-table__content {
7602  -moz-osx-font-smoothing: grayscale;
7603  -webkit-font-smoothing: antialiased;
7604  font-family: var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));
7605  line-height: var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));
7606  font-size: var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));
7607  font-weight: var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight));
7608}
7609
7610.mat-mdc-footer-row {
7611  -moz-osx-font-smoothing: grayscale;
7612  -webkit-font-smoothing: antialiased;
7613  height: var(--mat-table-footer-container-height, 52px);
7614  color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
7615  font-family: var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));
7616  line-height: var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));
7617  font-size: var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));
7618  font-weight: var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));
7619  letter-spacing: var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking));
7620}
7621
7622.mat-mdc-header-cell {
7623  border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));
7624  border-bottom-width: var(--mat-table-row-item-outline-width, 1px);
7625  border-bottom-style: solid;
7626  letter-spacing: var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));
7627  font-weight: inherit;
7628  line-height: inherit;
7629  box-sizing: border-box;
7630  text-overflow: ellipsis;
7631  overflow: hidden;
7632  outline: none;
7633  text-align: start;
7634}
7635.mdc-data-table__row:last-child > .mat-mdc-header-cell {
7636  border-bottom: none;
7637}
7638
7639.mat-mdc-cell {
7640  border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));
7641  border-bottom-width: var(--mat-table-row-item-outline-width, 1px);
7642  border-bottom-style: solid;
7643  letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));
7644  line-height: inherit;
7645}
7646.mdc-data-table__row:last-child > .mat-mdc-cell {
7647  border-bottom: none;
7648}
7649
7650.mat-mdc-footer-cell {
7651  letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));
7652}
7653
7654mat-row.mat-mdc-row,
7655mat-header-row.mat-mdc-header-row,
7656mat-footer-row.mat-mdc-footer-row {
7657  border-bottom: none;
7658}
7659
7660.mat-mdc-table tbody,
7661.mat-mdc-table tfoot,
7662.mat-mdc-table thead,
7663.mat-mdc-cell,
7664.mat-mdc-footer-cell,
7665.mat-mdc-header-row,
7666.mat-mdc-row,
7667.mat-mdc-footer-row,
7668.mat-mdc-table .mat-mdc-header-cell {
7669  background: inherit;
7670}
7671
7672.mat-mdc-table mat-header-row.mat-mdc-header-row,
7673.mat-mdc-table mat-row.mat-mdc-row,
7674.mat-mdc-table mat-footer-row.mat-mdc-footer-cell {
7675  height: unset;
7676}
7677
7678mat-header-cell.mat-mdc-header-cell,
7679mat-cell.mat-mdc-cell,
7680mat-footer-cell.mat-mdc-footer-cell {
7681  align-self: stretch;
7682}
7683`],encapsulation:2})}return t})(),Qs=(()=>{class t extends TC{static \u0275fac=(()=>{let e;retur
7683n function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matCellDef",""]],features:[me([{provide:TC,useExisting:t}]),he]})}return t})(),Js=(()=>{class t extends IC{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matHeaderCellDef",""]],features:[me([{provide:IC,useExisting:t}]),he]})}return t})();var el=(()=>{class t extends dd{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[me([{provide:dd,useExisting:t}]),he]})}return t})(),tl=(()=>{class t extends Ij{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[he]})}return t})();var nl=(()=>{class t extends Aj{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[he]})}return t})();var il=(()=>{class t extends l_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",q]},features:[me([{provide:l_,useExisting:t}]),he]})}return t})();var rl=(()=>{class t extends AC{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[me([{provide:AC,useExisting:t}]),he]})}return t})(),ol=(()=>{class t extends ck{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[me([{provide:ck,useExisting:t}]),he],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Di(0,0)},dependencies:[$u],encapsulation:2})}return t})();var al=(()=>{class t extends dk{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[me([{provide:dk,useExisting:t}]),he],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Di(0,0)},dependencies:[$u],encapsulation:2})}return t})();var A_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[c_,De]})}return t})(),Rne=9007199254740991,tD=class extends Vu{_data;_renderData=new zt([]);_filter=new zt("");_internalPageChanges=new O;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(i){i=Array.isArray(i)?i:[],this._data.next(i),this._renderChangesSubscription||this._filterData(i)}get filter(){return this._filter.value}set filter(i){this._filter.next(i),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(i){this._sort=i,this._updateChangeSubscription()}_sort;get paginator(){return this._paginator}set paginator(i){this._paginator=i,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(i,e)=>{let n=i[e];if(Zy(n)){let r=Number(n);return r<Rne?r:n}return n};sortData=(i,e)=>{let n=e.active,r=e.direction;return!n||r==""?i:i.sort((o,a)=>{let s=this.sortingDataAccessor(o,n),d=this.sortingDataAccessor(a,n),p=typeof s,f=typeof d;p!==f&&(p==="number"&&(s+=""),f==="number"&&(d+=""));let b=0;return s!=null&&d!=null?s>d?b=1:s<d&&(b=-1):s!=null?b=1:d!=null&&(b=-1),b*(r=="asc"?1:-1)})};filterPredicate=(i,e)=>{let n=e.trim().toLowerCase();return Object.values(i).some(r=>`${r}`.toLowerCase().includes(n))};constructor(i=[]){super(),this._data=new zt(i),this._updateChangeSubscription()}_updateChangeSubscription(){let i=this._sort?ut(this._sort.sortChange,this._sort.initialized):P(null),e=this._paginator?ut(this._paginator.page,this._internalPageChanges,this._paginator.initialized):P(null),n=this._data,r=nn([n,this._filter]).pipe($(([s])=>this._filterData(s))),o=nn([r,i]).pipe($(([s])=>this._orderData(s))),a=nn([o,e]).pipe($(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(i){return this.filteredData=this.filter==null||this.filter===""?i:i.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(i){return this.sort?this.sortData(i.slice(),this.sort):i}_pageData(i){if(!this.paginator)return i;let e=this.paginator.pageIndex*this.paginator.pageSize;return i.slice(e,e+this.paginator.pageSize)}_updatePaginator(i){Promise.resolve().then(()=>{let e=this.paginator;if(e&&(e.length=i,e.pageIndex>0)){let n=Math.ceil(e.length/e.pageSize)-1||0,r=Math.min(e.pageIndex,n);r!==e.pageIndex&&(e.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var y1=["*"];var Mne=["tabListContainer"],Nne=["tabList"],One=["tabListInner"],Fne=["nextPaginator"],Pne=["previousPaginator"];var Lne=["mat-tab-nav-bar",""],Bne=["mat-tab-link",""];var b1="mdc-tab-indicator--active",QH="mdc-tab-indicator--no-transition",v1=class{_items;_currentItem;constructor(i){this._items=i}
7683hide(){this._items.forEach(i=>i.deactivateInkBar()),this._currentItem=void 0}alignToElement(i){let e=this._items.find(r=>r.elementRef.nativeElement===i),n=this._currentItem;if(e!==n&&(n?.deactivateInkBar(),e)){let r=n?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},Vne=(()=>{class t{_elementRef=m(Q);_inkBarElement=null;_inkBarContentElement=null;_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(b1);return}let r=n.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;n.classList.add(QH),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),n.getBoundingClientRect(),n.classList.remove(QH),n.classList.add(b1),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(b1)}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 \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",q]}})}return t})();var JH={passive:!0},jne=650,Hne=100,Une=(()=>{class t{_elementRef=m(Q);_changeDetectorRef=m(Ee);_viewportRuler=m(ji);_dir=m(an,{optional:!0});_ngZone=m(le);_platform=m(gt);_sharedResizeObserver=m(NC);_injector=m(ie);_renderer=m(ot);_animationsDisabled=lt();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new O;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged=!1;_keyManager;_currentTextContent;_stopScrolling=new O;disablePagination=!1;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))}_selectedIndex=0;selectFocusedIndex=new V;indexFocused=new V;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),JH),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),JH))}ngAfterContentInit(){let e=this._dir?this._dir.change:P("ltr"),n=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(hi(32),xe(this._destroyed)),r=this._viewportRuler.change(150).pipe(xe(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new os(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),Dt(o,{injector:this._injector}),ut(e,r,n,this._items.changes,this._itemsResized()).pipe(xe(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(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?ke:this._items.changes.pipe(Re(this._items),W(e=>new Ne(n=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>n.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),Al(1),ae(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())}
7683ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Ht(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:a}=n.elementRef.nativeElement,s,d;this._getLayoutDirection()=="ltr"?(s=o,d=s+a):(d=this._tabListInner.nativeElement.offsetWidth-o,s=d-a);let p=this.scrollDistance,f=this.scrollDistance+r;s<p?this.scrollDistance-=p-s:d>f&&(this.scrollDistance+=Math.min(d-f,s-p))}_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(),ja(jne,Hne).pipe(xe(ut(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 \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",q],selectedIndex:[2,"selectedIndex","selectedIndex",rn]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})();var zne=new R("MAT_TABS_CONFIG");var Gne=(()=>{class t extends Une{_focusedItem=Z(null);get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(e),this._changeDetectorRef.markForCheck()}_fitInkBarToContent=new zt(!1);stretchTabs=!0;get animationDuration(){return this._animationDuration}set animationDuration(e){let n=e+"";this._animationDuration=/^\d+$/.test(n)?e+"ms":n}_animationDuration;_items;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){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}_backgroundColor;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=Z(!1);color="primary";tabPanel;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;constructor(){let e=m(zne,{optional:!0});super(),this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new v1(this._items),this._items.changes.pipe(Re(null),xe(this._destroyed)).subscribe(()=>this.updateActiveLink()),super.ngAfterContentInit(),this._keyManager.change.pipe(Re(null),xe(this._destroyed)).subscribe(()=>this._focusedItem.set(this._keyManager?.activeItem||null))}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let e=this._items.toArray();for(let n=0;n<e.length;n++)if(e[n].active){this.selectedIndex=n,this.tabPanel&&(this.tabPanel._activeTabId=e[n].id),this._focusedItem.set(e[n]),this._changeDetectorRef.markForCheck();return}this.selectedIndex=-1}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}_hasFocus(e){return this._keyManager?.activeItem===e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Wne,5),n&2){let a;H(a=U())&&(r._items=a)}},viewQuery:function(n,r){if(n&1&&ve(Mne,7)(Nne,7)(One,7)(Fne,5)(Pne,5),n&2){let o;H(o=U())&&(r._tabListContainer=o.first),H(o=U())&&(r._tabList=o.first),H(o=U())&&(r._tabListInner=o.first),H(o=U())&&(r._nextPaginator=o.first),H(o=U())&&(r._previousPaginator=o.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(n,r){n&2&&(oe("role",r._getRole()),On("--mat-tab-animation-duration",r.animationDuration),ee("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")("mat-mdc-tab-nav-bar-stretch-tabs",r.stretchTabs)("mat-primary",r.color!=="warn"&&r.color!=="accent")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("_mat-animation-noopable",r._animationsDisabled))},inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",q],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",q],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:[2,"disableRipple","disableRipple",q],color:"color",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],features:[he],attrs:Lne,ngContentSelectors:y1,decls:13,vars:6,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-link-container",3,"keydown"],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-links"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(n,r){n&1&&(Ie(),u(0,"div",5,0),T("click",function(){return r._handlePaginatorClick("before")})("mousedown",function(a){return r._handlePaginatorPress("before",a)})("touchend",function(){return r._stopInterval()}),x(2,"div",6),c(),u(3,"div",7,1),T("keydown",function(a){return r._handleKeydown(a)}),u(5,"div",8,2),T("cdkObserveContent",function(){return r._onContentChanges()}),u(7,"div",9,3),re(9),c()()(),u(10,"div",10,4),T("mousedown",function(a){return r._handlePaginatorPress("after",a)})("click",function(){return r._handlePaginatorClick("after")})("touchend",function(){return r._stopInterval()}),x(12,"div",6),c()),n&2&&(ee("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),g("matRippleDisabled",r._disableScrollBefore||r.disableRipple),l(10),ee("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),g("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[Hr,Qg],styles:[`.mdc-tab {
7684  min-width: 90px;
7685  padding: 0 24px;
7686  display: flex;
7687  flex: 1 0 auto;
7688  justify-content: center;
7689  box-sizing: border-box;
7690  border: none;
7691  outline: none;
7692  text-align: center;
7693  white-space: nowrap;
7694  cursor: pointer;
7695  z-index: 1;
7696  touch-action: manipulation;
7697}
7698
7699.mdc-tab__content {
7700  display: flex;
7701  align-items: center;
7702  justify-content: center;
7703  height: inherit;
7704  pointer-events: none;
7705}
7706
7707.mdc-tab__text-label {
7708  transition: 150ms color linear;
7709  display: inline-block;
7710  line-height: 1;
7711  z-index: 2;
7712}
7713
7714.mdc-tab--active .mdc-tab__text-label {
7715  transition-delay: 100ms;
7716}
7717
7718._mat-animation-noopable .mdc-tab__text-label {
7719  transition: none;
7720}
7721
7722.mdc-tab-indicator {
7723  display: flex;
7724  position: absolute;
7725  top: 0;
7726  left: 0;
7727  justify-content: center;
7728  width: 100%;
7729  height: 100%;
7730  pointer-events: none;
7731  z-index: 1;
7732}
7733
7734.mdc-tab-indicator__content {
7735  transition: var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);
7736  transform-origin: left;
7737  opacity: 0;
7738}
7739
7740.mdc-tab-indicator__content--underline {
7741  align-self: flex-end;
7742  box-sizing: border-box;
7743  width: 100%;
7744  border-top-style: solid;
7745}
7746
7747.mdc-tab-indicator--active .mdc-tab-indicator__content {
7748  opacity: 1;
7749}
7750
7751._mat-animation-noopable .mdc-tab-indicator__content, .mdc-tab-indicator--no-transition .mdc-tab-indicator__content {
7752  transition: none;
7753}
7754
7755.mat-mdc-tab-ripple.mat-mdc-tab-ripple {
7756  position: absolute;
7757  top: 0;
7758  left: 0;
7759  bottom: 0;
7760  right: 0;
7761  pointer-events: none;
7762}
7763
7764.mat-mdc-tab-header {
7765  display: flex;
7766  overflow: hidden;
7767  position: relative;
7768  flex-shrink: 0;
7769}
7770
7771.mdc-tab-indicator .mdc-tab-indicator__content {
7772  transition-duration: var(--mat-tab-animation-duration, 250ms);
7773}
7774
7775.mat-mdc-tab-header-pagination {
7776  -webkit-user-select: none;
7777  user-select: none;
7778  position: relative;
7779  display: none;
7780  justify-content: center;
7781  align-items: center;
7782  min-width: 32px;
7783  cursor: pointer;
7784  z-index: 2;
7785  -webkit-tap-highlight-color: transparent;
7786  touch-action: none;
7787  box-sizing: content-box;
7788  outline: 0;
7789}
7790.mat-mdc-tab-header-pagination::-moz-focus-inner {
7791  border: 0;
7792}
7793.mat-mdc-tab-header-pagination .mat-ripple-element {
7794  opacity: 0.12;
7795  background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface));
7796}
7797.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination {
7798  display: flex;
7799}
7800
7801.mat-mdc-tab-header-pagination-before,
7802.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after {
7803  padding-left: 4px;
7804}
7805.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,
7806.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron {
7807  transform: rotate(-135deg);
7808}
7809
7810.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,
7811.mat-mdc-tab-header-pagination-after {
7812  padding-right: 4px;
7813}
7814.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,
7815.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron {
7816  transform: rotate(45deg);
7817}
7818
7819.mat-mdc-tab-header-pagination-chevron {
7820  border-style: solid;
7821  border-width: 2px 2px 0 0;
7822  height: 8px;
7823  width: 8px;
7824  border-color: var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface));
7825}
7826
7827.mat-mdc-tab-header-pagination-disabled {
7828  box-shadow: none;
7829  cursor: default;
7830  pointer-events: none;
7831}
7832.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron {
7833  opacity: 0.4;
7834}
7835
7836.mat-mdc-tab-list {
7837  flex-grow: 1;
7838  position: relative;
7839  transition: transform 500ms cubic-bezier(0.35, 0, 0.25, 1);
7840}
7841._mat-animation-noopable .mat-mdc-tab-list {
7842  transition: none;
7843}
7844
7845.mat-mdc-tab-links {
7846  display: flex;
7847  flex: 1 0 auto;
7848}
7849[mat-align-tabs=center] > .mat-mdc-tab-link-container .mat-mdc-tab-links {
7850  justify-content: center;
7851}
7852[mat-align-tabs=end] > .mat-mdc-tab-link-container .mat-mdc-tab-links {
7853  justify-content: flex-end;
7854}
7855.cdk-drop-list .mat-mdc-tab-links, .mat-mdc-tab-links.cdk-drop-list {
7856  min-height: var(--mat-tab-container-height, 48px);
7857}
7858
7859.mat-mdc-tab-link-container {
7860  display: flex;
7861  flex-grow: 1;
7862  overflow: hidden;
7863  z-index: 1;
7864  border-bottom-style: solid;
7865  border-bottom-width: var(--mat-tab-divider-height, 1px);
7866  border-bottom-color: var(--mat-tab-divider-color, var(--mat-sys-surface-variant));
7867}
7868
7869.mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-link-container, .mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-header-pagination {
7870  background-color: var(--mat-tab-background-color);
7871}
7872.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary > .mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label {
7873  color: var(--mat-tab-foreground-color);
7874}
7875.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary > .mat-mdc-tab-link-container .mdc-tab-indicator__content--underline {
7876  border-color: var(--mat-tab-foreground-color);
7877}
7878.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary) > .mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label {
7879  color: var(--mat-tab-foreground-color);
7880}
7881.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary) > .mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline {
7882  border-color: var(--mat-tab-foreground-color);
7883}
7884.mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,
7885.mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-link-container .mat-focus-indicator::before, .mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,
7886.mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-focus-indicator::before {
7887  border-color: var(--mat-tab-foreground-color);
7888}
7889.mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-link-container .mat-ripple-element, .mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-link-container .mdc-tab__ripple::before, .mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-ripple-element, .mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mdc-tab__ripple::before {
7890  background-color: var(--mat-tab-foreground-color);
7891}
7892.mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron, .mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron {
7893  color: var(--mat-tab-foreground-color);
7894}
7895`],encapsulation:2})}return t})(),Wne=(()=>{class t extends Vne{_tabNavBar=m(Gne);elementRef=m(Q);_focusMonitor=m(oi);_destroyed=new O;_isActive=!1;_tabIndex=Ct(()=>this._tabNavBar._focusedItem()===this?this.tabIndex:-1);get active(){return this._isActive}set active(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink())}disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=Z(!1);tabIndex=0;rippleConfig;get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleCon
7895fig.disabled}id=m(pt).getId("mat-tab-link-");constructor(){super(),m(Lt).load(mi);let e=m(ld,{optional:!0}),n=m(new di("tabindex"),{optional:!0});this.rippleConfig=e||{},this.tabIndex=n==null?0:parseInt(n)||0,lt()&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),this._tabNavBar._fitInkBarToContent.pipe(xe(this._destroyed)).subscribe(r=>{this.fitInkBarToContent=r})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(this.disabled?e.preventDefault():this._tabNavBar.tabPanel&&(e.keyCode===32&&e.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(n,r){n&1&&T("focus",function(){return r._handleFocus()})("keydown",function(a){return r._handleKeydown(a)}),n&2&&(oe("aria-controls",r._getAriaControls())("aria-current",r._getAriaCurrent())("aria-disabled",r.disabled)("aria-selected",r._getAriaSelected())("id",r.id)("tabIndex",r._tabIndex())("role",r._getRole()),ee("mat-mdc-tab-disabled",r.disabled)("mdc-tab--active",r.active))},inputs:{active:[2,"active","active",q],disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:rn(e)],id:"id"},exportAs:["matTabLink"],features:[he],attrs:Bne,ngContentSelectors:y1,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(n,r){n&1&&(Ie(),x(0,"span",0)(1,"div",1),u(2,"span",2)(3,"span",3),re(4),c()()),n&2&&(l(),g("matRippleTrigger",r.elementRef.nativeElement)("matRippleDisabled",r.rippleDisabled))},dependencies:[Hr],styles:[`.mat-mdc-tab-link {
7896  -webkit-tap-highlight-color: transparent;
7897  -webkit-font-smoothing: antialiased;
7898  -moz-osx-font-smoothing: grayscale;
7899  text-decoration: none;
7900  background: none;
7901  height: var(--mat-tab-container-height, 48px);
7902  font-family: var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));
7903  font-size: var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));
7904  letter-spacing: var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));
7905  line-height: var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));
7906  font-weight: var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight));
7907}
7908.mat-mdc-tab-link.mdc-tab {
7909  flex-grow: 0;
7910}
7911.mat-mdc-tab-link .mdc-tab-indicator__content--underline {
7912  border-color: var(--mat-tab-active-indicator-color, var(--mat-sys-primary));
7913  border-top-width: var(--mat-tab-active-indicator-height, 2px);
7914  border-radius: var(--mat-tab-active-indicator-shape, 0);
7915}
7916.mat-mdc-tab-link:hover .mdc-tab__text-label {
7917  color: var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface));
7918}
7919.mat-mdc-tab-link:focus .mdc-tab__text-label {
7920  color: var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface));
7921}
7922.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label {
7923  color: var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface));
7924}
7925.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,
7926.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element {
7927  background-color: var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface));
7928}
7929.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label {
7930  color: var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface));
7931}
7932.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline {
7933  border-color: var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary));
7934}
7935.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label {
7936  color: var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface));
7937}
7938.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline {
7939  border-color: var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary));
7940}
7941.mat-mdc-tab-link.mat-mdc-tab-disabled {
7942  opacity: 0.4;
7943  pointer-events: none;
7944}
7945.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content {
7946  pointer-events: none;
7947}
7948.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,
7949.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element {
7950  background-color: var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant));
7951}
7952.mat-mdc-tab-link .mdc-tab__ripple::before {
7953  content: "";
7954  display: block;
7955  position: absolute;
7956  top: 0;
7957  left: 0;
7958  right: 0;
7959  bottom: 0;
7960  opacity: 0;
7961  pointer-events: none;
7962  background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface));
7963}
7964.mat-mdc-tab-link .mdc-tab__text-label {
7965  color: var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));
7966  display: inline-flex;
7967  align-items: center;
7968}
7969.mat-mdc-tab-link .mdc-tab__content {
7970  position: relative;
7971  pointer-events: auto;
7972}
7973.mat-mdc-tab-link:hover .mdc-tab__ripple::before {
7974  opacity: 0.04;
7975}
7976.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before, .mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before {
7977  opacity: 0.12;
7978}
7979.mat-mdc-tab-link .mat-ripple-element {
7980  opacity: 0.12;
7981  background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface));
7982}
7983.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link {
7984  flex-grow: 1;
7985}
7986.mat-mdc-tab-link::before {
7987  margin: 5px;
7988}
7989
7990@media (max-width: 599px) {
7991  .mat-mdc-tab-link {
7992    min-width: 72px;
7993  }
7994}
7995`],encapsulation:2,changeDetection:0})}return t})(),oYe=(()=>{class t{id=m(pt).getId("mat-tab-nav-panel-");_activeTabId;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(n,r){n&2&&oe("aria-labelledby",r._activeTabId)("id",r.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:y1,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},encapsulation:2,changeDetection:0})}return t})(),C1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var D1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var E1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[d_,De]})}return t})(),eU=class{transformFunction;getLevel;isExpandable;getChildren;
7995constructor(i,e,n,r){this.transformFunction=i,this.getLevel=e,this.isExpandable=n,this.getChildren=r}_flattenNode(i,e,n,r){let o=this.transformFunction(i,e);if(n.push(o),this.isExpandable(o)){let a=this.getChildren(i);a&&(Array.isArray(a)?this._flattenChildren(a,e,n,r):a.pipe(We(1)).subscribe(s=>{this._flattenChildren(s,e,n,r)}))}return n}_flattenChildren(i,e,n,r){i.forEach((o,a)=>{let s=r.slice();s.push(a!=i.length-1),this._flattenNode(o,e+1,n,s)})}flattenNodes(i){let e=[];return i.forEach(n=>this._flattenNode(n,0,e,[])),e}expandFlattenedNodes(i,e){let n=[],r=[];return r[0]=!0,i.forEach(o=>{let a=!0;for(let s=0;s<=this.getLevel(o);s++)a=a&&r[s];a&&n.push(o),this.isExpandable(o)&&(r[this.getLevel(o)+1]=e.isExpanded(o))}),n}},tU=class extends Vu{_treeControl;_treeFlattener;_flattenedData=new zt([]);_expandedData=new zt([]);get data(){return this._data.value}set data(i){this._data.next(i),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}_data=new zt([]);constructor(i,e,n){super(),this._treeControl=i,this._treeFlattener=e,n&&(this.data=n)}connect(i){return ut(i.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe($(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}};var $ne=Math.pow(10,8)*24*60*60*1e3,EYe=-$ne,iD=6048e5,nU=864e5,k_=6e4,R_=36e5,iU=1e3;var qne=3600;var rU=qne*24,wYe=rU*7,Yne=rU*365.2425,Kne=Yne/12,xYe=Kne*3,w1=Symbol.for("constructDateFrom");function Et(t,i){return typeof t=="function"?t(i):t&&typeof t=="object"&&w1 in t?t[w1](i):t instanceof Date?new t.constructor(i):new Date(i)}function we(t,i){return Et(i||t,t)}function aa(t,i,e){let n=we(t,e?.in);return isNaN(i)?Et(e?.in||t,NaN):(i&&n.setDate(n.getDate()+i),n)}function ih(t,i,e){let n=we(t,e?.in);if(isNaN(i))return Et(e?.in||t,NaN);if(!i)return n;let r=n.getDate(),o=Et(e?.in||t,n.getTime());o.setMonth(n.getMonth()+i+1,0);let a=o.getDate();return r>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}function oU(t,i,e){return Et(e?.in||t,+we(t)+i)}var Xne={};function Da(){return Xne}function Ar(t,i){let e=Da(),n=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??e.weekStartsOn??e.locale?.options?.weekStartsOn??0,r=we(t,i?.in),o=r.getDay(),a=(o<n?7:0)+o-n;return r.setDate(r.getDate()-a),r.setHours(0,0,0,0),r}function us(t,i){return Ar(t,Ae(L({},i),{weekStartsOn:1}))}function rD(t,i){let e=we(t,i?.in),n=e.getFullYear(),r=Et(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let o=us(r),a=Et(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);let s=us(a);return e.getTime()>=o.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function em(t){let i=we(t),e=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return e.setUTCFullYear(i.getFullYear()),+t-+e}function rh(t,...i){let e=Et.bind(null,t||i.find(n=>typeof n=="object"));return i.map(e)}function An(t,i){let e=we(t,i?.in);return e.setHours(0,0,0,0),e}function aU(t,i,e){let[n,r]=rh(e?.in,t,i),o=An(n),a=An(r),s=+o-em(o),d=+a-em(a);return Math.round((s-d)/nU)}function sU(t,i){let e=rD(t,i),n=Et(i?.in||t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),us(n)}function lU(t,i,e){return oU(t,i*1e3,e)}function oD(t,i,e){return ih(t,i*12,e)}function aD(t,i,e){let[n,r]=rh(e?.in,t,i);return+An(n)==+An(r)}function sD(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function rc(t){return!(!sD(t)&&typeof t!="number"||isNaN(+we(t)))}function x1(t,i){let e=we(t,i?.in);return e.setDate(1),e.setHours(0,0,0,0),e}function cU(t,i){let e=we(t,i?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}var Zne={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},dU=(t,i,e)=>{let n,r=Zne[t];return typeof r=="string"?n=r:i===1?n=r.one:n=r.other.replace("{{count}}",i.toString()),e?.addSuffix?e.comparison&&e.comparison>0?"in "+n:n+" ago":n};function fd(t){return(i={})=>{let e=i.width?String(i.width):t.defaultWidth;return t.formats[e]||t.formats[t.defaultWidth]}}var Qne={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Jne={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},eie={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},uU={date:fd({formats:Qne,defaultWidth:"full"}),time:fd({formats:Jne,defaultWidth:"full"}),dateTime:fd({formats:eie,defaultWidth:"full"})};var tie={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},mU=(t,i,e,n)=>tie[t];function Ea(t){return(i,e)=>{let n=e?.context?String(e.context):"standalone",r;if(n==="formatting"&&t.formattingValues){let a=t.defaultFormattingWidth||t.defaultWidth,s=e?.width?String(e.width):a;r=t.formattingValues[s]||t.formattingValues[a]}else{let a=t.defaultWidth,s=e?.width?String(e.width):t.defaultWidth;r=t.values[s]||t.values[a]}let o=t.argumentCallback?t.argumentCallback(i):i;return r[o]}}var nie={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},iie={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},rie={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},oie={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
7995ay","Saturday"]},aie={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},sie={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},lie=(t,i)=>{let e=Number(t),n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},pU={ordinalNumber:lie,era:Ea({values:nie,defaultWidth:"wide"}),quarter:Ea({values:iie,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Ea({values:rie,defaultWidth:"wide"}),day:Ea({values:oie,defaultWidth:"wide"}),dayPeriod:Ea({values:aie,defaultWidth:"wide",formattingValues:sie,defaultFormattingWidth:"wide"})};function wa(t){return(i,e={})=>{let n=e.width,r=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],o=i.match(r);if(!o)return null;let a=o[0],s=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(s)?die(s,b=>b.test(a)):cie(s,b=>b.test(a)),p;p=t.valueCallback?t.valueCallback(d):d,p=e.valueCallback?e.valueCallback(p):p;let f=i.slice(a.length);return{value:p,rest:f}}}function cie(t,i){for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&i(t[e]))return e}function die(t,i){for(let e=0;e<t.length;e++)if(i(t[e]))return e}function lD(t){return(i,e={})=>{let n=i.match(t.matchPattern);if(!n)return null;let r=n[0],o=i.match(t.parsePattern);if(!o)return null;let a=t.valueCallback?t.valueCallback(o[0]):o[0];a=e.valueCallback?e.valueCallback(a):a;let s=i.slice(r.length);return{value:a,rest:s}}}var uie=/^(\d+)(th|st|nd|rd)?/i,mie=/\d+/i,pie={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},hie={any:[/^b/i,/^(a|c)/i]},fie={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},gie={any:[/1/i,/2/i,/3/i,/4/i]},_ie={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},bie={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},vie={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},yie={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Cie={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Die={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},hU={ordinalNumber:lD({matchPattern:uie,parsePattern:mie,valueCallback:t=>parseInt(t,10)}),era:wa({matchPatterns:pie,defaultMatchWidth:"wide",parsePatterns:hie,defaultParseWidth:"any"}),quarter:wa({matchPatterns:fie,defaultMatchWidth:"wide",parsePatterns:gie,defaultParseWidth:"any",valueCallback:t=>t+1}),month:wa({matchPatterns:_ie,defaultMatchWidth:"wide",parsePatterns:bie,defaultParseWidth:"any"}),day:wa({matchPatterns:vie,defaultMatchWidth:"wide",parsePatterns:yie,defaultParseWidth:"any"}),dayPeriod:wa({matchPatterns:Cie,defaultMatchWidth:"any",parsePatterns:Die,defaultParseWidth:"any"})};var M_={code:"en-US",formatDistance:dU,formatLong:uU,formatRelative:mU,localize:pU,match:hU,options:{weekStartsOn:0,firstWeekContainsDate:1}};function fU(t,i){let e=we(t,i?.in);return aU(e,cU(e))+1}function cD(t,i){let e=we(t,i?.in),n=+us(e)-+sU(e);return Math.round(n/iD)+1}function oh(t,i){let e=we(t,i?.in),n=e.getFullYear(),r=Da(),o=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=Et(i?.in||t,0);a.setFullYear(n+1,0,o),a.setHours(0,0,0,0);let s=Ar(a,i),d=Et(i?.in||t,0);d.setFullYear(n,0,o),d.setHours(0,0,0,0);let p=Ar(d,i);return+e>=+s?n+1:+e>=+p?n:n-1}function gU(t,i){let e=Da(),n=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,r=oh(t,i),o=Et(i?.in||t,0);return o.setFullYear(r,0,n),o.setHours(0,0,0,0),Ar(o,i)}function dD(t,i){let e=we(t,i?.in),n=+Ar(e,i)-+gU(e,i);return Math.round(n/iD)+1}function Vt(t,i){let e=t<0?"-":"",n=Math.abs(t).toString().padStart(i,"0");return e+n}var oc={y(t,i){let e=t.getFullYear(),n=e>0?e:1-e;return Vt(i==="yy"?n%100:n,i.length)},M(t,i){let e=t.getMonth();return i==="M"?String(e+1):Vt(e+1,2)},d(t,i){return Vt(t.getDate(),i.length)},a(t,i){let e=t.getHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];default:return e==="am"?"a.m.":"p.m."}},h(t,i){return Vt(t.getHours()%12||12,i.length)},H(t,i){return Vt(t.getHours(),i.length)},m(t,i){return Vt(t.getMinutes(),i.length)},s(t,i){return Vt(t.getSeconds(),i.length)},S(t,i){let e=i.length,n=t.getMilliseconds(),r=Math.trunc(n*Math.pow(10,e-3));return Vt(r,i.length)}};var ah={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},S1={G:function(t,i,e){let n=t.getFullYear()>0?1:0;switch(i){case"G":case"GG":case"GGG":return e.era(n,{width:"abbreviated"});case"GGGGG":return e.era(n,{width:"narrow"});default:return e.era(n,{width:"wide"})}},y:function(t,i,e){if(i==="yo"){let n=t.getFullYear(),r=n>0?n:1-n;return e.ordinalNumber(r,{unit:"year"})}return oc.y(t,i)},Y:function(t,i,e,n){let r=oh(t,n),o=r>0?r:1-r;if(i==="YY"){let a=o%100;return Vt(a,2)}return i==="Yo"?e.ordinalNumber(o,{unit:"year"}):Vt(o,i.length)},R:function(t,i){let e=rD(t);return Vt(e,i.length)},u:function(t,i){let e=t.getFullYear();return Vt(e,i.length)},Q:function(t,i,e){let n=Math.ceil((t.getMonth()+1)/3);switch(i){case"Q":return String(n);case"QQ":return Vt(n,2);case"Qo":return e.ordinalNumber(n,{unit:"quarter"});case"QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,i,e){let n=Math.ceil((t.getMonth()+1)/3);switch(i){case"q":return String(n);case"qq":return Vt(n,2);case"qo":return e.ordinalNumber(n,{unit:"quarter"});case"qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,i,e){let n=t.getMonth();switch(i){case"M":case"MM":return oc.M(t,i);case"Mo":return e.ordinalNumber(n+1,{unit:"month"});case"MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(n,{width:"narrow",context:"formatting"});default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(t,i,e){let n=t.getMonth();switch(i){case"L":return String(n+1);case"LL":return Vt(n+1,2);case"Lo":return e.ordinalNumber(n+1,{unit:"month"});case"LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(n,{width:"narrow",context:"standalone"});default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(t,i,e,n){let r=dD(t,n);return i==="wo"?e.ordinalNumber(r,{unit:"week"}):Vt(r,i.length)},I:function(t,i,e){let n=cD(t);return i==="Io"?e.ordinalNumber(n,{unit:"week"}):Vt(n,i.length)},d:function(t,i,e){return i==="do"?e.ordinalNumber(t.getDate(),{unit:"date"}):oc.d(t,i)},D:function(t,i,e){let n=fU(t);return i==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):Vt(n,i.length)},E:function(t,i,e){let n=t.getDay();switch(i){case"E":case"EE":case"EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(n,{width:"short",context:"formatting"});default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(t,i,e,n){let r=t.getDay(),o=(r-n.weekStartsOn+8)%7||7;switch(i){case"e":return String(o);case"ee":return Vt(o,2);case"eo":return e.ordinalNumber(o,{unit:"day"});case"eee":return e.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(r,{width:"short",context:"formatting"});default:return e.day(r,{width:"wide",context:"formatting"})}},c:function(t,i,e,n){let r=t.getDay(),o=(r-n.weekStartsOn+8)%7||7;switch(i){case"c":return String(o);case"cc":return Vt(o,i.length);case"co":return e.ordinalNumber(o,{unit:"day"});case"ccc":return e.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(r,{width:"narrow",context:"standalone"});case"cccccc":return e.day(r,{width:"short",context:"standalone"});default:return e.day(r,{width:"wide",context:"standalone"})}},i:function(t,i,e){let n=t.getDay(),r=n===0?7:n;switch(i){case"i":return String(r);case"ii":return Vt(r,i.length);case"io":return e.ordinalNumber(r,{unit:"day"});case"iii":return e.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(n,{width:"short",context:"formatting"});default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(t,i,e){let r=t.getHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(r,{width:"narrow",context:"formatting"});default:return e.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,i,e){let n=t.getHours(),r;switch(n===12?r=ah.noon:n===0?r=ah.midnight:r=n/12>
7995=1?"pm":"am",i){case"b":case"bb":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(r,{width:"narrow",context:"formatting"});default:return e.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,i,e){let n=t.getHours(),r;switch(n>=17?r=ah.evening:n>=12?r=ah.afternoon:n>=4?r=ah.morning:r=ah.night,i){case"B":case"BB":case"BBB":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(r,{width:"narrow",context:"formatting"});default:return e.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,i,e){if(i==="ho"){let n=t.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return oc.h(t,i)},H:function(t,i,e){return i==="Ho"?e.ordinalNumber(t.getHours(),{unit:"hour"}):oc.H(t,i)},K:function(t,i,e){let n=t.getHours()%12;return i==="Ko"?e.ordinalNumber(n,{unit:"hour"}):Vt(n,i.length)},k:function(t,i,e){let n=t.getHours();return n===0&&(n=24),i==="ko"?e.ordinalNumber(n,{unit:"hour"}):Vt(n,i.length)},m:function(t,i,e){return i==="mo"?e.ordinalNumber(t.getMinutes(),{unit:"minute"}):oc.m(t,i)},s:function(t,i,e){return i==="so"?e.ordinalNumber(t.getSeconds(),{unit:"second"}):oc.s(t,i)},S:function(t,i){return oc.S(t,i)},X:function(t,i,e){let n=t.getTimezoneOffset();if(n===0)return"Z";switch(i){case"X":return bU(n);case"XXXX":case"XX":return tm(n);default:return tm(n,":")}},x:function(t,i,e){let n=t.getTimezoneOffset();switch(i){case"x":return bU(n);case"xxxx":case"xx":return tm(n);default:return tm(n,":")}},O:function(t,i,e){let n=t.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+_U(n,":");default:return"GMT"+tm(n,":")}},z:function(t,i,e){let n=t.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+_U(n,":");default:return"GMT"+tm(n,":")}},t:function(t,i,e){let n=Math.trunc(+t/1e3);return Vt(n,i.length)},T:function(t,i,e){return Vt(+t,i.length)}};function _U(t,i=""){let e=t>0?"-":"+",n=Math.abs(t),r=Math.trunc(n/60),o=n%60;return o===0?e+String(r):e+String(r)+i+Vt(o,2)}function bU(t,i){return t%60===0?(t>0?"-":"+")+Vt(Math.abs(t)/60,2):tm(t,i)}function tm(t,i=""){let e=t>0?"-":"+",n=Math.abs(t),r=Vt(Math.trunc(n/60),2),o=Vt(n%60,2);return e+r+i+o}var vU=(t,i)=>{switch(t){case"P":return i.date({width:"short"});case"PP":return i.date({width:"medium"});case"PPP":return i.date({width:"long"});default:return i.date({width:"full"})}},yU=(t,i)=>{switch(t){case"p":return i.time({width:"short"});case"pp":return i.time({width:"medium"});case"ppp":return i.time({width:"long"});default:return i.time({width:"full"})}},Eie=(t,i)=>{let e=t.match(/(P+)(p+)?/)||[],n=e[1],r=e[2];if(!r)return vU(t,i);let o;switch(n){case"P":o=i.dateTime({width:"short"});break;case"PP":o=i.dateTime({width:"medium"});break;case"PPP":o=i.dateTime({width:"long"});break;default:o=i.dateTime({width:"full"});break}return o.replace("{{date}}",vU(n,i)).replace("{{time}}",yU(r,i))},N_={p:yU,P:Eie};var wie=/^D+$/,xie=/^Y+$/,Sie=["D","DD","YY","YYYY"];function uD(t){return wie.test(t)}function mD(t){return xie.test(t)}function O_(t,i,e){let n=Tie(t,i,e);if(console.warn(n),Sie.includes(t))throw new RangeError(n)}function Tie(t,i,e){let n=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${i}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Iie=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Aie=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,kie=/^'([^]*?)'?$/,Rie=/''/g,Mie=/[a-zA-Z]/;function $t(t,i,e){let n=Da(),r=e?.locale??n.locale??M_,o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,a=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=we(t,e?.in);if(!rc(s))throw new RangeError("Invalid time value");let d=i.match(Aie).map(f=>{let b=f[0];if(b==="p"||b==="P"){let w=N_[b];return w(f,r.formatLong)}return f}).join("").match(Iie).map(f=>{if(f==="''")return{isToken:!1,value:"'"};let b=f[0];if(b==="'")return{isToken:!1,value:Nie(f)};if(S1[b])return{isToken:!0,value:f};
7995if(b.match(Mie))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return{isToken:!1,value:f}});r.localize.preprocessor&&(d=r.localize.preprocessor(s,d));let p={firstWeekContainsDate:o,weekStartsOn:a,locale:r};return d.map(f=>{if(!f.isToken)return f.value;let b=f.value;(!e?.useAdditionalWeekYearTokens&&mD(b)||!e?.useAdditionalDayOfYearTokens&&uD(b))&&O_(b,i,String(t));let w=S1[b[0]];return w(s,b,r.localize,p)}).join("")}function Nie(t){let i=t.match(kie);return i?i[1].replace(Rie,"'"):t}function CU(t,i){let e=we(t,i?.in);if(isNaN(+e))throw new RangeError("Invalid time value");let n=i?.format??"extended",r=i?.representation??"complete",o="",a="",s=n==="extended"?"-":"",d=n==="extended"?":":"";if(r!=="time"){let p=Vt(e.getDate(),2),f=Vt(e.getMonth()+1,2);o=`${Vt(e.getFullYear(),4)}${s}${f}${s}${p}`}if(r!=="date"){let p=e.getTimezoneOffset();if(p!==0){let J=Math.abs(p),j=Vt(Math.trunc(J/60),2),K=Vt(J%60,2);a=`${p<0?"+":"-"}${j}:${K}`}else a="Z";let f=Vt(e.getHours(),2),b=Vt(e.getMinutes(),2),w=Vt(e.getSeconds(),2),A=o===""?"":"T",M=[f,b,w].join(d);o=`${o}${A}${M}${a}`}return o}function DU(t,i){return we(t,i?.in).getDate()}function EU(t,i){return we(t,i?.in).getDay()}function pD(t,i){let e=we(t,i?.in),n=e.getFullYear(),r=e.getMonth(),o=Et(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function wU(){return Object.assign({},Da())}function xU(t,i){return we(t,i?.in).getHours()}function SU(t,i){let e=we(t,i?.in).getDay();return e===0?7:e}function TU(t,i){return we(t,i?.in).getMinutes()}function IU(t,i){return we(t,i?.in).getMonth()}function AU(t){return we(t).getSeconds()}function kU(t,i){return we(t,i?.in).getFullYear()}function RU(t,i){return+we(t)>+we(i)}function gd(t,i){return+we(t)<+we(i)}function MU(t,i){let e=Oie(i)?new i(0):Et(i,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e}function Oie(t){return typeof t=="function"&&t.prototype?.constructor===t}var Fie=10,hD=class{subPriority=0;validate(i,e){return!0}},fD=class extends hD{constructor(i,e,n,r,o){super(),this.value=i,this.validateValue=e,this.setValue=n,this.priority=r,o&&(this.subPriority=o)}validate(i,e){return this.validateValue(i,this.value,e)}set(i,e,n){return this.setValue(i,e,this.value,n)}},gD=class extends hD{priority=Fie;subPriority=-1;constructor(i,e){super(),this.context=i||(n=>Et(e,n))}set(i,e){return e.timestampIsSet?i:Et(i,MU(i,this.context))}};var Pe=class{run(i,e,n,r){let o=this.parse(i,e,n,r);return o?{setter:new fD(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(i,e,n){return!0}};var _D=class extends Pe{priority=140;parse(i,e,n){switch(e){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"})||n.era(i,{width:"narrow"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})||n.era(i,{width:"abbreviated"})||n.era(i,{width:"narrow"})}}set(i,e,n){return e.era=n,i.setFullYear(n,0,1),i.setHours(0,0,0,0),i}incompatibleTokens=["R","u","t","T"]};var sn={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},xa={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ln(t,i){return t&&{value:i(t.value),rest:t.rest}}function en(t,i){let e=i.match(t);return e?{value:parseInt(e[0],10),rest:i.slice(e[0].length)}:null}function Sa(t,i){let e=i.match(t);if(!e)return null;if(e[0]==="Z")return{value:0,rest:i.slice(1)};let n=e[1]==="+"?1:-1,r=e[2]?parseInt(e[2],10):0,o=e[3]?parseInt(e[3],10):0,a=e[5]?parseInt(e[5],10):0;return{value:n*(r*R_+o*k_+a*iU),rest:i.slice(e[0].length)}}function bD(t){return en(sn.anyDigitsSigned,t)}function kt(t,i){switch(t){case 1:return en(sn.singleDigit,i);case 2:return en(sn.twoDigits,i);case 3:return en(sn.threeDigits,i);case 4:return en(sn.fourDigits,i);default:return en(new RegExp("^\\d{1,"+t+"}"),i)}}function sh(t,i){switch(t){case 1:return en(sn.singleDigitSigned,i);case 2:return en(sn.twoDigitsSigned,i);case 3:return en(sn.threeDigitsSigned,i);case 4:return en(sn.fourDigitsSigned,i);default:return en(new RegExp("^-?\\d{1,"+t+"}"),i)}}function lh(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function vD(t,i){let e=i>0,n=e?i:1-i,r;if(n<=50)r=t||100;
vendor: 10,735 bytes, line 7995
7995else{let o=n+50,a=Math.trunc(o/100)*100,s=t>=o%100;r=t+a-(s?100:0)}return e?r:1-r}function yD(t){return t%400===0||t%4===0&&t%100!==0}var CD=class extends Pe{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(i,e,n){let r=o=>({year:o,isTwoDigitYear:e==="yy"});switch(e){case"y":return Ln(kt(4,i),r);case"yo":return Ln(n.ordinalNumber(i,{unit:"year"}),r);default:return Ln(kt(e.length,i),r)}}validate(i,e){return e.isTwoDigitYear||e.year>0}set(i,e,n){let r=i.getFullYear();if(n.isTwoDigitYear){let a=vD(n.year,r);return i.setFullYear(a,0,1),i.setHours(0,0,0,0),i}let o=!("era"in e)||e.era===1?n.year:1-n.year;return i.setFullYear(o,0,1),i.setHours(0,0,0,0),i}};var DD=class extends Pe{priority=130;parse(i,e,n){let r=o=>({year:o,isTwoDigitYear:e==="YY"});switch(e){case"Y":return Ln(kt(4,i),r);case"Yo":return Ln(n.ordinalNumber(i,{unit:"year"}),r);default:return Ln(kt(e.length,i),r)}}validate(i,e){return e.isTwoDigitYear||e.year>0}set(i,e,n,r){let o=oh(i,r);if(n.isTwoDigitYear){let s=vD(n.year,o);return i.setFullYear(s,0,r.firstWeekContainsDate),i.setHours(0,0,0,0),Ar(i,r)}let a=!("era"in e)||e.era===1?n.year:1-n.year;return i.setFullYear(a,0,r.firstWeekContainsDate),i.setHours(0,0,0,0),Ar(i,r)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]};var ED=class extends Pe{priority=130;parse(i,e){return e==="R"?sh(4,i):sh(e.length,i)}set(i,e,n){let r=Et(i,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),us(r)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]};var wD=class extends Pe{priority=130;parse(i,e){return e==="u"?sh(4,i):sh(e.length,i)}set(i,e,n){return i.setFullYear(n,0,1),i.setHours(0,0,0,0),i}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]};var xD=class extends Pe{priority=120;parse(i,e,n){switch(e){case"Q":case"QQ":return kt(e.length,i);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"})||n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})||n.quarter(i,{width:"abbreviated",context:"formatting"})||n.quarter(i,{width:"narrow",context:"formatting"})}}validate(i,e){return e>=1&&e<=4}set(i,e,n){return i.setMonth((n-1)*3,1),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]};var SD=class extends Pe{priority=120;parse(i,e,n){switch(e){case"q":case"qq":return kt(e.length,i);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"})||n.quarter(i,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})||n.quarter(i,{width:"abbreviated",context:"standalone"})||n.quarter(i,{width:"narrow",context:"standalone"})}}validate(i,e){return e>=1&&e<=4}set(i,e,n){return i.setMonth((n-1)*3,1),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]};var TD=class extends Pe{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(i,e,n){let r=o=>o-1;switch(e){case"M":return Ln(en(sn.month,i),r);case"MM":return Ln(kt(2,i),r);case"Mo":return Ln(n.ordinalNumber(i,{unit:"month"}),r);case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"})||n.month(i,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})||n.month(i,{width:"abbreviated",context:"formatting"})||n.month(i,{width:"narrow",context:"formatting"})}}validate(i,e){return e>=0&&e<=11}set(i,e,n){return i.setMonth(n,1),i.setHours(0,0,0,0),i}};var ID=class extends Pe{priority=110;parse(i,e,n){let r=o=>o-1;switch(e){case"L":return Ln(en(sn.month,i),r);case"LL":return Ln(kt(2,i),r);case"Lo":return Ln(n.ordinalNumber(i,{unit:"month"}),r);case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"})||n.month(i,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})||n.month(i,{width:"abbreviated",context:"standalone"})||n.month(i,{width:"narrow",context:"standalone"})}}validate(i,e){return e>=0&&e<=11}set(i,e,n){return i.setMonth(n,1),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]};function NU(t,i,e){let n=we(t,e?.in),r=dD(n,e)-i;return n.setDate(n.getDate()-r*7),we(n,e?.in)}var AD=class extends Pe{priority=100;parse(i,e,n){switch(e){case"w":return en(sn.week,i);case"wo":return n.ordinalNumber(i,{unit:"week"});default:return kt(e.length,i)}}validate(i,e){return e>=1&&e<=53}set(i,e,n,r){return Ar(NU(i,n,r),r)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]};function OU(t,i,e){let n=we(t,e?.in),r=cD(n,e)-i;return n.setDate(n.getDate()-r*7),n}var kD=class extends Pe{priority=100;parse(i,e,n){switch(e){case"I":return en(sn.week,i);case"Io":return n.ordinalNumber(i,{unit:"week"});default:return kt(e.length,i)}}validate(i,e){return e>=1&&e<=53}set(i,e,n){return us(OU(i,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]};var Pie=[31,28,31,30,31,30,31,31,30,31,30,31],Lie=[31,29,31,30,31,30,31,31,30,31,30,31],RD=class extends Pe{priority=90;subPriority=1;parse(i,e,n){switch(e){case"d":return en(sn.date,i);case"do":return n.ordinalNumber(i,{unit:"date"});default:return kt(e.length,i)}}validate(i,e){let n=i.getFullYear(),r=yD(n),o=i.getMonth();return r?e>=1&&e<=Lie[o]:e>=1&&e<=Pie[o]}set(i,e,n){return i.setDate(n),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]};var MD=class extends Pe{priority=90;subpriority=1;parse(i,e,n){switch(e){case"D":case"DD":return en(sn.dayOfYear,i);case"Do":return n.ordinalNumber(i,{unit:"date"});default:return kt(e.length,i)}}validate(i,e){let n=i.getFullYear();return yD(n)?e>=1&&e<=366:e>=1&&e<=365}set(i,e,n){return i.setMonth(0,n),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]};function ch(t,i,e){let n=Da(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=we(t,e?.in),a=o.getDay(),d=(i%7+7)%7,p=7-r,f=i<0||i>6?i-(a+p)%7:(d+p)%7-(a+p)%7;return aa(o,f,e)}var ND=class extends Pe{priority=90;parse(i,e,n){switch(e){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})||n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"})}}validate(i,e){return e>=0&&e<=6}set(i,e,n,r){return i=ch(i,n,r),i.setHours(0,0,0,0),i}incompatibleTokens=["D","i","e","c","t","T"]};var OD=class extends Pe{priority=90;parse(i,e,n,r){let o=a=>{let s=Math.floor((a-1)/7)*7;return(a+r.weekStartsOn+6)%7+s};switch(e){case"e":case"ee":return Ln(kt(e.length,i),o);case"eo":return Ln(n.ordinalNumber(i,{unit:"day"}),o);case"eee":return n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})||n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"})}}validate(i,e){return e>=0&&e<=6}set(i,e,n,r){return i=ch(i,n,r),i.setHours(0,0,0,0),i}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]};var FD=class extends Pe{priority=90;parse(i,e,n,r){let o=a=>{let s=Math.floor((a-1)/7)*7;return(a+r.weekStartsOn+6)%7+s};switch(e){case"c":case"cc":return Ln(kt(e.length,i),o);case"co":return Ln(n.ordinalNumber(i,{unit:"day"}),o);case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"})||n.day(i,{width:"short",context:"standalone"})||n.day(i,{width:"narrow",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"})||n.day(i,{width:"narrow",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})||n.day(i,{width:"abbreviated",context:"standalone"})||n.day(i,{width:"short",context:"standalone"})||n.day(i,{width:"narrow",context:"standalone"})}}validate(i,e){return e>=0&&e<=6}set(i,e,n,r){return i=ch(i,n,r),i.setHours(0,0,0,0),i}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]};function FU(t,i,e){let n=we(t,e?.in),r=SU(n,e),o=i-r;return aa(n,o,e)}var PD=class extends Pe{priority=90;parse(i,e,n){let r=o=>o===0?7:o;switch(e){case"i":case"ii":return kt(e.length,i);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return Ln(n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"}),r);case"iiiii":return Ln(n.day(i,{width:"narrow",context:"formatting"}),r);case"iiiiii":return Ln(n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"}),r);default:return Ln(n.day(i,{width:"wide",context:"formatting"})||n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"}),r)}}validate(i,e){return e>=1&&e<=7}set(i,e,n){return i=FU(i,n),i.setHours(0,0,0,0),i}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]};var LD=class extends Pe{priority=80;parse(i,e,n){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})||n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"})}}set(i,e,n){return i.setHours(lh(n),0,0,0),i}incompatibleTokens=["b","B","H","k","t","T"]};var BD=class extends Pe{priority=80;
7995parse(i,e,n){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})||n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"})}}set(i,e,n){return i.setHours(lh(n),0,0,0),i}incompatibleTokens=["a","B","H","k","t","T"]};var VD=class extends Pe{priority=80;parse(i,e,n){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})||n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"})}}set(i,e,n){return i.setHours(lh(n),0,0,0),i}incompatibleTokens=["a","b","t","T"]};var jD=class extends Pe{priority=70;parse(i,e,n){switch(e){case"h":return en(sn.hour12h,i);case"ho":return n.ordinalNumber(i,{unit:"hour"});default:return kt(e.length,i)}}validate(i,e){return e>=1&&e<=12}set(i,e,n){let r=i.getHours()>=12;return r&&n<12?i.setHours(n+12,0,0,0):!r&&n===12?i.setHours(0,0,0,0):i.setHours(n,0,0,0),i}incompatibleTokens=["H","K","k","t","T"]};var HD=class extends Pe{priority=70;parse(i,e,n){switch(e){case"H":return en(sn.hour23h,i);case"Ho":return n.ordinalNumber(i,{unit:"hour"});default:return kt(e.length,i)}}validate(i,e){return e>=0&&e<=23}set(i,e,n){return i.setHours(n,0,0,0),i}incompatibleTokens=["a","b","h","K","k","t","T"]};var UD=class extends Pe{priority=70;parse(i,e,n){switch(e){case"K":return en(sn.hour11h,i);case"Ko":return n.ordinalNumber(i,{unit:"hour"});default:return kt(e.length,i)}}validate(i,e){return e>=0&&e<=11}set(i,e,n){return i.getHours()>=12&&n<12?i.setHours(n+12,0,0,0):i.setHours(n,0,0,0),i}incompatibleTokens=["h","H","k","t","T"]};var zD=class extends Pe{priority=70;parse(i,e,n){switch(e){case"k":return en(sn.hour24h,i);case"ko":return n.ordinalNumber(i,{unit:"hour"});default:return kt(e.length,i)}}validate(i,e){return e>=1&&e<=24}set(i,e,n){let r=n<=24?n%24:n;return i.setHours(r,0,0,0),i}incompatibleTokens=["a","b","h","H","K","t","T"]};var GD=class extends Pe{priority=60;parse(i,e,n){switch(e){case"m":return en(sn.minute,i);case"mo":return n.ordinalNumber(i,{unit:"minute"});default:return kt(e.length,i)}}validate(i,e){return e>=0&&e<=59}set(i,e,n){return i.setMinutes(n,0,0),i}incompatibleTokens=["t","T"]};var WD=class extends Pe{priority=50;parse(i,e,n){switch(e){case"s":return en(sn.second,i);case"so":return n.ordinalNumber(i,{unit:"second"});default:return kt(e.length,i)}}validate(i,e){return e>=0&&e<=59}set(i,e,n){return i.setSeconds(n,0),i}incompatibleTokens=["t","T"]};var $D=class extends Pe{priority=30;parse(i,e){let n=r=>Math.trunc(r*Math.pow(10,-e.length+3));return Ln(kt(e.length,i),n)}set(i,e,n){return i.setMilliseconds(n),i}incompatibleTokens=["t","T"]};var qD=class extends Pe{priority=10;parse(i,e){switch(e){case"X":return Sa(xa.basicOptionalMinutes,i);case"XX":return Sa(xa.basic,i);case"XXXX":return Sa(xa.basicOptionalSeconds,i);case"XXXXX":return Sa(xa.extendedOptionalSeconds,i);default:return Sa(xa.extended,i)}}set(i,e,n){return e.timestampIsSet?i:Et(i,i.getTime()-em(i)-n)}incompatibleTokens=["t","T","x"]};var YD=class extends Pe{priority=10;parse(i,e){switch(e){case"x":return Sa(xa.basicOptionalMinutes,i);case"xx":return Sa(xa.basic,i);case"xxxx":return Sa(xa.basicOptionalSeconds,i);case"xxxxx":return Sa(xa.extendedOptionalSeconds,i);default:return Sa(xa.extended,i)}}set(i,e,n){return e.timestampIsSet?i:Et(i,i.getTime()-em(i)-n)}incompatibleTokens=["t","T","X"]};var KD=class extends Pe{priority=40;parse(i){return bD(i)}set(i,e,n){return[Et(i,n*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"};var XD=class extends Pe{priority=20;parse(i){return bD(i)}set(i,e,n){return[Et(i,n),{timestampIsSet:!0}]}incompatibleTokens="*"};var PU={G:new _D,y:new CD,Y:new DD,R:new ED,u:new wD,Q:new xD,q:new SD,M:new TD,L:new ID,w:new AD,I:new kD,d:new RD,D:new MD,E:new ND,e:new OD,c:new FD,i:new PD,a:new LD,b:new BD,B:new VD,h:new jD,H:new HD,K:new UD,k:new zD,m:new GD,s:new WD,S:new $D,X:new qD,x:new YD,t:new KD,T:new XD};var Bie=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Vie=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,jie=/^'([^]*?)'?$/,Hie=/''/g,Uie=/\S/,zie=/[a-zA-Z]/;function LU(t,i,e,n){let r=()=>Et(n?.in||e,NaN),o=wU(),a=n?.locale??o.locale??M_,s=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,d=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0;if(!i)return t?r():we(e,n?.in);let p={firstWeekContainsDate:s,weekStartsOn:d,locale:a},f=[new gD(n?.in,e)],b=i.match(Vie).map(j=>{let K=j[0];if(K in N_){let Te=N_[K];return Te(j,a.formatLong)}return j}).join("").match(Bie),w=[];for(let j of b){!n?.useAdditionalWeekYearTokens&&mD(j)&&O_(j,i,t),!n?.useAdditionalDayOfYearTokens&&uD(j)&&O_(j,i,t);let K=j[0],Te=PU[K];if(Te){let{incompatibleTokens:tn}=Te;if(Array.isArray(tn)){let Oi=w.find(Ec=>tn.includes(Ec.token)||Ec.token===K);
7995if(Oi)throw new RangeError(`The format string mustn't contain \`${Oi.fullToken}\` and \`${j}\` at the same time`)}else if(Te.incompatibleTokens==="*"&&w.length>0)throw new RangeError(`The format string mustn't contain \`${j}\` and any other token at the same time`);w.push({token:K,fullToken:j});let jt=Te.run(t,j,a.match,p);if(!jt)return r();f.push(jt.setter),t=jt.rest}else{if(K.match(zie))throw new RangeError("Format string contains an unescaped latin alphabet character `"+K+"`");if(j==="''"?j="'":K==="'"&&(j=Gie(j)),t.indexOf(j)===0)t=t.slice(j.length);else return r()}}if(t.length>0&&Uie.test(t))return r();let A=f.map(j=>j.priority).sort((j,K)=>K-j).filter((j,K,Te)=>Te.indexOf(j)===K).map(j=>f.filter(K=>K.priority===j).sort((K,Te)=>Te.subPriority-K.subPriority)).map(j=>j[0]),M=we(e,n?.in);if(isNaN(+M))return r();let J={};for(let j of A){if(!j.validate(M,p))return r();let K=j.set(M,J,p);Array.isArray(K)?(M=K[0],Object.assign(J,K[1])):M=K}return M}function Gie(t){return t.match(jie)[1].replace(Hie,"'")}function BU(t,i,e){let[n,r]=rh(e?.in,t,i);return+Ar(n,e)==+Ar(r,e)}function VU(t,i,e){return aa(t,-i,e)}function P_(t,i){let e=()=>Et(i?.in,NaN),n=i?.additionalDigits??2,r=Yie(t),o;if(r.date){let p=Kie(r.date,n);o=Xie(p.restDateString,p.year)}if(!o||isNaN(+o))return e();let a=+o,s=0,d;if(r.time&&(s=Zie(r.time),isNaN(s)))return e();if(r.timezone){if(d=Qie(r.timezone),isNaN(d))return e()}else{let p=new Date(a+s),f=we(0,i?.in);return f.setFullYear(p.getUTCFullYear(),p.getUTCMonth(),p.getUTCDate()),f.setHours(p.getUTCHours(),p.getUTCMinutes(),p.getUTCSeconds(),p.getUTCMilliseconds()),f}return we(a+s+d,i?.in)}var ZD={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Wie=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,$ie=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,qie=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Yie(t){let i={},e=t.split(ZD.dateTimeDelimiter),n;if(e.length>2)return i;if(/:/.test(e[0])?n=e[0]:(i.date=e[0],n=e[1],ZD.timeZoneDelimiter.test(i.date)&&(i.date=t.split(ZD.timeZoneDelimiter)[0],n=t.substr(i.date.length,t.length))),n){let r=ZD.timezone.exec(n);r?(i.time=n.replace(r[1],""),i.timezone=r[1]):i.time=n}return i}function Kie(t,i){let e=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+i)+"})|(\\d{2}|[+-]\\d{"+(2+i)+"})$)"),n=t.match(e);if(!n)return{year:NaN,restDateString:""};let r=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:o===null?r:o*100,restDateString:t.slice((n[1]||n[2]).length)}}function Xie(t,i){if(i===null)return new Date(NaN);let e=t.match(Wie);if(!e)return new Date(NaN);let n=!!e[4],r=F_(e[1]),o=F_(e[2])-1,a=F_(e[3]),s=F_(e[4]),d=F_(e[5])-1;if(n)return ire(i,s,d)?Jie(i,s,d):new Date(NaN);{let p=new Date(0);return!tre(i,o,a)||!nre(i,r)?new Date(NaN):(p.setUTCFullYear(i,o,Math.max(r,a)),p)}}function F_(t){return t?parseInt(t):1}function Zie(t){let i=t.match($ie);if(!i)return NaN;let e=T1(i[1]),n=T1(i[2]),r=T1(i[3]);return rre(e,n,r)?e*R_+n*k_+r*1e3:NaN}function T1(t){return t&&parseFloat(t.replace(",","."))||0}function Qie(t){if(t==="Z")return 0;let i=t.match(qie);if(!i)return 0;let e=i[1]==="+"?-1:1,n=parseInt(i[2]),r=i[3]&&parseInt(i[3])||0;return ore(n,r)?e*(n*R_+r*k_):NaN}function Jie(t,i,e){let n=new Date(0);n.setUTCFullYear(t,0,4);let r=n.getUTCDay()||7,o=(i-1)*7+e+1-r;return n.setUTCDate(n.getUTCDate()+o),n}var ere=[31,null,31,30,31,30,31,31,30,31,30,31];function jU(t){return t%400===0||t%4===0&&t%100!==0}function tre(t,i,e){return i>=0&&i<=11&&e>=1&&e<=(ere[i]||(jU(t)?29:28))}function nre(t,i){return i>=1&&i<=(jU(t)?366:365)}function ire(t,i,e){return i>=1&&i<=53&&e>=0&&e<=6}function rre(t,i,e){return t===24?i===0&&e===0:e>=0&&e<60&&i>=0&&i<60&&t>=0&&t<25}function ore(t,i){return i>=0&&i<=59}function HU(t,i,e){let n=we(t,e?.in),r=n.getFullYear(),o=n.getDate(),a=Et(e?.in||t,0);a.setFullYear(r,i,15),a.setHours(0,0,0,0);let s=pD(a);return n.setMonth(i,Math.min(o,s)),n}function UU(t,i,e){let n=we(t,e?.in);return isNaN(+n)?Et(e?.in||t,NaN):(i.year!=null&&n.setFullYear(i.year),i.month!=null&&(n=HU(n,i.month)),i.date!=null&&n.setDate(i.date),i.hours!=null&&n.setHours(i.hours),i.minutes!=null&&n.setMinutes(i.minutes),i.seconds!=null&&n.setSeconds(i.seconds),i.milliseconds!=null&&n.setMilliseconds(i.milliseconds),n)}function I1(t,i,e){return ih(t,-i,e)}function A1(t,i){let e=Array(t);for(let n=0;n<t;n++)e[n]=i(n);return e}var are={long:"LLLL",short:"LLL",narrow:"LLLLL"},sre={long:"EEEE",short:"EEE",narrow:"EEEEE"},lre=(()=>{class t extends rr{constructor(){super();let e=m(Yu,{optional:!0});this.setLocale(e)}getYear(e){return kU(e)}getMonth(e){return IU(e)}getDate(e){return DU(e)}getDayOfWeek(e){return EU(e)}getMonthNames(e){let n=are[e];return A1(12,r=>this.format(new Date(2017,r,1),n))}getDateNames(){let e=typeof Intl<"u"?new Intl.DateTimeFormat(this.locale.code,{day:"numeric",timeZone:"utc"}):null;return A1(31,n=>{if(e){let r=new Date;return r.setUTCFullYear(2017,0,n+1),r.setUTCHours(0,0,0,0),e.format(r).replace(/[\u200e\u200f]/g,"")}return n+""})}getDayOfWeekNames(e){let n=sre[e];return A1(7,r=>this.format(new Date(2017,0,r+1),n))}getYearName(e){return this.format(e,"y")}getFirstDayOfWeek(){return this.locale.options?.weekStartsOn??0}getNumDaysInMonth(e){return pD(e)}clone(e){return new Date(e.getTime())}createDate(e,n,r){let o=new Date;return o.setFullYear(e,n,r),o.setHours(0,0,0,0),o.getMonth()!=n,o}today(){return new Date}parse(e,n){return this._parse(e,n)}format(e,n){if(!this.isValid(e))throw Error("DateFnsAdapter: Cannot format invalid date.");return $t(e,n,{locale:this.locale})}addCalendarYears(e,n){return oD(e,n)}addCalendarMonths(e,n){return ih(e,n)}addCalendarDays(e,n){return aa(e,n)}toIso8601(e){return CU(e,{representation:"date"})}deserialize(e){if(typeof e=="string"){if(!e)return null;let n=P_(e);if(this.isValid(n))return n}return super.deserialize(e)}isDateInstance(e){return sD(e)}isValid(e){return rc(e)}invalid(){return new Date(NaN)}setTime(e,n,r,o){return UU(this.clone(e),{hours:n,minutes:r,seconds:o,milliseconds:0})}getHours(e){return xU(e)}getMinutes(e){return TU(e)}getSeconds(e){return AU(e)}parseTime(e,n){return this._parse(e,n,!1)}
7995addSeconds(e,n){return lU(e,n)}_parse(e,n,r=!0){if(typeof e=="string"&&e.length>0){if(r){let a=P_(e);if(this.isValid(a))return a}let o=Array.isArray(n)?n:[n];if(!n.length)throw Error("Formats array must not be empty.");for(let a of o){let s=LU(e,a,new Date,{locale:this.locale});if(this.isValid(s))return s}return this.invalid()}else{if(typeof e=="number")return new Date(e);if(e instanceof Date)return this.clone(e)}return null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),cre={parse:{dateInput:"P",timeInput:"p"},display:{dateInput:"P",timeInput:"p",monthYearLabel:"LLL uuuu",dateA11yLabel:"PP",monthYearA11yLabel:"LLLL uuuu",timeOptionLabel:"p"}};var k1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[R1()]})}return t})();function R1(t=cre){return[{provide:rr,useClass:lre},{provide:qs,useValue:t}]}var dre={lessThanXSeconds:{one:{regular:"mniej ni\u017C sekunda",past:"mniej ni\u017C sekund\u0119",future:"mniej ni\u017C sekund\u0119"},twoFour:"mniej ni\u017C {{count}} sekundy",other:"mniej ni\u017C {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekund\u0119",future:"sekund\u0119"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"p\xF3\u0142 minuty",twoFour:"p\xF3\u0142 minuty",other:"p\xF3\u0142 minuty"},lessThanXMinutes:{one:{regular:"mniej ni\u017C minuta",past:"mniej ni\u017C minut\u0119",future:"mniej ni\u017C minut\u0119"},twoFour:"mniej ni\u017C {{count}} minuty",other:"mniej ni\u017C {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minut\u0119",future:"minut\u0119"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"oko\u0142o godziny",past:"oko\u0142o godziny",future:"oko\u0142o godzin\u0119"},twoFour:"oko\u0142o {{count}} godziny",other:"oko\u0142o {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzin\u0119",future:"godzin\u0119"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzie\u0144",past:"dzie\u0144",future:"1 dzie\u0144"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"oko\u0142o tygodnia",twoFour:"oko\u0142o {{count}} tygodni",other:"oko\u0142o {{count}} tygodni"},xWeeks:{one:"tydzie\u0144",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"oko\u0142o miesi\u0105c",twoFour:"oko\u0142o {{count}} miesi\u0105ce",other:"oko\u0142o {{count}} miesi\u0119cy"},xMonths:{one:"miesi\u0105c",twoFour:"{{count}} miesi\u0105ce",other:"{{count}} miesi\u0119cy"},aboutXYears:{one:"oko\u0142o rok",twoFour:"oko\u0142o {{count}} lata",other:"oko\u0142o {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function ure(t,i){if(i===1)return t.one;let e=i%100;if(e<=20&&e>10)return t.other;let n=e%10;return n>=2&&n<=4?t.twoFour:t.other}function M1(t,i,e){let n=ure(t,i);return(typeof n=="string"?n:n[e]).replace("{{count}}",String(i))}var zU=(t,i,e)=>{let n=dre[t];return e?.addSuffix?e.comparison&&e.comparison>0?"za "+M1(n,i,"future"):M1(n,i,"past")+" temu":M1(n,i,"regular")};var mre={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},pre={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},hre={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},GU={date:fd({formats:mre,defaultWidth:"full"}),time:fd({formats:pre,defaultWidth:"full"}),dateTime:fd({formats:hre,defaultWidth:"full"})};var fre={masculine:"ostatni",feminine:"ostatnia"},gre={masculine:"ten",feminine:"ta"},_re={masculine:"nast\u0119pny",feminine:"nast\u0119pna"},bre={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function WU(t,i,e,n){let r;if(BU(i,e,n))r=gre;else if(t==="lastWeek")r=fre;else if(t==="nextWeek")r=_re;else throw new Error(`Cannot determine adjectives for token ${t}`);let o=i.getDay(),a=bre[o];return`'${r[a]}' eeee 'o' p`}var vre={lastWeek:WU,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:WU,other:"P"},$U=(t,i,e,n)=>{let r=vre[t];return typeof r=="function"?r(t,i,e,n):r};var yre={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed nasz\u0105 er\u0105","naszej ery"]},Cre={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwarta\u0142","II kwarta\u0142","III kwarta\u0142","IV kwarta\u0142"]},Dre={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017A","lis","gru"],wide:["stycze\u0144","luty","marzec","kwiecie\u0144","maj","czerwiec","lipiec","sierpie\u0144","wrzesie\u0144","pa\u017Adziernik","listopad","grudzie\u0144"]},Ere={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017A","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","wrze\u015Bnia","pa\u017Adziernika","listopada","grudnia"]},wre={narrow:["N","P","W","\u015A","C","P","S"],short:["nie","pon","wto","\u015Bro","czw","pi\u0105","sob"],abbreviated:["niedz.","pon.","wt.","\u015Br.","czw.","pt.","sob."],wide:["niedziela","poniedzia\u0142ek","wtorek","\u015Broda","czwartek","pi\u0105tek","sobota"]}
7995,xre={narrow:["n","p","w","\u015B","c","p","s"],short:["nie","pon","wto","\u015Bro","czw","pi\u0105","sob"],abbreviated:["niedz.","pon.","wt.","\u015Br.","czw.","pt.","sob."],wide:["niedziela","poniedzia\u0142ek","wtorek","\u015Broda","czwartek","pi\u0105tek","sobota"]},Sre={narrow:{am:"a",pm:"p",midnight:"p\xF3\u0142n.",noon:"po\u0142",morning:"rano",afternoon:"popo\u0142.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"p\xF3\u0142noc",noon:"po\u0142udnie",morning:"rano",afternoon:"popo\u0142udnie",evening:"wiecz\xF3r",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"p\xF3\u0142noc",noon:"po\u0142udnie",morning:"rano",afternoon:"popo\u0142udnie",evening:"wiecz\xF3r",night:"noc"}},Tre={narrow:{am:"a",pm:"p",midnight:"o p\xF3\u0142n.",noon:"w po\u0142.",morning:"rano",afternoon:"po po\u0142.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o p\xF3\u0142nocy",noon:"w po\u0142udnie",morning:"rano",afternoon:"po po\u0142udniu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o p\xF3\u0142nocy",noon:"w po\u0142udnie",morning:"rano",afternoon:"po po\u0142udniu",evening:"wieczorem",night:"w nocy"}},Ire=(t,i)=>String(t),qU={ordinalNumber:Ire,era:Ea({values:yre,defaultWidth:"wide"}),quarter:Ea({values:Cre,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Ea({values:Dre,defaultWidth:"wide",formattingValues:Ere,defaultFormattingWidth:"wide"}),day:Ea({values:wre,defaultWidth:"wide",formattingValues:xre,defaultFormattingWidth:"wide"}),dayPeriod:Ea({values:Sre,defaultWidth:"wide",formattingValues:Tre,defaultFormattingWidth:"wide"})};var Are=/^(\d+)?/i,kre=/\d+/i,Rre={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},Mre={any:[/^p/i,/^n/i]},Nre={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},Ore={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},Fre={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},Pre={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},Lre={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i}
7995,Bre={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},Vre={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},jre={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},YU={ordinalNumber:lD({matchPattern:Are,parsePattern:kre,valueCallback:t=>parseInt(t,10)}),era:wa({matchPatterns:Rre,defaultMatchWidth:"wide",parsePatterns:Mre,defaultParseWidth:"any"}),quarter:wa({matchPatterns:Nre,defaultMatchWidth:"wide",parsePatterns:Ore,defaultParseWidth:"any",valueCallback:t=>t+1}),month:wa({matchPatterns:Fre,defaultMatchWidth:"wide",parsePatterns:Pre,defaultParseWidth:"any"}),day:wa({matchPatterns:Lre,defaultMatchWidth:"wide",parsePatterns:Bre,defaultParseWidth:"any"}),dayPeriod:wa({matchPatterns:Vre,defaultMatchWidth:"any",parsePatterns:jre,defaultParseWidth:"any"})};var KU={code:"pl",formatDistance:zU,formatLong:GU,formatRelative:$U,localize:qU,match:YU,options:{weekStartsOn:1,firstWeekContainsDate:4}};var Hre=(t,i,e)=>{if(e===0||i===0)return`0 / ${e}`;e=Math.max(e,0);let n=t*i,r=n<e?Math.min(n+i,e):n+i;return`${n+1} - ${r} / ${e}`},XU=(()=>{class t extends T_{constructor(){super(),this.itemsPerPageLabel="Elementy na stron\u0119",this.nextPageLabel="Nast\u0119pna strona",this.previousPageLabel="Poprzednia strona",this.firstPageLabel="Pierwsza strona",this.lastPageLabel="Ostatnia strona",this.getRangeLabel=Hre}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var ZU=class extends Error{constructor(){super("Can't find MAT ROW element")}},QU=class extends Error{constructor(){super("Nie mo\u017Cna pobra\u0107 paczki")}},QD=class extends Error{constructor(i){super(`Wrong file format ${i}`)}},JU=class extends Error{constructor(){super("Can't choose a component")}};var Ta=class extends Error{constructor(i){super(`${i} is undefined`)}},JD=class extends Error{constructor(i){super(`Invalid Date: ${i}`)}},ez=class extends Error{constructor(i){super(`Can't find dialog for ${i}`)}};var tz=class extends Error{constructor(){super("CoreModule is already loaded. Import it in the AppModule only")}};var nm=class extends Error{constructor(i,e){super(`Illegal ${i} argument: ${e}`)}};var je="yyyy-MM-dd",Ott="yyyy-MM-dd HH:mm",ms="yyyy-MM-dd HH:mm:ss";function sl(t){if(t==null)return null;if(t instanceof Date)return rc(t)?t:null;if(typeof t=="number"){let i=new Date(t);return rc(i)?i:null}if(typeof t=="string"){if(!t.trim())return null;let i=P_(t);if(rc(i))return i;let e=new Date(t);return rc(e)?e:null}return null}function Ure(t){let i=sl(t);if(!i)throw new JD(t);return i}var En=class{static keepMinDate(i,e){let n=sl(i.value),r=sl(e);n&&r&&gd(n,r)&&i.setValue(e,{emitEvent:!1})}static getTodayStartOfDay(){return An(new Date)}static isDate(i){return sl(i)!==null}static getTodayWithTime(i=ms){return $t(new Date,i)}static formatDate(i,e=je){return $t(Ure(i),e)}static formatDateNoError(i,e=je){let n=sl(i);return n?$t(n,e):"Invalid Date"}static isAfter(i,e){let n=sl(i),r=sl(e);return!n||!r?!1:RU(An(n),An(r))}static isBeforeToday(i){let e=sl(i);return e?gd(An(e),An(new Date)):!1}static isSameOrAfter(i,e){let n=sl(i),r=sl(e);return!n||!r?!1:!gd(An(n),An(r))}};var zre={parse:{dateInput:je},display:{dateInput:je,monthLabel:"MMMM",monthYearLabel:"yyyy MMM",dateA11yLabel:"PPP",monthYearA11yLabel:"yyyy MMMM"}},Gre=[k1,zr,tk,c_,d_,GA,h_,yk,Ek,_o,Ik,Ak,b_,Mk,Wk,Ku,D_,Kk,Zk,E_,cs,e1,i1,Pk,o1,s1,Qu,ek,Hi,Zu,u1,p1,m1,_1,I_,A_,C1,D1,S_,E1,Ui,pr,rd],N1=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Y({providers:[{provide:Yu,useValue:KU},R1(zre),{provide:T_,useClass:XU}],imports:[Gre,k1,zr,tk,c_,d_,GA,h_,yk,Ek,_o,Ik,Ak,b_,Mk,Wk,Ku,D_,Kk,Zk,E_,cs,e1,i1,Pk,o1,s1,Qu,ek,Hi,Zu,u1,p1,m1,_1,I_,A_,C1,D1,S_,E1,Ui,pr,rd]})}}return t})();var tt=(function(t){return t.REFRESH="Od\u015Bwie\u017C",t.DOWNLOAD="Pobierz",t.CONFIRM="Potwierd\u017A",t.SAVE="Zapisz",t.SAVE_ADD_NEXT="Zapisz i dodaj nast\u0119pny",t.LOGIN="Zaloguj",t.IMPORT="Wybierz plik do importu",t.IMPORT_DISPOSITIONS="Importuj",t.EXECUTE="Wykonaj",t.CHOOSE="Wybierz",t.CLOSE="Zamknij",t.CLEAR="Wyczy\u015B\u0107",t.CANCEL="Anuluj",t.OK="Ok",t.YES="Tak",t.NO="Nie",t.OPEN="Otw\xF3rz",t.ACCEPT="Akceptuj",t.BACK="Powr\xF3t",t})(tt||{});var ze=(function(t){return t.ERROR="B\u0142\u0105d",t.NO_PERMISSION="Brak uprawnie\u0144 do strony",t.NO_PERMISSIONS="Brak uprawnien",t.NO_LIMITS="Brak limit\xF3w do wy\u015Bwietlenia",t.PERMISSION_CHECKING_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d podczas sprawdzania uprawnie\u0144",t.CONTRACTOR_CREATING_SUCCESS="Utworzono kontrahenta",t.CONTRACTOR_UPDATING_SUCCESS="Zaktualizowano dane kontrahenta",t.CONTRACTOR_CREATING_UPDATING_SUCCESS="Utworzono / Zaktualizowano dane kontrahenta",t.CONTRACTOR_CREATING_ERROR="B\u0142\u0105d podczas tworzenia kontrahenta",t.CONTRACTOR_CREATING_EXIST_ERROR="Istnieje ju\u017C kontrahent o takiej samej nazwie skr\xF3conej",t.CONTRACTOR_UPDATING_ERROR="B\u0142\u0105d podczas uaktualniania kontrahenta",t.CONTRACTOR_REMOVE_SUCCESS="Usuni\u0119to kontrahenta",t.CONTRACTOR_GROUP_SUCCESS="Pobrano grupy kontrahent\xF3w",t.CONTRACTOR_GROUP_ERROR="B\u0142\u0105d podczas pobierania grup kontrahent\xF3w",t.CONTRACTOR_GROUP_CHANGE_ERROR="B\u0142\u0105d podczas zapisu zmiany grupy",t.REFRESH="Zaktualizowano dane",t.REFRESH_WHITE_LIST_SUCCESS="Zaktualizowano stan weryfikacji vat dla wskazanych obiekt\xF3w",t.REFRESH_WHITE_LIST_ERROR="Nie uda\u0142o si\u0119 zaaktualizowa\u0107 stanu weryfikacji vat dla wskazanych obiekt\xF3w",t.NO_RECORDS_FOUND="Brak pasuj\u0105cych rekord\xF3w",t.FETCHING_DATA_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d podczas pobierania danych",t.DATA_DOWNLOADING="Trwa pobieranie danych ...",t.SAVING_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d podczas zapisu",t.SAVING_SUCCESS="Zapisano pomy\u015Blnie",t.DELET
7995E_SUCCESS="Usuni\u0119to pomy\u015Blnie",t.DELETE_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d podczas usuwania",t.CONFIRMED="Potwierdzono",t.EXECUTION_STARTED="Rozpocz\u0119to realizacj\u0119",t.QUICK_EXECUTION_STARTED="Rozpocz\u0119to szybk\u0105 realizacj\u0119",t.SUCCESS="Sukces",t.EDITING_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d podczas edycji",t.SELECT_ACCOUNT="Wybierz konto do przesuni\u0119cia",t.SAVING_PROGRESS="Trwa zapisywanie zmian ...",t.ADD_TRANSFER_SUCCESS="Przelew zosta\u0142 dodany",t.ADD_TRANSFER_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d podczas dodawania przelewu",t.IBAN_CHECK_ERROR="B\u0142\u0105d komunikacji z serwerem - numer IBAN rachunku nie zosta\u0142 pobrany",t.IMPORT_VALID_ERROR="Brak poprawnych rekord\xF3w do zaimportowania",t.NO_DETAILS_FOR_SELECTED_EXECUTION="Brak szczeg\xF3\u0142\xF3w wybranej realizacji",t.AUTHORIZATION_SUCCESS="Pomy\u015Blnie zalogowano",t.AUTHORIZATION_ERROR="B\u0142\u0105d podczas logowania",t.NO_HOLDS="Brak blokad na karcie",t.NO_HOLDS_ACCOUNT="Brak blokad na rachunku",t.CHANGE_PASSWORD_SUCCESS="Has\u0142o zosta\u0142o zmienione",t.FORM_ERROR="Popraw formularz",t.SAVING_CARD_SUCCESS="Zmiana limit\xF3w karty wykonana pomy\u015Blnie",t.WRONG_BUNDLE="Niepoprawne paczki - niepoprawne dane do edycji",t.CONNECTED_TO_SIGNATURE_APP="Uruchamianie okna aplikacji do podpis\xF3w. Prosz\u0119 czeka\u0107",t.INCORRECT_FORM_DATA="Niepoprawne dane",t.REALIZATION_SUCCESS="Zrealizowano pomy\u015Blnie",t.REALIZATION_ERROR="B\u0142\u0105d podczas realizacji",t.SIGNING_SUCCESS="Przekazano do podpisu",t.SIGNING_ERROR="B\u0142\u0105d podczas przekazywania do podpisu",t.NO_SUCH_CONTRACTOR_TITLE="Nie ma takiego kontrahenta",t.NO_SUCH_CONTRACTOR_MESSAGE="Podany rachunek nie nale\u017Cy do \u017Cadnego kontrahenta. Czy chcesz go doda\u0107?",t.LACK_AUTH_METHOD="Login nie posiada odpowiedniej metody autoryzacji! W celu zmiany skontaktuj si\u0119 z obs\u0142ug\u0105 banku",t.TARGET_ACCOUNT_SAME_AS_BUNDLE_SOURCE_ACCOUNT_WARNING="Rachunek odbiorcy w dyspozycji nie mo\u017Ce by\u0107 taki sam jak rachunek obci\u0105\u017Cany paczki docelowej",t.EXTERNAL_TRANSFER_FOREIGN_SOURCE_ACCOUNT_WARNING="Przelew na rachunek zewn\u0119trzny mo\u017Ce by\u0107 wykonany tylko z rachunku w walucie PLN. Nie mo\u017Cna przenie\u015B\u0107 dyspozycji do paczki z rachunkiem obci\u0105\u017Canym w walucie obcej.",t.STANDING_ORDERS_WRONG_DATE_ERROR="Data wykonania nie mo\u017Ce by\u0107 z przesz\u0142o\u015Bci",t.CHANGE_IP_ADDRESSES_SUCCESS="Zmiana dozwolonych IP wykonana poprawnie",t.UNAVAILABLE_ACTION="Akcja niedost\u0119pna",t.MAJOR_ERROR_OCCURED="Wyst\u0105pi\u0142 powa\u017Cny b\u0142\u0105d!",t.ERROR_OCCURED="Wyst\u0105pi\u0142 nieznany b\u0142\u0105d!",t.CANNOT_PERFORM_OPERATION="Operacja nie mo\u017Ce zosta\u0107 zrealizowana!",t.AUTO_LOGOUT_SUCCESSFUL="Nast\u0105pi\u0142o automatyczne wylogowanie",t.STARTING_DOWNLOAD="Rozpocz\u0119to pobieranie",t.DOWNLOAD_SUCCESSFUL="Pobrano pomy\u015Blnie",t.FILE_NOT_FOUND="Nie znaleziono pliku",t.EXCHANGE_RATE_INFO="Podany kurs ma charakter szacunkowy. Zlecenie zostanie zrealizowane zgodnie z tabel\u0105 kurs\xF3w obowi\u0105zuj\u0105c\u0105 w momencie wykonania przelewu przez bank",t.LOAD_FILE="Wczytywanie pliku",t.DEFAULT_REQUEST_PROCESSING="Przetwarzanie \u017C\u0105dania",t.WHITE_LIST_CHECK="Sprawdzanie w wykazie podatnik\xF3w VAT",t.UPLOADED_FILE_TOO_LARGE="Maksymalny rozmiar pliku 5MB",t.TOO_LONG_REQUEST_MT940="Wybrano zbyt du\u017Co wyci\u0105g\xF3w. Spr\xF3buj zmniejszy\u0107 zakres.",t})(ze||{});var O1="Wybierz ponownie plik z dysku",F1="Wybierz plik z dysku",P1="Brak ",eE="Uwaga! Numer rachunku odbiorcy zosta\u0142 wklejony. Prosimy o jego weryfikacj\u0119";var nz="60000002026";var knt={accountId:"",ownerShortName:"Wszystkie"},ue=class t{static{this.polishAcceptableLettersAndCharsPattern=/^[A-Za-z0-9!#$%&’'"()\[\]*+,./:;=?@^_`ÓóĄąĆćĘꣳŃńŚśŹźŻż -]*$/}static{this.vatTitleAllowedChar=/[A-Za-z0-9!#$%&()’'"*+,./:;=?@^_`ÓóĄąĆćĘꣳŃńŚśŹźŻż -]/}static{this.vatTitleAcceptableCharsPattern=new RegExp(`^${t.vatTitleAllowedChar.source}*$`)}static{this.ibanPattern=/^[A-Z0-9\s]*$/}static{this.namePattern=t.polishAcceptableLettersAndCharsPattern}static{this.swiftPattern=/^(?!-)[a-zA-Z0-9/\-?:.,'+ \n\r]*$/}static{this.addressPattern=t.polishAcceptableLettersAndCharsPattern}static{this.titlePattern=t.polishAcceptableLettersAndCharsPattern}static{this.onlyNumbersPattern=/-?\d*\.?\d{1,2}/}static{this.bracketErrorData=/\[.+?]/g}static{this.numbersCommaDotPattern=/[^0-9.,-]*/g}static{this.dayPattern=/^(0?[1-9]|[12]\d|3[01])$/}static{this.monthPattern=/^(0?[1-9]|1[012])$/}static{this.decadePattern=/^(0?[123])$/}static{this.quarterPattern=/^(0?[1234])$/}static{this.halfYearPattern=/^(0?[12])$/}static prepareString(i){return i=i?.trim(),i===""?null:i}
7995static removeWhitespaces(i){return i?i.replace(/[\s]+/g,""):""}static trimToLength(i,e){return i.substr(0,e)}static removeTrashBracketDataFromError(i){return i.replace(this.bracketErrorData,"").trim()}static isEmpty(i){return i==null||typeof i=="string"&&i.trim()===""?!0:typeof i=="number"&&i===0}static replaceDoubleQuotesInName(i){i.forEach(e=>this.replaceDoubleQuotes(e))}static replaceDoubleQuotes(i){if(i.value?.includes('"')){let e=i.value.replace(/"/g,"'");i.setValue(e,{emitEvent:!1})}}static getInvalidCharacters(i){let e=i.requiredPattern.slice(1,-1),n=i.actualValue,r=new RegExp(e),o=new Set;for(let a of n)r.test(a)||o.add(a);return Array.from(o).join(" ")}};var tE=class{constructor(i,e){this.component=i,this.data=e}};var L1=(()=>{class t{transform(e){let n=Wre[e];return n||"Formularz"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"inputErrorName",type:t,pure:!0,standalone:!1})}}return t})(),Wre={rachunekOdbiorcy:"Rachunek odbiorcy",rach:"Rachunek odbiorcy",rachunekUs:"Rachunek odbiorcy",sorbnet:"Rachunek odbiorcy",przelew:"Rachunek odbiorcy",rachunek:"Rachunek obci\u0105\u017Cany",rachunekObciazany:"Rachunek obci\u0105\u017Cany",rachunekProwizji:"Rachunek prowizji",bic:"BIC",bankData:"BIC",bank1:"Nazwa banku",bank2:"Nazwa banku",bank3:"Adres banku",bank4:"Adres banku",kwota:"Kwota",nazwaSkrot:"Nazwa",nip:"Nip",regon:"Regon",pesel:"Pesel",dataOstatecznejRealizacji:"Data ostatecznej realizacji",sfp:"Symbol formularza p\u0142atno\u015Bci",okresTyp:"Okres rozliczeniowy",okresRok:"Okres rozliczeniowy",okresNumer:"Okres rozliczeniowy",idZobowiazania:"Identyfikator zobowi\u0105zania",identyfikator:"Identyfikator zobowi\u0105zania",typIdentyfikatora:"Typ identyfikatora",dataWykonania:"Data wykonania",nazwaOdbiorcy1:"Nazwa odbiorcy"};function qre(t,i){if(t&1&&(u(0,"div")(1,"p")(2,"strong"),h(3),be(4,"inputErrorName"),c(),h(5),c()()),t&2){let e=i.$implicit;l(3),se("",Fe(4,2,e.inputName),": "),l(2),se("",e.errorMessage," ")}}var B1=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-disable-input-error"]],inputs:{data:"data"},standalone:!1,decls:3,vars:0,template:function(n,r){n&1&&(u(0,"div"),He(1,qre,6,4,"div",null,at),c()),n&2&&(l(),Ue(r.data))},dependencies:[L1],encapsulation:2})}}return t})();var L_=(()=>{class t{constructor(e){this.viewContainerRef=e}static{this.\u0275fac=function(n){return new(n||t)(E(Pt))}}static{this.\u0275dir=N({type:t,selectors:[["","appDynamicContainer",""]],standalone:!1})}}return t})();var ac=(()=>{class t{constructor(e,n,r,o){this.matButton=e,this.componentFactoryResolver=n,this.viewContainerRef=r,this.renderer=o,this.loading=!1,this.disabled=!1,this.color="primary",this.spinner=null,this.spinnerFactory=this.componentFactoryResolver.resolveComponentFactory(th)}ngOnChanges(e){e.loading&&(e.loading.currentValue?(this.matButton._elementRef.nativeElement.classList.add("mat-loading"),this.matButton.disabled=!0,this.createSpinner()):e.loading.firstChange||(this.matButton._elementRef.nativeElement.classList.remove("mat-loading"),this.matButton.disabled=this.disabled,this.destroySpinner()))}createSpinner(){if(!this.spinner){this.spinner=this.viewContainerRef.createComponent(this.spinnerFactory);let e=this.spinner.instance;e.color=this.color,e.diameter=25,e.strokeWidth=5,e.mode="indeterminate",this.renderer.appendChild(this.matButton._elementRef.nativeElement,e._elementRef.nativeElement)}}destroySpinner(){this.spinner&&(this.spinner.destroy(),this.spinner=null)}static{this.\u0275fac=function(n){return new(n||t)(E(qn),E(Bl),E(Pt),E(ot))}}static{this.\u0275dir=N({type:t,selectors:[["button","mat-button","","loading",""],["button","mat-raised-button","","loading",""],["button","mat-icon-button","","loading",""],["button","mat-fab","","loading",""],["button","mat-mini-fab","","loading",""],["button","mat-stroked-button","","loading",""],["button","mat-flat-button","","loading",""]],inputs:{loading:"loading",disabled:"disabled",color:"color"},standalone:!1,features:[Ke]})}}return t})();var Kre=["*"];function Xre(t,i){if(t&1&&(u(0,"mat-icon",1),h(1),c()),t&2){let e=_();l(),S(e.icon)}}var bi=(()=>{class t{constructor(){this.disabled=!1,this.loading=!1,this.clickAction=new V}click(){this.clickAction.emit()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-button"]],inputs:{disabled:"disabled",loading:"loading",icon:"icon"},outputs:{clickAction:"clickAction"},standalone:!1,ngContentSelectors:Kre,decls:3,vars:3,consts:[["mat-raised-button","",3,"click","disabled","loading"],[1,"icon-margin-right"]],template:function(n,r){n&1&&(Ie(),u(0,"button",0),T("click",function(){return r.click()}),v(1,Xre,2,1,"mat-icon",1),re(2),c()),n&2&&(g("disabled",r.disabled)("loading",r.loading),l(
7995),y(r.icon?1:-1))},dependencies:[qn,zn,ac],styles:[".icon-margin-right[_ngcontent-%COMP%]{margin-right:.2rem}"]})}}return t})();function Zre(t,i){}var V1=(()=>{class t{constructor(e,n,r){this.snackBarRef=e,this.data=n,this.componentFactoryResolver=r}ngAfterViewInit(){this.createDynamicComponent()}createDynamicComponent(){if(!this.appDynamicContainer)return;let e=this.data.component,n=this.componentFactoryResolver.resolveComponentFactory(e.component),r=this.appDynamicContainer.viewContainerRef;r.clear();let o=r.createComponent(n);o.instance.data=e.data,o.changeDetectorRef.detectChanges()}static{this.\u0275fac=function(n){return new(n||t)(E(Ju),E(JC),E(Bl))}}static{this.\u0275cmp=k({type:t,selectors:[["app-notification-component"]],viewQuery:function(n,r){if(n&1&&ve(L_,7),n&2){let o;H(o=U())&&(r.appDynamicContainer=o.first)}},standalone:!1,decls:11,vars:1,consts:[[1,"notification__container"],["mat-icon-button","",1,"notification__button__close",3,"click"],[1,"notification__icon__close"],[1,"notification__header"],[1,"notification__content"],["appDynamicContainer",""],[1,"notification__button"],[3,"clickAction"]],template:function(n,r){n&1&&(u(0,"div",0)(1,"button",1),T("click",function(){return r.snackBarRef.dismiss()}),u(2,"mat-icon",2),h(3,"close"),c()(),u(4,"div",3),h(5),c(),u(6,"div",4),fe(7,Zre,0,0,"ng-template",5),c(),u(8,"div",6)(9,"app-button",7),T("clickAction",function(){return r.snackBarRef.dismiss()}),h(10,"OK"),c()()()),n&2&&(l(5),S(r.data.title))},dependencies:[fr,zn,L_,bi],styles:[`.notification__container{display:flex;flex-direction:column}.notification__container .notification__button__close{position:absolute;top:0;right:0}.notification__container .notification__header{padding-bottom:.8rem;font-size:1.2rem;text-align:center;font-weight:700;line-height:2rem}.notification__container .notification__content{line-height:1rem}.notification__container .notification__button{text-align:center;padding-top:1.2rem}
7996`],encapsulation:2})}}return t})();var Le=(()=>{class t{constructor(e,n){this.snackBar=e,this.defaultConfig={horizontalPosition:"center",verticalPosition:"bottom",duration:5e3},this.closeDialogWhenPageChanges(n)}warningWithHTML(e){this.snackBar.openFromComponent(V1,L({panelClass:"warningSnackBar",data:e},this.defaultConfig))}formErrors(e){this.warningWithHTML({title:"Formularz zawiera b\u0142\u0119dy",component:new tE(B1,e)})}default(e,n){this.snackBar.open(e,n,L({panelClass:"defaultSnackBar"},this.defaultConfig))}success(e,n){this.snackBar.open(e,n,L({panelClass:"successSnackBar"},this.defaultConfig))}warning(e,n){this.snackBar.open(e,n,L({panelClass:"warningSnackBar"},this.defaultConfig))}error(e,n){this.snackBar.open(e,n,L({panelClass:"errorSnackBar"},this.defaultConfig))}closeDialogWhenPageChanges(e){e.events.pipe(ae(n=>n instanceof js),B(()=>this.snackBar.dismiss()),We(1)).subscribe()}static{this.\u0275fac=function(n){return new(n||t)(F(g1),F(wr))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var cl=(function(t){return t.REGISTERED="REGISTERED",t.NOT_REGISTERED="NOT_REGISTERED",t.CHECK_UNSUCCESSFUL="CHECK_UNSUCCESSFUL",t.ERROR="ERROR",t})(cl||{});var Qre=(function(t){return t[t.MOGE_PODPISAC=0]="MOGE_PODPISAC",t[t.NIE_MOGE_PODPISAC=1]="NIE_MOGE_PODPISAC",t[t.PODPISALEM=2]="PODPISALEM",t})(Qre||{});var ps=(function(t){return t.NO="NO",t.SMS="SMS",t.CERTIFICATE="CERTIFICATE",t.MOBILE="MOBILE",t.TAN="TAN",t.TOKEN="TOKEN",t.SCRATCHCARD="SCRATCHCARD",t})(ps||{}),or=(function(t){return t[t.EMPTY=0]="EMPTY",t[t.KIR_CARBON=1]="KIR_CARBON",t[t.KIR_GRAPHITE=2]="KIR_GRAPHITE",t[t.CRYPTOCARD_GRAPHITE=3]="CRYPTOCARD_GRAPHITE",t[t.KIR_M_SZAFIR=4]="KIR_M_SZAFIR",t[t.SIGILLUM_BLUE=5]="SIGILLUM_BLUE",t[t.SIGILLUM_DARK=6]="SIGILLUM_DARK",t[t.SIGILLUM_M_EDO_APP=7]="SIGILLUM_M_EDO_APP",t[t.ASSECO_OLD=8]="ASSECO_OLD",t[t.ASSECO=9]="ASSECO",t[t.ASSECO_M_SIMPLY_SIGN=10]="ASSECO_M_SIMPLY_SIGN",t[t.CENCERT_OLD=11]="CENCERT_OLD",t[t.CENCERT=12]="CENCERT",t[t.CENCERT_M_RSIGN=13]="CENCERT_M_RSIGN",t[t.EUROCERT=14]="EUROCERT",t})(or||{});var Ut=(function(t){return t.FUNC_NONE="FUNC_NONE",t.FUNC_ACCOUNT_VIEW="FUNC_ACCOUNT_VIEW",t.FUNC_ACCOUNTS_PRINTOUT="FUNC_ACCOUNTS_PRINTOUT",t.FUNC_CONTRACTORS_EDIT="FUNC_CONTRACTORS_EDIT",t.FUNC_CARDS_VIEW="FUNC_CARDS_VIEW",t.FUNC_TRANSFER_VIEW="FUNC_TRANSFER_VIEW",t.FUNC_TRANSFER_EDIT="FUNC_TRANSFER_EDIT",t.FUNC_TRANSFER_IMPORT="FUNC_TRANSFER_IMPORT",t.FUNC_TRANSFER_FOREIGN_EDIT="FUNC_TRANSFER_FOREIGN_EDIT",t.FUNC_TRANSFER_FOREIGN_IMPORT="FUNC_TRANSFER_FOREIGN_IMPORT",t.FUNC_TRANSFER_WAGES="FUNC_TRANSFER_WAGES",t.FUNC_TOPUP="FUNC_TOPUP",t.FUNC_SEE_ONLY_OWN="FUNC_SEE_ONLY_OWN",t.FUNC_DEPOSIT_VIEW="FUNC_DEPOSIT_VIEW",t.FUNC_DEPOSIT_EDIT_BRAKE="FUNC_DEPOSIT_EDIT_BRAKE",t.FUNC_DEPOSIT_CREATE="FUNC_DEPOSIT_CREATE",t.FUNC_STANDING_ORDER_VIEW="FUNC_STANDING_ORDER_VIEW",t.FUNC_STANDING_ORDER_EDIT="FUNC_STANDING_ORDER_EDIT",t.FUNC_ACCEPT="FUNC_ACCEPT",t.FUNC_SIGN="FUNC_SIGN",t.FUNC_EXECUTE="FUNC_
7996EXECUTE",t.FUNC_IP_EDIT="FUNC_IP_EDIT",t.FUNC_MLYNEK="FUNC_MLYNEK",t.FUNC_ALL="FUNC_ALL",t})(Ut||{});var B_=(function(t){return t[t.SYSTEM=0]="SYSTEM",t[t.TRANSFERS=1]="TRANSFERS",t[t.DEPOSITS=2]="DEPOSITS",t[t.TOP_UPS=3]="TOP_UPS",t[t.NONE=4]="NONE",t})(B_||{}),im=(function(t){return t.SIMPLE_ACCEPT="SIMPLE_ACCEPT",t.PASSWORD="PASSWORD",t.AUTHORIZATION="AUTHORIZATION",t})(im||{});var hs=(function(t){return t.OK="OK",t.BIC_NOT_FOUND="BIC_NOT_FOUND",t.INVALID_IBAN="INVALID_IBAN",t.INVALID_BIC="INVALID_BIC",t})(hs||{});var ht=new R("API_CONFIG");var iz=(()=>{class t{constructor(e,n){this.http=e,this.config=n}checkAccount(e,n){return this.http.get(this.config.wlRegistryUrl+`/nip/${n}/bank-account/${e}`).pipe(Qr(),Nm(1e4))}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var sit=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.TRANSFERS_DISPOSITIONS_PATH="/transfers/dispositions",this.TRANSFERS_UPDATE_PATH="/transfers/update"}deleteDisposition(e){let n=new it().set("dispositionIds",e.toString());return this.http.delete(this.config.eCorpoNetApiUrl+this.TRANSFERS_DISPOSITIONS_PATH,{params:n})}updateDispositions(e){return this.http.post(this.config.eCorpoNetApiUrl+this.TRANSFERS_UPDATE_PATH,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var dit=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.SIGNATURES_VALIDATE_PATH="/signs/validate"}validate(e){return this.http.post(this.config.eCorpoNetApiUrl+this.SIGNATURES_VALIDATE_PATH,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var pit=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.TRANSFERS_QUICK_EXECUTION_VALIDATE_PATH="/transfers/quick-execution/validate"}validate(e){return this.http.post(this.config.eCorpoNetApiUrl+this.TRANSFERS_QUICK_EXECUTION_VALIDATE_PATH,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var git=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.EXIMEE_PATH="/eximee"}generateEximeeUrl(){return this.http.post(this.config.eCorpoNetApiUrl+this.EXIMEE_PATH,{responseType:"arraybuffer"})}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var dh=class{static encode(i){let e=String.fromCharCode(...new TextEncoder().encode(i));return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}};var iE=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.AUTHENTICATION_PATH="/authentication",this.SECOND_STAGE_LOGON_PATH="/second-stage-logon",this.CHECK_PATH=this.SECOND_STAGE_LOGON_PATH+"/check",this.PREPARE_PATH=this.SECOND_STAGE_LOGON_PATH+"/prepare",this.PERFORM_PATH=this.SECOND_STAGE_LOGON_PATH+"/perform",this.CANCEL_PATH=this.SECOND_STAGE_LOGON_PATH+"/cancel",this.CERT_TYPE_PATH=this.SECOND_STAGE_LOGON_PATH+"/cert-type",this.LOGOUT_PATH="/logout"}authenticate(e,n){let r=new it().set("login",e).set("password",dh.encode(n));return this.http.post(this.config.eCorpoNetApiUrl+this.AUTHENTICATION_PATH,r,{observe:"response"})}isSecondStageRequired(){return this.http.get(this.config.eCorpoNetApiUrl+this.CHECK_PATH)}secondStagePrepare(){return this.http.post(this.config.eCorpoNetApiUrl+this.PREPARE_PATH,{})}secondStagePerform(e){return this.http.post(this.config.eCorpoNetApiUrl+this.PERFORM_PATH,e)}secondStageCancel(){return this.http.post(this.config.eCorpoNetApiUrl+this.CANCEL_PATH,{})}logout(e){let n=new it().set("reason",e);return this.http.post(this.config.eCorpoNetApiUrl+this.LOGOUT_PATH,n,{})}updateDefaultCertType(e){return this.http.put(this.config.eCorpoNetApiUrl+this.CERT_TYPE_PATH,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var rz=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return`${this.config.eCorpoNetApiUrl}/password`}isPasswordExpired(){return this.http.get(this.baseUrl)}change(e){return this.http.post(this.baseUrl,e)}prepare(e){return this.http.post(`${this.baseUrl}/prepare`,e)}perform(e){return this.http.post(`${this.baseUrl}/perform`,e)}cancel(){return this.http.post(`${this.baseUrl}/cancel`,null)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var oz=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.CLIENTS_PATH="/clients"}getAll(){return this.http.get(this.config.eCorpoNetApiUrl+this.CLIENTS_PATH)}getDefault(){return this.http.get(this.config.eCorpoNetApiUrl+this.CLIENTS_PATH+"/default")}setClient(e){return this.http.post(this.config.eCorpoNetApiUrl+this.CLIENTS_PATH,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var vo="arraybuffer";var rE=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return this.config.eCorpoNetApiUrl+"/terms"}openFile(e){return this.http.post(`${this.baseUrl}/file`,parseInt(e,10),{responseType:vo})}getTermsToAccept(e){return this.http.post(`${this.baseUrl}/to-accept`,e)}simpleAccept(){return this.http.post(`${this.baseUrl}/accept`,null)}passwordAccept(e){return this.http.post(`${this.baseUrl}/accept/password`,e)}authOperation(e){let n=`${this.baseUrl}/auth`;return{prepare:()=>this.http.post(`${n}/prepare`,e),perform:r=>this.http.post(`${n}/perform`,r),cancel:()=>this.http.post(`${n}/cancel`,null)}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Vit=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.BANK_STATEMENT_DETAILS_PATH="/bank-statements/details"}getBankStatementOperations(e,n,r){let o=new it().set("accountId",String(e.accountId)).set("date",e.date.toISOString()).set("session",e.session).set("pageIndex",n).set("pageSize",r);return this.http.get(this.config.eCorpoNetApiUrl+this.BANK_STATEMENT_DETAILS_PATH,{params:o})}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var $it=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.BANK_STATEMENT_PLUS_FILE_MT940_PATH="/bank-statements/plus/file/MT940"}getMT940(e,n=!1,r=!1){let o=new it;return e.forEach(a=>{o=o.append("statementIds",a.toString())}),o=o.append("isExtended",n.toString()),o=o.append("isZipped",r.toString()),this.http.get(this.config.eCorpoNetApiUrl+this.BANK_STATEMENT_PLUS_FILE_MT940_PATH,{params:o,responseType:vo,observe:"response"}).pipe(W(a=>{let s=a.headers.get("X-SN-Filename"),d=a.body;return P({name:s,data:d})}))}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var dl=(()=>{class t{constructor(){this.CURRENCY_PATH="api/currencies",this.http=m(ge)}getCurrencies(){return this.http.get(this.CURRENCY_PATH)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var _d=(function(t){return t[t.CSV=0]="CSV",t[t.TXT_SABA=1]="TXT_SABA",t[t.TXT_DEF=2]="TXT_DEF",t[t.TXT_NOV=3]="TXT_NOV",t[t.XML=4]="XML",t})(_d||{}),ct=(function(t){return t.NORMAL_TRANSFER="NORMAL_TRANSFER",t.FOREIGN_TRANSFER="FOREIGN_TRANSFER",t.VAT_TRANSFER="VAT_TRANSFER",t.ZUS_TRANSFER="ZUS_TRANSFER",t.US_TRANSFER="US_TRANSFER",t})(ct||{});var oE=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return`${this.config.eCorpoNetApiUrl}/contractors`}existsBy(e){let n=new it().set("name",e);return this.http.get(`${this.baseUrl}/exists`,{params:n})}importPrepare(e,n){let r=new it().set("group",n);return this.http.post(`${this.baseUrl}/imports/prepare`,e,{params:r})}importPerform(e){return this.http.post(`${this.baseUrl}/imports/perform`,e)}importCancel(){return this.http.post(`${this.baseUrl}/imports/cancel`,null)}savePrepare(e){return this.http.post(`${this.baseUrl}/prepare`,e)}updatePrepare(e){return this.http.put(`${this.baseUrl}/prepare`,e)}saveUpdatePerform(e){return this.http.post(`${this.baseUrl}/perform`,e)}
7996saveUpdateCancel(){return this.http.post(`${this.baseUrl}/cancel`,null)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var V_=(function(t){return t.TRANSACTION="TRANSACTION",t.DAILY="DAILY",t.MONTHLY="MONTHLY",t})(V_||{}),uh=(function(t){return t.CASH="CASH",t.WITHOUT_CASH="WITHOUT_CASH",t.TOGETHER="TOGETHER",t.INTERNET="INTERNET",t})(uh||{});var crt=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return`${this.config.eCorpoNetApiUrl}/cards`}limitsUpdatePrepare(e,n){return this.http.post(`${this.baseUrl}/limits/update/prepare/${e}`,n)}limitsUpdatePerform(e){return this.http.post(`${this.baseUrl}/limits/update/perform`,e)}limitsUpdateCancel(){return this.http.post(`${this.baseUrl}/limits/update/cancel`,null)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var frt=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return`${this.config.eCorpoNetApiUrl}/ip-addresses`}changePrepare(e){return this.http.post(`${this.baseUrl}/prepare`,e)}changePerform(e){return this.http.post(`${this.baseUrl}/perform`,e)}changeCancel(){return this.http.post(`${this.baseUrl}/cancel`,null)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Crt=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return`${this.config.eCorpoNetApiUrl}/credit-holidays`}uploadPrepare(e,n){let r=new FormData;return r.append("title",n),r.append("file",new Blob([e])),this.http.post(`${this.baseUrl}/prepare`,r)}uploadPerform(e){return this.http.post(`${this.baseUrl}/perform`,e)}uploadCancel(){return this.http.post(`${this.baseUrl}/cancel`,null)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Srt=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.PATH="/deposits/deposit/confirmation-report"}getConfirmationReportFile(e){let n=new it().set("accountId",e);return this.http.get(this.config.eCorpoNetApiUrl+this.PATH,{responseType:vo,params:n})}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var No=(()=>{class t{constructor(e){this.http=e,this.FOREIGN_BANKS="api/banks/foreign",this.FOREIGN_BANK_BY_ACCOUNT_PATH=this.FOREIGN_BANKS+"/account",this.FOREIGN_BANK_BY_BIC_PATH=this.FOREIGN_BANKS+"/bic",this.FOREIGN_BANKS_COUNT_PATH=this.FOREIGN_BANKS+"/count",this.FOREIGN_TRANSFER_GET_COUNTRIES=this.FOREIGN_BANKS+"/countries",this.FOREIGN_TRANSFER_GET_IBAN_LENGTH_INFOS=this.FOREIGN_BANKS+"/ibans"}getForeignBanks(e,n=0){let r=new it().set("pageIndex",n.toString());return this.http.post(this.FOREIGN_BANKS,e,{params:r})}getBankByAccount(e){let n=new it().set("account",e);return this.http.get(this.FOREIGN_BANK_BY_ACCOUNT_PATH,{params:n})}getBankByBic(e){let n=new it().set("bic",e);return this.http.get(this.FOREIGN_BANK_BY_BIC_PATH,{params:n})}getForeignBanksCount(e){return this.http.post(this.FOREIGN_BANKS_COUNT_PATH,e)}getCountries(){return this.http.get(this.FOREIGN_TRANSFER_GET_COUNTRIES)}getForeignIbanInfos(){return this.http.get(this.FOREIGN_TRANSFER_GET_IBAN_LENGTH_INFOS)}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var Mrt=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.LOGIN_PAGE_PARAMETERS_URL="/params/login-page"}getLoginPageParameters(){return this.http.get(this.config.eCorpoNetApiUrl+this.LOGIN_PAGE_PARAMETERS_URL).pipe(Qr())}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var gr=(function(t){return t.BUNDLE="BUNDLE",t.SALARY_BUNDLE="SALARY_BUNDLE",t.TRANSFER_COMMON="TRANSFER_COMMON",t.TRANSFER_US="TRANSFER_US",t.TRANSFER_ZUS="TRANSFER_ZUS",t.TRANSFER_INTERNATIONAL="TRANSFER_INTERNATIONAL",t.TRANSFER_INSTANT="TRANSFER_INSTANT",t.TRANSFER_DEALING_BPS="TRANSFER_DEALING_BPS",t.TRANSFER_VAT="TRANSFER_VAT",t.TRANSFER_VAT_TOP_UP="TRANSFER_VAT_TOP_UP",t.DEPOSIT_OPENING="DEPOSIT_OPENING",t.DEPOSIT_MODIFICATION="DEPOSIT_MODIFICATION",t.DEPOSIT_CLOSING="DEPOSIT_CLOSING",t.STANDING_ORDER_OPENING="STANDING_ORDER_OPENING",t.STANDING_ORDER_MODIFICATION="STANDING_ORDER_MODIFICATION",t.STANDING_ORDER_CLOSING="STANDING_ORDER_CLOSING",t.GSM_TOP_UP="GSM_TOP_UP",t.UNKNOWN="UNKNOWN",t})(gr||{}),Ort=[gr.TRANSFER_COMMON,gr.TRANSFER_US,gr.TRANSFER_ZUS,gr.TRANSFER_INTERNATIONAL,gr.TRANSFER_INSTANT,gr.TRANSFER_DEALING_BPS,gr.TRANSFER_VAT,gr.TRANSFER_VAT_TOP_UP],Frt=[gr.BUNDLE,gr.SALARY_BUNDLE],Prt=[gr.STANDING_ORDER_OPENING,gr.STANDING_ORDER_MODIFICATION,gr.STANDING_ORDER_CLOSING],Lrt=[gr.DEPOSIT_OPENING,gr.DEPOSIT_MODIFICATION,gr.DEPOSIT_CLOSING],Brt=[gr.GSM_TOP_UP],Jre=(function(t){return t.TO_APPROVE="TO_APPROVE",t.APPROVED="APPROVED",t})(Jre||{}),eoe=(function(t){return t.NONE="NONE",t.DISPOSITION="DISPOSITION",t})(eoe||{});var toe=(function(t){return t.POSITIVE="POSITIVE",t.NEGATIVE="NEGATIVE",t.NO_CHECK="NO_CHECK",t})(toe||{}),noe=(function(t){return t.DAY="DAY",t.MONTH="MONTH",t.YEAR="YEAR",t})(noe||{}),ioe=(function(t){return t.REGISTERED="REGISTERED",t.NOT_REGISTERED="NOT_REGISTERED",t.CHECK_UNSUCCESSFUL="CHECK_UNSUCCESSFUL",t.ERROR="ERROR",t.INVALID_
7996NIP="INVALID_NIP",t})(ioe||{});var roe=(function(t){return t.VALIDATION_ERROR="VALIDATION_ERROR",t.UNAUTHENTICATED="UNAUTHENTICATED",t.ACCOUNT_ACCESS_DENIED="ACCOUNT_ACCESS_DENIED",t.ID_DOCUMENT_EXPIRED="ID_DOCUMENT_EXPIRED",t.ID_DOCUMENT_NOT_VERIFIED="ID_DOCUMENT_NOT_VERIFIED",t.NOT_ELIGIBLE="NOT_ELIGIBLE",t.ITEM_NOT_FOUND="ITEM_NOT_FOUND",t.BUNDLE_EXPIRED="BUNDLE_EXPIRED",t.BUNDLE_TERMINAL_STATE="BUNDLE_TERMINAL_STATE",t.DISPOSITIONS_INVALID_FOR_EXECUTION="DISPOSITIONS_INVALID_FOR_EXECUTION",t.INTERNAL_ERROR="INTERNAL_ERROR",t})(roe||{}),ooe=(function(t){return t.EXECUTED="EXECUTED",t.FAILED="FAILED",t})(ooe||{});var wt=(function(t){return t[t.AUTODEALING_PORT=0]="AUTODEALING_PORT",t[t.AUTODEALING_URL=1]="AUTODEALING_URL",t[t.AUTO_DEALING_VALIDATEID_ENDPIONT=2]="AUTO_DEALING_VALIDATEID_ENDPIONT",t[t.BANK_IDS=3]="BANK_IDS",t[t.BANK_NUMBER_ENABLED=4]="BANK_NUMBER_ENABLED",t[t.CURRENCY_DATE_ENABLED=5]="CURRENCY_DATE_ENABLED",t[t.EXCHANGE_PREFER_ENABLED=6]="EXCHANGE_PREFER_ENABLED",t[t.EXCHANGE_RATE_VISIBLE=7]="EXCHANGE_RATE_VISIBLE",t[t.EXIMEE_ENABLED=8]="EXIMEE_ENABLED",t[t.OTHER_RECIPIENT_AUTHORIZE=9]="OTHER_RECIPIENT_AUTHORIZE",t[t.LOGIN_NOK_LABEL=10]="LOGIN_NOK_LABEL",t[t.LOGIN_OK_LABEL=11]="LOGIN_OK_LABEL",t[t.LOAN_PFR_SCHEDULE_ENABLED=12]="LOAN_PFR_SCHEDULE_ENABLED",t[t.PASSWORD_DIGIT_COUNT=13]="PASSWORD_DIGIT_COUNT",t[t.PASSWORD_LENGTH_MAX=14]="PASSWORD_LENGTH_MAX",t[t.PASSWORD_LENGTH_MIN=15]="PASSWORD_LENGTH_MIN",t[t.PASSWORD_LOWERCASE_COUNT=16]="PASSWORD_LOWERCASE_COUNT",t[t.PASSWORD_UPPERCASE_COUNT=17]="PASSWORD_UPPERCASE_COUNT",t[t.SESSION_TIMEOUT=18]="SESSION_TIMEOUT",t[t.STATEMENT_PLUS_ENABLED=19]="STATEMENT_PLUS_ENABLED",t[t.STATEMENT_ENABLED=20]="STATEMENT_ENABLED",t[t.STATEMENT_FAKE_ENABLED=21]="STATEMENT_FAKE_ENABLED",t[t.SUBMIT=22]="SUBMIT",t[t.TRANSFERMANAGER_REST_ENABLED=23]="TRANSFERMANAGER_REST_ENABLED",t[t.TOPUP_GSM_VISIBLE=24]="TOPUP_GSM_VISIBLE",t[t.TOPUP_ALLOW_LOGINS=25]="TOPUP_ALLOW_LOGINS",t[t.TRANSFER_EXPRESS_ENABLED=26]="TRANSFER_EXPRESS_ENABLED",t[t.TRANSFER_FOREIGN_BIC_SELECTION_ENABLED=27]="TRANSFER_FOREIGN_BIC_SELECTION_ENABLED",t[t.TRANSFER_FOREIGN_CURRENCY_TRANSFER_ENABLED=28]="TRANSFER_FOREIGN_CURRENCY_TRANSFER_ENABLED",t[t.TRANSFER_CHECK_RECIPIENT=29]="TRANSFER_CHECK_RECIPIENT",t[t.TRANSFER_SORBNET_ENABLED=30]="TRANSFER_SORBNET_ENABLED",t[t.TRANSFER_SORBNET_OPENING_HOUR=31]="TRANSFER_SORBNET_OPENING_HOUR",t[t.TRANSFER_SORBNET_DEADLINE=32]="TRANSFER_SORBNET_DEADLINE",t[t.TRANSFER_SORBNET_REQUIRED_ENABLED=33]="TRANSFER_SORBNET_REQUIRED_ENABLED",t[t.TRANSFER_SORBNET_REQUIRED_LOGINS=34]="TRANSFER_SORBNET_REQUIRED_LOGINS",t[t.TRANSFER_SORBNET_REQUIRED_AMOUNT=35]="TRANSFER_SORBNET_REQUIRED_AMOUNT",t[t.TRANSFER_SORBNET_REQUIRED_COMMON_ENABLED=36]="TRANSFER_SORBNET_REQUIRED_COMMON_ENABLED",t[t.TRANSFER_SORBNET_REQUIRED_VAT_ENABLED=37]="TRANSFER_SORBNET_REQUIRED_VAT_ENABLED",t[t.TRANSFER_VAT_FROM=38]="TRANSFER_VAT_FROM",t[t.BASEMENT_EXCHANGE_NAME=39]="BASEMENT_EXCHANGE_NAME",t[t.BASEMENT_EXCHANGE_URL=40]="BASEMENT_EXCHANGE_URL",t[t.APPLICATION_LOGIN_PAGE_BUTTON1_CAPTION=41]="APPLICATION_LOGIN_PAGE_BUTTON1_CAPTION",t[t.APPLICATION_LOGIN_PAGE_BUTTON2_CAPTION=42]="APPLICATION_LOGIN_PAGE_BUTTON2_CAPTION",t[t.APPLICATION_LOGIN_PAGE_BUTTON3_CAPTION=43]="APPLICATION_LOGIN_PAGE_BUTTON3_CAPTION",t[t.APPLICATION_LOGIN_PAGE_BUTTON1_LINK=44]="APPLICATION_LOGIN_PAGE_BUTTON1_LINK",t[t.APPLICATION_LOGIN_PAGE_BUTTON2_LINK=45]="APPLICATION_LOGIN_PAGE_BUTTON2_LINK",t[t.APPLICATION_LOGIN_PAGE_BUTTON3_LINK=46]="APPLICATION_LOGIN_PAGE_BUTTON3_LINK",t[t.APPLICATION_LOGIN_PAGE_FOOTER_CAPTION=47]="APPLICATION_LOGIN_PAGE_FOOTER_CAPTION",t[t.APPLICATION_LOGIN_PAGE_SYSTEM_NAME=48]="APPLICATION_LOGIN_PAGE_SYSTEM_NAME",t[t.EXPORT_MT940_ENABLED=49]="EXPORT_MT940_ENABLED",t[t.WYCIAGI_API_ENABLED=50]="WYCIAGI_API_ENABLED",t[t.MOBILE_APP_ENABLED=51]="MOBILE_APP_ENABLED",t[t.APPROVALS_ENABLED=52]="APPROVALS_ENABLED",t})(wt||{});var qrt=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return this.config.eCorpoNetApiUrl+"/approvals/items"}getApprovableItems(e){let n=new it;return e&&(n=n.set("stateFilter",e)),this.http.get(this.baseUrl,{params:n})}getItemDetails(e){return this.http.get(`${this.baseUrl}/${e}/details`)}getChildNodes(e,n){let r=new it().set("page",n);return this.http.get(`${this.baseUrl}/${e}/child-nodes`,{params:r})}getChildNodeDetails(e,n){return this.http.get(`${this.baseUrl}/${e}/child-nodes/${n}/details`)}getApprovals(e){return this.http.get(`${this.baseUrl}/${e}/approvals`)}getItemFile(e){return this.http.get(`${this.baseUrl}/${e}/file`,{responseType:"arraybuffer"})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var eot=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht),this.currentIds=[]}
7996get baseUrl(){return this.config.eCorpoNetApiUrl+"/approvals/approve"}prepare(e){return this.http.post(`${this.baseUrl}/prepare`,e).pipe(B(()=>this.currentIds=e))}perform(e){return this.http.post(`${this.baseUrl}/perform`,{itemIds:this.currentIds,verifyRequest:e})}cancel(){return this.http.post(`${this.baseUrl}/cancel`,{})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var sot=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht),this.currentIds=[]}get baseUrl(){return this.config.eCorpoNetApiUrl+"/approvals/revoke-approval"}prepare(e){return this.http.post(`${this.baseUrl}/prepare`,e).pipe(B(()=>this.currentIds=e))}perform(e){return this.http.post(`${this.baseUrl}/perform`,{itemIds:this.currentIds,verifyRequest:e})}cancel(){return this.http.post(`${this.baseUrl}/cancel`,{})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var hot=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht),this.currentIds=[]}get baseUrl(){return this.config.eCorpoNetApiUrl+"/approvals/convert-to-draft"}prepare(e){return this.http.post(`${this.baseUrl}/prepare`,e).pipe(B(()=>this.currentIds=e))}perform(e){return this.http.post(`${this.baseUrl}/perform`,{itemIds:this.currentIds,verifyRequest:e})}cancel(){return this.http.post(`${this.baseUrl}/cancel`,{})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var yot=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}executeItem(e,n){let r=`${this.config.eCorpoNetApiUrl}/approvals/items/${e}/execute`,o=n?.executionDate?n:null;return this.http.post(r,o)}executeItems(e,n){let r=`${this.config.eCorpoNetApiUrl}/approvals/execute`,o=n?{itemIds:e,executionDate:n}:{itemIds:e};return this.http.post(r,o)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var kr=(function(t){return t.AUTH_INCORRECT="AUTH_INCORRECT",t.AUTH_BLOCKED="AUTH_BLOCKED",t.AUTH_EXPIRED="AUTH_EXPIRED",t.GENERAL="GENERAL",t})(kr||{});var az=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.SESSION_CONTEXT_PATH="/session-context",this.CUSTOMER_PROFILE_PATH="/customer-profile-context"}getSessionContext(){return this.http.get(this.config.eCorpoNetApiUrl+this.SESSION_CONTEXT_PATH)}getCustomerProfileContext(){return this.http.get(this.config.eCorpoNetApiUrl+this.CUSTOMER_PROFILE_PATH)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var aoe=(function(t){return t.PAIRED="PAIRED",t.PAIRING_IN_PROGRESS="PAIRING_IN_PROGRESS",t.NOT_PAIRED="NOT_PAIRED",t})(aoe||{}),soe=(function(t){return t.ACTIVE_PAIRING_CODE="ACTIVE_PAIRING_CODE",t.PAIRING_ORDER_PLACED="PAIRING_ORDER_PLACED",t})(soe||{});var kot=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return this.config.eCorpoNetApiUrl+"/mobile-app"}getStatus(){return this.http.get(`${this.baseUrl}/status`)}startPairing(){return this.http.post(this.baseUrl,null)}unpair(){return this.http.delete(this.baseUrl)}getAppLinks(){return this.http.get(`${this.baseUrl}/app-links`)}getActivateText(){return this.http.get(`${this.baseUrl}/activate-text`)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var sz=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}report(e){return this.http.post(`${this.config.eCorpoNetApiUrl}/authorization/signnet/report`,e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var lz="/file/list",cz="/file/pdf",dz="/file/xml",uz="/file/homenet",mz="/file/MT940",loe="/file/MT940allTheSame",pz="/file/MT940-day",aE="/file/duplicate",hz="/file/print",fz="/file/csv",rm="/prepare",om="/perform",am="/cancel",gz="/enabled",coe="/enablers",bd="/bundles",doe="/permission",mh="/dispositions",ul="/add",fs="/update",_z="/delete",uoe="/check",bz="/filters",sE="/audit",j1="/to-signing",H1="/unsign",U1="/to_edition",z1="/plain",vz="/own",ph="/vat",moe="/vat-transmission";var G1="/foreign",poe="/exchange",W1="/count",kat="api/session",vd="api/bank-statements",Rat=vd+lz,Mat=vd+cz,Nat=vd+dz,Oat=vd+uz,Fat=vd+mz,Pat=vd+pz,Lat=vd+aE,hh=vd+"/plus",Bat=hh+lz,Vat=hh+cz,jat=hh+dz,Hat=hh+uz,Uat=hh+pz,zat=hh+aE,Oo="api/accounts",yz=Oo+"/simple-name",Cz=Oo+"/turnover",$1=Oo+"/loan-schedule",H_=Oo+"/chargeable",Gat=H_+"/own",Wat=Oo+"/chargeable_order",$at=Oo+"/update-order",Dz=Oo+ph,hoe=$1+"-pfr",qat=hoe+uoe,q1=Oo+"/statements",Yat=q1+"/list",Kat=q1+mz,Xat=q1+loe,Y1=Oo+"/own",Ez=Y1+ph,wz=Oo+"/vat/chargeable",Zat=Oo+"/holds/list",lE=Oo+"/bulk-statements",Qat=lE+"/year",Jat=lE+"/month",est=lE+"/filename",tst=lE+"/txt",foe="/login-page";var nst="api"+foe+"/info",ist="api/banners",rst="api/favicon",K1="api/logo",xz=K1+"/image",ost="api/ip-addresses",ml="api/contractors",Sz=ml+"/count",Tz=ml+"/exists",Iz=ml+"/groups",Az=ml+"/changeGroup",kz=ml+"/export/csv",Rz=ml+"/export/xml",goe
7996=ml+"/imports",Mz=goe+"/uploads",U_="api/messages",Nz=U_+"/mark-as-seen",Oz=U_+"/unread-amount",ast="api"+poe,_oe="api/banks",cE=_oe+"/domestic",Fz=cE+"/count",fh="api/operations",gh=fh+"/history",sst=fh+hz,lst=fh+fz,Pz=fh+aE,Lz=gh+aE,cst=gh+fz,dst=gh+"/file/videotel",ust=gh+hz,ei="api/transfers",X1=ei+bd,Bz=ei+bd+sE,Z1=ei+mh,Vz=ei+mh+sE,jz=ei+j1,sm=ei+"/imports",_h="/checks",Q1="/salary",Hz=sm+_h,dE=Hz+mh,Uz=Hz+Q1,zz=dE+z1,Gz=dE+G1,Wz=dE+"/us",$z=dE+ph,qz=sm+"/uploads",uE=sm+bd,Yz=sm+mh,mE=ei+"/quick-execution",mst=mE+rm,pst=mE+gz,hst=mE+om,fst=mE+am,Kz=ei+ul+z1,Xz=ei+ul+vz,pE=ei+ul+ph,Zz=ei+ul+"/us",Qz=ei+ul+G1,Jz=ei+fs+z1,e3=ei+fs+vz,hE=ei+fs+ph,t3=ei+fs+"/us",n3=ei+fs+G1,i3=ei+ph,r3=ei+moe,o3=ei+bd+"/imports",a3=ei+"/dispositions",s3=ei+"/dispositions/whitelist",z_="api/topups",gst=z_+"/update",_st=z_+"/operators",bst=z_+"/to-signing",vst=z_+"/enablers",J1=z_+"/quick-execution",yst=J1+rm,Cst=J1+om,Dst=J1+am,Est="/file",Gr="api/standing-orders",l3=Gr+ul+ul,c3=Gr+ul+fs,d3=Gr+ul+_z,u3=Gr+fs+ul,m3=Gr+fs+fs,p3=Gr+fs+_z,eR=Gr+"/quick-execution",h3=Gr+bd,f3=Gr+bd+sE,g3=Gr+j1,_3=Gr+mh+sE,wst=eR+rm,xst=eR+om,Sst=eR+am,b3=Gr+coe,fE="api/cards",Tst=fE+"/holds",boe=fE+"/extract",Ist=boe+"/dates",Ast=fE+"/limits",kst=fE+"/hasCardLimits",tR="api/us",v3=tR+bz,y3=tR+W1,C3=tR+"/sfp",gE="api/executions",Rst=gE+j1,Mst=gE+"/bundles",Nst=gE+"/dispositions",Ost=gE+"/contractors_changed",yo="api/signs",Fst=yo+rm,Pst=yo+om,Lst=yo+gz,Bst=yo+am,nR=yo+"/sign_execute",Vst=nR+rm,jst=nR+om,Hst=nR+am,Ust=yo+"/to_execution",zst=yo+H1+rm,Gst=yo+H1+om,Wst=yo+H1+am,$st=yo+U1+rm,qst=yo+U1+om,Yst=yo+U1+am,Kst=yo+bd+bz,Xst=yo+bd,Zst=yo+mh,Ia="api/deposits",Qst=Ia+"/add/add",Jst=Ia+"/add/update",elt=Ia+"/add/delete",tlt=Ia+"/update/add",nlt=Ia+"/update/update",ilt=Ia+"/update/delete",rlt=Ia+"/delete",olt=Ia+"/to-signing",alt=Ia+"/dispositions",iR=Ia+"/quick-execution",slt=iR+"/prepare",llt=iR+"/perform",clt=iR+"/cancel",dlt="api/deposits-pattern",ult=Ia+doe,mlt=Ia+"/deposit",plt="api/credit-holidays",hlt="api/events/last-login-ip",flt="api/autodealing",voe="api/white-list",glt="https://wl-api.mf.gov.pl/api/check",D3=voe+"/transfers"+fs,_lt="api/fiduciary-accounts",blt="api/basement";var Aa=(function(t){return t.PDF="application/pdf",t.XML="application/xml",t.TXT="text/plain",t.ZIP="application/zip",t.HTML="text/html",t})(Aa||{});var Me=(function(t){return t[t.NEW=0]="NEW",t[t.EDIT=1]="EDIT",t[t.IMPORT=2]="IMPORT",t[t.REPEAT=3]="REPEAT",t})(Me||{});var bh=new R("TRANSFER_DIALOG_TOKEN");var pn=(function(t){return t.COMMON="COMMON",t.INSTANT="INSTANT",t.INTERNATIONAL="INTERNATIONAL",t.PERSONAL="PERSONAL",t.US_CLO="US_CLO",t.VAT_INVOICE="VAT_INVOICE",t.VAT_TRANSFERENCE="VAT_TRANSFERENCE",t.SORBNET="SORBNET",t})(pn||{});var _E=class{static parse(i){switch(i){case"PRZELEW_VAT":return pn.VAT_INVOICE;case"PRZELEW_US":return pn.US_CLO;case"PRZELEW_ZAGRANICZNY":return pn.INTERNATIONAL;case"PRZELEW_VAT_ZASILENIE":return pn.VAT_TRANSFERENCE;default:return pn.COMMON}}static parseFromContractorType(i){switch(i){case ct.FOREIGN_TRANSFER:return pn.INTERNATIONAL;case ct.US_TRANSFER:return pn.US_CLO;case ct.VAT_TRANSFER:return pn.VAT_INVOICE;default:return pn.COMMON}}};var Kn=(function(t){return t.NIP="N-NIP",t.REGON="R-REGON",t.PESEL="P-PESEL",t.DOWOD_OSOBISTY="1-DOW\xD3D OSOBISTY",t.PASZPORT="2-PASZPORT",t.INNY="3-INNY DOKUMENT TO\u017BSAMO\u015ACI",t.EMPTY="",t})(Kn||{});var sc=(()=>{class t{static{this.US_IRP_REGEX=/[0-9]{2}10100071222[1-2]{1}[0-9]{12}/g}static isIRPAccount(e){return e!=null&&!!e.match(t.US_IRP_REGEX)}static hasPesel(e){return e.charAt(13)==="1"}static getPesel(e){return e.substring(14,25)}static getNip(e){return e.substring(14,24)}static getSpecificIdentifier(e,n){switch(n){case Kn.PESEL:return e.pesel;case Kn.REGON:return e.regon;case Kn.NIP:return e.nip;default:return}}static getDefaultIdentifier(e){return e.pesel?{value:e.pesel,type:Kn.PESEL}:e.regon?{value:e.regon,type:Kn.REGON}:e.nip?{value:e.nip,type:Kn.NIP}:{value:"",type:""}}static getIrpIdentifier(e){return t.hasPesel(e)?{type:Kn.PESEL,value:this.getPesel(e)}:{type:Kn.NIP,value:this.getNip(e)}}static getTaxData(e){let n=this.isIRPAccount(e.targetAccount)?this.getIrpIdentifier(e.targetAccount):t.getDefaultIdentifier(e),r={idType:n.type,idValue:n.value};return e.title&&(r.obligationsId=e.title),r}}return t})();var vh=class t{static parse(i,e){let n={peselNip:"",invoice:"",message:""};return i===void 0?n:i.indexOf("/IDC/")<5?t.getFromPeselNip(e,n):t.getFromTitle(i,n)}static getFromTitle(i,e){let n=i.indexOf("/IDC/");return e.peselNip=i.substring(n+5,i.indexOf("/INV/")),i.includes("/TXT/")?(e.invoice=i.substring(i.indexOf("/INV/")+5,i.indexOf("/TXT/")),e.message=i.substring(i.indexOf("/TXT/")+5)):e.invoice=i.substring(i.indexOf("/INV/")+5),e}static getFromPeselNip(i,e){return e.peselNip=i,e}};var W_=Si(lm());var E3="hideAmount",$_="0.00",yoe="0",G_=".",Flt=",",bt=class{static currencyFormat(i,e=" "){return i?(0,W_.default)(i,{symbol:"",separator:e,precision:2,pattern:"#!",negativePattern:"-#!"}).format():$_}static amountFormat(i,e=" "){return i?(0,W_.default)(i,{separator:e,precision:0,pattern:"#",negativePattern:"-#"}).format():yoe}static getTrimmedValue(i){return(0,W_.default)(i,{separator:"",precision:2,pattern:"#",negativePattern:"-#"}).value||0}
7996static formatAmount(i){return i===""?"":(0,W_.default)(this.getOnlyNumbersWithOneDot(i),{symbol:"",separator:" ",precision:2,decimal:".",pattern:"#!",negativePattern:"-#!"}).format()}static getOnlyNumbers(i){return i.replace(/[^0-9]*/g,"")}static getOnlyNumbersWithOneDot(i){let e=0,n=r=>r===G_?e++===0?G_:"":"";return i.replace(ue.numbersCommaDotPattern,"").replace(/[,]/g,G_).replace(/[\.]/g,n)}static trimDecimalsToTwoPlaces(i){if(i.toString().includes(G_)){let[e,n]=i.toString().split(G_);i=`${+e.replace(/[\s]+/g,"")>0?e:"0"}.${n.substring(0,2)}`}return i}};var ar=class{static getFromContractor(i){let e=vh.parse(i.title,i?.nip||i?.pesel||"");return{title:i.title,amount:bt.formatAmount(i?.amount?.toString()||""),currency:i?.currency||"",targetAccount:i.targetAccount,name1:i.name1,name2:i.name2,address1:i.address1,address2:i.address2,bank:{bic:i.bic,bankName:i.bank1,address:i.bank2,city:i.bank3,country:i.bank4},tax:i?.type===ct.US_TRANSFER?sc.getTaxData(i):{},contractorId:i.id,idNipPesel:e?.peselNip||"",vatNumber:e.invoice,message:e.message,dateOfExecution:An(new Date)}}static newWithBundleId(i,e){let n;return i?.virtual===!1&&(n="bundleId"in i?i.bundleId:i.id),{bundleId:n,dateOfExecution:An(new Date),sourceAccountId:e||"",currency:"PLN",tax:{},packaged:!!n}}static getFromTaxOffice(i){return{name1:i.name1,name2:i.name2,address1:i.address,targetAccount:i.accountIban,currency:"PLN",tax:{},lastExecutionDate:An(new Date),dateOfExecution:An(new Date)}}static getFromImport(i,e){let n=this.getFromDisposition(i);return n.dispositionId=e,n}static getFromDisposition(i){return{targetAccount:i.targetAccount,name1:i.name1,name2:i.name2,address1:i.address1,address2:i.address2,amount:bt.formatAmount((i.amount??0).toString()),vatAmount:bt.formatAmount((i.vatAmount??0).toString()),netAmount:bt.formatAmount(((i.amount??0)-(i.vatAmount??0)).toString()),currency:i.currency,dateOfExecution:En.isDate(i.dateOfExecution)?En.formatDate(i.dateOfExecution):$t(new Date,je),idNipPesel:i.vatDispositionData?.idNipPesel,vatNumber:i.vatDispositionData?.invoiceNumber,message:i.vatDispositionData?.additionalInfo,title:i.title,tax:{}}}};var Rr=class extends Error{constructor(i,e,n,r,o,a=An(new Date)){super(),this.status=i,this.errorCode=e,this.messageToShow=n,this.inputErrorTypes=r,this.logout=o,this.date=a}static isTypeOf(i){return i?.errorCode!==void 0}};var $r=(()=>{class t{constructor(){this.subject=new zt(!1)}showSpinner(){this.subject.next(!0)}hideSpinner(){this.subject.next(!1)}getSpinnerState(){return this.subject.asObservable()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function hn(t){t||(t=m(dn));let i=new Ne(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(xe(i))}function Cd(t,i){let e=i?.injector??m(ie),n=new Co(1),r=io(()=>{let o;try{o=t()}catch(a){Wt(()=>n.error(a));return}Wt(()=>n.next(o))},{injector:e,manualCleanup:!0});return e.get(dn).onDestroy(()=>{r.destroy(),n.complete()}),n.asObservable()}function cm(t,i){let n=!i?.manualCleanup?i?.injector?.get(dn)??m(dn):null,r=Coe(i?.equal),o;i?.requireSync?o=Z({kind:0},{equal:r}):o=Z({kind:1,value:i?.initialValue},{equal:r});let a,s=t.subscribe({next:d=>o.set({kind:1,value:d}),error:d=>{o.set({kind:2,error:d}),a?.()},complete:()=>{a?.()}});if(i?.requireSync&&o().kind===0)throw new ce(601,!1);return a=n?.onDestroy(s.unsubscribe.bind(s)),Ct(()=>{let d=o();switch(d.kind){case 1:return d.value;case 2:throw d.error;case 0:throw new ce(601,!1)}},{equal:i?.equal})}function Coe(t=Object.is){return(i,e)=>i.kind===1&&e.kind===1&&t(i.value,e.value)}var Gn=(function(t){return t[t.HIDDEN=0]="HIDDEN",t[t.DISABLED=1]="DISABLED",t[t.VISIBLE=2]="VISIBLE",t})(Gn||{});var Fo=(()=>{class t{constructor(e){this.sessionContextApi=e,this.user=Z(null),this.parameters=Z([]),this.perLoginParameters=Z([]),this.loggedIn=Z(!1),this.authorities=Z([]),this.clientInfo=Z(null),this.autoDealingEnabled=Z(!1),this.basementEnabled=Z(!1),this.whiteListEnabled=Z(!1),this.menuVisibility=Ct(()=>{let n=this.authorities(),r=this.parameters(),o=this.perLoginParameters(),a=this.user(),s=this.autoDealingEnabled(),d=this.basementEnabled(),p=(Te,tn=!1)=>!Te||Te.length===0?Gn.VISIBLE:(tn?Te.some(Oi=>n.includes(Oi)):Te.every(Oi=>n.includes(Oi)))?Gn.VISIBLE:Gn.DISABLED,f=Te=>!!r.find(jt=>jt.name===wt[Te])?.value,b=Te=>r.find(jt=>jt.name===wt[Te])?.value??"",w=Te=>r.find(jt=>jt.name===wt[Te])?.value??[],A=Te=>!!o.find(jt=>jt.name===wt[Te])?.value,M=Gn.HIDDEN,J=w(wt.TOPUP_ALLOW_LOGINS),j=!J||J.length===0;!j&&a&&(j=J.includes(a.username)),j&&f(wt.TOPUP_GSM_VISIBLE)&&(M=n.includes(Ut.FUNC_TOPUP)?Gn.VISIBLE:Gn.DISABLED);let K=Gn.HIDDEN;return a&&(a.isMainAccount||a.isTechnicalAccount)&&n.includes(Ut.FUNC_TRANSFER_WAGES)&&(K=Gn.VISIBLE),{foreignBanks:f(wt.TRANSFER_FOREIGN_BIC_SELECTION_ENABLED)?Gn.VISIBLE:Gn.HIDDEN,exchangeRates:f(wt.EXCHANGE_RATE_VISIBLE)?Gn.VISIBLE:Gn.HIDDEN,exchangeOffice:Gn.DISABLED,bankAccounts:p([Ut.FUNC_ACCOUNT_VIEW]),cards:p([Ut.FUNC_CARDS_VIEW]),gsmTopUp:M,standingOrders:p([Ut.FUNC_STANDING_ORDER_VIEW]),deposits:p([Ut.FUNC_DEPOSIT_VIEW]),transfers:p([Ut.FUNC_TRANSFER_VIEW]),signatures:p([Ut.FUNC_SIGN]),execution:p([Ut.FUNC_EXECUTE]),salaryBundleOptions:K,autoDealing:s?Gn.VISIBLE:Gn.HIDDEN,carrier:Gn.DISABLED,eximee:f(wt.EXIMEE_ENABLED)?Gn.VISIBLE:Gn.HIDDEN,creditHolidays:b(wt.SUBMIT)?Gn.VISIBLE:Gn.HIDDEN,loginOptions:n.includes(Ut.FUNC_IP_EDIT)?Gn.VISIBLE:Gn.HIDDEN,basement:d?Gn.VISIBLE:Gn.HIDDEN,mobileAp
7996p:A(wt.MOBILE_APP_ENABLED)?Gn.VISIBLE:Gn.HIDDEN}})}loadSessionContext(){return this.sessionContextApi.getSessionContext().pipe(W(e=>(this.user.set(e.user),this.parameters.set(e.parameters),this.perLoginParameters.set(e.perLoginParameters),this.loggedIn.set(!0),P(void 0))))}loadCustomerProfileContext(){return this.sessionContextApi.getCustomerProfileContext().pipe(W(e=>(this.authorities.set(e.authorities),this.autoDealingEnabled.set(e.autoDealingEnabled),this.basementEnabled.set(e.basementEnabled),this.whiteListEnabled.set(e.whiteListEnabled),P(void 0))))}setClientInfo(e){this.clientInfo.set(e)}reset(){this.user.set(null),this.parameters.set([]),this.perLoginParameters.set([]),this.loggedIn.set(!1),this.authorities.set([]),this.clientInfo.set(null),this.autoDealingEnabled.set(!1),this.basementEnabled.set(!1),this.whiteListEnabled.set(!1)}static{this.\u0275fac=function(n){return new(n||t)(F(az))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var qr=(()=>{class t{constructor(){this.appStore=m(Fo),this.parameters$=Cd(this.appStore.parameters).pipe(ae(e=>e.length>0))}getParameter(e){return this.parameters$.pipe($(n=>this.findParameter(n,e)?.value))}getParameterAsBoolean(e){return this.getParameter(e).pipe($(n=>!!n))}getParameterAsStringArray(e){return this.getParameter(e).pipe($(n=>n))}getParameterAsString(e){return this.getParameter(e).pipe($(n=>n))}findParameter(e,n){return e.find(r=>r.name===wt[n].toString())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ln={"rachunekOdbiorcy.empty":" Musisz poda\u0107 rachunek odbiorcy","rachunekOdbiorcy.maxlength":"Numer rachunku nie mo\u017Ce by\u0107 d\u0142u\u017Cszy ni\u017C {RACHUNEK_ODBIORCY_LENGTH} znak\xF3w","rachunekOdbiorcy.illegal":"Pole zawiera nieprawid\u0142owe znaki","rachunekOdbiorcy.invalid":"Podany rachunek jest nieprawid\u0142owy","rachunekOdbiorcy.invalid_iban":"Podany rachunek jest nieprawid\u0142owy","rachunekOdbiorcy.invalid_iban2":"Podany rachunek jest nieprawid\u0142owy","rachunekOdbiorcy.us_illegal":"Podany rachunek nie jest rachunkiem urz\u0119du skarbowego/izby celnej","rachunekOdbiorcy.zus_old":"Wybrany rachunek ZUS jest nieaktywny w zwi\u0105zku z nowymi przepisami prawa dotycz\u0105cymi przelew\xF3w do ZUS","rachunekOdbiorcy.same_rach":"Rachunek odbiorcy nie mo\u017Ce by\u0107 taki sam jak rachunek nadawcy","rachunekOdbiorcy.notUznawalny":"Nie mo\u017Cna wykona\u0107 przelewu na wybrany rachunek","rachunekOdbiorcy.is_us_so_use_us":"Rachunek odbiorcy jest rachunkiem Urz\u0119du Skarbowego","rachunekOdbiorcy.is_clo_so_use_us":"Rachunek odbiorcy jest rachunkiem Izby Celnej. Nale\u017Cy skorzysta\u0107 z opcji tworzenia przelew\x
7996F3w US / C\u0141O","rachunekOdbiorcy.noVat":"Rachunek odbiorcy nie powi\u0105zany z VAT","rachunekOdbiorcy.wewnetrzny":"Rachunek odbiorcy jest rachunkiem wewn\u0119trznym Banku","rachunekOdbiorcy.krajowy":"Wykonanie przelewu krajowego w PLN jest mo\u017Cliwe tylko w opcji przelewu na rachunek krajowy","rachunekOdbiorcy.same_vat_rach":"Rachunek VAT odbiorcy nie mo\u017Ce by\u0107 taki sam jak rachunek nadawcy","nazwaOdbiorcy1.maxlength":"Pierwsza linia nazwy odbiorcy nie mo\u017Ce by\u0107 d\u0142u\u017Csza ni\u017C {NAZWA1_ODBIORCY_LENGTH} znak\xF3w","nazwaOdbiorcy2.maxlength":"Druga linia nazwy odbiorcy nie mo\u017Ce by\u0107 d\u0142u\u017Csza ni\u017C {NAZWA2_ODBIORCY_LENGTH} znak\xF3w","nazwaOdbiorcy3.maxlength":"Pierwsza linia adresu odbiorcy nie mo\u017Ce by\u0107 d\u0142u\u017Csza ni\u017C {NAZWA3_ODBIORCY_LENGTH} znak\xF3w","nazwaOdbiorcy4.maxlength":"Druga linia adresu odbiorcy nie mo\u017Ce by\u0107 d\u0142u\u017Csza ni\u017C {NAZWA4_ODBIORCY_LENGTH} znak\xF3w","nazwaOdbiorcy1.illegal":"Pierwsza linia nazwy odbiorcy zawiera nieprawid\u0142owe znaki","nazwaOdbiorcy2.illegal":"Druga linia nazwy odbiorcy zawiera nieprawid\u0142owe znaki","nazwaOdbiorcy3.illegal":"Pierwsza linia adresu odbiorcy zawiera nieprawid\u0142owe znaki","nazwaOdbiorcy4.illegal":"Druga linia adresu odbiorcy zawiera nieprawid\u0142owe znaki}","nazwaOdbiorcy1.empty":"Pole niewype\u0142nione","nazwaOdbiorcy.empty":"Nazwa odbiorcy nie mo\u017Ce by\u0107 pusta","nazwaOdbiorcy4.fill_in_order":"Pola nazwy musz\u0105 by\u0107 wype\u0142niane po kolei","sfp.maxlength":"Symbol formularza p\u0142atno\u015Bci nie mo\u017Ce by\u0107 d\u0142u\u017Cszy ni\u017C {SFP_LENGTH} znak\xF3w","sfp.inactive":"W wybranym okresie realizacji formularz jest niedost\u0119pny","sfp.illegal":"Symbol formularza p\u0142atno\u015Bci jest nieprawid\u0142owy","sfp.empty":"Symbol formularza p\u0142atno\u015Bci nie mo\u017Ce by\u0107 pusty","idZobowiazania.maxlength":"Identyfikator zobowi\u0105zania nie mo\u017Ce by\u0107 d\u0142u\u017Cszy ni\u017C 40 znak\xF3w","sfp.notINNE":'Symbol formularza p\u0142atno\u015Bci musi mie\u0107 warto\u015B\u0107 "INNE"',"kwota.empty":"Kwota nie mo\u017Ce by\u0107 pusta","kwota.greaterThan001":"Kwota musi by\u0107 r\xF3wna lub wi\u0119ksza od 0,01","kwota.greaterThanOne":"Kwota musi by\u0107 r\xF3wna lub wi\u0119ksza od 1,00","kwota.max_range":"Kwota zbyt wysoka","kwota.min_range":"Kwota zbyt niska","kwota.zero":"Kwota musi by\u0107 r\xF3wna lub wi\u0119ksza od 0,01","kwotaVat.greaterThan0":"Kwota VAT musi by\u0107 wi\u0119ksza od 0,00","kwotaVat.atMostBrutto":"Kwota VAT musi by\u0107 mniejsza lub r\xF3wna kwocie brutto","kwota.brakSrodkow":"Kwota nie mo\u017Ce by\u0107 wi\u0119ksza ni\u017C dost\u0119pne wolne \u015Brodki rachunku \u017Ar\xF3d\u0142owego","kwota.wplata.greaterThanOne":"Kwota wp\u0142aty musi by\u0107 r\xF3wna lub wi\u0119ksza od 1,00","kwota.wyplata.greaterThanOne":"Kwota wyp\u0142aty musi by\u0107 r\xF3wna lub wi\u0119ksza od 1,00","kwota.wyplata.za_duzo":"Kwota do cz\u0119\u015Bciowej wyp\u0142aty jest zbyt du\u017Ca","error.field.amount.not_allowed":"Niedozwolona kwota operacji","error.field.amount.wrong_format":"Z\u0142y format kwoty","error.field.amount.wrong_format_with_penny":"Z\u0142y format kwoty. Kwota musi by\u0107 podana bez groszy","kwTyp.wplata.brak_dostepu":"Nie mo\u017Cna wp\u0142aca\u0107 na dan\u0105 lokat\u0119","kwTyp.wyplata.brak_dostepu":"Nie mo\u017Cna wyp\u0142aca\u0107 z danej lokaty","dataWykonania.empty":"Data wykonania nie mo\u017Ce by\u0107 pusta","dataWykonania.beforeToday":"Data wykonania nie mo\u017Ce by\u0107 przesz\u0142a","dataOstatecznejRealizacji.beforeDataWykonania":"Data realizacji nie mo\u017Ce by\u0107 wcze\u015Bniejsza ni\u017C data wykonania","dataOstatecznejRealizacji.maxValue":"Data realizacji zbyt odleg\u0142a","dataOstatecznejRealizacji.ownAccount":"Operacja nie mo\u017Cliwa, rachunek odbiorcy jest rachunkiem w\u0142asnym Banku","dataOstatecznejRealizacji.illegal":"Operacja nie dozwolona, brak uprawnienia do zmiany daty realizacji","tytul.empty":"Pole niewype\u0142nione","okresRok.empty":"Okres rozliczenia nie mo\u017Ce by\u0107 pusty","okresRok.notEmpty":"Okres rozliczenia dla podanego SFP powinien by\u0107 pusty","okresRok.invalid":"Okres rozliczenia jest nieprawid\u0142owy","okresNumer.empty":"Numer okresu nie mo\u017Ce by\u0107 pusty","okresNumer.notEmpty":"Okres rozliczenia dla podanego SFP powinien by\u0107 pusty","okresNumer.invalid":"Numer okresu jest nieprawid\u0142owy","okresMiesiac.invalid":"Miesi\u0105c jest nieprawid\u0142owy","okresMiesiac.empty":"Miesi\u0105c nie mo\u017Ce by\u0107 pusty","okresTyp.invalid":"Typ okresu jest nieprawid\u0142owy","okresTyp.notEmpty":"Okres rozliczenia dla podanego SFP powinien by\u0107 pusty","rachunekUs.inactive":"W wybranej dacie p\u0142atno\u015Bci podany rachunek urz\u0119du skarbowego/izby celnej nie jest aktywny","identyfikator.maxlength":"Identyfikator nie mo\u017Ce by\u0107 d\u0142u\u017Cszy ni\u017C {IDENTYFIKATOR_LENGTH} znak\xF3w","identyfikator.empty":"Identyfikator nie mo\u017Ce by\u0107 pusty","identyfikator.nip.invalid":"NIP jest nieprawid\u0142owy","i
7996dentyfikator.pesel.invalid":"Pesel jest nieprawid\u0142owy","identyfikator.regon.invalid":"Regon jest nieprawid\u0142owy","identyfikator.dowod_osobisty.invalid":"Numer dowodu osobistego jest nieprawid\u0142owy","identyfikator.paszport.illegal":"Numer paszportu zawiera nieprawid\u0142owe znaki: {0}","identyfikator.paszport.invalid":"Numer paszportu jest nieprawid\u0142owy","identyfikator.paszport.illegalChar":"Numer paszportu mo\u017Ce zawiera\u0107 tylko litery i cyfry","identyfikator.inny_dokument.invalid":"Numer dokumentu to\u017Csamo\u015Bci jest nieprawid\u0142owy","identyfikator.illegalChar":"Identyfikator nie mo\u017Ce zawiera\u0107 spacji","typIdentyfikatora.required":"Wymagany jest typ identyfikatora","typIdentyfikatora.empty":"Typ identyfikatora nie mo\u017Ce by\u0107 pusty","typIdentyfikatora.invalid":"Typ identyfikatora jest nieprawid\u0142owy","idZobowiazania.clo.illegal":"Identyfikator zobowi\u0105zania zawiera nieprawid\u0142owe znaki","idZobowiazania.clo.empty":"Identyfikator zobowi\u0105zania nie mo\u017Ce by\u0107 pusty","idZobowiazania.illegal":"Identyfikator zobowi\u0105zania zawiera nieprawid\u0142owe znaki","rachunek.notObciazalny":"Nie mo\u017Cna wykona\u0107 przelewu z wybranego rachunku","rachunekOdbiorcy.elixir_expired":"Bank odbiorcy nie mo\u017Ce przyjmowa\u0107 przelew\xF3w","tytul.illegal":"Tytu\u0142 przelewu zawiera nieprawid\u0142owe znaki","skrotNazwy.exists":" Istnieje ju\u017C kontrahent o podanej nazwie","przelew.kontrahent.title":"Nie ma takiego kontrahenta","przelew.kontrahent.confirm":"Podany rachunek nie nale\u017Cy do \u017Cadnego kontrahenta, czy chcesz go doda\u0107?","przelew.sorbnet.bps":"Przelewy na rachunki w banku odbiorcy s\u0105 realizowane w ramach rozlicze\u0144 grupy BPS i w zwi\u0105zku z tym nie s\u0105 obj\u0119te trybem SORBNET. Przelew dotrze na rachunek odbiorcy w ci\u0105gu ok. godziny (w dni robocze w godz. 7:00-15:00)","przelew.sorbnet.wlasny":"Przelewy na inne rachunki naszego banku s\u0105 dokonywane w ramach wewn\u0119trznego systemu 
7996ksi\u0119gowego, opcja SORBNET jest niedost\u0119pna. Przelew dotrze na rachunek odbiorcy w ci\u0105gu kilku minut (w dni robocze w godz. 8:00-18:00)","sorbnet.dataWykonania.notWorkDay":"Odznacz opcj\u0119 sorbnet lub wybierz dat\u0119 przysz\u0142\u0105 w dniu pracuj\u0105cym!","sorbnet.dataWykonania.outsideHours":"Przelew SORBNET nie mo\u017Ce by\u0107 zrealizowany. Przelew SORBNET mo\u017Ce by\u0107 zlecany w godzinach od {TRANSFER_SORBNET_OPENING_HOUR} do {TRANSFER_SORBNET_DEADLINE} lub z dat\u0105 przysz\u0142\u0105 b\u0119d\u0105c\u0105 dniem roboczym. Odznacz opcj\u0119 SORBNET lub wybierz dat\u0119 przysz\u0142\u0105 b\u0119d\u0105c\u0105 dniem roboczym.","sorbnet.dataWykonania.outsideHours.required":"Przelew SORBNET nie mo\u017Ce by\u0107 zrealizowany. Przelew SORBNET mo\u017Ce by\u0107 zlecany w godzinach od {TRANSFER_SORBNET_OPENING_HOUR} do {TRANSFER_SORBNET_DEADLINE} lub z dat\u0105 przysz\u0142\u0105 b\u0119d\u0105c\u0105 dniem roboczym. Wybierz dat\u0119 przysz\u0142\u0105 b\u0119d\u0105c\u0105 dniem roboczym.","sorbnet.dataWykonania.empty":"Wykonanie przelewu SORBNET nie jest mo\u017Cliwe. Nie wybrano daty wykonania","przelew.sorbnet.required":"Przelew na kwot\u0119 wi\u0119ksz\u0105 lub r\xF3wn\u0105 {TRANSFER_SORBNET_REQUIRED_AMOUNT} z\u0142 powinien by\u0107 zrealizowany poprzez SORBNET. Prosz\u0119 zmieni\u0107 typ przelewu.","nazwaSkrot.exists":"Istnieje ju\u017C kontrahent o takiej samej nazwie skr\xF3conej","bic.invalid":"Nie znaleziono kodu BIC. Je\u017Celi wprowadzony BIC jest poprawny prosz\u0119 wype\u0142ni\u0107 formularz u\u017Cywaj\u0105c TYLKO nazwy i adresu banku","bic.illegal":"Kod BIC zawiera nieprawid\u0142owe znaki","bank1.illegal":"Pierwsza linia nazwy banku zawiera nieprawid\u0142owe znaki","bank1.empty":"Pierwsza linia nazwy banku nie mo\u017Ce by\u0107 pusta","bank2.illegal":"Druga linia nazwy banku zawiera nieprawid\u0142owe znaki","bank3.illegal":"Pierwsza linia adresu banku zawiera nieprawid\u0142owe znaki","bank4.illegal":"Druga linia adresu banku zawiera nieprawid\u0142owe znaki","bank1.invalid":"Pierwsza linia nazwy banku zawiera nieprawid\u0142owe dane. Zaktualizuj dane kontrahenta","bank2.invalid":"Druga linia nazwy banku zawiera nieprawid\u0142owe dane. Zaktualizuj dane kontrahenta","bank3.invalid":"Pierwsza linia adresu banku zawiera nieprawid\u0142owe dane. Zaktualizuj dane kontrahenta","bank4.invalid":"Druga linia adresu banku zawiera nieprawid\u0142owe dane. Zaktualizuj dane kontrahenta","bic.empty":"Bic nie mo\u017Ce by\u0107 pusty","bic.length":"Bic musi mie\u0107 d\u0142ugo\u015B\u0107 8 lub 11 znak\xF3w","rachunekProwizji.invalid":"Rachunek prowizji jest nieprawid\u0142owy","rach.invalid_iban":"Podany rachunek jest nieprawid\u0142owy","rach.invalid_iban2":"Podany rachunek(IBAN) jest nieprawid\u0142owy","rach.illegal":"Pole zawiera nieprawid\u0142owe znaki","rachunekObciazany.empty":"Rachunek obci\u0105\u017Cany nie mo\u017Ce by\u0107 pusty","regon.checkSumInvalid":"Podany nr REGON jest niepoprawny","nip.checkSumInvalid":"Podany nr NIP jest niepoprawny","pesel.invalidCheckSum":"Podany nr PESEL jest niepoprawny","operator.empty":"Nazwa operatora nie mo\u017Ce by\u0107 pusta","operator.unknown":"Nieznany operator","telefon.empty":"Numer telefonu nie mo\u017Ce by\u0107 pusty","telefon.format":"Telefon musi by\u0107 w formacie 48XXXXXXXXX","telefon.inactive":"Podany numer jest nieaktywny","telefon.unknown":" Podany numer jest nieznany u operatora","error.field.operator.not_found":"Nieznany operator","error.field.phone_number.wrong_format":"Z\u0142y format numeru telefonu","error.field.phone_number.inactive":"Podany numer telefonu jest nieaktywny","error.field.phone_number.unknown":"Podany numer telefonu jest nieznany u operatora","error.global.fast_payment.bank.not_supported":"Bank odbiorcy nie obs\u0142uguje szybkich przelew\xF3w","error.global.fast_payment.bank.not_available":"Bank odbiorcy jest niedost\u0119pny","error.global.fast_payment.limit.exceeded":"Limit jednorazowej transakcji zosta\u0142 przekroczony","error.global.bluemedia.not_available":"Us\u0142uga do\u0142adowa\u0144 niedost\u0119pna","iban.duplicate":"Istnieje k
7996ontrahent dla podanego nrb","authentication.login_or_password_incorrect":"Nieprawid\u0142owy login lub has\u0142o","authentication.logging_incorrect":"Nieprawid\u0142owe logowanie","authentication.password_from_history":"Uzyto hasla z historii! ","authentication.old_password_incorrect":"Podano nieprawid\u0142owe aktualne has\u0142o","text.invalidSubstrings":"Pole zawiera niedozwolone znaki lub ci\u0105gi znak\xF3w","vatNr.invalidSubstrings":"Pole zawiera niedozwolone znaki lub ci\u0105gi znak\xF3w","vatNr.maxlength":"Numer faktury nie mo\u017Ce by\u0107 d\u0142u\u017Cszy ni\u017C 35 znak\xF3w","text.maxlength":"Dodatkowa tre\u015B\u0107 nie mo\u017Ce by\u0107 d\u0142u\u017Csza ni\u017C 33 znaki","identyfikator.forbiddenChar":'Identyfikator nie mo\u017Ce zawiera\u0107 znak\xF3w: / " | , oraz spacji',"vatNr.forbiddenChar":"Numer faktury nie mo\u017Ce zawiera\u0107 znaku |","text.forbiddenChar":"Dodatkowa tre\u015B\u0107 nie mo\u017Ce zawiera\u0107 znaku |","chars.illegal":"Pole zawiera nieprawid\u0142owe znaki","error.global.exception.not_handled":"Nieobs\u0142ugiwany typ b\u0142\u0119du"};var w3=["sorbnet.dataWykonania.beforeOpeningHour","sorbnet.dataWykonania.afterDeadlineHour"],Doe="sorbnet.dataWykonania.outsideHours",Eoe="sorbnet.dataWykonania.outsideHours.required",woe="{TRANSFER_SORBNET_DEADLINE}",xoe="{TRANSFER_SORBNET_OPENING_HOUR}",vE="--:--",Soe=/^\d{1,2}:\d{2}$/,yE=(()=>{class t{constructor(){this.parameterService=m(qr),this.deadlineHour=cm(this.parameterService.getParameterAsString(wt.TRANSFER_SORBNET_DEADLINE).pipe($(e=>this.parseHour(e))),{initialValue:vE}),this.openingHour=cm(this.parameterService.getParameterAsString(wt.TRANSFER_SORBNET_OPENING_HOUR).pipe($(e=>this.parseHour(e))),{initialValue:vE}),this.outsideHoursMessage=Ct(()=>this.interpolate(this.openingHour(),this.deadlineHour()))}buildOutsideHoursMessage(e){return this.interpolate(this.openingHour(),this.formatHour(e))}buildRequiredOutsideHoursMessage(e){return this.interpolate(this.openingHour(),this.formatHour(e),Eoe)}formatHour(e){return!e||isNaN(e.getTime())?vE:`${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}`}interpolate(e,n,r=Doe){return ln[r].replace(xoe,e).replace(woe,n)}parseHour(e){return e?Soe.test(e)?e:this.formatHour(new Date(e)):vE}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var _r=(function(t){return t.TRANSFER_COMMON="TRANSFER_COMMON",t.TRANSFER_US="TRANSFER_US",t.TRANSFER_ZUS="TRANSFER_ZUS",t.TRANSFER_INTERNATIONAL="TRANSFER_INTERNATIONAL",t.DEPOSIT_OPENING="DEPOSIT_OPENING",t.DEPOSIT_MODIFICATION="DEPOSIT_MODIFICATION",t.DEPOSIT_BREACH="DEPOSIT_BREACH",t.STANDING_ORDER_OPENING="STANDING_ORDER_OPENING",t.STANDING_ORDER_MODIFICATION="STANDING_ORDER_MODIFICATION",t.STANDING_ORDER_BREACH="STANDING_ORDER_BREACH",t.GSM_TOP_UP="GSM_TOP_UP",t.TRANSFER_INSTANT="TRANSFER_INSTANT",t.TRANSFER_DEALING_BPS="TRANSFER_DEALING_BPS",t.TRANSFER_VAT="TRANSFER_VAT",t.TRANSFER_VAT_TOP_UP="TRANSFER_VAT_TOP_UP",t})(_r||{}),wn=(function(t){return t.PRZELEW_ZWYKLY="PRZELEW_ZWYKLY",t.PRZELEW_US="PRZELEW_US",t.PRZELEW_ZUS="PRZELEW_ZUS",t.PRZELEW_ZAGRANICZNY="PRZELEW_ZAGRANICZNY",t.LOKATA_ZALOZENIE="LOKATA_ZALOZENIE",t.LOKATA_MODYFIKACJA="LOKATA_MODYFIKACJA",t.LOKATA_ZERWANIE="LOKATA_ZERWANIE",t.ZLECENIE_STALE_ZALOZENIE="ZLECENIE_STALE_ZALOZENIE",t.ZLECENIE_STALE_MODYFIKACJA="ZLECENIE_STALE_MODYFIKACJA",t.ZLECENIE_STALE_ZERWANIE="ZLECENIE_STALE_ZERWANIE",t.DOLADOWANIE_GSM="DOLADOWANIE_GSM",t.PRZELEW_EKSPRES="PRZELEW_EKSPRES",t.PRZELEW_DEALING_BPS="PRZELEW_DEALING_BPS",t.PRZELEW_VAT="PRZELEW_VAT",t.PRZELEW_VAT_ZASILENIE="PRZELEW_VAT_ZASILENIE",t})(wn||{});var aR="przelew.sorbnet.required",yh=(()=>{class t{constructor(){this.parameterService=m(qr),this.appStore=m(Fo)}isSorbnetRequired(e,n){let r=n==="COMMON"?wt.TRANSFER_SORBNET_REQUIRED_COMMON_ENABLED:wt.TRANSFER_SORBNET_REQUIRED_VAT_ENABLED;return nn([this.parameterService.getParameterAsBoolean(wt.TRANSFER_SORBNET_REQUIRED_ENABLED),this.parameterService.getParameterAsBoolean(r),this.parameterService.getParameterAsStringArray(wt.TRANSFER_SORBNET_REQUIRED_LOGINS),this.parameterService.getParameterAsString(wt.TRANSFER_SORBNET_REQUIRED_AMOUNT)]).pipe($(([o,a,s,d])=>{if(!o||!a||!this.isLoginCovered(s))return!1;let p=this.parseAmount(d);return p>0&&e>=p}))}canDowngradeToDomestic(e){return e.length?nn(e.map(n=>this.isSorbnetRequired(n.amount,this.toRequiredTransferType(n)))).pipe($(n=>n.every(r=>!r)),We(1)):P(!0)}getThreshold(){return this.parameterService.getParameterAsString(wt.TRANSFER_SORBNET_REQUIRED_AMOUNT).pipe($(e=>this.parseAmount(e)))}getRequiredMessage(){return this.getThreshold().pipe($(e=>ln[aR].replace("{TRANSFER_SORBNET_REQUIRED_AMOUNT}",bt.amountFormat(e))))}toRequiredTransferType(e){return e.type===wn.PRZELEW_VAT?"VAT":"COMMON"}isLoginCovered(e){let n=e??[];if(n.length===0)return!0;let r=this.appStore.user()?.username;return!!r&&n.includes(r)}parseAmount(e){if(!e)return 0;let n=String(e).replace(/\s/g,"").replace(",","."),r=Number(n);return isNaN(r)?0:r}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();
7996var CE=class{static removeAllErrors(i){i.setErrors(null);for(let e in i.controls)i.controls.hasOwnProperty(e)&&i.controls[e].setErrors(null)}};var S3=(()=>{class t{constructor(e,n,r){this.notificationService=e,this.sorbnetRequiredService=n,this.sorbnetDeadlineService=r,this.errorBuffer=[]}overwriteErrorsInControlsFromValidationError(e,n){this.component=n,CE.removeAllErrors(this.component.getFormGroup()),this.errorBuffer=[],this.setErrorsFromMessagesInfoList(e),this.printUnsetErrors()}setErrorsFromMessagesInfoList(e){e.forEach(this.setErrorFromMsgInfo())}setErrorFromMsgInfo(){return e=>{let n=e.messageKey;if(n===aR){this.showSorbnetRequiredGlobally();return}let r=e.property,o=this.component.getControlByProperty(r);if(o===null){this.cacheToBuffer(n,r);return}o.enabled?this.setToInput(n,o):this.cacheToBuffer(n,r)}}setToInput(e,n){let r={};r[e]=!0,setTimeout(()=>n.setErrors(r)),n.setErrors(r),n.markAsDirty(),n.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}cacheToBuffer(e,n){if(w3.includes(e)){this.showSorbnetOutsideHoursGlobally(n);return}let r=ln[e];this.errorBuffer.push({inputName:n,errorMessage:r})}printUnsetErrors(){this.errorBuffer.length>0&&this.notificationService.formErrors(this.errorBuffer)}showSorbnetRequiredGlobally(){this.sorbnetRequiredService.getRequiredMessage().pipe(We(1)).subscribe(e=>this.notificationService.formErrors([{inputName:"kwota",errorMessage:e}]))}showSorbnetOutsideHoursGlobally(e){this.notificationService.formErrors([{inputName:e,errorMessage:this.sorbnetDeadlineService.outsideHoursMessage()}])}static{this.\u0275fac=function(n){return new(n||t)(F(Le),F(yh),F(yE))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Rt=(()=>{class t{constructor(e,n,r){this.notificationService=e,this.spinnerService=n,this.formErrorsService=r}processError(e,n=ke,r=!0){return Ge(o=>
7996(this.spinnerService.hideSpinner(),this.printError(o,e,r),n))}processErrorWithLocalFormError(e){return n=>n.pipe(Ge(r=>(this.spinnerService.hideSpinner(),Rr.isTypeOf(r)?(r.inputErrorTypes&&r.inputErrorTypes.length>0?this.formErrorsService.overwriteErrorsInControlsFromValidationError(r.inputErrorTypes,e):this.printError(r,ze.FORM_ERROR,!0),P(r)):gn(()=>r))),ae(r=>!Rr.isTypeOf(r)))}printError(e,n,r){if(!(Rr.isTypeOf(e)&&!!e.messageToShow)&&!r)return;let a=Rr.isTypeOf(e)&&e.messageToShow?e.messageToShow:n;this.notificationService.error(a)}static{this.\u0275fac=function(n){return new(n||t)(F(Le),F($r),F(S3))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Dd=(()=>{class t{constructor(e){this.notificationService=e}save(e,n){return r=>r.pipe(B(o=>this.onSave(o,e,n)),Ge(this.onError()))}open(e){return n=>n.pipe(B(r=>this.onOpen(r,e)),Ge(this.onError()))}onSave(e,n,r){let o=new Blob([e],{type:r}),a=URL.createObjectURL(o),s=document.createElement("a");s.href=a,s.download=n,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(a)}onOpen(e,n){let r=new Blob([e],{type:n}),o=window.URL.createObjectURL(r);window.open(o)}onError(){return e=>{let n=Rr.isTypeOf(e)&&e.messageToShow?e.messageToShow:ze.FETCHING_DATA_ERROR;return this.notificationService.error(n),ke}}static{this.\u0275fac=function(n){return new(n||t)(F(Le))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var br=(()=>{class t{constructor(e,n,r,o,a){this.http=e,this.notificationService=n,this.errorProviderService=r,this.fileService=o,this.injector=a,this.contractorsApi=m(oE)}getContractorsNumber(e){return this.http.get(Sz,{params:L({},e)})}getContractors(e,n=0){let r=Ae(L({},e),{pageIndex:String(n)});return this.http.get(ml,{params:r}).pipe(this.errorProviderService.processError(ze.FETCHING_DATA_ERROR,P([]))
7996)}checkIfContractorExistsByAccount(e){return this.getContractors({shortName:"null",group:"null",name:"null",iban:ue.removeWhitespaces(e)}).pipe($(n=>n.length>0))}checkIfContractorExistsByShortName(e){return this.http.get(Tz,{params:{name:e}})}saveAuthOperation(e){return this.saveUpdateAuthOperation(this.contractorsApi.savePrepare(e))}updateAuthOperation(e){return this.saveUpdateAuthOperation(this.contractorsApi.updatePrepare(e))}saveUpdateAuthOperation(e){return{prepare:()=>e.pipe($(n=>n.authMethodInfo)),perform:n=>this.contractorsApi.saveUpdatePerform(n),cancel:()=>this.contractorsApi.saveUpdateCancel()}}getAllContractorsGroups(){return this.http.get(Iz).pipe(this.errorProviderService.processError(ze.FETCHING_DATA_ERROR,P([])))}removeContractors(e){let n=[];e.forEach(o=>{n.push(String(o.id))});let r=new it({fromObject:{contractorIdList:n}});return this.http.delete(ml,{params:r}).pipe(B(()=>{this.notificationService.success(ze.CONTRACTOR_REMOVE_SUCCESS)}),this.errorProviderService.processError(ze.DELETE_ERROR,P([])))}saveCSVFile(){this.http.get(kz,{responseType:vo}).pipe(this.fileService.save(`kontrahenci-${En.getTodayWithTime()}.CSV`,Aa.TXT)).subscribe()}saveXMLFile(){this.http.get(Rz,{responseType:vo}).pipe(this.fileService.save(`kontrahenci-${En.getTodayWithTime()}.XML`,Aa.XML)).subscribe()}uploadFile(e,n){let r=new it().set("encoding",e);return this.http.post(Mz,n,{params:r})}importAuthOperation(e,n,r){return{prepare:()=>this.contractorsApi.importPrepare(e,n).pipe(B(o=>r(o.data.length)),$(o=>o.authMethodInfo)),perform:o=>this.contractorsApi.importPerform(o),cancel:()=>this.contractorsApi.importCancel()}}openTransferDialog(e){e.type&&this.injector.get(bh).openDialog(_E.parseFromContractorType(e.type),ar.getFromContractor(e),Me.NEW)}changeGroup(e){return this.http.post(Az,e).pipe(B(()=>{this.notificationService.success(ze.SUCCESS)}),this.errorProviderService.processError(ze.CONTRACTOR_GROUP_CHANGE_ERROR,P([]))
7996)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Le),F(Rt),F(Dd),F(ie))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Aoe="data-confirm-button";function DE(t){return(t.closest("mat-dialog-container")??t.ownerDocument).querySelector(`[${Aoe}]`)}var dm=(()=>{class t{constructor(e,n,r,o,a){this.elementRef=e,this.injector=n,this.autocompleteTrigger=r,this.datepickerInput=o,this.select=a,this.subscription=new _e}ngOnInit(){this.autocompleteTrigger&&this.subscription.add(this.autocompleteTrigger.optionSelections.subscribe(()=>this.focusConfirmButton())),this.datepickerInput&&this.subscription.add(this.datepickerInput.dateChange.subscribe(()=>this.focusConfirmButton())),this.select&&this.subscription.add(this.select.optionSelectionChanges.subscribe(()=>this.focusConfirmButton()))}ngOnDestroy(){this.subscription.unsubscribe()}focusConfirmButton(){Dt(()=>DE(this.elementRef.nativeElement)?.focus(),{injector:this.injector})}static{this.\u0275fac=function(n){return new(n||t)(E(Q),E(ie),E(hr,10),E(pi,10),E(si,10))}}static{this.\u0275dir=N({type:t,selectors:[["","appFocusConfirmOnSelect",""]],standalone:!1})}}return t})();var cR=(()=>{class t{constructor(e,n){this.elementRef=e,this.injector=n}onEnter(){Dt(()=>{let e=DE(this.elementRef.nativeElement);e&&!e.disabled&&e.click()},{injector:this.injector})}static{this.\u0275fac=function(n){return new(n||t)(E(Q),E(ie))}}static{this.\u0275dir=N({type:t,selectors:[["","appConfirmOnEnter",""]],hostBindings:function(n,r){n&1&&T("keydown.enter",function(){return r.onEnter()})},standalone:!1})}}return t})();var Mt=(()=>{class t{constructor(){this.class="dialog__container"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-container"],["","appDialogContainer",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Nt=(()=>{class t{constructor(e,n){this.class="dialog__header";let r=document.getElementsByClassName("cdk-overlay-pane"),o=r.item(r.length-1),a=n.createDrag(e);a.withHandles([e]),a.withRootElement(o)}static{this.\u0275fac=function(n){return new(n||t)(E(Q),E(zA))}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-header"],["","appDialogHeader",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Roe=(()=>{class t{constructor(){this.class="dialog__subheader"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-subheader"],["","appDialogSubHeader",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Ot=(()=>{class t{constructor(){this.class="dialog__content"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-content"],["","appDialogContent",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),vr=(()=>{class t{constructor(){this.class="dialog__section"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-section"],["","appDialogSection",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Nr=(()=>{class t{constructor(){this.class="dialog__section-header"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-section-header"],["","appDialogSectionHeader",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Moe=(()=>{class t{constructor(){this.class="dialog__details"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["mat-expansion-panel","appDialogDetails",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})();var dR=(()=>{class t{constructor(){this.class="dialog__btn__panel"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-btn-panel"],["","appDialogBtnPanel",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Noe=(()=>{class t{constructor(){this.class="simple__bottom__panel"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-bottom-panel"],["","appDialogBottomPanel",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})();var T3=(()=>
7996{class t{constructor(){this.subject=new O}emitClickAction(){this.subject.next()}getClickAction(){return this.subject.asObservable()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Bt=(()=>{class t{constructor(){this.el=m(Q),this.renderer=m(ot),this.renderer.setAttribute(this.el.nativeElement,"autocomplete","off")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["input"],["textarea"]]})}}return t})();var Foe=1e3,uR=(()=>{class t{constructor(){this.lockedMultiClick=new V,this.throttleTime=Foe,this.lockedMultiClickSubject=new O}clickEvent(e){e.preventDefault(),e.stopPropagation(),this.lockedMultiClickSubject.next(e)}ngOnInit(){this.subscription=this.lockedMultiClickSubject.pipe(lx(this.throttleTime)).subscribe(e=>{this.lockedMultiClick.emit(e)})}ngOnDestroy(){this.subscription?.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["","appLockedMultiClick",""]],hostBindings:function(n,r){n&1&&T("click",function(a){return r.clickEvent(a)})},outputs:{lockedMultiClick:"lockedMultiClick"},standalone:!1})}}return t})();var Loe=["uploader"];function Boe(t,i){if(t&1){let e=Se();u(0,"button",8),T("click",function(){te(e);let r=_();return ne(r.cancel())}),u(1,"mat-icon"),h(2,"close"),c(),h(3),c()}if(t&2){let e=_();g("disabled",e.cancelDisabled),l(3),se(" ",e.buttonLabelCancel," ")}}function Voe(t,i){if(t&1){let e=Se();u(0,"button",9),T("lockedMultiClick",function(){te(e);let r=_();return ne(r.confirmAddNext())}),u(1,"mat-icon"),h(2,"done"),c(),h(3),c()}if(t&2){let e=_();g("disabled",e.confirmAddNextDisabled)("loading",e.loading),l(3),se(" ",e.buttonLabelConfirmAddNext," ")}}function joe(t,i){if(t&1){let e=Se();u(0,"button",8),T("click",function(){te(e);let r=_();return ne(r.reset())}),u(1,"mat-icon"),h(2,"clear"),c(),h(3),c()}if(t&2){let e=_();g("disabled",e.resetDisabled),l(3),se(" ",e.buttonLabelReset," ")}}function Hoe(t,i){if(t&1){let e=Se();u(0,"input",10,0),T("change",function(r){te(e);let o=_();return ne(o.importFile(r))}),c()}if(t&2){let e=_();g("accept",e.acceptedFileExtensions?e.acceptedFileExtensions.join(","):null)}}var Tt=(()=>{class t{constructor(e){this.actionButtonsPanelService=e,this.loading=!1,this.withCancelButton=!0,this.withResetButton=!0,this.withImportAction=!1,this.withConfirmAddNextButton=!1,this.confirmDisabled=!1,this.confirmAddNextDisabled=!1,this.focusConfirmInitially=!1,this.cancelDisabled=!1,this.resetDisabled=!1,this.buttonLabelCancel=tt.CANCEL,this.buttonLabelReset=tt.CLEAR,this.buttonLabelConfirm=tt.CONFIRM,this.buttonLabelConfirmAddNext=tt.SAVE_ADD_NEXT,this.cancelAction=new V,this.resetAction=new V,this.confirmAction=new V,this.confirmAddNextAction=new V,this.importFileAction=new V}set uploaderContent(e){this.withImportAction&&(this.uploader=e)}ngOnInit(){this.withImportAction&&(this.subscription=this.actionButtonsPanelService.getClickAction().subscribe(()=>this.uploader?.nativeElement.click()))}cancel(){this.cancelAction.emit()}reset(){this.resetAction.emit()}confirm(){this.confirmAction.emit()}confirmAddNext(){this.confirmAddNextAction.emit()}importFile(e){this.importFileAction.emit(e),e.target.value=""}ngOnDestroy(){this.subscription?.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)(E(T3))}}static{this.\u0275cmp=k({type:t,selectors:[["app-action-buttons-panel"]],viewQuery:function(n,r){if(n&1&&ve(Loe,5),n&2){let o;H(o=U())&&(r.uploaderContent=o.first)}},inputs:{loading:"loading",withCancelButton:"withCancelButton",withResetButton:"withResetButton",withImportAction:"withImportAction",acceptedFileExtensions:"acceptedFileExtensions",withConfirmAddNextButton:"withConfirmAddNextButton",confirmDisabled:"confirmDisabled",confirmAddNextDisabled:"confirmAddNextDisabled",focusConfirmInitially:"focusConfirmInitially",cancelDisabled:"cancelDisabled",resetDisabled:"resetDisabled",buttonLabelCancel:"buttonLabelCancel",buttonLabelReset:"buttonLabelReset",buttonLabelConfirm:"buttonLabelConfirm",buttonLabelConfirmAddNext:"buttonLabelConfirmAddNext"},outputs:{cancelAction:"cancelAction",resetAction:"resetAction",confirmAction:"confirmAction",confirmAddNextAction:"confirmAddNextAction",importFileAction:"importFileAction"},standalone:!1,decls:11,vars:8,consts:[["uploader",""],[1,"buttons-position","flex-row","justify-between"],[1,"flex-row","gap-10"],["mat-raised-button","",3,"disabled"],["appLockedMultiClick","","mat-raised-button","",3,"disabled","loading"],[1,"flex-row","justify-end","gap-10"],["autocomplete","off","hidden","","type","file",3,"accept"],["data-confirm-button","","mat-raised-button","","appLockedMultiClick","",3,"lockedMultiClick","disabled","loading"],["mat-raised-button","",3,"click","disabled"],["appLockedMultiClick","","mat-raised-button","",3,"lockedMultiClick","disabled","loading"],["autocomplete","off","hidden","","type","file",3,"change","accept"]],template:function(n,r){n&1&&(u(0,"div",1)(1,"div",2),v(2,Boe,4,2,"button",3),v(3,Voe,4,3,"button",4),c(),u(4,"div",5),v(5,joe,4,2,"button",3),v(6,Hoe,2,1,"input",6),u(7,"button",7),T("lockedMultiClick",function(){return r.confirm()}),u(8,"mat-icon"),h(9,"done"),c(),h(10),c()()()),n&2&&(l(2),y(r.withCancelButton?2:-1),l(),y(r.withConfirmAddNextButton?3:-1),l(2),y(r.withResetButton?5:-1),l(),y(r.withImportAction?6:-1),l(),g("disabled",r.confirmDisabled)("loading",r.loading),oe("cdkFocusInitial",r.focu
7996sConfirmInitially?"":null),l(3),se(" ",r.buttonLabelConfirm," "))},dependencies:[qn,zn,Bt,ac,uR],styles:[".buttons-position[_ngcontent-%COMP%]{margin-top:10px}input[type=file][_ngcontent-%COMP%]{display:none}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.justify-end[_ngcontent-%COMP%]{justify-content:flex-end}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.gap-10[_ngcontent-%COMP%]{gap:10px}"]})}}return t})();var Uoe=["trigger"];function zoe(t,i){if(t&1&&(u(0,"mat-option",7),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),se(" ",e," ")}}var EE=(()=>{class t{constructor(e,n,r,o){this.dialogRef=e,this.notificationService=n,this.contractorService=r,this.data=o,this.ButtonLabels=tt,this.listFlag=!1,this.data&&(this.contractorsForUpdateGroup=this.data.details[0]),this.chooseGroupFC=new z}ngOnInit(){this.chooseGroupFC.setValue(""),this.getContractorsGroups()}close(){this.dialogRef.close()}triggerDropDownList(e){e.stopPropagation(),this.listFlag?(this.autoComplete.closePanel(),this.listFlag=!1):(this.autoComplete.openPanel(),this.listFlag=!0)}closeDropDownList(){this.autoComplete.closePanel()}updateContractorGroup(){if(this.data){let e={contractors:this.data.details,group:this.chooseGroupFC.value};this.contractorService.changeGroup(e).pipe(B(()=>{let n=this.contractorsForUpdateGroup.length>1?"grupy":"grup\u0119";this.notificationService.success(`Dodano ${n}`),this.close()}),Ge(()=>(this.notificationService.error(ze.SAVING_ERROR),this.close(),P([])))).subscribe()}else this.dialogRef.close(this.chooseGroupFC.value)}getContractorsGroups(){this.contractorService.getAllContractorsGroups().pipe(B(e=>{e.length===0&&this.notificationService.default("Brak grup w bazie")}),Ge(()=>(this.notificationService.error(ze.FETCHING_DATA_ERROR),P([])))).subscribe(e=>this.groups=e)}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(Le),E(br),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-assign-group-dialog"]],viewQuery:function(n,r){if(n&1&&ve(Uoe,5),n&2){let o;H(o=U())&&(r.autoComplete=o.first)}},standalone:!1,decls:17,vars:5,consts:[["trigger","matAutocompleteTrigger"],["auto","matAutocomplete"],["appearance","outline"],["autocomplete","off","appFocusConfirmOnSelect","","appConfirmOnEnter","","matInput","","placeholder","Wpisz/Wybierz grup\u0119",3,"input","formControl","matAutocomplete"],["mat-icon-button","","matSuffix",""],[3,"click"],["autoActiveFirstOption",""],[3,"value"],[3,"cancelAction","confirmAction","withResetButton","confirmDisabled","buttonLabelConfirm"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Wyb\xF3r grupy przy imporcie"),c(),u(3,"app-dialog-content")(4,"mat-form-field",2)(5,"mat-label"),h(6,"Grupa"),c(),u(7,"input",3,0),T("input",function(){return r.closeDropDownList()}),c(),u(9,"button",4)(10,"mat-icon",5),T("click",function(a){return r.triggerDropDownList(a)}),h(11,"more_vert"),c()(),u(12,"mat-autocomplete",6,1),He(14,zoe,2,2,"mat-option",7,at),c()()(),u(16,"app-action-buttons-panel",8),T("cancelAction",function(){return r.close()})("confirmAction",function(){return r.updateContractorGroup()}),c()()),n&2){let o=ye(13);l(7),g("formControl",r.chooseGroupFC)("matAutocomplete",o),l(7),Ue(r.groups),l(2),g("withResetButton",!1)("confirmDisabled",(r.chooseGroupFC.value==null?null:r.chooseGroupFC.value.length)===0)("buttonLabelConfirm",r.ButtonLabels.OK)}},dependencies:[Je,Xe,dm,cR,Ve,qe,Pn,ya,Qt,hr,fr,zn,et,Mt,Nt,Ot,$e,Tt],styles:[".width[_ngcontent-%COMP%]{width:100%}.subtitle[_ngcontent-%COMP%]{color:#2196f3;font-size:15px;margin-bottom:3px}"]})}}return t})();var wE=(()=>{class t{constructor(e){this.control=e}onInputChange(e){let n=this.control.control;if(!n)return;let r=n.value,o=bt.getOnlyNumbers(r);n.setValue(o),r!==o&&e.stopPropagation()}static{this.\u0275fac=function(n){return new(n||t)(E(Li))}}static{this.\u0275dir=N({type:t,selectors:[["input","appOnlyNumbers",""]],hostBindings:function(n,r){n&1&&T("input",function(a){return r.onInputChange(a)})},standalone:!1})}}return t})();var q_=(()=>{class t{constructor(){this.IBAN_MAX_LENGTH=35,this.fb=m(Er),this.form=this.fb.nonNullable.group({number:this.fb.nonNullable.control("",[G.required,G.maxLength(this.IBAN_MAX_LENGTH),G.pattern(ue.ibanPattern)]),name:this.fb.nonNullable.control(""),address:this.fb.nonNullable.control(""),city:this.fb.nonNullable.control("")})}reset(e={emitEvent:!0}){this.form.reset({number:"",name:"",address:"",city:""},e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var pl=(()=>{class t{constructor(e){this.http=e}getDomesticBanks(e,n){return this.http.get(cE,{params:Ae(L({},e),{pageIndex:String(n)})})}getDomesticBank(e){return this.http.get(`${cE}/${e}`)}getDomesticBanksCount(e){return this.http.get(Fz,{params:L({},e)})}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var pR=(()=>{class t{getBankByAccount(e){return ue.isEmpty(e)?ke:this.banksService.getDomesticBank(e)}constructor(){this.banksService=m(pl),this.bankInputFormService=m(q_),this.bankInputForm=this.bankInputFormService.form,this.listen()}listen(){this.bankInputForm.controls.number.valueChanges.pipe(hn(),Re(this.bankInputForm.controls.number.value),It(),hi(500),W(this.getBankByAccount.bind(this)),B(e=>{this.bankInputForm.setValue({number:this.bankInputForm.controls.number.value,name:e.bankName,address:e.address,city:e.address2},{emitEvent:!1}),this.bankInputForm.updateValueAndValidity({emitEvent:!1})}
7996)).subscribe()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var Y_=(()=>{class t{static{this.REPAYMENTS_DIALOG_TITLE="Najbli\u017Csze sp\u0142aty"}static{this.MASS_STATEMENTS_TITLE="Wybierz wyci\u0105g"}static{this.EXPORT_MT940_TITLE="Wybierz"}static{this.ACCEPT_TRANSFER_DELETE_TITLE="Potwierd\u017A usuni\u0119cie"}static{this.ACCEPT_TRANSFER_DELETE_MESSAGE="Czy na pewno chcesz usun\u0105\u0107 wybrane rekordy?"}static{this.ACCEPT_TRANSFER_TO_SIGN_TITLE="Potwierd\u017A przekazanie do podpisu"}static{this.ACCEPT_TRANSFER_TO_SIGN_MESSAGE="Czy na pewno chcesz przekaza\u0107 do podpisu ?"}static{this.DELETE_TOP_UP_TITLE="Potwierd\u017A usuni\u0119cie"}static{this.DELETE_TOP_UP_MESSAGE="Czy na pewno chcesz usun\u0105\u0107 wybrany rekord?"}static{this.FAST_EXECUTION_TOP_UP_TITLE="Potwierd\u017A szybk\u0105 realizacj\u0119"}static{this.TO_SIGN_TOP_UP_TITLE="Potwierd\u017A przekazanie"}static{this.FAST_EXECUTION_TOP_UP_MESSAGE="Czy na pewno chcesz wykona\u0107 szybk\u0105 realizacj\u0119 ?"}static{this.TO_SIGN_TOP_UP_MESSAGE="Czy na pewno chcesz przekaza\u0107 do podpisu ?"}static{this.EXECUTION_DETAILS="Stan realizacji przelew\xF3w"}static{this.DIALOG_CLOSE="Zamkni\u0119to"}static{this.DIALOG_SUCCESS="Potwierdzono"}static{this.DIALOG_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d"}static{this.CREATE_BUNDLE_TITLE="Nowa Paczka"}static{this.EDIT_BUNDLE_TITLE="Edycja Paczki"}static{this.ACCEPT_CONTRACTOR_DELETE_TITLE="Potwierd\u017A usuni\u0119cie"}static{this.ACCEPT_CONTRACTOR_DELETE_MESSAGE="Czy na pewno chcesz usun\u0105\u0107 kontrahenta z listy?"}static{this.ERROR_VALIDATION="Wyst\u0105pi\u0142 b\u0142\u0105d"}static{this.LOCKS_TITLE="Blokady"}static{this.FRIENDLY_NAMES_TITLE="Podaj przyjazn\u0105 nazw\u0119"}static{this.CONFIRM_OPERATION="Potwierd\u017A operacj\u0119"}static{this.NO_TURNOVER_ACCOUNTS="Brak rachunk\xF3w do zaznaczenia"}}return t})();var lc=(function(t){return t[t.BASIC_CONFIRM=0]="BASIC_CONFIRM",t[t.BASIC_YES_NO_CONFIRM=1]="BASIC_YES_NO_CONFIRM",t[t.SESSION_CONFIRM=2]="SESSION_CONFIRM",t})(lc||{});function Goe(t,i){if(t&1&&(u(0,"p",0),h(1),c()),t&2){let e=_();l(),S(e.message)}}function Woe(t,i){if(t&1&&(u(0,"p",0)(1,"strong"),h(2),c()()),t&2){let e=_();l(2),S(e.hint)}}function $oe(t,i){if(t&1&&(u(0,"p"),h(1),c()),t&2){let e=_();l(),se("Ilo\u015B\u0107 zaznaczonych operacji: ",e.data.details.length)}}function qoe(t,i){if(t&1&&(u(0,"p"),h(1),c()),t&2){let e=_();l(),se("Do ko\u0144ca sesji pozosta\u0142o ",e.data.details.timeLeft,". Potwierd\u017A je\u015Bli chcesz przed\u0142u\u017Cy\u0107 sesj\u0119")}}var wd=(()=>{class t{constructor(e,n,r,o,a){this.dialogRef=e,this.notificationService=n,this.spinnerService=r,this.errorProcessingService=o,this.data=a,this.okConfirmation=tt.CONFIRM,this.noConfirmation=tt.CANCEL,this.showCancelBtn=!0,this.CONFIRM_TYPES=lc,this.title=this.data.title,this.message=this.data.message??"",this.hint=this.data.hint??"",this.errorMessage=this.data.errorMessage??"",this.showCancelBtn=this.data.showCancelBtn??!0}ngOnInit(){this.data.type===lc.BASIC_YES_NO_CONFIRM&&(this.okConfirmation=tt.YES,this.noConfirmation=tt.NO),this.data.okLabel&&(this.okConfirmation=this.data.okLabel)}discard(){this.dialogRef.close({state:!1})}confirm(){let e=this.data.confirmation;if(e){let n=this.data.details?e?.confirm(this.data.details):e.confirm();this.spinnerService.showSpinner(),n.pipe(B(()=>{this.notificationService.success(Y_.DIALOG_SUCCESS),this.spinnerService.hide
7996Spinner(),this.dialogRef.close({state:!0})}),this.errorProcessingService.processError(ze.ERROR_OCCURED)).subscribe()}else this.dialogRef.close({state:!0})}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(Le),E($r),E(Rt),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-confirm-dialog"]],standalone:!1,decls:11,vars:11,consts:[[1,"preserve-whitespace"],[1,"error-message"],[3,"cancelAction","confirmAction","withCancelButton","focusConfirmInitially","buttonLabelCancel","buttonLabelConfirm","withResetButton"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content"),v(4,Goe,2,1,"p",0),v(5,Woe,3,1,"p",0),v(6,$oe,2,1,"p"),v(7,qoe,2,1,"p"),u(8,"p",1),h(9),c()(),u(10,"app-action-buttons-panel",2),T("cancelAction",function(){return r.discard()})("confirmAction",function(){return r.confirm()}),c()()),n&2&&(l(2),S(r.title),l(2),y(r.message?4:-1),l(),y(r.hint?5:-1),l(),y(r.data.details&&r.data.type!==r.CONFIRM_TYPES.SESSION_CONFIRM?6:-1),l(),y(r.data.type===r.CONFIRM_TYPES.SESSION_CONFIRM?7:-1),l(2),S(r.errorMessage),l(),g("withCancelButton",r.showCancelBtn)("focusConfirmInitially",r.data.focusConfirmInitially??!0)("buttonLabelCancel",r.noConfirmation)("buttonLabelConfirm",r.okConfirmation)("withResetButton",!1))},dependencies:[Mt,Nt,Ot,Tt],styles:[".error-message[_ngcontent-%COMP%]{color:red}.preserve-whitespace[_ngcontent-%COMP%]{white-space:pre-wrap}"]})}}return t})();var A3=(()=>{class t{constructor(){this.ibanRegex=new RegExp("^(?:((?:IT|SM)\\d{2}[A-Z]{1}\\d{22})|(NL\\d{2}[A-Z]{4}\\d{10})|(LV\\d{2}[A-Z]{4}\\d{13})|((?:BG|GB|IE)\\d{2}[A-Z]{4}\\d{14})|(GI\\d{2}[A-Z]{4}\\d{15})|(RO\\d{2}[A-Z]{4}\\d{16})|(MT\\d{2}[A-Z]{4}\\d{23})|(NO\\d{13})|((?:DK|FI)\\d{16})|((?:SI)\\d{17})|((?:AT|EE|LU|LT)\\d{18})|((?:HR|LI|CH)\\d{19})|((?:DE|VA)\\d{20})|((?:AD|CZ|ES|MD|SK|SE)\\d{22})|(PT\\d{23})|((?:IS)\\d{24})|((?:BE)\\d{14})|((?:FR|MC|GR)\\d{25})|((?:PL|HU|CY)\\d{26}))$")}validate(e){return this.ibanRegex.test(e.replace(/\s/g,"").toUpperCase())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var k3=(()=>{class t{constructor(){this.accountNumberRegexp=new RegExp("^[0-9]{18,26}$")}validate(e){return this.accountNumberRegexp.test(e.replace(/\s/g,"").toUpperCase())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Dut=(()=>{class t{isImpossible(e){return Array.isArray(e.msgInfos)&&!!e.msgInfos.length&&this.isSorbnetError(e.msgInfos[0])}isSorbnetError(e){return e.messageKey==="sorbnet"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var xE=(()=>{class t{constructor(e,n,r,o,a){this.contractorService=e,this.dialog=n,this.ibanValidationService=r,this.accountNumberValidationService=o,this.notificationService=a}validate(e){return Wn(()=>P(ct.FOREIGN_TRANSFER===e.type?this.ibanValidationService.validate(e.targetAccount):this.accountNumberValidationService.validate(e.targetAccount))).pipe(W(n=>n?P(!0):this.openConfirmationDialogForInvalidIbanOrNrb(e.type)),ae(Boolean),W(()=>this.checkShortNameUniqueness(e)),ae(Boolean),W(()=>this.contractorService.checkIfContractorExistsByAccount(e.targetAccount)),W(n=>n?this.openConfirmationDialogAndDoProperAction():P(!0)))}checkShortNameUniqueness(e){return e.id?P(!0):this.contractorService.checkIfContractorExistsByShortName(e.shortName).pipe(B(n=>{n&&this.notificationService.error(ln["nazwaSkrot.exists"])}),$(n=>!n))}openConfirmationDialogAndDoProperAction(){let e=new Jt;return e.data={title:"Potwierd\u017A numer rachunku",message:"Kontrahent o podanym numerze rachunku ju\u017C istnieje, czy chcesz dopisa\u0107 nowego?",type:lc.BASIC_YES_NO_CONFIRM},this.dialog.open(wd,e).afterClosed().pipe($(n=>n.state))}openConfirmationDialogForInvalidIbanOrNrb(e){let n=new Jt,r=this.returnMessageForIbanOrNrbDialog(e);return n.data={title:"Potwierd\u017A numer rachunku",message:r,type:lc.BASIC_YES_NO_CONFIRM},this.dialog.open(wd,n).afterClosed().pipe($(o=>o.state))}returnMessageForIbanOrNrbDialog(e){return ct.FOREIGN_TRANSFER===e?"Podany numer rachunku nie jest zgodny z formatem IBAN. Czy jeste\u015B pewien, \u017Ce podany numer jest poprawny?":"Podany numer rachunku nie jest zgodny z formatem NRB. Czy jeste\u015B pewien, \u017Ce podany numer jest poprawny?"}static{this.\u0275fac=function(n){return new(n||t)(F(br),F(mt),F(A3),F(k3),F(Le))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Fut="transfer_list",Put="transfer_sort",Lut="transfer_sort_direction",But="execution_list",Vut="execution_sort",jut="execution_sort_direction",Hut="sign_list",Uut="sign_sort",zut="sign_sort_direction",Gut="deposit_list",Wut="deposit_sort",$ut="deposit_sort_direction",qut="standing_order_list",Yut="standing_order_sort",Kut="standing_order_sort_direction",Xut="gsm_boost_sort",Zut="gsm_boost_sort_direction",hR="contractors_list",fR="contractors_sort",gR="contractors_sort_direction",Qut="bank_list",Jut="banks_sort",emt="banks_sort_direction",_R="foreign_bank_list",bR="foreign_banks_sort",vR="foreign_banks_sort_direction",yR="tax_office_list",CR="tax_office_sort",DR="tax_office_sort_direction",tmt="interest_rate_sort",nmt="interest_rate_direction",imt="exchange_rate_sort",rmt="exchange_rate_direction",omt="approvals_interface_preference",R3="selected_client_id",amt="mobile_app_banner_dismissed";var ka=class extends tD{constructor(){super(...arguments),this.comparator=new Intl.Collator("pl",{sensitivity:"base",numeric:!0}).compare,this.sortData=(i,e)=>{let n=e.active,r=e.direction;return this.sortDataCore(i,n,r)}}sortDataCore(i,e,n){return!e||n===""?i:i.sort((r,o)=>{let a=this.emptyIfUndefined(this.sortingDataAccessor(r,e)),s=this.emptyIfUndefined(this.sortingDataAccessor(
7996o,e));return this.comparator(a,s)*(n==="asc"?1:-1)})}emptyIfUndefined(i){return i===void 0?"":i}};var umt="desc";var mmt=[10,20,50,100],pmt=10,hmt=0;var Ch=(()=>{class t{constructor(e,n){this.http=e,this.notificationService=n}getTaxOfficesFilterList(e,n=0){let r=new it().set("pageIndex",n.toString());return this.http.post(v3,e,{params:r}).pipe(Ge(()=>(this.notificationService.error(ze.FETCHING_DATA_ERROR),P([]))))}getTaxOfficeFromIBAN(e){let n={accountIban:e};return this.getTaxOfficesFilterList(n)}getSymbolOfPaymentTypes(e){let n=new it().set("sfpGrp",e.toString());return this.http.get(C3,{params:n})}getTaxOfficeCount(e){return this.http.post(y3,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Le))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var Xoe={authentication:"login_authentication_failed",password_expiration:"login_password_expiration_failed",session_data:"login_session_data_failed",terms:"login_terms_failed",messages:"login_messages_failed"},Zoe={CANCELLED:"login_cancelled_by_user",ABORTED:"login_second_stage_aborted",PREPARE_FAILED:"login_second_stage_prepare_failed",UNKNOWN:"login_second_stage_failed",[kr.AUTH_INCORRECT]:"login_second_stage_auth_incorrect",[kr.AUTH_EXPIRED]:"login_second_stage_auth_expired",[kr.AUTH_BLOCKED]:"login_second_stage_auth_blocked",[kr.GENERAL]:"login_second_stage_failed"},Qoe="login_failed",M3="login_terms_declined";function N3(t){return Zoe[t]}var um=class extends Error{constructor(i,e){super(e instanceof Error?e.message:String(e)),this.stage=i,this.cause=e}};function Dh(t){return Ge(i=>gn(()=>i instanceof um?i:new um(t,i)))}function O3(t){let i=t instanceof um?t.cause:t;return Joe(i)?i.loginFailureReason:t instanceof um?Xoe[t.stage]:Qoe}function F3(t){return t instanceof um?t.cause:t}function Joe(t){return typeof t?.loginFailureReason=="string"}var li=(()=>{class t{static{this.SMALL=["dialog","small"]}static{this.MEDIUM=["dialog","medium"]}static{this.LARGE=["dialog","large"]}}return t})();var cc=(function(t){return t[t.GENERAL_SECURITY_ERROR=100]="GENERAL_SECURITY_ERROR",t[t.PASSWORD_EXPIRED=101]="PASSWORD_EXPIRED",t[t.HOMENET_SECURITY_ERROR=102]="HOMENET_SECURITY_ERROR",t[t.MISSING_PERMISSION=103]="MISSING_PERMISSION",t[t.AUTHORIZATION_NEEDED=104]="AUTHORIZATION_NEEDED",t[t.SESSION_SECURITY_ERROR=105]="SESSION_SECURITY_ERROR",t[t.GENERAL_AUTHORIZATION_ERROR=200]="GENERAL_AUTHORIZATION_ERROR",t[t.INCORRECT_AUTHORIZATION=201]="INCORRECT_AUTHORIZATION",t[t.EXPIRED_AUTHORIZATION=202]="EXPIRED_AUTHORIZATION",t[t.NO_AUTHORIZATION_METHOD=203]="NO_AUTHORIZATION_METHOD",t[t.BLOCKED_AUTHORIZATION=204]="BLOCKED_AUTHORIZATION",t[t.LOGIN_BLOCKED=205]="LOGIN_BLOCKED",t[t.WRONG_USERNAME_OR_PASSWORD=206]="WRONG_USERNAME_OR_PASSWORD",t[t.NO_CONNECTION_TO_EJB=207]="NO_CONNECTION_TO_EJB",t[t.GENERAL_VALIDATION_ERROR=300]="GENERAL_VALIDATION_ERROR",t[t.INCORECT_BUNDLE=301]="INCORECT_BUNDLE",t[t.UNAVAILABLE_FUNCTION=302]="UNAVAILABLE_FUNCTION",t[t.BUNDLE_FLOW=303]="BUNDLE_FLOW",t[t.NO_FREE_FUNDS=304]="NO_FREE_FUNDS",t[t.WRONG_BUNDLE_DATA=305]="WRONG_BUNDLE_DATA",t[t.UNAVAILABLE_ACTION=306]="UNAVAILABLE_ACTION",t[t.BUNDLE_NOT_EDITABLE=307]="BUNDLE_NOT_EDITABLE",t[t.VALUE_NOT_EDITABLE=308]="VALUE_NOT_EDITABLE",t[t.DISABLED_ACTION=309]="DISABLED_ACTION",t[t.USER_IP_INVALID=310]="USER_IP_INVALID",t[t.AUTODEALIN_ID_INVALID=311]="AUTODEALIN_ID_INVALID",t[t.CARD_LIMITS_INVALID=312]="CARD_LIMITS_INVALID",t[t.WRONG_IBAN=313]="WRONG_IBAN",t[t.WRONG_CONTRACTOR_DATA=314]="WRONG_CONTRACTOR_DATA",t[t.INCORRECT_FILE=315]="INCORRECT_FILE",t[t.LARGE_FILE_SIZE=316]="LARGE_FILE_SIZE",t[t.EXIMEE_NO_REQUIRED_DATA=317]="EXIMEE_NO_REQUIRED_DATA",t[t.WRONG_CONDITION_IN_SIGNATURE_RULE=318]="WRONG_CONDITION_IN_SIGNATURE_RULE",t[t.WRONG_DATE_FROM_PAST=319]="WRONG_DATE_FROM_PAST",t[t.DISPOSITION_MODIFICATION_ERROR=320]="DISPOSITION_MODIFICATION_ERROR",t[t.EMPTY_BUNDLE=321]="EMPTY_BUNDLE",t[t.SORBNET_NOT_WORK_DAY=322]="SORBNET_NOT_WORK_DAY",t[t.SORBNET_AFTER_DEADLINE_HOUR=323]="SORBNET_AFTER_DEADLINE_HOUR",t[t.SORBNET_BEFORE_OPENING_HOUR=326]="SORBNET_BEFORE_OPENING_HOUR",t[t.PASSWORD_POLICY=327]="PASSWORD_POLICY",t[t.GENERAL_SERVER_ERROR=500]="GENERAL_SERVER_ERROR",t[t.TOO_MANY_REQUEST=501]="TOO_MANY_REQUEST",t[t.MAX_UPLOAD_SIZE=502]="MAX_UPLOAD_SIZE",t})(cc||{});var eae=[or.KIR_M_SZAFIR],P3=[{value:or.KIR_CARBON,label:"KIR Carbon"},{value:or.KIR_GRAPHITE,label:"KIR Graphite Szafir"},{value:or.CRYPTOCARD_GRAPHITE,label:"CryptoCard Graphite"},{value:or.KIR_M_SZAFIR,label:"KIR mSzafir (chmurowy)"},{value:or.SIGILLUM_BLUE,label:"Sigillum Blue"},{value:or.SIGILLUM_DARK,label:"Sigillum Dark"},{value:or.SIGILLUM_M_EDO_APP,label:"Sigillum eDO App (chmurowy)"},{value:or.ASSECO,label:"Certum (Opcja 1)"},{value:or.ASSECO_OLD,label:"Certum (Opcja 2)"},{value:or.ASSECO_M_SIMPLY_SIGN,label:"Asseco SimplySign (chmurowy)"},{value:or.CENCERT_OLD,label:"CenCert (ENCARD)"},{value:or.CENCERT,label:"CenCert (SafeNet)"},{value:or.CENCERT_M_RSIGN,label:"CenCert rSign (chmurowy)"},{value:or.EUROCERT,label:"EuroCert"}];function wR(t){return t!==null&&!eae.includes(t)}var tae="Aplikacja SignNetHost nie odpowiedzia\u0142a w wyznaczonym czasie. Sprawd\u017A, czy nadal dzia\u0142a, i spr\xF3buj ponownie.",nae="Rozszerzenie (wtycz
7996ka) SignNet nie mo\u017Ce po\u0142\u0105czy\u0107 si\u0119 z aplikacj\u0105 SignNetHost. Sprawd\u017A, czy jest zainstalowana i uruchomiona.",iae="Nie wykryto rozszerzenia (wtyczki) SignNet w przegl\u0105darce. Zainstaluj je, od\u015Bwie\u017C stron\u0119 i spr\xF3buj ponownie.",L3="B\u0142\u0105d podczas autoryzacji podpisem kwalifikowanym",rae=[[["ckr_pin_invalid","ckr_pin_incorrect","pkcs11badpinexception","bledny kod pin"],"B\u0142\u0119dny PIN"],[["ckr_pin_locked","pkcs11pinlockedexception","pin do certyfikatu jest zablokowany"],"Zablokowany PIN"],[["niepoprawny format"],"PIN ma nieprawid\u0142owy format"],[["niepoprawna dlugosc"],"PIN ma nieprawid\u0142ow\u0105 d\u0142ugo\u015B\u0107"],[["pin do certyfikatu jest niewazny"],"PIN straci\u0142 wa\u017Cno\u015B\u0107"],[["nie znaleziono waznego certyfikatu"],"Certyfikat na karcie nie odpowiada temu zarejestrowanemu w banku. Sprawd\u017A, czy u\u017Cywasz w\u0142a\u015Bciwej karty."],[["certyfikat stracil waznosc"],"Certyfikat straci\u0142 wa\u017Cno\u015B\u0107"],[["illegal_cert_type","unsupported_cert_type"],"B\u0142\u0119dny typ certyfikatu"],[["slots_not_found","pkcs11nocertfoundexception","nie odnaleziono certyfikatu"],"
7996Nie wykryto podpisu kwalifikowanego"],[["module_not_found","module not found"],"Nie mo\u017Cna odnale\u017A\u0107 sterownik\xF3w podpisu kwalifikowanego"],[["headlessexception"],"Nie mo\u017Cna odczyta\u0107 zawarto\u015Bci karty"],[["pkcs11nocardfoundexception","device is not in ready state"],"Karta jest pusta lub nie w\u0142o\u017Cono/pod\u0142\u0105czono karty"],[["blad podczas logowania","failed to login"],"Nie uda\u0142o si\u0119 zalogowa\u0107 do karty. Sprawd\u017A PIN i pod\u0142\u0105czenie czytnika."],[["pkcs11signexception","error signing message","signature verification failed"],"B\u0142\u0105d podczas podpisywania"],[["certificateexception"],"B\u0142\u0105d certyfikatu"],[["pkcs11initializationexception","pkcs#11 initialization failed"],"B\u0142\u0105d inicjalizacji karty"]];function oae(t){return t.normalize("NFD").replace(new RegExp("\\p{M}","gu"),"").replace(/ł/g,"l").replace(/Ł/g,"L").toLowerCase()}function xR(t,i){let e=oae([...t,i??""].join(" ")),n=rae.find(([r])=>r.some(o=>e.includes(o)));return n?n[1]:L3}var dc=class t extends Error{constructor(i,e,n=[],r=null){super(i),this.kind=e,this.logs=n,this.detail=r,this.name="SignNetError",Object.setPrototypeOf(this,t.prototype)}static failed(i,e){let n=xR(i,e),r=e&&n===L3?e:null;return new t(n,"FAILED",i,r)}static timeout(){return new t(tae,"TIMEOUT")}static noApplication(){return new t(nae,"NO_APPLICATION")}static noExtension(){return new t(iae,"NO_EXTENSION")}};var aae="send-message-event",B3="get-message-event",sae=12e4,lae=6e3,cae={type:"PING"},dae={state:"NO_APPLICATION"},V3={state:"NO_EXTENSION"},j3=(()=>{class t{sign(e){return this.exchange(e,n=>!uae(n)).pipe(Nm({first:sae,with:()=>gn(()=>dc.timeout())}),$(n=>pae(n)))}ping(){return this.exchange(cae,()=>!0).pipe($(e=>mae(e)),Nm({first:lae,with:()=>P(V3)}),Ge(()=>P(V3)))}exchange(e,n){return new Ne(r=>{let o=a=>{let s=a.detail;r.next(s)};return document.addEventListener(B3,o),document.dispatchEvent(new CustomEvent(aae,{detail:{data:e},bubbles:!0,cancelable:!0})),()=>document.removeEventListener(B3,o)}).pipe(ae(n),We(1))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function uae(t){return!!t&&t.version!==void 0}function mae(t){return t?t.version?{state:"CURRENT",version:t.version}:{state:"OUTDATED"}:dae}function pae(t){if(!t)throw dc.noApplication();let i=t.logs??[],e=hae(t.signedData);if(t.status!=="SUCCESS"||e.length===0)throw dc.failed(i,t.errorMsg);return{signedStrings:e,logs:i}}function hae(t){return t?(Array.isArray(t)?t:[t]).filter(e=>!!e):[]}var fae="2.0.0",gae={signNetState:null,signNetVersion:null,signing:!1,errorMessage:null,errorDetail:null},SR=(()=>{class t{constructor(){this.state=Z(gae),this.signNetState=Ct(()=>this.state().signNetState),this.probed=Ct(()=>this.state().signNetState!==null),this.signing=Ct(()=>this.state().signing),this.errorMessage=Ct(()=>this.state().errorMessage),this.errorDetail=Ct(()=>this.state().errorDetail),this.signNet=m(j3),this.signNetReports=m(sz),this.destroyRef=m(dn),this.signNetProbe=_e.EMPTY}probeSignNet(){this.signNetProbe=this.signNet.ping().pipe(hn(this.destroyRef)).subscribe(e=>this.rememberSignNet(e))}sign(e){return Wn(()=>(this.signNetProbe.unsubscribe(),this.clearError(),this.patch({signing:!0}),this.confirmSomethingIsListening().pipe(W(()=>this.dispatchSignature(e)),Ge(n=>this.handleFailure(n)),Zr(()=>this.patch({signing:!1})))))}showError(e,n=null){this.patch({errorMessage:e,errorDetail:e?n:null})}clearError(){this.showError(null)}confirmSomethingIsListening(){return this.state().signNetState!=="NO_EXTENSION"?P(void 0):this.signNet.ping().pipe(B(e=>this.rememberSignNet(e)),W(e=>e.state==="NO_EXTENSION"?gn(()=>dc.noExtension()):P(void 0)))}dispatchSignature(e){return this.signNet.sign({toSign:e.toSign,publicKey:e.publicKey,certType:e.certType,param:dh.encode(e.pin)}).pipe(B(n=>this.reportAttempt("SUCCESS",n.logs)),$(n=>_ae(e.certType,n)))}rememberSignNet(e){this.patch({signNetState:e.state,signNetVersion:e.version??null})}handleFailure(e){let n=e instanceof dc?e:null;return this.reportAttempt("FAILURE",n?.logs??[],n?.kind),this.showError(n?.message??xR([]),n?.detail??null),ke}reportAttempt(e,n,r){let o=this.state();this.signNetReports.report({outcome:e,signNetVersion:o.signNetVersion??fae,failureKind:r,logs:n.length>0?[...n]:void 0}).pipe(Ge(()=>ke),hn(this.destroyRef)).subscribe()}patch(e){this.state.update(n=>L(L({},n),e))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();function _ae(t,i){return{authType:ps.CERTIFICATE,signedStrings:i.signedStrings,certType:t,status:"SUCCESS"}}var bae=["certTypeSelect"],vae=["pinInput"],yae=(t,i)=>i.value;function Cae(t,i){t&1&&(u(0,"p",3),x(1,"mat-spinner",4),u(2,"span"),h(3,"Sprawdzanie aplikacji podpisuj\u0105cej\u2026"),c()())}function Dae(t,i){t&1&&(u(0,"p",5),h(1," Nie wykryto rozszerzenia (wtyczki) SignNet w przegl\u0105darce. Bez niego podpis si\u0119 nie powiedzie \u2014 zainstaluj rozszerzenie i od\u015Bwie\u017C stron\u0119. "),c())}
7996function Eae(t,i){t&1&&(u(0,"p",5),h(1," Rozszerzenie (wtyczka) SignNet nie mo\u017Ce po\u0142\u0105czy\u0107 si\u0119 z aplikacj\u0105 SignNet. Uruchom aplikacj\u0119 \u2014 pobierzesz j\u0105 ze strony logowania, przycisk pod formularzem logowania \u2014 i podpisz bez zamykania tego okna. "),c())}function wae(t,i){t&1&&(u(0,"p",6),h(1," U\u017Cywasz starszej wersji aplikacji SignNet. Pobierz aktualn\u0105 ze strony logowania (przycisk pod formularzem logowania). "),c())}function xae(t,i){if(t&1&&v(0,Dae,2,0,"p",5)(1,Eae,2,0,"p",5)(2,wae,2,0,"p",6),t&2){let e,n=_();y((e=n.signNetState())==="NO_EXTENSION"?0:e==="NO_APPLICATION"?1:e==="OUTDATED"?2:-1)}}function Sae(t,i){if(t&1&&(u(0,"mat-option",9),h(1),c()),t&2){let e=i.$implicit;g("value",e.value),l(),S(e.label)}}function Tae(t,i){if(t&1){let e=Se();u(0,"mat-form-field",7)(1,"mat-label"),h(2,"PIN do karty"),c(),u(3,"input",12,1),T("keydown.enter",function(){te(e);let r=_(2);return ne(r.submitRequested$.next())}),c(),u(5,"mat-error"),h(6,"Podaj PIN do karty"),c()()}if(t&2){let e=_(2);l(3),g("maxlength",e.PIN_MAX_LENGTH)("formControl",e.pinFC)}}function Iae(t,i){if(t&1&&(u(0,"p",10),x(1,"mat-spinner",4),u(2,"span"),h(3),c()()),t&2){let e=_(2);l(3),S(e.signingMessage())}}function Aae(t,i){if(t&1&&(u(0,"p",14),h(1),c()),t&2){let e=_(3);l(),se("Zg\u0142oszenie aplikacji podpisuj\u0105cej: ",e.errorDetail())}}function kae(t,i){if(t&1&&(u(0,"div",11)(1,"p",13),h(2),c(),v(3,Aae,2,1,"p",14),c()),t&2){let e=_(2);l(2),S(e.errorMessage()),l(),y(e.errorDetail()?3:-1)}}function Rae(t,i){if(t&1&&(u(0,"mat-form-field",7)(1,"mat-label"),h(2,"Typ podpisu cyfrowego"),c(),u(3,"mat-select",8,0),He(5,Sae,2,2,"mat-option",9,yae),c(),u(7,"mat-error"),h(8,"Wybierz typ podpisu cyfrowego"),c()(),v(9,Tae,7,2,"mat-form-field",7),v(10,Iae,4,1,"p",10),v(11,kae,4,2,"div",11)),t&2){let e=_();l(3),g("formControl",e.certTypeFC),l(2),Ue(e.certTypeOptions),l(4),y(e.pinRequired()?9:-1),l(),y(e.signing()?10:-1),l(),y(e.errorMessage()?11:-1)}}var H3=32,U3=(()=>{class t{constructor(){this.prepareData=co.required(),this.submitRequested$=new O,this.certTypeOptions=P3,this.PIN_MAX_LENGTH=H3,this.certTypeFC=new uo(null,G.required),this.pinFC=new uo("",{nonNullable:!0}),this.signingService=m(SR),this.signNetState=this.signingService.signNetState,this.signing=this.signingService.signing,this.errorMessage=this.signingService.errorMessage,this.errorDetail=this.signingService.errorDetail,this.probing=Ct(()=>!this.signingService.probed()),this.formValid=Z(!1),this.ready=Ct(()=>this.signingService.probed()&&this.formValid()),this.selectedCertType=Z(null),this.pinRequired=Ct(()=>wR(this.selectedCertType())),this.signingMessage=Ct(()=>this.pinRequired()?"Trwa podpisywanie \u2014 nie od\u0142\u0105czaj karty ani czytnika.":"Trwa podpisywanie \u2014 potwierd\u017A operacj\u0119 w aplikacji dostawcy certyfikatu."),this.certTypeSelect=Ps("certTypeSelect"),this.pinInput=Ps("pinInput"),this.destroyRef=m(dn),this.focusPlaced=!1,this.pinFC.valueChanges.pipe(hn()).subscribe(()=>this.signingService.clearError()),ut(this.certTypeFC.statusChanges,this.pinFC.statusChanges).pipe(Re(null),hn()).subscribe(()=>this.formValid.set(this.certTypeFC.valid&&this.pinFC.valid)),io(()=>this.placeInitialFocus())}ngOnInit(){let e=this.prepareData().certType;e!==void 0&&e!==or.EMPTY&&this.certTypeFC.setValue(e),this.certTypeFC.valueChanges.pipe(Re(this.certTypeFC.value),hn(this.destroyRef)).subscribe(n=>this.applyCertType(n)),this.signingService.probeSignNet()}collect(){return Wn(()=>{if(this.probing())return ke;let e=this.certTypeFC.value;if(e===null||this.certTypeFC.invalid||this.pinFC.invalid)return this.certTypeFC.markAsTouched(),this.pinFC.markAsTouched(),ke;let n=this.prepareData();return!n.toSign?.length||!n.publicKey?(this.signingService.showError("Brak danych do podpisu. Zamknij okno i spr\xF3buj ponownie."),ke):this.signingService.sign({certType:e,pin:this.pinFC.value,toSign:n.toSign,publicKey:n.publicKey})})}setError(e){this.signingService.showError(e)}ngOnDestroy(){this.submitRequested$.complete()}placeInitialFocus(){let e=this.pinInput(),n=this.certTypeSelect();this.focusPlaced||!e&&!n||(this.focusPlaced=!0,e?e.nativeElement.focus():n?.focus())}applyCertType(e){this.selectedCertType.set(e),this.signingService.clearError(),this.pinFC.setValidators(wR(e)?[G.required,G.maxLength(H3)]:[]),this.pinFC.setValue(""),this.pinFC.markAsUntouched(),this.pinFC.updateV
7996alueAndValidity()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-auth-certificate-form"]],viewQuery:function(n,r){n&1&&Wc(r.certTypeSelect,bae,5)(r.pinInput,vae,5),n&2&&$c(2)},inputs:{prepareData:[1,"prepareData"]},features:[me([SR])],decls:5,vars:2,consts:[["certTypeSelect",""],["pinInput",""],[1,"auth-certificate-form__prompt"],["role","status",1,"auth-certificate-form__probing"],["diameter","18"],["role","alert",1,"auth-certificate-form__signnet-warning","auth-certificate-form__signnet-warning--severe"],["role","status",1,"auth-certificate-form__signnet-warning"],["appearance","outline",1,"auth-certificate-form__field"],[3,"formControl"],[3,"value"],["role","status",1,"auth-certificate-form__signing"],["role","alert",1,"auth-certificate-form__error"],["matInput","","type","password","autocomplete","off",3,"keydown.enter","maxlength","formControl"],[1,"auth-certificate-form__error-message"],[1,"auth-certificate-form__error-detail"]],template:function(n,r){n&1&&(u(0,"p",2),h(1,"Podpisz operacj\u0119 certyfikatem kwalifikowanym"),c(),v(2,Cae,4,0,"p",3)(3,xae,3,1),v(4,Rae,12,4)),n&2&&(l(2),y(r.probing()?2:3),l(2),y(r.probing()?-1:4))},dependencies:[es,Je,Xe,Bi,$e,zr,Ve,qe,St,cs,et,Zu,si,Qt,Qu,th],styles:["[_nghost-%COMP%]{display:block}.auth-certificate-form__prompt[_ngcontent-%COMP%]{margin:0 0 var(--spacing-s);color:#000000de;font-weight:500}.auth-certificate-form__field[_ngcontent-%COMP%]{width:100%}.auth-certificate-form__probing[_ngcontent-%COMP%], .auth-certificate-form__signing[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--spacing-s);margin:0 0 var(--spacing-s);color:#000000de}.auth-certificate-form__error[_ngcontent-%COMP%]{margin:0 0 var(--spacing-s);color:var(--color-warn);font-size:.875rem}.auth-certificate-form__error-message[_ngcontent-%COMP%], .auth-certificate-form__error-detail[_ngcontent-%COMP%]{margin:0}.auth-certificate-form__error-detail[_ngcontent-%COMP%]{margin-top:var(--spacing-xxs);color:#0009;font-size:.75rem;overflow-wrap:anywhere}.auth-certificate-form__signnet-warning[_ngcontent-%COMP%]{margin:0 0 var(--spacing-md);padding:var(--spacing-s);border-left:3px solid var(--color-inform);background:color-mix(in srgb,var(--color-inform) 14%,transparent);color:#000000de;font-size:.8125rem}.auth-certificate-form__signnet-warning--severe[_ngcontent-%COMP%]{border-left-color:var(--color-warn);background:color-mix(in srgb,var(--color-warn) 8%,transparent);font-size:.875rem}"],changeDetection:0})}}return t})();var Mae=["codeInput"];function Nae(t,i){if(t&1&&(u(0,"p",4),h(1),c()),t&2){let e=_();l(),S(e.errorMessage())}}var z3=(()=>{class t{constructor(){this.prepareData=co.required(),this.submitRequested$=new O,this.codeFC=new z("",G.required),this.errorMessage=Z(null),this.codeValid=Z(!1),this.ready=this.codeValid.asReadonly(),this.prompt=Ct(()=>{let e=this.prepareData().messageValues??[],n=e[0],r=e[1];return n&&r?`Wprowad\u017A has\u0142o operacji nr ${n} z dnia ${r}`:"Wprowad\u017A has\u0142o SMS"}),this.codeFC.valueChanges.pipe(hn()).subscribe(()=>this.errorMessage.set(null)),this.codeFC.statusChanges.pipe(hn()).subscribe(()=>this.codeValid.set(this.codeFC.valid))}ngAfterViewInit(){this.codeInput?.nativeElement.focus()}collect(){return Wn(()=>this.codeFC.invalid?(this.codeFC.markAsTouched(),ke):P({authType:ps.SMS,passwordDigest:this.codeFC.value}))}setError(e){this.errorMessage.set(e)}ngOnDestroy(){this.submitRequested$.complete()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-auth-sms-form"]],viewQuery:function(n,r){if(n&1&&ve(Mae,5),n&2){let o;H(o=U())&&(r.codeInput=o.first)}},inputs:{prepareData:[1,"prepareData"]},decls:10,vars:3,consts:[["codeInput",""],[1,"auth-sms-form__prompt"],["appearance","outline",1,"auth-sms-form__field"],["matInput","","type","password","autocomplete","one-time-code","inputmode","numeric",3,"keydown.enter","formControl"],[1,"auth-sms-form__error"]],template:function(n,r){n&1&&(u(0,"p",1),h(1),c(),u(2,"mat-form-field",2)(3,"mat-label"),h(4,"Has\u0142o SMS"),c(),u(5,"input",3,0),T("keydown.enter",function(){return r.submitRequested$.next()}),c(),u(7,"mat-error"),h(8,"Podaj has\u0142o SMS"),c()(),v(9,Nae,2,1,"p",4)),n&2&&(l(),S(r.prompt()),l(4),g("formControl",r.codeFC),l(4),y(r.errorMessage()?9:-1))},dependencies:[es,Je,Xe,$e,zr,Ve,qe,St,cs,et],styles:["[_nghost-%COMP%]{display:block}.auth-sms-form__prompt[_ngcontent-%COMP%]{margin:0 0 var(--spacing-s);color:#000000de;font-weight:500}.auth-sms-form__field[_ngcontent-%COMP%]{width:100%}.auth-sms-form__error[_ngcontent-%COMP%]{margin:0;color:var(--color-warn);font-size:.875rem}"],changeDetection:0})}}return t})();var G3=new Map([[ps.SMS,z3],[ps.CERTIFICATE,U3]]);var Oae=["summaryHost"],Fae=["methodHost"];function Pae(t,i){if(t&1&&(u(0,"p",3),h(1),c()),t&2){let e=_();l(),S(e.summaryText)}}function Lae(t,i){}function Bae(t,i){t&1&&(u(0,"div",4),x(1,"mat-spinner",9),c())}function Vae(t,i){}function jae(t,i){t&1&&x(0,"mat-spinner",8)}function Hae(t,i){t&1&&h(0," Zatwierd\u017A ")}var W3=(()=>{class t{constructor(){this.data=m(rt),this.submit$=new O,this.loading=Z(!1),this.collecting=Z(!1),this.preparing=Z(!0),this.methodReady=Z(!0),this.busy=Ct(()=>this.collecting()||this.loading()),this.dialogRef=m(Ze),this.destroyRef=m(dn),this.injector=m(ie),this.summaryAcceptsItems=!1,this.dialogRef.disableClose=!0}get summaryText(){return typeof this.data.summary=="string"?this.data.summary:null}ngAfterViewInit(){this.createSummary(),this.createMethodForm()}setPrepareData(e){this.prepareData=e,this.showPreparedItems(e.items),this.createMethodForm()}setError(e){this.methodRef?.instance.setError(e)}setLoading(e){this.loading.set(e)}closeAsSuccess(){this.dialogRef.close("success")}closeAsCancel(){this.dialogRef.close("cancel")}ngOnDestroy(){this.submit$.complete()}onConfirm(){let e=this.methodRef?.instance;this.preparing()||this.busy()||!this.methodReady()||!e||(this.collecting.set(!0),e.collect().pipe(Zr(()=>this.collecting.set(!1)),hn(this.destroyRef)).subscribe(n=>this.submit$.next(n)))}onCancel(){this.loading()||this.closeAsCancel()}createSummary(){let e=this.data.summary;typeof e!="string"&&(this.summaryRef=this.summaryHost.createComponent(e.component),this.summaryAcceptsItems=F0(e.component)?.inputs.some(n=>
7996n.propName==="items")??!1,Object.entries(e.inputs??{}).forEach(([n,r])=>this.summaryRef?.setInput(n,r)),this.summaryRef.changeDetectorRef.detectChanges())}showPreparedItems(e){!e||!this.summaryRef||!this.summaryAcceptsItems||(this.summaryRef.setInput("items",e),this.summaryRef.changeDetectorRef.detectChanges())}createMethodForm(){if(this.methodRef||!this.prepareData||!this.methodHost)return;let e=G3.get(this.prepareData.authType);if(!e)throw new Error(`No auth method form registered for authType=${this.prepareData.authType}`);this.methodRef=this.methodHost.createComponent(e),this.methodRef.setInput("prepareData",this.prepareData),this.methodRef.instance.submitRequested$.pipe(hn(this.destroyRef)).subscribe(()=>this.onConfirm()),this.trackMethodReadiness(this.methodRef.instance.ready),this.methodRef.changeDetectorRef.detectChanges(),this.preparing.set(!1)}trackMethodReadiness(e){this.methodReady.set(e()),io(()=>this.methodReady.set(e()),{injector:this.injector})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-auth-flow-dialog"]],viewQuery:function(n,r){if(n&1&&ve(Oae,7,Pt)(Fae,7,Pt),n&2){let o;H(o=U())&&(r.summaryHost=o.first),H(o=U())&&(r.methodHost=o.first)}},decls:15,vars:6,consts:[["summaryHost",""],["methodHost",""],["mat-dialog-title",""],[1,"auth-flow-dialog__summary"],[1,"auth-flow-dialog__preparing"],["align","end"],["mat-button","","type","button",3,"click","disabled"],["mat-flat-button","","color","warn","type","button",3,"click","disabled"],["diameter","18"],["diameter","28"]],template:function(n,r){n&1&&(u(0,"h2",2),h(1),c(),u(2,"mat-dialog-content"),v(3,Pae,2,1,"p",3),fe(4,Lae,0,0,"ng-template",null,0,fa),v(6,Bae,2,0,"div",4),fe(7,Vae,0,0,"ng-template",null,1,fa),c(),u(9,"mat-dialog-actions",5)(10,"button",6),T("click",function(){return r.onCancel()}),h(11,"Anuluj"),c(),u(12,"button",7),T("click",function(){return r.onConfirm()}),v(13,jae,1,0,"mat-spinner",8)(14,Hae,1,0),c()()),n&2&&(l(),S(r.data.title),l(2),y(r.summaryText?3:-1),l(3),y(r.preparing()?6:-1),l(4),g("disabled",r.loading()),l(2),g("disabled",r.preparing()||r.busy()||!r.methodReady()),l(),y(r.busy()?13:14))},dependencies:[Ku,$C,Jp,Qp,_o,qn,Qu,th],styles:["[_nghost-%COMP%]{--mat-dialog-supporting-text-color: rgba(0, 0, 0, .87)}.auth-flow-dialog__summary[_ngcontent-%COMP%]{margin:0 0 var(--spacing-md);font-weight:500}.auth-flow-dialog__preparing[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:var(--spacing-md) 0}"],changeDetection:0})}}return t})();var gs=class extends Error{constructor(i,e,n){super(e?.message??i),this.kind=i,this.response=e,this.cause=n}},hl=(()=>{class t{constructor(){this.dialog=m(mt),this.notifications=m(Le)}run(e,n,r){return this.runDialog(e,n,r)}failPrepare(e){let n=$3(e);return this.notifications.error(n?.message??"Nie uda\u0142o si\u0119 rozpocz\u0105\u0107 autoryzacji"),gn(()=>new gs("PREPARE_FAILED",n??void 0,e))}runDialog(e,n,r){let o=r.size==="large",a=this.dialog.open(W3,{data:{title:r.title,summary:r.summary},panelClass:o?li.LARGE:"dialog",width:o?void 0:"40rem",disableClose:!0}),s=a.componentInstance,d=!0,p=e.prepare(n).pipe(Qr({bufferSize:1,refCount:!1})),f=p.pipe(B(M=>s.setPrepareData(M)),Lm(),Ge(M=>(d=!1,a.close("cancel"),this.failPrepare(M))),Pm(gf)),b=s.submit$.pipe(Es(M=>this.attemptPerform(e,s,M)),B(()=>d=!1),Pm(gf)),w=a.afterClosed().pipe(ae(M=>M!=="success"),W(M=>(M!=="cancel"&&(d=!1),gn(()=>new gs(M==="cancel"?"CANCELLED":"ABORTED")))),Pm(gf)),A=this.cancelOncePrepared(e,p);return ix(f,b,w).pipe(We(1),Ge(M=>(a.close("cancel"),d?A.pipe(Pm(gn(()=>M))):gn(()=>M))),Zr(()=>{a.close("cancel"),d&&A.subscribe()}))}cancelOncePrepared(e,n){return n.pipe(We(1),W(()=>e.cancel()),Ge(()=>ke),Lm(),Qr({bufferSize:1,refCount:!1}))}attemptPerform(e,n,r){return n.setLoading(!0),n.setError(null),e.perform(r).pipe(B(()=>n.closeAsSuccess()),Ge(o=>this.failPerform(o,n)))}failPerform(e,n){let r=$3(e),o=r?.kind;if(o===kr.AUTH_INCORRECT)return n.setError(r?.message??"Nieprawid\u0142owe has\u0142o"),n.setLoa
7996ding(!1),ke;let a=r?.message??"Autoryzacja nie powiod\u0142a si\u0119";return o===kr.AUTH_EXPIRED?this.notifications.warning(a):this.notifications.error(a),gn(()=>new gs(o??"UNKNOWN",r??void 0,e))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Uae={[cc.INCORRECT_AUTHORIZATION]:kr.AUTH_INCORRECT,[cc.EXPIRED_AUTHORIZATION]:kr.AUTH_EXPIRED,[cc.BLOCKED_AUTHORIZATION]:kr.AUTH_BLOCKED};function $3(t){return t instanceof Kc&&t.error&&typeof t.error=="object"&&"kind"in t.error?t.error:Rr.isTypeOf(t)?{kind:Uae[t.errorCode]??kr.GENERAL,message:t.messageToShow??void 0}:null}var K_=(function(t){return t[t.SYSTEM=0]="SYSTEM",t[t.TRANSACTION=1]="TRANSACTION",t})(K_||{});function Gae(t,i){t&1&&(ft(0,"p",0),h(1,"Aby przej\u015B\u0107 do systemu, nale\u017Cy zaakceptowa\u0107 regulamin."),_t())}function Wae(t,i){t&1&&(ft(0,"p",0),h(1,"Aby wykona\u0107 transakcj\u0119, nale\u017Cy zaakceptowa\u0107 regulamin."),_t())}function $ae(t,i){t&1&&(ft(0,"strong",2),h(1,"Pliki do pobrania:"),_t())}function qae(t,i){if(t&1){let e=Se();ft(0,"div")(1,"button",3),Fs("click",function(){let r=te(e).$implicit,o=_(2);return ne(o.openFile(r.fileId))}),h(2),_t()()}if(t&2){let e=i.$implicit;l(2),S(e.linkName)}}function Yae(t,i){if(t&1&&(ft(0,"div",1)(1,"div"),h(2),_t(),v(3,$ae,2,0,"strong",2),He(4,qae,3,1,"div",null,at),_t()),t&2){let e=i.$implicit;l(2),S(e.description),l(),y(e.files.length>0?3:-1),l(),Ue(e.files)}}var q3=(()=>{class t{constructor(){this.terms=co.required(),this.termsDialogType=co.required(),this.TermsStateEnum=K_,this.termsApi=m(rE),this.fileService=m(Dd)}openFile(e){this.termsApi.openFile(e.toString()).pipe(this.fileService.open(Aa.PDF)).subscribe()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-terms-list"]],inputs:{terms:[1,"terms"],termsDialogType:[1,"termsDialogType"]},decls:4,vars:1,consts:[[1,"terms-list__reason"],[1,"terms-list__term"],[1,"terms-list__files"],["type","button",1,"terms-list__link",3,"click"]],template:function(n,r){if(n&1&&(v(0,Gae,2,0,"p",0)(1,Wae,2,0,"p",0),He(2,Yae,6,2,"div",1,at)),n&2){let o;y((o=r.termsDialogType())===r.TermsStateEnum.SYSTEM?0:o===r.TermsStateEnum.TRANSACTION?1:-1),l(2),Ue(r.terms())}},styles:["[_nghost-%COMP%]{display:block}.terms-list__reason[_ngcontent-%COMP%]{margin:0}.terms-list__term[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px;padding:15px;border-bottom:solid 2px #2196f3;box-shadow:1px 1px 2px #000;-webkit-hyphens:auto;hyphens:auto}.terms-list__files[_ngcontent-%COMP%]{padding:10px 0}.terms-list__link[_ngcontent-%COMP%]{padding:0;border:0;background:none;color:#2196f3;font:inherit;cursor:pointer}.terms-list__link[_ngcontent-%COMP%]:hover{color:#05487a}"],changeDetection:0})}}return t})();function Kae(t,i){if(t&1&&(u(0,"p"),h(1),be(2,"date"),c()),t&2){let e=_();l(),se("Regulamin nale\u017Cy zaakceptowa\u0107 do dnia: ",Dr(2,1,e.termsToAccept.acceptanceDeadline,e.dateFormat))}}function Xae(t,i){t&1&&(u(0,"p"),h(1,"Regulamin nie posiada terminu akceptacji"),c())}function Zae(t,i){if(t&1){let e=Se();u(0,"mat-form-field",4)(1,"mat-label"),h(2,"Has\u0142o do systemu"),c(),u(3,"input",9),T("keydown.enter",function(){te(e);let r=_();return ne(r.save())}),c(),u(4,"mat-error"),h(5,"Podaj has\u0142o do systemu"),c()()}if(t&2){let e=_();l(3),g("formControl",e.passwordFC)}}function Qae(t,i){t&1&&(u(0,"p",5),h(1,"Po zatwierdzeniu poprosimy o autoryzacj\u0119, tak jak przy podpisywaniu operacji."),c())}var Y3=(()=>{class t{constructor(){this.TermsAcceptModeEnum=im,this.dateFormat=ms,this.data=m(rt),this.termsDialogType=this.data.termsStateEnum,this.termsToAccept=this.data.termsToAccept,this.acceptRequested$=new O,this.acceptFC=new z(!1,G.requiredTrue),this.passwordFC=new z(""),this.termsFG=new Qn({accept:this.acceptFC,password:this.passwordFC}),this.dialogRef=m(Ze),this.termsToAccept.acceptanceMode===im.PASSWORD&&(this.passwordFC.setValidators(G.required),this.passwordFC.updateValueAndValidity())}save(){if(this.termsFG.invalid){this.termsFG.markAllAsTouched();return}this.acceptRequested$.next({password:this.passwordFC.value})}decline(){this.dialogRef.close(!1)}ngOnDestroy(){this.acceptRequested$.complete()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-terms-dialog"]],decls:16,vars:8,consts:[["mat-dialog-title",""],[3,"terms","termsDialogType"],[1,"terms-dialog__form",3,"formGroup"],["required","",1,"terms-dialog__accept",3,"formControl"],["appearance","outline",1,"terms-dialog__password"],[1,"terms-dialog__hint"],["align","end"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","warn","type","button",3,"click","disabled"],["matInput","","type","password","autocomplete","off",3,"keydown.enter","formControl"]],template:function(n,r){if(n&1&&(u(0,"h2",0),h(1,"Akceptacja Regulaminu"),c(),u(2,"mat-dialog-content"),x(3,"a
7996pp-terms-list",1),u(4,"form",2),v(5,Kae,3,4,"p"),v(6,Xae,2,0,"p"),u(7,"mat-checkbox",3),h(8,"O\u015Bwiadczam, i\u017C akceptuj\u0119 w/w regulamin"),c(),v(9,Zae,6,1,"mat-form-field",4)(10,Qae,2,0,"p",5),c()(),u(11,"mat-dialog-actions",6)(12,"button",7),T("click",function(){return r.decline()}),h(13,"Anuluj"),c(),u(14,"button",8),T("click",function(){return r.save()}),h(15,"Akceptuj"),c()()),n&2){let o;l(3),g("terms",r.termsToAccept.terms)("termsDialogType",r.termsDialogType),l(),g("formGroup",r.termsFG),l(),y(r.termsToAccept.acceptanceDeadline?5:-1),l(),y(r.termsToAccept.acceptanceDeadline===null?6:-1),l(),g("formControl",r.acceptFC),l(2),y((o=r.termsToAccept.acceptanceMode)===r.TermsAcceptModeEnum.PASSWORD?9:o===r.TermsAcceptModeEnum.AUTHORIZATION?10:-1),l(5),g("disabled",r.termsFG.invalid)}},dependencies:[es,Vr,Je,Xe,Ai,mn,$e,$n,Ku,$C,Jp,Qp,_o,qn,b_,ir,zr,Ve,qe,St,cs,et,q3,un],styles:["[_nghost-%COMP%]{--mat-dialog-supporting-text-color: rgba(0, 0, 0, .87)}.terms-dialog__form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-s);margin-top:var(--spacing-md)}.terms-dialog__form[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}.terms-dialog__password[_ngcontent-%COMP%]{width:25em}.terms-dialog__hint[_ngcontent-%COMP%]{color:#0009;font-size:.875rem}"],changeDetection:0})}}return t})();var TR=class extends Error{constructor(){super("Regulamin systemowy nie zosta\u0142 zaakceptowany"),this.loginFailureReason=M3}},K3=(()=>{class t{constructor(){this.termsApi=m(rE),this.authFlow=m(hl),this.errorProcessing=m(Rt),this.dialog=m(mt)}check(){return this.isAllTermsAccepted(B_.SYSTEM,K_.SYSTEM).pipe(W(e=>e?P(void 0):gn(()=>new TR)))}isAllTermsAccepted(e,n){return e===B_.NONE?P(!0):this.termsApi.getTermsToAccept(e).pipe(W(r=>r.terms.length===0?P(!0):this.askToAccept(r,e,n)))}askToAccept(e,n,r){let o=this.dialog.open(Y3,{data:{termsToAccept:e,termsTypeEnum:n,termsStateEnum:r},panelClass:li.MEDIUM});return this.acceptOnConfirmation(o,e,n),o.afterClosed().pipe(W(a=>!a&&n===B_.SYSTEM?P(!e.acceptanceDeadline||new Date(e.acceptanceDeadline)>new Date):P(!!a)))}acceptOnConfirmation(e,n,r){e.componentInstance.acceptRequested$.pipe(Xb(o=>this.accept(n,r,o).pipe(Ge(()=>ke))),xe(e.afterClosed())).subscribe(()=>e.close(!0))}accept(e,n,{password:r}){switch(e.acceptanceMode){case im.PASSWORD:return this.termsApi.passwordAccept(r).pipe(this.errorProcessing.processError(ze.AUTHORIZATION_ERROR));case im.AUTHORIZATION:return this.authFlow.run(this.termsApi.authOperation(n),[],{title:"Autoryzacja akceptacji regulaminu",summary:e.terms.map(o=>o.description).join(", ")});default:return this.termsApi.simpleAccept().pipe(this.errorProcessing.processError(ze.AUTHORIZATION_ERROR))}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Jae,X3=(t,i,e)=>Jae=t.pipe(Qr(e,i));function Z3(t,i,e=1){return X3(t,i,e).pipe(Ha(null,Wn(()=>X3(t,i,e))),ii(n=>Sl(n)?n:P(n)))}var SE=(()=>{class t{constructor(e,n,r){this.http=e,this.errorProviderService=n,this.notificationService=r}getMessages(){return this.http.get(U_).pipe(Ge(e=>(e.error.message==="fetch-message-list-failed"?this.notificationService.error("Nie uda\u0142o si\u0119 pobra\u0107 listy komunikat\xF3w"):this.notificationService.error("Wyst\u0105pi\u0142 b\u0142\u0105d podczas pobierania listy komunikat\xF3w"),P([]))))}getUnreadMessagesCount(){return this.http.get(Oz)}getBufferedUnreadMessageCount(){return this.bufferedCount$===void 0&&(this.bufferedCount$=Z3(this.getUnreadMessagesCount(),3e3)),this.bufferedCount$}deleteMessages(e){let n=new it().append("messagesIds",e.toString());return this.http.delete(U_,{params:n}).pipe(this.errorProviderService.processError(ze.FETCHING_DATA_ERROR,P([]))
7996)}markAsSeen(e){this.http.put(Nz+`/${e}`,null).pipe(this.errorProviderService.processError(ze.FETCHING_DATA_ERROR,P([]))).subscribe()}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Rt),F(Le))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Q3=(()=>{class t{constructor(){this.document=m(Ce),this.platformId=m(Pl),this.documentIsAccessible=W0(this.platformId)}static getCookieRegExp(e){let n=e.replace(/([[\]{}()|=;+?,.*^$\\])/gi,"\\$1");return new RegExp("(?:^"+n+"|;\\s*"+n+")=(.*?)(?:;|$)")}static safeDecodeURIComponent(e){try{return decodeURIComponent(e)}catch(n){return e}}check(e){return this.documentIsAccessible?(e=encodeURIComponent(e),t.getCookieRegExp(e).test(this.document.cookie)):!1}get(e){if(this.check(e)){e=encodeURIComponent(e);let r=t.getCookieRegExp(e).exec(this.document.cookie);return r?.[1]?t.safeDecodeURIComponent(r[1]):""}else return""}getAll(){if(!this.documentIsAccessible)return{};let e={},n=this.document;return n.cookie&&n.cookie!==""&&n.cookie.split(";").forEach(r=>{let[o,a]=r.split("=");e[t.safeDecodeURIComponent(o.replace(/^ /,""))]=t.safeDecodeURIComponent(a)}),e}set(e,n,r,o,a,s,d,p){if(!this.documentIsAccessible)return;if(typeof r=="number"||r instanceof Date||o||a||s||d){let w={expires:r,path:o,domain:a,secure:s,sameSite:d||"Lax",partitioned:p};this.set(e,n,w);return}let f=encodeURIComponent(e)+"="+encodeURIComponent(n)+";",b=r||{};if(b.expires)if(typeof b.expires=="number"){let w=new Date(new Date().getTime()+b.expires*1e3*60*60*24);f+="Expires="+w.toUTCString()+";"}else f+="Expires="+b.expires.toUTCString()+";";b.path&&(f+="Path="+b.path+";"),b.domain&&(f+="Domain="+b.domain+";"),b.secure===!1&&b.sameSite==="None"&&(b.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),b.secure&&(f+="Secure;"),b.sameSite||(b.sameSite="Lax"),f+="SameSite="+b.sameSite+";",b.partitioned&&(f+="Partitioned;"),this.document.cookie=f}delete(e,n,r,o,a="Lax"){if(!this.documentIsAccessible)return;let s=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:s,path:n,domain:r,secure:o,sameSite:a})}deleteAll(e,n,r,o="Lax"){if(!this.documentIsAccessible)return;let a=this.getAll();for(let s in a)a.hasOwnProperty(s)&&this.delete(s,e,n,r,o)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var IR="Przerwano proces logowania",X_=class extends Error{constructor(i){super(`Second stage of login ended without a verified code: ${i}`),this.kind=i,this.loginFailureReason=N3(i),this.messageToShow=i==="CANCELLED"?IR:null}},J3=(()=>{class t{constructor(){this.authApiService=m(iE),this.authFlow=m(hl),this.cookieService=m(Q3),this.dialog=m(mt),this.notificationService=m(Le),this.token="",this.sessionEnded=!1}authenticate(e,n){return this.sessionEnded=!1,this.authApiService.authenticate(e,n).pipe(B(r=>this.saveTokenFromResponse(r)),W(()=>this.authApiService.isSecondStageRequired()),ii(r=>Wn(()=>r?this.executeSecondStage(e):P(void 0))))}logout(e,n){return this.sessionEnded=!0,n&&this.notificationService.error(n),this.authApiService.logout(e).pipe(B(()=>{this.setToken(""),this.cookieService.deleteAll(),this.dialog.closeAll()}))}getToken(){return this.token}isSessionEnded(){return this.sessionEnded}setToken(e){this.token=e}executeSecondStage(e){return this.authFlow.run(this.secondStageAuthOperation(),[],{title:"Autoryzacja logowania",summary:`Potwierdzenie logowania do systemu dla loginu: ${e}`}).pipe(Ge(n=>gn(()=>n instanceof gs?new X_(n.kind):n)))}secondStageAuthOperation(){return{prepare:()=>this.authApiService.secondStagePrepare(),perform:e=>this.authApiService.secondStagePerform(e).pipe(W(()=>e.authType===ps.CERTIFICATE?this.authApiService.updateDefaultCertType(e.certType):P(void 0))),cancel:()=>this.authApiService.secondStageCancel()}}saveTokenFromResponse(e){this.setToken(e.headers.get("Authorization")||"")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var eG=(()=>{class t{constructor(){this.clientsFacadeService=m(TE),this.dialog=m(mt)}loadAll(){return this.clientsFacadeService.getAll().pipe(W(e=>e.length===1?this.clientsFacadeService.loadClient(e[0],!0):this.selectClient(e)))}selectClient(e){return this.clientsFacadeService.getDefault().pipe(W(n=>n!==null?this.clientsFacadeService.loadClient(n,!0):this.setClientInDialog(e)))}setClientInDialog(e){let n=new Jt;return n.data={redirect:!0,disableClose:!0,clients:e},n.hasBackdrop=!0,n.panelClass=li.MEDIUM,this.dialog.open(tG,n).afterClosed().pipe(W(()=>P(void 0)))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ese=["CANCELLED","ABORTED",kr.AUTH_INCORRECT,kr.AUTH_BLOCKED,kr.AUTH_EXPIRED];function IE(){return Ge(t=>t instanceof gs?ese.includes(t.kind)?ke:gn(()=>Rr.isTypeOf(t.cause)?t.cause:t):gn(()=>t))}var AR=(function(t){return t.CHOOSE_CLIENT="Wybierz firm\u0119",t.CHANGE_PASSWORD="Zmiana has\u0142a",t.ACCOUNT_ORDER="Wybierz kolejno\u015B\u0107 rachunk\xF3w",t.LOGIN_OPTIONS="Opcje logowania",t.DEALING_BPS="Dealing BPS",t})(AR||{});var AE=(()=>{class t{constructor(){this.passwordApiService=m(rz),this.dialog=m(mt),this.authenticationApiService=m(iE),this.authFlow=m(hl)}checkExpiration(){return this.passwordApiService.isPasswordExpired().pipe(W(e=>e?this.openPasswordDialog():P(void 0)))}change(e){return this.authenticationApiService.isSecondStageRequired().pipe(W(n=>n?this.saveNewPasswordWithAuthorize(e):this.saveNewPasswordNoAuthorize(e)))}openPasswordDialog(){let e=new Jt;return e.data={title:AR.CHANGE_PASSWORD,disableClose:!0},e.hasBackdrop=!0,e.panelClass=li.SMALL,this.dialog.open(nG,e).afterClosed().pipe(W(()=>P(void 0)))}saveNewPasswordNoAuthorize(e){return this.passwordApiService.change(e)}saveNewPasswordWithAuthorize(e){return this.authFlow.run(this.changeAuthOperation(e),[],{title:"Autoryzacja zmiany has\u0142a",summary:"Potwierdzenie zmiany has\u0142a"}).pipe(IE())}changeAuthOperation(e){return{prepare:()=>
7996this.passwordApiService.prepare(e).pipe($(n=>n.authMethodInfo)),perform:n=>this.passwordApiService.perform(n),cancel:()=>this.passwordApiService.cancel()}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var tse=(()=>{class t{constructor(){this.appStore=m(Fo),this.userData$=Cd(this.appStore.user).pipe(ae(e=>e!==null),It()),this.clientInfo$=Cd(this.appStore.clientInfo).pipe(ae(e=>e!==null)),this.isLoggedIn$=Cd(this.appStore.loggedIn)}getUserData(){return this.userData$}hasAuthMethod(){return this.appStore.user()?.hasAuthorisationMethod??!1}getClientInfo$(){return this.clientInfo$}getUserAuthorities(){return this.appStore.authorities()}isLoggedIn(){return this.isLoggedIn$}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),kE=tse;var RE=(()=>{class t{constructor(){this.userService=m(kE),this.notificationService=m(Le)}hasAuthorities(e,n,r){let o=this.isPermitted(e,n);return r&&!o&&this.notificationService.error(ze.NO_PERMISSION),o}isPermitted(e,n){let r=this.userService.getUserAuthorities();return!e||e.length===0?!0:n===id.ANY?!!e.find(o=>r.includes(o)):e.every(o=>r.includes(o))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var wi=(()=>{class t{constructor(){this.userService=m(kE),this.authoritiesService=m(RE),this.passwordService=m(AE)}getUser(){return this.userService.getUserData()}getClientInfo(){return this.userService.getClientInfo$()}canActivate(e){return this.userService.isLoggedIn().pipe(W(n=>n?P(this.hasAuthorities(e)):P(!1)))}hasAuthorities(e){return this.authoritiesService.hasAuthorities(e,id.ALL,!1)}hasAnyAuthorities(e,n=!1){return this.authoritiesService.hasAuthorities(e,id.ANY,n)}hasAuthMethod(){return this.userService.hasAuthMethod()}changePassword(e){return this.passwordService.change(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var pgt=(()=>{class t{constructor(){this.authenticationService=m(J3),this.userFacadeService=m(wi),this.appStore=m(Fo),this.passwordService=m(AE),this.clientsService=m(eG),this.router=m(wr),this.termsAcceptanceService=m(K3),this.messagesService=m(SE)}login(e,n){return this.authenticationService.authenticate(e,n).pipe(Dh("authentication"),W(()=>this.passwordService.checkExpiration().pipe(Dh("password_expiration"))),W(()=>this.loadSessionData().pipe(Dh("session_data"))),W(()=>this.termsAcceptanceService.check().pipe(Dh("terms"))),W(()=>this.messagesService.getBufferedUnreadMessageCount().pipe(Dh("messages"))),B(r=>this.redirectToFirstPage(r)),W(()=>P(void 0)),Ge(r=>this.logout(O3(r),this.getMessageFromError(r))))}loadSessionData(){return this.appStore.loadSessionContext().pipe(W(()=>this.clientsService.loadAll()))}logout(e,n){return this.authenticationService.logout(e,n).pipe(W(()=>(this.router.navigate([lV+"/"+cV]),P(void 0))))}getToken(){return this.authenticationService.getToken()}isSessionEnded(){return this.authenticationService.isSessionEnded()}getMessageFromError(e){let n=F3(e);if(n instanceof X_)return n.messageToShow??void 0;let r=n?.messageToShow;return r||(n?.message??IR)}redirectToFirstPage(e){e>0||!this.userFacadeService.hasAuthorities([Ut.FUNC_ACCOUNT_VIEW])?this.router.navigate([Yy+"/"+Ky]):this.router.navigate([Tp+"/"+Tp])}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var TE=(()=>{class t{constructor(){this.clientApiService=m(oz),this.appStore=m(Fo),this.authoritiesService=m(RE),this.router=m(wr),this.messagesService=m(SE)}getAll(){return this.clientApiService.getAll()}getDefault(){return this.clientApiService.getDefault()}loadClient(e,n){return this.clientApiService.setClient({id:e.id,setDefault:n}).pipe(B(r=>this.appStore.setClientInfo(r)),B(()=>this.storeSelectedClientId(e.id)),W(()=>this.appStore.loadCustomerProfileContext()))}setClient(e,n){return this.loadClient(e,n).pipe(W(()=>this.messagesService.getBufferedUnreadMessageCount()),B(r=>this.redirectToFirstPage(r)),W(()=>P(void 0)))}storeSelectedClientId(e){localStorage.setItem(R3,e)}redirectToFirstPage(e){e>0||!this.authoritiesService.hasAuthorities([Ut.FUNC_ACCOUNT_VIEW],id.ALL,!1)?this.router.navigate([Yy+"/"+Ky]):this.router.navigate([Tp+"/"+Tp])}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var xd=class{static asNumber(){return i=>i.pipe($(e=>e))}static breakIfNoData(){return i=>i.pipe(ae(e=>{if(e||!e)return!0;throw new Rr(0,cc.HOMENET_SECURITY_ERROR,null,[],!1)}))}};var Sd=class{static confirmEquals(i,e){return n=>{let r=n.controls[i],o=n.controls[e];o.errors&&!o.errors?.mustMatch||(r.value!==o.value?o.setErrors({mustMatch:!0}):o.setErrors(null))}}static confirmDifference(i,e){return n=>{let r=n.controls[i],o=n.controls[e];o.errors&&!o.errors?.mustBeDifferent||(r.value===o.value?o.setErrors({mustBeDifferent:!0}):o.setErrors(null))}}static minLowercaseCount(i){return e=>(e.value.match(/[a-z]/g)||[]).length<i?{passwordLowercaseCount:!0}:null}static minUppercaseCount(i){return e=>(e.value.match(/[A-Z]/g)||[]).length<i?{passwordUppercaseCount:!0}:null}static minDigitCount(i){return e=>(e.value.match(/[0-9]/g)||[]).length<i?{passwordDigitCount:!0}:null}};
7996function nse(t,i){t&1&&(u(0,"span"),h(1,"Pole nie mo\u017Ce by\u0107 puste"),c())}function ise(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),se(" ",e.ERRORS["authentication.old_password_incorrect"]," ")}}function rse(t,i){t&1&&(u(0,"span"),h(1,"Pole nie mo\u017Ce by\u0107 puste"),c())}function ose(t,i){t&1&&(u(0,"span"),h(1,"Nowe has\u0142o i stare has\u0142o musz\u0105 si\u0119 r\xF3\u017Cni\u0107"),c())}function ase(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),se(" ",e.ERRORS["authentication.password_from_history"]," ")}}function sse(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),se(" ",e.policyMessage()," ")}}function lse(t,i){t&1&&(u(0,"span"),h(1," Pole nie mo\u017Ce by\u0107 puste"),c())}function cse(t,i){t&1&&(u(0,"span"),h(1," Has\u0142a nie s\u0105 identyczne"),c())}var nG=(()=>{class t{static{this.POLICY_ERROR_KEYS=["minlength","maxlength","passwordDigitCount","passwordLowercaseCount","passwordUppercaseCount","specificMessage"]}constructor(e,n,r,o,a,s,d,p){this.parameterService=e,this.formBuilder=n,this.userFacadeService=r,this.errorProviderService=o,this.notificationService=a,this.spinnerService=s,this.dialogRef=d,this.data=p,this.disableClose=!1,this.ButtonLabels=tt,this.ERRORS=ln,this.policyParams=null,this.disableClose=this.data.disableClose??!1,d.disableClose=this.disableClose,this.passwordMinLength$=this.parameterService.getParameter(wt.PASSWORD_LENGTH_MIN),this.passwordMaxLength$=this.parameterService.getParameter(wt.PASSWORD_LENGTH_MAX),this.passwordDigitCount$=this.parameterService.getParameter(wt.PASSWORD_DIGIT_COUNT),this.passwordLowercaseCount$=this.parameterService.getParameter(wt.PASSWORD_LOWERCASE_COUNT),this.passwordUppercaseCount$=this.parameterService.getParameter(wt.PASSWORD_UPPERCASE_COUNT),this.oldPassword=new z("",[G.required]),this.confirmNewPassword=new z("",[G.required]),this.newPassword=new z(""),this.setNewPasswordValidators(),this.newPassword.updateValueAndValidity(),this.passwordFG=this.formBuilder.group({oldPassword:this.oldPassword,newPassword:this.newPassword,confirmNewPassword:this.confirmNewPassword},{validator:[Sd.confirmEquals("newPassword","confirmNewPassword"),Sd.confirmDifference("oldPassword","newPassword")]}),this.passwordFG.markAllAsTouched()}resetValues(){this.oldPassword.reset(""),this.newPassword.reset(""),this.confirmNewPassword.reset(""),this.passwordFG.markAllAsTouched()}saveNewPassword(){this.userFacadeService.changePassword(this.getDataForPasswordChange()).pipe(B(()=>{this.notificationService.success(ze.CHANGE_PASSWORD_SUCCESS),this.dialogRef.close(!0)}),Ge(e=>Rr.isTypeOf(e)&&e.errorCode===cc.PASSWORD_POLICY?(this.newPassword.setErrors(Ae(L({},this.newPassword.errors??{}),{specificMessage:!0}
7996)),this.spinnerService.hideSpinner(),ke):gn(()=>e)),this.errorProviderService.processError(ze.AUTHORIZATION_ERROR)).subscribe()}cancel(){this.disableClose||this.dialogRef.close(!1)}setNewPasswordValidators(){nn([this.passwordMinLength$.pipe(xd.asNumber()),this.passwordMaxLength$.pipe(xd.asNumber()),this.passwordDigitCount$.pipe(xd.asNumber()),this.passwordLowercaseCount$.pipe(xd.asNumber()),this.passwordUppercaseCount$.pipe(xd.asNumber())]).pipe(B(([e,n,r,o,a])=>{this.policyParams={minLength:e,maxLength:n,digitCount:r,lowercaseCount:o,uppercaseCount:a}}),$(this.getValidators())).subscribe(e=>this.newPassword.setValidators(e))}hasPolicyViolation(){return t.POLICY_ERROR_KEYS.some(e=>this.newPassword.hasError(e))}policyMessage(){let e="Has\u0142o nie spe\u0142nia za\u0142o\u017Ce\u0144 aktualnej polityki hase\u0142.",n=this.policyParams;if(!n)return e;let{minLength:r,maxLength:o,digitCount:a,lowercaseCount:s,uppercaseCount:d}=n,p=[];a>0&&p.push(`${a} ${this.plural(a,"cyfr\u0119","cyfry","cyfr")}`),s>0&&p.push(`${s} ${this.plural(s,"ma\u0142\u0105 liter\u0119","ma\u0142e litery","ma\u0142ych liter")}`),d>0&&p.push(`${d} ${this.plural(d,"du\u017C\u0105 liter\u0119","du\u017Ce litery","du\u017Cych liter")}`);let f=this.lengthRequirement(r,o),b=[];return p.length&&b.push(`co najmniej ${p.join(", ")}`),f&&b.push(f),b.length?`${e} Powinno zawiera\u0107 ${b.join(", oraz ")}`:e}lengthRequirement(e,n){let r=o=>this.plural(o,"znak","znaki","znak\xF3w");return e>0&&n>0?`od ${e} do ${n} ${r(n)}`:n>0?`maksymalnie ${n} ${r(n)}`:e>0?`co najmniej ${e} ${r(e)}`:null}plural(e,n,r,o){if(e===1)return n;let a=e%10,s=e%100;return a>=2&&a<=4&&!(s>=12&&s<=14)?r:o}getValidators(){return([e,n,r,o,a])=>[G.required,G.minLength(e),G.maxLength(n),Sd.minDigitCount(r),Sd.minLowercaseCount(o),Sd.minUppercaseCount(a)]}getDataForPasswordChange(){return this.passwordFG.getRawValue()}static{this.\u0275fac=function(n){return new(n||t)(E(qr),E(Vi),E(wi),E(Rt),E(Le),E($r),E(Ze),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-change-password-dialog"]],standalone:!1,decls:30,vars:17,consts:[[1,"password-form","flex-col",3,"formGroup"],["appearance","outline"],["autocomplete","off","matInput","","name","oldPassword","required","","type","password",3,"formControl"],["appearance","outline","subscriptSizing","dynamic"],["autocomplete","off","matInput","","name","newPassword","required","","type","password",3,"formControl"],["autocomplete","off","matInput","","name","confirmNewPassword","required","","type","password",3,"formControl"],[3,"cancelAction","confirmAction","confirmDisabled","withResetButton","withCancelButton","buttonLabelConfirm"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content")(4,"form",0)(5,"mat-form-field",1)(6,"mat-label"),h(7,"Obecne has\u0142o"),c(),x(8,"input",2),u(9,"mat-error"),v(10,nse,2,0,"span"),c(),u(11,"mat-error"),v(12,ise,2,1,"span"),c()(),u(13,"mat-form-field",3)(14,"mat-label"),h(15,"Nowe has\u0142o"),c(),x(16,"input",4),u(17,"mat-error"),v(18,rse,2,0,"span"),v(19,ose,2,0,"span"),v(20,ase,2,1,"span"),v(21,sse,2,1,"span"),c()(),u(22,"mat-form-field",1)(23,"mat-label"),h(24,"Powt\xF3rz has\u0142o"),c(),x(25,"input",5),u(26,"mat-error"),v(27,lse,2,0,"span"),v(28,cse,2,0,"span"),c()()()(),u(29,"app-action-buttons-panel",6),T("cancelAction",function(){return r.cancel()}
7996)("confirmAction",function(){return r.saveNewPassword()}),c()()),n&2&&(l(2),S(r.data.title),l(2),g("formGroup",r.passwordFG),l(4),g("formControl",r.oldPassword),l(2),y(r.oldPassword.hasError("required")?10:-1),l(2),y(r.oldPassword.hasError("authentication.old_password_incorrect")?12:-1),l(4),g("formControl",r.newPassword),l(2),y(r.newPassword.hasError("required")?18:-1),l(),y(r.newPassword.hasError("mustBeDifferent")?19:-1),l(),y(r.newPassword.hasError("authentication.password_from_history")?20:-1),l(),y(!r.newPassword.hasError("required")&&!r.newPassword.hasError("mustBeDifferent")&&!r.newPassword.hasError("authentication.password_from_history")&&r.hasPolicyViolation()?21:-1),l(4),g("formControl",r.confirmNewPassword),l(2),y(r.confirmNewPassword.hasError("required")?27:-1),l(),y(r.confirmNewPassword.hasError("mustMatch")?28:-1),l(),g("confirmDisabled",r.passwordFG.invalid)("withResetButton",!1)("withCancelButton",!r.disableClose)("buttonLabelConfirm",r.ButtonLabels.OK))},dependencies:[Vr,Je,Xe,Ai,mn,$e,$n,Mt,Nt,Ot,Ve,qe,St,et,Tt],styles:[".password-form[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin-top:.5rem}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]})}}return t})();function dse(t,i){if(t&1&&(u(0,"mat-option",5),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),so("",e.id,", ",e.name)}}var tG=(()=>{class t{constructor(e,n,r,o,a,s,d){this.dialogRef=e,this.formBuilder=n,this.notificationService=r,this.clientsFacadeService=o,this.errorProviderService=a,this.injector=s,this.data=d,this.clients=[],this.filteredClients=P([]),this.disableClose=!1,this.ButtonLabels=tt,this.isClientSelected=!1,this.justPickedFromList=!1,this.disableClose=this.data.disableClose??!1,e.disableClose=this.disableClose,this.chooseClientFC=new z(""),this.defaultValueFC=new z(!1),this.clientFG=this.formBuilder.group({chooseClientFC:this.chooseClientFC,defaultValueFC:this.defaultValueFC})}ngOnInit(){this.getClients(),this.setupFiltering(),this.initListeners()}setupFiltering(){this.filteredClients=this.chooseClientFC.valueChanges.pipe(Re(""),$(e=>this.filterClients(e)))}initListeners(){this.chooseClientFC.valueChanges.pipe(It()).subscribe(e=>{e&&typeof e=="object"&&this.defaultValueFC.setValue(this.defaultClient?.id===e.id)})}get isClientChosen(){let e=this.chooseClientFC.value;return!!e&&typeof e=="object"}onFocus(){if(this.isClientSelected){this.isClientSelected=!1;return}this.chooseClientFC.setValue("")}onOptionSelected(){this.isClientSelected=!0,this.justPickedFromList=!0}onEnterInField(){Dt(()=>{if(this.justPickedFromList){this.justPickedFromList=!1;return}this.isClientChosen&&this.setClient()},{injector:this.injector})}resetValues(){this.chooseClientFC.reset(),this.defaultValueFC.reset(!1)}getClients(){this.clientsFacadeService.getAll().pipe(B(e=>{this.clients=e}),B(()=>this.loadDefaultFromBackend())).subscribe()}loadDefaultFromBackend(){this.clientsFacadeService.getDefault().pipe(B(e=>{this.checkIfOneClient(e,this.clients)})).subscribe()}setClient(){let e=this.chooseClientFC.value;this.clientsFacadeService.setClient(e,this.defaultValueFC.value).pipe(B(()=>{this.defaultValueFC.value&&this.notificationService.success("Zapisano domy\u015Bln\u0105 firm\u0119")}),We(1),this.errorProviderService.processError(ze.SAVING_ERROR,P([]))
7996).subscribe({next:()=>{this.dialogRef.close(!0)}})}dismiss(){this.notificationService.default("Odrzucono zmiany"),this.dialogRef.close(!1)}displayClient(e){return!e||typeof e!="object"?"":`${e.id}, ${e.name}`}checkIfOneClient(e,n){!e&&n.length===1?this.clientsFacadeService.setClient(n[0],!0).pipe(B(()=>this.showDefaultClientOnFront(n[0]))).subscribe():this.showDefaultClientOnFront(e)}showDefaultClientOnFront(e){let n;e&&(n=this.clients.find(r=>r.id===e.id)),n?this.clientFG.setValue({chooseClientFC:n,defaultValueFC:!0}):this.clientFG.setValue({chooseClientFC:"",defaultValueFC:!1}),this.defaultClient=n}filterClients(e){if(!e)return this.clients;if(typeof e!="string")return this.clients;let n=e.toLowerCase();return this.clients.filter(r=>r.name.toLowerCase().includes(n)||r.id.toLowerCase().includes(n))}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(Vi),E(Le),E(TE),E(Rt),E(ie),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-choose-client-dialog"]],standalone:!1,decls:17,vars:10,consts:[["auto","matAutocomplete"],[1,"flex-col","gap-10",3,"formGroup"],["appearance","outline"],["autocomplete","off","type","text","matInput","","placeholder","Wyszukaj i wybierz firm\u0119","appFocusConfirmOnSelect","",1,"custom-select","round-borders",3,"focus","keydown.enter","formControl","matAutocomplete"],["autoActiveFirstOption","",3,"optionSelected","displayWith"],[3,"value"],[3,"formControl"],[3,"cancelAction","resetAction","confirmAction","confirmDisabled","withCancelButton","buttonLabelConfirm"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Wyb\xF3r firmy"),c(),u(3,"app-dialog-content")(4,"form",1)(5,"mat-form-field",2)(6,"mat-label"),h(7,"Wybierz firm\u0119"),c(),u(8,"input",3),T("focus",function(){return r.onFocus()})("keydown.enter",function(){return r.onEnterInField()}),c(),u(9,"mat-autocomplete",4,0),T("optionSelected",function(){return r.onOptionSelected()}),He(11,dse,2,3,"mat-option",5,at),be(13,"async"),c()(),u(14,"mat-checkbox",6),h(15," Ustaw jako domy\u015Blne "),c()()(),u(16,"app-action-buttons-panel",7),T("cancelAction",function(){return r.dismiss()})("resetAction",function(){return r.resetValues()})("confirmAction",function(){return r.setClient()}),c()()),n&2){let o=ye(10);l(4),g("formGroup",r.clientFG),l(4),g("formControl",r.chooseClientFC)("matAutocomplete",o),l(),g("displayWith",r.displayClient),l(2),Ue(Fe(13,8,r.filteredClients)),l(3),g("formControl",r.defaultValueFC),l(2),g("confirmDisabled",!r.isClientChosen)("withCancelButton",!r.disableClose)("buttonLabelConfirm",r.ButtonLabels.CONFIRM)}},dependencies:[Vr,Je,Xe,Ai,$e,$n,Mt,Nt,Ot,dm,Ve,qe,ya,Qt,hr,ir,et,Tt,Ji],styles:[".flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}",".gap-10[_ngcontent-%COMP%]{gap:10px}"]})}}return t})();var Ra=(()=>{class t{getItem(e){let n=sessionStorage.getItem(e);return n===null?Promise.resolve(null):Promise.resolve(JSON.parse(n))}setItem(e,n){let r=sessionStorage.setItem(e,JSON.stringify(n));return Promise.resolve(r)}clear(){sessionStorage.clear()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var use=["filterExpansionPanel"],mse=["contextMenu"],pse=t=>({"dialog-table":t}),hse=t=>({"basic-table-row-highlight":t});function fse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Numer rachunku"),c())}function gse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),be(3,"ibanFormatPipe"),c()()),t&2){let e=i.$implicit;l(2),S(Fe(3,1,e.accountIban))}}function _se(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Typ rachunku"),c())}function bse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.accountsTypeGroup)}}function vse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Adres"),c())}function yse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.address)}}function Cse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Nazwa urz\u0119du"),c())}function Dse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.name)}}
7996function Ese(t,i){t&1&&x(0,"mat-header-row",28)}function wse(t,i){if(t&1){let e=Se();u(0,"mat-row",29),T("click",function(){let r=te(e).$implicit,o=_();return ne(o.rowClickHandler(r))})("dblclick",function(){let r=te(e).$implicit,o=_();return ne(o.rowDoubleClickHandler(r))})("contextmenu",function(r){let o=te(e).$implicit,a=_();return ne(a.onRightClick(r,o))}),So("ngModelChange",function(r){te(e);let o=_();return Ko(o.rowDetails,r)||(o.rowDetails=r),ne(r)}),c()}if(t&2){let e=i.$implicit,n=_();xo("ngModel",n.rowDetails),g("ngClass",lo(2,hse,n.selection.selected.includes(e)))}}function xse(t,i){if(t&1){let e=Se();u(0,"app-action-buttons-panel",30),T("cancelAction",function(){te(e);let r=_();return ne(r.cancelChoice())})("confirmAction",function(){te(e);let r=_();return ne(r.confirmChoice())}),c()}if(t&2){let e=_();g("withResetButton",!1)("buttonLabelConfirm",e.ButtonLabels.CHOOSE)}}var ME=(()=>{class t{constructor(e,n,r,o,a,s,d){this.notificationService=e,this.taxOfficeService=n,this.dialog=r,this.injector=o,this.userFacadeService=a,this.spinnerService=s,this.storage=d,this.pageSize=100,this.resultsLength=0,this.selection=new mr(!0,[]),this.isDialog=!1,this.isAddButtonDisabled=!1,this.ButtonLabels=tt,this.destroy$=new O,this.dataSource=new ka,this.displayedColumns=["accountIban","accountsTypeGroup","address","name"],this.matSortActive=this.displayedColumns[2],this.matSortDirection="asc",this.accountNumberFC=new z,this.taxOfficeNameFC=new z,this.taxOfficeAddressFC=new z,this.documentFC=new z,this.forDayDocumentFC=new z,this.forDayTaxOfficeFC=new z,this.taxOfficeSearchFG=new Qn({accountNumber:this.accountNumberFC,taxOfficeName:this.taxOfficeNameFC,taxOfficeAddress:this.taxOfficeAddressFC,document:this.documentFC,forDayDocument:this.forDayDocumentFC,forDayTaxOffice:this.forDayTaxOfficeFC}),this.isAddButtonDisabled=!this.userFacadeService.hasAuthorities([Ut.FUNC_CONTRACTORS_EDIT,Ut.FUNC_TRANSFER_EDIT]),this.taxOfficeRequest=this.getFilters(),Promise.all([this.storage.getItem(CR),this.storage.getItem(DR)]).then(([p,f])=>{p&&f&&(this.matSortActive=p,this.matSortDirection=f)})}ngOnInit(){this.initFilterAndData(),this.updateDetails()}ngAfterViewInit(){this.dataSource.sort=this.sort,this.onPaginatorChange()}showSortChange(e){this.matSortDirection=e.direction,this.matSortActive=e.active}resetValues(){this.taxOfficeSearchFG.reset()}search(){this.filterExpansionPanel.close(),this.storage.setItem(yR,this.taxOfficeSearchFG.value),this.taxOfficeRequest=this.getFilters(),this.paginator.pageIndex=0,nn([this.getTaxOffice(this.taxOfficeRequest),this.getTaxOfficeCount(this.taxOfficeRequest)]).subscribe()}openTransferDialog(){this.selection.selected.length===1&&this.injector.get(bh).openDialog(pn.US_CLO,ar.getFromTaxOffice(this.selection.selected[0]),Me.NEW)}confirmChoice(){}cancelChoice(){}rowClickHandler(e){this.selection.toggle(e),this.clearDetails(),this.selection.selected.length>1&&this.selection.selected.forEach(n=>{n!==e&&this.selection.deselect(n)}),this.updateDetails(e)}rowDoubleClickHandler(e){this.rowClickHandler(e),this.confirmChoice()}onRightClick(e,n){return e?.type==="contextmenu"&&this.openContextMenu(e,n),!1}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}initFilterAndData(){ut(Il(window,"beforeunload"),this.destroy$).subscribe(()=>{this.storage.setItem(CR,this.matSortActive),this.storage.setItem(DR,this.matSortDirection)}),this.storage.getItem(yR).then(e=>{e&&this.taxOfficeSearchFG.patchValue(e)}).finally(()=>this.search())}getTaxOffice(e){return this.spinnerService.showSpinner(),this.taxOfficeService.getTaxOfficesFilterList(e,this.paginator.pageIndex).pipe(B(n=>this.dataSource.data=n),B(()=>
7996this.spinnerService.hideSpinner()))}getTaxOfficeCount(e){return this.taxOfficeService.getTaxOfficeCount(e).pipe(Ge(()=>P(0)),B(n=>this.resultsLength=n))}updateDetails(e){e&&this.selection.isSelected(e)?(this.rowDetails=this.selection.selected[0],this.updateFC()):this.selection.selected.length===1?(this.rowDetails=this.selection.selected[0],this.updateFC()):this.clearDetails()}clearDetails(){this.rowDetails&&(this.rowDetails=void 0)}updateFC(){if(typeof this.rowDetails>"u")throw new Ta("rowDetails");this.accountNumberFC.setValue(this.rowDetails.accountIban),this.taxOfficeNameFC.setValue(this.rowDetails.name1),this.taxOfficeAddressFC.setValue(this.rowDetails.address)}getFilters(){return{name:this.taxOfficeNameFC.value||"",address:this.taxOfficeAddressFC.value||"",accountIban:this.accountNumberFC.value||"",accountType:this.documentFC.value||"",documentDate:this.forDayDocumentFC.value||"",usDate:this.forDayTaxOfficeFC.value||""}}onPaginatorChange(){this.paginator.page.pipe(W(()=>this.getTaxOffice(this.taxOfficeRequest))).subscribe(e=>this.dataSource.data=e)}openContextMenu(e,n){this.taxOfficeContextMenuComponent.onContextMenu(e,n)}static{this.\u0275fac=function(n){return new(n||t)(E(Le),E(Ch),E(mt),E(ie),E(wi),E($r),E(Ra))}}static{this.\u0275cmp=k({type:t,selectors:[["app-tax-office"]],viewQuery:function(n,r){if(n&1&&ve(use,5)(bo,5)(Ir,5)(mse,5),n&2){let o;H(o=U())&&(r.filterExpansionPanel=o.first),H(o=U())&&(r.paginator=o.first),H(o=U())&&(r.sort=o.first),H(o=U())&&(r.taxOfficeContextMenuComponent=o.first)}},standalone:!1,decls:68,vars:27,consts:[["filterExpansionPanel",""],["picker",""],["picker2",""],["contextMenu",""],[3,"isDialog"],["appPageFilter",""],[1,"flex-col",3,"formGroup"],["appearance","outline"],["autocomplete","off","matInput","","type","text",3,"formControl"],[1,"flex-row"],["appearance","outline",1,"flex-40"],["autocomplete","off","matInput","","readonly","",3,"formControl","matDatepicker"],["matSuffix","",3,"for"],[3,"clickAction"],[1,"gap-02rem"],[3,"clickAction","disabled"],[3,"length","pageSize","showFirstLastButtons"],["matSort","","matSortDisableClear","",3,"matSortChange","dataSource","matSortActive","matSortDirection","ngClass"],["matColumnDef","accountIban"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","accountsTypeGroup"],["matColumnDef","address"],["matColumnDef","name"],["class","sticky-header-filter default-sticky",4,"matHeaderRowDef","matHeaderRowDefSticky"],["ngDefaultControl","",3,"ngModel","ngClass","click","dblclick","contextmenu","ngModelChange",4,"matRowDef","matRowDefColumns"],[3,"withResetButton","buttonLabelConfirm"],["mat-sort-header",""],[1,"sticky-header-filter","default-sticky"],["ngDefaultControl","",3,"click","dblclick","contextmenu","ngModelChange","ngModel","ngClass"],[3,"cancelAction","confirmAction","withResetButton","buttonLabelConfirm"]],template:function(n,r){if(n&1&&(u(0,"app-page-container",4)(1,"app-page-header",4),h(2,"Urz\u0119dy skarbowe i izby celne"),c(),u(3,"app-page-content")(4,"mat-expansion-panel",5,0)(6,"mat-expansion-panel-header")(7,"mat-panel-title"),h(8," Filtry "),c()(),u(9,"form",6)(10,"mat-form-field",7)(11,"mat-label"),h(12,"Numer rachunku"),c(),x(13,"input",8),c(),u(14,"mat-form-field",7)(15,"mat-label"),h(16,"Nazwa urz\u0119du"),c(),x(17,"input",8),c(),u(18,"mat-form-field",7)(19,"mat-label"),h(20,"Adres"),c(),x(21,"input",8),c(),u(22,"mat-form-field",7)(23,"mat-label"),h(24,"Dokument"),c(),x(25,"input",8),c(),u(26,"div",9)(27,"mat-form-field",10)(28,"mat-label"),h(29,"Na dzie\u0144 (dokument)"),c(),x(30,"input",11)(31,"mat-datepicker-toggle",12)(32,"mat-datepicker",null,1),c(),u(34,"mat-form-field",10)(35,"mat-label"),h(36,"Na dzie\u0144 (urz\u0105d)"),c(),x(37,"input",11)(38,"mat-datepicker-toggle",12)(39,"mat-datepicker",null,2),c()(),u(41,"mat-card-actions")(42,"app-button",13),T("clickAction",function(){return r.search()}),h(43,"Szukaj"),c(),u(44,"app-button",13),T("clickAction",function(){return r.resetValues()}),h(45,"Wyczy\u015B\u0107"),c()()()(),u(46,"app-page-btn-panel",14)(47,"app-button",15),T("clickAction",function(){return r.openTransferDialog()}),h(48," Dodaj przelew US / C\u0141O "),c()(),x(49,"mat-paginator",16),u(50,"mat-table",17),T("matSortChange",function(a){return r.showSortChange(a)}),yn(51,18),fe(52,fse,2,0,"mat-header-cell",19)(53,gse,4,3,"mat-cell",20),Cn(),yn(54,21),fe(55,_se,2,0,"mat-header-cell",19)(56,bse,3,1,"mat-cell",20),Cn(),yn(57,22),fe(58,vse,2,0,"mat-header-cell",19)(59,yse,3,1,"mat-cell",20),Cn(),yn(60,23),fe(61,Cse,2,0,"mat-header-cell",19)(62,Dse,3,1,"mat-cell",20),Cn(),fe(63,Ese,1,0,"mat-header-row",24)(64,wse,1,4,"mat-row",25),c()(),v(65,xse,1,2,"app-action-buttons-panel",26),c(),x(66,"app-tax-office-context-menu",null,3)),n&2){let o=ye(33),a=ye(40);
7996g("isDialog",r.isDialog),l(),g("isDialog",r.isDialog),l(8),g("formGroup",r.taxOfficeSearchFG),l(4),g("formControl",r.accountNumberFC),l(4),g("formControl",r.taxOfficeNameFC),l(4),g("formControl",r.taxOfficeAddressFC),l(4),g("formControl",r.documentFC),l(5),g("formControl",r.forDayDocumentFC)("matDatepicker",o),l(),g("for",o),l(6),g("formControl",r.forDayTaxOfficeFC)("matDatepicker",a),l(),g("for",a),l(9),g("disabled",r.selection.selected.length!==1||r.isAddButtonDisabled),l(2),g("length",r.resultsLength)("pageSize",r.pageSize)("showFirstLastButtons",!0),l(),g("dataSource",r.dataSource)("matSortActive",r.matSortActive)("matSortDirection",r.matSortDirection)("ngClass",lo(25,pse,r.isDialog)),l(13),g("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0),l(),g("matRowDefColumns",r.displayedColumns),l(),y(r.isDialog?65:-1)}},styles:["[_nghost-%COMP%]{display:block;padding:1.5rem}.mat-column-accountIban[_ngcontent-%COMP%]{min-width:15rem}.mat-column-accountsTypeGroup[_ngcontent-%COMP%]{max-width:7rem}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}.gap-02rem[_ngcontent-%COMP%]{gap:.2rem}.flex-40[_ngcontent-%COMP%]{flex:1 1 40%;max-width:40%;box-sizing:border-box}"]})}}return t})();var Sse=t=>({"dialog-table":t}),Tse=t=>({"basic-table-row-highlight":t});function Ise(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Numer rachunku"),c())}function Ase(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),be(3,"ibanFormatPipe"),c()()),t&2){let e=i.$implicit;l(2),S(Fe(3,1,e.accountIban))}}function kse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Typ rachunku"),c())}function Rse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.accountsTypeGroup)}}function Mse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Adres"),c())}function Nse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.address)}}function Ose(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Nazwa urz\u0119du"),c())}function Fse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.name)}}function Pse(t,i){t&1&&x(0,"mat-header-row",28)}function Lse(t,i){if(t&1){let e=Se();u(0,"mat-row",29),T("click",function(){let r=te(e).$implicit,o=_();return ne(o.rowClickHandler(r))})("dblclick",function(){let r=te(e).$implicit,o=_();return ne(o.rowDoubleClickHandler(r))})("contextmenu",function(r){let o=te(e).$implicit,a=_();return ne(a.onRightClick(r,o))}),So("ngModelChange",function(r){te(e);let o=_();return Ko(o.rowDetails,r)||(o.rowDetails=r),ne(r)}),c()}if(t&2){let e=i.$implicit,n=_();xo("ngModel",n.rowDetails),g("ngClass",lo(2,Tse,n.selection.selected.includes(e)))}}function Bse(t,i){if(t&1){let e=Se();u(0,"app-action-buttons-panel",30),T("cancelAction",function(){te(e);let r=_();return ne(r.cancelChoice())})("confirmAction",function(){te(e);let r=_();return ne(r.confirmChoice())}),c()}if(t&2){let e=_();g("withResetButton",!1)("buttonLabelConfirm",e.ButtonLabels.CHOOSE)}}var Td=(()=>{class t extends ME{constructor(e,n,r,o,a,s,d,p,f){super(e,n,o,a,s,d,p),this.notificationService=e,this.taxOfficeService=n,this.dialogRef=r,this.dialog=o,this.injector=a,this.userFacadeService=s,this.spinnerService=d,this.storage=p,this.dialogData=f,this.isDialog=f.isDialog}ngOnInit(){super.ngOnInit()}confirmChoice(){this.dialogRef.close(this.rowDetails)}cancelChoice(){this.dialogRef.close()}static{this.\u0275fac=function(n){return new(n||t)(E(Le),E(Ch),E(Ze),E(mt),E(ie),E(wi),E($r),E(Ra),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-tax-office-dialog"]],standalone:!1,features:[he],decls:68,vars:27,consts:[["filterExpansionPanel",""],["picker",""],["picker2",""],["contextMenu",""],[3,"isDialog"],["appPageFilter",""],[1,"flex-col",3,"formGroup"],["appearance","outline"],["autocomplete","off","matInput","","type","text",3,"formControl"],[1,"flex-row"],["appearance","outline",1,"flex-40"],["autocomplete","off","matInput","","readonly","",3,"formControl","matDatepicker"],["matSuffix","",3,"for"],[3,"clickAction"],[1,"gap-02rem"],[3,"clickAction","disabled"],[3,"length","pageSize","showFirstLastButtons"],["matSort","","matSortDisableClear","",3,"matSortChange","dataSource","matSortActive","matSortDirection","ngClass"],["matColumnDef","accountIban"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","accountsTypeGroup"],["matColumnDef","address"],["matColumnDef","name"],["class","sticky-header-filter default-sticky",4,"matHeaderRowDef","matHeaderRowDefSticky"],["ngDefaultControl","",3,"ngModel","ngClass","click","dblclick","contextmenu","ngModelChange",4,"matRowDef","matRowDefColumns"],[3,"withResetButton","buttonLabelConfirm"],["mat-sort-header",""],[1,"sticky-header-filter","default-sticky"],["ngDefaultControl","",3,"click","dblclick","contextmenu","ngModelChange","ngModel","ngClass"],[3,"cancelAction","confirmAction","withResetButton","buttonLabelConfirm"]],template:function(n,r){if(n&1&&(u(0,"app-page-container",4)(1,"app-page-header",4),h(2,"Urz\u0119dy skarbowe i izby celne"),c(),u(3,"app-page-content")(4,"mat-expansion-panel",5,0)(6,"mat-expansion-panel-header")(7,"mat-panel-title"),h(8," Filtry "),c()(),u(9,"form",6)(10,"mat-form-field",7)(11,"mat-label"),h(12,"Numer rachunku"),c(),x(13,"input",8),c(),u(14,"mat-form-field",7)(15,"mat-label"),h(16,"Nazwa urz\u0119du"),c(),x(17,"input",8),c(),u(18,"mat-form-field",7)(19,"mat-label"),h(20,"Adres"),c(),x(21,"input",8),c(),u(22,"mat-form-field",7)(23,"mat-label"),h(24,"Dokument"),c(),x(25,"input",8),c(),u(26,"div",9)(27,"mat-form-field",10)(28,"mat-label"),h(29,"Na dzie\u0144 (dokument)"),c(),x(30,"input",11)(31,"mat-datepicker-toggle",12)(32,"mat-datepicker",null,1),c(),u(34,"mat-form-field",10)(35,"mat-label"),h(36,"Na dzie\u0144 (urz\u0105d)"),c(),x(37,"input",11)(38,"mat-datepicker-toggle",12)(39,"mat-datepicker",null,2),c()(),u(41,"mat-card-actions")(42,"app-button",13),T("clickAction",function(){return r.search()}
7996),h(43,"Szukaj"),c(),u(44,"app-button",13),T("clickAction",function(){return r.resetValues()}),h(45,"Wyczy\u015B\u0107"),c()()()(),u(46,"app-page-btn-panel",14)(47,"app-button",15),T("clickAction",function(){return r.openTransferDialog()}),h(48," Dodaj przelew US / C\u0141O "),c()(),x(49,"mat-paginator",16),u(50,"mat-table",17),T("matSortChange",function(a){return r.showSortChange(a)}),yn(51,18),fe(52,Ise,2,0,"mat-header-cell",19)(53,Ase,4,3,"mat-cell",20),Cn(),yn(54,21),fe(55,kse,2,0,"mat-header-cell",19)(56,Rse,3,1,"mat-cell",20),Cn(),yn(57,22),fe(58,Mse,2,0,"mat-header-cell",19)(59,Nse,3,1,"mat-cell",20),Cn(),yn(60,23),fe(61,Ose,2,0,"mat-header-cell",19)(62,Fse,3,1,"mat-cell",20),Cn(),fe(63,Pse,1,0,"mat-header-row",24)(64,Lse,1,4,"mat-row",25),c()(),v(65,Bse,1,2,"app-action-buttons-panel",26),c(),x(66,"app-tax-office-context-menu",null,3)),n&2){let o=ye(33),a=ye(40);g("isDialog",r.isDialog),l(),g("isDialog",r.isDialog),l(8),g("formGroup",r.taxOfficeSearchFG),l(4),g("formControl",r.accountNumberFC),l(4),g("formControl",r.taxOfficeNameFC),l(4),g("formControl",r.taxOfficeAddressFC),l(4),g("formControl",r.documentFC),l(5),g("formControl",r.forDayDocumentFC)("matDatepicker",o),l(),g("for",o),l(6),g("formControl",r.forDayTaxOfficeFC)("matDatepicker",a),l(),g("for",a),l(9),g("disabled",r.selection.selected.length!==1||r.isAddButtonDisabled),l(2),g("length",r.resultsLength)("pageSize",r.pageSize)("showFirstLastButtons",!0),l(),g("dataSource",r.dataSource)("matSortActive",r.matSortActive)("matSortDirection",r.matSortDirection)("ngClass",lo(25,Sse,r.isDialog)),l(13),g("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0),l(),g("matRowDefColumns",r.displayedColumns),l(),y(r.isDialog?65:-1)}},styles:["[_nghost-%COMP%]{display:block;padding:1.5rem}.mat-column-accountIban[_ngcontent-%COMP%]{min-width:15rem}.mat-column-accountsTypeGroup[_ngcontent-%COMP%]{max-width:7rem}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}.gap-02rem[_ngcontent-%COMP%]{gap:.2rem}.flex-40[_ngcontent-%COMP%]{flex:1 1 40%;max-width:40%;box-sizing:border-box}"]})}}return t})();var NE=new Map([[ct.NORMAL_TRANSFER,"Przelew zwyk\u0142y"],[ct.FOREIGN_TRANSFER,"Przelew zagraniczny"],[ct.US_TRANSFER,"Przelew US / C\u0141O"],[ct.VAT_TRANSFER,"Faktura VAT"]]);var Mi=class{static getContractorType(i){switch(i){case"INTERNATIONAL":case"FOREIGN_TRANSFER":return ct.FOREIGN_TRANSFER;case"US_CLO":case"US_TRANSFER":return ct.US_TRANSFER;case"VAT_INVOICE":case"VAT_TRANSFER":return ct.VAT_TRANSFER;case"COMMON":case"NORMAL_TRANSFER":return ct.NORMAL_TRANSFER;default:return ct.NORMAL_TRANSFER}}static getContractorTypeFromOper(i){switch(i){case"PRZELEW_VAT":case"53":return ct.VAT_TRANSFER;case"PRZELEW_US":case"71":case"74":return ct.US_TRANSFER;case"PRZELEW_ZAGRANICZNY":case"P0":case"P1":case"CS":case"ES":case"HS":return ct.FOREIGN_TRANSFER;default:return ct.NORMAL_TRANSFER}}static getContractorShortName(i){return i.shortName||""}static getContractorImportRequest(i,e,n,r,o){return{type:i,encoding:o,fileId:e,filePath:n,isForLogin:r}}static parseTransferToContractor(i){return{name1:i.name1,name2:i.name2,address1:i.address1,address2:i.address2,targetAccount:i.targetAccount,bic:i.bank?.bic,title:i.title,bank1:i.bank?.bankName,bank2:i.bank?.address,bank3:i.bank?.city,bank4:i.bank?.country,amount:i.amount,currency:i.currency}}static getTypeName(i){return NE.get(i)||""}};var Po="Pole jest wymagane",wh="Pole zawiera niedozwolone znaki lub ci\u0105gi znak\xF3w",B_t="(\\d+([\\,\\.]\\d{0,2})?|\\.?\\d{1,2})",xh="Przekroczono maksymaln\u0105 liczb\u0119 znak\xF3w",Xt=class{static calculateWeightedSum(i,e){let n=0,r=i.length;for(let o=0;o<r;o++)n+=parseInt(e.substring(o,o+1),10)*i[o];return n}static isRequired(i){return i&&(i.touched||i.dirty)&&i.hasError("required")}static currencyValidator(){return i=>{let e=parseFloat(i.value);return e<=0?{errorNotEnoughAmount:!0}:Number.isNaN(e)&&i.value!==""?{errorIllegalChar:!0}:null}}static ibanSimplyValidator(){return i=>{let e=ue.removeWhitespaces(i.value);return e.length!==26&&e.length!==0?{incorrectIban:!0}:null}}};var Vse="Nieprawid\u0142owy numer NIP",Ma=class t{static check(i){let e=i.value;return!e||e.length===0||t.isValid(t.getTextWithoutDashes(e))?null:{nip:{message:Vse}}}static isValid(i){if(t.isPatternValid(i)){let e=[6,5,7,2,3,4,5,6,7];return Xt.calculateWeightedSum(e,i)%11===parseInt(i.substring(9,10),10)}else return!1}static getTextWithoutDashes(i){return i.toString().replace(/[ \-]/gi,"")}static isPatternValid(i){return new RegExp(/^[0-9]{10}$/).test(i)}};var jse="Nieprawid\u0142owy numer PESEL",fl=class t{static check(i){let e=i?.value;return!e||e.length===0||t.isValid(e)?null:{pesel:{message:jse}}}static isValid(i){if(t.isPatternValid(i)){let e=[9,7,3,1,9,7,3,1,9,7];return Xt.calculateWeightedSum(e,i)%10===parseInt(i.substring(10,11),10)}return!1}static isPatternValid(i){return new RegExp(/^[0-9]{11}$/).test(i)}};var Hse="Nieprawid\u0142owy numer REGON",Id=class t{static check(i){return!i.value||t.isValid(i.value)||i.value.toString().length===1&&isNaN(Number(i.value))?null:{regon:{message:Hse}}}static isValid(i){if(t.isPatternValid(i)){if(i.length===9){let e=[8,9,2,3,4,5,6,7],n=Xt.calculateWeightedSum(e,i);return this.checkValid(n,i)}else if(i.length===14){let e=[2,4,8,5,0,9,7,3,6,1,2,4,8],n=Xt.calculateWeightedSum(e,i);return this.checkValid(n,i)}}else return!1}static checkValid(i,e){let n=i%11;return(n===10?0:n)===parseInt(e.substr(-1),10)}static isPatternValid(i){return new RegExp(/^[0-9]{9,14}$/).test(i)}};var Sh=(()=>{class t{constructor(){this.SHORT_NAME_MAX_LENGTH=20,this.INPUT_MAX_LENGTH=35,this.fb=m(Er),this.form=this.fb.nonNullable.group({type:this.fb.nonNullable.control({value:"",disabled:!0}),shortName:this.fb.nonNullable.control("",[G.required,G.pattern(ue.namePattern),G.maxLength(this.SHORT_NAME_MAX_LENGTH)]),namePart1:this.fb.nonNullable.control("",[G.required,G.maxLength(this.INPUT_MAX_LENGTH)]),namePart2:this.fb.nonNullable.control("",G.maxLength(this.INPUT_MAX_LENGTH)),addressPart1:this.fb.nonNullable.control("",G.maxLength(this.INPUT_MAX_LENGTH)),addressPart2:this.fb.nonNullable.control("",G.maxLength(this.INPUT_MAX_LENGTH))})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var Th=(()=>{class t{constructor(){this.contractorService=m(br),this.authFlow=m(hl),this.notificationService=m(Le)}saveContractor(e){return this.authorize(this.contractorService.saveAuthOperation(e),e)}updateContractor(e){return this.authorize(this.contractorService.updateAuthOperation(e),e)}authorize(e,n){let r=`Potwierdzenie dodania lub zmiany danych kontrahenta: ${Mi.getContractorShortName(n)}`;return this.authFlow.run(e,[],{title:"Autoryzacja kontrahenta",summary:r}).pipe(B(()=>this.notificationService.success(ze.CONTRACTOR_CREATING_UPDATING_SUCCESS)),IE())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var kR=(()=>{class t{constructor(e){this.control=e}onInputChange(e){let n=this.control.control;if(!n)return;let r=n.value,o=bt.getOnlyNumbersWithOneDot(r);o=bt.trimDecimalsToTwoPlaces(o),n.setValue(o),r!==o&&e.stopPropagation()}
7996formatAmount(){let e=this.control.control;if(!e)return;let n=e.value,r=bt.formatAmount(n);n=+n==0?$_:bt.trimDecimalsToTwoPlaces(r),e.setValue(n)}static{this.\u0275fac=function(n){return new(n||t)(E(Li))}}static{this.\u0275dir=N({type:t,selectors:[["","appTwoDecimalPlacesNumber",""]],hostBindings:function(n,r){n&1&&T("input",function(a){return r.onInputChange(a)})("blur",function(){return r.formatAmount()})},standalone:!1})}}return t})();function Gse(t,i){t&1&&(u(0,"span"),h(1,"Kwota jest wymagana"),c())}function Wse(t,i){t&1&&(u(0,"span"),h(1,"Zbyt ma\u0142a kwota"),c())}function $se(t,i){t&1&&(u(0,"span"),h(1,"Zbyt du\u017Ca kwota"),c())}function qse(t,i){t&1&&(u(0,"span"),h(1,"Zbyt ma\u0142a kwota"),c())}function Yse(t,i){t&1&&(u(0,"span"),h(1,"Zbyt du\u017Ca kwota"),c())}function Kse(t,i){t&1&&(u(0,"span"),h(1,"Kwota musi by\u0107 wi\u0119ksza od 0"),c())}function Xse(t,i){t&1&&(u(0,"span"),h(1,"Pole zawiera niedozwolone znaki"),c())}function Zse(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.empty"])}}function Qse(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.zero"])}}function Jse(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.greaterThan001"])}}function ele(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.max_range"])}}function tle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.min_range"])}}function nle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.greaterThanOne"])}}function ile(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwotaVat.greaterThan0"])}}function rle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.wplata.greaterThanOne"])}}function ole(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.wyplata.greaterThanOne"])}}function ale(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.wyplata.za_duzo"])}}function sle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["error.field.amount.not_allowed"])}}function lle(t,i){t&1&&(u(0,"span"),h(1,"Kwota VAT nie mo\u017Ce by\u0107 wi\u0119ksza od kwoty brutto"),c())}function cle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.brakSrodkow"])}}function dle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["error.field.amount.wrong_format_with_penny"])}}function ule(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["error.field.amount.wrong_format"])}}var RR=(()=>{class t{constructor(){this.ERRORS=ln}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-amount-error"]],inputs:{amountFC:"amountFC"},standalone:!1,decls:22,vars:22,template:function(n,r){n&1&&(v(0,Gse,2,0,"span"),v(1,Wse,2,0,"span"),v(2,$se,2,0,"span"),v(3,qse,2,0,"span"),v(4,Yse,2,0,"span"),v(5,Kse,2,0,"span"),v(6,Xse,2,0,"span"),v(7,Zse,2,1,"span"),v(8,Qse,2,1,"span"),v(9,Jse,2,1,"span"),v(10,ele,2,1,"span"),v(11,tle,2,1,"span"),v(12,nle,2,1,"span"),v(13,ile,2,1,"span"),v(14,rle,2,1,"span"),v(15,ole,2,1,"span"),v(16,ale,2,1,"span"),v(17,sle,2,1,"span"),v(18,lle,2,0,"span"),v(19,cle,2,1,"span"),v(20,dle,2,1,"span"),v(21,ule,2,1,"span")),n&2&&(y(r.amountFC.hasError("required")?0:-1),l(),y(r.amountFC.hasError("minlength")?1:-1),l(),y(r.amountFC.hasError("maxlength")?2:-1),l(),y(r.amountFC.hasError("min")?3:-1),l(),y(r.amountFC.hasError("max")?4:-1),l(),y(r.amountFC.hasError("errorNotEnoughAmount")?5:-1),l(),y(r.amountFC.hasError("errorIllegalChar")&&!r.amountFC.hasError("required")?6:-1),l(),y(r.amountFC.hasError("kwota.empty")?7:-1),l(),y(r.amountFC.hasError("kwota.zero")?8:-1),l(),y(r.amountFC.hasError("kwota.greaterThan001")?9:-1),l(),y(r.amountFC.hasError("kwota.max_range")?10:-1),l(),y(r.amountFC.hasError("kwota.min_range")?11:-1),l(),y(r.amountFC.hasError("kwota.greaterThanOne")?12:-1),l(),y(r.amountFC.hasError("kwotaVat.greaterThan0")?13:-1),l(),y(r.amountFC.hasError("kwota.wplata.greaterThanOne")?14:-1),l(),y(r.amountFC.hasError("kwota.wyplata.greaterThanOne")?15:-1),l(),y(r.amountFC.hasError("kwota.wyplata.za_duzo")?16:-1),l(),y(r.amountFC.hasError("error.field.amount.not_allowed")?17:-1),l(),y(r.amountFC.hasError("notBiggerThan")?18:-1),l(),y(r.amountFC.hasError("kwota.brakSrodkow")?19:-1),l(),y(r.amountFC.hasError("error.field.amount.wrong_format_with_penny")?20:-1),l(),y(r.amountFC.hasError("error.field.amount.wrong_format")?21:-1))},encapsulation:2})}}return t})();
7996function ple(t,i){t&1&&(u(0,"span",2),h(1,"PLN"),c())}var Yr=(()=>{class t{constructor(){this.isRequired=!0,this.fieldLabel="Kwota",this.maximumLength=20,this.showPLNSuffix=!1,this.handleFocusoutEvent=new V}set disabledInput(e){e?this.amountFC.disable():this.amountFC.enable()}handleFocusout(){this.handleFocusoutEvent.emit()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-amount-input"]],inputs:{amountFC:"amountFC",isRequired:"isRequired",fieldLabel:"fieldLabel",maximumLength:"maximumLength",showPLNSuffix:[2,"showPLNSuffix","showPLNSuffix",q],disabledInput:"disabledInput"},outputs:{handleFocusoutEvent:"handleFocusoutEvent"},standalone:!1,decls:7,vars:6,consts:[["appearance","outline"],["matInput","","appTwoDecimalPlacesNumber","","placeholder","Kwota",3,"focusout","formControl","maxlength","required"],["matSuffix","",1,"currencySuffix"],[3,"amountFC"]],template:function(n,r){n&1&&(u(0,"mat-form-field",0)(1,"mat-label"),h(2),c(),u(3,"input",1),T("focusout",function(){return r.handleFocusout()}),c(),v(4,ple,2,0,"span",2),u(5,"mat-error"),x(6,"app-amount-error",3),c()()),n&2&&(l(2),S(r.fieldLabel),l(),g("formControl",r.amountFC)("maxlength",r.maximumLength)("required",r.isRequired),l(),y(r.showPLNSuffix?4:-1),l(2),g("amountFC",r.amountFC))},dependencies:[Ve,qe,St,Pn,et,Je,Xe,mn,Bi,$e,Bt,kR,RR],styles:["[_nghost-%COMP%]{display:block}mat-form-field[_ngcontent-%COMP%]{width:100%}input[_ngcontent-%COMP%]{text-align:right!important}.currencySuffix[_ngcontent-%COMP%]{padding-right:5px}"]})}}return t})();function fle(t,i){t&1&&(u(0,"mat-hint")(1,"span",5),h(2,`Cudzys\u0142\xF3w (") zostanie zamieniony na apostrof (') podczas zapisu przelewu.`),c()())}function gle(t,i){t&1&&(u(0,"mat-error"),h(1,"Nazwa jest wymagana"),c())}function _le(t,i){if(t&1&&(u(0,"mat-error"),h(1,"Pole zawiera nieprawid\u0142owe znaki: "),u(2,"b"),h(3),c()()),t&2){let e=_();l(3),S(e.getInvalidCharacters(e.namePart1FC.getError("pattern")))}}function ble(t,i){t&1&&(u(0,"mat-hint")(1,"span",5),h(2,`Cudzys\u0142\xF3w (") zostanie zamieniony na apostrof (') podczas zapisu przelewu.`),c()())}function vle(t,i){if(t&1&&(u(0,"mat-error"),h(1,"Pole zawiera nieprawid\u0142owe znaki: "),u(2,"b"),h(3),c()()),t&2){let e=_();l(3),S(e.getInvalidCharacters(e.namePart2FC.getError("pattern")))}}function yle(t,i){t&1&&(u(0,"mat-error"),h(1,"Adres jest wymagany"),c())}function Cle(t,i){if(t&1&&(u(0,"mat-error"),h(1,"Pole zawiera nieprawid\u0142owe znaki: "),u(2,"b"),h(3),c()()),t&2){let e=_();l(3),S(e.getInvalidCharacters(e.addressPart1FC.getError("pattern")))}}function Dle(t,i){if(t&1&&(u(0,"mat-error"),h(1,"Pole zawiera nieprawid\u0142owe znaki: "),u(2,"b"),h(3),c()()),t&2){let e=_();l(3),S(e.getInvalidCharacters(e.addressPart2FC.getError("pattern")))}}var Kr=(()=>{class t{constructor(){this.isInternational=co(!1),this.INPUT_MAX_LENGTH=35,this.getInvalidCharacters=ue.getInvalidCharacters}ngOnInit(){let e=this.isInternational()?ue.swiftPattern:ue.namePattern,n=this.isInternational()?ue.swiftPattern:ue.addressPattern;this.namePart1FC.setValidators([G.required,G.maxLength(this.INPUT_MAX_LENGTH),G.pattern(e)]),this.namePart2FC.setValidators([G.maxLength(this.INPUT_MAX_LENGTH),G.pattern(e)]),this.addressPart1FC.setValidators([G.required,G.maxLength(this.INPUT_MAX_LENGTH),G.pattern(n)]),this.addressPart2FC.setValidators([G.maxLength(this.INPUT_MAX_LENGTH),G.pattern(n)])}checkIfHasDoubleQuote(e){return e?.includes('"')}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-recipant-input"]],inputs:{addressPart1FC:"addressPart1FC",addressPart2FC:"addressPart2FC",namePart1FC:"namePart1FC",namePart2FC:"namePart2FC",isInternational:[1,"isInternational"]},standalone:!1,decls:26,vars:16,consts:[["appearance","outline"],["autocomplete","off","matInput","","name","namePart1FC","required","",3,"formControl","maxlength"],["autocomplete","off","matInput","","name","namePart2FC",3,"formControl","maxlength"],["autocomplete","off","matInput","","name","addressPart1FC",3,"formControl","maxlength"],["autocomplete","off","matInput","","name","addressPart2FC",3,"formControl","maxlength"],[1,"blue-hint"]],template:function(n,r){n&1&&(u(0,"div")(1,"mat-form-field",0)(2,"mat-label"),h(3,"Nazwa"),c(),x(4,"input",1),v(5,fle,3,0,"mat-hint"),v(6,gle,2,0,"mat-error"),v(7,_le,4,1,"mat-error"),c(),u(8,"mat-form-field",0)(9,"mat-label"),h(10,"Nazwa cd."),c(),x(11,"input",2),v(12,ble,3,0,"mat-hint"),v(13,vle,4,1,"mat-error"),c()(),u(14,"div")(15,"mat-form-field",0)(16,"mat-label"),h(17,"Adres"),c(),x(18,"input",3),v(19,yle,2,0,"mat-error"),v(20,Cle,4,1,"mat-error"),c(),u(21,"mat-form-field",0)(22,"mat-label"),h(23,"Adres cd."),c(),x(24,"input",4),v(25,Dle,4,1,"mat-error"),c()()),n&2&&(l(4),g("formControl",r.namePart1FC)("maxlength",r.INPUT_MAX_LENGTH),l(),y(r.checkIfHasDoubleQuote(r.namePart1FC.value)?5:-1),l(),y(r.namePart1FC.hasError("required")?6:-1),l(),y(r.namePart1FC.hasError("pattern")?7:-1),l(4),g("formControl",r.namePart2FC)("maxlength",r.INPUT_MAX_LENGTH),l(),y(r.checkIfHasDoubleQuote(r.namePart2FC.value)?12:-1),l(),y(r.namePart2FC.hasError("pattern")?13:-1),l(5),g("formControl",r.addressPart1FC)("maxlength",r.INPUT_MAX_LENGTH),l(),y(r.addressPart1FC.hasError("required")?19:-1),l(),y(r.addressPart1FC.hasError("pattern")?20:-1),l(4),g("formControl",r.addressPart2FC)("maxlength",r.INPUT_MAX_LENGTH),l(),y(r.addressPart2FC.hasError("pattern")?25:-1))},dependencies:[Ve,qe,ra,St,et,Je,Xe,mn,Bi,$e,Bt],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:flex;gap:20px}[_nghost-%COMP%] > div[_ngcontent-%COMP%] > mat-form-field[_ngcontent-%COMP%]{flex:1}.blue-hint[_ngcontent-%COMP%]{color:#2196f3}"]})}}return t})();function Ele(t,i){t&1&&(u(0,"span"),h(1,"Niepoprawny numer rachunku"),c())}function wle(t,i){t&1&&(u(0,"span"),h(1,"Brak kodu kraju. Dopisz kod kraju do numer rachunku lub wybierz kraj z listy"),c())}function xle(t,i){t&1&&(u(0,"span"),h(1,"Nieprawid\u0142owa d\u0142ugo\u015B\u0107 IBANu dla wybranego kraju"),c())}var Q_=(()=>{class t{constructor(){this.validatorUtils=Xt,this.isRequiredErrorText=Po,this.IBAN_MAX_LENGTH=35}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-iban-input"]],inputs:{bankAccountFC:"bankAccountFC"},standalone:!1,decls:8,vars:5,consts:[["appearance","outline"],["autocomplete","off","matInput","","required","",3,"formControl","maxlength"]],template:function(n,r){n&1&&(u(0,"mat-form-field",0)(1,"mat-label"),h(2,"Rachunek"),c(),x(3,"input",1),u(4,"mat-error"),v(5,Ele,2,0,"span"),v(6,wle,2,0,"span"),v(7,xle,2,0,"span"),c()()),n&2&&(l(3),g("formControl",r.bankAccountFC)("maxlength",r.IBAN_MAX_LENGTH),l(2),y(r.bankAccountFC.hasError("incorrectIban")?5:-1),l(),y(r.bankAccountFC.hasError("noCountrySpecified")?6:-1),l(),y(r.bankAccountFC.hasError("incorrectLength")?7:-1))},dependencies:[Ve,qe,St,et,Je,Xe,mn,Bi,$e,Bt],styles:["[_nghost-%COMP%]{display:block}","mat-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var Sle=["trigger"];function Tle(t,i){t&1&&(u(0,"span"),h(1,"Edytuj kontrahenta"),c())}function Ile(t,i){t&1&&(u(0,"span"),h(1,"Dodaj kontrahenta"),c())}function Ale(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function kle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["nazwaSkrot.exists"])}}function Rle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.INCORRECT_SIGNS_TEXT)}}function Mle(t,i){if(t&1){let e=Se();u(0,"app-button",33),T("clickAction",function(){te(e);let r=_();
7996return ne(r.openDialog(r.ContractorTypeEnum.US_TRANSFER))}),h(1,"Wybierz "),c()}}function Nle(t,i){if(t&1){let e=Se();u(0,"div",11)(1,"mat-form-field",34)(2,"mat-label"),h(3,"Kod BIC banku"),c(),x(4,"input",35),c(),u(5,"app-button",36),T("clickAction",function(){te(e);let r=_();return ne(r.openDialog(r.ContractorTypeEnum.FOREIGN_TRANSFER))}),h(6," Wybierz "),c()()}if(t&2){let e=_();l(5),g("disabled",e.isBicBtnDisable)}}function Ole(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function Fle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function Ple(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["nip.checkSumInvalid"])}}function Lle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["regon.checkSumInvalid"])}}function Ble(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["pesel.invalidCheckSum"])}}function Vle(t,i){if(t&1&&(u(0,"mat-option",24),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function jle(t,i){if(t&1&&(u(0,"mat-option",29),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function Hle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.INCORRECT_SIGNS_TEXT)}}var OE=(()=>{class t{constructor(e,n,r,o){this.dialog=e,this.dialogRef=n,this.contractorService=r,this.data=o,this.ERRORS=ln,this.INCORRECT_SIGNS_TEXT=wh,this.IBAN_MAX_LENGTH=35,this.SHORT_NAME_MAX_LENGTH=20,this.NIP_MAX_LENGTH=10,this.REGON_MAX_LENGTH=14,this.PESEL_MAX_LENGTH=11,this.IBAN_MIN_LENGTH=26,this.ButtonLabels=tt,this.ContractorTypeEnum=ct,this.ValidatorUtils=Xt,this.fb=m(Er),this.contractorSaveUpdateService=m(Th),this.errorProviderService=m(Rt),this.contractorValidationService=m(xE),this.bankInputFormService=m(q_),this.bankInputForm=this.bankInputFormService.form,this.bankSearchService=m(pR),this.contractorInputFormService=m(Sh),this.contractorInputForm=this.contractorInputFormService.form,this.nipFC=this.fb.nonNullable.control("",Ma.check),this.regonFC=this.fb.nonNullable.control("",Id.check),this.peselFC=this.fb.nonNullable.control("",fl.check),this.groupFC=new z,this.amountFC=this.fb.nonNullable.control(""),this.currencies=m(dl).getCurrencies(),this.currencyFC=this.fb.nonNullable.control("PLN"),this.titleFC=this.fb.nonNullable.control("",G.pattern(ue.titlePattern)),this.onlyForLoggedUserFC=this.fb.nonNullable.control(!1),this.isRequiredErrorText=Po,this.groups=[],this.isBicBtnDisable=!1,this.listFlag=!1,this.bankInputForm.controls.number.setValidators([G.required,G.maxLength(this.IBAN_MAX_LENGTH),G.pattern(ue.ibanPattern)]),this.contractorInputForm.markAllAsTouched(),this.bankInputForm.markAllAsTouched(),this.additionalInfoFG=this.fb.group({nipFC:this.nipFC,regonFC:this.regonFC,peselFC:this.peselFC,groupFC:this.groupFC,amountFC:this.amountFC,currencyFC:this.currencyFC,titleFC:this.titleFC,onlyForLogin:this.onlyForLoggedUserFC}),this.additionalInfoFG.markAllAsTouched(),this.allDataFG=this.fb.group({contractorDataFG:this.contractorInputForm,bankDataFG:this.bankInputForm,additionalInfoFG:this.additionalInfoFG}),this.dataDetails=Array.isArray(o.details)?this.data.details[0]:this.data.details}getFormGroup(){return this.allDataFG}ngOnInit(){this.contractorType=Mi.getContractorType(this.data.dialogVariant),this.setInitialFCValuesToChange(),this.getContractorsGroups()}close(e=!1){this.dialogRef.close(e)}reset(){this.allDataFG.reset(),this.data.isEdit&&this.setInitialFCValuesToChange()}saveContractor(){let e=this.createContractorForSave();this.contractorValidationService.validate(e).pipe(W(n=>n?this.contractorSaveUpdateService.saveContractor(e).pipe(B(()=>this.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)):P(null))).subscribe()}updateContractor(){this.contractorSaveUpdateService.updateContractor(this.createContractorForUpdate()).pipe(B(()=>this.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}openDialog(e){let n=new Jt;n.panelClass=li.MEDIUM,n.data={details:e,isDialog:!0},e===ct.US_TRANSFER&&this.openTaxOfficeDialogComponent(n)}triggerDropDownList(e){e.stopPropagation(),this.listFlag?(this.autoComplete.closePanel(),this.listFlag=!1):(this.autoComplete.openPanel
7996(),this.listFlag=!0)}closeDropDownList(){this.autoComplete.closePanel()}getControlByProperty(e){switch(e){case"nazwaSkrot":return this.contractorInputForm.controls.shortName;case"rach":return this.bankInputForm.controls.number;case"nip":return this.nipFC;case"regon":return this.regonFC;case"pesel":return this.peselFC;case"kwota":return this.amountFC;default:return null}}openTaxOfficeDialogComponent(e){this.dialog.open(Td,e).afterClosed().pipe(B(n=>{n&&(this.contractorInputForm.controls.namePart1.setValue("Urz\u0105d Skarbowy"),this.bankInputForm.controls.number.setValue(n.accountIban),this.bankInputForm.controls.name.setValue(n.name),this.bankInputForm.controls.city.setValue(n.address))})).subscribe()}createContractorForSave(){return{shortName:this.contractorInputForm.controls.shortName.value,group:this.groupFC.value,name1:this.contractorInputForm.controls.namePart1.value,name2:this.contractorInputForm.controls.namePart2.value,address1:this.contractorInputForm.controls.addressPart1.value,address2:this.contractorInputForm.controls.addressPart2.value,targetAccount:this.formatTargetAccount(),bic:"",nip:this.nipFC.value.length===1?"":this.nipFC.value,regon:this.regonFC.value.length===1?"":this.regonFC.value,pesel:this.peselFC.value.length===1?"":this.peselFC.value,title:this.titleFC.value,bank1:this.bankInputForm.controls.name.value,bank2:this.bankInputForm.controls.address.value,bank3:this.bankInputForm.controls.city.value,bank4:"",amount:this.amountFC.value,currency:this.currencyFC.value,type:this.contractorType,onlyForLoggedUser:this.onlyForLoggedUserFC.value,checkIban:!1}}formatTargetAccount(){return ue.removeWhitespaces(this.bankInputForm.controls.number.value)}createContractorForUpdate(){let e=this.createContractorForSave();return e.id=this.data.details[0].id,e}setInitialFCValuesToChange(){this.dataDetails?(this.contractorInputForm.setValue({type:Mi.getTypeName(this.contractorType),shortName:this.dataDetails.shortName?this.dataDetails.shortName:"",namePart1:this.dataDetails.name1?this.dataDetails.name1:"",namePart2:this.dataDetails.name2?this.dataDetails.name2:"",addressPart1:this.dataDetails.address1?this.dataDetails.address1:"",addressPart2:this.dataDetails.address2?this.dataDetails.address2:""}),this.bankInputForm.setValue({number:this.dataDetails.targetAccount?this.dataDetails.targetAccount:"",name:this.dataDetails.bank1?this.dataDetails.bank1:"",address:this.dataDetails.bank2?this.dataDetails.bank2:"",city:this.dataDetails.bank3?this.dataDetails.bank3:""}),this.groupFC.setValue(this.dataDetails.group?this.dataDetails.group:""),this.nipFC.setValue(this.dataDetails.nip?this.dataDetails.nip:""),this.regonFC.setValue(this.dataDetails.regon?this.dataDetails.regon:""),this.peselFC.setValue(this.dataDetails.pesel?this.dataDetails.pesel:""),this.titleFC.setValue(this.dataDetails.title?this.dataDetails.title:""),this.amountFC.setValue(this.dataDetails.amount?bt.formatAmount(this.dataDetails.amount):""),this.currencyFC.setValue(this.dataDetails.currency||"PLN"),this.onlyForLoggedUserFC.setValue(!!this.dataDetails.onlyForLoggedUser)):this.contractorInputForm.controls.type.setValue(Mi.getTypeName(this.contractorType))}getContractorsGroups(){this.contractorService.getAllContractorsGroups().subscribe(e=>this.groups=e)}instanceOfDomesticBank(e){return"address2"in e}static{this.\u0275fac=function(n){return new(n||t)(E(mt),E(Ze),E(br),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-common-contractor-dialog"]],viewQuery:function(n,r){if(n&1&&ve(Sle,5),n&2){let o;H(o=U())&&(r.autoComplete=o.first)}},standalone:!1,features:[me([q_,Sh,pR,pl])],decls:95,vars:37,consts:[["trigger","matAutocompleteTrigger"],["auto","matAutocomplete"],[3,"formGroup"],[1,"flex-row","gap-20"],["appearance","outline",1,"flex-50"],["autocomplete","off","formControlName","type","matInput","","readonly",""],["autocomplete","off","formControlName","shortName","matInput","","required","",3,"maxlength"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[1,"flex-row","justify-between","gap-10"],[1,"flex-100",3,"bankAccountFC"],[1,"custom-button"],[1,"custom-row","flex-row","justify-start"],["autocomplete","off","formControlName","name","matInput","","name","name"],["autocomplete","off","disabled","","matInput","","name","country","value","POLAND"],["autocomplete","off","formControlName","address","matInput","","name","address"],["autocomplete","off","formControlName","city","matInput","","name","city"],[1,"flex-row","justify-between","items-center","gap-20"],["appearance","outline",1,"flex-1"],["autocomplete","off","matInput","","appOnlyNumbers","",3,"formControl","maxlength"],["appearance","outline",1,"width"],["autocomplete","off","matInput","","placeholder","Wpisz/Wybierz grup\u0119",3,"input","formControl","matAutocomplete"],["mat-icon-button","","matSuffix",""],[3,"click"],["autoActiveFirstOption",""],[3,"value"],[3,"amountFC","isRequired"],["appearance","outline",1,"min-width-of-5-rem"],["for","sourceAccount"],[3,"formControl"],[1,"custom-option",3,"value"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","",3,"formControl"],[3,"cancelAction","resetAction","confirmAction","buttonLabelConfirm","confirmDisabled"],[1,"custom-button",3,"clickAction"],["appearance","outline",1,"flex-100"],["autocomplete","off","formControlName","bic","matInput",""],[1,"custom-button",3,"clickAction","disabled"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),v(2,Tle,2,0,"span")(3,Ile,2,0,"span"),c(),u(4,"app-dialog-content")(5,"app-dialog-section",2)(6,"app-dialog-section-header"),h(7," Dane kontrahenta "),c(),u(8,"div",3)(9,"mat-form-field",4)(10,"mat-label"),h(11,"Typ kontrahenta"),c(),x(12,"input",5),c(),u(13,"mat-form-field",4)(14,"mat-label"),h(15,"Nazwa skr\xF3cona"),c(),x(16,"input",6),v(17,Ale,2,1,"mat-error"),v(18,kle,2,1,"mat-error"),v(19,Rle,2,1,"mat-error"),c()(),x(20,"app-recipant-input",7),c(),u(21,"app-dialog-section",2)(22,"app-dialog-section-header"),h(23," Bank kontrahenta "),c(),u(24,"div",8),x(25,"app-iban-input",9),v(26,Mle,2,0,"app-button",10),c(),v(27,Nle,7,1,"div",11),u(28,"div",3)(29,"mat-form-field",4)(30,"mat-label"),h(31,"Nazwa banku"),c(),x(32,"input",12),v(33,Ole,2,1,"mat-error"),c(),u(34,"mat-form-field",4),x(35,"mat-label")(36,"input",13),c()(),u(37,"div",3)(38,"mat-form-field",4)(39,"mat-label"),h(40,"Miejscowo\u015B\u0107, kraj"),c(),x(41,"input",14),v(42,Fle,2,1,"mat-error"),c(),u(43,"mat-form-field",4),x(44,"mat-label")(45,"input",15),c()()(),u(46,"app-dialog-section")(47,"app-dialog-section-header"),h(48," Dane dodatkowe "),c(),u(49,"div",16)(50,"mat-form-field",17)(51,"mat-label"),h(52,"NIP"),c(),x(53,"input",18),v(54,Ple,2,1,"mat-error"),c(),u(55,"mat-form-field",17)(56,"mat-label"),h(57,"REGON"),c(),x(58,"input",18),v(59,Lle,2,1,"mat-error"),c()(),u(60,"div",16)(61,"mat-form-field",17)(62,"mat-label"),h(63,"PESEL"),c(),x(64,"input",18),v(65,Ble,2,1,"mat-error"),c(),u(66,"mat-form-field",19)(67,"mat-label"),h(68,"Grupa"),c(),u(69,"input",20,0),T("input",function(){return r.closeDropDownList()}),c(),u(71,"button",21)(72,"mat-icon",22),T("click",function(a){return r.triggerDropDownList(a)}),h(73,"more_vert"),c()(),u(74,"mat-autocomplete",23,1),He(76,Vle,2,2,"mat-option",24,at),c()()(),u(78,"div",3),x(79,"app-amount-input",25),u(80,"mat-form-field",26)(81,"mat-label",27),h(82,"Waluta"),c(),u(83,"mat-select",28),He(84,jle,2,2,"mat-option",29,at),be(86,"async"),c()()(),u(87,"mat-form-field",30)(88,"mat-label"),h(89,"Tytu\u0142em"),c(),x(90,"textarea",31),v(91,Hle,2,1,"mat-error"),c(),u(92,"mat-checkbox",28),h(93,"Kontrahent dost\u0119pny tylko dla tego loginu"),c()()(),u(94,"app-action-buttons-panel",32),T("cancelAction",function(){return r.close()})("resetAction",function(){return r.reset()})("confirmAction",function(){return r.data.isEdit?r.updateContractor():r.saveContractor()}),c()()),n&2){let o=ye(75);l(2),y(r.data.isEdit?2:3),l(3),g("formGroup",r.contractorInputForm),l(11),g("maxlength",r.SHORT_NAME_MAX_LENGTH),l(),y(r.ValidatorUtils.isRequired(r.contractorInputForm.controls.shortName)?17:-1),l(),y(r.contractorInputForm.controls.shortName.hasError("nazwaSkrot.exists")?18:-1),l(),y(r.contractorInputForm.controls.shortName.hasError("pattern")?19:-1),l(),g("namePart1FC",r.contractorInputForm.controls.namePart1)("namePart2FC",r.contractorInputForm.controls.namePart2)("addressPart1FC",r.contractorInputForm.controls.addressPart1)("addressPart2FC",r.contractorInputForm.controls.addressPart2),l(),g("formGroup",r.bankInputForm),l(4),g("bankAccountFC",r.bankInputForm.controls.number),l(),y(r.contractorType===r.ContractorTypeEnum[r.ContractorTypeEnum.US_TRANSFER]?26:-1),l(),y(r.contractorType===r.ContractorTypeEnum[r.ContractorTypeEnum.FOREIGN_TRANSFER]?27:-1),l(6),y(r.ValidatorUtils.isRequired(r.bankInputForm.controls.name)?33:-1),l(9),y(r.ValidatorUtils.isRequired(r.bankInputForm.controls.address)?42:-1),l(11),g("formControl",r.nipFC)("maxlength",r.NIP_MAX_LENGTH),l(),y(r.nipFC.errors!=null&&r.nipFC.errors.nip||r.nipFC.hasError("nip.checkSumInvalid")?54:-1),l(4),g("formControl",r.regonFC)("maxlength",r.REGON_MAX_LENGTH),l(),y(r.regonFC.errors!=null&&r.regonFC.errors.regon||r.regonFC.hasError("regon.checkSumInvalid")?59:-1),l(5),g("formControl",r.peselFC)("maxlength",r.PESEL_MAX_LENGTH),l(),y(r.peselFC.errors!=null&&r.peselFC.errors.pesel||r.peselFC.hasError("pesel.invali
7996dCheckSum")?65:-1),l(4),g("formControl",r.groupFC)("matAutocomplete",o),l(7),Ue(r.groups),l(3),g("amountFC",r.amountFC)("isRequired",!1),l(4),g("formControl",r.currencyFC),l(),Ue(Fe(86,35,r.currencies)),l(6),g("formControl",r.titleFC),l(),y(r.titleFC.hasError("pattern")?91:-1),l(),g("formControl",r.onlyForLoggedUserFC),l(2),g("buttonLabelConfirm",r.ButtonLabels.SAVE)("confirmDisabled",r.allDataFG.invalid)}},dependencies:[Je,Xe,Ai,mn,Bi,Ve,qe,St,Pn,ya,Qt,hr,fr,ir,zn,et,si,Mt,Nt,Ot,vr,Nr,$e,$n,Ru,Yr,Kr,Q_,bi,Tt,wE,Ji],styles:[".clear-button[_ngcontent-%COMP%]{margin-right:20px;margin-left:auto}.spacer[_ngcontent-%COMP%]{margin-bottom:1rem}.subtitle[_ngcontent-%COMP%]{color:#2196f3;margin-bottom:3px}.custom-button[_ngcontent-%COMP%]{height:3rem;margin-top:.2rem;margin-left:1rem}.custom-row[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]:not(:last-of-type)   .custom-button[_ngcontent-%COMP%]{margin-left:1rem}.min-width-of-5-rem[_ngcontent-%COMP%]{min-width:5rem}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.justify-start[_ngcontent-%COMP%]{justify-content:flex-start}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.items-center[_ngcontent-%COMP%]{align-items:center}.gap-10[_ngcontent-%COMP%]{gap:10px}.gap-20[_ngcontent-%COMP%]{gap:20px}.flex-50[_ngcontent-%COMP%]{flex:1 1 50%;max-width:50%;box-sizing:border-box}.flex-100[_ngcontent-%COMP%]{flex:1 1 100%;max-width:100%;box-sizing:border-box}.flex-1[_ngcontent-%COMP%]{flex:1 1 0;min-width:0}.flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var Ad=(()=>{class t{constructor(){this.class="page__container",this._isDialog=!1}get isDialog(){return this._isDialog}set isDialog(e){this._isDialog=e,this.class=e?"dialog__container":"page__container"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-page-container"],["","appPageContainer",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},inputs:{isDialog:"isDialog"},standalone:!1})}}return t})(),kd=(()=>{class t{constructor(){this.class="page__header",this._isDialog=!1}get isDialog(){return this._isDialog}set isDialog(e){this._isDialog=e,this.class=e?"dialog__header":"page__header"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-page-header"],["","appPageHeader",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},inputs:{isDialog:"isDialog"},standalone:!1})}}return t})(),Ule=(()=>{class t{constructor(){this.class="page__subheader"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-page-subheader"],["","appPageSubHeader",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Rd=(()=>{class t{constructor(){this.class="page__content"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-page-content"],["","appPageContent",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),zle=(()=>{class t{constructor(){this.class="page__details"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["mat-expansion-panel","appPageDetails",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Md=(()=>{class t{constructor(){this.class="filter"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["mat-expansion-panel","appPageFilter",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Gle=(()=>{class t{constructor(){this.class="page__search"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-page-search"],["","appPageSearch",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),J_=(()=>{class t{constructor(){this.class="action-bar page__btn__panel",this._isDialog=!1}get isDialog(){return this._isDialog}set isDialog(e){this._isDialog=e,this.class=e?"dialog__btn__panel":"action-bar page__btn__panel"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-page-btn-panel"],["","appPageBtnPanel",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},inputs:{isDialog:"isDialog"},standalone:!1})}}return t})();var Wle=t=>({"dialog-table":t}),$le=t=>({"basic-table-row-highlight":t});function qle(t,i){t&1&&(u(0,"mat-header-cell",22),h(1,"Numer BIC"),c())}function Yle(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.bic)}}function Kle(t,i){t&1&&(u(0,"mat-header-cell",22),h(1," Nazwa banku"),c())}function Xle(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.bankName)}}function Zle(t,i){t&1&&(u(0,"mat-header-cell",22),h(1," Adres"),c())}function Qle(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),x(3,"br"),h(4),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.address),l(2),so("",e.city," ",e.country)}}function Jle(t,i){t&1&&x(0,"mat-header-row")}function ece(t,i){if(t&1){let e=Se();u(0,"mat-row",23),T("click",function(){let r=te(e).$implicit,o=_();return ne(o.rowClickHandler(r))}),So("ngModelChange",function(r){te(e);let o=_();return Ko(o.rowDetails,r)||(o.rowDetails=r),ne(r)}),c()}if(t&2){let e=i.$implicit,n=_();g("ngClass",lo(2,$le,n.selection.selected.includes(e))),xo("ngModel",n.rowDetails)}}function tce(t,i){if(t&1){let e=Se();u(0,"app-action-buttons-panel",24),T("cancelAction",function(){te(e);let r=_();return ne(r.cancelChoice())})("confirmAction",function(){te(e);let r=_();return ne(r.confirmChoice())}),c()}if(t&2){let e=_();g("withResetButton",!1)("buttonLabelConfirm",e.ButtonLabels.CHOOSE)}}var rG=(()=>{class t{constructor(e,n,r,o,a){this.foreignBanksService=e,this.notificationService=n,this.dialog=r,this.storage=o,this.errorProviderService=a,this.resultsLength=0,this.pageSize=100,this.selection=new mr(!0,[]),this.isDialog=!1,this.ButtonLabels=tt,this.destroy$=new O,this.dataSource=new ka,this.displayedColumns=["bic","name","address"],this.matSortActive=this.displayedColumns[0],this.matSortDirection="asc",this.bicNumberFC=new z,this.bankNameFC=new z,this.bankAddressFC=new z,this.rowsFC=new z(100),this.foreignBanksSearchFG=new Qn({bicNumberFC:this.bicNumberFC,bankNameFC:this.bankNameFC,bankAddressFC:this.bankAddressFC,rowsFC:this.rowsFC}),this.bankRequestParam=this.getBankRequest(),Promise.all([this.storage.getItem(bR),this.storage.getItem(vR)]).then(([s,d])=>{s&&d&&(this.matSortActive=s,this.matSortDirection=d)})}ngOnInit(){this.initFilterAndData()}ngAfterViewInit(){this.dataSource.sort=this.sort,this.onPaginatorChange()}confirmChoice(){}cancelChoice(){}rowClickHandler(e){this.selection.toggle(e),this.clearDetails(e),this.selection.selected.length>1&&this.selection.selected.forEach(n=>
7996{n!==e&&this.selection.deselect(n)}),this.updateDetails(e)}updateDetails(e){this.selection.isSelected(e)?(this.rowDetails=e,this.updateFC()):this.selection.selected.length===1?(this.rowDetails=this.selection.selected[0],this.updateFC()):this.clearDetails(e)}clearDetails(e){this.rowDetails&&this.rowDetails===e&&(this.rowDetails=void 0)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}resetValues(){this.foreignBanksSearchFG.reset(),this.rowsFC.setValue(100)}showSortChange(e){this.matSortDirection=e.direction,this.matSortActive=e.active}search(){this.storage.setItem(_R,this.foreignBanksSearchFG.value),this.bankRequestParam=this.getBankRequest(),this.paginator.pageIndex=0,nn([this.getForeignBank(this.bankRequestParam),this.getForeignBanksCount(this.bankRequestParam)]).subscribe()}initFilterAndData(){ut(Il(window,"beforeunload"),this.destroy$).subscribe(()=>{this.storage.setItem(bR,this.matSortActive),this.storage.setItem(vR,this.matSortDirection)}),this.storage.getItem(_R).then(e=>{e&&this.foreignBanksSearchFG.patchValue(e)}).finally(()=>this.search())}onPaginatorChange(){this.paginator.page.pipe(W(()=>this.getForeignBank(this.bankRequestParam))).subscribe(e=>this.dataSource.data=e)}getForeignBank(e){return this.foreignBanksService.getForeignBanks(e,this.paginator.pageIndex).pipe(this.errorProviderService.processError(ze.FETCHING_DATA_ERROR,P([])),B(n=>this.dataSource.data=n))}getBankRequest(){return{name:this.bankNameFC.value,address:this.bankAddressFC.value,bank:this.bicNumberFC.value}}updateFC(){if(typeof this.rowDetails>"u")throw new Ta("rowDetails");this.bicNumberFC=new z(this.rowDetails.bic),this.bankNameFC=new z(this.rowDetails.bankName),this.bankAddressFC=new z(this.rowDetails.address)}getForeignBanksCount(e){return this.foreignBanksService.getForeignBanksCount(e).pipe(Ge(()=>P(0)),B(n=>this.resultsLength=n))}static{this.\u0275fac=function(n){return new(n||t)(E(No),E(Le),E(mt),E(Ra),E(Rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-foreign-banks"]],viewQuery:function(n,r){if(n&1&&ve(bo,5)(Ir,5),n&2){let o;H(o=U())&&(r.paginator=o.first),H(o=U())&&(r.sort=o.first)}},standalone:!1,decls:45,vars:20,consts:[[3,"isDialog"],["appPageFilter",""],[1,"flex-col",3,"formGroup"],["appearance","outline"],["autocomplete","off","matInput","","name","shortNameFC","type","text",3,"formControl"],["autocomplete","off","matInput","","name","name1FC","type","text",3,"formControl"],[1,"mat-row"],["appearance","outline",1,"flex-70"],["autocomplete","off","matInput","","name","groupFC","type","text",3,"formControl"],["appearance","outline",1,"flex-30"],["autocomplete","off","matInput","","name","groupFC","type","number",3,"formControl"],[3,"clickAction"],[3,"length","pageSize","showFirstLastButtons"],["matSort","","matSortDisableClear","true",3,"matSortChange","dataSource","matSortActive","matSortDirection","ngClass"],["matColumnDef","bic"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],["matColumnDef","address"],[4,"matHeaderRowDef","matHeaderRowDefSticky"],["ngDefaultControl","",3,"ngClass","ngModel","click","ngModelChange",4,"matRowDef","matRowDefColumns"],[1,"bottom-action-bar",3,"withResetButton","buttonLabelConfirm"],["mat-sort-header",""],["ngDefaultControl","",3,"click","ngModelChange","ngClass","ngModel"],[1,"bottom-action-bar",3,"cancelAction","confirmAction","withResetButton","buttonLabelConfirm"]],template:function(n,r){n&1&&(u(0,"app-page-container",0)(1,"app-page-header",0),h(2,"Banki zagraniczne "),c(),u(3,"app-page-content")(4,"mat-expansion-panel",1)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),h(7," Filtry "),c()(),u(8,"form",2)(9,"mat-form-field",3)(10,"mat-label"),h(11,"Numer BIC"),c(),x(12,"input",4),c(),u(13,"mat-form-field",3)(14,"mat-label"),h(15,"Nazwa banku"),c(),x(16,"input",5),c(),u(17,"div",6)(18,"mat-form-field",7)(19,"mat-label"),h(20,"Adres"),c(),x(21,"input",8),c(),u(22,"mat-form-field",9)(23,"mat-label"),h(24,"Liczba rekord\xF3w"),c(),x(25,"input",10),c()(),u(26,"mat-card-actions")(27,"app-button",11),T("clickAction",function(){return r.search()}),h(28,"Szukaj"),c(),u(29,"app-button",11),T("clickAction",function(){return r.resetValues()}),h(30,"Wyczy\u015B\u0107"),c()()()(),x(31,"mat-paginator",12),u(32,"mat-table",13),T("matSortChange",function(a){return r.showSortChange(a)}),yn(33,14),fe(34,qle,2,0,"mat-header-cell",15)(35,Yle,3,1,"mat-cell",16),Cn(),yn(36,17),fe(37,Kle,2,0,"mat-header-cell",15)(38,Xle,3,1,"mat-cell",16),Cn(),yn(39,18),fe(40,Zle,2,0,"mat-header-cell",15)(41,Qle,5,3,"mat-cell",16),Cn(),fe(42,Jle,1,0,"mat-header-row",19)(43,ece,1,4,"mat-row",20),c()(),v(44,tce,1,2,"app-action-buttons-panel",21),c()),n&2&&(g("isDialog",r.isDialog),l(
7996),g("isDialog",r.isDialog),l(7),g("formGroup",r.foreignBanksSearchFG),l(4),g("formControl",r.bicNumberFC),l(4),g("formControl",r.bankNameFC),l(5),g("formControl",r.bankAddressFC),l(4),g("formControl",r.rowsFC),l(6),g("length",r.resultsLength)("pageSize",r.pageSize)("showFirstLastButtons",!0),l(),g("dataSource",r.dataSource)("matSortActive",r.matSortActive)("matSortDirection",r.matSortDirection)("ngClass",lo(18,Wle,r.isDialog)),l(10),g("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0),l(),g("matRowDefColumns",r.displayedColumns),l(),y(r.isDialog?44:-1))},dependencies:[cr,Vr,Je,ku,Xe,Ai,Qc,Ve,qe,qu,tc,nc,pd,et,bo,Ir,Xs,Zs,Js,il,el,Qs,rl,tl,nl,ol,al,Ad,kd,Rd,Md,$e,$n,bi,Tt],styles:["[_nghost-%COMP%]{display:block;padding:1.5rem}",".flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}",".flex-30[_ngcontent-%COMP%]{flex:1 1 30%;max-width:30%;box-sizing:border-box}",".flex-70[_ngcontent-%COMP%]{flex:1 1 70%;max-width:70%;box-sizing:border-box}"]})}}return t})();var nce=t=>({"dialog-table":t}),ice=t=>({"basic-table-row-highlight":t});function rce(t,i){t&1&&(u(0,"mat-header-cell",22),h(1,"Numer BIC"),c())}function oce(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.bic)}}function ace(t,i){t&1&&(u(0,"mat-header-cell",22),h(1," Nazwa banku"),c())}function sce(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.bankName)}}function lce(t,i){t&1&&(u(0,"mat-header-cell",22),h(1," Adres"),c())}function cce(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),x(3,"br"),h(4),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.address),l(2),so("",e.city," ",e.country)}}function dce(t,i){t&1&&x(0,"mat-header-row")}function uce(t,i){if(t&1){let e=Se();u(0,"mat-row",23),T("click",function(){let r=te(e).$implicit,o=_();return ne(o.rowClickHandler(r))}),So("ngModelChange",function(r){te(e);let o=_();return Ko(o.rowDetails,r)||(o.rowDetails=r),ne(r)}),c()}if(t&2){let e=i.$implicit,n=_();g("ngClass",lo(2,ice,n.selection.selected.includes(e))),xo("ngModel",n.rowDetails)}}function mce(t,i){if(t&1){let e=Se();u(0,"app-action-buttons-panel",24),T("cancelAction",function(){te(e);let r=_();return ne(r.cancelChoice())})("confirmAction",function(){te(e);let r=_();return ne(r.confirmChoice())}),c()}if(t&2){let e=_();g("withResetButton",!1)("buttonLabelConfirm",e.ButtonLabels.CHOOSE)}}var FE=(()=>{class t extends rG{constructor(e,n,r,o,a,s,d,p){super(e,n,a,s,d),this.foreignBanksService=e,this.notificationService=n,this.formBuilder=r,this.dialogRef=o,this.dialog=a,this.storage=s,this.errorProviderService=d,this.dialogData=p,this.isDialog=p.isDialog}ngOnInit(){super.ngOnInit()}confirmChoice(){this.dialogRef.close(this.rowDetails)}cancelChoice(){this.dialogRef.close()}static{this.\u0275fac=function(n){return new(n||t)(E(No),E(Le),E(Vi),E(Ze),E(mt),E(Ra),E(Rt),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-foreign-banks-dialog"]],standalone:!1,features:[he],decls:45,vars:20,consts:[[3,"isDialog"],["appPageFilter",""],[1,"flex-col",3,"formGroup"],["appearance","outline"],["autocomplete","off","matInput","","name","shortNameFC","type","text",3,"formControl"],["autocomplete","off","matInput","","name","name1FC","type","text",3,"formControl"],[1,"mat-row"],["appearance","outline",1,"flex-70"],["autocomplete","off","matInput","","name","groupFC","type","text",3,"formControl"],["appearance","outline",1,"flex-30"],["autocomplete","off","matInput","","name","groupFC","type","number",3,"formControl"],[3,"clickAction"],[3,"length","pageSize","showFirstLastButtons"],["matSort","","matSortDisableClear","true",3,"matSortChange","dataSource","matSortActive","matSortDirection","ngClass"],["matColumnDef","bic"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],["matColumnDef","address"],[4,"matHeaderRowDef","matHeaderRowDefSticky"],["ngDefaultControl","",3,"ngClass","ngModel","click","ngModelChange",4,"matRowDef","matRowDefColumns"],[1,"bottom-action-bar",3,"withResetButton","buttonLabelConfirm"],["mat-sort-header",""],["ngDefaultControl","",3,"click","ngModelChange","ngClass","ngModel"],[1,"bottom-action-bar",3,"cancelAction","confirmAction","withResetButton","buttonLabelConfirm"]],template:function(n,r){n&1&&(u(0,"app-page-container",0)(1,"app-page-header",0),h(2,"Banki zagraniczne "),c(),u(3,"app-page-content")(4,"mat-expansion-panel",1)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),h(7," Filtry "),c()(),u(8,"form",2)(9,"mat-form-field",3)(10,"mat-label"),h(11,"Numer BIC"),c(),x(12,"input",4),c(),u(13,"mat-form-field",3)(14,"mat-label"),h(15,"Nazwa banku"),c(),x(16,"input",5),c(),u(17,"div",6)(18,"mat-form-field",7)(19,"mat-label"),h(20,"Adres"),c(),x(21,"input",8),c(),u(22,"mat-form-field",9)(23,"mat-label"),h(24,"Liczba rekord\xF3w"),c(),x(25,"input",10),c()(),u(26,"mat-card-actions")(27,"app-button",11),T("clickAction",function(){return r.search()}),h(28,"Szukaj"),c(),u(29,"app-button",11),T("clickAction",function(){return r.resetValues()}),h(30,"Wyczy\u015B\u0107"),c()()()(),x(31,"mat-paginator",12),u(32,"mat-table",13),T("matSortChange",function(a){return r.showSortChange(a)}),yn(33,14),fe(34,rce,2,0,"mat-header-cell",15)(35,oce,3,1,"mat-cell",16),Cn(),yn(36,17),fe(37,ace,2,0,"mat-header-cell",15)(38,sce,3,1,"mat-cell",16),Cn(),yn(39,18),fe(40,lce,2,0,"mat-header-cell",15)(41,cce,5,3,"mat-cell",16),Cn(),fe(42,dce,1,0,"mat-header-row",19)(43,uce,1,4,"mat-row",20),c()(),v(44,mce,1,2,"app-action-buttons-panel",21),c()),n&2&&(g("isDialog",r.isDialog),l(
7996),g("isDialog",r.isDialog),l(7),g("formGroup",r.foreignBanksSearchFG),l(4),g("formControl",r.bicNumberFC),l(4),g("formControl",r.bankNameFC),l(5),g("formControl",r.bankAddressFC),l(4),g("formControl",r.rowsFC),l(6),g("length",r.resultsLength)("pageSize",r.pageSize)("showFirstLastButtons",!0),l(),g("dataSource",r.dataSource)("matSortActive",r.matSortActive)("matSortDirection",r.matSortDirection)("ngClass",lo(18,nce,r.isDialog)),l(10),g("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0),l(),g("matRowDefColumns",r.displayedColumns),l(),y(r.isDialog?44:-1))},dependencies:[cr,Vr,Je,ku,Xe,Ai,Qc,Ve,qe,qu,tc,nc,pd,et,bo,Ir,Xs,Zs,Js,il,el,Qs,rl,tl,nl,ol,al,Ad,kd,Rd,Md,$e,$n,bi,Tt],encapsulation:2})}}return t})();var sa=class{static checkTargetAccountIbanLength(i,e){return this.findLengthBasedOnCountryCode(i.substring(0,2),e)!==i.length?{incorrectLength:!0}:null}static checkSelectedCountryLength(i,e,n){let r=this.findLengthBasedOnCountry(e,n);return r&&r-2!==i.length?{incorrectLength:!0}:null}static isCountryCodeInForeignIbanInfos(i,e){return i.map(n=>n.code).includes(e)}static findCountryBasedOnCountryCode(i,e){return e.find(r=>r.code===i)?.name}static findCountryCodeBasedOnCountry(i,e){return e.find(r=>r.name===i)?.code}static findLengthBasedOnCountryCode(i,e){return e.find(r=>r.code===i)?.length}static findLengthBasedOnCountry(i,e){return e.find(r=>r.name===i)?.length}static setCountryCodeIfSelectedCountry(i,e,n){if(!this.isCountryCodeInForeignIbanInfos(n,e.substring(0,2))&&i){let r=this.findCountryCodeBasedOnCountry(i,n);if(r)return r.concat(e.toString())}return e}};var kh=class{static noCountrySpecified(i){return e=>{let n=e.get("number")?.value,r=e.get("country")?.value,o=e.get("bic")?.value;return i.length===0||ue.isEmpty(n)?null:ue.isEmpty(o)&&ue.isEmpty(r)&&!sa.isCountryCodeInForeignIbanInfos(i,n.substring(0,2))?{noCountrySpecified:!0}:null}}static incorrectLength(i){return e=>{let n=e.get("number")?.value?.replace(/\s/g,""),r=e.get("country")?.value;return ue.isEmpty(r)||ue.isEmpty(n)?null:sa.isCountryCodeInForeignIbanInfos(i,n.substring(0,2))?sa.checkTargetAccountIbanLength(n,i):sa.checkSelectedCountryLength(n,r,i)}}static ibanCountryCodeDoesNotMatchBic(){return i=>{let e=i.get("number")?.value?.replace(/\s/g,"").toUpperCase(),n=i.get("bic")?.value?.toUpperCase();return ue.isEmpty(e)||ue.isEmpty(n)||e.length<2||n.length<8||!e.match(/^[A-Z]{2}.+/)||e.substring(0,2)===n.substring(4,6)?null:{ibanCountryCodeDoesNotMatchBic:!0}}}};var PE=class{static bicLengthValidator(){return i=>i.value?i.value&&!(i.value.length===8||i.value.length===11)?{"bic.length":!0}:null:{"bic.empty":!0}}};var Nd=(()=>{class t{constructor(){this.fb=m(Er),this.ibanInfos=m(No).getForeignIbanInfos(),this.form=this.fb.nonNullable.group({number:this.fb.nonNullable.control("",G.required),bic:this.fb.nonNullable.control("",[G.required,PE.bicLengthValidator()]),country:this.fb.nonNullable.control(""),name:this.fb.nonNullable.control({value:"",disabled:!0}),address:this.fb.nonNullable.control({value:"",disabled:!0}),city:this.fb.nonNullable.control({value:"",disabled:!0}),eog:this.fb.nonNullable.control({value:!1,disabled:!0}),sepa:this.fb.nonNullable.control({value:!1,disabled:!0})}),this.ibanInfos.subscribe(e=>{e.length>0&&this.form.setValidators([kh.noCountrySpecified(e),kh.incorrectLength(e),kh.ibanCountryCodeDoesNotMatchBic()])})}reset(){this.form.reset({number:"",bic:"",name:"",address:"",city:"",country:"",eog:!1,sepa:!1},{emitEvent:!1})}updateValidity(){this.form.updateValueAndValidity({emitEvent:!1}),this.form.hasError("incorrectLength")&&this.form.controls.number.setErrors({incorrectLength:!0}),this.form.hasError("ibanCountryCodeDoesNotMatchBic")&&this.form.controls.number.setErrors({ibanCountryCodeDoesNotMatchBic:!0})}getBank(){return{id:null,name:this.form.controls.name.value,address:this.form.controls.address.value,city:this.form.controls.city.value,country:this.form.controls.country.value,bic:this.form.controls.bic.value,eog:this.form.controls.eog.value,sepa:this.form.controls.sepa.value}}setBank(e){this.form.controls.bic.setValue(e.bic,{emitEvent:!1}),this.setBankInfo(e)}setBankInfo(e){this.form.controls.name.setValue(e.name||"",{emitEvent:!1}),this.form.controls.address.setValue(e.address||"",{emitEvent:!1}),this.form.controls.city.setValue(e.city||"",{emitEvent:!1}),this.form.controls.country.setValue(e.country||"",{emitEvent:!1}),this.form.controls.eog.setValue(e?.eog||!1),this.form.controls.sepa.setValue(e?.sepa||!1)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var Rh=(()=>{class t{constructor(){this.foreignBanksService=m(No),this.ibanInfos=this.foreignBanksService.getForeignIbanInfos(),this.bankInputFormService=m(Nd),this.bankInputForm=this.bankInputFormService.form,this.listenForFormChange()}getBankByIban(e){return e=e.replace(/\s/g,"").toUpperCase(),e.match(/^[A-Z]{2}.+/)?this.foreignBanksService.getBankByAccount(e).pipe(B(n=>
7996{n.bankInfoStatus===hs.OK&&this.bankInputForm.controls.number.setValue(e,{emitEvent:!1})})):ke}getBankByBic(e){return this.foreignBanksService.getBankByBic(e.toUpperCase())}getBankByAccountAndCountry(e,n){return this.ibanInfos.pipe($(r=>sa.setCountryCodeIfSelectedCountry(n.toUpperCase(),e,r)),W(r=>this.getBankByIban(r)))}listenForFormChange(){nn([this.bankInputForm.controls.number.valueChanges.pipe(hn(),Re(this.bankInputForm.controls.number.value),It(),hi(500),$(e=>e?.replace(/\s/g,"")||""),B(e=>{this.bankInputForm.controls.number.setValue(e,{emitEvent:!1}),this.bankInputFormService.updateValidity()}),ae(()=>this.bankInputForm.controls.number.valid)),this.bankInputForm.controls.country.valueChanges.pipe(hn(),Re(this.bankInputForm.controls.country.value),It(),hi(500),B(e=>{this.bankInputForm.controls.country.setValue(e.toUpperCase(),{emitEvent:!1}),this.bankInputFormService.updateValidity()}),ae(()=>this.bankInputForm.controls.country.valid))]).pipe(W(([e,n])=>ue.isEmpty(e)?ke:/^[0-9\s]+$/i.test(e)?ue.isEmpty(n)?ke:this.getBankByAccountAndCountry(e,n).pipe(B(r=>{this.handleIbanSearchResult(r)}),Ge(()=>P())):this.getBankByIban(e).pipe(B(r=>{this.handleIbanSearchResult(r)}),Ge(()=>P())))).subscribe(),this.bankInputForm.controls.bic.valueChanges.pipe(hn(),Re(this.bankInputForm.controls.bic.value),It(),ae(()=>this.bankInputForm.controls.bic.valid),hi(500),W(e=>this.getBankByBic(e).pipe(B(n=>{this.handleBicSearchResult(n)}),Ge(()=>P())))).subscribe()}handleIbanSearchResult(e){if(e){switch(e.bankInfoStatus){case hs.OK:this.bankInputFormService.setBank(e.bankInfo);break;case hs.BIC_NOT_FOUND:this.bankInputFormService.setBank(e.bankInfo);break;case hs.INVALID_IBAN:this.bankInputFormService.setBank(e.bankInfo),this.bankInputForm.controls.number.setErrors({invalidIban:e.description});break}this.bankInputFormService.updateValidity()}}handleBicSearchResult(e){if(e){switch(e.bankInfoStatus){case hs.OK:this.bankInputFormService.setBank(e.bankInfo);break;case hs.BIC_NOT_FOUND:this.bankInputFormService.setBankInfo(e.bankInfo);break;case hs.INVALID_BIC:this.bankInputFormService.setBankInfo(e.bankInfo),this.bankInputForm.controls.bic.setErrors({invalidBic:e.description});break}this.bankInputFormService.updateValidity()}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var pce={AFGHANISTAN:"Afganistan",ALBANIA:"Albania",ALGERIA:"Algieria","AMERICAN SAMOA":"Samoa Ameryka\u0144skie",ANDORRA:"Andora",ANGOLA:"Angola",ANGUILLA:"Anguilla","ANTIGUA AND BARBUDA":"Antigua i Barbuda",ARGENTINA:"Argentyna",ARMENIA:"Armenia",ARUBA:"Aruba",AUSTRALIA:"Australia",AUSTRIA:"Austria",AZERBAIJAN:"Azerbejd\u017Can",BAHAMAS:"Bahamy",BAHRAIN:"Bahrajn",BANGLADESH:"Bangladesz",BARBADOS:"Barbados",BELARUS:"Bia\u0142oru\u015B",BELGIUM:"Belgia",BELIZE:"Belize",BENIN:"Benin",BERMUDA:"Bermudy",BHUTAN:"Bhutan","BOLIVIA, PLURINATIONAL STATE OF":"Boliwia","BONAIRE, SINT EUSTATIUS AND SABA":"Bonaire, Sint Eustatius i Saba","BOSNIA AN
7996D HERZEGOVINA":"Bo\u015Bnia i Hercegowina",BOTSWANA:"Botswana",BRAZIL:"Brazylia","BRUNEI DARUSSALAM":"Brunei Darussalam",BULGARIA:"Bu\u0142garia","BURKINA FASO":"Burkina Faso",BURUNDI:"Burundi","CABO VERDE":"Wyspy Zielonego Przyl\u0105dka",CAMBODIA:"Kambod\u017Ca",CAMEROON:"Kamerun",CANADA:"Kanada","CAYMAN ISLANDS":"Kajmany","CENTRAL AFRICAN REPUBLIC":"Republika \u015Arodkowoafryka\u0144ska",CHAD:"Czad",CHILE:"Chile",CHINA:"Chiny",COLOMBIA:"Kolumbia",COMOROS:"Komory",CONGO:"Kongo","CONGO, THE DEMOCRATIC REPUBLIC OF T":"Kongo","COOK ISLANDS":"Wyspy Cooka","COSTA RICA":"Kostaryka","COTE D'IVOIRE":"Wybrze\u017Ce Ko\u015Bci S\u0142oniowej",CROATIA:"Chorwacja",CUBA:"Kuba",CURACAO:"Cura\xE7ao",CYPRUS:"Cypr",CZECHIA:"Czechy",DENMARK:"Dania",DJIBOUTI:"D\u017Cibuti",DOMINICA:"Dominika","DOMINICAN REPUBLIC":"Dominikana",ECUADOR:"Ekwador",EGYPT:"Egipt","EL SALVADOR":"Salwador","EQUATORIAL GUINEA":"Gwinea R\xF3wnikowa",ERITREA:"Erytrea",ESTONIA:"Estonia",ESWATINI:"Eswatini",ETHIOPIA:"Etiopia","FALKLAND ISLANDS (MALVINAS)":"Falklandy","FAROE ISLANDS":"Wyspy Owcze",FIJI:"Fid\u017Ci",FINLAND:"Finlandia",FRANCE:"Francja","FRENCH GUIANA":"Gujana Francuska","FRENCH POLYNESIA":"Polinezja Francuska",GABON:"Gabon",GAMBIA:"Gambia",GEORGIA:"Gruzja",GERMANY:"Niemcy",GHANA:"Ghana",GIBRALTAR:"Gibraltar",GREECE:"Grecja",GREENLAND:"Grenlandia",GRENADA:"Grenada",GUADELOUPE:"Gwadelupa",GUAM:"Guam",GUATEMALA:"Gwatemala",GUERNSEY:"Guernsey",GUINEA:"Gwinea","GUINEA-BISSAU":"Gwinea-Bissau",GUYANA:"Gujana",HAITI:"Haiti","HOLY SEE":"Stolica Apostolska",HONDURAS:"Honduras","HONG KONG":"Hongkong",HUNGARY:"W\u0119gry",ICELAND:"Islandia",INDIA:"Indie",INDONESIA:"Indonezja","IRAN (ISLAMIC REPUBLIC OF)":"Iran",IRAQ:"Irak",IRELAND:"Irlandia","ISLE OF MAN":"Wyspa Man",ISRAEL:"Izrael",ITALY:"W\u0142ochy",JAMAICA:"Jamajka",JAPAN:"Japonia",JERSEY:"Jersey",JORDAN:"Jordania",KAZAKHSTAN:"Kazachstan",KENYA:"Kenia",KIRIBATI:"Kiribati","KOREA (DEMOCRATIC PEOPLE'S REPUBLIC":"Korea P\xF3\u0142nocna","KOREA, REPUBLIC OF":"Korea Po\u0142udniowa","KOSOVO, REPUBLIC OF":"Kosowo",KUWAIT:"Kuwejt",KYRGYZSTAN:"Kirgistan","LAO PEOPLE'S DEMOCRATIC REPUBLIC":"Laos",LATVIA:"\u0141otwa",LEBANON:"Liban",LESOTHO:"Lesotho",LIBERIA:"Liberia",LIBYA:"Libia",LIECHTENSTEIN:"Liechtenstein",LITHUANIA:"Litwa",LUXEMBOURG:"Luksemburg",MACAO:"Makau",MADAGASCAR:"Madagaskar",MALAWI:"Malawi",MALAYSIA:"Malezja",MALDIVES:"Malediwy",MALI:"Mali",MALTA:"Malta","MARSHALL ISLANDS":"Wyspy Marshalla",MARTINIQUE:"Martynika",MAURITANIA:"Mauretania",MAURITIUS:"Mauritius",MAYOTTE:"Majotta",MEXICO:"Meksyk","MICRONESIA (FEDERATED STATES OF)":"Mikronezja","MOLDOVA, REPUBLIC OF":"Mo\u0142dawia",MONACO:"Monako",MONGOLIA:"Mongolia",MONTENEGRO:"Czarnog\xF3ra",MONTSERRAT:"Montserrat",MOROCCO:"Maroko",MOZAMBIQUE:"Mozambik",MYANMAR:"Mjanma",NAMIBIA:"Namibia",NEPAL:"Nepal",NETHERLANDS:"Holandia","NEW CALEDONIA":"Nowa Kaledonia","NEW ZEALAND":"Nowa Zelandia",NICARAGUA:"Nikaragua",NIGER:"Niger",NIGERIA:"Nigeria","NORTH MACEDONIA":"Macedonia P\xF3\u0142nocna","NORTHERN MARIANA ISLANDS":"Mariany P\xF3\u0142nocne",NORWAY:"Norwegia",OMAN:"Oman",PAKISTAN:"Pakistan",PALAU:"Palau","PALESTINE, STATE OF":"Palestyna",PANAMA:"Panama","PAPUA NEW GUINEA":"Papua-Nowa Gwinea",PARAGUAY:"Paragwaj",PERU:"Peru",PHILIPPINES:"Filipiny",POLAND:"Polska",PORTUGAL:"Portugalia","PUERTO RICO":"Portoryko",QATAR:"Katar",REUNION:"Reunion",ROMANIA:"Rumunia","RUSSIAN FEDERATION":"Rosja",RWANDA:"Rwanda","SAINT KITTS AND NEVIS":"Saint Kitts i Nevis","SAINT LUCIA":"Saint Lucia","SAINT PIERRE AND MIQUELON":"Saint-Pierre i Miquelon","SAINT VINCENT AND THE GRENADINES":"Saint Vincent i Grenadyny",SAMOA:"Samoa","SAN MARINO":"San Marino","SAO TOME AND PRINCIPE":"Wyspy \u015Awi\u0119tego Tomasza i Ksi\u0105\u017C\u0119ca","SAUDI ARABIA":"Arabia Saudyjska",SENEGAL:"Senegal",SERBIA:"Serbia",SEYCHELLES:"Seszele","SIERRA LEONE":"Sierra Leone",SINGAPORE:"Singapur","SINT MAARTEN (DUTCH PART)":"Sint Maarten (cz\u0119\u015B\u0107 holenderska)",SLOVAKIA:"S\u0142owacja",SLOVENIA:"S\u0142owenia","SOLOMON ISLANDS":"Wyspy Salomona",SOMALIA:"Somalia","SOUTH AFRICA":"Republika Po\u0142udniowej Afr
7996yki","SOUTH SUDAN":"Sudan Po\u0142udniowy",SPAIN:"Hiszpania","SRI LANKA":"Sri Lanka","ST HELENA,ASCENSION AND TRISTAN DA":"Wyspa \u015Awi\u0119tej Heleny, Wyspa Wniebowst\u0105pienia i Tristan da Cunha",SUDAN:"Sudan",SURINAME:"Surinam",SWEDEN:"Szwecja",SWITZERLAND:"Szwajcaria","SYRIAN ARAB REPUBLIC":"Syryjska Republika Arabska",TAIWAN:"Tajwan",TAJIKISTAN:"Tad\u017Cykistan","TANZANIA, UNITED REPUBLIC OF":"Tanzania",THAILAND:"Tajlandia","TIMOR-LESTE":"Timor Wschodni",TOGO:"Togo",TONGA:"Tonga","TRINIDAD AND TOBAGO":"Trynidad i Tobago",TUNISIA:"Tunezja",TURKIYE:"Turcja",TURKMENISTAN:"Turkmenistan","TURKS AND CAICOS ISLANDS":"Turks i Caicos",TUVALU:"Tuvalu",UGANDA:"Uganda",UKRAINE:"Ukraina","UNITED ARAB EMIRATES":"Zjednoczone Emiraty Arabskie","UNITED KINGDOM":"Wielka Brytania","UNITED STATES OF AMERICA":"Stany Zjednoczone Ameryki",URUGUAY:"Urugwaj",UZBEKISTAN:"Uzbekistan",VANUATU:"Vanuatu","VENEZUELA (BOLIVARIAN REPUBLIC OF)":"Wenezuela","VIET NAM":"Wietnam","VIRGIN ISLANDS, BRITISH":"Brytyjskie Wyspy Dziewicze","VIRGIN ISLANDS (U.S.)":"Wyspy Dziewicze Stan\xF3w Zjednoczonych","WALLIS AND FUTUNA":"Wallis i Futuna",YEMEN:"Jemen",ZAMBIA:"Zambia",ZIMBABWE:"Zimbabwe"};function eb(t){return pce[t.trim()]||t}function LE(t){return[...t].sort((i,e)=>eb(i).localeCompare(eb(e),"pl"))}function hce(t,i){if(t&1&&(u(0,"mat-option",4),h(1),c()),t&2){let e=i.$implicit,n=_();g("value",e),l(),S(n.displayWith(e))}}function fce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.error())}}var NR=t=>t.toLowerCase().replace(/ł/g,"l").normalize("NFD").replace(new RegExp("\\p{M}","gu"),"");function gce(t,i){let e=NR(i.trim());return e?t.filter(n=>NR(eb(n)).includes(e)||NR(n).includes(e)):t}var Mh=(()=>{class t{constructor(){this.countries=co([]),this.placeholder=co("Wybierz kraj"),this.error=co(null),this.searchFC=new uo("",{nonNullable:!0}),this.errorStateMatcher={isErrorState:()=>!!this.error()},this.displayWith=e=>e?eb(e):"",this.trigger=Ps.required(hr),this.selected=Z(""),this.searchTerm=cm(this.searchFC.valueChanges,{initialValue:""}),this.filteredCountries=Ct(()=>{let e=this.searchTerm();return e===this.selected()?this.countries()??[]:gce(this.countries()??[],e)}),this.onChange=()=>{},this.onTouched=()=>{}}writeValue(e){this.selected.set(e??""),this.searchFC.setValue(e??"")}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){e?this.searchFC.disable():this.searchFC.enable()}onOptionSelected(e){this.select(e.option.value)}onBlur(){this.onTouched(),this.trigger().panelOpen||this.reconcile()}reconcile(){let e=this.searchFC.value;e!==this.selected()&&(e.trim()===""?this.select(""):this.searchFC.setValue(this.selected()))}select(e){this.selected.set(e),this.searchFC.setValue(e),this.onChange(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-country-select"]],viewQuery:function(n,r){n&1&&Wc(r.trigger,hr,5),n&2&&$c()},inputs:{countries:[1,"countries"],placeholder:[1,"placeholder"],error:[1,"error"]},features:[me([{provide:er,useExisting:bn(()=>t),multi:!0}])],decls:7,vars:6,consts:[["countryAuto","matAutocomplete"],["appearance","outline",1,"country-field"],["matInput","","type","text","autocomplete","off",3,"blur","formControl","matAutocomplete","placeholder","errorStateMatcher"],["autoActiveFirstOption","",3,"optionSelected","closed","displayWith"],[3,"value"]],template:function(n,r){if(n&1&&(u(0,"mat-form-field",1)(1,"input",2),T("blur",function(){return r.onBlur()}),c(),u(2,"mat-autocomplete",3,0),T("optionSelected",function(a){return r.onOptionSelected(a)})("closed",function(){return r.reconcile()}),He(4,hce,2,2,"mat-option",4,at),c(),v(6,fce,2,1,"mat-error"),c()),n&2){let o=ye(3);l(),g("formControl",r.searchFC)("matAutocomplete",o)("placeholder",r.placeholder())("errorStateMatcher",r.errorStateMatcher),l(),g("displayWith",r.displayWith),l(2),Ue(r.filteredCountries()),l(2),y(r.error()?6:-1)}},dependencies:[es,Je,Xe,$e,zr,Ve,St,cs,et,h_,ya,Qt,hr],styles:["[_nghost-%COMP%]{display:block}.country-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return t})();var _ce=["trigger"];function bce(t,i){t&1&&(u(0,"span"),h(1,"Edytuj kontrahenta"),c())}function vce(t,i){t&1&&(u(0,"span"),h(1,"Dodaj kontrahenta"),c())}function yce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function Cce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["nazwaSkrot.exists"])}}function Dce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.INCORRECT_SIGNS_TEXT)}}function Ece(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.foreignBankInputForm.controls.bic.getError("invalidBic"))}}function wce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["bic.invalid"])}}function xce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["bic.illegal"])}}function Sce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["bic.length"])}}function Tce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function Ice(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function Ace(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["nip.checkSumInvalid"])}}function kce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["regon.checkSumInvalid"])}}function Rce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();
7996l(),S(e.ERRORS["pesel.invalidCheckSum"])}}function Mce(t,i){if(t&1&&(u(0,"mat-option",27),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function Nce(t,i){if(t&1&&(u(0,"mat-option",32),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function Oce(t,i){t&1&&(u(0,"mat-error"),h(1,"Pole wymagane"),c())}function Fce(t,i){if(t&1&&(u(0,"mat-error"),h(1,"Pole zawiera nieprawid\u0142owe znaki: "),u(2,"b"),h(3),c()()),t&2){let e=_();l(3),S(e.getInvalidCharacters(e.titleFC.getError("pattern")))}}var BE=(()=>{class t{constructor(e,n,r,o){this.dialog=e,this.dialogRef=n,this.contractorService=r,this.data=o,this.ERRORS=ln,this.INCORRECT_SIGNS_TEXT=wh,this.getInvalidCharacters=ue.getInvalidCharacters,this.IBAN_MAX_LENGTH=35,this.SHORT_NAME_MAX_LENGTH=20,this.NIP_MAX_LENGTH=10,this.REGON_MAX_LENGTH=14,this.PESEL_MAX_LENGTH=11,this.IBAN_MIN_LENGTH=26,this.ButtonLabels=tt,this.ContractorTypeEnum=ct,this.ValidatorUtils=Xt,this.fb=m(Er),this.contractorSaveUpdateService=m(Th),this.errorProviderService=m(Rt),this.contractorValidationService=m(xE),this.foreignBanksService=m(No),this.ibanInfos=this.foreignBanksService.getForeignIbanInfos(),this.countries=this.foreignBanksService.getCountries().pipe($(LE)),this.foreignBankInputFormService=m(Nd),this.foreignBankInputForm=this.foreignBankInputFormService.form,this.foreignBankSearchService=m(Rh),this.contractorInputFormService=m(Sh),this.contractorInputForm=this.contractorInputFormService.form,this.nipFC=this.fb.nonNullable.control("",Ma.check),this.regonFC=this.fb.nonNullable.control("",Id.check),this.peselFC=this.fb.nonNullable.control("",fl.check),this.groupFC=new z,this.amountFC=this.fb.nonNullable.control(""),this.currencies=m(dl).getCurrencies(),this.currencyFC=this.fb.nonNullable.control("",G.required),this.titleFC=this.fb.nonNullable.control("",G.pattern(ue.swiftPattern)),this.onlyForLoggedUserFC=this.fb.nonNullable.control(!1),this.isRequiredErrorText=Po,this.groups=[],this.isBicBtnDisable=!1,this.listFlag=!1,this.contractorInputForm.markAllAsTouched(),this.foreignBankInputForm.markAllAsTouched(),this.additionalInfoFG=this.fb.group({nipFC:this.nipFC,regonFC:this.regonFC,peselFC:this.peselFC,groupFC:this.groupFC,amountFC:this.amountFC,currencyFC:this.currencyFC,titleFC:this.titleFC,onlyForLogin:this.onlyForLoggedUserFC}),this.additionalInfoFG.markAllAsTouched(),this.allDataFG=this.fb.group({contractorDataFG:this.contractorInputForm,bankDataFG:this.foreignBankInputForm,additionalInfoFG:this.additionalInfoFG}),this.dataDetails=Array.isArray(o.details)?this.data.details[0]:this.data.details}getFormGroup(){return this.allDataFG}ngOnInit(){this.setInitialFCValuesToChange(),this.getContractorsGroups(),this.setControlsValues()}close(e=!1){this.dialogRef.close(e)}reset(){this.allDataFG.reset(),this.data.isEdit&&this.setInitialFCValuesToChange(),this.setControlsValues()}saveContractor(){this.ibanInfos.pipe($(e=>this.createContractorForSave(e)),W(e=>this.contractorValidationService.validate(e).pipe($(()=>e))),W(e=>this.contractorSaveUpdateService.saveContractor(e)),B(()=>this.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}updateContractor(){this.ibanInfos.pipe($(e=>this.createContractorForUpdate(e)),W(e=>this.contractorSaveUpdateService.updateContractor(e)),B(()=>this.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}openDialog(e){let n=new Jt;switch(n.panelClass=li.MEDIUM,n.data={details:e,isDialog:!0},e){case ct.US_TRANSFER:this.openTaxOfficeDialogComponent(n);break;case ct.FOREIGN_TRANSFER:this.openForeignBanksDialogComponent(n);break}}triggerDropDownList(e){e.stopPropagation(),this.listFlag?(this.autoComplete.closePanel(),this.listFlag=!1):(this.autoComplete.openPanel(),this.listFlag=!0)}closeDropDownList(){this.autoComplete.closePanel()}getControlByProperty(e){switch(e){case"nazwaSkrot":return this.contractorInputForm.controls.shortName;case"rach":return this.foreignBankInputForm.controls.number;case"nip":return this.nipFC;case"regon":return this.regonFC;case"pesel":return this.peselFC;case"kwota":return this.amountFC;default:return null}}openForeignBanksDialogComponent(e){this.dialog.open(FE,e).afterClosed().subscribe(n=>{n&&(this.foreignBankInputForm.controls.bic.setValue(n.bic),this.foreignBankInputForm.controls.name.setValue(n.bankName),this.foreignBankInputForm.controls.city.setValue(n.address))})}openTaxOfficeDialogComponent(e){this.dialog.open(Td,e).afterClosed().pipe(B(n=>
7996{n&&(this.contractorInputForm.controls.namePart1.setValue("Urz\u0105d Skarbowy"),this.foreignBankInputForm.controls.number.setValue(n.accountIban),this.foreignBankInputForm.controls.name.setValue(n.name),this.foreignBankInputForm.controls.city.setValue(n.address))})).subscribe()}setControlsValues(){this.foreignBankInputForm.controls.name.setValidators(G.required),this.foreignBankInputForm.controls.city.setValidators(G.required),this.dataDetails?.currency&&this.currencyFC.setValue(this.dataDetails?.currency)}createContractorForSave(e){return{shortName:this.contractorInputForm.controls.shortName.value,group:this.groupFC.value,name1:this.contractorInputForm.controls.namePart1.value,name2:this.contractorInputForm.controls.namePart2.value,address1:this.contractorInputForm.controls.addressPart1.value,address2:this.contractorInputForm.controls.addressPart2.value,targetAccount:this.formatTargetAccount(e),bic:this.foreignBankInputForm.controls.bic.value,nip:this.nipFC.value.length===1?"":this.nipFC.value,regon:this.regonFC.value.length===1?"":this.regonFC.value,pesel:this.peselFC.value.length===1?"":this.peselFC.value,title:this.titleFC.value,bank1:this.foreignBankInputForm.controls.name.value,bank2:this.foreignBankInputForm.controls.address.value,bank3:this.foreignBankInputForm.controls.city.value,bank4:this.foreignBankInputForm.controls.country.value,amount:this.amountFC.value,currency:this.currencyFC.value,type:ct.FOREIGN_TRANSFER,onlyForLoggedUser:this.onlyForLoggedUserFC.value,checkIban:!1}}formatTargetAccount(e){return ue.removeWhitespaces(sa.setCountryCodeIfSelectedCountry(this.foreignBankInputForm.controls.country.value,this.foreignBankInputForm.controls.number.value,e))}createContractorForUpdate(e){let n=this.createContractorForSave(e);return n.id=this.data.details[0].id,n}setInitialFCValuesToChange(){this.dataDetails?(this.contractorInputForm.setValue({type:Mi.getTypeName(ct.FOREIGN_TRANSFER),shortName:this.dataDetails.shortName?this.dataDetails.shortName:"",namePart1:this.dataDetails.name1?this.dataDetails.name1:"",namePart2:this.dataDetails.name2?this.dataDetails.name2:"",addressPart1:this.dataDetails.address1?this.dataDetails.address1:"",addressPart2:this.dataDetails.address2?this.dataDetails.address2:""}),this.foreignBankInputForm.setValue({number:this.dataDetails.targetAccount?this.dataDetails.targetAccount:"",bic:this.dataDetails.bic?this.dataDetails.bic:"",name:this.dataDetails.bank1?this.dataDetails.bank1:"",address:this.dataDetails.bank2?this.dataDetails.bank2:"",city:this.dataDetails.bank3?this.dataDetails.bank3:"",country:this.dataDetails.bank4?this.dataDetails.bank4:"",eog:!1,sepa:!1}),this.groupFC.setValue(this.dataDetails.group?this.dataDetails.group:""),this.nipFC.setValue(this.dataDetails.nip?this.dataDetails.nip:""),this.regonFC.setValue(this.dataDetails.regon?this.dataDetails.regon:""),this.peselFC.setValue(this.dataDetails.pesel?this.dataDetails.pesel:""),this.titleFC.setValue(this.dataDetails.title?this.dataDetails.title:""),this.amountFC.setValue(this.dataDetails.amount?bt.formatAmount(this.dataDetails.amount):""),this.dataDetails?.currency&&this.currencyFC.setValue(this.dataDetails?.currency),this.onlyForLoggedUserFC.setValue(!!this.dataDetails.onlyForLoggedUser)):this.contractorInputForm.controls.type.setValue(Mi.getTypeName(ct.FOREIGN_TRANSFER))}getContractorsGroups(){this.contractorService.getAllContractorsGroups().subscribe(e=>this.groups=e)}instanceOfDomesticBank(e){return"address2"in e}static{this.\u0275fac=function(n){return new(n||t)(E(mt),E(Ze),E(br),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-foreign-contractor-dialog"]],viewQuery:function(n,r){if(n&1&&ve(_ce,5),n&2){let o;H(o=U())&&(r.autoComplete=o.first)}},standalone:!1,features:[me([Nd,Rh,Sh])],decls:107,vars:44,consts:[["trigger","matAutocompleteTrigger"],["auto","matAutocomplete"],[3,"formGroup"],[1,"flex-row","gap-20"],["appearance","outline",1,"flex-50"],["autocomplete","off","formControlName","type","matInput","","readonly",""],["autocomplete","off","formControlName","shortName","matInput","","required","",3,"maxlength"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[1,"flex-row","justify-between","gap-10"],["formControlName","country","matTooltip","Je\u015Bli numer rachunku b\u0119dzie zawiera\u0142 kod kraju, zostanie on u\u017Cyty niezale\u017Cnie od kraju wybranego z listy","matTooltipPosition","right",1,"flex-20",3,"countries"],[1,"flex-100",3,"bankAccountFC"],[1,"custom-row","flex-row","justify-start"],["appearance","outline",1,"flex-100"],["autocomplete","off","formControlName","bic","matInput",""],[1,"custom-button",3,"clickAction","disabled"],["autocomplete","off","formControlName","name","matInput","","name","name"],["autocomplete","off","formControlName","address","matInput","","name","address"],["autocomplete","off","formControlName","city","matInput","","name","city"],["autocomplete","off","formControlName","country","matInput","","name","country"],[1,"flex-row","justify-between","items-center","gap-20"],["appearance","outline",1,"flex-1"],["autocomplete","off","matInput","","appOnlyNumbers","",3,"formControl","maxlength"],["appearance","outline",1,"width"],["autocomplete","off","matInput","","placeholder","Wpisz/Wybierz grup\u0119",3,"input","formControl","matAutocomplete"],["mat-icon-button","","matSuffix",""],[3,"click"],["autoActiveFirstOption",""],[3,"value"],[3,"amountFC","isRequired"],["appearance","outline",1,"min-width-of-5-rem"],["for","sourceAccount"],[3,"formControl"],[1,"custom-option",3,"value"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","",3,"formControl"],[3,"cancelAction","resetAction","confirmAction","buttonLabelConfirm","confirmDisabled"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),v(2,bce,2,0,"span")(3,vce,2,0,"span"),c(),u(4,"app-dialog-content")(5,"app-dialog-section",2)(6,"app-dialog-section-header"),h(7," Dane kontrahenta "),c(),u(8,"div",3)(9,"mat-form-field",4)(10,"mat-label"),h(11,"Typ kontrahenta"),c(),x(12,"input",5),c(),u(13,"mat-form-field",4)(14,"mat-label"),h(15,"Nazwa skr\xF3cona"),c(),x(16,"input",6),v(17,yce,2,1,"mat-error"),v(18,Cce,2,1,"mat-error"),v(19,Dce,2,1,"mat-error"),c()(),x(20,"app-recipant-input",7),c(),u(21,"app-dialog-section",2)(22,"app-dialog-section-header"),h(23," Bank kontrahenta "),c(),u(24,"div",8),x(25,"app-country-select",9),be(26,"async"),x(27,"app-iban-input",10),c(),u(28,"div",11)(29,"mat-form-field",12)(30,"mat-label"),h(31,"Kod BIC banku"),c(),x(32,"input",13),v(33,Ece,2,1,"mat-error"),v(34,wce,2,1,"mat-error"),v(35,xce,2,1,"mat-error"),v(36,Sce,2,1,"mat-error"),c(),u(37,"app-button",14),T("clickAction",function(){return r.openDialog(r.ContractorTypeEnum.FOREIGN_TRANSFER)}),h(38," Wybierz "),c()(),u(39,"div",3)(40,"mat-form-field",4)(41,"mat-label"),h(42,"Nazwa banku"),c(),x(43,"input",15),v(44,Tce,2,1,"mat-error"),c(),u(45,"mat-form-field",4),x(46,"mat-label")(47,"input",16),c()(),u(48,"div",3)(49,"mat-form-field",4)(50,"mat-label"),h(51,"Miejscowo\u015B\u0107, kraj"),c(),x(52,"input",17),v(53,Ice,2,1,"mat-error"),c(),u(54,"mat-form-field",4),x(55,"mat-label")(56,"input",18),c()()(),u(57,"app-dialog-section")(58,"app-dialog-section-header"),h(59," Dane dodatkowe "),c(),u(60,"div",19)(61,"mat-form-field",20)(62,"mat-label"),h(63,"NIP"),c(),x(64,"input",21),v(65,Ace,2,1,"mat-error"),c(),u(66,"mat-form-field",20)(67,"mat-label"),h(68,"REGON"),c(),x(69,"input",21),v(70,kce,2,1,"mat-error"),c()(),u(71,"div",19)(72,"mat-form-field",20)(73,"mat-label"),h(74,"PESEL"),c(),x(75,"input",21),v(76,Rce,2,1,"mat-error"),c(),u(77,"mat-form-field",22)(78,"mat-label"),h(79,"Grupa"),c(),u(80,"input",23,0),T("input",function(){return r.closeDropDownList()}),c(),u(82,"button",24)(83,"mat-icon",25),T("click",function(a){return r.triggerDropDownList(a)}),h(84,"more_vert"),c()(),u(85,"mat-autocomplete",26,1),He(87,Mce,2,2,"mat-option",27,at),c()()(),u(89,"div",3),x(90,"app-amount-input",28),u(91,"mat-form-field",29)(92,"mat-label",30),h(93,"Waluta"),c(),u(94,"mat-select",31),He(95,Nce,2,2,"mat-option",32,at),be(97,"async"),c(),v(98,Oce,2,0,"mat-error"),c()(),u(99,"mat-form-field",33)(100,"mat-label"),h(101,"Tytu\u0142em"),c(),x(102,"textarea",34),v(103,Fce,4,1,"mat-error"),c(),u(104,"mat-checkbox",31),h(105,"Kontrahent dost\u0119pny tylko dla tego loginu"),c()()(),u(106,"app-action-buttons-panel",35),T("cancelAction",function(){return r.close()})("resetAction",function(){return r.reset()})("confirmAction",function(){return r.data.isEdit?r.updateContractor():r.saveContractor()}),c()()),n&2){let o=ye(86);l(2),y(r.data.isEdit?2:3),l(3),g("formGroup",r.contractorInputForm),l(11),g("maxlength",r.SHORT_NAME_MAX_LENGTH),l(),y(r.ValidatorUtils.isRequired(r.contractorInputForm.controls.shortName)?17:-1),l(),y(r.contractorInputForm.controls.shortName.hasError("nazwaSkrot.exists")?18:-1),l(),y(r.contractorInputForm.controls.shortName.hasError("pattern")?19:-1),l(),g("namePart1FC",r.contractorInputForm.controls.namePart1)("namePart2FC",r.contractorInputForm.controls.namePart2)("addressPart1FC",r.contractorInputForm.controls.addressPart1)("addressPart2FC",r.contractorInputForm.controls.addressPart2),l(),g("formGroup",r.foreignBankInputForm),l(4),g("countries",Fe(26,40,r.countries)),l(2),g("bankAccountFC",r.foreignBankInputForm.controls.number),l(6),y(r.foreignBankInputForm.controls.bic.hasError("invalidBic")?33:-1),l(),y(r.foreignBankInputForm.controls.bic.hasError("bic.invalid")?34:-1),l(),y(r.foreignBankInputForm.controls.bic.hasError("bic.illegal")?35:-1),l(),y(r.foreignBankInputForm.controls.bic.hasError("bic.length")?36:-1),l(),g("disabled",r.isBicBtnDisable),l(7),y(r.ValidatorUtils.isRequired(r.foreignBankInputForm.controls.name)?44:-1),l(9),y(r.ValidatorUtils.isRequired(r.foreignBankInputForm.controls.city)?53:-1),l(11),g("formControl",r.nipFC)("maxlength",r.NIP_MAX_LENGTH),l(),y(r.nipFC.errors!=null&&r.nipFC.errors.nip||r.nipFC.hasError("nip.checkSumInvalid")?65:-1),l(4),g("formControl",r.regonFC)("maxlength",r.REGON_MAX_LENGTH),l(),y(r.regonFC.errors!=null&&r.regonFC.errors.regon||r.regonFC.hasError("regon.checkSumInvalid")?70:-1),l(5),g("formControl",r.peselFC)("maxlength",r.PESEL_MAX_LENGTH),l(),y(r.peselFC.errors!=null&&r.peselFC.errors.pesel||r.peselFC.hasError("pesel.invali
7996dCheckSum")?76:-1),l(4),g("formControl",r.groupFC)("matAutocomplete",o),l(7),Ue(r.groups),l(3),g("amountFC",r.amountFC)("isRequired",!1),l(4),g("formControl",r.currencyFC),l(),Ue(Fe(97,42,r.currencies)),l(3),y(r.ValidatorUtils.isRequired(r.currencyFC)?98:-1),l(4),g("formControl",r.titleFC),l(),y(r.titleFC.hasError("pattern")?103:-1),l(),g("formControl",r.onlyForLoggedUserFC),l(2),g("buttonLabelConfirm",r.ButtonLabels.SAVE)("confirmDisabled",r.allDataFG.invalid)}},dependencies:[Je,Xe,Ai,mn,Bi,Ve,qe,St,Pn,ya,Qt,hr,fr,ir,zn,et,si,Ys,Mt,Nt,Ot,vr,Nr,$e,$n,Ru,Yr,Kr,Q_,bi,Tt,Mh,wE,Ji],styles:[".clear-button[_ngcontent-%COMP%]{margin-right:20px;margin-left:auto}.spacer[_ngcontent-%COMP%]{margin-bottom:1rem}.subtitle[_ngcontent-%COMP%]{color:#2196f3;margin-bottom:3px}.custom-button[_ngcontent-%COMP%]{height:3rem;margin-top:.2rem;margin-left:1rem}.custom-row[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]:not(:last-of-type)   .custom-button[_ngcontent-%COMP%]{margin-left:1rem}.min-width-of-5-rem[_ngcontent-%COMP%]{min-width:5rem}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.justify-start[_ngcontent-%COMP%]{justify-content:flex-start}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.items-center[_ngcontent-%COMP%]{align-items:center}.gap-10[_ngcontent-%COMP%]{gap:10px}.gap-20[_ngcontent-%COMP%]{gap:20px}.flex-20[_ngcontent-%COMP%]{flex:1 1 20%;max-width:20%;box-sizing:border-box}.flex-50[_ngcontent-%COMP%]{flex:1 1 50%;max-width:50%;box-sizing:border-box}.flex-100[_ngcontent-%COMP%]{flex:1 1 100%;max-width:100%;box-sizing:border-box}.flex-1[_ngcontent-%COMP%]{flex:1 1 0;min-width:0}.flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var aG=(function(t){return t.ELIXIR="ELIXIR",t.VIDEO_TEL="VIDEO_TEL",t.INTERNATIONAL="INTERNATIONAL",t.DBF="DBF",t})(aG||{}),v0t=t=>t===aG.DBF?[".dbf"]:[".csv",".txt",".xml",".pli"],mm=(function(t){return t.WINDOWS_1250="WINDOWS-1250",t.UTF_8="UTF-8",t})(mm||{}),Pce=(function(t){return t.NEW_BUNDLE="do nowej paczki",t.EXISTING_BUNDLE="do istniej\u0105cej paczki z listy",t.WITHOUT_BUNDLE="bez paczki",t})(Pce||{}),Lce=(function(t){return t.UNCHECKED="UNCHECKED",t.VALID="VALID",t.INVALID="INVALID",t.FAILED="FAILED",t})(Lce||{});var Bce=["*"];function Vce(t,i){if(t&1&&(u(0,"mat-icon",1),h(1),c()),t&2){let e=_();l(),S(e.icon)}}function jce(t,i){if(t&1&&(u(0,"span",2),h(1),c()),t&2){let e=_();l(),S(e.hint)}}var Nh=(()=>{class t{constructor(){this.disabled=!1,this.clickAction=new V}click(){this.clickAction.emit()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-menu-item-button"]],inputs:{disabled:"disabled",icon:"icon",hint:"hint"},outputs:{clickAction:"clickAction"},standalone:!1,ngContentSelectors:Bce,decls:4,vars:3,consts:[["mat-menu-item","",3,"click","disabled"],[1,"icon-margin-right"],[1,"menu-item-hint"]],template:function(n,r){n&1&&(Ie(),u(0,"button",0),T("click",function(){return r.click()}),v(1,Vce,2,1,"mat-icon",1),re(2),v(3,jce,2,1,"span",2),c()),n&2&&(g("disabled",r.disabled),l(),y(r.icon?1:-1),l(2),y(r.hint?3:-1))},dependencies:[zn,Xu],styles:[".icon-margin-right[_ngcontent-%COMP%]{margin-right:.2rem}",".menu-item-hint[_ngcontent-%COMP%]{margin-left:.35rem;font-size:.75rem;opacity:.7}"]})}}return t})();var Hce=["uploaderCSV"],Uce=["uploaderTXT_DEF"],zce=["uploaderTXT_NOV"],Gce=["uploaderTXT_SABA"],Wce=["uploaderXML"];function $ce(t,i){if(t&1){let e=Se();u(0,"app-menu-item-button",13),T("clickAction",function(){te(e);let r=_();return ne(r.importContractors(r.ContractorImportType.CSV))}),h(1,"Z pliku CSV"),c(),u(2,"app-menu-item-button",13),T("clickAction",function(){te(e);let r=_();return ne(r.importContractors(r.ContractorImportType.TXT_DEF))}),h(3,"Z pliku TXT(DEF)"),c(),u(4,"app-menu-item-button",13),T("clickAction",function(){te(e);let r=_();return ne(r.importContractors(r.ContractorImportType.TXT_NOV))}),h(5,"Z pliku TXT(Novum)"),c(),u(6,"app-menu-item-button",13),T("clickAction",function(){te(e);let r=_();return ne(r.importContractors(r.ContractorImportType.TXT_SABA))}),h(7,"Z pliku TXT(Saba)"),c(),u(8,"app-menu-item-button",13),T("clickAction",function(){te(e);let r=_();return ne(r.importContractors(r.ContractorImportType.XML))}),h(9,"Z pliku XML"),c()}if(t&2){let e=_();g("disabled",e.isImportButtonsDisabled),l(2),g("disabled",e.isImportButtonsDisabled),l(2),g("disabled",e.isImportButtonsDisabled),l(2),g("disabled",e.isImportButtonsDisabled),l(2),g("disabled",e.isImportButtonsDisabled)}}var lG=(()=>{class t{constructor(e,n,r,o,a,s){this.contractorService=e,this.notificationService=n,this.dialog=r,this.authFlow=o,this.userFacadeService=a,this.errorProviderService=s,this.importCompleted=new V,this.ContractorImportType=_d,this.encoding="",this.isImportButtonsDisabled=!1,this.choosenGroupForImport="",this.importedContarctorsTotalCount=0,this.MAX_FILE_SIZE_IN_MB=5}ngOnInit(){this.isImportButtonsDisabled=!this.userFacadeService.hasAuthorities([Ut.FUNC_CONTRACTORS_EDIT])}importContractors(e){this.contractorImportType=e,this.dialog.open(EE).afterClosed().pipe(B(n=>
7996{n===void 0?this.choosenGroupForImport="":this.choosenGroupForImport=n}),W(()=>this.ifForLogin().afterClosed().pipe(B(n=>{this.forLoginDecision=!!n.state}),W(()=>this.getFileFromBrowser(e))))).subscribe()}loadFile(e){let n=e.target.files.item(0),r=e.target.files.item(0).filePath;if(n)if(this.isProperFileSize(n)){let o=new FormData;o.append("file",n),this.contractorService.uploadFile(this.encoding,o).pipe(W(a=>this.importContractorsWithAuthorize(a,r,n.name)),this.errorProviderService.processError(ze.FETCHING_DATA_ERROR)).subscribe()}else this.notificationService.error(ze.UPLOADED_FILE_TOO_LARGE);this.uploaderCSV.nativeElement.value="",this.uploaderTXT_DEF.nativeElement.value="",this.uploaderTXT_NOV.nativeElement.value="",this.uploaderTXT_SABA.nativeElement.value="",this.uploaderXML.nativeElement.value=""}ifForLogin(){let e=new Jt;return e.data={title:"Import",message:`Czy kontrahenci maj\u0105 by\u0107 dost\u0119pni tylko dla jednego loginu czy dla wszystkich login\xF3w tego klienta?
7997
7998Wybierz Tak, je\u015Bli kontrahenci maj\u0105 by\u0107 dost\u0119pni tylko dla Twojego loginu.
7999Wybierz Nie, je\u015Bli kontrahenci maj\u0105 by\u0107 dost\u0119pni dla wszystkich login\xF3w tego klienta.`,type:lc.BASIC_YES_NO_CONFIRM},this.dialog.open(wd,e)}getFileFromBrowser(e){return e===_d.CSV?(this.uploaderCSV?.nativeElement.click(),this.encoding=mm.WINDOWS_1250):e===_d.TXT_SABA?(this.uploaderTXT_SABA?.nativeElement.click(),this.encoding=mm.WINDOWS_1250):e===_d.TXT_DEF?(this.uploaderTXT_DEF?.nativeElement.click(),this.encoding=mm.WINDOWS_1250):e===_d.TXT_NOV?(this.uploaderTXT_NOV?.nativeElement.click(),this.encoding=mm.WINDOWS_1250):e===_d.XML&&(this.uploaderXML?.nativeElement.click(),this.encoding=mm.UTF_8),P([])}importContractorsWithAuthorize(e,n,r){let o=Mi.getContractorImportRequest(this.contractorImportType,e.fileId,n,this.forLoginDecision,this.encoding),a=this.contractorService.importAuthOperation(o,this.choosenGroupForImport,s=>this.importedContarctorsTotalCount=s);return this.authFlow.run(a,[],{title:"Autoryzacja importu kontrahent\xF3w",summary:`Import kontrahent\xF3w z pliku ${r}`}).pipe(B(()=>{this.showMessage(),this.importCompleted.emit(!0)}),Ge(s=>s instanceof gs?ke:gn(()=>s)))}showMessage(){this.notificationService.success("Import wykonany pomy\u015Blnie. Ilo\u015B\u0107 wczytanych dyspozycji :  "+this.importedContarctorsTotalCount)}isProperFileSize(e){return e.size<=this.MAX_FILE_SIZE_IN_MB*1024*1024}static{this.\u0275fac=function(n){return new(n||t)(E(br),E(Le),E(mt),E(hl),E(wi),E(Rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-contractors-import"]],viewQuery:function(n,r){if(n&1&&ve(Hce,5)(Uce,5)(zce,5)(Gce,5)(Wce,5),n&2){let o;H(o=U())&&(r.uploaderCSV=o.first),H(o=U())&&(r.uploaderTXT_DEF=o.first),H(o=U())&&(r.uploaderTXT_NOV=o.first),H(o=U())&&(r.uploaderTXT_SABA=o.first),H(o=U())&&(r.uploaderXML=o.first)}},outputs:{importCompleted:"importCompleted"},standalone:!1,decls:15,vars:1,consts:[["contractorImportMenu",""],["uploaderCSV",""],["uploaderTXT_SABA",""],["uploaderTXT_DEF",""],["uploaderTXT_NOV",""],["uploaderXML",""],[3,"matMenuTriggerFor"],["yPosition","below"],["matMenuContent",""],["autocomplete","off","accept",".csv","hidden","","type","file",3,"change"],["autocomplete","off","accept",".txt, .csv","hidden","","type","file",3,"change"],["autocomplete","off","accept",".txt","hidden","","type","file",3,"change"],["autocomplete","off","accept","text/xml","hidden","","type","file",3,"change"],[3,"clickAction","disabled"]],template:function(n,r){if(n&1&&(u(0,"app-button",6),h(1,"Import"),c(),u(2,"mat-menu",7,0),fe(4,$ce,10,5,"ng-template",8),u(5,"input",9,1),T("change",function(a){return r.loadFile(a)}),c(),u(7,"input",10,2),T("change",function(a){return r.loadFile(a)}),c(),u(9,"input",11,3),T("change",function(a){return r.loadFile(a)}),c(),u(11,"input",11,4),T("change",function(a){return r.loadFile(a)}),c(),u(13,"input",12,5),T("change",function(a){return r.loadFile(a)}),c()()),n&2){let o=ye(3);g("matMenuTriggerFor",o)}},dependencies:[Ks,KC,hd,Bt,bi,Nh],encapsulation:2})}}return t})();var cG=Si(Xr());var uc=(function(t){return t.CURRENT="BIEZACY",t.CREDIT="KREDYTOWY",t.FORWARD="TERMINOWY",t.VAT="VAT",t.FIDUCIARY="POWIERNICZY",t.TECHNICAL="TECHNICZNY",t.TRUSTEE="POWIERNIKA",t.ENTRUSTING="POWIERZAJACEGO",t})(uc||{});var pm=(function(t){return t.CURRENT="Rachunki bie\u017C\u0105ce",t.CREDIT="Rachunki kredytowe",t.FORWARD="Rachunki terminowe",t.VAT="Rachunki VAT",t.FIDUCIARY="Rachunki powiernicze",t})(pm||{});var tb=class{static toLabel(i){switch(i){case uc.CURRENT:return pm.CURRENT;case uc.CREDIT:return pm.CREDIT;case uc.FORWARD:return pm.FORWARD;case uc.VAT:return pm.VAT;case uc.FIDUCIARY:return pm.FIDUCIARY;default:return""}}};xn([(0,cG.default)()],tb,"toLabel",null);var vi=(()=>{class t{static{this.PL_PREFIX=/^PL/i}static{this.BANK_CODE_LENGTH_8=8}static{this.BANK_CODE_LENGTH_4=4}static{this.CHECK_DIGITS_LENGTH=2}static ibanFormat(e,n=!1,r=""){return e?this.modifyIban(e,n):r}static stripToNrb(e){return e?e.replace(/\s+/g,"").replace(this.PL_PREFIX,""):""}static isOwnBankAccount(e,n){if(!n||n.length===0)return!1;let r=this.stripToNrb(e);if(r.length<this.CHECK_DIGITS_LENGTH+this.BANK_CODE_LENGTH_4)return!1;let o=this.CHECK_DIGITS_LENGTH,a=r.substring(o,o+this.BANK_CODE_LENGTH_8);if(a.length===this.BANK_CODE_LENGTH_8&&n.includes(a))return!0;let s=r.substring(o,o+this.BANK_CODE_LENGTH_4);return n.includes(s)}static findAccountById(e,n){return n.find(r=>String(r.accountId)===e)?.accountId||""}static findAccountByIban(e,n){return n.find(r=>String(r.accountNumber)===e)?.accountId||""}static modifyIban(e,n=!1){if(new RegExp(/[0-9\s\-.]+/g).test(e)){e=e.replace(/[\s\-.]+/g,"");let r=2,o=[];for(let a=0;a<e.length;a+=r)r=a>=2?4:2,new RegExp(/([A-Z]{2})[0-9\s\-.]+/g).test(e)&&(r=4),o.push(e.substr(a,r));return o.join(" ")}else return n&&(e=tb.toLabel(e)),e}}return t})();var qt=(()=>{class t{transform(e,n="",r=!1){return e?vi.ibanFormat(e,r,n):n}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"ibanFormatPipe",type:t,pure:!0,standalone:!1})}}return t})();var FR=Si(lm());var Kt=(()=>{class t{transform(e,n=""){if(e===E3)return"";{let r=e?(0,FR.default)(e,{precision:2}).format():$_;return(0,FR.default)(r,{symbol:n,separator:" ",pattern:"# !",negativePattern:"- # !"}).format().trim()}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"currencyFormatPipe",type:t,pure:!0,standalone:!1})}}return t})();var Fd=(()=>{class t{transform(e,n){return e=e||"",n=n||"",`${e} ${n}`.trim()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"accountFriendlyName",type:t,pure:!0,standalone:!1})}}return t})();function Xce(t,i){if(t&1&&(u(0,"strong",2),h(1),u(2,"span",8),h(3,", "),c()()),t&2){let e=_();l(),S(e.account.accountShortName)}}function Zce(t,i){if(t&1&&(u(0,"span",3),h(1),be(2,"accountFriendlyName"),u(3,"span",8),h(4,", "),c()()),t&2){let e=_();l(),S(Dr(2,1,e.account.friendlyName1,e.account.friendlyName2))}}
7999function Qce(t,i){if(t&1&&(u(0,"span",2),h(1),be(2,"ibanFormatPipe"),u(3,"span",8),h(4,", "),c()()),t&2){let e=_();l(),S(Fe(2,1,e.account.accountNumber))}}function Jce(t,i){if(t&1&&(u(0,"span",5),h(1),u(2,"span",8),h(3,", "),c()()),t&2){let e=_();l(),S(e.account.ownerShortName)}}function ede(t,i){if(t&1&&(h(0),be(1,"currencyFormatPipe")),t&2){let e=_();se(" ",Fe(1,1,e.account.availableFunds)," ")}}function tde(t,i){if(t&1&&h(0),t&2){let e=_();se(" ",e.account.currency," ")}}var PR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-source-account-option-item"]],inputs:{account:"account"},standalone:!1,decls:12,vars:6,consts:[[1,"source-account-input-details"],[1,"source-account-input-details-start"],[1,"avoidwrap"],[1,"source-account-input-details-friendly-name","avoidwrap"],[1,"source-account-input-details-center"],[1,"source-account-input-details-account-owner-short-name","avoidwrap"],[1,"source-account-input-details-end"],[1,"source-account-input-details-available-founds"],[1,"separator"]],template:function(n,r){n&1&&(u(0,"div",0)(1,"div",1),v(2,Xce,4,1,"strong",2),x(3,"br"),v(4,Zce,5,4,"span",3),c(),u(5,"div",4),v(6,Qce,5,3,"span",2),v(7,Jce,4,1,"span",5),c(),u(8,"div",6)(9,"strong",7),v(10,ede,2,3),v(11,tde,1,1),c()()()),n&2&&(l(2),y(r.account.accountShortName?2:-1),l(2),y(r.account.friendlyName1||r.account.friendlyName2?4:-1),l(2),y(r.account.accountNumber?6:-1),l(),y(r.account.ownerShortName?7:-1),l(3),y(r.account.availableFunds!==null&&r.account.availableFunds!==void 0&&r.account.availableFunds>=0?10:-1),l(),y(r.account.currency?11:-1))},dependencies:[qt,Kt,Fd],styles:[".source-account-input-details[_ngcontent-%COMP%]{display:flex;gap:1em;line-height:1.5em}span.avoidwrap[_ngcontent-%COMP%], strong.avoidwrap[_ngcontent-%COMP%]{display:inline-block}.source-account-input-details-start[_ngcontent-%COMP%]{flex:3}.source-account-input-details-friendly-name[_ngcontent-%COMP%], .source-account-input-details-account-owner-short-name[_ngcontent-%COMP%]{font-size:.9em}.source-account-input-details-center[_ngcontent-%COMP%]{flex:5;display:flex;gap:1em}.source-account-input-details-end[_ngcontent-%COMP%]{flex:1;display:grid;justify-content:flex-end;text-align:right}.source-account-input-details-available-founds[_ngcontent-%COMP%]{align-self:center}
7999.separator[_ngcontent-%COMP%]{display:none}"]})}}return t})();var LR=(function(t){return t.PRIMARY="primary",t.WARN="warn",t.ACCENT="accent",t})(LR||{});var hm=class{},de=class{leftCell(i,e,n){return this._leftCell={cellContent:i,pipeToken:e,pipeArgs:n},this}rightCell(i,e,n){return this._rightCell={cellContent:i,pipeToken:e,pipeArgs:n},this}};var gl=(function(t){return t[t.ALL=0]="ALL",t[t.DEBIT=1]="DEBIT",t[t.CREDITS=2]="CREDITS",t})(gl||{}),ayt=[{value:gl.ALL.toString(),viewValue:"Wszystkie"},{value:gl.DEBIT.toString(),viewValue:"Obci\u0105\u017Cenia"},{value:gl.CREDITS.toString(),viewValue:"Uznania"}];var dG=Si(Xr());var fm=class t{transform(i){return i?"Tak":"Nie"}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"booleanToText",type:t,pure:!0,standalone:!1})}};xn([(0,dG.default)()],fm.prototype,"transform",null);var _l=(function(t){return t.D="D",t.M="M",t.R="R",t})(_l||{}),bl=(function(t){return t.DAY="DAY",t.MONTH="MONTH",t.YEAR="YEAR",t})(bl||{}),BR=(()=>{class t{transform(e){if(e){let n=e.split(" ");return this.matchRegex(n[0],n[1])}return""}matchRegex(e,n){let r=/\b([2-4])/g,o=/\b([5-9])|\b([1-9][0-9]+)/g;if(e==="1")switch(n){case _l.D:case bl.DAY:e+=" dzie\u0144";break;case _l.M:case bl.MONTH:e+=" miesi\u0105c";break;case _l.R:case bl.YEAR:e+=" rok";break;default:break}else if(r.test(e))switch(n){case _l.D:case bl.DAY:e+=" dni";break;case _l.M:case bl.MONTH:e+=" miesi\u0105ce";break;case _l.R:case bl.YEAR:e+=" lata";break;default:break}else if(o.test(e))switch(n){case _l.D:case bl.DAY:e+=" dni";break;case _l.M:case bl.MONTH:e+=" miesi\u0119cy";break;case _l.R:case bl.YEAR:e+=" lat";break;default:break}return e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"depositCycle",type:t,pure:!0,standalone:!1})}}return t})();var uG=Si(Xr());var nb=(function(t){return t.NULL="NULL",t.CZESCIOWA_WPLATA="CZESCIOWA_WPLATA",t.CZESCIOWA_WYPLATA="CZESCIOWA_WYPLATA",t})(nb||{});var ib=(function(t){return t.NULL="Brak",t.PARTIAL_DEPOSIT="Cz\u0119sciowa wp\u0142ata",t.PARTIAL_PAYOUT="Cz\u0119sciowa wyp\u0142ata",t})(ib||{});var Fh=class t{transform(i){switch(i){case nb.NULL:return ib.NULL;case nb.CZESCIOWA_WPLATA:return ib.PARTIAL_DEPOSIT;case nb.CZESCIOWA_WYPLATA:return ib.PARTIAL_PAYOUT;default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"paymentTypeView",type:t,pure:!0,standalone:!1})}};xn([(0,uG.default)()],Fh.prototype,"transform",null);var mG=(()=>{class t{static{this.ACCOUNT_ASSIGNED_VALUE="TAK"}toWhiteListData(e,n,r){let o=e.accountAssigned===t.ACCOUNT_ASSIGNED_VALUE;return{requestId:e.requestId,state:o?cl.REGISTERED:cl.NOT_REGISTERED,checkDate:this.formatDate(e.requestDateTime),verificationResult:!0,nrb:n,nip:r,errorMessage:void 0}}toErrorMessage(e,n,r){return{nrb:e,nip:n,verificationResult:!1,state:cl.CHECK_UNSUCCESSFUL,checkDate:new Date().toISOString(),errorMessage:r}}formatDate(e){let n=e.split(" ");return n[0]=n[0].split("-").reverse().join("-"),new Date(n.join("T")).toISOString()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ph=(()=>{class t{constructor(e,n){this.wlRegistryApiService=e,this.converter=n,this.appStore=m(Fo)}check(e,n){return this.wlRegistryApiService.checkAccount(e,n).pipe($(r=>this.converter.toWhiteListData(r.result,e,n)),Ge(r=>{let o=r.error;return P(this.converter.toErrorMessage(e,n,o.message))}))}isWhiteListEnabled(){return P(this.appStore.whiteListEnabled())}static{this.\u0275fac=function(n){return new(n||t)(F(iz),F(mG))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var bs=(function(t){return t.REGISTERED="REGISTERED",t.NOT_REGISTERED="NOT_REGISTERED",t.CHECK_UNSUCCESSFUL="CHECK_UNSUCCESSFUL",t.ERROR="ERROR",t.INVALID_NIP="INVALID_NIP",t.NO_CHECK="NO_CHECK",t})(bs||{}),Pd=(function(t){return t.POSITIVE="POSITIVE",t.NEGATIVE="NEGATIVE",t.NO_CHECK="NO_CHECK",t})(Pd||{});var jR=(()=>{class t{transform(e){switch(e){case Pd.POSITIVE:return"Pozytywny";case Pd.NEGATIVE:return"Negatywny";case Pd.NO_CHECK:return"-";case bs.REGISTERED:return"Zarejestrowany";case bs.NOT_REGISTERED:return"Niezarejestrowany";case bs.CHECK_UNSUCCESSFUL:return"Weryfikacja nie powiod\u0142a si\u0119";
7999case bs.INVALID_NIP:return"Nieprawid\u0142owy NIP";case bs.ERROR:return"B\u0142\u0105d weryfikacji";case bs.NO_CHECK:return"-";default:return""}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"whiteListState",type:t,pure:!0,standalone:!1})}}return t})();var la=(function(t){return t.NEW="NEW",t.COMPLETED="COMPLETED",t.REJECTED="REJECTED",t})(la||{});var vl=class{static mapVirtualBundles(i,e){return i?i.map(n=>this.isVirtualBundle(n)?this.getVirtualDisposition(n,e):n.dispositions!==null?this.getBundleWithAdditionalProps(n,e):n):[]}static extractDispositionsFromStandingOrderBundles(i){return i?i.map(e=>e.virtual&&e.dispositions!==void 0?e.dispositions[0]:e):[]}static mapBundlesToIdList(i){return i.map(e=>this.isVirtualDisposition(e)?e.bundleId:e.id)}static isBundle(i){return!!i&&"dispositions"in i}static isVirtual(i){return!!i&&"virtual"in i&&i.virtual}static isVirtualDisposition(i){return this.isVirtual(i)&&"bundleId"in i}static isVirtualBundle(i){return this.isBundle(i)&&this.isVirtual(i)}static isDispositionFromStandingOrder(i){return!!i._tableChild}static everyAreBundlesOrVirtualDispositions(i){return i.every(e=>this.isBundle(e)||this.isVirtualDisposition(e))}static everyHasSourceAccount(i){return i.every(e=>e.sourceAccount)}static getAllDispositions(i){return i.map(e=>this.getDispositions(e)).reduce((e,n)=>e.concat(n),[])}
7999static getVirtualDisposition(i,e=!1){let n=i.dispositions[0];if(!n)throw new Ta("disposition");return n.bundleId=i.id,n.virtual=!0,n.name=(n.name1+" "+n.name2).trim(),n.title=n.title.trim(),n.friendlyNameSourceAccount=i.friendlyNameSourceAccount,e?(n.sourceAccount=i.sourceAccount,n.state=i.state,n.bundleState=i.state,i.signState!==void 0&&(n.signState=i.signState)):n.state=n.state?n.state:la.NEW,n.salary=i.salary,n}static getBundleWithAdditionalProps(i,e){return e&&i.dispositions.forEach(n=>{n.bundleId=i.id,n.friendlyNameSourceAccount=i.friendlyNameSourceAccount,n.name=(n.name1+" "+n.name2).trim(),n.title=n.title.trim(),n.sourceAccount=i.sourceAccount,n.virtual=!1,n.salary=i.salary}),i}static getDispositions(i){return"dispositions"in i?i.dispositions:[i]}};var rb=class t{static prepareCurrentAccountsDetails(i,e){let n;n=new de().leftCell({name:"Nazwa rachunku",value:i?.accountName}).rightCell({name:"Przyjazna nazwa",value:i?.friendlyName1},Fd,[i?.friendlyName2]),e.push(n),n=new de().leftCell({name:"IBAN",value:i?.accountNumber},qt).rightCell({name:"Waluta",value:i?.currency}),e.push(n),n=new de().leftCell({name:"Data otwarcia",value:i?.openingDate},un,[je]),e.push(n),n=new de().leftCell({name:"W\u0142a\u015Bciciel rachunku",value:i?.owner}),e.push(n),n=new de().leftCell({name:"Adres w\u0142a\u015Bciciela",value:i?.ownerAddress}),e.push(n),n=new de().leftCell({name:"Oproc. kredytu",value:i?.loanRate},Kt).rightCell({name:"Oproc. rachunku",value:i?.accountRate},Kt),e.push(n),n=new de().leftCell({name:"Rachunek podstawowy",value:i?.primaryAccountNumber},qt),e.push(n)}static prepareEntrustingAccountsDetails(i,e){let n;n=new de().leftCell({name:"Nazwa rachunku",value:i?.accountName}).rightCell({name:"Przyjazna nazwa",value:i?.friendlyName1},Fd,[i?.friendlyName2]),e.push(n),n=new de().leftCell({name:"IBAN",value:i?.accountNumber},qt).rightCell({name:"Waluta",value:i?.currency}),e.push(n),n=new de().leftCell({name:"Data otwarcia",value:i?.openingDate},un,[je]),e.push(n),n=new de().leftCell({name:"W\u0142a\u015Bciciel rachunku",value:i?.owner}),e.push(n),n=new de().leftCell({name:"Adres w\u0142a\u015Bciciela",value:i?.ownerAddress}),e.push(n),n=new de().leftCell({name:"Oproc. kredytu",value:i?.loanRate},Kt).rightCell({name:"Oproc. rachunku",value:i?.accountRate},Kt),e.push(n)}static prepareForwardAccountsDetails(i,e){let n;n=new de().leftCell({name:"IBAN",value:i.accountNumber},qt).rightCell({name:"Data zapadalno\u015Bci",value:i.endDate},un,[je]),e.push(n),n=new de().leftCell({name:"Data otwarcia",value:i.openingDate},un,[je]).rightCell({name:"Oprocentowanie",value:i.accountRate},Kt),e.push(n),n=new de().leftCell({name:"W\u0142a\u015Bciciel rachunku",value:i.owner}),e.push(n),n=new de().leftCell({name:"Adres w\u0142a\u015Bciciela",value:i.ownerAddress}),e.push(n),n=new de().leftCell({name:"Waluta",value:i.currency}),e.push(n),n=new de().leftCell({name:"Rachunek podstawowy",value:i.primaryAccountNumber},qt),e.push(n)}static prepareCreditAccountsDetails(i,e){let n;n=new de().leftCell({name:"IBAN",value:i.accountNumber},qt),i.contractNumber&&n.rightCell({name:"Numer umowy",value:i.contractNumber}),e.push(n),n=new de().leftCell({name:"Data zako\u0144czenia",value:i.endDate},un,[je]).rightCell({name:"Saldo",value:i.currentBalance},Kt),e.push(n),n=new de().leftCell({name:"W\u0142a\u015Bciciel rachunku",value:i.owner}),i.balanceAfterDeadline>0?n.rightCell({name:"W tym po terminie",value:i.balanceAfterDeadline},Kt):i.balanceOverpayment!==null&&n.rightCell({name:"Nadp\u0142ata/niewykorzystany limit",value:i.balanceOverpayment},Kt),e.push(n),n=new de().leftCell({name:"Adres w\u0142a\u015Bciciela",value:i.ownerAddress}),i.lastAmount!==null&&n.rightCell({name:"Ostatnia sp\u0142ata",value:i.lastAmount},Kt),e.push(n),n=new de,i.amountAfterDeadline!==null&&n.leftCell({name:"Odsetki po terminie",value:i.amountAfterDeadline},Kt),i.lastPaymentDate&&n.rightCell({name:"W dniu",value:i.lastPaymentDate},un,[je]),e.push(n),n=new de().leftCell({name:"Oproc. kredytu",value:i.loanRate},Kt).rightCell({name:"Waluta",value:i.currency}),e.push(n),i.vatAccountNumber&&(n=new de().leftCell({name:"Rachunek VAT",value:i.vatAccountNumber},qt),e.push(n)),n=new de().leftCell({name:"Rachunek podstawowy",value:i.primaryAccountNumber},qt),e.push(n)}static prepareVatAccountsDetails(i,e){let n=this.getEndDate(i.endDate),r;r=new de().leftCell({name:"IBAN",value:i.accountNumber},qt).rightCell({name:"Waluta",value:i.currency}),e.push(r),r=new de().leftCell({name:"Data zako\u0144czenia",value:n}),e.push(r),r=new de().leftCell({name:"W\u0142a\u015Bciciel rachunku",value:i.owner}),e.push(r),r=new de().leftCell({name:"Adres w\u0142a\u015Bciciela",value:i.ownerAddress}),e.push(r),r=new de().leftCell({name:"Oprocentowanie",value:i.loanRate},Kt),e.push(r),r=new de().leftCell({name:"Rachunek podstawowy",value:i.primaryAccountNumber},qt),e.push(r),n.length>1&&(r=new de,r.leftCell({name:"Numer umowy",value:i.contractNumber}),e.push(r)),r=new de().leftCell({name:"Saldo",value:i.currentBalance},Kt),e.push(r),n.length>1&&i.amountAfterDeadline>0&&(r=new de().leftCell({name:"W tym po terminie",value:i.amountAfterDeadline},Kt),e.push(r)),n.length>1&&(r=new de,i.amountAfterDeadline<=0&&r.leftCell({name:"Nadp\u0142ata/niewykorzystany limit",value:i.balanceOverpayment},Kt),r.rightCell({name:"W dniu",value:i.openingDate},un,[je]),e.push(r)),r=new de().leftCell({name:"Ostatnia sp\u0142ata",value:i.lastAmount},Kt),n.length>1&&r.rightCell({name:"Odsetki po terminie",value:i.amountAfterDeadline},Kt),e.push(r)}
7999static prepareCardDetails(i){let e=[],n;return n=new de().leftCell({name:"Nazwa produktu",value:i?.productName}),e.push(n),n=new de().leftCell({name:"Nazwa na karcie",value:i.cardName}),e.push(n),e}static prepareLocksDetails(i,e){return[new de().leftCell({name:"Suma blokad",value:i},Kt,[e])]}static prepareDeposits(i,e){let n=[];return i.depositType||n.push(new de().leftCell({name:"Data utworzenia",value:e?.createdAt},un,[ms]).rightCell({name:"Utworzono przez",value:e?.createdBy})),!i.depositType&&i.type!==wn.LOKATA_ZERWANIE&&n.push(new de().leftCell({name:"Data modyfikacji",value:e?.modifiedAt},un,[ms]).rightCell({name:"Zmodyfikowany przez",value:e?.modifiedBy})),!i.depositType&&i.type===wn.LOKATA_MODYFIKACJA&&(n.push(new de().leftCell({name:"Operacje na \u015Brodkach",value:e?.paymentType},Fh)),n.push(new de().leftCell({name:"Rachunek obci\u0105\u017Cany",value:e?.targetAccount},qt))),i.depositType&&(n.push(new de().leftCell({name:"Data rozpocz\u0119cia",value:i.creationDate},un,[je]).rightCell({name:"Data zako\u0144czenia",value:i.endDate},un,[je])),n.push(new de().leftCell({name:"Oprocentowanie",value:i.interestRate},Kt))),i.type!==wn.LOKATA_ZERWANIE&&n.push(new de().leftCell({name:"Automatyczne odnawianie",value:i.automaticRenewal},fm).rightCell({name:"Kapitalizacja odsetek",value:i.capitalizationOfInterest},fm)),n}static prepareTransferDetails(i,e,n){let r=[],o;return o=new de().leftCell({name:"Rachunek \u017Ar\xF3d\u0142owy",value:i.sourceAccount},qt,[P1]),r.push(o),o=new de().leftCell({name:"Rachunek beneficjenta",value:i.targetAccount},qt,[P1]),r.push(o),e&&i?.dispositions&&(o=new de().leftCell({name:"Data wykonania",value:i?.dateOfExecution},un,[je]),r.push(o)),o=new de().leftCell({name:"Utworzony przez",value:e?.createdBy}),r.push(o),o=new de().leftCell({name:"Zmodyfikowany przez",value:e?.modifiedBy}),r.push(o),o=new de().leftCell({name:"Data modyfikacji",value:e?.modifiedAt},un,[ms]),r.push(o),vl.isVirtualDisposition(i)&&(o=new de().leftCell({name:"Tre\u015B\u0107",value:i?.title}),r.push(o)),r.push(this.getWhiteListState(i)),t.addEditableInfo(n,i,r),r}static prepareStandingOrderDetails(i){let e=[],n;if(n=new de().leftCell({name:"Utworzony przez ",value:i?.createdBy}).rightCell({name:"Data utworzenia ",value:i?.createdAt},un,[ms]),e.push(n),n=new de().leftCell({name:"Zmodyfikowany przez ",value:i?.modifiedBy}).rightCell({name:"Data modyfikacji ",value:i?.modifiedAt},un,[ms]),e.push(n),n=new de().leftCell({name:"Data rozpocz\u0119cia ",value:i?.startDate},un,[je]).rightCell({name:"Data zako\u0144czenia ",value:i?.endDate},un,[je]),e.push(n),i._tableChild){let{dispositions:r,interval:o,intervalUnit:a,cycleValue:s,cycleKind:d}=i;n=new de().leftCell({name:"Wykonuj co ",value:r===void 0?`${o} ${a}`:`${s} ${d}`},BR),e.push(n)}return i?.isActive&&i?.dispositions&&(n=new de().leftCell({name:"Data nast\u0119pnego wykonania ",value:i?.executionDate},un,[je]),e.push(n)),n=new de().leftCell({name:"Tre\u015B\u0107 ",value:i.title}),e.push(n),e}static prepareBundleSignDetails(i,e){let n=[],r;r=new de().leftCell({name:"Rachunek \u017Ar\xF3d\u0142owy",value:e},qt),vl.isBundle(i)&&r.rightCell({name:"Data wykonania",value:i.dateOfExecution},un,[je]),n.push(r),r=new de().leftCell({name:"Utworzony przez",value:i.createdBy}).rightCell({name:"Data utworzenia",value:i.createdAt},un,[ms]),n.push(r),r=new de().leftCell({name:"Zmodyfikowany przez",value:i.modifiedBy}).rightCell({name:"Data modyfikacji",value:i.modifiedAt},un,[ms]),n.push(r);let o=vl.isBundle(i)?i.dispositions[0].title:i?.title;return r=new de().leftCell({name:"Tre\u015B\u0107",value:o}),n.push(r),n.push(this.getWhiteListState(i)),n}static prepareBundleSummary(i,e){let n=[];return n.push(new de().leftCell({name:"Liczba zaznaczonych pozycji",value:e}).rightCell({name:"",value:""}
7999)),i.forEach(r=>{n.push(new de().leftCell({name:"Kwota",value:r.amount}).rightCell({name:"Waluta",value:r.currency}))}),n}static prepareContractorDetails(i){let e=[];this.prepareCommonContractorDetails(i,e);let n;return n=new de().leftCell({name:"NIP ",value:i.nip}),e.push(n),n=new de().leftCell({name:"Pesel ",value:i.pesel}),e.push(n),n=new de().leftCell({name:"Regon ",value:i.regon}),e.push(n),n=new de().leftCell({name:"Tytu\u0142 ",value:i.title}),e.push(n),i.onlyForLoggedUser?(n=new de().leftCell({name:"Uwaga ",value:"Wybrany kontrahent jest dost\u0119pny tylko dla tego loginu!"}),e.push(n)):(n=new de().leftCell({name:"Uwaga ",value:"Wybrany kontrahent jest dost\u0119pny dla wszystkich login\xF3w tego klienta (firmy)!"}),e.push(n)),e}static prepareContractorDetailsForDialog(i){let e=[];return this.prepareCommonContractorDetails(i,e),e}static prepareBankStatementsSimplifiedDetails(i){let e=[],n;return n=new de().leftCell({name:"Saldo otwarcia ",value:i.openingBalance},Kt,["PLN"]),e.push(n),n=new de().leftCell({name:"Saldo zamkni\u0119cia ",value:i.closingBalance},Kt,["PLN"]),e.push(n),e}static prepareBankStatementsDetails(i){let e=[],n;return n=new de().leftCell({name:"Data operacji",value:i.operationDate},un,[je]),e.push(n),n=new de().leftCell({name:"Data ksi\u0119gowania",value:i.accountingDate},un,[je]),e.push(n),n=new de().leftCell({name:"Typ operacji",value:i.transferType}),e.push(n),n=new de().leftCell({name:"Nr referencyjny",value:i.refNumber}),e.push(n),n=new de().leftCell({name:"Kwota operacji",value:this.getFormattedAmount(i),class:this.getAmountClass(i.side)}),e.push(n),n=new de().leftCell({name:"Saldo po operacji",value:i.saldo},Kt,["PLN"]),e.push(n),n=new de().leftCell({name:"Rachunek nadawcy",value:[i.sourceAccount,i.sourceBankAddress1,i.sourceBankAddress2,i.sourceBankAddress3]},qt),e.push(n),n=new de().leftCell({name:"Nazwa nadawcy",value:`${i.sourceName1} ${i.sourceName2} ${i.sourceAddress1} ${i.sourceAddress2}`}),e.push(n),n=new de().leftCell({name:"Rachunek odbiorcy",value:[i.targetIban,i.targetBankAddress1,i.targetBankAddress2,i.targetBankAddress3]},qt),e.push(n),n=new de().leftCell({name:"Nazwa odbiorcy",value:`${i.targetName1} ${i.targetName2} ${i.targetAddress1} ${i.targetAddress2}`}),e.push(n),n=new de().leftCell({name:"Tytu\u0142",value:i.title}),e.push(n),n=new de().leftCell({name:"Dodatkowa tre\u015B\u0107",value:i.additionalDescription}),e.push(n),e}static prepareCommonContractorDetails(i,e){let n;n=new de().leftCell({name:"Skr\xF3t nazwy ",value:i.shortName}),e.push(n),n=new de().leftCell({name:"Nazwa ",value:i.name1}),e.push(n),n=new de().leftCell({name:"BIC ",value:i.bic}),e.push(n),n=new de().leftCell({name:"Bank ",value:i.bank1}),e.push(n),n=new de().leftCell({name:"Rachunek ",value:i.targetAccount},qt),e.push(n)}static getFormattedAmount(i){return new Kt().transform(i.amount,"PLN")}static getAmountClass(i){return i===gl[gl.DEBIT]?"amount-debit":""}static getEndDate(i){return En.isDate(i)?En.formatDateNoError(i):""}static getWhiteListState(i){let e=vl.isVirtualBundle(i)?i?.dispositions[0].whiteListVerificationState:i?.whiteListVerificationState;return new de().leftCell({name:"Status weryfikacji VAT",value:e},jR)}static addEditableInfo(i,e,n){let a;i?e.virtual?a=e.salary?"Nie":"Tak":e.dispositions?a="Tak":a=e.salary?"Nie":"Tak":a="Nie";let s=new de().leftCell({name:"Mo\u017Cliwa edycja",value:a});n.push(s)}};var rde=["uploaderCSV"],ode=["uploaderXML"],ade=["filterExpansionPanel"],sde="mat-dialog-container, .mat-mdc-dialog-container",HR=(()=>{class t{constructor(e,n,r,o,a,s,d){this.contractorService=e,this.userFacadeService=n,this.formBuilder=r,this.notificationService=o,this.storage=a,this.dialog=s,this.spinnerService=d,this.isSaveBtnDisabled=!0,this.areDetailsVisible=!1,this.ContractorTypeEnum=ct,this.isEditButtonDisabled=!0,this.isDeleteButtonDisabled=!0,this.isCreateTransferButtonDisabled=!0,this.isCreateButtonDisabled=!1,this.isAssignGroupButtonDisabled=!0,this.selection=new mr(!0,[]),this.pageSize=100,this.contractorTypeNameMap=NE,this.ButtonLabels=tt,this.ButtonThemeType=LR,this.allContractorsCount=0,this.title="Wybierz kontrahenta",this.filterHeader="Filtry",this.detailsHeader="Szczeg\xF3\u0142y",this.dialogTitle=Y_.ACCEPT_CONTRACTOR_DELETE_TITLE,this.dialogMessage=Y_.ACCEPT_CONTRACTOR_DELETE_MESSAGE,this.destroy$=new O,this.hostElement=m(Q),this.shortNameFC=new z,this.name1FC=new z,this.groupFC=new z,this.accountFC=new z,this.contractorSearchFG=this.formBuilder.group({shortNameFC:this.shortNameFC,name1FC:this.name1FC,groupFC:this.groupFC,accountFC:this.accountFC}),this.hasEditContractorPermission=this.userFacadeService.hasAuthorities([Ut.FUNC_CONTRACTORS_EDIT]),this.hasDomesticTransferPermission=this.userFacadeService.hasAuthorities([Ut.FUNC_TRANSFER_EDIT]),this.hasForeignTransferPermission=this.userFacadeService.hasAuthorities([Ut.FUNC_TRANSFER_FOREIGN_EDIT]),this.hasPermissionToViewTransfer=this.userFacadeService.hasAuthorities([Ut.FUNC_TRANSFER_VIEW]),this.details=new hm,this.detailsForDialog=new hm,this.matSortDirection="asc",this.matSortActive="shortName",this.dataSource=new ka([]),this.displayedColumns=["shortName","name1","targetAccount","type","group"],Promise.all([this.storage.getItem(fR),this.storage.getItem(gR)]).then(([p,f])=>{p&&f&&(this.matSortActive=p,this.matSortDirection=f)})}ngOnInit(){this.updateDetails(),this.initFilterAndData()}ngAfterViewInit(){this.bindSort(),this.refreshData().subscribe(),this.onPaginatorChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}selectAllShortcutHandler(e){if(!this.isSelectAllShortcut(e)||!this.canSelectAll(e.target))return;e.preventDefault();let n=this.getRenderedRows();n.length!==0&&(this.selection.select(...n),this.selectionAnchor=n[0],this.refreshActionButtons(),this.updateDetails())}afterImportRefreshTable(e){e&&this.refreshData().subscribe()}rowClickHandler(e,n){n?.shiftKey&&this.selectionAnchor?this.selectRange(this.selectionAnchor,e):n?.ctrlKey||n?.metaKey?(this.selection.toggle(e),this.selectionAnchor=this.selection.isSelected(e)?e:void 0):this.selectSingle(e),this.refreshActionButtons(),this.updateDetails()}openDialog(e,n){let r=new Jt;r.panelClass=li.MEDIUM,r.data={dialogVariant:Mi.getContractorType(n||this.selection.selected[0].type),isEdit:e},e&&(r.data.details=this.selection.selected);let o=r.data.dialogVariant===ct.FOREIGN_TRANSFER?BE:OE;this.dialog.open(o,r).afterClosed().pipe(ae(a=>a===!0),W(()=>this.refreshData())).subscribe()}resetValues(){this.shortNameFC.setValue(null),this.name1FC.setValue(null),this.groupFC.setValue(null),this.accountFC.setValue(null),this.search()}showSortChange(e){this.matSortDirection=e.direction,this.matSortActive=e.active,this.selectionAnchor=void 0}search(){this.storage.setItem(hR,this.contractorSearchFG.value),this.contractorsParameters=this.getContractorsSearchParams(this.contractorsParameters.type),this.refreshData().subscribe(),this.filterExpansionPanel.close()}formatAccount(){let e=vi.ibanFormat(this.accountFC.value);this.accountFC.setValue(e)}openConfirmationDialog(){let e=new Jt;e.panelClass=li.MEDIUM,e.data={title:this.dialogTitle,message:this.dialogMessage,details:this.selection.selected},this.dialog.open(wd,e).afterClosed().pipe(ae(n=>n.state),W(()=>this.getRemoveContractors()),W(()=>this.refreshData()),Ge(n=>gn(n))).subscribe()}openCreationTransferDialog(){let e=this.selection.selected[0];this.contractorService.openTransferDialog(e)}openAssignGroupDialog(){let e=new Jt;e.data={details:this.selection.selected},this.dialog.open(EE,e).afterClosed().pipe(W(()=>this.refreshData())).subscribe()}saveCSV(){this.contractorService.saveCSVFile()}saveXML(){this.contractorService.saveXMLFile()}getContractorsSearchParams(e=""){return{iban:this.replaceEmptySpace(),group:this.groupFC.value,
7999name:this.name1FC.value,shortName:this.shortNameFC.value,type:e}}updateDetails(){let e=this.selection.selected.length===1?this.selection.selected[0]:void 0;this.areDetailsVisible=!!e,this.isSaveBtnDisabled=!e,e&&(this.details.rows=rb.prepareContractorDetails(e),this.detailsForDialog.rows=rb.prepareContractorDetailsForDialog(e))}initFilterAndData(){ut(Il(window,"beforeunload"),this.destroy$).subscribe(()=>{this.storage.setItem(fR,this.matSortActive),this.storage.setItem(gR,this.matSortDirection)}),fn(this.storage.getItem(hR).then(e=>{e&&this.contractorSearchFG.patchValue(e)})).pipe(W(()=>this.refreshData()))}refreshData(){return this.contractorsParameters=this.contractorsParameters?this.contractorsParameters:this.getContractorsSearchParams(),this.paginator.pageIndex=0,this.spinnerService.showSpinner(),this.getContractors(this.contractorsParameters).pipe(Ge(()=>(this.spinnerService.hideSpinner(),P([]))),B(e=>{this.spinnerService.hideSpinner(),this.dataSource.data=e}),W(()=>this.contractorService.getContractorsNumber(this.contractorsParameters).pipe(B(e=>this.allContractorsCount=e),Ge(()=>P(0)))))}getContractors(e,n=0){return this.contractorService.getContractors(e,n).pipe(B(()=>{this.selection.clear(),this.selectionAnchor=void 0,this.setDisablanceOfAllActionButtonsTo(!0)}),Ge(()=>P([])))}setDisablanceOfAllActionButtonsTo(e){this.isEditButtonDisabled=!this.hasEditContractorPermission||e,this.isDeleteButtonDisabled=!this.hasEditContractorPermission||e,this.isCreateTransferButtonDisabled=!this.hasPermissionToViewTransfer||e,this.isAssignGroupButtonDisabled=e,this.isCreateButtonDisabled=!this.hasEditContractorPermission}replaceEmptySpace(){return this.accountFC.value?this.accountFC.value.toString().replace(/ /g,""):this.accountFC.value}setDisablanceOfCertainActionButtonsTo(e){this.isEditButtonDisabled=e.isEditButtonDisabled??this.isEditButtonDisabled,this.isDeleteButtonDisabled=e.isDeleteButtonDisabled??this.isDeleteButtonDisabled,this.isCreateTransferButtonDisabled=e.isCreateTransferButtonDisabled??this.isCreateTransferButtonDisabled,this.isAssignGroupButtonDisabled=e.isAssignGroupButtonDisabled??this.isAssignGroupButtonDisabled,this.isCreateButtonDisabled=e.isCreateButtonDisabled??this.isCreateButtonDisabled}onPaginatorChange(){this.paginator.page.pipe(W(()=>this.getContractors(this.contractorsParameters,this.paginator.pageIndex))).subscribe(e=>this.dataSource.data=e)}selectSingle(e){this.selection.clear(),this.selection.select(e),this.selectionAnchor=e}selectRange(e,n){let r=this.getRenderedRows(),o=r.indexOf(e),a=r.indexOf(n);if(o<0||a<0){this.selectSingle(n);return}this.selection.clear(),this.selection.select(...r.slice(Math.min(o,a),Math.max(o,a)+1))}getRenderedRows(){let e=this.dataSource.filteredData;return this.sort?this.dataSource.sortData(e.slice(),this.sort):e}refreshActionButtons(){let e=this.selection.selected;if(e.length===0){this.setDisablanceOfAllActionButtonsTo(!0);return}let n=e.length===1;this.setDisablanceOfCertainActionButtonsTo({isEditButtonDisabled:!n||!this.hasEditContractorPermission,isDeleteButtonDisabled:!this.hasEditContractorPermission,isCreateTransferButtonDisabled:!n||!this.hasTransferPermissions(e[0].type),isAssignGroupButtonDisabled:!1,isCreateButtonDisabled:!this.hasEditContractorPermission})}isSelectAllShortcut(e){return(e.ctrlKey||e.metaKey)&&!e.altKey&&e.key?.toLowerCase()==="a"}canSelectAll(e){let n=e instanceof HTMLElement?e:null;if(n?.isContentEditable||["INPUT","TEXTAREA","SELECT"].includes(n?.tagName??""))return!1;let r=document.querySelectorAll(sde),o=r.item(r.length-1);return!o||o.contains(this.hostElement.nativeElement)}getRemoveContractors(){return this.contractorService.removeContractors(this.selection.selected)}bindSort(){this.dataSource.sort=this.sort}isForeign(e){return e===ct.FOREIGN_TRANSFER}hasTransferPermissions(e){return this.hasPermissionToViewTransfer&&(this.isForeign(e)?this.hasForeignTransferPermission:this.hasDomesticTransferPermission)}static{this.\u0275fac=function(n){return new(n||t)(E(br),E(wi),E(Vi),E(Le),E(Ra),E(mt),E($r))}}static{this.\u0275cmp=k({type:t,selectors:[["app-contractor-core"]],viewQuery:function(n,r){if(n&1&&ve(rde,5)(ode,5)(ade,5)(bo,5)(Ir,5),n&2){let o;H(o=U())&&(r.uploaderCSV=o.first),H(o=U())&&(r.uploaderXML=o.first),H(o=U())&&(r.filterExpansionPanel=o.first),H(o=U())&&(r.paginator=o.first),H(o=U())&&(r.sort=o.first)}},hostBindings:function(n,r){n&1&&T("keydown",function(a){return r.selectAllShortcutHandler(a)},$o)},standalone:!1,decls:0,vars:0,template:function(n,r){},encapsulation:2})}}return t})();
7999function lde(t,i){if(t&1&&(u(0,"div",1),x(1,"div",2),c()),t&2){let e=_();l(),g("innerHTML",e.body,Cu)}}var cde=(()=>{class t{constructor(e){this.dialogRef=e,this.body=""}static{this.\u0275fac=function(n){return new(n||t)(E(Ze))}}static{this.\u0275cmp=k({type:t,selectors:[["app-default-dialog"]],standalone:!1,decls:2,vars:1,consts:[[1,"default-dialog"],[1,"dialog-content"],[3,"innerHTML"]],template:function(n,r){n&1&&(u(0,"div",0),v(1,lde,2,1,"div",1),c()),n&2&&(l(),y(r.body?1:-1))},encapsulation:2})}}return t})();var dde=(()=>{class t{constructor(e,n){this.sanitizer=e,this.data=n,this.ButtonLabels=tt;let r=n.message.replaceAll(`
8000`,"<br>");this.message=this.sanitizer.bypassSecurityTrustHtml(r)}static{this.\u0275fac=function(n){return new(n||t)(E(Iu),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-message-dialog"]],standalone:!1,decls:8,vars:3,consts:[["mat-dialog-content","",1,"message-box",3,"innerHTML"],[1,"justify-center","items-center"],["mat-raised-button","","mat-dialog-close",""]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content"),x(4,"div",0),c(),u(5,"app-dialog-btn-panel",1)(6,"button",2),h(7),c()()()),n&2&&(l(2),S(r.data.title),l(2),g("innerHTML",r.message,Cu),l(3),S(r.ButtonLabels.OK))},dependencies:[qn,WC,Qp,Mt,Nt,Ot,dR],styles:[".message-box[_ngcontent-%COMP%]{min-height:1rem;margin-bottom:1rem}.justify-center[_ngcontent-%COMP%]{justify-content:center}.items-center[_ngcontent-%COMP%]{align-items:center}"]})}}return t})();var ude="Niepoprawny format numeru telefonu",mde="Wprowadzony numer telefonu jest za d\u0142ugi",pde="Wprowadzony numer telefonu jest za kr\xF3tki",VE=class t{static isPhoneValid(i){let e=i.value,n=!1,r={phoneFormat:{message:ude}};return e&&t.phonePatternValid(e)&&(n=t.isCorrectLength(e),r=n?null:t.prepareErrorMessage(e)),r}static phonePatternValid(i){return new RegExp(/^[0-9]*$/).test(i)}static isCorrectLength(i){return i.length===9}static prepareErrorMessage(i){if(i.length<9)return{phoneFormat:{message:pde}};if(i.length>=9)return{phoneFormat:{message:mde}};throw new nm("phone",i)}};var hde="Nieprawid\u0142owy NIP lub PESEL",jE="Pole ma z\u0142\u0105 warto\u015B\u0107",fde="Data nie mo\u017Ce by\u0107 wcze\u015Bniejsza",pG="Pole zawiera niedozwolone znaki lub ci\u0105gi znak\xF3w: ",gde="Pole zawiera niedozwolone znaki: ",xi=(()=>{class t{static isBeforeToday(e){return!e||!e.value||En.isSameOrAfter(e.value,$t(new Date,je))?null:{isBeforeToday:{message:fde}}}static phoneValidator(e){return VE.isPhoneValid(e)}static nipPeselValidator(e){return!e||!e.value||fl.check(e)&&Ma.check(e)?{nipAndPeselFormat:{message:hde}}:null}static controlsMaxValidator(e,n){let r=Number(e.value.replace(" ","").trim()),o=Number(n.value.replace(" ","").trim());return r>o?{maxAmount:{message:""}}:null}
8000static basicMaxValidator(e,n){return bt.getTrimmedValue(e.value)>n?{basicMax:{message:""}}:null}static{this.notBigger=(e,n)=>()=>{let r=bt.getTrimmedValue(e.value),o=bt.getTrimmedValue(n.value);return r>o?(e.setErrors({notBiggerThan:{message:jE}}),{notBiggerThan:{message:jE}}):(e.setErrors(G.required(e)),null)}}static{this.vatAmount=(e,n)=>()=>{let r=bt.getTrimmedValue(e.value),o=bt.getTrimmedValue(n.value);return r>o?(e.setErrors({notBiggerThan:{message:jE}}),{notBiggerThan:{message:jE}}):e.value!==""&&r<=0?(e.setErrors({"kwotaVat.greaterThan0":!0}),{"kwotaVat.greaterThan0":!0}):(e.setErrors(G.required(e)),null)}}static{this.isSameOrAfter=(e,n)=>()=>!e?.value||!e?.value||En.isSameOrAfter(e.value,n.value)?null:{isSameOrAfter:!0}}static{this.min=(e,n)=>()=>{let r=bt.getTrimmedValue(e.value);return bt.getTrimmedValue(n)>r?{min:{message:""}}:null}}static{this.max=(e,n)=>()=>{let r=bt.getTrimmedValue(e.value);return bt.getTrimmedValue(n)<r?{max:{message:""}}:null}}static invoiceNumber(e){let n=/(\/TXT|\/INV|\/IDC|TXT\/|INV\/|IDC\/)/gi,r=e.value;if(r&&n.test(r)){let o=t.getForbiddenWords(n,r);return{pattern:{message:pG+o}}}else return null}static invoiceAdditionalInfo(e){let n=/(\/TXT|\/INV|\/IDC|TXT\/|INV\/|IDC\/)/gi,r=e.value;if(r&&n.test(r)){let o=t.getForbiddenWords(n,r);return{pattern:{message:pG+o}}}else return null}static vatTitleChars(e){let n=e.value;if(!n||ue.vatTitleAcceptableCharsPattern.test(n))return null;let r=t.getDisallowedChars(n);return{pattern:{message:gde+r}}}static getForbiddenWords(e,n){return n.match(e)?.join(", ")}static getDisallowedChars(e){let n=new RegExp(ue.vatTitleAllowedChar.source,"g"),r=new Set(e.replace(n,"").split(""));return Array.from(r).join(" ")}}return t})();var UR=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.ButtonLabels=tt}chooseOption(e){this.dialogRef.close(e)}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-basic-confirm-dialog"]],standalone:!1,decls:7,vars:6,consts:[[3,"cancelAction","confirmAction","withResetButton","focusConfirmInitially","buttonLabelConfirm","buttonLabelCancel"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content")(4,"p"),h(5),c()(),u(6,"app-action-buttons-panel",0),T("cancelAction",function(){return r.chooseOption(!1)})("confirmAction",function(){return r.chooseOption(!0)}),c()()),n&2&&(l(2),S(r.data.title),l(3),S(r.data.message),l(),g("withResetButton",!1)("focusConfirmInitially",r.data.focusConfirmInitially??!0)("buttonLabelConfirm",r.data.actionButtons.confirm||r.ButtonLabels.YES)("buttonLabelCancel",r.data.actionButtons.cancel||r.ButtonLabels.NO))},dependencies:[Mt,Nt,Ot,Tt],encapsulation:2})}}return t})();var yl=class{static parse(i){switch(i){case"PRZELEW_VAT":case"53":return pn.VAT_INVOICE;case"PRZELEW_US":case"71":case"74":return pn.US_CLO;case"PRZELEW_ZAGRANICZNY":case"P0":case"P1":case"CS":case"ES":case"HS":return pn.INTERNATIONAL;case"PRZELEW_VAT_ZASILENIE":return pn.VAT_TRANSFERENCE;default:return pn.COMMON}}static mapCurrency(i){return i.amount=bt.formatAmount(i.amount.toString()),i.vatAmount=bt.formatAmount(i.vatAmount.toString()),i.netAmount=bt.formatAmount(i.netAmount.toString()),i}};var Lo=(()=>{class t{constructor(e,n,r,o,a){this.http=e,this.notificationService=n,this.fileService=r,this.dialog=o,this.userFacadeService=a,this.refreshEvent=new O,this.refreshEventObservable=this.refreshEvent.asObservable()}getTransfers(e){return this.http.post(ei+"/filters",e)}getDispositionForBundle(e){return this.http.get(`${ei}/${e}/dispositions`)}getChargeableAccounts(){return this.http.get(H_)}getClientInfo(){return this.userFacadeService.getClientInfo()}pasteTransferToBundle(e){return this.http.post(ei,e)}refreshTable(){this.refreshEvent.next()}toSign(e){return this.http.post(jz,e)}save(e,n){return this.saveRequest(e,n).pipe($(r=>(this.notificationService.success("Zapisano"),{message:"ok",successful:!0,savedTransferId:r})))}saveList(e){return this.http.put(D3,e)}getTransferData(e){let n=new it().set("id",e);return this.http.get(a3,{params:n}).pipe($(r=>yl.mapCurrency(r)))}getTransfersData(e){return this.http.post(s3,e)}printAction(e){let n=e.virtual?Z1:X1,r=e.virtual?e.dispositions[0].id:e.id;this.http.get(n+`/${r}/file`,{responseType:vo}).pipe(this.fileService.open(Aa.PDF)).subscribe()}savePdfAction(e){let n=e.virtual?Z1:X1,r=e.virtual?e.dispositions[0].id:e.id,o=`${r}.pdf`;this.http.get(n+`/${r}/file`,{responseType:vo}).pipe(this.fileService.save(o,Aa.PDF)).subscribe()}
8000getBundleDetails(e){return this.http.get(Bz+"/"+e)}getDispositionDetails(e){return this.http.get(Vz+"/"+e)}openDialogPromptAboutAddingNewContractor(){let e={data:{title:ze.NO_SUCH_CONTRACTOR_TITLE,message:ze.NO_SUCH_CONTRACTOR_MESSAGE,actionButtons:{confirm:tt.YES,cancel:tt.NO}},panelClass:"background-question-mark",disableClose:!0};return this.dialog.open(UR,e).afterClosed()}checkVatPermission(){return this.http.get(i3)}checkVatTransmissionPermission(){return this.http.get(r3)}saveRequest(e,n){return this.http.post(n,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Le),F(Dd),F(mt),F(wi))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Bo=(()=>{class t{constructor(e){this.http=e}getAccounts(){return this.http.get(Oo)}getChargeableAccounts(){return this.http.get(H_)}getOwnAccount(){return this.http.get(Y1)}getOwnVatAccount(){return this.http.get(Ez)}getChargeableVatAccounts(){return this.http.get(wz)}changeSimpleName(e,n,r){return this.http.post(yz,{accountId:e,friendlyName1:n,friendlyName2:r})}getTurnoverAccount(){return this.http.get(Cz)}getLoanSchedule(e){let n=new it().set("accountId",e.toString());return this.http.get($1,{params:n})}getExistingBundles(){return this.http.get(o3)}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ld=(()=>{class t{constructor(e){this.http=e}getVatFromSelectedAccount(e){if(!e)return P({});let n=new it().set("sourceId",e.toString());return this.http.get(Dz,{params:n})}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var gm=(()=>{class t{constructor(e,n,r){this.viewContainer=e,this.templateRef=n,this.userFacadeService=r,this.isHidden=!0}set appShowIfHasAuthority(e){this.authority=e,this.updateView(e)}ngOnInit(){this.authority&&this.updateView(this.authority)}updateView(e){this.checkPermission([e])?this.isHidden&&(this.viewContainer.createEmbeddedView(this.templateRef),this.isHidden=!1):(this.isHidden=!0,this.viewContainer.clear())}checkPermission(e){return this.userFacadeService.hasAuthorities(e)}static{this.\u0275fac=function(n){return new(n||t)(E(Pt),E(Zt),E(wi))}}static{this.\u0275dir=N({type:t,selectors:[["","appShowIfHasAuthority",""]],inputs:{appShowIfHasAuthority:"appShowIfHasAuthority"},standalone:!1})}}return t})();var zR=(()=>{class t{constructor(){this.ibanFormatPipe=new qt,this.currencyFormatPipe=new Kt,this.friendlyNamePipe=new Fd}transform(e){return this.getParts(e).join(", ")}transformNoSpaces(e){return this.getParts(e).join("").replace(/\s/g,"")}getParts(e){return e?[this.ibanFormatPipe.transform(e.accountNumber),e.ownerShortName,e.accountShortName,this.friendlyNamePipe.transform(e.friendlyName1,e.friendlyName2),e.availableFunds!==null&&e.availableFunds!==void 0&&e.availableFunds>=0?this.currencyFormatPipe.transform(e.availableFunds)+" "+e.currency:e.currency].filter(Boolean):[]}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"accountItemPipe",type:t,pure:!0,standalone:!1})}}return t})();function _de(t,i){t&1&&(u(0,"mat-option"),h(1,"--"),c())}function bde(t,i){if(t&1&&(u(0,"mat-option",6),x(1,"app-source-account-option-item",7),c()),t&2){let e=i.$implicit;g("value",e.accountId),l(),g("account",e)}}function vde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.DEFAULT_IS_REQUIRED_TEXT)}}function yde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunek.notObciazalny"])}}function Cde(t,i){if(t&1&&(u(0,"span"),h(1),be(2,"ibanFormatPipe"),be(3,"currencyFormatPipe"),c()),t&2){let e=_(3);l(),wo("Rachunek VAT : ",Fe(2,3,e.vatAccountInfo.accountNumber),", ",Fe(3,5,e.vatAccountInfo.availableFunds)," ",e.vatAccountInfo.currency," ")}}function Dde(t,i){if(t&1&&(u(0,"span"),h(1),be(2,"ibanFormatPipe"),c()),t&2){let e=_(3);l(),se("Rachunek VAT : ",Fe(2,1,e.vatAccountInfo.accountNumber)," ")}}function Ede(t,i){if(t&1&&v(0,Cde,4,7,"span")(1,Dde,3,3,"span"),t&2){let e=_(2);y(e.hasVatBalance(e.vatAccountInfo)?0:1)}}function wde(t,i){if(t&1&&(u(0,"mat-hint"),v(1,Ede,2,1),c()),t&2){let e=_();l(),y(e.shouldDisplayVatAccount(e.vatAccountInfo)?1:-1)}}var Na=(()=>{class t{constructor(){this.vatAccountInfo=null,this.fieldLabel="Rachunek obci\u0105\u017Cany",this.hasNullOption=!0,this.shouldShowVatAccount=!1,this.searchFC=new uo(""),this.DEFAULT_IS_REQUIRED_TEXT=Po,this.ERRORS=ln,this.filteredAccounts=P([]),this.accountsAsSearchString=[],this.chargeableAccounts=[],this.accountItemPipe=new zR}set disabledInput(e){e?this.sourceAccountFC.disable():this.sourceAccountFC.enable()}set accountList(e){this.chargeableAccounts=e||[],this.trySetDefaultAccount(),this.accountsAsSearchString=this.chargeableAccounts.map(n=>this.accountItemPipe.transformNoSpaces(n).toLowerCase()),this.filteredAccounts=this.searchFC.valueChanges.pipe($(n=>this._filter(n)),Re(this.chargeableAccounts),It())}shouldDisplayVatAccount(e){return e.type===uc.VAT&&this.shouldShowVatAccount}hasVatBalance(e){return e.availableFunds!==null&&e.availableFunds!==void 0}preventUnwantedSelectActions(e){e.code==="Space"&&e.stopPropagation()}_filter(e){if(!e)return this.chargeableAccounts;let n=e.replace(/\s/g,"").toLowerCase();return this.accountsAsSearchString.reduce((r,o,a)=>(o.includes(n)&&r.push(this.chargeableAccounts[a]),r),[])}trySetDefaultAccount(){this.chargeableAccounts?.length===1&&this.chargeableAccounts[0].accountId&&this.sourceAccountFC.setValue(this.chargeableAccounts[0].accountId)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-source-account-input"]],inputs:{vatAccountInfo:"vatAccountInfo",fieldLabel:"fieldLabel",hasNullOption:"hasNullOption",shouldShowVatAccount:"shouldShowVatAccount",sourceAccountFC:"sourceAccountFC",disabledInput
8000:"disabledInput",accountList:"accountList"},standalone:!1,decls:16,vars:9,consts:[["appearance","outline"],["for","sourceAccount"],[3,"formControl"],["appearance","outline",1,"search-field"],["autocomplete","off","matInput","","placeholder","Wyszukaj rachunek",3,"keydown","formControl"],["matPrefix",""],[3,"value"],[3,"account"]],template:function(n,r){n&1&&(u(0,"mat-form-field",0)(1,"mat-label",1),h(2),c(),u(3,"mat-select",2)(4,"mat-form-field",3)(5,"input",4),T("keydown",function(a){return r.preventUnwantedSelectActions(a)}),c(),u(6,"mat-icon",5),h(7,"search"),c()(),v(8,_de,2,0,"mat-option"),He(9,bde,2,2,"mat-option",6,at),be(11,"async"),c(),u(12,"mat-error"),v(13,vde,2,1,"span"),v(14,yde,2,1,"span"),c(),v(15,wde,2,1,"mat-hint"),c()),n&2&&(l(2),S(r.fieldLabel),l(),g("formControl",r.sourceAccountFC),l(2),g("formControl",r.searchFC),l(3),y(r.hasNullOption?8:-1),l(),Ue(Fe(11,7,r.filteredAccounts)),l(4),y(r.sourceAccountFC.hasError("required")?13:-1),l(),y(r.sourceAccountFC.hasError("rachunek.notObciazalny")?14:-1),l(),y(r.vatAccountInfo?15:-1))},dependencies:[Ve,qe,ra,St,bk,Qt,zn,et,si,Je,Xe,$e,Bt,PR,Ji,qt,Kt],styles:[`:host{display:block}mat-form-field{width:100%}.mat-mdc-option{min-height:3em;height:auto!important;white-space:normal!important}.mat-mdc-option>span.mdc-list-item__primary-text{width:calc(100% - 36px)}.search-field{width:100%;padding:0 8px}label:not(.mdc-floating-label--float-above)>mat-label[for=sourceAccount]{padding-left:12px}mat-select{padding-left:12px}
8001`],encapsulation:2,changeDetection:0})}}return t})();function xde(t,i){t&1&&(u(0,"span"),h(1,"Rachunek jest wymagany"),c())}function Sde(t,i){t&1&&(u(0,"span"),h(1,"Niepoprawny numer rachunku"),c())}function Tde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekUs.inactive"])}}function Ide(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.empty"])}}function Ade(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.maxlength"])}}function kde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.illegal"])}}function Rde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.us_illegal"])}}function Mde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.zus_old"])}}function Nde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.same_rach"])}}function Ode(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.notUznawalny"])}}function Fde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.is_clo_so_use_us"])}}function Pde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.is_us_so_use_us"])}}function Lde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.invalid_iban"])}}function Bde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.invalid_iban2"])}}function Vde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.notObciazalny"])}}function jde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.elixir_expired"])}}function Hde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.noVat"])}}function Ude(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.wewnetrzny"])}}function zde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.krajowy"])}}function Gde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.same_vat_rach"])}}function Wde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.invalid"])}}function $de(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["przelew.sorbnet.bps"])}}function qde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["przelew.sorbnet.wlasny"])}}function Yde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sorbnet.dataWykonania.notWorkDay"])}}function Kde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.sorbnetOutsideHoursMessage())}}function Xde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sorbnet.dataWykonania.empty"])}}function Zde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekProwizji.invalid"])}}function Qde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rach.invalid_iban"])}}function Jde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rach.invalid_iban2"])}}function eue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rach.illegal"])}}function tue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["iban.duplicate"])}}var mc=(()=>{class t{constructor(){this.ERRORS=ln,this.sorbnetDeadlineService=m(yE),this.sorbnetOutsideHoursMessage=this.sorbnetDeadlineService.outsideHoursMessage}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-target-account-error"]],inputs:{targetAccount:"targetAccount"},standalone:!1,decls:31,vars:31,template:function(n,r){n&1&&(v(0,xde,2,0,"span"),v(1,Sde,2,0,"span"),v(2,Tde,2,1,"span"),v(3,Ide,2,1,"span"),v(4,Ade,2,1,"span"),v(5,kde,2,1,"span"),v(6,Rde,2,1,"span"),v(7,Mde,2,1,"span"),v(8,Nde,2,1,"span"),v(9,Ode,2,1,"span"),v(10,Fde,2,1,"span"),v(11,Pde,2,1,"span"),v(12,Lde,2,1,"span"),v(13,Bde,2,1,"span"),v(14,Vde,2,1,"span"),v(15,jde,2,1,"span"),v(16,Hde,2,1,"span"),v(1
80017,Ude,2,1,"span"),v(18,zde,2,1,"span"),v(19,Gde,2,1,"span"),v(20,Wde,2,1,"span"),v(21,$de,2,1,"span"),v(22,qde,2,1,"span"),v(23,Yde,2,1,"span"),v(24,Kde,2,1,"span"),v(25,Xde,2,1,"span"),v(26,Zde,2,1,"span"),v(27,Qde,2,1,"span"),v(28,Jde,2,1,"span"),v(29,eue,2,1,"span"),v(30,tue,2,1,"span")),n&2&&(y(r.targetAccount.hasError("required")?0:-1),l(),y(r.targetAccount.hasError("incorectIban")?1:-1),l(),y(r.targetAccount.hasError("rachunekUs.inactive")?2:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.empty")?3:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.maxlength")?4:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.illegal")||r.targetAccount.hasError("pattern")?5:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.us_illegal")?6:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.zus_old")?7:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.same_rach")?8:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.notUznawalny")?9:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.is_clo_so_use_us")?10:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.is_us_so_use_us")?11:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.invalid_iban")?12:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.invalid_iban2")?13:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.notObciazalny")?14:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.elixir_expired")?15:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.noVat")?16:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.wewnetrzny")?17:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.krajowy")?18:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.same_vat_rach")?19:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.invalid")?20:-1),l(),y(r.targetAccount.hasError("przelew.sorbnet.bps")?21:-1),l(),y(r.targetAccount.hasError("przelew.sorbnet.wlasny")?22:-1),l(),y(r.targetAccount.hasError("sorbnet.dataWykonania.notWorkDay")?23:-1),l(),y(r.targetAccount.hasError("sorbnet.dataWykonania.afterDeadlineHour")||r.targetAccount.hasError("sorbnet.dataWykonania.beforeOpeningHour")?24:-1),l(),y(r.targetAccount.hasError("sorbnet.dataWykonania.empty")?25:-1),l(),y(r.targetAccount.hasError("rachunekProwizji.invalid")?26:-1),l(),y(r.targetAccount.hasError("rach.invalid_iban")?27:-1),l(),y(r.targetAccount.hasError("rach.invalid_iban2")?28:-1),l(),y(r.targetAccount.hasError("rach.illegal")?29:-1),l(),y(r.targetAccount.hasError("iban.duplicate")?30:-1))},encapsulation:2})}}return t})();function nue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["dataOstatecznejRealizacji.beforeDataWykonania"])}}function iue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["dataOstatecznejRealizacji.maxValue"])}}function rue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["dataOstatecznejRealizacji.ownAccount"])}}function oue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["dataOstatecznejRealizacji.illegal"])}}var _m=(()=>{class t{constructor(){this.ERRORS=ln}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-last-execution-data-error"]],inputs:{lastExecutionDateFC:"lastExecutionDateFC"},standalone:!1,decls:4,vars:4,template:function(n,r){n&1&&(v(0,nue,2,1,"span"),v(1,iue,2,1,"span"),v(2,rue,2,1,"span"),v(3,oue,2,1,"span")),n&2&&(y(r.lastExecutionDateFC.hasError("dataOstatecznejRealizacji.beforeDataWykonania")?0:-1),l(),y(r.lastExecutionDateFC.hasError("dataOstatecznejRealizacji.maxValue")?1:-1),l(),y(r.lastExecutionDateFC.hasError("dataOstatecznejRealizacji.ownAccount")?2:-1),l(),y(r.lastExecutionDateFC.hasError("dataOstatecznejRealizacji.illegal")?3:-1))},encapsulation:2})}}return t})();function aue(t,i){if(t&1&&(u(0,"mat-option",4),h(1),be(2,"ibanFormatPipe"),c()),t&2){let e=i.$implicit;g("value",e),l(),S(Fe(2,2,e.accountNumber))}}function sue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.isRequiredErrorText)}}function lue(t,i){t&1&&(u(0,"span"),h(1,"Nie mo\u017Cna ustawi\u0107 przesz\u0142ej daty"),c())}function cue(t,i){if(t&1){let e=Se();u(0,"mat-form-field",13)(1,"mat-label"),h(2,"Data ost. realizacji"),c(),u(3,"input",17),T("focusout",function(){te(e);let r=_(2);
8001return ne(r.dateUtils.keepMinDate(r.lastExecutionDateFC,r.minDate))}),c(),x(4,"mat-datepicker-toggle",15)(5,"mat-datepicker",null,1),u(7,"mat-error"),x(8,"app-last-execution-data-error",18),v(9,lue,2,0,"span"),c()()}if(t&2){let e=ye(6),n=_(2);l(3),g("formControl",n.lastExecutionDateFC)("matDatepicker",e)("min",n.minDate),l(),g("for",e),l(4),g("lastExecutionDateFC",n.lastExecutionDateFC),l(),y(n.dateOfExecutionFC.hasError("invalidDate")?9:-1)}}function due(t,i){if(t&1){let e=Se();u(0,"mat-form-field",13)(1,"mat-label"),h(2,"Data wykonania"),c(),u(3,"input",14),T("focusout",function(){te(e);let r=_();return ne(r.dateUtils.keepMinDate(r.dateOfExecutionFC,r.minDate))}),c(),x(4,"mat-datepicker-toggle",15)(5,"mat-datepicker",null,0),u(7,"mat-error"),v(8,sue,2,1,"span"),c()(),fe(9,cue,10,6,"mat-form-field",16)}if(t&2){let e=ye(6),n=_();l(3),g("formControl",n.dateOfExecutionFC)("matDatepicker",e)("min",n.minDate),l(),g("for",e),l(4),y(n.validatorUtils.isRequired(n.dateOfExecutionFC)?8:-1),l(),g("appShowIfHasAuthority",n.FunctionalAuthority.FUNC_MLYNEK)}}function uue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function mue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),S((e=n.idNipPeselFC.getError("nipAndPeselFormat"))==null?null:e.message)}}function pue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function hue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),S((e=n.invoiceNumberFC.getError("pattern"))==null?null:e.message)}}function fue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.invoiceNumberFC.getRawValue().length,"/",e.INVOICE_NUMBER_MAX_LENGTH)}}function gue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),S((e=n.additionalMessageFC.getError("pattern"))==null?null:e.message)}}function _ue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["text.invalidSubstrings"])}}function bue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.additionalMessageFC.getRawValue().length,"/",e.ADDITIONAL_MESSAGE_MAX_LENGTH)}}var WR=(()=>{class t{constructor(e,n,r,o,a,s,d,p){this.formBuilder=e,this.orderDialogRef=n,this.acceptTransferService=r,this.notificationService=o,this.accountService=a,this.vatService=s,this.data=d,this.errorProviderService=p,this.isRequiredErrorText=Po,this.MAX_LENGTH_ERROR_MESSAGE=xh,this.INVOICE_NUMBER_MAX_LENGTH=35,this.ADDITIONAL_MESSAGE_MAX_LENGTH=33,this.ERRORS=ln,this.FunctionalAuthority=Ut,this.minDate=$t(new Date,je),this.personalVatAccounts=[],this.personalVatChargeableAccounts=[],this.validatorUtils=Xt,this.dateUtils=En,this.ButtonLabels=tt,this.isPacked=!1,this.withConfirmAddNextButton=!0,this.PERSONAL_TRANSFERENCE="Przekazanie w\u0142asne",this.dispositionId="",this.TITLE="Przelew F-ra VAT",this.subscription=new _e,this.hasSavedChanges=!1,this.targetVatAccount="",this.recipientAccountFC=new z("",G.required),this.recipientName1FC=new z({EMPTY_STRING:"",disabled:!0}),this.recipientName2FC=new z({EMPTY_STRING:"",disabled:!0}),this.recipientAddress1FC=new z({EMPTY_STRING:"",disabled:!0}),this.recipientAddress2FC=new z({EMPTY_STRING:"",disabled:!0}),this.amountFC=new z("",[G.required,Xt.currencyValidator]),this.dateOfExecutionFC=new z("",G.required),this.lastExecutionDateFC=new z(""),this.idNipPeselFC=new z("",[G.required,xi.nipPeselValidator]),this.invoiceNumberFC=new z({value:this.PERSONAL_TRANSFERENCE,disabled:!0},[G.required,G.maxLength(this.INVOICE_NUMBER_MAX_LENGTH),xi.vatTitleChars,xi.invoiceNumber]),this.additionalMessageFC=new z("",[G.maxLength(this.ADDITIONAL_MESSAGE_MAX_LENGTH),xi.vatTitleChars,xi.invoiceAdditionalInfo]),this.sourceAccountFC=new z,this.dialogMode=this.data.transferDialogMode,this.withConfirmAddNextButton=this.dialogMode!==Me.EDIT,this.transfer=this.data.transferData,this.isPacked=this.transfer.packaged,this.recipientFG=this.formBuilder.group({recipientAccountFC:this.recipientAccountFC,recipientName1FC:this.recipientName1FC,recipientName2FC:this.recipientName2FC,recipientAddress1FC:this.recipientAddress1FC,recipientAddress2FC:this.recipientAddress2FC}),this.recipientName1FC.disable(),this.recipientName2FC.disable(),this.recipientAddress1FC.disable(),this.recipientAddress2FC.disable(),this.contentFG=this.formBuilder.group({amountFC:this.amountFC,executionDateFC:this.dateOfExecutionFC,idNipPeselFC:this.idNipPeselFC,invoiceNumberFC:this.invoiceNumberFC,additionalMe
8001ssageFC:this.additionalMessageFC}),this.chargeFG=this.formBuilder.group({chargedAccountFC:this.sourceAccountFC}),this.transferenceVatFG=this.formBuilder.group({recipientFG:this.recipientFG,contentFG:this.contentFG,chargeFG:this.chargeFG}),this.recipientAccountFC.valueChanges.pipe(B(f=>this.targetVatAccount=this.findVatAccountForAccountId(f?.accountId))).subscribe(),this.vatAccountInfo$=this.sourceAccountFC.valueChanges.pipe(It((f,b)=>f?.accountId!==b?.accountId),W(f=>this.vatService.getVatFromSelectedAccount(f))),this.backdropSubscription=this.orderDialogRef.backdropClick().subscribe(()=>{this.closeDialog()})}onEscapeKey(){this.closeDialog()}ngOnInit(){this.getVatAccounts(),this.getVatChargeableAccounts(),this.checkAndLoadTransfer(),this.getDefaultUserData()}getDefaultUserData(){this.subscription=this.acceptTransferService.getClientInfo().pipe(B(e=>{this.defaultUserData=e,this.setInitialValues()})).subscribe()}closeDialog(){this.orderDialogRef.close(this.hasSavedChanges)}resetData(){this.recipientFG.reset(),this.contentFG.reset(),this.chargeFG.reset(),this.checkAndLoadTransfer(),this.setInitialValues(),this.recipientFG.updateValueAndValidity(),this.contentFG.updateValueAndValidity(),this.chargeFG.updateValueAndValidity()}pressSaveBtn(e){switch(this.dialogMode){case Me.NEW:case Me.REPEAT:this.save(e,pE);break;case Me.EDIT:this.save(e,hE);break;case Me.IMPORT:break}}save(e,n){this.transferenceVatFG.valid?this.acceptTransferService.save(this.getTransferData(),n).pipe(this.errorProviderService.processErrorWithLocalFormError(this),B(()=>{this.hasSavedChanges=!0,e?this.resetData():this.closeDialog()})).subscribe():this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo")}getFormGroup(){return this.transferenceVatFG}getControlByProperty(e){switch(e){case"rachunekOdbiorcy":case"przelew":return this.recipientAccountFC;case"rachunek":return this.sourceAccountFC;case"dataOstatecznejRealizacji":return this.lastExecutionDateFC;case"kwota":case"kwotaVat":return this.amountFC;default:return null}}findVatAccountForAccountId(e){let n=this.personalVatAccounts.find(r=>r.accountId===e);return n?n.vatAccountNumber:""}ngOnDestroy(){this.backdropSubscription.unsubscribe(),this.subscription.unsubscribe()}setInitialValues(){this.recipientName1FC.setValue(this.defaultUserData?.companyName1),this.recipientName2FC.setValue(this.defaultUserData?.companyName1),this.recipientAddress1FC.setValue(this.defaultUserData?.address1),this.recipientAddress2FC.setValue(this.defaultUserData?.address2),this.dateOfExecutionFC.setValue(this.minDate),this.markAllAsTouched()}getTransferData(){return{message:this.additionalMessageFC.value,address1:this.replaceDisallowedChars(this.recipientAddress1FC.value),address2:this.replaceDisallowedChars(this.recipientAddress2FC.value),netAmount:"0",vatAmount:this.amountFC.value,amount:this.amountFC.value,currency:"PLN",dateOfExecution:this.dateOfExecutionFC.value,idNipPesel:this.idNipPeselFC.value,vatNumber:this.invoiceNumberFC.value,lastExecutionDate:this.lastExecutionDateFC.value,name1:this.replaceDisallowedChars(this.recipientName1FC.value),name2:this.replaceDisallowedChars(this.recipientName2FC.value),sourceAccountId:this.sourceAccountFC.value,targetAccount:this.recipientAccountFC.value?.accountNumber,title:this.TITLE,bundleId:this.data.transferData.bundleId,dispositionId:parseInt(this.dispositionId,10),sorbnet:!1}}getVatAccounts(){this.accountService.getOwnVatAccount().pipe(B(e=>this.personalVatAccounts=e)).subscribe()}getVatChargeableAccounts(){this.accountService.getChargeableVatAccounts().pipe(this.errorProviderService.processError("Nie uda\u0142o si\u0119 pobra\u0107 listy rachunk\xF3w obci\u0105\u017Calnych")).subscribe(e=>this.personalVatChargeableAccounts=e)}checkAndLoadTransfer(){this.setFormControlValues(this.transfer),this.isPacked&&(this.sourceAccountFC.disable(),this.dateOfExecutionFC.disable())}setFormControlValues(e){if(e){this.recipientAccountFC.setValue(e.targetAccount),this.recipientName1FC.setValue(e.name1),this.recipientName2FC.setValue(e.name2),this.recipientAddress1FC.setValue(e.address1),this.recipientAddress2FC.setValue(e.address2),ue.isEmpty(this.amountFC.value)&&this.amountFC.setValue(e.amount),this.dateOfExecutionFC.setValue(e.dateOfExecution),this.lastExecutionDateFC.setValue(e.lastExecutionDate),this.sourceAccountFC.setValue(this.sourceAccountFC.value?this.sourceAccountFC.value:e.sourceAccountId),this.dispositionId=e.dispositionId?.toString()||"";let n=vh.parse(e.title,e.idNipPesel);
8001this.idNipPeselFC.setValue(n.peselNip),this.additionalMessageFC.setValue(n.message)}}markAllAsTouched(){this.recipientFG.markAllAsTouched(),this.contentFG.markAllAsTouched(),this.chargeFG.markAllAsTouched()}replaceDisallowedChars(e){return e.replace(/\\/g,"").replace(/"/g,"'")}static{this.\u0275fac=function(n){return new(n||t)(E(Vi),E(Ze),E(Lo),E(Le),E(Bo),E(Ld),E(rt),E(Rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-transference-vat-dialog"]],hostBindings:function(n,r){n&1&&T("keydown.escape",function(){return r.onEscapeKey()},$o)},standalone:!1,decls:55,vars:33,consts:[["executionDatePicker",""],["lastExecutionDatePicker",""],["appearance","outline",1,"flex-fill"],["required","",3,"formControl"],[3,"value"],[3,"targetAccount"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[1,"flex-row","gap-20"],["showPLNSuffix","true",3,"amountFC"],["autocomplete","off","matInput","","required","","type","text",3,"formControl"],["autocomplete","off","matInput","","type","text",3,"formControl"],[3,"accountList","sourceAccountFC","vatAccountInfo","disabledInput","shouldShowVatAccount"],[3,"cancelAction","confirmAddNextAction","resetAction","confirmAction","withConfirmAddNextButton","confirmAddNextDisabled","confirmDisabled","buttonLabelConfirm"],["appearance","outline"],["autocomplete","off","matInput","","required","",3,"focusout","formControl","matDatepicker","min"],["matSuffix","",3,"for"],["appearance","outline",4,"appShowIfHasAuthority"],["autocomplete","off","matInput","",3,"focusout","formControl","matDatepicker","min"],[3,"lastExecutionDateFC"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Przekazanie VAT"),c(),u(3,"app-dialog-content")(4,"app-dialog-section")(5,"app-dialog-section-header"),h(6,"Beneficjent"),c(),u(7,"mat-form-field",2)(8,"mat-label"),h(9,"Rachunek"),c(),u(10,"mat-select",3),He(11,aue,3,4,"mat-option",4,at),c(),u(13,"mat-error"),x(14,"app-target-account-error",5),c(),u(15,"mat-hint")(16,"span"),h(17),be(18,"ibanFormatPipe"),c()()(),x(19,"app-recipant-input",6),c(),u(20,"app-dialog-section")(21,"app-dialog-section-header"),h(22,"Tre\u015B\u0107"),c(),u(23,"div",7),x(24,"app-amount-input",8),v(25,due,10,6),c(),u(26,"mat-form-field",2)(27,"mat-label"),h(28,"Identyfikator ( NIP / PESEL )"),c(),x(29,"input",9),u(30,"mat-error"),v(31,uue,2,1,"span"),v(32,mue,2,1,"span"),c()(),u(33,"mat-form-field",2)(34,"mat-label"),h(35,"Numer faktury"),c(),x(36,"input",9),u(37,"mat-error"),v(38,pue,2,1,"span"),v(39,hue,2,1,"span"),v(40,fue,2,3,"span"),c()(),u(41,"mat-form-field",2)(42,"mat-label"),h(43,"Dodatkowa tre\u015B\u0107"),c(),x(44,"input",10),u(45,"mat-error"),v(46,gue,2,1,"span"),v(47,_ue,2,1,"span"),v(48,bue,2,3,"span"),c()()(),u(49,"app-dialog-section")(50,"app-dialog-section-header"),h(51,"Obci\u0105\u017Cenie"),c(),x(52,"app-source-account-input",11),be(53,"async"),c()(),u(54,"app-action-buttons-panel",12),T("cancelAction",function(){return r.closeDialog()})("confirmAddNextAction",function(){return r.pressSaveBtn(!0)})("resetAction",function(){return r.resetData()})("confirmAction",function(){return r.pressSaveBtn(!1)}),c()()),n&2&&(l(10),g("formControl",r.recipientAccountFC),l(),Ue(r.personalVatAccounts),l(3),g("targetAccount",r.recipientAccountFC),l(3),se("Rachunek VAT : ",Fe(18,29,r.targetVatAccount)," "),l(2),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC),l(5),g("amountFC",r.amountFC),l(),y(r.isPacked?-1:25),l(4),g("formControl",r.idNipPeselFC),l(2),y(r.validatorUtils.isRequired(r.idNipPeselFC)?31:-1),l(),y(!r.idNipPeselFC.hasError("required")&&r.idNipPeselFC.hasError("nipAndPeselFormat")?32:-1),l(4),g("formControl",r.invoiceNumberFC),l(2),y(r.validatorUtils.isRequired(r.invoiceNumberFC)?38:-1),l(),y(r.invoiceNumberFC.hasError("pattern")?39:-1),l(),y(r.invoiceNumberFC.hasError("maxlength")?40:-1),l(4),g("formControl",r.additionalMessageFC),l(2),y(r.additionalMessageFC.hasError("pattern")?46:-1),l(),y(r.additionalMessageFC.hasError("text.invalidSubstrings")?47:-1),l(),y(r.additionalMe
8001ssageFC.hasError("maxlength")?48:-1),l(4),g("accountList",r.personalVatChargeableAccounts)("sourceAccountFC",r.sourceAccountFC)("vatAccountInfo",Fe(53,31,r.vatAccountInfo$))("disabledInput",r.isPacked)("shouldShowVatAccount",!0),l(2),g("withConfirmAddNextButton",r.withConfirmAddNextButton)("confirmAddNextDisabled",r.transferenceVatFG.invalid)("confirmDisabled",r.transferenceVatFG.invalid)("buttonLabelConfirm",r.ButtonLabels.SAVE))},dependencies:[Ve,qe,ra,St,Pn,Qt,zi,pi,Ri,et,si,Mt,Nt,Ot,vr,Nr,Je,Xe,mn,$e,Bt,gm,Na,Yr,Kr,Tt,mc,_m,Ji,qt],styles:[".flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}",".gap-20[_ngcontent-%COMP%]{gap:20px}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var gG=Si(Xr());var Bn=(function(t){return t.COMPLETED="COMPLETED",t.REJECTED="REJECTED",t.PARTLY_COMPLETED="PARTLY_COMPLETED",t.ACCOUNTING="ACCOUNTING",t.IN_PROGRESS="IN_PROGRESS",t.SUSPENDED="SUSPENDED",t.AWAITS="AWAITS",t.NEW="NEW",t.ACCEPTED="ACCEPTED",t.IN_SIGNING="IN_SIGNING",t.SIGNED="SIGNED",t})(Bn||{});var Ni=(function(t){return t.COMPLETED="Zrealizowana",t.REJECTED="Odrzucona",t.PARTLY_COMPLETED="Cz\u0119\u015Bciowo zrealizowana",t.ACCOUNTING="Ksi\u0119gowana",t.IN_PROGRESS="W trakcie realizacji",t.SUSPENDED="Zawieszona w realizacji",t.AWAITS="Oczekuj\u0105ca (m\u0142ynek)",t.NEW="Nowa",t.ACCEPTED="Zaakceptowana",t.IN_SIGNING="W trakcie podpisywania",t.SIGNED="Podpisana",t})(Ni||{});var Bh=class t{transform(i,e=!1){if(this.checkIfStandingOrderBundle(i))return i?"Aktywne":"Nieaktywne";if(e)switch(i){case Bn.COMPLETED:return Ni.COMPLETED;case Bn.REJECTED:return Ni.REJECTED;case Bn.PARTLY_COMPLETED:return Ni.PARTLY_COMPLETED;case Bn.ACCOUNTING:return Ni.ACCOUNTING;case Bn.IN_PROGRESS:case Bn.SUSPENDED:return Ni.IN_PROGRESS;case Bn.AWAITS:return Ni.AWAITS;case Bn.NEW:return Ni.NEW;case Bn.ACCEPTED:case Bn.IN_SIGNING:case Bn.SIGNED:return Ni.IN_SIGNING;default:return""}else switch(i){case Bn.COMPLETED:return Ni.COMPLETED;case Bn.REJECTED:return Ni.REJECTED;case Bn.PARTLY_COMPLETED:return Ni.PARTLY_COMPLETED;case Bn.ACCOUNTING:return Ni.ACCOUNTING;case Bn.IN_PROGRESS:return Ni.IN_PROGRESS;case Bn.SUSPENDED:return Ni.SUSPENDED;case Bn.AWAITS:return Ni.AWAITS;case Bn.NEW:return Ni.NEW;case Bn.ACCEPTED:return Ni.ACCEPTED;case Bn.IN_SIGNING:return Ni.IN_SIGNING;case Bn.SIGNED:return Ni.SIGNED;default:return""}}checkIfStandingOrderBundle(i){return typeof i=="boolean"}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"bundleStateView",type:t,pure:!0,standalone:!1})}};xn([(0,gG.default)({resolver:(t,i)=>({state:t,useSimplifiedLabels:i})})],Bh.prototype,"transform",null);var pc=(function(t){return t.SHA="SHA",t.OUR="OUR",t.BEN="BEN",t})(pc||{});var _G=(()=>{class t{transform(e){switch(e){case pc.OUR:return"OUR - Zleceniodawca";case pc.BEN:return"BEN - Beneficjent";case pc.SHA:default:return"SHA - Obie strony"}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"commissionCoverer",type:t,pure:!0})}}return t})();var bG=Si(Xr());var ab=(function(t){return t[t.MIXED=0]="MIXED",t[t.RENEWABLE=1]="RENEWABLE",t[t.NON_RENEWABLE=2]="NON_RENEWABLE",t})(ab||{});var GE=class t{transform(i){switch(i){case ab.MIXED:return"Mieszana";case ab.NON_RENEWABLE:return"Nieodnawialna";case ab.RENEWABLE:return"Odnawialna";default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"depositType",type:t,pure:!0,standalone:!1})}};xn([(0,bG.default)()],GE.prototype,"transform",null);var sb=(()=>{class t{constructor(e){this.el=e}set whiteList(e){this.el.nativeElement.classList=e?.verificationResult?["green-text-bold"]:["red-text-bold"]}static{this.\u0275fac=function(n){return new(n||t)(E(Q))}}static{this.\u0275dir=N({type:t,selectors:[["app-white-list"],["","appWhiteList",""]],inputs:{whiteList:"whiteList"},standalone:!1})}}return t})();var $R=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Y({})}}return t})();var qR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Y({})}}return t})();var yG={done:0,all:0,active:!1,message:""};var CG=(()=>
8001{class t{constructor(){this.progress=yG,this.subject=new zt(this.progress)}showFullDataProgressBar(e){this.progress=e,this.subject.next(this.progress)}showProgressBar(e){this.progress.message=e,this.progress.active=!0,this.subject.next(this.progress)}setAllValue(e){this.progress.all=e,this.subject.next(this.progress)}hideProgressBar(){this.progress.active=!1,this.subject.next(this.progress)}getProgressData(){return this.subject.asObservable()}increment(){this.progress.done+=1,this.subject.next(this.progress)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Cue(t,i){t&1&&x(0,"div",0)}function Due(t,i){if(t&1&&(u(0,"div",1)(1,"h2"),h(2),c(),x(3,"mat-progress-bar",2),c()),t&2){let e=_();l(2),S(e.progress.message),l(),g("mode",e.progress.all===0?"indeterminate":"determinate")("value",e.progress.done/e.progress.all*100)}}var Eue=(()=>{class t{constructor(e,n){this.progressBarService=e,this.cdRef=n}ngOnInit(){this.subscription=this.progressBarService.getProgressData().pipe(B(e=>{this.progress=e,this.cdRef.detectChanges()})).subscribe()}ngOnDestroy(){this.subscription?.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)(E(CG),E(Ee))}}static{this.\u0275cmp=k({type:t,selectors:[["app-progress-bar"]],standalone:!1,decls:2,vars:2,consts:[[1,"progress-loading"],[1,"progress-bar"],["color","accent",3,"mode","value"]],template:function(n,r){n&1&&(v(0,Cue,1,0,"div",0),v(1,Due,4,3,"div",1)),n&2&&(y(r.progress.active?0:-1),l(),y(r.progress.active?1:-1))},dependencies:[WH],styles:[".progress-loading[_ngcontent-%COMP%]{position:fixed;z-index:9998;width:100%;opacity:.4;background:#d3d3d3;height:100%;display:block}.progress-bar[_ngcontent-%COMP%]{background-color:#f5f5f5;border-radius:20px;box-shadow:1px 1px 5px #000;position:fixed;z-index:9999;top:50vh;left:50vw;width:350px;height:100px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);padding:10px}.progress-bar[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{text-align:center}.progress-bar[_ngcontent-%COMP%]   mat-progress-bar[_ngcontent-%COMP%]{height:10px}"]})}}return t})();var bm=(()=>{class t{constructor(e){this.injector=e}transform(e,n,r){let a=ie.create({name:"DynamicPipe",parent:this.injector,providers:[{provide:n,useClass:n}]}).get(n);return r?a.transform(e,...r):a.transform(e)}static{this.\u0275fac=function(n){return new(n||t)(E(ie,16))}}static{this.\u0275pipe=pe({name:"dynamicPipe",type:t,pure:!0,standalone:!1})}}return t})();var YR=(()=>{class t{transform(e){return e===1?e+" pozycja":e>=2&&e<=4?e+" pozycje":e+" pozycji"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"numberOfProps",type:t,pure:!0,standalone:!1})}}return t})();function Sue(t,i){if(t&1&&(u(0,"span",2),h(1),be(2,"numberOfProps"),c()),t&2){let e=_();l(),se(" (",Fe(2,1,e.propsCount),") ")}}var KR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-sn-cell-item"]],inputs:{itemClass:"itemClass",propsCount:"propsCount",showNumberOfProps:"showNumberOfProps",cellData:"cellData"},standalone:!1,decls:3,vars:3,consts:[[3,"ngClass"],[3,"innerHtml"],[1,"number-of-props"]],template:function(n,r){n&1&&(u(0,"span",0),x(1,"span",1),v(2,Sue,3,3,"span",2),c()),n&2&&(g("ngClass",r.itemClass),l(),g("innerHtml",r.cellData,Cu),l(),y(r.showNumberOfProps?2:-1))},dependencies:[cr,YR],encapsulation:2})}}return t})();function Iue(t,i){if(t&1&&(u(0,"button",0)(1,"mat-icon"),h(2),c()()),t&2){let e=_();g("ngClass",e.COLLAPSED_ICON_BUTTON_CLASS),l(2),se(" ",e.collapsed?"keyboard_arrow_down":"keyboard_arrow_right"," ")}}var XR="collapsed-icon-button",ZR=(()=>{class t{constructor(){this.COLLAPSED_ICON_BUTTON_CLASS=XR}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-sn-mat-tree-arrow-button"]],inputs:{showIconButton:"showIconButton",collapsed:"collapsed"},standalone:!1,decls:1,vars:1,consts:[["mat-icon-button","",3,"ngClass"]],template:function(n,r){n&1&&v(0,Iue,3,2,"button",0),n&2&&y(r.showIconButton?0:-1)}
8001,dependencies:[cr,zn,fr],encapsulation:2})}}return t})();function bEt(t){return t.map(i=>kue(i))}function kue(t){if(Rue(t.accounts)){let e=t.accounts.map(n=>QR(n));return{accountNumber:t.accountNumber,currentBalance:t.currentBalance,availableFunds:t.currentBalance,children:e}}else{let i=t.accounts,e={accountNumber:t.accountNumber,currentBalance:t.currentBalance,availableFunds:t.currentBalance,children:[]};return Mue(i,e)}}function Rue(t){return t[0]===void 0?!1:"accountId"in t[0]&&t[0].accountId!==void 0}function vEt(t){return"type"in t&&t.type!==void 0}function Mue(t,i){return t.forEach(e=>{let n=Nue(e),r=Oue(e),o=QR(n,r);i.children?.push(o)}),i}function Nue(t){return t.accounts.find(i=>i.accountNumber===t.accountNumber)}function Oue(t){return t.accounts.filter(i=>i.accountNumber!==t.accountNumber).map(i=>QR(i))}function QR(t,i){return{accountId:t.accountId,accountName:t.accountName,friendlyName1:t.friendlyName1,friendlyName2:t.friendlyName2,accountShortName:t.accountShortName,accountNumber:t.accountNumber,openingDate:t.openingDate,currency:t.currency,owner:t.owner,ownerAddress:t.ownerAddress,ownerShortName:t.ownerShortName,loanRate:t.loanRate,accountRate:t.accountRate,vatAccountNumber:t.vatAccountNumber,primaryAccountNumber:t.primaryAccountNumber,currentBalance:t.currentBalance,availableFunds:t.availableFunds,type:t.type,endDate:t.endD
8001ate,lastPaymentDate:t.lastPaymentDate,contractNumber:t.contractNumber,balanceOverpayment:t.balanceOverpayment,balanceAfterDeadline:t.balanceAfterDeadline,lastAmount:t.lastAmount,amountAfterDeadline:t.amountAfterDeadline,children:i}}var Fue=typeof global=="object"&&global&&global.Object===Object&&global,WE=Fue;var Pue=typeof self=="object"&&self&&self.Object===Object&&self,Lue=WE||Pue||Function("return this")(),Wi=Lue;var Bue=Wi.Symbol,Oa=Bue;var DG=Object.prototype,Vue=DG.hasOwnProperty,jue=DG.toString,lb=Oa?Oa.toStringTag:void 0;function Hue(t){var i=Vue.call(t,lb),e=t[lb];try{t[lb]=void 0;var n=!0}catch(o){}var r=jue.call(t);return n&&(i?t[lb]=e:delete t[lb]),r}var EG=Hue;var Uue=Object.prototype,zue=Uue.toString;function Gue(t){return zue.call(t)}var wG=Gue;var Wue="[object Null]",$ue="[object Undefined]",xG=Oa?Oa.toStringTag:void 0;function que(t){return t==null?t===void 0?$ue:Wue:xG&&xG in Object(t)?EG(t):wG(t)}var hc=que;function Yue(t){return t!=null&&typeof t=="object"}var ca=Yue;var Kue=Array.isArray,fc=Kue;function Xue(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}var Cl=Xue;var Zue="[object AsyncFunction]",Que="[object Function]",Jue="[object GeneratorFunction]",eme="[object Proxy]";function tme(t){if(!Cl(t))return!1;var i=hc(t);return i==Que||i==Jue||i==Zue||i==eme}var $E=tme;var nme=Wi["__core-js_shared__"],qE=nme;var SG=(function(){var t=/[^.]+$/.exec(qE&&qE.keys&&qE.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function ime(t){return!!SG&&SG in t}var TG=ime;var rme=Function.prototype,ome=rme.toString;function ame(t){if(t!=null){try{return ome.call(t)}catch(i){}try{return t+""}catch(i){}}return""}var gc=ame;var sme=/[\\^$.*+?()[\]{}|]/g,lme=/^\[object .+?Constructor\]$/,cme=Function.prototype,dme=Object.prototype,ume=cme.toString,mme=dme.hasOwnProperty,pme=RegExp("^"+ume.call(mme).replace(sme,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function hme(t){if(!Cl(t)||TG(t))return!1;var i=$E(t)?pme:lme;return i.test(gc(t))}var IG=hme;function fme(t,i){return t?.[i]}var AG=fme;function gme(t,i){var e=AG(t,i);return IG(e)?e:void 0}var Vo=gme;var _me=Vo(Wi,"WeakMap"),YE=_me;var kG=Object.create,bme=(function(){function t(){}return function(i){if(!Cl(i))return{};if(kG)return kG(i);t.prototype=i;var e=new t;return t.prototype=void 0,e}})(),RG=bme;function vme(t,i){var e=-1,n=t.length;for(i||(i=Array(n));++e<n;)i[e]=t[e];return i}var MG=vme;var yme=(function(){try{var t=Vo(Object,"defineProperty");return t({},"",{}),t}catch(i){}})(),JR=yme;function Cme(t,i){for(var e=-1,n=t==null?0:t.length;++e<n&&i(t[e],e,t)!==!1;);return t}var NG=Cme;var Dme=9007199254740991,Eme=/^(?:0|[1-9]\d*)$/;function wme(t,i){var e=typeof t;return i=i??Dme,!!i&&(e=="number"||e!="symbol"&&Eme.test(t))&&t>-1&&t%1==0&&t<i}var OG=wme;function xme(t,i,e){i=="__proto__"&&JR?JR(t,i,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[i]=e}var KE=xme;function Sme(t,i){return t===i||t!==t&&i!==i}var Vh=Sme;var Tme=Object.prototype,Ime=Tme.hasOwnProperty;function Ame(t,i,e){var n=t[i];(!(Ime.call(t,i)&&Vh(n,e))||e===void 0&&!(i in t))&&KE(t,i,e)}var XE=Ame;function kme(t,i,e,n){var r=!e;e||(e={});for(var o=-1,a=i.length;++o<a;){var s=i[o],d=n?n(e[s],t[s],s,e,t):void 0;d===void 0&&(d=t[s]),r?KE(e,s,d):XE(e,s,d)}return e}var Bd=kme;var Rme=9007199254740991;function Mme(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Rme}var ZE=Mme;function Nme(t){return t!=null&&ZE(t.length)&&!$E(t)}var QE=Nme;var Ome=Object.prototype;function Fme(t){var i=t&&t.constructor,e=typeof i=="function"&&i.prototype||Ome;return t===e}var jh=Fme;function Pme(t,i){for(var e=-1,n=Array(t);++e<t;)n[e]=i(e);return n}var FG=Pme;var Lme="[object Arguments]";function Bme(t){return ca(t)&&hc(t)==Lme}var eM=Bme;var PG=Object.prototype,Vme=PG.hasOwnProperty,jme=PG.propertyIsEnumerable,Hme=eM((function(){return arguments})())?eM:function(t){return ca(t)&&Vme.call(t,"callee")&&!jme.call(t,"callee")},LG=Hme;function Ume(){return!1}var BG=Ume;var HG=typeof exports=="object"&&exports&&!exports.nodeType&&exports,VG=HG&&typeof module=="object"&&module&&!module.nodeType&&module,zme=VG&&VG.exports===HG,jG=zme?Wi.Buffer:void 0,Gme=jG?jG.isBuffer:void 0,Wme=Gme||BG,vm=Wme;var $me="[object Arguments]",qme="[object Array]",Yme="[object Boolean]",Kme="[object Date]",Xme="[object Error]",Zme="[object Function]",Qme="[object Map]",Jme="[object Number]",epe="[object Object]",tpe="[object RegExp]",npe="[object Set]",ipe="[object String]",rpe="[object WeakMap]",ope="[object ArrayBuffer]",ape="[object DataView]",spe="[object Float32Array]",lpe="[object Float64Array
8001]",cpe="[object Int8Array]",dpe="[object Int16Array]",upe="[object Int32Array]",mpe="[object Uint8Array]",ppe="[object Uint8ClampedArray]",hpe="[object Uint16Array]",fpe="[object Uint32Array]",ci={};ci[spe]=ci[lpe]=ci[cpe]=ci[dpe]=ci[upe]=ci[mpe]=ci[ppe]=ci[hpe]=ci[fpe]=!0;ci[$me]=ci[qme]=ci[ope]=ci[Yme]=ci[ape]=ci[Kme]=ci[Xme]=ci[Zme]=ci[Qme]=ci[Jme]=ci[epe]=ci[tpe]=ci[npe]=ci[ipe]=ci[rpe]=!1;function gpe(t){return ca(t)&&ZE(t.length)&&!!ci[hc(t)]}var UG=gpe;function _pe(t){return function(i){return t(i)}}var Hh=_pe;var zG=typeof exports=="object"&&exports&&!exports.nodeType&&exports,cb=zG&&typeof module=="object"&&module&&!module.nodeType&&module,bpe=cb&&cb.exports===zG,tM=bpe&&WE.process,vpe=(function(){try{var t=cb&&cb.require&&cb.require("util").types;return t||tM&&tM.binding&&tM.binding("util")}catch(i){}})(),_c=vpe;var GG=_c&&_c.isTypedArray,ype=GG?Hh(GG):UG,JE=ype;var Cpe=Object.prototype,Dpe=Cpe.hasOwnProperty;function Epe(t,i){var e=fc(t),n=!e&&LG(t),r=!e&&!n&&vm(t),o=!e&&!n&&!r&&JE(t),a=e||n||r||o,s=a?FG(t.length,String):[],d=s.length;for(var p in t)(i||Dpe.call(t,p))&&!(a&&(p=="length"||r&&(p=="offset"||p=="parent")||o&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||OG(p,d)))&&s.push(p);return s}var ew=Epe;function wpe(t,i){return function(e){return t(i(e))}}var tw=wpe;var xpe=tw(Object.keys,Object),WG=xpe;var Spe=Object.prototype,Tpe=Spe.hasOwnProperty;function Ipe(t){if(!jh(t))return WG(t);var i=[];for(var e in Object(t))Tpe.call(t,e)&&e!="constructor"&&i.push(e);return i}var $G=Ipe;function Ape(t){return QE(t)?ew(t):$G(t)}var Uh=Ape;function kpe(t){var i=[];if(t!=null)for(var e in Object(t))i.push(e);return i}var qG=kpe;var Rpe=Object.prototype,Mpe=Rpe.hasOwnProperty;function Npe(t){if(!Cl(t))return qG(t);var i=jh(t),e=[];for(var n in t)n=="constructor"&&(i||!Mpe.call(t,n))||e.push(n);return e}var YG=Npe;function Ope(t){return QE(t)?ew(t,!0):YG(t)}var zh=Ope;var Fpe=Vo(Object,"create"),bc=Fpe;function Ppe(){this.__data__=bc?bc(null):{},this.size=0}var KG=Ppe;function Lpe(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}var XG=Lpe;var Bpe="__lodash_hash_undefined__",Vpe=Object.prototype,jpe=Vpe.hasOwnProperty;function Hpe(t){var i=this.__data__;if(bc){var e=i[t];return e===Bpe?void 0:e}return jpe.call(i,t)?i[t]:void 0}var ZG=Hpe;var Upe=Object.prototype,zpe=Upe.hasOwnProperty;function Gpe(t){var i=this.__data__;return bc?i[t]!==void 0:zpe.call(i,t)}var QG=Gpe;var Wpe="__lodash_hash_undefined__";function $pe(t,i){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=bc&&i===void 0?Wpe:i,this}var JG=$pe;function Gh(t){var i=-1,e=t==null?0:t.length;for(this.clear();++i<e;){var n=t[i];this.set(n[0],n[1])}}Gh.prototype.clear=KG;Gh.prototype.delete=XG;Gh.prototype.get=ZG;Gh.prototype.has=QG;Gh.prototype.set=JG;var nM=Gh;function qpe(){this.__data__=[],this.size=0}var e4=qpe;function Ype(t,i){for(var e=t.length;e--;)if(Vh(t[e][0],i))return e;return-1}var Vd=Ype;var Kpe=Array.prototype,Xpe=Kpe.splice;function Zpe(t){var i=this.__data__,e=Vd(i,t);if(e<0)return!1;var n=i.length-1;return e==n?i.pop():Xpe.call(i,e,1),--this.size,!0}var t4=Zpe;function Qpe(t){var i=this.__data__,e=Vd(i,t);return e<0?void 0:i[e][1]}var n4=Qpe;function Jpe(t){return Vd(this.__data__,t)>-1}var i4=Jpe;function ehe(t,i){var e=this.__data__,n=Vd(e,t);return n<0?(++this.size,e.push([t,i])):e[n][1]=i,this}var r4=ehe;function Wh(t){var i=-1,e=t==null?0:t.length;for(this.clear();++i<e;){var n=t[i];this.set(n[0],n[1])}}Wh.prototype.clear=e4;Wh.prototype.delete=t4;Wh.prototype.get=n4;Wh.prototype.has=i4;Wh.prototype.set=r4;var jd=Wh;var the=Vo(Wi,"Map"),Hd=the;function nhe(){this.size=0,this.__data__={hash:new nM,map:new(Hd||jd),string:new nM}}var o4=nhe;function ihe(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}var a4=ihe;function rhe(t,i){var e=t.__data__;return a4(i)?e[typeof i=="string"?"string":"hash"]:e.map}var Ud=rhe;function ohe(t){var i=Ud(this,t).delete(t);return this.size-=i?1:0,i}var s4=ohe;function ahe(t){return Ud(this,t).get(t)}var l4=ahe;function she(t){return Ud(this,t).has(t)}var c4=she;function lhe(t,i){var e=Ud(this,t),n=e.size;return e.set(t,i),this.size+=e.size==n?0:1,this}var d4=lhe;function $h(t){var i=-1,e=t==null?0:t.length;for(this.clear();++i<e;){var n=t[i];this.set(n[0],n[1])}}$h.prototype.clear=o4;$h.prototype.delete=s4;$h.prototype.get=l4;$h.prototype.has=c4;$h.prototype.set=d4;var nw=$h;function che(t,i){for(var e=-1,n=i.length,r=t.length;++e<n;)t[r+e]=i[e];return t}var iw=che;var dhe=tw(Object.getPrototypeOf,Object),rw=dhe;function uhe(){this.__data__=new jd,this.size=0}var u4=uhe;function mhe(t){var i=this.__data__,e=i.delete(t);return this.size=i.size,e}var m4=mhe;function phe(t){return this.__data__.get(t)}var p4=phe;function hhe(t){return this.__data__.has(t)}var h4=hhe;var fhe=200;
8001function ghe(t,i){var e=this.__data__;if(e instanceof jd){var n=e.__data__;if(!Hd||n.length<fhe-1)return n.push([t,i]),this.size=++e.size,this;e=this.__data__=new nw(n)}return e.set(t,i),this.size=e.size,this}var f4=ghe;function qh(t){var i=this.__data__=new jd(t);this.size=i.size}qh.prototype.clear=u4;qh.prototype.delete=m4;qh.prototype.get=p4;qh.prototype.has=h4;qh.prototype.set=f4;var Yh=qh;function _he(t,i){return t&&Bd(i,Uh(i),t)}var g4=_he;function bhe(t,i){return t&&Bd(i,zh(i),t)}var _4=bhe;var C4=typeof exports=="object"&&exports&&!exports.nodeType&&exports,b4=C4&&typeof module=="object"&&module&&!module.nodeType&&module,vhe=b4&&b4.exports===C4,v4=vhe?Wi.Buffer:void 0,y4=v4?v4.allocUnsafe:void 0;function yhe(t,i){if(i)return t.slice();var e=t.length,n=y4?y4(e):new t.constructor(e);return t.copy(n),n}var D4=yhe;function Che(t,i){for(var e=-1,n=t==null?0:t.length,r=0,o=[];++e<n;){var a=t[e];i(a,e,t)&&(o[r++]=a)}return o}var E4=Che;function Dhe(){return[]}var ow=Dhe;var Ehe=Object.prototype,whe=Ehe.propertyIsEnumerable,w4=Object.getOwnPropertySymbols,xhe=w4?function(t){return t==null?[]:(t=Object(t),E4(w4(t),function(i){return whe.call(t,i)}))}:ow,Kh=xhe;function She(t,i){return Bd(t,Kh(t),i)}var x4=She;var The=Object.getOwnPropertySymbols,Ihe=The?function(t){for(var i=[];t;)iw(i,Kh(t)),t=rw(t);return i}:ow,aw=Ihe;function Ahe(t,i){return Bd(t,aw(t),i)}var S4=Ahe;function khe(t,i,e){var n=i(t);return fc(t)?n:iw(n,e(t))}var sw=khe;function Rhe(t){return sw(t,Uh,Kh)}var db=Rhe;function Mhe(t){return sw(t,zh,aw)}var T4=Mhe;var Nhe=Vo(Wi,"DataView"),lw=Nhe;var Ohe=Vo(Wi,"Promise"),cw=Ohe;var Fhe=Vo(Wi,"Set"),dw=Fhe;var I4="[object Map]",Phe="[object Object]",A4="[object Promise]",k4="[object Set]",R4="[object WeakMap]",M4="[object DataView]",Lhe=gc(lw),Bhe=gc(Hd),Vhe=gc(cw),jhe=gc(dw),Hhe=gc(YE),ym=hc;(lw&&ym(new lw(new ArrayBuffer(1)))!=M4||Hd&&ym(new Hd)!=I4||cw&&ym(cw.resolve())!=A4||dw&&ym(new dw)!=k4||YE&&ym(new YE)!=R4)&&(ym=function(t){var i=hc(t),e=i==Phe?t.constructor:void 0,n=e?gc(e):"";if(n)switch(n){case Lhe:return M4;case Bhe:return I4;case Vhe:return A4;case jhe:return k4;case Hhe:return R4}return i});var vc=ym;var Uhe=Object.prototype,zhe=Uhe.hasOwnProperty;function Ghe(t){var i=t.length,e=new t.constructor(i);return i&&typeof t[0]=="string"&&zhe.call(t,"index")&&(e.index=t.index,e.input=t.input),e}var N4=Ghe;var Whe=Wi.Uint8Array,Xh=Whe;function $he(t){var i=new t.constructor(t.byteLength);return new Xh(i).set(new Xh(t)),i}var Zh=$he;function qhe(t,i){var e=i?Zh(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}var O4=qhe;var Yhe=/\w*$/;function Khe(t){var i=new t.constructor(t.source,Yhe.exec(t));return i.lastIndex=t.lastIndex,i}var F4=Khe;var P4=Oa?Oa.prototype:void 0,L4=P4?P4.valueOf:void 0;function Xhe(t){return L4?Object(L4.call(t)):{}}var B4=Xhe;function Zhe(t,i){var e=i?Zh(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}var V4=Zhe;var Qhe="[object Boolean]",Jhe="[object Date]",efe="[object Map]",tfe="[object Number]",nfe="[object RegExp]",ife="[object Set]",rfe="[object String]",ofe="[object Symbol]",afe="[object ArrayBuffer]",sfe="[object DataView]",lfe="[object Float32Array]",cfe="[object Float64Array]",dfe="[object Int8Array]",ufe="[object Int16Array]",mfe="[object Int32Array]",pfe="[object Uint8Array]",hfe="[object Uint8ClampedArray]",ffe="[object Uint16Array]",gfe="[object Uint32Array]";function _fe(t,i,e){var n=t.constructor;switch(i){case afe:return Zh(t);case Qhe:case Jhe:return new n(+t);case sfe:return O4(t,e);case lfe:case cfe:case dfe:case ufe:case mfe:case pfe:case hfe:case ffe:case gfe:return V4(t,e);case efe:return new n;case tfe:case rfe:return new n(t);case nfe:return F4(t);case ife:return new n;case ofe:return B4(t)}}var j4=_fe;function bfe(t){return typeof t.constructor=="function"&&!jh(t)?RG(rw(t)):{}}var H4=bfe;var vfe="[object Map]";function yfe(t){return ca(t)&&vc(t)==vfe}var U4=yfe;var z4=_c&&_c.isMap,Cfe=z4?Hh(z4):U4,G4=Cfe;var Dfe="[object Set]";function Efe(t){return ca(t)&&vc(t)==Dfe}var W4=Efe;var $4=_c&&_c.isSet,wfe=$4?Hh($4):W4,q4=wfe;var xfe=1,Sfe=2,Tfe=4,Y4="[object Arguments]",Ife="[object Array]",Afe="[object Boolean]",kfe="[object Date]",Rfe="[object Error]",K4="[object Function]",Mfe="[object GeneratorFunction]",Nfe="[object Map]",Ofe="[object Number]",X4="[object Object]",Ffe="[object RegExp]",Pfe="[object Set]",Lfe="[object String]",Bfe="[object Symbol]",Vfe="[object WeakMap]",jfe="[object ArrayBuffer]",Hfe="[object DataView]",Ufe="[object Float32Array]",zfe="[object Float64Array
8001]",Gfe="[object Int8Array]",Wfe="[object Int16Array]",$fe="[object Int32Array]",qfe="[object Uint8Array]",Yfe="[object Uint8ClampedArray]",Kfe="[object Uint16Array]",Xfe="[object Uint32Array]",ti={};ti[Y4]=ti[Ife]=ti[jfe]=ti[Hfe]=ti[Afe]=ti[kfe]=ti[Ufe]=ti[zfe]=ti[Gfe]=ti[Wfe]=ti[$fe]=ti[Nfe]=ti[Ofe]=ti[X4]=ti[Ffe]=ti[Pfe]=ti[Lfe]=ti[Bfe]=ti[qfe]=ti[Yfe]=ti[Kfe]=ti[Xfe]=!0;ti[Rfe]=ti[K4]=ti[Vfe]=!1;function uw(t,i,e,n,r,o){var a,s=i&xfe,d=i&Sfe,p=i&Tfe;if(e&&(a=r?e(t,n,r,o):e(t)),a!==void 0)return a;if(!Cl(t))return t;var f=fc(t);if(f){if(a=N4(t),!s)return MG(t,a)}else{var b=vc(t),w=b==K4||b==Mfe;if(vm(t))return D4(t,s);if(b==X4||b==Y4||w&&!r){if(a=d||w?{}:H4(t),!s)return d?S4(t,_4(a,t)):x4(t,g4(a,t))}else{if(!ti[b])return r?t:{};a=j4(t,b,s)}}o||(o=new Yh);var A=o.get(t);if(A)return A;o.set(t,a),q4(t)?t.forEach(function(j){a.add(uw(j,i,e,j,t,o))}):G4(t)&&t.forEach(function(j,K){a.set(K,uw(j,i,e,K,t,o))});var M=p?d?T4:db:d?zh:Uh,J=f?void 0:M(t);return NG(J||t,function(j,K){J&&(K=j,j=t[K]),XE(a,K,uw(j,i,e,K,t,o))}),a}var Z4=uw;var Zfe=1,Qfe=4;
vendor: 3,244 bytes, line 8001
8001function Jfe(t){return Z4(t,Zfe|Qfe)}var ege=Jfe;var tge="__lodash_hash_undefined__";function nge(t){return this.__data__.set(t,tge),this}var Q4=nge;function ige(t){return this.__data__.has(t)}var J4=ige;function mw(t){var i=-1,e=t==null?0:t.length;for(this.__data__=new nw;++i<e;)this.add(t[i])}mw.prototype.add=mw.prototype.push=Q4;mw.prototype.has=J4;var e5=mw;function rge(t,i){for(var e=-1,n=t==null?0:t.length;++e<n;)if(i(t[e],e,t))return!0;return!1}var t5=rge;function oge(t,i){return t.has(i)}var n5=oge;var age=1,sge=2;function lge(t,i,e,n,r,o){var a=e&age,s=t.length,d=i.length;if(s!=d&&!(a&&d>s))return!1;var p=o.get(t),f=o.get(i);if(p&&f)return p==i&&f==t;var b=-1,w=!0,A=e&sge?new e5:void 0;for(o.set(t,i),o.set(i,t);++b<s;){var M=t[b],J=i[b];if(n)var j=a?n(J,M,b,i,t,o):n(M,J,b,t,i,o);if(j!==void 0){if(j)continue;w=!1;break}if(A){if(!t5(i,function(K,Te){if(!n5(A,Te)&&(M===K||r(M,K,e,n,o)))return A.push(Te)})){w=!1;break}}else if(!(M===J||r(M,J,e,n,o))){w=!1;break}}return o.delete(t),o.delete(i),w}var pw=lge;function cge(t){var i=-1,e=Array(t.size);return t.forEach(function(n,r){e[++i]=[r,n]}),e}var i5=cge;function dge(t){var i=-1,e=Array(t.size);return t.forEach(function(n){e[++i]=n}),e}var r5=dge;var uge=1,mge=2,pge="[object Boolean]",hge="[object Date]",fge="[object Error]",gge="[object Map]",_ge="[object Number]",bge="[object RegExp]",vge="[object Set]",yge="[object String]",Cge="[object Symbol]",Dge="[object ArrayBuffer]",Ege="[object DataView]",o5=Oa?Oa.prototype:void 0,iM=o5?o5.valueOf:void 0;function wge(t,i,e,n,r,o,a){switch(e){case Ege:if(t.byteLength!=i.byteLength||t.byteOffset!=i.byteOffset)return!1;t=t.buffer,i=i.buffer;case Dge:return!(t.byteLength!=i.byteLength||!o(new Xh(t),new Xh(i)));case pge:case hge:case _ge:return Vh(+t,+i);case fge:return t.name==i.name&&t.message==i.message;case bge:case yge:return t==i+"";case gge:var s=i5;case vge:var d=n&uge;if(s||(s=r5),t.size!=i.size&&!d)return!1;var p=a.get(t);if(p)return p==i;n|=mge,a.set(t,i);var f=pw(s(t),s(i),n,r,o,a);return a.delete(t),f;case Cge:if(iM)return iM.call(t)==iM.call(i)}return!1}var a5=wge;var xge=1,Sge=Object.prototype,Tge=Sge.hasOwnProperty;function Ige(t,i,e,n,r,o){var a=e&xge,s=db(t),d=s.length,p=db(i),f=p.length;if(d!=f&&!a)return!1;for(var b=d;b--;){var w=s[b];if(!(a?w in i:Tge.call(i,w)))return!1}var A=o.get(t),M=o.get(i);if(A&&M)return A==i&&M==t;var J=!0;o.set(t,i),o.set(i,t);for(var j=a;++b<d;){w=s[b];var K=t[w],Te=i[w];if(n)var tn=a?n(Te,K,w,i,t,o):n(K,Te,w,t,i,o);if(!(tn===void 0?K===Te||r(K,Te,e,n,o):tn)){J=!1;break}j||(j=w=="constructor")}if(J&&!j){var jt=t.constructor,Oi=i.constructor;jt!=Oi&&"constructor"in t&&"constructor"in i&&!(typeof jt=="function"&&jt instanceof jt&&typeof Oi=="function"&&Oi instanceof Oi)&&(J=!1)}return o.delete(t),o.delete(i),J}var s5=Ige;var Age=1,l5="[object Arguments]",c5="[object Array]",hw="[object Object]",kge=Object.prototype,d5=kge.hasOwnProperty;function Rge(t,i,e,n,r,o){var a=fc(t),s=fc(i),d=a?c5:vc(t),p=s?c5:vc(i);d=d==l5?hw:d,p=p==l5?hw:p;var f=d==hw,b=p==hw,w=d==p;if(w&&vm(t)){if(!vm(i))return!1;a=!0,f=!1}if(w&&!f)return o||(o=new Yh),a||JE(t)?pw(t,i,e,n,r,o):a5(t,i,d,e,n,r,o);if(!(e&Age)){var A=f&&d5.call(t,"__wrapped__"),M=b&&d5.call(i,"__wrapped__");
8001if(A||M){var J=A?t.value():t,j=M?i.value():i;return o||(o=new Yh),r(J,j,e,n,o)}}return w?(o||(o=new Yh),s5(t,i,e,n,r,o)):!1}var u5=Rge;function m5(t,i,e,n,r){return t===i?!0:t==null||i==null||!ca(t)&&!ca(i)?t!==t&&i!==i:u5(t,i,e,n,m5,r)}var p5=m5;function Mge(t,i){return p5(t,i)}var ub=Mge;var fw=(()=>{class t{constructor(){this.activeParentTracker=[]}rowClickHandler(e,n,r,o){this.selectionToggler(e,r,n,o)}toggleRowCollapse(e,n,r,o,a){typeof e[r]>"u"||(!e.childrenUpdated&&a?a(e).pipe(B(d=>{e[r]=d,e.childrenUpdated=!0,this.collapse(e,r,o,n)})).subscribe():this.collapse(e,r,o,n))}sort(e,n,r,o,a,s){return e=this.collapseRows(e,n),e=this.sortData(e,n,o,a,s),e=this.expandCollapsedRows(e,n,r),e.data}collapseRows(e,n){let r=[];return e.data.forEach(o=>{o[n]&&o[n].forEach(a=>{e.data.some(s=>ub(s,a))&&r.push(e.data.findIndex(s=>ub(s,a)))})}),e.data=this.removeFrom(e.data,r),e}expandCollapsedRows(e,n,r){return this.activeParentTracker.forEach(o=>{let a=e.data.findIndex(d=>!!d[n]&&d[r]===o),s=e.data.find(d=>d[n]&&d[r]===o);e.data=this.insertInto(e.data,a,s[n])}),e}selectAll(e,n){n.forEach(r=>e.select(r))}collapse(e,n,r,o){this.updateParentTracker(e,n,r),n!==""&&this.toggleChild(e,o,n)}toggleChild(e,n,r){if(e[r]&&e[r].length>0){let o=typeof e=="object"&&e!==null?n.data.findIndex(s=>ub(s,e)):n.data.indexOf(e),a=[];n.data.forEach(s=>{e[r].forEach(d=>{s===d&&a.push(n.data.indexOf(s))})}),a.length===0?n.data=this.insertInto(n.data,o,e[r]):n.data=this.removeFrom(n.data,a)}}insertInto(e,n,r){return r.forEach(o=>o._tableChild=!0),[...e.slice(0,n+1),...r,...e.slice(n+1)]}removeFrom(e,n){let r=0;return n.forEach(o=>{e.splice(o-r,1),r++}),e}selectionToggler(e,n,r,o){if(o?.shiftKey){if(n.toggle(e),n.selected.length===1)return;let a=n.selected[0],s=!1;r.data.forEach(d=>{d===e||d===a?s=!s:s&&n.toggle(d)})}else o?.ctrlKey||n.clear(),n.toggle(e)}updateParentTracker(e,n,r){if(e[n])if(this.activeParentTracker.includes(e[r])){let o=this.activeParentTracker.indexOf(e[r]);this.activeParentTracker.splice(o,1)}else this.activeParentTracker.push(e[r])}sortData(e,n,r,o=!0,a=!0){return a&&e.data.map(s=>{s[n]&&(s[n]=e.sortDataCore(s[n],r.active,r.direction))}),o&&(e.data=e.sortDataCore(e.data,r.active,r.direction)),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Oge(t,i){if(t&1&&(u(0,"mat-icon"),h(1),c()),t&2){let e=_();Be(jl("",e.hasProp?"colored-bundle-mat-icon":"colored-mat-icon"," material-icons-outlined")),l(),se(" ",e.hasProp?"folder_outline":"insert_drive_file_outline"," ")}}var rM=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-sn-mat-tree-table-row-icon"]],inputs:{showIcon:"showIcon",hasProp:"hasProp"},standalone:!1,decls:1,vars:1,consts:[[3,"class"]],template:function(n,r){n&1&&v(0,Oge,2,4,"mat-icon",0),n&2&&y(r.showIcon?0:-1)},dependencies:[zn],encapsulation:2})}}return t})();var h5=Si(Xr());var Qh=class t{transform(i,e){return this.resolveClasses(i[e.styleProp||""],e.stylePipeToken,e.stylePipeArgs,e.styleClass)}resolveClasses(i,e,n,r){return i&&e&&n&&r&&new bm().transform(i,e,[n])?r:""}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"resolveClass",type:t,pure:!0,standalone:!1})}};xn([(0,h5.default)()],Qh.prototype,"transform",null);var oM=(()=>{class t{transform(e,n){return e?e?.map(r=>{if(typeof r!="boolean"&&r.startsWith("row.")){let o=r.replace("row.","");return n[o]}return r}):[]}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"mapArgsToColumn",type:t,pure:!0,standalone:!1})}}return t})();var aM=(()=>{class t{transform(e,n){let{alternativeDataSource:r}=n;return r&&r.whenShouldUseAlternativeValue(e)?r.getAlternativeValue(e):this.getValueFromStandardSource(e,n)}getValueFromStandardSource(e,{column:n,pipeToken:r,pipeArgs:o}){let a=e[n];if(r){let s=new oM().transform(o,e);return new bm().transform(a,r,s)}return a}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"getProperValue",type:t,pure:!0,standalone:!1})}}return t})();var sM=(()=>{class t{transform(e,n,r,o){let a=r.arrayHoldingPropCount||"",s=r.arrayHoldingProp||"",d=e[a]||e[s]?.length||0,p=n.column===o&&e[s]!==void 0,f=r.bundleArrowIndicator!==void 0||n.column===o&&d===0;
8001return{"parent-highlight":p,"fill-arrow-space":f}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"matCellNgClass",type:t,pure:!0,standalone:!1})}}return t})();var lM=(()=>{class t{transform(e,n,r){let o=n.map(w=>w.id).includes(e.id),a=o&&(!!e._tableChild||!!e.virtual),s=a?!1:o&&!e._tableChild,d=!!e._tableChild,p=!!e[r||"bundleId"],f=e?.dateOfExecution||e?.executionDate||e?.date,b=!!f&&aD(new Date(f),new Date);return{highlighted:a,"bundle-highlighted":s,"children-highlight":d,"disposition-highlight":p,bold:b}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"matRowNgClass",type:t,pure:!0,standalone:!1})}}return t})();var f5=Si(Xr());var Jh=class t{transform(i){return i?.map(e=>`${e.attribute}: ${e.value};`).join(" ")||""}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"styleProperties",type:t,pure:!0,standalone:!1})}};xn([(0,f5.default)()],Jh.prototype,"transform",null);var Hge=["emptyItemForDragAndDrop"],Uge=["matHeaderRow"];function zge(t,i){if(t&1&&(u(0,"mat-header-cell",8),be(1,"styleProperties"),h(2),c()),t&2){let e=_().$implicit;S0(Fe(1,6,e.styleProperties)),Be(e.headerClass||"x-center"),g("disabled",!!e.disableSortHeader),l(2),se("",e.caption," ")}}function Gge(t,i){if(t&1&&(u(0,"mat-cell",9),be(1,"styleProperties"),be(2,"matCellNgClass"),x(3,"app-sn-mat-tree-arrow-button",10)(4,"app-sn-mat-tree-table-row-icon",11)(5,"app-sn-cell-item",12),be(6,"getProperValue"),be(7,"resolveClass"),c()),t&2){let e=i.$implicit,n=_().$implicit,r=_();S0(Fe(1,13,n.styleProperties)),Be(n.cellClass||"x-center"),g("ngClass",eI(2,15,e,n,r.tableProperties,r.firstColumn)),l(3),g("collapsed",r.treeTableService.activeParentTracker.includes(e[r.tableProperties.collapseBy===void 0?"":r.tableProperties.collapseBy]))("showIconButton",n.column===r.firstColumn&&(e[r.arrayHoldingPropCount]>0||(e[r.arrayHoldingProp]==null?null:e[r.arrayHoldingProp].length)>0)&&(r.tableProperties.bundleArrowIndicator??!0)),l(),g("hasProp",!!e[r.arrayHoldingProp]||e[r.arrayHoldingPropCount])("showIcon",n.column===r.firstColumn),l(),g("cellData",Dr(6,20,e,n))("itemClass",Dr(7,23,e,n))("propsCount",e[r.arrayHoldingPropCount]||(e[r.arrayHoldingProp]==null?null:e[r.arrayHoldingProp].length))("showNumberOfProps",n.column===r.firstColumn&&(e[r.arrayHoldingProp]!==void 0||e[r.arrayHoldingPropCount]!==void 0)&&e[r.arrayHoldingProp]!==null&&r.tableProperties.showNumberOfProps!==!1&&(e[r.arrayHoldingPropCount]>0||(e[r.arrayHoldingProp]==null?null:e[r.arrayHoldingProp].length)>0))}}function Wge(t,i){if(t&1&&(yn(0,3),fe(1,zge,3,8,"mat-header-cell",6)(2,Gge,8,26,"mat-cell",7),Cn()),t&2){let e=i.$implicit;g("matColumnDef",ri(e.column))}}function $ge(t,i){if(t&1&&x(0,"mat-header-row"),t&2){let e=_();Be(jl("",e.tableProperties.headerRowClass||"default-sticky"," sticky-header"))}}function qge(t,i){if(t&1){let e=Se();u(0,"mat-row",13),be(1,"matRowNgClass"),T("click",function(r){let o=te(e).$implicit,a=_();return ne(a.rowClickHandler(o,r))})("dblclick",function(r){let o=te(e).$implicit,a=_();return ne(a.collapseRow(o,r))})("contextmenu",function(r){let o=te(e).$implicit,a=_();return ne(a.contextMenuHandler(o,r))})("dragend",function(r){let o=te(e).$implicit,a=_();return ne(a.handleDragEnd(r,o))})("dragover",function(r){let o=te(e).$implicit,a=_();return ne(a.handleDragOver(r,o))})("dragstart",function(r){let o=te(e).$implicit,a=_();return ne(a.handleDragStart(r,o))})("drop",function(r){let o=te(e).$implicit,a=_();return ne(a.handleDrop(r,o))}),c()}if(t&2){let e=i.$implicit,n=_();ee("read-only",!n.isSelectable()),g("ngClass",ap(1,4,e,n.selection.selected,n.tableProperties.bundleItemHighlight))("draggable",!!(n.tableProperties.draggable!=null&&n.tableProperties.draggable.enable)&&(n.excludeRowsBy?!!e[n.excludeRowsBy]:!0))}}var Yge=(()=>{class t{constructor(e,n){this.treeTableService=e,this.changeDetector=n,this.rowClickEventIndicator=new V,this.handleDragEndEvent=new V,this.handleDragOverEvent=new V,this.handleDragStartEvent=new V,this.handleDropEvent=new V,this.dataSource=new ka,this.displayedColumns=[],this.firstColumn="",this.resultsLength=0,this.arrayHoldingProp="",this.arrayHoldingPropCount="",this.excludeRowsBy="",this.matSortDirection="",this.selection=new mr(!0,[]),this.matSortActive="",this.isTableActive=!0}get tableProperties(){return this._tableProperties}set tableProperties(e){e&&(this._tableProperties=this.processData(e),this.matSortDirection=e.matSortDirection||"",this.matSortActive=e.matSortActive||"",this.excludeRowsBy=e.draggable?.excludeRowsBy?e.draggable?.excludeRowsBy:"")}handleKeyboardEvent(e){this.isTableActive&&this.isSelectable()&&e.ctrlKey&&e.key==="a"&&!this.isSameDataSelected()&&(this.treeTableService.selectAll(this.selection,this.dataSource.data),this.rowClickEventIndicator.emit(),e.preventDefault())}ngOnDestroy(){this.selection.clear(),this.treeTableService.activeParentTracker=[]}
8001ngOnInit(){this.dataSource.filterPredicate=(e,n)=>{let r=this.tableProperties.arrayHoldingProp?this.tableProperties.arrayHoldingProp:"",o=this.tableProperties.collapseBy?this.tableProperties.collapseBy:"";return e[o].includes(n)||!!e[r]}}rowClickHandler(e,n){if(!this.isSelectable()){this.handleRowClickEvent(e,n);return}let r=n.shiftKey,o=n.ctrlKey||n.metaKey,a=this.dataSource.data.indexOf(e);r&&this.lastSelectedIndex!==void 0?this.handleShiftSelection(a):o?this.handleCtrlSelection(e,a):this.handleSingleSelection(e,a),this.handleRowClickEvent(e,n)}collapseRow(e,n){"expandable"in this.tableProperties&&this.tableProperties.expandable===!1||(this.treeTableService.toggleRowCollapse(e,this.dataSource,this.arrayHoldingProp,this.tableProperties.collapseBy,this.tableProperties.updateChildFn),this.rowClickEventIndicator.emit(n))}showSortChange(e){this.matSortDirection=e.direction,this.matSortActive=e.active,this.dataSource.data=this.treeTableService.sort(this.dataSource,this.tableProperties.arrayHoldingProp,this.tableProperties.sortParentId,e,this.tableProperties.sortParents,this.tableProperties.sortChildren)}setDataSourceData(e,n=!1){this.clearSelection(),n||(this.treeTableService.activeParentTracker=[]),this.dataSource.data=e,n&&this.recollapseRows()}setResultsLength(e){this.tableProperties.isPaginationEnabled!==void 0&&this.tableProperties.isPaginationEnabled&&(this.resultsLength=e)}clearSelection(){this.selection.clear()}recollapseRows(){setTimeout(()=>{let e=this.tableProperties.arrayHoldingProp?this.tableProperties.arrayHoldingProp:"",n=this.tableProperties.collapseBy?this.tableProperties.collapseBy:"";this.dataSource=this.treeTableService.collapseRows(this.dataSource,e),this.dataSource=this.treeTableService.expandCollapsedRows(this.dataSource,e,n)})}collapseRows(){let e=this.tableProperties.arrayHoldingProp?this.tableProperties.arrayHoldingProp:"";this.treeTableService.activeParentTracker=[],this.dataSource=this.treeTableService.collapseRows(this.dataSource,e)}expandRows(){if(this.tableProperties.sortParentId){let e=this.tableProperties.arrayHoldingProp?this.tableProperties.arrayHoldingProp:"",n=this.tableProperties.collapseBy?this.tableProperties.collapseBy:"",r=this.dataSource.data.filter(o=>o[e]);this.treeTableService.activeParentTracker=r.map(o=>o[n]),this.dataSource=this.treeTableService.expandCollapsedRows(this.dataSource,e,this.tableProperties.sortParentId)}}find(e){let n=this.tableProperties.arrayHoldingProp?this.tableProperties.arrayHoldingProp:"",r=this.tableProperties.collapseBy?this.tableProperties.collapseBy:"",o=this.dataSource.data.filter(a=>a[n]);this.treeTableService.activeParentTracker=o.map(a=>a[r]),this.recollapseRows(),this.dataSource.filter=e,setTimeout(()=>this.collapseRowsWithEmptySearchRecords(o),50)}contextMenuHandler(e,n){return this.rowClickHandler(e,n),!1}handleDragStart(e,n){e.dataTransfer?.setData("foo","bar"),e.dataTransfer?.setDragImage(this.emptyItemForDragAndDrop?.nativeElement,0,0),this.handleDragStartEvent.emit(n)}handleDragOver(e,n){e.preventDefault(),this.handleDragOverEvent.emit({event:e,row:n})}handleDrop(e,n){e.preventDefault(),this.handleDropEvent.emit(n)}handleDragEnd(e,n){this.handleDragEndEvent.emit(n)}setTableInactive(){this.isTableActive=!1}setTableActive(){this.isTableActive=!0}isSelectable(){return this.tableProperties.selectable!==!1}isSameDataSelected(){return this.dataSource.data.filter(n=>!this.selection.selected.some(r=>n.id===r.id)).length<=0}handleShiftSelection(e){let n=Math.min(this.lastSelectedIndex,e),r=Math.max(this.lastSelectedIndex,e);this.selection.clear();for(let o=n;o<=r;o++)this.selection.select(this.dataSource.data[o])}handleCtrlSelection(e,n){this.selection.isSelected(e)?this.selection.deselect(e):this.selection.select(e),this.lastSelectedIndex=n}handleSingleSelection(e,n){this.selection.clear(),this.selection.select(e),this.lastSelectedIndex=n}handleRowClickEvent(e,n){n&&this.isCollapsedButtonClicked(n)?this.collapseRow(e,n):this.rowClickEventIndicator.emit(n)}isCollapsedButtonClicked(e){return e?.target?.parentElement?.classList.contains(XR)}collapseRowsWithEmptySearchRecords(e){let n=this.tableProperties.collapseBy?this.tableProperties.collapseBy:"",r=this.dataSource.filteredData,o;r.forEach((a,s)=>{e.includes(a)&&(e.includes(o)&&this.treeTableService.activeParentTracker.splice(this.treeTableService.activeParentTracker.indexOf(o[n]),1),s+1===r.length&&this.treeTableService.activeParentTracker.splice(this.treeTableService.activeParentTracker.indexOf(a[n]),1)),o=a}),this.changeDetector.markForCheck()}processData(e){if(e.columnSettings!==void 0){this.displayedColumns=[],e.columnSettings.forEac
8001h(r=>{this.displayedColumns.push(r.column)}),this.firstColumn=this.displayedColumns[0];let n=this.dataSource.data;this.dataSource.data=[],this.setDataSourceData(n)}return e.arrayHoldingProp!==void 0&&(this.arrayHoldingProp=e.arrayHoldingProp),e.arrayHoldingPropCount!==void 0&&(this.arrayHoldingPropCount=e.arrayHoldingPropCount),e.matSortDirection&&(e.matSortDirection=e.matSortDirection),e}static{this.\u0275fac=function(n){return new(n||t)(E(fw),E(Ee))}}static{this.\u0275cmp=k({type:t,selectors:[["app-sn-mat-tree-table"],["sn-mat-tree-table"]],viewQuery:function(n,r){if(n&1&&ve(Hge,5)(Uge,5),n&2){let o;H(o=U())&&(r.emptyItemForDragAndDrop=o.first),H(o=U())&&(r.matHeaderRow=o.first)}},hostBindings:function(n,r){n&1&&T("keydown",function(a){return r.handleKeyboardEvent(a)},$o)},inputs:{tableProperties:"tableProperties"},outputs:{rowClickEventIndicator:"rowClickEventIndicator",handleDragEndEvent:"handleDragEndEvent",handleDragOverEvent:"handleDragOverEvent",handleDragStartEvent:"handleDragStartEvent",handleDropEvent:"handleDropEvent"},standalone:!1,decls:8,vars:10,consts:[["emptyItemForDragAndDrop",""],["onselectstart","return false","onselect","return false;",1,"sn-mat-tree-table"],["matSort","",3,"matSortChange","dataSource","matSortDirection","matSortActive","matSortDisableClear"],[3,"matColumnDef"],[3,"class",4,"matHeaderRowDef"],[3,"ngClass","read-only","draggable","click","dblclick","contextmenu","dragend","dragover","dragstart","drop",4,"matRowDef","matRowDefColumns"],["mat-sort-header","",3,"disabled","class","style",4,"matHeaderCellDef"],[3,"ngClass","class","style",4,"matCellDef"],["mat-sort-header","",3,"disabled"],[3,"ngClass"],[3,"collapsed","showIconButton"],[3,"hasProp","showIcon"],[3,"cellData","itemClass","propsCount","showNumberOfProps"],[3,"click","dblclick","contextmenu","dragend","dragover","dragstart","drop","ngClass","draggable"]],template:function(n,r){n&1&&(u(0,"div",1)(1,"mat-table",2),T("matSortChange",function(a){return r.showSortChange(a)}),He(2,Wge,3,2,"ng-container",3,at),fe(4,$ge,1,3,"mat-header-row",4)(5,qge,2,8,"mat-row",5),c()(),x(6,"span",null,0)),n&2&&(l(),Be(r.tableProperties.tableClasses||"mat-elevation-z8"),g("matSortActive",ri(r.matSortActive))("matSortDisableClear",ri(r.tableProperties.matSortDisableClear?r.tableProperties.matSortDisableClear:!1))("dataSource",r.dataSource)("matSortDirection",r.matSortDirection),l(),Ue(r.tableProperties.columnSettings),l(2),g("matHeaderRowDef",r.displayedColumns),l(),g("matRowDefColumns",r.displayedColumns))},dependencies:[cr,Zs,Js,il,el,Qs,rl,tl,nl,ol,al,Ir,Xs,KR,rM,ZR,Qh,aM,sM,lM,Jh],styles:[`.sn-mat-tree-table{width:100%;overflow-x:auto}.sn-mat-tree-table .above{background:#deb887;border:1px solid burlywood}.sn-mat-tree-table .below{background:#8a2be2;border:1px solid blueviolet}.sn-mat-tree-table .center{background:#f0f;border:1px solid fuchsia}.sn-mat-tree-table mat-table{width:fit-content;min-width:100%;max-width:1350px}.sn-mat-tree-table mat-table mat-header-cell:first-of-type.fill-arrow-space{padding:0 4px 0 38px}.sn-mat-tree-table mat-table mat-row{transition:all .1s ease-out;min-height:35px}.sn-mat-tree-table mat-table mat-row.shine{background-color:#ff0}.sn-mat-tree-table mat-table mat-row.bundle-highlight{background-color:#daa94d2a}.sn-mat-tree-table mat-table mat-row.disposition-highlight mat-cell:first-of-type{padding-left:38px}.sn-mat-tree-table mat-table mat-row.children-highlight{margin-left:20px}.sn-mat-tree-table mat-table mat-row.children-highlight mat-cell:first-of-type{padding-left:33px!important}.sn-mat-tree-table mat-table mat-row.children-highlight:not(:has(+.children-highlight)){box-shadow:0 4px 6px -4px #0000001a;margin-bottom:20px}.sn-mat-tree-table mat-table mat-row.children-highlight:not(:has(+.children-highlight))+*{border-top:1px solid #e0e0e0}.sn-mat-tree-table mat-table mat-row:hover{cursor:pointer;background-color:#0000000d}.sn-mat-tree-table mat-table mat-row.read-only:hover{cursor:default;background-color:transparent}.sn-mat-tree-table mat-table mat-row.highlighted{border:1px solid #0099ff;background-color:#0099ff0d}.sn-mat-tree-table mat-table mat-row.bundle-highlighted{border:.5px solid #e7a236;background-color:#e7a2360d}.sn-mat-tree-table mat-table mat-row .colored-mat-icon{color:#09f}.sn-mat-tree-table mat-table mat-row .colored-bundle-mat-icon{color:#e7a236}.sn-mat-tree-table mat-table mat-row .parent-highlight{padding-right:42px}.sn-mat-tree-table mat-table mat-row mat-cell:first-of-type.fill-arrow-space{padding:0 4px 0 48px}.sn-mat-tree-table mat-cell span{overflow:hidden;width:auto;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:column;justify-content:center;align-content:space-around}.sn-mat-tree-table mat-cell span:hover{text-overflow:clip;white-space:normal;word-break:break-all}.sn-mat-tree-table mat-cell span .number-of-props{font-style:italic;font-size:8pt;color:gray}.sn-mat-tree-table mat-header-cell,.sn-mat-tree-table mat-cell{min-width:100px}.sn-mat-tree-table mat-header-cell:not(:first-of-type):not(:last-of-type),.sn-mat-tree-table mat-cell:not(:first-of-type):not(:last-of-type){padding:0 .25rem}.sn-mat-tree-table mat-header-cell:first-of-type,.sn-mat-tree-table mat-cell:first-of-type{padding-right:.25rem}.sn-mat-tree-table mat-header-cell:last-of-type,.sn-mat-tree-table mat-cell:last-of-type{padding-left:.25rem}.sn-mat-tree-table mat-cell:first-of-type{padding-left:0}.sn-mat-tree-table .bold{font-weight:700}.sn-mat-tree-table .red{color:red}.sn-mat-tree-table .italic{font-style:italic}.sn-mat-tree-table .x-start .mat-sort-header-button{text-align:left}.sn-mat-tree-table .x-start{justify-content:flex-start;text-align:left}.sn-mat-tree-table .x-center .mat-sort-header-button{text-align:center}.sn-mat-tree-table .x-center{justify-content:center;text-align:center}.sn-mat-tree-table .x-end .mat-sort-header-button{text-align:right}.sn-mat-tree-table .x-end{justify-content:flex-end;text-align:right}.sn-mat-tree-table .y-start .mat-sort-header-button{text-align:left}.sn-mat-tree-table .y-start{align-items:flex-start;text-align:left}.sn-mat-tree-table .y-center .mat-sort-header-button{text-align:center}.sn-mat-tree-table .y-center{align-items:center;text-align:center}.sn-mat-tree-table .y-end .mat-sort-header-button{text-align:right}.sn-mat-tree-table .y-end{align-items:flex-end;text-align:right}.sn-mat-tree-table .at-span-margin-left span{margin-left:17px}.sn-mat-tree-table .remain-text-ellipsis mat-cell span:hover{text-overflow:ellipsis!important;white-space:nowrap!important}
8002`],encapsulation:2,changeDetection:0})}}return t})();var Kge=[Yc,A_,E_,I_,_o],Xge=[fw],cM=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Y({providers:[Xge],imports:[Kge]})}}return t})();var Zge=["*"];function Qge(t,i){if(t&1&&(u(0,"mat-icon"),h(1),c()),t&2){let e=_();l(),S(e.icon)}}var g5=(()=>{class t{constructor(){this.mainButtonName="",this.loading=!1,this.disabled=!1}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-button-menu"]],inputs:{themeType:"themeType",mainButtonName:"mainButtonName",loading:"loading",icon:"icon",disabled:"disabled"},standalone:!1,ngContentSelectors:Zge,decls:6,vars:6,consts:[["menu","matMenu"],["mat-raised-button","",3,"color","matMenuTriggerFor","disabled","loading"]],template:function(n,r){if(n&1&&(Ie(),u(0,"button",1),v(1,Qge,2,1,"mat-icon"),h(2),c(),u(3,"mat-menu",null,0),re(5),c()),n&2){let o=ye(4);g("color",r.themeType)("matMenuTriggerFor",o)("disabled",r.disabled)("loading",r.loading),l(
8002),y(r.icon?1:-1),l(),se(" ",r.mainButtonName,`
8003`)}},dependencies:[qn,zn,Ks,hd,ac],encapsulation:2})}}return t})();var dM=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-close-icon-button"]],standalone:!1,decls:3,vars:1,consts:[["mat-icon-button","",1,"close-button",3,"mat-dialog-close"],[1,"close-icon"]],template:function(n,r){n&1&&(u(0,"button",0)(1,"mat-icon",1),h(2,"close"),c()()),n&2&&g("mat-dialog-close",!0)},dependencies:[fr,WC,zn],styles:[".close-button[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px}"]})}}return t})();var e_e=["*"],t_e=(t,i,e,n)=>({classic:t,"classic-font-colored":i,"colored-background":e,"colored-background-thick":n});function n_e(t,i){if(t&1&&(u(0,"mat-icon",1),h(1),c()),t&2){let e=_();l(),S(e.icon)}}var i_e=(()=>{class t{constructor(){this.disabled=!1,this.loading=!1,this.thick=!1,this.clickAction=new V}click(){this.clickAction.emit()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-select-button"]],inputs:{themeType:"themeType",disabled:"disabled",loading:"loading",thick:"thick",icon:"icon"},outputs:{clickAction:"clickAction"},standalone:!1,ngContentSelectors:e_e,decls:3,vars:10,consts:[["mat-raised-button","",3,"click","disabled","loading","color","ngClass"],[1,"icon-margin-right"]],template:function(n,r){n&1&&(Ie(),u(0,"button",0),T("click",function(){return r.click()}),v(1,n_e,2,1,"mat-icon",1),re(2),c()),n&2&&(g("disabled",r.disabled)("loading",r.loading)("color",r.themeType)("ngClass",JT(5,t_e,r.themeType==="primary",r.themeType==="accent",r.themeType==="warn",r.themeType==="warn"&&r.thick)),l(),y(r.icon?1:-1))},dependencies:[qn,zn,cr,ac],styles:["button[_ngcontent-%COMP%]{width:110px;border-radius:50px;opacity:1;letter-spacing:0}.classic[_ngcontent-%COMP%]{border:1px solid #E6E6E6;box-shadow:none;color:#000}.classic-font-colored[_ngcontent-%COMP%]{height:30px;border:1px solid #E6E6E6;box-shadow:none;color:#c81b1e}.colored-background[_ngcontent-%COMP%]{height:30px;color:#fff}.colored-background-thick[_ngcontent-%COMP%]{height:60px;color:#fff}"]})}}return t})();function r_e(t,i){if(t&1&&(u(0,"mat-label",1),h(1),c()),t&2){let e=_();l(),se("",e.labelName,":")}}function o_e(t,i){if(t&1&&(u(0,"mat-checkbox",2),h(1),c()),t&2){let e=i.$implicit;g("formControl",e.control),l(),se(" ",e.name," ")}}var a_e=(()=>{class t{constructor(){this.checkboxes=[]}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-filtering-checkboxes"]],inputs:{labelName:"labelName",checkboxes:"checkboxes"},standalone:!1,decls:4,vars:1,consts:[[1,"filtering-checkboxes"],[1,"label"],["color","warn",1,"checkbox",3,"formControl"]],template:function(n,r){n&1&&(u(0,"div",0),v(1,r_e,2,1,"mat-label",1),He(2,o_e,2,2,"mat-checkbox",2,at),c()),n&2&&(l(),y(r.labelName?1:-1),l(),Ue(r.checkboxes))},dependencies:[qe,ir,Xe,$e],styles:[".filtering-checkboxes[_ngcontent-%COMP%]{display:flex;flex-direction:row;place-content:center flex-start;align-items:center;padding-bottom:1.5rem}.filtering-checkboxes[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{margin-right:1rem}.filtering-checkboxes[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]:not(:last-of-type){margin-right:1rem}"]})}}return t})();var yc=(function(t){return t.CREATE_CHECKBOX="createContractorFC",t.SHORT_NAME="contractorShortNameFC",t.FOR_CURRENT_LOGIN_ONLY_CHECKBOX="contractorOnlyForLoginFC",t})(yc||{});var zd=(()=>{class t{constructor(e,n,r,o){this.contractorService=e,this.parameterService=n,this.transferService=r,this.contractorSaveUpdateService=o,this.SHORT_NAME=yc.SHORT_NAME,this.ONLY_FOR_LOGIN=yc.FOR_CURRENT_LOGIN_ONLY_CHECKBOX,this.CREATE=yc.CREATE_CHECKBOX,this.getParameters()}validateContractorExistence(e,n){return this.checkIfContractorExists(e,n).pipe(W(r=>r?P(!1):this.transferService.openDialogPromptAboutAddingNewContractor()),B(r=>{r&&this.enableContractorInput(n)}))}saveContractor(e,n,r){if(!this.getContractorFC(r,this.CREATE)?.value)return P(!1);let o=this.prepareContractor(e,n,r);return this.contractorSaveUpdateService.saveContractor(o)}enableContractorInput(e){this.getContractorFC(e,this.CREATE)?.patchValue(!0),this.getContractorFC(e,this.SHORT_NAME)?.enable(),this.getContractorFC(e,this.ONLY_FOR_LOGIN)?.enable(),e.updateValueAndValidity(),this.getContractorFC(e,this.SHORT_NAME)?.markAsTouched()}toggleContractorOption(e){this.getContractorFC(e,this.CREATE)?.value?this.enableContractorInput(e):this.disableContractorInput(e)}getContractorFC(e,n){return e.get(n)}getParameters(){this.parameterService.getParameter(wt.TRANSFER_CHECK_RECIPIENT).subscribe(e=>{this.isCheckRecipientEnabledFromConfiguration=e})}
8003checkIfContractorExists(e,n){return this.isCheckRecipientEnabledFromConfiguration&&this.getContractorFC(n,this.SHORT_NAME)?.disabled?this.contractorService.checkIfContractorExistsByAccount(e):P(!0)}disableContractorInput(e){this.getContractorFC(e,this.SHORT_NAME)?.disable(),this.getContractorFC(e,this.ONLY_FOR_LOGIN)?.disable(),e.updateValueAndValidity(),e.reset()}setForeignTransferData(e,n){e.bic=n.bank.bic,e.bank1=n.bank.bankName,e.bank2=n.bank.address,e.bank3=n.bank.city,e.bank4=n.bank.country}prepareContractor(e,n,r){let o={targetAccount:e.targetAccount,name1:e.name1,name2:e.name2,address1:e.address1,address2:e.address2,shortName:this.getContractorFC(r,this.SHORT_NAME)?.value,onlyForLoggedUser:this.getContractorFC(r,this.ONLY_FOR_LOGIN)?.value||!1,type:n,checkIban:!1};return n===ct.FOREIGN_TRANSFER&&this.setForeignTransferData(o,e),o}static{this.\u0275fac=function(n){return new(n||t)(F(br),F(qr),F(Lo),F(Th))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function s_e(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.contractorShortNameErrorMessage())}}var gw=(()=>{class t{constructor(e,n){this.userFacadeService=e,this.contractorTransferSaveService=n,this.contractorsApiService=m(oE),this.contractorShortNameErrorMessage=Z(""),this.destroyRef=m(dn),this.toggleContractor=new V,this.CONTRACTOR_MAX_LENGTH=20,this.isCreateContractorCheckBoxDisabled=!1,this.createContractorFC=new z(!1),this.contractorShortNameFC=new z("",[G.required,G.maxLength(this.CONTRACTOR_MAX_LENGTH),G.pattern(ue.namePattern)]),this.contractorOnlyForLoginFC=new z(!1),ut(this.contractorShortNameFC.statusChanges,this.contractorShortNameFC.valueChanges).pipe(hn()).subscribe(()=>this.updateContractorShortNameErrorMessage())}updateContractorShortNameErrorMessage(){this.contractorShortNameFC.hasError("required")?this.contractorShortNameErrorMessage.set("Skr\xF3t nazwy kontrahenta jest wymagany"):this.contractorShortNameFC.hasError("email")?this.contractorShortNameErrorMessage.set(wh):this.contractorShortNameFC.hasError("exists")?this.contractorShortNameErrorMessage.set("Podany kontrahent ju\u017C istnieje"):this.contractorShortNameErrorMessage.set("")}toggleContractorOption(){this.contractorTransferSaveService.toggleContractorOption(this.contractorFG),this.toggleContractor.emit()}ngOnInit(){this.initForm(),this.contractorShortNameFC.valueChanges.pipe(hn(this.destroyRef),Al(1),hi(500),It(),W(e=>this.contractorsApiService.existsBy(e)),ae(e=>e),B(()=>{this.contractorShortNameFC.setErrors({exists:!0})})).subscribe()}initForm(){this.contractorShortNameFC.disable(),this.contractorOnlyForLoginFC.disable(),this.contractorFG.setControl(yc.CREATE_CHECKBOX,this.createContractorFC),this.contractorFG.setControl(yc.SHORT_NAME,this.contractorShortNameFC),this.contractorFG.setControl(yc.FOR_CURRENT_LOGIN_ONLY_CHECKBOX,this.contractorOnlyForLoginFC),this.isCreateContractorCheckBoxDisabled=!this.userFacadeService.hasAuthorities([Ut.FUNC_CONTRACTORS_EDIT])}static{this.\u0275fac=function(n){return new(n||t)(E(wi),E(zd))}}static{this.\u0275cmp=k({type:t,selectors:[["app-create-contractor-input"]],inputs:{contractorFG:"contractorFG"},outputs:{toggleContractor:"toggleContractor"},standalone:!1,decls:10,vars:6,consts:[[1,"flex-col"],[3,"change","formControl","disabled"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","","type","text","required","",3,"formControl","maxlength"],[3,"formControl"]],template:function(n,r){n&1&&(u(0,"mat-card-content",0)(1,"mat-checkbox",1),T("change",function(){return r.toggleContractorOption()}),h(2," Automatycznie stw\xF3rz kontrahenta "),c(),u(3,"mat-form-field",2)(4,"mat-label"),h(5,"Skr\xF3t nazwy kontrahenta"),c(),x(6,"input",3),v(7,s_e,2,1,"mat-error"),c(),u(8,"mat-checkbox",4),h(9,"Kontrahent dost\u0119pny tylko dla tego loginu "),c()()),n&2&&(l(),g("formControl",r.createContractorFC)("disabled",r.isCreateContractorCheckBoxDisabled),l(5),g("formControl",r.contractorShortNameFC)("maxlength",r.CONTRACTOR_MAX_LENGTH),l(),y(r.contractorShortNameFC.invalid?7:-1),l(),g("formControl",r.contractorOnlyForLoginFC))},dependencies:[Ve,qe,St,VC,ir,et,Je,Xe,mn,Bi,$e,Bt],styles:["[_nghost-%COMP%]{display:block}",".flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();function l_e(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.targetAccountFC.getError("invalidIban"))}}function c_e(t,i){t&1&&(u(0,"mat-error"),h(1,"Niepoprawny numer rachunku"),c())}
8003function d_e(t,i){t&1&&(u(0,"mat-error"),h(1,"Brak kodu kraju. Dopisz kod kraju do numer rachunku lub wybierz kraj z listy"),c())}function u_e(t,i){t&1&&(u(0,"mat-error"),h(1,"Nieprawid\u0142owa d\u0142ugo\u015B\u0107 IBANu dla wybranego kraju"),c())}function m_e(t,i){t&1&&(u(0,"mat-error"),h(1,"Kraj IBANu nie odpowiada kodowi BIC"),c())}function p_e(t,i){if(t&1&&(u(0,"span",4),h(1),c()),t&2){let e=_();l(),se(" ",e.TARGET_ACCOUNT_PASTED)}}var ef=(()=>{class t{constructor(){this.bankName="",this.buttonClickAction=new V,this.TARGET_ACCOUNT_PASTED=eE,this.IBAN_MAX_LENGTH=35,this.targetAccountPasted=!1,this.contractorBtnDisable=!1}openContractorsDialog(){this.targetAccountPasted=!1,this.buttonClickAction.emit()}pressKey(){this.targetAccountPasted=!1}ngOnInit(){this.contractorBtnDisable=this.dialogMode===Me.IMPORT||this.dialogMode===Me.EDIT}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-target-account-input"]],inputs:{targetAccountFC:"targetAccountFC",allLayoutFG:"allLayoutFG",bankName:"bankName",dialogMode:"dialogMode"},outputs:{buttonClickAction:"buttonClickAction"},standalone:!1,decls:19,vars:11,consts:[[1,"flex-row","justify-between","items-center","gap-20"],["appearance","outline",1,"flex-85"],["autocomplete","off","matInput","","required","","type","text",3,"paste","keydown","formControl","maxlength"],[3,"targetAccount"],[1,"red-hint"],[1,"blue-hint"],[1,"view-button"],["mat-raised-button","",3,"click","disabled"]],template:function(n,r){n&1&&(u(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),h(3,"Rachunek"),c(),u(4,"input",2),T("paste",function(){return r.targetAccountPasted=!0})("keydown",function(){return r.pressKey()}),c(),v(5,l_e,2,1,"mat-error"),v(6,c_e,2,0,"mat-error"),v(7,d_e,2,0,"mat-error"),v(8,u_e,2,0,"mat-error"),v(9,m_e,2,0,"mat-error"),u(10,"mat-error"),x(11,"app-target-account-error",3),c(),u(12,"mat-hint"),v(13,p_e,2,1,"span",4),u(14,"span",5),h(15),c()()(),u(16,"div",6)(17,"button",7),T("click",function(){return r.openContractorsDialog()}),h(18,"Przegl\u0105daj"),c()()()),n&2&&(l(4),g("formControl",r.targetAccountFC)("maxlength",r.IBAN_MAX_LENGTH),l(),y(r.targetAccountFC.hasError("invalidIban")?5:-1),l(),y(r.targetAccountFC.hasError("incorrectIban")?6:-1),l(),y(r.targetAccountFC.hasError("noCountrySpecified")?7:-1),l(),y(r.targetAccountFC.hasError("incorrectLength")?8:-1),l(),y(r.targetAccountFC.hasError("ibanCountryCodeDoesNotMatchBic")?9:-1),l(2),g("targetAccount",r.targetAccountFC),l(2),y(r.targetAccountPasted?13:-1),l(2),se(" ",r.bankName),l(2),g("disabled",r.contractorBtnDisable))},dependencies:[Ve,qe,ra,St,qn,et,Je,Xe,mn,Bi,$e,Bt,mc],styles:["[_nghost-%COMP%]{display:block}.view-button[_ngcontent-%COMP%]{height:60px;margin-top:5px}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.items-center[_ngcontent-%COMP%]{align-items:center}.gap-20[_ngcontent-%COMP%]{gap:20px}.flex-85[_ngcontent-%COMP%]{flex:1 1 85%;max-width:85%;box-sizing:border-box}"]})}}return t})();function f_e(t,i){t&1&&(u(0,"span"),h(1,"Pole nie mo\u017Ce by\u0107 puste"),c())}var g_e=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.minDate=new Date,this.dateFormat=je,this.details=[],this.ButtonLabels=tt,this.newExecutionDateFC=new z}ngOnInit(){this.newExecutionDateFC.setValue($t(new Date,je)),this.newExecutionDateFC.setValidators(G.required),this.minDate=An(new Date),this.details=this.data.details}cancelAction(){this.dialogRef.close("")}resetAction(){this.newExecutionDateFC.setValue(null)}confirmAction(){this.dialogRef.close(En.formatDate(this.newExecutionDateFC.value))}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-check-date-dialog"]],standalone:!1,decls:16,vars:9,consts:[["resultPicker",""],[1,"flex-col","gap-05rem"],[1,"message-wrapper"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","","placeholder","Podaj date","required","","readonly","",3,"formControl","matDatepicker","min"],["matSuffix","",3,"for"],["disabled","false"],[3,"cancelAction","resetAction","confirmAction","confirmDisabled","buttonLabelConfirm"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content",1)(4,"h4",2),h(5),c(),u(6,"mat-form-field",3)(7,"mat-label"),h(8,"Data wykonania"),c(),x(9,"input",4)(10,"mat-datepicker-toggle",5)(11,"mat-datepicker",6,0),u(13,"mat-error"),v(14,f_e,2,0,"span"),c()()(),u(15,"app-action-buttons-panel",7),T("cancelAction",function(){return r.cancelAction()})("resetAction",function(){return r.resetAction()})("confirmAction",function(){return r.confirmAction()}),c()()),n&2){let o=ye(12);l(2),S(r.data.title),l(3),S(r.data.message),l(4),g("formControl",r.newExecutionDateFC)("matDatepicker",o)("min",r.minDate),l(),g("for",o),l(4),y(r.
8003newExecutionDateFC.hasError("required")?14:-1),l(),g("confirmDisabled",r.newExecutionDateFC.invalid)("buttonLabelConfirm",r.ButtonLabels.OK)}},dependencies:[Ve,qe,St,Pn,zi,pi,Ri,et,Mt,Nt,Ot,Je,Xe,mn,$e,Bt,Tt],styles:[".flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}",".gap-05rem[_ngcontent-%COMP%]{gap:.5rem}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var __e=t=>({"basic-table-row-highlight":t});function b_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Skr\xF3t nazwy"),c())}function v_e(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.shortName)}}function y_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Nazwa"),c())}function C_e(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.name1)}}function D_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Rachunek"),c())}function E_e(t,i){if(t&1&&(u(0,"mat-cell",37),be(1,"ibanFormatPipe"),u(2,"span"),h(3),be(4,"ibanFormatPipe"),c()()),t&2){let e=i.$implicit;g("matTooltip",ri(Fe(1,3,e.targetAccount))),l(3),S(Fe(4,5,e.targetAccount))}}function w_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Typ kontrahenta"),c())}function x_e(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),be(3,"contractorTypePipe"),c()()),t&2){let e=i.$implicit;l(2),S(Fe(3,1,e.type))}}function S_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Grupa"),c())}function T_e(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.group)}}function I_e(t,i){t&1&&x(0,"mat-header-row",38)}function A_e(t,i){if(t&1){let e=Se();u(0,"mat-row",39),T("click",function(r){let o=te(e).$implicit,a=_();return ne(a.rowClickHandler(o,r))}),c()}if(t&2){let e=i.$implicit,n=_();g("ngClass",lo(1,__e,n.selection.selected.includes(e)))}}var Fa=(()=>{class t extends HR{constructor(e,n,r,o,a,s,d,p,f){super(e,n,r,o,d,a,p),this.contractorService=e,this.userFacadeService=n,this.formBuilder=r,this.notificationService=o,this.dialog=a,this.dialogRef=s,this.storage=d,this.spinnerService=p,this.dialogData=f}ngOnInit(){super.ngOnInit(),this.contractorsParameters=this.getContractorsSearchParams(this.dialogData.message),this.refreshData().subscribe(),this.filterExpansionPanel.close()}confirmChoice(){this.dialogRef.close(this.selection.selected[0])}cancelChoice(){this.dialogRef.close()}static{this.\u0275fac=function(n){return new(n||t)(E(br),E(wi),E(Vi),E(Le),E(mt),E(Ze),E(Ra),E($r),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-contractor-dialog"]],standalone:!1,features:[he],decls:90,vars:31,consts:[["filterExpansionPanel",""],[2,"margin-bottom","10px"],[1,"flex-col",3,"formGroup"],["appearance","outline"],["autocomplete","off","matInput","","name","shortNameFC","type","text",3,"formControl"],["autocomplete","off","matInput","","name","name1FC","type","text",3,"formControl"],["autocomplete","off","matInput","","name","groupFC","type","text",3,"formControl"],["autocomplete","off","matInput","","name","accountFC","type","text",3,"keyup","formControl"],[1,"gap-02rem"],[3,"clickAction"],[1,"gap-02rem",3,"isDialog"],["mainButtonName","Dodaj",3,"disabled"],["hint","w tym ZUS",3,"clickAction"],[3,"clickAction","disabled"],["mainButtonName","Eksport"],["disabled","","mat-menu-item",""],["icon","open_in_browser",3,"clickAction"],[3,"importCompleted"],[3,"length","pageSize","showFirstLastButtons"],[1,"table-wrapper","flex-col"],[1,"table"],["aria-label","Brak kontrahent\xF3w","matSort","","matSortDisableClear","true",1,"flex-1",3,"dataSource"],["matColumnDef","shortName"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name1"],["matColumnDef","targetAccount"],["matTooltipShowDelay","1000",3,"matTooltip",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","group"],["class","sticky-header-filter default-sticky",4,"matHeaderRowDef","matHeaderRowDefSticky"],["ngDefaultControl","",3,"ngClass","click",4,"matRowDef","matRowDefColumns"],[1,"details-wrapper"],[1,"details-panel",3,"expanded"],[1,"details-body",3,"details","areDetailsVisible"],[3,"cancelAction","confirmAction","withResetButton","confirmDisabled","buttonLabelConfirm"],["mat-sort-header",""],["matTooltipShowDelay","1000",3,"matTooltip"],[1,"sticky-header-filter","default-sticky"],["ngDefaultControl","",3,"click","ngClass"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content")(4,"app-dialog-section")(5,"mat-expansion-panel",1,0)(7,"mat-expansion-panel-header")(8,"mat-panel-title"),h(9),c()(),u(10,"form",2)(11,"mat-form-field",3)(12,"mat-label"),h(13,"Skr\xF3t nazwy"),c(),x(14,"input",4),c(),u(15,"mat-form-field",3)(16,"mat-label"),h(17,"Pe\u0142na nazwa"),c(),x(18,"input",5),c(),u(19,"mat-form-field",3)(20,"mat-label"),h(21,"Grupa"),c(),x(22,"input",6),c(),u(23,"mat-form-field",3)(24,"mat-label"),h(25,"Rachunek"),c(),u(26,"input",7),T("keyup",function(){return r.formatAccount()}),c()(),u(27,"div",8)(28,"app-button",9),T("clickAction",function(){return r.search()}),h(29,"Szukaj kontrahent\xF3w"),c(),u(30,"app-button",9),T("clickAction",function(){return r.resetValues()}),h(31,"Wyczy\u015B\u0107"),c()()()()(),u(32,"app-dialog-section")(33,"app-page-btn-panel",10)(34,"app-button-menu",11)(35,"app-menu-item-button",12),T("clickAction",function(){return r.openDialog(!1,r.ContractorTypeEnum[r.ContractorTypeEnum.NORMAL_TRANSFER])}),h(36),c(),u(37,"app-menu-item-button",9),T("clickAction",function(){return r.openDialog(!1,r.ContractorTypeEnum[r.ContractorTypeEnum.US_TRANSFER])}),h(38),c(),u(39,"app-menu-item-button",9),T("clickAction",function(){return r.openDialog(!1,r.ContractorTypeEnum[r.ContractorTypeEnum.FOREIGN_TRANSFER])}),h(40),c(),u(41,"app-menu-item-button",9),T("clickAction",function(){return r.openDialog(!1,r.ContractorTypeEnum[r.ContractorTypeEnum.VAT_TRANSFER])}),h(42),c()(),u(43,"app-button",13),T("clickAction",function(){return r.openDialog(!0)}),h(44,"Edytuj "),c(),u(45,"app-button",13),T("clickAction",function(){return r.openConfirmationDialog()}),h(46," Usu\u0144 "),c(),u(47,"app-button",13),T("clickAction",function(){return r.openCreationTransferDialog()}),h(48," Stw\xF3rz przelew "),c(),u(49,"app-button",13),T("clickAction",function(){return r.openAssignGroupDialog()}),h(50," Przypisz grup\u0119 "),c(),u(51,"app-button-menu",14)(52,"span",15),h(53,"CSV"),c(),u(54,"app-menu-item-button",16),T("clickAction",function(){return r.s
8003aveCSV()}),u(55,"span"),h(56,"Otw\xF3rz"),c()(),u(57,"span",15),h(58,"XML"),c(),u(59,"app-menu-item-button",16),T("clickAction",function(){return r.saveXML()}),u(60,"span"),h(61,"Otw\xF3rz"),c()()(),u(62,"app-contractors-import",17),T("importCompleted",function(a){return r.afterImportRefreshTable(a)}),c()(),x(63,"mat-paginator",18),u(64,"div",19)(65,"div",20)(66,"mat-table",21),yn(67,22),fe(68,b_e,2,0,"mat-header-cell",23)(69,v_e,3,1,"mat-cell",24),Cn(),yn(70,25),fe(71,y_e,2,0,"mat-header-cell",23)(72,C_e,3,1,"mat-cell",24),Cn(),yn(73,26),fe(74,D_e,2,0,"mat-header-cell",23)(75,E_e,5,7,"mat-cell",27),Cn(),yn(76,28),fe(77,w_e,2,0,"mat-header-cell",23)(78,x_e,4,3,"mat-cell",24),Cn(),yn(79,29),fe(80,S_e,2,0,"mat-header-cell",23)(81,T_e,3,1,"mat-cell",24),Cn(),fe(82,I_e,1,0,"mat-header-row",30)(83,A_e,1,3,"mat-row",31),c()(),u(84,"div",32)(85,"mat-expansion-panel",33)(86,"mat-expansion-panel-header"),h(87),c(),x(88,"app-details",34),c()()()()(),u(89,"app-action-buttons-panel",35),T("cancelAction",function(){return r.cancelChoice()})("confirmAction",function(){return r.confirmChoice()}),c()()),n&2&&(l(2),S(r.title),l(7),se(" ",r.filterHeader," "),l(),g("formGroup",r.contractorSearchFG),l(4),g("formControl",r.shortNameFC),l(4),g("formControl",r.name1FC),l(4),g("formControl",r.groupFC),l(4),g("formControl",r.accountFC),l(7),g("isDialog",!0),l(),g("disabled",r.isCreateButtonDisabled),l(2),se(" ",r.contractorTypeNameMap.get(r.ContractorTypeEnum.NORMAL_TRANSFER)," "),l(2),se(" ",r.contractorTypeNameMap.get(r.ContractorTypeEnum.US_TRANSFER)," "),l(2),se(" ",r.contractorTypeNameMap.get(r.ContractorTypeEnum.FOREIGN_TRANSFER)," "),l(2),se(" ",r.contractorTypeNameMap.get(r.ContractorTypeEnum.VAT_TRANSFER)),l(),g("disabled",r.isEditButtonDisabled),l(2),g("disabled",r.isDeleteButtonDisabled),l(2),g("disabled",r.isCreateTransferButtonDisabled),l(2),g("disabled",r.isAssignGroupButtonDisabled),l(14),g("length",r.allContractorsCount)("pageSize",r.pageSize)("showFirstLastButtons",!0),l(3),g("dataSource",r.dataSource),l(16),g("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0),l(),g("matRowDefColumns",r.displayedColumns),l(2),g("expanded",!0),l(2),se(" ",r.detailsHeader," "),l(),g("details",r.detailsForDialog)("areDetailsVisible",r.areDetailsVisible),l(),g("withResetButton",!1)("confirmDisabled",r.isSaveBtnDisabled)("buttonLabelConfirm",r.ButtonLabels.CHOOSE))},styles:[".table-wrapper[_ngcontent-%COMP%]{max-height:50vh}.table-wrapper[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]{overflow-x:hidden;overflow-y:auto}.table-wrapper[_ngcontent-%COMP%]   mat-cell[_ngcontent-%COMP%], .table-wrapper[_ngcontent-%COMP%]   .mat-mdc-cell[_ngcontent-%COMP%]{display:flex;min-height:auto;padding:2px}.table-wrapper[_ngcontent-%COMP%]   mat-row[_ngcontent-%COMP%], .table-wrapper[_ngcontent-%COMP%]   .mat-mdc-row[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.table-wrapper[_ngcontent-%COMP%]   .details-wrapper[_ngcontent-%COMP%]{padding:.1rem 0}.table-wrapper[_ngcontent-%COMP%]   .details-wrapper[_ngcontent-%COMP%]   .details-panel[_ngcontent-%COMP%]{background-color:#ffffffe6;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}.gap-02rem[_ngcontent-%COMP%]{gap:.2rem}.flex-1[_ngcontent-%COMP%]{flex:1 1 0;min-width:0}"]})}}return t})();var k_e=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.chosenDateFC=new uo(new Date,{nonNullable:!0,validators:[G.required]}),this.minDate=new Date(new Date().setFullYear(new Date().getFullYear()-1)),this.maxDate=new Date,this.weekendFilter=r=>{let o=new Date(r).getDay();return o!==0&&o!==6}}discard(){this.dialogRef.close({state:!1})}confirm(){this.dialogRef.close({state:!0,date:this.chosenDateFC.getRawValue()})}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-date-picker"]],standalone:!1,decls:12,vars:9,consts:[["picker",""],["appearance","outline"],["autocomplete","off","matInput","",3,"formControl","matDatepicker","max","min","matDatepickerFilter"],["matSuffix","",3,"for"],[3,"cancelAction","confirmAction","withResetButton","confirmDisabled"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content")(4,"mat-form-field",1)(5,"mat-label"),h(6,"Wybierz dat\u0119"),c(),x(7,"input",2)(8,"mat-datepicker-toggle",3)(9,"mat-datepicker",null,0),c()(),u(11,"app-action-buttons-panel",4),T("cancelAction",function(){return r.discard()})("confirmAction",function(){return r.confirm()}),c()()),n&2){let o=ye(10);l(2),S(r.data.title),l(5),g("formControl",r.chosenDateFC)("matDatepicker",o)("max",r.maxDate)("min",r.minDate)("matDatepickerFilter",r.weekendFilter),l(),g("for",o),l(3),g("withResetButton",!1)("confirmDisabled",r.chosenDateFC.invalid)}},dependencies:[Ve,qe,Pn,zi,pi,Ri,et,Mt,Nt,Ot,Je,Xe,$e,Bt,Tt],encapsulation:2})}}return t})();
8003function R_e(t,i){if(t&1&&(u(0,"mat-option",2),h(1),be(2,"date"),c()),t&2){let e=i.$implicit,n=_();g("value",e),l(),se(" ",Dr(2,2,e,n.dateFormat)," ")}}function M_e(t,i){t&1&&(u(0,"span"),h(1,"Wybierz dat\u0119"),c())}var N_e=(()=>{class t{constructor(e,n,r){this.dialogRef=e,this.notificationService=n,this.data=r,this.availableDates=[],this.dateFormat=je,this.ButtonLabels=tt,this.availableDates=this.data.details,this.selectedDateFC=new z(this.availableDates[0])}confirm(){this.selectedDateFC.valid?this.dialogRef.close(this.selectedDateFC.value):this.notificationService.error("Wybierz dat\u0119 zestawienia, kt\xF3re chcesz pobra\u0107")}close(){this.dialogRef.close()}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(Le),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-date-select-dialog"]],standalone:!1,decls:11,vars:4,consts:[["appearance","outline",1,"available-date-field"],["appFocusConfirmOnSelect","",3,"formControl"],[3,"value"],[3,"cancelAction","confirmAction","buttonLabelConfirm","withResetButton"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Wybierz dat\u0119 zestawienia:"),c(),u(3,"app-dialog-content")(4,"mat-form-field",0)(5,"mat-select",1),He(6,R_e,3,5,"mat-option",2,at),u(8,"mat-error"),v(9,M_e,2,0,"span"),c()()()(),u(10,"app-action-buttons-panel",3),T("cancelAction",function(){return r.close()})("confirmAction",function(){return r.confirm()}),c()()),n&2&&(l(5),g("formControl",r.selectedDateFC),l(),Ue(r.availableDates),l(3),y(r.selectedDateFC.hasError("required")?9:-1),l(),g("buttonLabelConfirm",r.ButtonLabels.CHOOSE)("withResetButton",!1))},dependencies:[Ve,St,Qt,si,Mt,Nt,Ot,Xe,$e,dm,Tt,un],styles:[".available-date-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function O_e(t,i){t&1&&(u(0,"span"),h(1,":"),c())}function F_e(t,i){if(t&1&&(u(0,"span"),h(1),be(2,"dynamicPipe"),c()),t&2){let e=_();Be(jl("value ",e.cell.cellContent.class)),l(),se(" ",e.cell.pipeToken?ap(2,4,e.cell.cellContent.value,e.cell.pipeToken,e.cell.pipeArgs):e.cell.cellContent.value," ")}}function P_e(t,i){if(t&1&&(u(0,"span"),h(1),be(2,"dynamicPipe"),c()),t&2){let e=_().$implicit,n=_(2);Be(jl("value ",n.cell.cellContent.class)),l(),se(" ",n.cell.pipeToken?ap(2,4,e,n.cell.pipeToken,n.cell.pipeArgs):e," ")}}function L_e(t,i){if(t&1&&(u(0,"div"),h(1),c()),t&2){let e=_().$implicit,n=_(2);Be(jl("value-additions ",n.cell.cellContent.class)),l(),se(" ",e," ")}}function B_e(t,i){if(t&1&&(v(0,P_e,3,8,"span",1),v(1,L_e,2,4,"div",1)),t&2){let e=i.$index;y(e===0?0:-1),l(),y(e!==0?1:-1)}}function V_e(t,i){if(t&1&&(u(0,"div",2),He(1,B_e,2,2,null,null,at),c()),t&2){let e=_();l(),Ue(e.cell.cellContent.value)}}var mM=(()=>{class t{constructor(){this.isCellAnArray=!1}ngOnInit(){this.isCellAnArray=Array.isArray(this.cell.cellContent.value)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-details-row-cell"]],inputs:{cell:"cell"},standalone:!1,decls:5,vars:4,consts:[[1,"key"],[3,"class"],[1,"flex-col"]],template:function(n,r){n&1&&(u(0,"span",0),h(1),v(2,O_e,2,0,"span"),c(),v(3,F_e,3,8,"span",1),v(4,V_e,3,0,"div",2)),n&2&&(l(),se("",r.cell.cellContent.name," "),l(),y(r.cell.cellContent.name!==""?2:-1),l(),y(r.isCellAnArray?-1:3),l(),y(r.isCellAnArray?4:-1))},dependencies:[bm],styles:[".key[_ngcontent-%COMP%]{color:gray;display:inline-block;width:30%;min-width:30%}.value[_ngcontent-%COMP%]{font-weight:700}.value-additions[_ngcontent-%COMP%]{font-size:10px;line-height:11px}
8003.amount-debit[_ngcontent-%COMP%]{color:#b71619}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]})}}return t})();function H_e(t,i){if(t&1&&x(0,"app-details-row-cell",1),t&2){let e=_();g("cell",e.leftCell)}}function U_e(t,i){if(t&1&&x(0,"app-details-row-cell",1),t&2){let e=_();g("cell",e.rightCell)}}var pM=(()=>{class t{set rowDetails(e){this.leftCell=e?._leftCell,this.rightCell=e?._rightCell}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-details-row"]],inputs:{rowDetails:"rowDetails"},standalone:!1,decls:3,vars:2,consts:[[1,"row"],[1,"cell",3,"cell"]],template:function(n,r){n&1&&(u(0,"div",0),v(1,H_e,1,1,"app-details-row-cell",1),v(2,U_e,1,1,"app-details-row-cell",1),c()),n&2&&(l(),y(r.leftCell?1:-1),l(),y(r.rightCell?2:-1))},dependencies:[mM],styles:[".row[_ngcontent-%COMP%]{display:flex;margin-bottom:.4rem}.row[_ngcontent-%COMP%]   .cell[_ngcontent-%COMP%]{display:flex;flex:1;overflow-wrap:anywhere}"]})}}return t})();function G_e(t,i){if(t&1&&x(0,"app-details-row",3),t&2){let e=i.$implicit,n=_(2);Be(n.details.rowClass?n.details.rowClass:n.EMPTY_STRING),g("rowDetails",e)}}function W_e(t,i){if(t&1&&(u(0,"div",0),He(1,G_e,1,3,"app-details-row",2,at),c()),t&2){let e=_();l(),Ue(e.details.rows)}}function $_e(t,i){if(t&1&&(u(0,"div",8)(1,"span"),h(2),c(),u(3,"span"),h(4),be(5,"currencyFormatPipe"),c(),u(6,"span"),h(7),be(8,"currencyFormatPipe"),c()()),t&2){let e=i.$implicit;l(2),S(e.currency),l(2),S(Fe(5,3,e.currentBalance)),l(3),S(Fe(8,5,e.availableFunds))}}function q_e(t,i){if(t&1&&(u(0,"div",1)(1,"div",4)(2,"span",5),h(3,"Podsumowanie rachunk\xF3w"),c()(),u(4,"div",6)(5,"div",7)(6,"span"),h(7,"Waluta"),c(),u(8,"span"),h(9,"Saldo"),c(),u(10,"span"),h(11,"Wolne \u015Brodki"),c()(),He(12,$_e,9,7,"div",8,at),c()()),t&2){let e=_();l(12),Ue(e.dataSourceSummary)}}var _w=(()=>{class t{constructor(){this.isSummaryVisible=!1,this.areDetailsVisible=!1,this.EMPTY_STRING=""}get details(){return this._details}set details(e){e?this._details=e:this.isSummaryVisible=!1}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-details"]],inputs:{isSummaryVisible:"isSummaryVisible",areDetailsVisible:"areDetailsVisible",dataSourceSummary:"dataSourceSummary",details:"details"},standalone:!1,decls:2,vars:2,consts:[[1,"details"],[1,"summary"],[3,"rowDetails","class"],[3,"rowDetails"],[1,"header"],[1,"text-bold"],[1,"content"],[1,"sub-header"],[1,"sub-content"]],template:function(n,r){n&1&&(v(0,W_e,3,0,"div",0),v(1,q_e,14,0,"div",1)),n&2&&(y(r.areDetailsVisible?0:-1),l(),y(r.isSummaryVisible?1:-1))},dependencies:[pM,Kt],styles:[".details[_ngcontent-%COMP%]{padding:0 .8rem;display:flex;flex-direction:column}.summary[_ngcontent-%COMP%]{padding:0 .8rem;display:flex;flex-direction:column;justify-content:center;color:gray}.summary[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{margin-bottom:1rem}.summary[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.summary[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .sub-header[_ngcontent-%COMP%]{margin-bottom:1rem;display:flex;justify-content:space-around}.summary[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .sub-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:17rem;text-align:right}.summary[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .sub-content[_ngcontent-%COMP%]{margin-bottom:.3rem;display:flex;justify-content:space-around}.summary[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .sub-content[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:17rem;text-align:right}.summary[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .sub-content[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:not(:first-of-type){font-weight:700;color:#000}.line-divider[_ngcontent-%COMP%]{border-bottom:1px solid lightgrey;padding-top:.2rem}"]})}}return t})();var K_e=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.details=new hm,this.okConfirmation=tt.CONFIRM,this.noConfirmation=tt.CANCEL,this.showCancelBtn=!0,this.details.rows=this.data.details}discard(){this.dialogRef.close({state:!1})}confirm(){this.dialogRef.close({state:!0})}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-exchange-rate-dialog"]],standalone:!1,decls:6,vars:7,consts:[[3,"details","areDetailsVisible"],[3,"cancelAction","confirmAction","withCancelButton","buttonLabelCancel","buttonLabelConfirm","focusConfirmInitially","withResetButton"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Potwierdzenie realizacji"),c(),u(3,"app-dialog-content"),x(4,"app-details",0),c(),u(5,"app-action-buttons-panel",1),T("cancelAction",function(){return r.discard()})("confirmAction",function(){return r.confirm()}),c()()),n&2&&(l(4),g("details",r.details)("areDetailsVisible",!0),l(),g("withCancelButton",r.showCancelBtn)("buttonLabelCancel",r.noConfirmation)("buttonLabelConfirm",r.okConfirmation)("focusConfirmInitially",!0)("withResetButton",!1))},dependencies:[Mt,Nt,Ot,Tt,_w],encapsulation:2})}}return t})();
8003var hM=(function(t){return t.STATEMENTS="STATEMENTS",t.STATEMENTS_PLUS="STATEMENTS_PLUS",t.MASS_STATEMENTS="MASS_STATEMENTS",t.CURRENT="CURRENT",t.HISTORY="HISTORY",t.EDIT_DEPOSIT="EDIT_DEPOSIT",t.REPAYMENTS="REPAYMENTS",t.LOCKS="LOCKS",t.CLOSE_DEPOSIT="CLOSE_DEPOSIT",t.EDIT_FRIENDLY_NAME="EDIT_FRIENDLY_NAME",t.SEARCH="SEARCH",t.MARK_TURNOVER="MARK_TURNOVER",t.NEXT_PAYMENTS="NEXT_PAYMENTS",t.PFR="PRF",t})(hM||{});var _5=["P0","P1","CS","ES","HS"],X_e=["53","51","71","74"],Cm=class{static isCorrectType(i,e){return X_e.includes(i)||_5.includes(e)}static getTransferType(i){return _5.includes(i.to1)?i.to1:i.td}};var ni=(function(t){return t.DECADE="D - dekada",t.YEAR="R - rok",t.HALF_YEAR="P - p\xF3\u0142rocze",t.QUARTER_YEAR="K - kwarta\u0142",t.MONTH="M - miesi\u0105c",t.DAY="D - dzie\u0144",t.EMPTY="",t})(ni||{});var tf=(function(t){return t.TI="TI",t.OKR="OKR",t.SFP="SFP",t.TXT="TXT",t})(tf||{});var nf=class{static parse(i){let e={identifier:{type:Kn.EMPTY,value:""},period:{type:ni.EMPTY,year:"",number:""},sfp:"",commitmentIdentification:""};i=i.trim(),i=i.replace(/\/\//g,"");let n=i.split("/");return n.forEach(this.updateDataFromParsedTitle(e,n)),e}static updateDataFromParsedTitle(i,e){return(n,r)=>{switch(n){case tf.TI:i.identifier=this.getIdentifier(e[r+1]);break;case tf.OKR:i.period=this.getPeriod(e[r+1]);break;case tf.SFP:i.sfp=e[r+1];break;case tf.TXT:i.commitmentIdentification=e[r+1];break;default:break}}}static getIdType(i){switch(i.charAt(0)){case"P":return Kn.PESEL;case"R":return Kn.REGON;case"N":return Kn.NIP;case"1":return Kn.DOWOD_OSOBISTY;case"2":return Kn.PASZPORT;default:return Kn.INNY}}static getPeriodType(i){switch(i){case"J":return ni.DAY;case"M":return ni.MONTH;case"D":return ni.DECADE;case"R":return ni.YEAR;case"K":return ni.QUARTER_YEAR;default:return ni.HALF_YEAR}}static getIdentifier(i){return{type:this.getIdType(i.charAt(0)),value:i.slice(1)}}static getPeriod(i){return{year:i.slice(0,2),type:this.getPeriodType(i.charAt(2)),number:i.slice(3)}}};var b5=(()=>{class t{constructor(e,n,r){this.http=e,this.fileService=n,this.notificationService=r}openDuplicatesFile(e,n,r){this.notificationService.default(ze.DATA_DOWNLOADING);let o=this.getParams(n,r);this.http.get(e,{params:o,responseType:vo}).pipe(this.fileService.open(Aa.PDF)).subscribe()}saveDuplicatesFile(e,n,r){this.notificationService.default(ze.DATA_DOWNLOADING);let o=this.getParams(n,r);this.http.get(e,{params:o,responseType:vo}).pipe(this.fileService.save(`wtorniki-hist-${En.getTodayWithTime()}`,Aa.PDF)).subscribe()}getParams(e,n){return new it().set("accountId",e).set("operationList",n.toString())}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Dd),F(Le))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var v5=(()=>{class t{sendData(e){this.dataToShare=e}getData(){return this.dataToShare}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var y5=(()=>{class t{constructor(e){this.http=e,this.ibanToShare=new zt(""),this.ibanToShare$=this.ibanToShare.asObservable()}getTransfersForAccount(e,n,r=0){return n.page=r,this.http.post(e,n)}getCountTransferForAccount(e,n){return this.http.post(e+W1,n)}sendIban(e){this.ibanToShare.next(e)}getIban(){return this.ibanToShare$}getSingleTransfer(e,n,r){let o=new it().set("accountId",r).set("operationId",n);return this.http.get(e,{params:o}).pipe($(a=>yl.mapCurrency(a)))}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Pa=class extends Jt{constructor(i=""){super(),this.data={appearance:"dialog",isDialog:!0,message:i},this.panelClass=li.MEDIUM}};var mb=(()=>{class t{transform(e){switch(e){case cl.REGISTERED:return"Zarejestrowany";case cl.NOT_REGISTERED:return"Niezarejestrowany";case cl.CHECK_UNSUCCESSFUL:return"Sprawdzenie rachunku odbiorcy w wykazie podatnik\xF3w VAT nie powiod\u0142o si\u0119";case cl.ERROR:return"ERROR";default:return""}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"whiteListMessage",type:t,pure:!0,standalone:!1})}}return t})();function ebe(t,i){if(t&1&&(u(0,"p",4),h(1),c()),t&2){let e=_();l(),S(e.errorMessage())}}var pb=(()=>{class t{constructor(e,n,r,o,a){this.spinnerService=e,this.whiteListFacadeService=n,this.dialogRef=r,this.data=o,this.errorProviderService=a,this.title="Status weryfikacji VAT",this.message="* Potwierdzenie wraz ze statusem weryfikacji zostanie wygenerowane po przekazaniu do realizacji",this.buttonLabels=tt,this.verificationResult="",this.verificationId="",this.verificationDate="",this.whiteListDTO={},this.errorMessage=Z(void 0)}ngOnInit(){this.getWhiteListInformation()}discard(){this.dialogRef.close({state:!1})}confirm(){this.dialogRef.close({state:!0,whiteListDTO:this.whiteListDTO})}getWhiteListInformation(){this.spinnerService.showSpinner(),this.whiteListFacadeService.check(this.getTargetAccount(),this.getNip()).pipe(this.setInformationOnFrontAndSetWhiteListData(),this.errorProviderService.processError(ze.FETCHING_DATA_ERROR)).subscribe()}
8003getTargetAccount(){return ue.removeWhitespaces(this.data.details.account)}getNip(){return this.data.details.nip}setInformationOnFrontAndSetWhiteListData(){return B(e=>{this.spinnerService.hideSpinner(),this.setInformationOnFront(e),this.setWhiteListDto(e)})}setWhiteListDto(e){this.whiteListDTO=e}setInformationOnFront(e){this.verificationResult=e.verificationResult?"Weryfikacja powiod\u0142a si\u0119":"Weryfikacja nie powiod\u0142a si\u0119",this.verificationState=e.state,this.verificationId=e.requestId,this.verificationDate=e.checkDate.toString(),this.errorMessage.set(e.errorMessage)}static{this.\u0275fac=function(n){return new(n||t)(E($r),E(Ph),E(Ze),E(rt),E(Rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-white-list-dialog"]],standalone:!1,decls:29,vars:17,consts:[[1,"flex-row","gap-20"],[1,"flex-col","gap-20"],[1,"text-bold"],["appWhiteList","",3,"whiteList"],[1,"red-text-bold",2,"text-align","center"],[1,"smallGrayText"],[3,"cancelAction","confirmAction","buttonLabelCancel","buttonLabelConfirm","focusConfirmInitially","withResetButton"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content")(4,"div",0)(5,"div",1)(6,"p",2),h(7,"Bia\u0142a lista:"),c(),u(8,"p",2),h(9,"Wynik weryfikacji:"),c(),u(10,"p",2),h(11,"Identyfikator weryfikacji:"),c(),u(12,"p",2),h(13,"Data weryfikacji:"),c()(),u(14,"div",1)(15,"p"),h(16),c(),u(17,"p",3),h(18),be(19,"whiteListMessage"),c(),u(20,"p"),h(21),c(),u(22,"p"),h(23),be(24,"date"),c()()(),v(25,ebe,2,1,"p",4),u(26,"p",5),h(27),c()(),u(28,"app-action-buttons-panel",6),T("cancelAction",function(){return r.discard()})("confirmAction",function(){return r.confirm()}),c()()),n&2&&(l(2),S(r.title),l(14),S(r.verificationResult),l(),g("whiteList",r.whiteListDTO),l(),S(Fe(19,12,r.verificationState)),l(3),S(r.verificationId),l(2),S(Dr(24,14,r.verificationDate,"yyyy-MM-dd HH:mm:ss")),l(2),y(r.errorMessage()?25:-1),l(2),S(r.message),l(),g("buttonLabelCancel",r.buttonLabels.CANCEL)("buttonLabelConfirm",r.buttonLabels.CONFIRM)("focusConfirmInitially",!0)("withResetButton",!1))},dependencies:[Mt,Nt,Ot,sb,Tt,un,mb],styles:[".smallGrayText[_ngcontent-%COMP%]{font-size:11px;color:gray}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}.gap-20[_ngcontent-%COMP%]{gap:20px}"]})}}return t})();var fM=(()=>{class t{constructor(){this.parameterService=m(qr),this.accountValue=Z(""),this.accountControlValid=Z(!1),this.currencyValue=Z(""),this.isSorbnetForced=Z(!1),this.allCurrencies=Z([]),this.sourceAccountId=Z(null),this.chargedAccounts=Z([]),this.bankIds=cm(this.parameterService.getParameterAsStringArray(wt.BANK_IDS),{initialValue:[]}),this.isTargetAccountExternal=Ct(()=>{if(!this.accountControlValid())return!1;let e=this.accountValue(),n=vi.stripToNrb(e),r=this.bankIds();return!n||n.length<6||r.length===0?!1:!vi.isOwnBankAccount(e,r)}),this.isWarningVisible=Ct(()=>{if(!this.isTargetAccountExternal()||this.isSorbnetForced())return!1;let e=this.currencyValue();return!!e&&e!=="PLN"}),this.availableCurrencies=Ct(()=>this.isTargetAccountExternal()?["PLN"]:this.allCurrencies()),this.sourceAccountCurrency=Ct(()=>{let e=this.sourceAccountId();return e===null?"":this.chargedAccounts().find(n=>n.accountId===e)?.currency??""}),this.isSourceAccountWarningVisible=Ct(()=>{if(!this.isTargetAccountExternal()||this.isSorbnetForced())return!1;let e=this.sourceAccountCurrency();return!!e&&e!=="PLN"}),this.isTransferBlocked=Ct(()=>this.isWarningVisible()||this.isSourceAccountWarningVisible())}connect(e){let{targetAccountFC:n,currencyFC:r,sourceAccountFC:o,allCurrencies$:a,chargedAccounts$:s}=e;n.valueChanges.pipe(hn(),Re(n.value),B(()=>this.syncAccount(n))).subscribe(),n.statusChanges.pipe(hn(),It(),B(()=>this.syncAccount(n))).subscribe(),r.valueChanges.pipe(hn(),Re(r.value),It(),B(d=>this.currencyValue.set(d||""))).subscribe(),a.pipe(hn(),B(d=>this.allCurrencies.set(d))).subscribe(),o.valueChanges.pipe(hn(),Re(o.value),It(),B(()=>this.syncSourceAccount(o))).subscribe(),o.statusChanges.pipe(hn(),It(),B(()=>this.syncSourceAccount(o))).subscribe(),s.pipe(hn(),B(d=>this.chargedAccounts.set(d??[]))).subscribe()}setSorbnetForced(e){this.isSorbnetForced.set(e)}syncAccount(e){this.accountValue.set(e.value||""),this.accountControlValid.set(e.valid||e.status==="DISABLED")}syncSourceAccount(e){this.sourceAccountId.set(e.value??null)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var Gd=(()=>{class t{constructor(e){this.http=e}uploadFile(e,n,r,o){let a=new FormData;a.append("file",e);let s=new it().set("encoding",n).set("handleInvalidChars",String(r));return o&&(s=s.set("transferFileType",o)),this.http.post(qz,a,{params:s})}importNoBundle(e){return this.http.post(Yz+_h,e)}importToBundle(e,n){return this.http.post(uE+`/${e}`+_h,n)}importNewBundle(e){return this.http.post(uE+_h,e)}saveImportTransfers(e,n){let r=new it().set("validOnly",String(e)).set("checkWhiteList",String(n));return this.http.post(sm,null,{params:r})}getInvalidDispositions(){return this.http.get(sm+_h)}update(e,n,r){return this.http.put(`${r}/${n}`,e)}
8003prepareTransferImportRequest(e,n,r){return{type:e,encoding:n,filePath:r}}prepareBundleCreateRequest(e,n,r,o,a){let s={salary:e,executionDate:n,chargedAccountId:o,name:a};return r?.trim()&&(s.finalExecutionDate=r),s}importSalaryBundle(e){return this.http.post(uE+Q1,e)}salaryImportEnable(){return this.http.get(Uz)}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();function tbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_(2);l(),S((e=n.idNipFC.getError("nip"))==null?null:e.message)}}function nbe(t,i){if(t&1){let e=Se();u(0,"div",4)(1,"mat-form-field",16)(2,"mat-label"),h(3,"Identyfikator ( NIP )"),c(),u(4,"input",17),T("ngModelChange",function(){te(e);let r=_();return ne(r.uncheckedWhiteListCheckBox())}),c(),u(5,"mat-error"),v(6,tbe,2,1,"span"),c()(),u(7,"mat-checkbox",18),T("change",function(){te(e);let r=_();return ne(r.openWhiteListDialog())}),h(8," Sprawd\u017C rachunek w wykazie podatnik\xF3w VAT "),c()()}if(t&2){let e=_();l(4),g("formControl",e.idNipFC)("disabled",!e.isWhiteListEnabled),l(2),y(e.idNipFC.hasError("nip")?6:-1),l(),g("formControl",e.whiteListCheckBoxCheckedFC)("disabled",!e.isWhiteListEnabled||e.targetAccountFC.invalid||e.idNipFC.invalid||e.idNipFC.value.length===0)}}function ibe(t,i){if(t&1&&(u(0,"mat-option",20),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function rbe(t,i){if(t&1&&(u(0,"mat-form-field",6)(1,"mat-label",19),h(2,"Waluta"),c(),u(3,"mat-select",9),He(4,ibe,2,2,"mat-option",20,at),c()()),t&2){let e=_();l(3),g("formControl",e.currencyFC),l(),Ue(e.externalAccountCurrencyService.availableCurrencies())}}function obe(t,i){if(t&1){let e=Se();u(0,"mat-form-field",7)(1,"mat-label"),h(2,"Data wykonania"),c(),u(3,"input",21),T("focusout",function(){te(e);let r=_();return ne(r.checkExecuteDateFC())}),c(),x(4,"mat-datepicker-toggle",22)(5,"mat-datepicker",null,0),c()}if(t&2){let e=ye(6),n=_();l(3),g("formControl",n.dateOfExecutionFC)("matDatepicker",e)("min",n.minExectionDate),l(),g("for",e)}}function abe(t,i){t&1&&(u(0,"span"),h(1,"Nie mo\u017Cna ustawi\u0107 przesz\u0142ej daty"),c())}function sbe(t,i){if(t&1&&(u(0,"mat-form-field",7)(1,"mat-label"),h(2,"Data ost. realizacji"),c(),x(3,"input",24)(4,"mat-datepicker-toggle",22)(5,"mat-datepicker",null,1),u(7,"mat-error"),x(8,"app-last-execution-data-error",25),v(9,abe,2,0,"span"),c()()),t&2){let e=ye(6),n=_(2);l(3),g("formControl",n.lastExecutionDateFC)("matDatepicker",e)("min",n.minExectionDate),l(),g("for",e),l(4),g("lastExecutionDateFC",n.lastExecutionDateFC),l(),y(n.dateOfExecutionFC.hasError("invalidDate")?9:-1)}}function lbe(t,i){if(t&1&&fe(0,sbe,10,6,"mat-form-field",23),t&2){let e=_();g("appShowIfHasAuthority",e.FunctionalAuthority.FUNC_MLYNEK)}}function cbe(t,i){if(t&1){let e=Se();u(0,"mat-checkbox",26),T("change",function(){te(e);let r=_();return ne(r.toggleSorbnetForm())}),h(1," Sorbnet "),c()}if(t&2){let e=_();g("formControl",e.sorbnetFC)}}function dbe(t,i){t&1&&(u(0,"span"),h(1,"Tytu\u0142 przelewu jest wymagany"),c())}function ube(t,i){t&1&&(u(0,"span"),h(1,"Pole zawiera nieprawid\u0142owe znaki"),c())}function mbe(t,i){t&1&&(u(0,"div",14),h(1,"Przelew na rachunek zewn\u0119trzny mo\u017Ce by\u0107 tylko w walucie PLN, zmie\u0144 walut\u0119!"),c())}function pbe(t,i){t&1&&(u(0,"div",14),h(1,"Przelew na rachunek zewn\u0119trzny mo\u017Ce by\u0107 wykonany tylko z rachunku w walucie PLN, zmie\u0144 rachunek obci\u0105\u017Cany!"),c())}var rf=(()=>{class t{constructor(e,n,r,o,a,s,d,p,f,b,w,A,M){this.dialog=e,this.notificationService=n,this.formBuilder=r,this.dialogRef=o,this.transferImportService=a,this.data=s,this.bankService=d,this.transferService=p,this.contractorTransferService=f,this.errorProviderService=b,this.whiteListFacadeService=w,this.parameterService=A,this.vatService=M,this.fb=m(Er),this.FunctionalAuthority=Ut,this.allCurrencies$=m(dl).getCurrencies(),this.accountService=m(Bo),this.chargedAccounts$=this.accountService.getChargeableAccounts().pipe(Qr(1)),this.sorbnetRequiredService=m(yh),this.isSorbnetTransferRequired=!1,this.externalAccountCurrencyService=m(fM),this.currencyFC=this.fb.nonNullable.control(""),this.minExectionDate=$t(new Date,je),this.bankName="",this.TITLE_MAX_LENGTH=140,this.AMOUNT_MAX_LENGTH=15,this.withConfirmAddNextButton=!0,this.isSaveAndAddButtonDisabled=!1,this.ButtonLabels=tt,this.isPacked=!1,this.isTargetAccountZus=!1,this.isWhiteListEnabled=!1,this.isTransferSorbnetEnabled=!1,this.destroyed$=new O,this.hasSavedChanges=!1,this.allTransfer=s.transferData,this.isPacked=this.allTransfer.packaged,this.dialogMode=s.transferDialogMode,this.withConfirmAddNextButton=this.dialogMode!==Me.EDIT,this.targetAccountFC=new z("",[G.required,Xt.ibanSimplyValidator,G.pattern(ue.ibanPattern)]),this.recipientName1FC=new z(""),this.recipientName2FC=new z(""),this.recipientAddress1FC=new z(""),this.recipientAddress2FC=new z(""),this.amountFC=new z("",[Xt.currencyValidator,G.required,G.maxLength(this.AMOUNT_MAX_LENGTH)]),this.dateOfExecutionFC=new z(An(new Date),G.required),this.lastExecutionDateFC=new z(""),this.sorbnetFC=new z,this.idNipFC=new z("",[Ma.check]),this.titleFC=new z("",[G.required,G.maxLength(this.TITLE_MAX_LENGTH),G.pattern(ue.titlePattern)]),this.sourceAccountFC=new z,this.vatAccountInfo$=this.sourceAccountFC.valueChanges.pipe(It((J,j)=>J?.accountId!==j?.accountId),W(J=>this.vatService.getVatFromSelectedAccount(J))),this.recipientFG=new Qn({}),this.contentFG=new Qn({}),this.contractorFG=new Qn({}),this.allLayoutFG=new Qn({}),this.whiteListCheckBoxCheckedFC=new z(!1),this.whiteListFacadeService.isWhiteListEnabled().pipe(B(J=>{this.isWhiteListEnabled=J&&[Me.NEW,Me.REPEAT,Me.EDIT].includes(this.dialogMode)})).subscribe(),this.backdropSubscription=this.dialogRef.backdropClick().subscribe(()=>{this.closeDialog()}),this.externalAccountCurrencyService.connect({targetAccountFC:this.targetAccountFC,currencyFC:this.currencyFC,sourceAccountFC:this.sourceAccountFC,allCurrencies$:this.allCurrencies$,chargedAccounts$:this.chargedAccounts$})}onEscapeKey(){this.closeDialog()}ngOnInit(){this.initItems(),this.getChargeableAccounts().pipe(B(()=>{this.initValues()})).subscribe(),this.observeValues(),this.checkIfSorbnet(),this.observeSorbnetRequirement
8003()}openWhiteListDialog(){let e=new Jt;e.data={details:{account:this.targetAccountFC.value,nip:this.idNipFC.value}},this.whiteListCheckBoxCheckedFC.value===!0&&this.dialog.open(pb,e).afterClosed().pipe(B(n=>{n.state?this.setFieldsWhenStateIsTrue(n):this.setFieldsWhenStateIsFalse()})).subscribe()}isDialogInImportMode(){return this.dialogMode===Me.IMPORT}checkExecuteDateFC(){gd(new Date(this.dateOfExecutionFC.value),new Date(this.minExectionDate))&&this.dateOfExecutionFC.setValue(this.minExectionDate,{emitEvent:!1})}toggleSorbnetForm(){this.sorbnetFC.value?(this.lastExecutionDateFC.disable(),this.lastExecutionDateFC.setValue(""),this.dialogTitle="Przelew zwyk\u0142y - z opcj\u0105 sorbnet"):(this.lastExecutionDateFC.enable(),this.dialogTitle="Przelew zwyk\u0142y"),this.externalAccountCurrencyService.setSorbnetForced(this.isTransferSorbnetEnabled&&this.sorbnetFC.value)}openContractorsDialog(){let e=new Pa(wn.PRZELEW_ZWYKLY);this.dialog.open(Fa,e).afterClosed().subscribe(n=>{n&&(this.allTransfer=ar.getFromContractor(n),this.setFormControlValues(),this.disableContractorsInput(),this.syncAccountSignals())})}closeDialog(){this.dialogRef.close(this.hasSavedChanges)}reset(){this.recipientFG.reset(),this.contentFG.reset(),this.contractorFG.reset(),this.contractorId=void 0,this.allTransfer=ar.newWithBundleId(this.allTransfer.bundleId,this.allTransfer.sourceAccountId),this.whiteListDTO=null,this.recipientFG.enable(),this.initValues()}pressSaveBtn(e){this.contractorTransferService.validateContractorExistence(this.targetAccountFC.value,this.contractorFG).pipe(ae(n=>!n),W(()=>this.doSaveAction(e))).subscribe()}ngOnDestroy(){this.backdropSubscription.unsubscribe(),this.destroyed$.next(),this.destroyed$.complete()}getFormGroup(){return this.allLayoutFG}getControlByProperty(e){switch(e){case"rachunekOdbiorcy":case"przelew":case"sorbnet":return this.targetAccountFC;case"rachunek":case"rachunekObciazany":return this.sourceAccountFC;case"dataOstatecznejRealizacji":return this.lastExecutionDateFC;case"kwota":return this.amountFC;case"nazwaSkrot":return this.contractorFG.get(["shortNameFC"]);default:return null}}uncheckedWhiteListCheckBox(){this.whiteListCheckBoxCheckedFC.value&&(this.whiteListCheckBoxCheckedFC.setValue(!1),this.whiteListDTO=null)}getChargeableAccounts(){return this.chargedAccounts$.pipe(B(e=>{this.chargedAccounts=e,this.allLayoutFG.clearValidators()}))}checkIfSorbnet(){this.setSorbnetEnabledParameter(),(this.allTransfer.sorbnet||this.data.transferData.sorbnet)&&this.isTransferSorbnetEnabled?this.sorbnetFC.setValue(!0):this.sorbnetFC.setValue(!1),this.toggleSorbnetForm()}observeSorbnetRequirement(){nn([this.amountFC.valueChanges.pipe(Re(this.amountFC.value)),this.sorbnetFC.valueChanges.pipe(Re(this.sorbnetFC.value))]).pipe(xe(this.destroyed$),W(([e,n])=>this.sorbnetRequiredService.isSorbnetRequired(bt.getTrimmedValue(e),"COMMON").pipe($(r=>r&&!n)))).subscribe(e=>{this.isSorbnetTransferRequired=e})}disableContractorsInput(){this.targetAccountFC.disable(),this.recipientName1FC.hasError("pattern")?this.recipientName1FC.enable():this.recipientName1FC.disable(),this.recipientName2FC.hasError("pattern")?this.recipientName2FC.enable():this.recipientName2FC.disable(),this.recipientAddress1FC.disable(),this.recipientAddress2FC.disable()}initValues(){this.setFormControlValues(),this.dialogMode===Me.IMPORT&&(this.applyBundleMode(),this.targetAccountFC.disable()),this.dialogMode===Me.EDIT&&this.applyEditMode(),this.allTransfer.contractorId&&this.disableContractorsInput(),this.isPacked&&this.applyBundleMode(),this.markAllAsTouched()}applyBundleMode(){this.sourceAccountFC.disable(),this.dateOfExecutionFC.disable()}applyEditMode(){this.targetAccountFC.disable(),this.allTransfer.contractorId&&this.disableContractorsInput()}markAllAsTouched(){this.recipientFG.markAllAsTouched(),this.contentFG.markAllAsTouched(),this.contractorFG.markAllAsTouched()}observeValues(){this.targetAccountFC.valueChanges.pipe(xe(this.destroyed$),It(),B(()=>{this.applyIbanFormatInAccount(this.targetAccountFC),this.bankName="",this.syncAccountSignals()}),ae(()=>this.targetAccountFC.valid),W(()=>
8003this.bankService.getDomesticBank(ue.removeWhitespaces(this.targetAccountFC.value))),B(e=>{this.bankName=e?.bankName||"",this.isTargetAccountZus=nz.includes(this.targetAccountFC.value.substr(2,14).replace(/ /g,""))})).subscribe()}syncAccountSignals(){this.externalAccountCurrencyService.syncAccount(this.targetAccountFC)}doSaveAction(e){switch(this.dialogMode){case Me.NEW:case Me.REPEAT:return this.save(e,Kz);case Me.EDIT:return this.save(e,Jz);case Me.IMPORT:return this.actionForImportMode(zz)}}actionForImportMode(e){return this.updateAction(e).pipe(B(n=>this.dialogRef.close(n)),this.errorProviderService.processError(ze.EDITING_ERROR))}save(e,n){if(ue.replaceDoubleQuotesInName([this.recipientName1FC,this.recipientName2FC]),this.isSorbnetTransferRequired)return this.sorbnetRequiredService.getRequiredMessage().pipe(We(1)).subscribe(o=>this.notificationService.formErrors([{inputName:"kwota",errorMessage:o}])),ke;let r=this.getTransferData();return this.allLayoutFG.valid?this.contractorTransferService.saveContractor(r,ct.NORMAL_TRANSFER,this.contractorFG).pipe(this.errorProviderService.processErrorWithLocalFormError(this),W(()=>this.transferService.save(r,n)),this.errorProviderService.processErrorWithLocalFormError(this),B(()=>{this.hasSavedChanges=!0,e?this.reset():this.closeDialog()})):(this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo"),ke)}updateAction(e){let n=this.getTransferData();return this.transferImportService.update(n,this.data.transferData.dispositionId,e).pipe(W(r=>(this.contractorTransferService.saveContractor(n,ct.NORMAL_TRANSFER,this.contractorFG),P(r))))}initItems(){this.recipientFG=this.formBuilder.group({recipientAccountFC:this.targetAccountFC,recipientName1FC:this.recipientName1FC,recipientName2FC:this.recipientName2FC,recipientAddress1FC:this.recipientAddress1FC,recipientAddress2FC:this.recipientAddress2FC,idNipFC:this.idNipFC}),this.contentFG=this.formBuilder.group({amountFC:this.amountFC,currencyFC:this.currencyFC,executionDateFC:this.dateOfExecutionFC,lastExecutionDateFC:this.lastExecutionDateFC,sorbnetFC:this.sorbnetFC,titleFC:this.titleFC}),this.allLayoutFG=this.formBuilder.group({recipientFG:this.recipientFG,contentFG:this.contentFG,contractorFG:this.contractorFG,sourceFC:this.sourceAccountFC})}getTransferData(){return{address1:this.recipientAddress1FC.value,address2:this.recipientAddress2FC.value,amount:this.amountFC.value,currency:this.isTransferSorbnetEnabled&&this.sorbnetFC.value?"PLN":this.currencyFC.value,dateOfExecution:this.dateOfExecutionFC.value,sorbnet:this.isTransferSorbnetEnabled&&!!this.sorbnetFC?.value,lastExecutionDate:this.lastExecutionDateFC.value,name1:this.recipientName1FC.value,name2:this.recipientName2FC.value,sourceAccountId:this.sourceAccountFC.value,targetAccount:ue.removeWhitespaces(this.targetAccountFC.value),title:this.titleFC.value,bundleId:this.data.transferData.bundleId,dispositionId:this.allTransfer.dispositionId,contractorId:this.contractorId,whiteListDTO:this.whiteListDTO,idNipPesel:this.idNipFC.value,salary:this.data.transferData.salary}}applyIbanFormatInAccount(e){e.setValue(vi.ibanFormat(e.value))}
8003setFormControlValues(){this.targetAccountFC.setValue(this.allTransfer.targetAccount),this.recipientName1FC.setValue(this.allTransfer.name1),this.recipientName2FC.setValue(this.allTransfer.name2),this.recipientAddress1FC.setValue(this.allTransfer.address1),this.recipientAddress2FC.setValue(this.allTransfer.address2),ue.isEmpty(this.amountFC.value)&&(this.amountFC.setValue(this.allTransfer.amount),this.currencyFC.setValue(this.allTransfer?.currency||"PLN")),this.titleFC.setValue(this.titleFC.value||this.allTransfer.title),this.dateOfExecutionFC.setValue(this.allTransfer.dateOfExecution),this.lastExecutionDateFC.setValue(this.allTransfer.lastExecutionDate),this.sourceAccountFC.setValue(this.sourceAccountFC.value?this.sourceAccountFC.value:this.allTransfer.sourceAccountId),this.contractorId=this.allTransfer.contractorId,this.whiteListDTO=this.allTransfer.whiteListDTO,this.idNipFC.setValue(this.whiteListDTO?this.whiteListDTO.nip:""),this.markAllAsTouched(),this.whiteListCheckBoxCheckedFC.setValue(!!this.allTransfer.whiteListDTO)}setFieldsWhenStateIsFalse(){this.whiteListCheckBoxCheckedFC.setValue(!1),this.whiteListDTO=null}setFieldsWhenStateIsTrue(e){this.whiteListCheckBoxCheckedFC.setValue(!0),this.whiteListDTO=e.whiteListDTO}setSorbnetEnabledParameter(){this.parameterService.getParameterAsBoolean(wt.TRANSFER_SORBNET_ENABLED).pipe(B(e=>this.isTransferSorbnetEnabled=e)).subscribe()}static{this.\u0275fac=function(n){return new(n||t)(E(mt),E(Le),E(Vi),E(Ze),E(Gd),E(rt),E(pl),E(Lo),E(zd),E(Rt),E(Ph),E(qr),E(Ld))}}static{this.\u0275cmp=k({type:t,selectors:[["app-common-transfer-dialog"]],hostBindings:function(n,r){n&1&&T("keydown.escape",function(){return r.onEscapeKey()},$o)},standalone:!1,features:[me([fM])],decls:36,vars:35,consts:[["executionDatePicker",""],["lastExecutionDatePicker",""],[3,"buttonClickAction","allLayoutFG","bankName","dialogMode","targetAccountFC"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[1,"flex-row","gap-20"],[3,"amountFC","showPLNSuffix","maximumLength"],["appearance","outline",1,"min-width-of-5-rem"],["appearance","outline"],[1,"view-check-box"],[3,"formControl"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","","required","","type","text",3,"formControl","maxlength"],[3,"accountList","sourceAccountFC","vatAccountInfo","disabledInput","shouldShowVatAccount"],[3,"toggleContractor","contractorFG"],[1,"red-hint"],[3,"cancelAction","confirmAddNextAction","resetAction","confirmAction","withConfirmAddNextButton","confirmAddNextDisabled","confirmDisabled","buttonLabelConfirm"],["appearance","outline",1,"flex-50"],["autocomplete","off","matInput","","appOnlyNumbers","",3,"ngModelChange","formControl","disabled"],["appearance","outline",1,"flex-50",3,"change","formControl","disabled"],["for","sourceAccount"],[1,"custom-option",3,"value"],["autocomplete","off","matInput","","required","",3,"focusout","formControl","matDatepicker","min"],["matSuffix","",3,"for"],["appearance","outline",4,"appShowIfHasAuthority"],["autocomplete","off","matInput","",3,"formControl","matDatepicker","min"],[3,"lastExecutionDateFC"],[3,"change","formControl"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content")(4,"app-dialog-section")(5,"app-dialog-section-header"),h(6,"Beneficjent"),c(),u(7,"app-target-account-input",2),T("buttonClickAction",function(){return r.openContractorsDialog()}),c(),x(8,"app-recipant-input",3),v(9,nbe,9,5,"div",4),c(),u(10,"app-dialog-section")(11,"app-dialog-section-header"),h(12,"Tre\u015B\u0107"),c(),u(13,"div",4),x(14,"app-amount-input",5),v(15,rbe,6,1,"mat-form-field",6),v(16,obe,7,4,"mat-form-field",7),v(17,lbe,1,1,"mat-form-field",7),u(18,"div",8),v(19,cbe,2,1,"mat-checkbox",9),c()(),u(20,"mat-form-field",10)(21,"mat-label"),h(22,"Tytu\u0142em"),c(),x(23,"textarea",11),u(24,"mat-error"),v(25,dbe,2,0,"span"),v(26,ube,2,0,"span"),c()()(),u(27,"app-dialog-section")(28,"app-dialog-section-header"),h(29,"Obci\u0105\u017Cenie"),c(),x(30,"app-source-account-input",12),be(31,"async"),u(32,"app-create-contractor-input",13),T("toggleContractor",function(){return r.isSaveAndAddButtonDisabled=!r.isSaveAndAddButtonDisabled}),c()(),v(33,mbe,2,0,"div",14),v(34,pbe,2,0,"div",14),c(),u(35,"app-action-buttons-panel",15),T("cancelAction",function(){return r.closeDialog()})("confirmAddNextAction",function(){return r.pressSaveBtn(!0)})("resetAction",function(){return r.reset()})("confirmAction",function(){return r.pressSaveBtn(!1)}),c()()),n&2&&(l(2),S(r.dialogTitle),l(5),g("allLayoutFG",r.allLayoutFG)("bankName",r.bankName)("dialogMode",r.dialogMode)("targetAccountFC",r.targetAccountFC),l(),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC),l(),y(r.isWhiteListEnabled?9:-1),l(5),g("amountFC",r.amountFC)("showPLNSuffix",r.isTransferSorbnetEnabled&&r.sorbnetFC.value)("maximumLength",r.AMOUNT_MAX_LENGTH),l(),y(!r.isTransferSorbnetEnabled||!r.sorbnetFC.value?15:-1),l(),y(!r.isDialogInImportMode()&&!r.isPacked?16:-1),l(),y(!r.isDialogInImportMode()&&!r.isPacked?17:-1),l(2),y(r.isTransferSorbnetEnabled?19:-1),l(4),g("formControl",r.titleFC)("maxlength",r.TITLE_MAX_LENGTH),l(2),y(r.titleFC.hasError("required")?25:-1),l(),y(r.titleFC.hasError("pattern")?26:-1),l(4),g("accountList",r.chargedAccounts)("sourceAccountFC",r.sourceAccountFC)("vatAccountInfo",Fe(31,33,r.vatAccountInfo$))("disabledInput",r.isPacked)("shouldShowVatAccount",r.isTargetAccountZus),l(2),g("contractorFG",r.contractorFG),l(),y(r.externalAccountCurrencyService.isWarningVisible()?33:-1),l(),y(r.externalAccountCurrencyService.isSourceAccountWarningVisible()?34:-1),l(),g("withConfirmAddNextButton",r.withConfirmAddNextButton)("confirmAddNextDisabled",r.allLayoutFG.invali
8003d||r.isSaveAndAddButtonDisabled||r.externalAccountCurrencyService.isTransferBlocked())("confirmDisabled",r.allLayoutFG.invalid||r.externalAccountCurrencyService.isTransferBlocked())("buttonLabelConfirm",r.ButtonLabels.SAVE))},styles:[".min-width-of-5-rem[_ngcontent-%COMP%]{min-width:5rem}",".flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}",".gap-20[_ngcontent-%COMP%]{gap:20px}",".flex-50[_ngcontent-%COMP%]{flex:1 1 50%;max-width:50%;box-sizing:border-box}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var _M=(function(t){return t.SPOT="Spot",t.TODAY="Dzi\u015B",t.TOMORROW="Jutro",t})(_M||{});var D5=(()=>{class t{constructor(){this.appStore=m(Fo),this.parameters$=Cd(this.appStore.perLoginParameters).pipe(ae(e=>e.length>0))}getParameter(e){return this.parameters$.pipe($(n=>this.findParameter(n,e)?.value))}get(e){return this.getParameter(e).pipe($(n=>n))}findParameter(e,n){return e.find(r=>r.name===wt[n].toString())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function hbe(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.foreignBankInputForm.controls.bic.getError("invalidBic"))}}function fbe(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["bic.invalid"])}}function gbe(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["bic.illegal"])}}function _be(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["bic.length"])}}function bbe(t,i){t&1&&(u(0,"mat-form-field",10)(1,"mat-label"),h(2,"Numer banku (SortCode, BLZ)"),c(),x(3,"input",34),c())}function vbe(t,i){if(t&1&&(u(0,"mat-option",22),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function ybe(t,i){t&1&&(u(0,"mat-error"),h(1,"Pole wymagane"),c())}function Cbe(t,i){if(t&1&&(u(0,"mat-form-field",23)(1,"mat-label"),h(2,"Data wykonania"),c(),x(3,"input",35)(4,"mat-datepicker-toggle",36)(5,"mat-datepicker",null,0),c()),t&2){let e=ye(6),n=_();l(3),g("formControl",n.dateOfExecution)("matDatepicker",e)("min",n.minPaymentDate),l(),g("for",e)}}function Dbe(t,i){t&1&&(u(0,"mat-error"),h(1,"Tytu\u0142 przelewu jest wymagany"),c())}function Ebe(t,i){if(t&1&&(u(0,"mat-error"),h(1,"Pole zawiera nieprawid\u0142owe znaki: "),u(2,"b"),h(3),c()()),t&2){let e=_();l(3),S(e.getInvalidCharacters(e.titleFC.getError("pattern")))}}function wbe(t,i){if(t&1&&(u(0,"mat-option",29),h(1),be(2,"commissionCoverer"),c()),t&2){let e=i.$implicit;g("value",e),l(),S(Fe(2,2,e))}}function xbe(t,i){if(t&1&&(u(0,"mat-option",29),h(1),c()),t&2){let e=i.$implicit;g("value",e.value),l(),S(e.viewValue)}}function Sbe(t,i){if(t&1&&(u(0,"mat-form-field",27)(1,"mat-label"),h(2,"Data waluty"),c(),u(3,"mat-select",21),He(4,xbe,2,2,"mat-option",29,at),be(6,"enumToArray"),c()()),t&2){let e=_();l(3),g("formControl",e.currencyDateFC),l(),Ue(Fe(6,1,e.currencyDataEnum))}}function Tbe(t,i){if(t&1&&(u(0,"div",30)(1,"mat-checkbox",21),h(2," Kurs preferencyjny "),c()()),t&2){let e=_();l(),g("formControl",e.preferRateFC)}}var bw=(()=>{class t{constructor(e,n,r){this.intDialogRef=e,this.data=n,this.dialog=r,this.perLoginParameterService=m(D5),this.fb=m(Er),this.getInvalidCharacters=ue.getInvalidCharacters,this.transferImportService=m(Gd),this.parameters=m(qr),this.contractorTransferService=m(zd),this.errorProviderService=m(Rt),this.accountService=m(Bo),this.transferService=m(Lo),this.notificationService=m(Le),this.foreignBankInputFormService=m(Nd),this.foreignBankInputForm=this.foreignBankInputFormService.form,this.foreignBankSearchService=m(Rh),this.foreignBanksService=m(No),this.ibanInfos=this.foreignBanksService.getForeignIbanInfos(),this.countries=this.foreignBanksService.getCountries().pipe($(LE)),this.allowPlIbanTransferInPln=this.perLoginParameterService.get(wt.TRANSFER_FOREIGN_CURRENCY_TRANSFER_ENABLED).pipe($(Boolean)),this.dialogHeader=this.allowPlIbanTransferInPln.pipe($(o=>o?"Przelew walutowy":"Przelew zagraniczny")),this.destroyRef=m(dn),this.commissionCovererOptions=Z([]),this.currencyDataEnum=_M,this.chargedAccounts=[],this.currencyFC=this.fb.nonNullable.control("",G.required),this.currencies=m(dl).getCurrencies(),this.allowedCurrencies=nn([this.currencies,this.allowPlIbanTransferInPln]).pipe(We(1),W(([o,a])=>this.foreignBankInputForm.valueChanges.pipe($(s=>s.country==="POLAND"||s.number?.startsWith("PL")),$(s=>s&&!a?o.filter(d=>
8003d!=="PLN"):o),Re(o)))),this.minPaymentDate=$t(new Date,je),this.isBicBtnDisable=!1,this.withConfirmAddNextButton=!1,this.COMMISSION_ACCOUNT="Rachunek Prowizji",this.TITLE_MAX_LENGTH=140,this.NAME_MAX_LENGTH=70,this.AMOUNT_MAX_LENGTH=15,this.ButtonLabels=tt,this.ERRORS=ln,this.isPacked=!1,this.COMMISSION_VAL="SHA",this.commissionFlagsPending=!1,this.dispositionId="",this.ValidatorUtils=Xt,this.allTransfer=this.data.transferData,this.isPacked=this.allTransfer.packaged,this.dialogMode=n.transferDialogMode,this.isCurrencyDateInput$=this.parameters.getParameter(wt.CURRENCY_DATE_ENABLED),this.isPreferRateInput$=this.parameters.getParameter(wt.EXCHANGE_PREFER_ENABLED),this.isBankNumberInput$=this.parameters.getParameter(wt.BANK_NUMBER_ENABLED),this.recipientName1FC=new z(""),this.recipientName2FC=new z(""),this.recipientAddress1FC=new z(""),this.recipientAddress2FC=new z(""),this.amountFC=new z("",[G.required,Xt.currencyValidator]),this.dateOfExecution=new z(An(new Date),G.required),this.titleFC=new z("",[G.required,G.pattern(ue.swiftPattern)]),this.commissionAccountFC=new z,this.commissionCovererFC=new z(this.COMMISSION_VAL,G.required),this.currencyDateFC=new z(""),this.sourceAccountFC=new z(""),this.preferRateFC=new z(!1),this.accountNumberFC=new z,this.recipientFG=new Qn({}),this.contentFG=new Qn({}),this.chargeFG=new Qn({}),this.contractorFG=new Qn({}),this.layoutFG=new Qn({})}ngOnInit(){this.initFCItems(),this.getChargeableAccount(),this.checkAndLoadTransfer(),this.checkCommisionCoverer()}isDialogInImportMode(){return this.dialogMode===Me.IMPORT}resetValues(){this.recipientFG.reset(),this.recipientFG.enable(),this.contentFG.reset(),this.chargeFG.reset(),this.contractorId=void 0,this.checkAndLoadTransfer()}pressSaveBtn(){this.contractorTransferService.validateContractorExistence(this.foreignBankInputForm.controls.number.value,this.contractorFG).pipe(ae(e=>!e),W(()=>this.doSaveAction()),this.errorProviderService.processError(ze.SAVING_ERROR)).subscribe()}openForeignBanksDialogComponent(){let e=new Jt;e.panelClass=li.MEDIUM,e.data={isDialog:!0},this.dialog.open(FE,e).afterClosed().pipe(ae(n=>n),$(t.toBankInfo),B(n=>{this.foreignBankInputFormService.setBank(n),this.isBicBtnDisable=!1})).subscribe()}openContractorsDialog(){let e=new Pa(wn.PRZELEW_ZAGRANICZNY);this.dialog.open(Fa,e).afterClosed().pipe(ae(n=>n),B(n=>{let r=ar.getFromContractor(n);this.setFormControlValues(r),this.disableRecipientInput(),this.foreignBankInputForm.disable({emitEvent:!1})})).subscribe()}closeDialog(e=!1){this.intDialogRef.close(e)}getFormGroup(){return this.layoutFG}getControlByProperty(e){switch(e){case"rachunekOdbiorcy":case"przelew":return this.foreignBankInputForm.controls.number;case"nazwaOdbiorcy1":return this.recipientName1FC;case"nazwaOdbiorcy3":return this.recipientAddress1FC;case"rachunek":return this.sourceAccountFC;case"rachunekProwizji":return this.commissionAccountFC;case"bic":case"bankData":return this.foreignBankInputForm.controls.bic;case"bank1":return this.foreignBankInputForm.controls.name;case"bank2":return this.foreignBankInputForm.controls.address;case"bank3":return this.foreignBankInputForm.controls.city;case"bank4":return this.foreignBankInputForm.controls.country;case"kwota":return this.amountFC;default:return null}}isDialogInEditMode(){return this.dialogMode===Me.EDIT}isDialogRepeatMode(){return this.dialogMode===Me.REPEAT}doSaveAction(){return this.ibanInfos.pipe($(e=>this.getTransferData(e)),W(e=>{switch(this.dialogMode){case Me.NEW:case Me.REPEAT:return this.save(e);case Me.EDIT:return this.update(e);case Me.IMPORT:return this.actionForImportMode(e)}}))}save(e){return this.processTransfer(Qz,e)}update(e){return this.processTransfer(n3,e)}processTransfer(e,n){return this.layoutFG.valid?this.contractorTransferService.saveContractor(n,ct.FOREIGN_TRANSFER,this.contractorFG).pipe(this.errorProviderService.processErrorWithLocalFormError(this),W(()=>this.transferService.save(n,e)),this.errorProviderService.processErrorWithLocalFormError(this),B(()=>this.closeDialog(!0))):(this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo"),ke)}getTransferData(e){return{targetAccount:this.formatTargetAccount(e),bundleId:this.data.transferData.bundleId,name1:this.recipientName1FC.value,
8003name2:this.recipientName2FC.value,address1:this.recipientAddress1FC.value,address2:this.recipientAddress2FC.value,bank:this.getForeignBank(),amount:this.amountFC.value,currency:this.currencyFC.value,preferRate:this.preferRateFC.value,dateOfExecution:this.dateOfExecution.value,title:this.titleFC.value,commissionAccountId:this.commissionAccountFC.value,commissionCoveredBy:this.commissionCovererFC.value,currencyDateType:this.currencyDateFC.value!==""?this.currencyDateFC.value:"NULL",sourceAccountId:this.sourceAccountFC.value,dispositionId:parseInt(this.dispositionId,10),contractorId:this.contractorId,checkIban:!1}}formatTargetAccount(e){return ue.removeWhitespaces(sa.setCountryCodeIfSelectedCountry(this.foreignBankInputForm.controls.country.value,this.foreignBankInputForm.controls.number.value,e))}initFCItems(){this.recipientFG=this.fb.group({accountFC:this.foreignBankInputForm.controls.number,bank:this.foreignBankInputForm,recipientName1FC:this.recipientName1FC,recipientName2FC:this.recipientName2FC,recipientAddress1FC:this.recipientAddress1FC,recipientAddress2FC:this.recipientAddress2FC}),this.contentFG=this.fb.group({amountFC:this.amountFC,currencyFC:this.currencyFC,paymentDateFC:this.dateOfExecution,titleFC:this.titleFC,commissionAccountFC:this.commissionAccountFC,commissionCovererFC:this.commissionCovererFC,currencyDateFC:this.currencyDateFC}),this.chargeFG=this.fb.group({targetAccountFC:this.sourceAccountFC,preferRateFC:this.preferRateFC}),this.layoutFG=this.fb.group({recipientFG:this.recipientFG,contentFG:this.contentFG,contractorFG:this.contractorFG,chargeFG:this.chargeFG}),this.markAllAsTouched()}actionForImportMode(e){return this.updateAction(e).pipe(B(n=>this.intDialogRef.close(n)),this.errorProviderService.processError(ze.EDITING_ERROR))}updateAction(e){return Jd({update:this.transferImportService.update(e,this.data.transferData.dispositionId,Gz),save:this.contractorTransferService.saveContractor(e,ct.FOREIGN_TRANSFER,this.contractorFG)}).pipe($(n=>n.update))}
8003checkAndLoadTransfer(){this.dialogMode===Me.NEW&&!this.allTransfer.contractorId&&(this.allTransfer.currency=""),this.setFormControlValues(this.allTransfer),this.isDialogInImportMode()&&this.sourceAccountFC.disable(),this.allTransfer.contractorId&&this.disableRecipientInput(),(this.isDialogInEditMode()||this.isDialogRepeatMode())&&this.applyEditMode()}applyEditMode(){this.recipientFG.setValidators(null),this.foreignBankInputForm.controls.country.disable(),this.foreignBankInputForm.controls.number.disable({emitEvent:!1}),this.commissionCovererFC.disable(),this.contractorId&&this.disableRecipientInput(),this.foreignBankInputForm.disable({emitEvent:!1})}disableRecipientInput(){this.foreignBankInputForm.controls.country.disable(),this.foreignBankInputForm.controls.number.disable({emitEvent:!1}),this.recipientName1FC.disable(),this.recipientName2FC.disable(),this.recipientAddress1FC.disable(),this.recipientAddress2FC.disable()}setFormControlValues(e){e&&(this.foreignBankInputForm.controls.number.setValue(e.targetAccount),this.recipientName1FC.setValue(e.name1),this.recipientName2FC.setValue(e.name2),this.recipientAddress1FC.setValue(e.address1),this.recipientAddress2FC.setValue(e.address2),this.commissionAccountFC.setValue(e.commissionAccountId),ue.isEmpty(this.amountFC.value)&&(this.amountFC.setValue(e.amount),this.currencyFC.setValue(e.currency||"")),this.dateOfExecution.setValue(e.dateOfExecution),this.commissionCovererFC.setValue(e?.commissionCoveredBy||this.COMMISSION_VAL),this.sourceAccountFC.setValue(this.sourceAccountFC.value?this.sourceAccountFC.value:e.sourceAccountId),this.dispositionId=e.dispositionId?.toString()||"",e.bank&&(this.foreignBankInputFormService.setBank(t.toBankInfo(e.bank)),this.resolveCommissionFlags(e.bank.bic)),this.titleFC.setValue(this.titleFC.value||e.title),this.contractorId=e.contractorId,this.preferRateFC.setValue(e?.preferRate||!1))}getChargeableAccount(){this.accountService.getChargeableAccounts().pipe(B(e=>{this.chargedAccounts=e})).subscribe()}checkCommisionCoverer(){nn([this.foreignBankInputForm.controls.eog.valueChanges.pipe(Re(this.foreignBankInputForm.controls.eog.value),It()),this.foreignBankInputForm.controls.sepa.valueChanges.pipe(Re(this.foreignBankInputForm.controls.sepa.value),It()),this.currencyFC.valueChanges.pipe(Re(this.currencyFC.value),It())]).pipe(hn(this.destroyRef),$(([e,n,r])=>this.getCommissionCovererOptions(e||!1,n||!1,r)),B(e=>this.commissionCovererOptions.set(e)),B(e=>this.setDefaultAndDisableCommissionCovererSelectIfListHasOneOption(e))).subscribe()}getCommissionCovererOptions(e,n,r){let o=[pc.SHA];return n&&r==="EUR"||(e||o.push(pc.OUR),e||o.push(pc.BEN)),o}setDefaultAndDisableCommissionCovererSelectIfListHasOneOption(e){e.length==1?(this.commissionCovererFC.setValue(e[0]),this.commissionCovererFC.disable()):this.commissionFlagsPending||this.commissionCovererFC.enable()}markAllAsTouched(){this.recipientFG.markAllAsTouched(),this.contentFG.markAllAsTouched(),this.chargeFG.markAllAsTouched()}getForeignBank(){let e=this.foreignBankInputFormService.getBank();return{id:e.id||"",bankName:e.name||"",address:e.address||"",city:e.city||"",country:e.country||"",bic:e.bic,eog:e.eog||!1}}resolveCommissionFlags(e){e&&(this.commissionFlagsPending=!0,this.commissionCovererFC.disable(),this.foreignBanksService.getBankByBic(e.toUpperCase()).pipe(hn(this.destroyRef)).subscribe({next:n=>{this.commissionFlagsPending=!1,n?.bankInfoStatus===hs.OK&&n.bankInfo&&(this.foreignBankInputForm.controls.eog.setValue(n.bankInfo.eog||!1),this.foreignBankInputForm.controls.sepa.setValue(n.bankInfo.sepa||!1)),this.setDefaultAndDisableCommissionCovererSelectIfListHasOneOption(this.commissionCovererOptions())},error:()=>{this.commissionFlagsPending=!1,this.setDefaultAndDisableCommissionCovererSelectIfListHasOneOption(this.commissionCovererOptions())}}))}static toBankInfo(e){return{id:e.id,name:e.bankName,address:e.address,city:e.city,country:e.country,bic:e.bic,eog:e.eog,sepa:null}}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(rt),E(mt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-international-transfer-dialog"]],standalone:!1,features:[me([Nd,Rh])],decls:85,vars:59,consts:[["executionDatePicker",""],[1,"flex-row","justify-between","gap-10"],["formControlName","country","matTooltip","Je\u015Bli numer rachunku b\u0119dzie zawiera\u0142 kod kraju, zostanie on u\u017Cyty niezale\u017Cnie od kraju wybranego z listy","matTooltipPosition","right",1,"flex-20",3,"countries","error"],[1,"flex-1",3,"buttonClickAction","targetAccountFC","dialogMode","allLayoutFG"],[3,"formGroup"],[1,"flex-row","justify-between","gap-20"],["appearance","outline",3,"ngClass"],["autocomplete","off","formControlName","bic","matInput","","type","text"],[1,"view-button"],[3,"clickAction","disabled"],["appearance","outline",1,"flex-40"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC","isInternational"],[1,"flex-row","gap-20"],["appearance","outline",1,"flex-50"],["autocomplete","off","formControlName","name","matInput","","type","text",3,"maxlength"],["autocomplete","off","formControlName","address","matInput","","type","text",3,"maxlength"],["autocomplete","off","formControlName","city","matInput","","type","text",3,"maxlength"],["autocomplete","off","formControlName","country","matInput","","type","text",3,"maxlength"],[3,"amountFC","maximumLength"],["appearance","outline",1,"min-width-of-5-rem"],["for","sourceAccount"],[3,"formControl"],[1,"custom-option",3,"value"],["appearance","outline"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","","required","","type","text",3,"formControl","maxlength"],[3,"accountList","sourceAccountFC","fieldLabel"],["appearance","outline",1,"flex-30"],["required","",3,"formControl"],[3,"value"],[1,"view-check-box"],[3,"accountList","sourceAccountFC","disabledInput"],[3,"contractorFG"],[3,"cancelAction","resetAction","confirmAction","withConfirmAddNextButton","confirmDisabled","buttonLabelConfirm"],["autocomplete","off","formControlName","number","matInput","","type","text"],["autocomplete","off","matInput","","required","",3,"formControl","matDatepicker","min"],["matSuffix","",3,"for"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),be(3,"async"),c(),u(4,"app-dialog-content")(5,"app-dialog-section")(6,"app-dialog-section-header"),h(7,"Beneficjent"),c(),u(8,"div",1),x(9,"app-country-select",2),be(10,"async"),u(11,"app-target-account-input",3),T("buttonClickAction",function(){return r.openContractorsDialog()}),c()(),u(12,"div",4)(13,"div",5)(14,"mat-form-field",6),be(15,"async"),u(16,"mat-label"),h(17,"Kod BIC"),c(),x(18,"input",7),v(19,hbe,2,1,"mat-error"),v(20,fbe,2,1,"mat-error"),v(21,gbe,2,1,"mat-error"),v(22,_be,2,1,"mat-error"),c(),u(23,"div",8)(24,"a
8003pp-button",9),T("clickAction",function(){return r.openForeignBanksDialogComponent()}),h(25," Przegl\u0105daj "),c()(),v(26,bbe,4,0,"mat-form-field",10),be(27,"async"),c(),x(28,"app-recipant-input",11),u(29,"div",12)(30,"mat-form-field",13)(31,"mat-label"),h(32,"Nazwa Banku"),c(),x(33,"input",14),c(),u(34,"mat-form-field",13)(35,"mat-label"),h(36,"Nazwa Banku cd."),c(),x(37,"input",15),c()(),u(38,"div",12)(39,"mat-form-field",13)(40,"mat-label"),h(41,"Adres Banku"),c(),x(42,"input",16),c(),u(43,"mat-form-field",13)(44,"mat-label"),h(45,"Adres Banku cd."),c(),x(46,"input",17),c()()()(),u(47,"app-dialog-section")(48,"app-dialog-section-header"),h(49,"Tre\u015B\u0107"),c(),u(50,"div",12),x(51,"app-amount-input",18),u(52,"mat-form-field",19)(53,"mat-label",20),h(54,"Waluta"),c(),u(55,"mat-select",21),He(56,vbe,2,2,"mat-option",22,at),be(58,"async"),c(),v(59,ybe,2,0,"mat-error"),c(),v(60,Cbe,7,4,"mat-form-field",23),c(),u(61,"mat-form-field",24)(62,"mat-label"),h(63,"Tytu\u0142em"),c(),x(64,"textarea",25),v(65,Dbe,2,0,"mat-error"),v(66,Ebe,4,1,"mat-error"),c(),x(67,"app-source-account-input",26),u(68,"div",12)(69,"mat-form-field",27)(70,"mat-label"),h(71,"Prowizj\u0119 pokrywa"),c(),u(72,"mat-select",28),He(73,wbe,3,4,"mat-option",29,at),c()(),v(75,Sbe,7,3,"mat-form-field",27),be(76,"async"),v(77,Tbe,3,1,"div",30),be(78,"async"),c()(),u(79,"app-dialog-section")(80,"app-dialog-section-header"),h(81,"Obci\u0105\u017Cenie"),c(),x(82,"app-source-account-input",31)(83,"app-create-contractor-input",32),c()(),u(84,"app-action-buttons-panel",33),T("cancelAction",function(){return r.closeDialog()})("resetAction",function(){return r.resetValues()})("confirmAction",function(){return r.pressSaveBtn()}),c()()),n&2&&(l(2),S(Fe(3,45,r.dialogHeader)),l(7),g("countries",Fe(10,47,r.countries))("error",r.foreignBankInputForm.hasError("noCountrySpecified")?"Wybierz kraj":null),l(2),g("targetAccountFC",r.foreignBankInputForm.controls.number)("dialogMode",r.dialogMode)("allLayoutFG",r.layoutFG),l(),g("formGroup",r.foreignBankInputForm),l(2),g("ngClass",Fe(15,49,r.isBankNumberInput$)?"flex-40":"flex-85"),l(5),y(r.foreignBankInputForm.controls.bic.hasError("invalidBic")?19:-1),l(),y(r.foreignBankInputForm.controls.bic.hasError("bic.invalid")?20:-1),l(),y(r.foreignBankInputForm.controls.bic.hasError("bic.illegal")?21:-1),l(),y(r.foreignBankInputForm.controls.bic.hasError("bic.length")?22:-1),l(2),g("disabled",r.isBicBtnDisable),l(2),y(Fe(27,51,r.isBankNumberInput$)?26:-1),l(2),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC)("isInternational",!0),l(5),g("maxlength",r.NAME_MAX_LENGTH),l(4),g("maxlength",r.NAME_MAX_LENGTH),l(5),g("maxlength",r.NAME_MAX_LENGTH),l(4),g("maxlength",r.NAME_MAX_LENGTH),l(5),g("amountFC",r.amountFC)("maximumLength",r.AMOUNT_MAX_LENGTH),l(4),g("formControl",r.currencyFC),l(),Ue(Fe(58,53,r.allowedCurrencies)),l(3),y(r.ValidatorUtils.isRequired(r.currencyFC)?59:-1),l(),y(!r.isDialogInImportMode()&&!r.isPacked?60:-1),l(4),g("formControl",r.titleFC)("maxlength",r.TITLE_MAX_LENGTH),l(),y(r.titleFC.hasError("required")?65:-1),l(),y(r.titleFC.hasError("pattern")?66:-1),l(),g("accountList",r.chargedAccounts)("sourceAccountFC",r.commissionAccountFC)("fieldLabel",r.COMMISSION_ACCOUNT),l(5),g("formControl",r.commissionCovererFC),l(),Ue(r.commissionCovererOptions()),l(2),y(Fe(76,55,r.isCurrencyDateInput$)?75:-1),l(2),y(Fe(78,57,r.isPreferRateInput$)?77:-1),l(5),g("accountList",r.chargedAccounts)("sourceAccountFC",r.sourceAccountFC)("disabledInput",r.isPacked),l(),g("contractorFG",r.contractorFG),l(),g("withConfirmAddNextButton",r.withConfirmAddNextButton)("confirmDisabled",r.layoutFG.invalid)("buttonLabelConfirm",r.ButtonLabels.SAVE))},styles:[".min-width-of-5-rem[_ngcontent-%COMP%]{min-width:5rem}",".flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}",".justify-between[_ngcontent-%COMP%]{justify-content:space-between}",".gap-10[_ngcontent-%COMP%]{gap:10px}",".gap-20[_ngcontent-%COMP%]{gap:20px}",".flex-20[_ngcontent-%COMP%]{flex:1 1 20%;max-width:20%;box-sizing:border-box}",".flex-30[_ngcontent-%COMP%]{flex:1 1 30%;max-width:30%;box-sizing:border-box}",".flex-40[_ngcontent-%COMP%]{flex:1 1 40%;max-width:40%;box-sizing:border-box}",".flex-50[_ngcontent-%COMP%]{flex:1 1 50%;max-width:50%;box-sizing:border-box}",".flex-85[_ngcontent-%COMP%]{flex:1 1 85%;max-width:85%;box-sizing:border-box}",".flex-1[_ngcontent-%COMP%]{flex:1 1 0;min-width:0}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();function Ibe(t,i){if(t&1){let e=Se();u(0,"mat-checkbox",18),T("change",function(){te(e);let r=_();
8003return ne(r.openWhiteListDialog(r.targetAccountFC.value,r.idNipPeselFC.value))}),h(1," Sprawd\u017C rachunek w wykazie podatnik\xF3w VAT "),c()}if(t&2){let e=_();g("formControl",e.whiteListCheckBoxCheckedFC)("disabled",!e.isWhiteListEnabled||e.targetAccountFC.invalid||e.idNipPeselFC.invalid)}}function Abe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.REQUIRED_ERROR_MESSAGE)}}function kbe(t,i){if(t&1){let e=Se();u(0,"mat-form-field",19)(1,"mat-label"),h(2,"Data ostat.realizacji"),c(),u(3,"input",23),T("focusout",function(){te(e);let r=_(2);return ne(r.dateUtils.keepMinDate(r.lastExecutionDateFC,r.minDate))}),c(),x(4,"mat-datepicker-toggle",21)(5,"mat-datepicker",null,1),u(7,"mat-error"),x(8,"app-last-execution-data-error",24),c()()}if(t&2){let e=ye(6),n=_(2);l(3),g("formControl",n.lastExecutionDateFC)("min",n.minDate)("matDatepicker",e),l(),g("for",e),l(4),g("lastExecutionDateFC",n.lastExecutionDateFC)}}function Rbe(t,i){if(t&1){let e=Se();u(0,"mat-form-field",19)(1,"mat-label"),h(2,"Data wykonania"),c(),u(3,"input",20),T("focusout",function(){te(e);let r=_();return ne(r.dateUtils.keepMinDate(r.executionDateFC,r.minDate))}),c(),x(4,"mat-datepicker-toggle",21)(5,"mat-datepicker",null,0),u(7,"mat-error"),v(8,Abe,2,1,"span"),c()(),fe(9,kbe,9,5,"mat-form-field",22)}if(t&2){let e=ye(6),n=_();l(3),g("formControl",n.executionDateFC)("min",n.minDate)("matDatepicker",e),l(),g("for",e),l(4),y(n.validatorUtils.isRequired(n.executionDateFC)?8:-1),l(),g("appShowIfHasAuthority",n.FunctionalAuthority.FUNC_MLYNEK)}}function Mbe(t,i){if(t&1){let e=Se();u(0,"mat-checkbox",25),T("change",function(){te(e);let r=_();return ne(r.toggleLastExecutionDateFC())}),h(1,"Sorbnet "),c()}if(t&2){let e=_();g("formControl",e.sorbnetFC)}}function Nbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.REQUIRED_ERROR_MESSAGE)}}function Obe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),S((e=n.idNipPeselFC.getError("nipAndPeselFormat"))==null?null:e.message)}}function Fbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.REQUIRED_ERROR_MESSAGE)}}function Pbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),S((e=n.invoiceNumberFC.getError("pattern"))==null?null:e.message)}}function Lbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["vatNr.invalidSubstrings"])}}function Bbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.invoiceNumberFC.getRawValue().length,"/",e.INVOICE_NUMBER_MAX_LENGTH)}}function Vbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),S((e=n.additionalMessageFC.getError("pattern"))==null?null:e.message)}}function jbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["text.invalidSubstrings"])}}function Hbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.additionalMessageFC.getRawValue().length,"/",e.ADDITIONAL_MESSAGE_MAX_LENGTH)}}var vw=(()=>{class t{constructor(e,n,r,o,a,s,d,p,f,b,w,A,M,J,j){this.formBuilder=e,this.orderDialogRef=n,this.dialog=r,this.data=o,this.contractorTransferService=a,this.notificationService=s,this.transferImportService=d,this.accountService=p,this.bankService=f,this.vatService=b,this.transferService=w,this.parameterService=A,this.whiteListFacadeService=M,this.errorProviderService=J,this.sorbnetRequiredService=j,this.bankName="",this.REQUIRED_ERROR_MESSAGE=Po,this.MAX_LENGTH_ERROR_MESSAGE=xh,this.ERRORS=ln,this.minDate=$t(new Date,je),this.INVOICE_NUMBER_MAX_LENGTH=35,this.ADDITIONAL_MESSAGE_MAX_LENGTH=33,this.chargedAccounts=[],this.validatorUtils=Xt,this.dateUtils=En,this.ButtonLabels=tt,this.FunctionalAuthority=Ut,this.withConfirmAddNextButton=!0,this.isSaveAndAddButtonDisabled=!1,this.isPacked=!1,this.isSorbnetTransferRequired=!1,this.isWhiteListEnabled=!1,this.isTransferSorbnetEnabled=!1,this.dispositionId="",this.TITLE="Przelew F-ra VAT",this.destroyed$=new O,this.hasSavedChanges=!1,this.allTransfer=o.transferData,this.isPacked=this.allTransfer.packaged,this.dialogMode=o.transferDialogMode,this.withConfirmAddNextButton=this.dialogMode!==Me.EDIT,this.targetAccountFC=new z("",[G.required,Xt.ibanSimplyValidator,G.pattern(ue.ibanPattern)]),this.recipientName1FC=new z(""),this.recipientName2FC=new z(""),this.recipientAddress1FC=new z(""),this.recipientAddress2FC=new z(""),this.amountFC=new z({value:"",disabled:!0}),this.amountGrossFC=new z("",[G.required,G.min(0)]),this.amountVATFC=new z("",[G.required]),this.executionDateFC=new z("",G.required),this.lastExecutionDateFC=new z(""),this.sorbnetFC=new z(!1),this.idNipPeselFC=new z("",[G.required,xi.nipPeselValidator]),this.invoiceNumberFC=new z("",[G.required,G.maxLength(this.INVOICE_NUMBER_MAX_LENGTH),xi.vatTitleChars,xi.invoiceNumber]),this.additionalMe
8003ssageFC=new z("",[G.maxLength(this.ADDITIONAL_MESSAGE_MAX_LENGTH),xi.vatTitleChars,xi.invoiceAdditionalInfo]),this.sourceAccountFC=new z(""),this.recipientFG=new Qn({}),this.contentFG=new Qn({}),this.chargeFG=new Qn({}),this.contractorFG=new Qn({}),this.invoiceFG=new Qn({}),this.vatAccountInfo$=this.sourceAccountFC.valueChanges.pipe($(K=>K||null),It((K,Te)=>K?.accountId!==Te?.accountId),W(K=>this.vatService.getVatFromSelectedAccount(K))),this.whiteListCheckBoxCheckedFC=new z(!1),this.whiteListFacadeService.isWhiteListEnabled().pipe(B(K=>{this.isWhiteListEnabled=K&&[Me.NEW,Me.REPEAT,Me.EDIT].includes(this.dialogMode)})).subscribe(),this.backdropSubscription=this.orderDialogRef.backdropClick().subscribe(()=>{this.closeDialog()})}onEscapeKey(){this.closeDialog()}ngOnInit(){this.initForm(),this.setSorbnetEnabledParameter(),this.loadChargeableVatAccounts(),this.checkAndLoadTransfer(),this.observeSorbnetRequirement()}openWhiteListDialog(e,n){let r=new Jt;r.data={details:{account:e,nip:n,transferType:pn.VAT_TRANSFERENCE}},this.whiteListCheckBoxCheckedFC.value===!0&&this.dialog.open(pb,r).afterClosed().pipe(B(o=>{o.state?this.setFieldsWhenStateIsTrue(o):this.setFieldsWhenStateIsFalse()})).subscribe()}isDialogInImportMode(){return this.dialogMode===Me.IMPORT}applyIbanFormatInAccount(){let e=vi.ibanFormat(this.targetAccountFC.value);this.targetAccountFC.setValue(e)}openContractorsDialog(){let e=new Pa(wn.PRZELEW_VAT);this.dialog.open(Fa,e).afterClosed().subscribe(n=>{n&&(this.allTransfer=ar.getFromContractor(n),this.setFormControlValues(),this.disableContractorsInput())})}toggleLastExecutionDateFC(){this.sorbnetFC.value?(this.lastExecutionDateFC.disable(),this.lastExecutionDateFC.setValue("")):this.lastExecutionDateFC.enable()}calculateAmountFCValue(){let e=bt.getTrimmedValue(this.amountGrossFC.value)-bt.getTrimmedValue(this.amountVATFC.value);this.amountFC.setValue(bt.formatAmount(e>0?e.toString():"0.00"))}closeDialog(){this.orderDialogRef.close(this.hasSavedChanges)}resetData(){this.recipientFG.reset(),this.recipientFG.enable(),this.contentFG.reset(),this.chargeFG.reset(),this.contractorId=void 0,this.whiteListDTO=null,this.allTransfer=ar.newWithBundleId(this.allTransfer.bundleId,this.allTransfer.sourceAccountId),this.checkAndLoadTransfer()}pressSaveBtn(e){this.contractorTransferService.validateContractorExistence(this.targetAccountFC.value,this.contractorFG).pipe(ae(n=>!n),W(()=>this.doSaveAction(e))).subscribe()}doSaveAction(e){switch(this.dialogMode){case Me.NEW:case Me.REPEAT:return this.save(e,pE);case Me.EDIT:return this.save(e,hE);case Me.IMPORT:return this.actionForImportMode($z)}}getFormGroup(){return this.invoiceFG}getControlByProperty(e){switch(e){case"rachunekOdbiorcy":case"przelew":return this.targetAccountFC;case"rachunek":return this.sourceAccountFC;case"dataOstatecznejRealizacji":return this.lastExecutionDateFC;case"kwota":return this.amountFC;case"kwotaVat":return this.amountVATFC;case"vatNr":return this.invoiceNumberFC;case"text":return this.additionalMessageFC;default:return null}}ngOnDestroy(){this.backdropSubscription.unsubscribe(),this.destroyed$.next(),this.destroyed$.complete()}save(e,n){if(this.isSorbnetTransferRequired)return this.sorbnetRequiredService.getRequiredMessage().pipe(We(1)).subscribe(o=>this.notificationService.formErrors([{inputName:"kwota",errorMessage:o}])),ke;let r=this.getTransferData();return this.invoiceFG.valid?this.contractorTransferService.saveContractor(r,ct.VAT_TRANSFER,this.contractorFG).pipe(this.errorProviderService.processErrorWithLocalFormError(this),W(()=>this.transferService.save(r,n)),this.errorProviderService.processErrorWithLocalFormError(this),B(()=>{this.hasSavedChanges=!0,e?this.resetData():this.closeDialog()})):(this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo"),ke)}observeSorbnetRequirement(){nn([this.amountGrossFC.valueChanges.pipe(Re(this.amountGrossFC.value)),this.sorbnetFC.valueChanges.pipe(Re(this.sorbnetFC.value))]).pipe(xe(this.destroyed$),W(([e,n])=>this.sorbnetRequiredService.isSorbnetRequired(bt.getTrimmedValue(e),"VAT").pipe($(r=>r&&!n)))).subscribe(e=>{this.isSorbnetTransferRequired=e})}disableContractorsInput(){this.targetAccountFC.disable(),this.recipientName1FC.disable(),this.recipientName2FC.disable(),this.recipientAddress1FC.disable(),this.recipientAddress2FC.disable()}markAllAsTouched(){this.recipientFG.markAllAsTouched(),this.contentFG.markAllAsTouched(),this.chargeFG.markAllAsTouched()}
8003getTransferData(){return{message:this.additionalMessageFC.value,address1:this.recipientAddress1FC.value,address2:this.recipientAddress2FC.value,netAmount:this.amountFC.value,vatAmount:this.amountVATFC.value,amount:this.amountGrossFC.value,currency:"PLN",dateOfExecution:this.executionDateFC.value,idNipPesel:this.idNipPeselFC.value,vatNumber:this.invoiceNumberFC.value,sorbnet:this.isTransferSorbnetEnabled&&!!this.sorbnetFC?.value,lastExecutionDate:this.lastExecutionDateFC.value,name1:this.recipientName1FC.value,name2:this.recipientName2FC.value,sourceAccountId:this.sourceAccountFC.value,targetAccount:ue.removeWhitespaces(this.targetAccountFC.value),title:this.TITLE,bundleId:this.data.transferData.bundleId,dispositionId:parseInt(this.dispositionId,10),contractorId:this.contractorId,whiteListDTO:this.whiteListDTO}}actionForImportMode(e){return this.invoiceFG.valid?this.updateAction(e).pipe(B(n=>this.orderDialogRef.close(n)),this.errorProviderService.processErrorWithLocalFormError(this)):(this.markAllAsTouched(),this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo"),ke)}updateAction(e){let n=this.getTransferData();return this.transferImportService.update(n,this.data.transferData.dispositionId,e).pipe(W(r=>(this.contractorTransferService.saveContractor(n,ct.VAT_TRANSFER,this.contractorFG),P(r))))}observeValues(){this.targetAccountFC.valueChanges.pipe(xe(this.destroyed$),It(),B(()=>{this.applyIbanFormatInAccount(),this.bankName=""}),ae(()=>this.targetAccountFC.valid),W(()=>this.bankService.getDomesticBank(ue.removeWhitespaces(this.targetAccountFC.value))),B(e=>this.bankName=e?.bankName||"")).subscribe()}loadChargeableVatAccounts(){this.accountService.getChargeableVatAccounts().pipe(this.errorProviderService.processError("Nie uda\u0142o si\u0119 pobra\u0107 listy rachunk\xF3w obci\u0105\u017Calnych")).subscribe(e=>{this.chargedAccounts=e,this.invoiceFG.clearValidators()})}checkAndLoadTransfer(){this.setFormControlValues(),this.isDialogInImportMode()&&(this.applyBundleMode(),this.targetAccountFC.disable()),this.dialogMode===Me.EDIT&&this.applyEditMode(),this.allTransfer.contractorId&&this.disableContractorsInput(),this.isPacked&&this.applyBundleMode()}applyBundleMode(){this.sourceAccountFC.disable(),this.executionDateFC.disable()}applyEditMode(){this.targetAccountFC.disable(),this.contractorId&&this.disableContractorsInput()}setFormControlValues(){this.allTransfer&&(this.targetAccountFC.setValue(vi.ibanFormat(this.allTransfer.targetAccount)),this.recipientName1FC.setValue(this.allTransfer.name1),this.recipientName2FC.setValue(this.allTransfer.name2),this.recipientAddress1FC.setValue(this.allTransfer.address1),this.recipientAddress2FC.setValue(this.allTransfer.address2),ue.isEmpty(this.amountFC.value)&&(this.amountFC.setValue(this.allTransfer.netAmount),this.amountGrossFC.setValue(this.allTransfer.amount),this.amountVATFC.setValue(this.allTransfer.vatAmount)),this.executionDateFC.setValue(this.allTransfer.dateOfExecution),this.lastExecutionDateFC.setValue(this.allTransfer.lastExecutionDate),this.sourceAccountFC.setValue(this.sourceAccountFC.value?this.sourceAccountFC.value:this.allTransfer.sourceAccountId),this.sorbnetFC.setValue(this.isTransferSorbnetEnabled&&this.allTransfer.sorbnet),this.dispositionId=this.allTransfer.dispositionId?.toString()||"",this.contractorId=this.allTransfer.contractorId,this.idNipPeselFC.setValue(this.allTransfer.idNipPesel),this.invoiceNumberFC.setValue(this.allTransfer.vatNumber),this.additionalMessageFC.setValue(this.allTransfer.message),this.whiteListDTO=this.allTransfer.whiteListDTO,this.whiteListCheckBoxCheckedFC.setValue(!!this.whiteListDTO),this.applyIbanFormatInAccount(),this.markAllAsTouched(),this.toggleLastExecutionDateFC())}initForm(){this.recipientFG=this.formBuilder.group({recipientAccountFC:this.targetAccountFC,recipientName1FC:this.recipientName1FC,recipientName2FC:this.recipientName2FC,recipientAddress1FC:this.recipientAddress1FC,recipientAddress2FC:this.recipientAddress2FC}),this.contentFG=this.formBuilder.group({amountFC:this.amountFC,amountGrossFC:this.amountGrossFC,amountVATFC:this.amountVATFC,executionDateFC:this.executionDateFC,lastExecutionDateFC:this.lastExecutionDateFC,sorbnetFC:this.sorbnetFC,idNipPeselFC:this.idNipPeselFC,invoiceNumberFC:this.invoiceNumberFC,additionalMe
8003ssageFC:this.additionalMessageFC},{validators:xi.vatAmount(this.amountVATFC,this.amountGrossFC)}),this.chargeFG=this.formBuilder.group({chargedAccountFC:this.sourceAccountFC}),this.invoiceFG=this.formBuilder.group({recipientFG:this.recipientFG,contentFG:this.contentFG,contractorFG:this.contractorFG,chargeFG:this.chargeFG}),this.observeValues()}setFieldsWhenStateIsFalse(){this.whiteListCheckBoxCheckedFC.setValue(!1),this.whiteListDTO=null}setFieldsWhenStateIsTrue(e){this.whiteListCheckBoxCheckedFC.setValue(!0),this.whiteListDTO=e.whiteListDTO}setSorbnetEnabledParameter(){this.parameterService.getParameterAsBoolean(wt.TRANSFER_SORBNET_ENABLED).subscribe(e=>this.isTransferSorbnetEnabled=e)}static{this.\u0275fac=function(n){return new(n||t)(E(Vi),E(Ze),E(mt),E(rt),E(zd),E(Le),E(Gd),E(Bo),E(pl),E(Ld),E(Lo),E(qr),E(Ph),E(Rt),E(yh))}}static{this.\u0275cmp=k({type:t,selectors:[["app-common-transfer-dialog"]],hostBindings:function(n,r){n&1&&T("keydown.escape",function(){return r.onEscapeKey()},$o)},standalone:!1,decls:51,vars:41,consts:[["executionDatePicker",""],["lastExecutionDatePicker",""],[3,"buttonClickAction","targetAccountFC","allLayoutFG","dialogMode","bankName"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[3,"formControl","disabled"],[1,"flex-row","gap-10"],[3,"amountFC","fieldLabel"],[3,"handleFocusoutEvent","amountFC","fieldLabel"],[1,"flex-row","gap-20"],["showPLNSuffix","true",3,"handleFocusoutEvent","amountFC","fieldLabel"],[3,"formControl"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","","appOnlyNumbers","","required","",3,"formControl"],["autocomplete","off","matInput","","type","text","required","",3,"formControl"],["autocomplete","off","matInput","","type","text",3,"formControl"],[3,"accountList","sourceAccountFC","vatAccountInfo","disabledInput","shouldShowVatAccount"],[3,"toggleContractor","contractorFG"],[3,"cancelAction","confirmAddNextAction","resetAction","confirmAction","withConfirmAddNextButton","confirmAddNextDisabled","confirmDisabled","buttonLabelConfirm"],[3,"change","formControl","disabled"],["appearance","outline"],["autocomplete","off","matInput","","required","",3,"focusout","formControl","min","matDatepicker"],["matSuffix","",3,"for"],["appearance","outline",4,"appShowIfHasAuthority"],["autocomplete","off","matInput","",3,"focusout","formControl","min","matDatepicker"],[3,"lastExecutionDateFC"],[3,"change","formControl"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Przelew faktura VAT"),c(),u(3,"app-dialog-content")(4,"app-dialog-section")(5,"app-dialog-section-header"),h(6,"Beneficjent"),c(),u(7,"app-target-account-input",2),T("buttonClickAction",function(){return r.openContractorsDialog()}),c(),x(8,"app-recipant-input",3),v(9,Ibe,2,2,"mat-checkbox",4),c(),u(10,"app-dialog-section")(11,"app-dialog-section-header"),h(12,"Tre\u015B\u0107"),c(),u(13,"div",5),x(14,"app-amount-input",6),u(15,"app-amount-input",7),T("handleFocusoutEvent",function(){return r.calculateAmountFCValue()}),c()(),u(16,"div",8)(17,"app-amount-input",9),T("handleFocusoutEvent",function(){return r.calculateAmountFCValue()}),c(),v(18,Rbe,10,6),v(19,Mbe,2,1,"mat-checkbox",10),c(),u(20,"mat-form-field",11)(21,"mat-label"),h(22,"Identyfikator ( NIP / PESEL )"),c(),x(23,"input",12),u(24,"mat-error"),v(25,Nbe,2,1,"span"),v(26,Obe,2,1,"span"),c()(),u(27,"mat-form-field",11)(28,"mat-label"),h(29,"Numer faktury"),c(),x(30,"input",13),u(31,"mat-error"),v(32,Fbe,2,1,"span"),v(33,Pbe,2,1,"span"),v(34,Lbe,2,1,"span"),v(35,Bbe,2,3,"span"),c()(),u(36,"mat-form-field",11)(37,"mat-label"),h(38,"Dodatkowa tre\u015B\u0107"),c(),x(39,"input",14),u(40,"mat-error"),v(41,Vbe,2,1,"span"),v(42,jbe,2,1,"span"),v(43,Hbe,2,3,"span"),c()()(),u(44,"app-dialog-section")(45,"app-dialog-section-header"),h(46,"Obci\u0105\u017Cenie"),c(),x(47,"app-source-account-input",15),be(48,"async"),u(49,"app-create-contractor-input",16),T("toggleContractor",function(){return r.isSaveAndAddButtonDisabled=!r.isSaveAndAddButtonDisabled}),c()()(),u(50,"app-action-buttons-panel",17),T("cancelAction",function(){return r.closeDialog()})("confirmAddNextAction",function(){return r.pressSaveBtn(!0)})("resetAction",function(){return r.resetData()})("confirmAction",function(){return r.pressSaveBtn(!1)}),c()()),n&2&&(l(7),g("targetAccountFC",r.targetAccountFC)("allLayoutFG",r.invoiceFG)("dialogMode",r.dialogMode)("bankName",r.bankName),l(),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC),l(),y(r.isWhiteListEnabled?9:-1),l(5),g("amountFC",r.amountFC)("fieldLabel","Kwota netto"),l(),g("amountFC",r.amountVATFC)("fieldLabel","Kwota VAT"),l(2),g("amountFC",r.amountGrossFC)("fieldLabel","Kwota brutto"),l(),y(r.isPacked?-1:18),l(),y(r.isTransferSorbnetEnabled?19:-1),l(4),g("formControl",r.idNipPeselFC),l(2),y(r.validatorUtils.isRequired(r.idNipPeselFC)?25:-1),l(),y(!r.idNipPeselFC.hasError("required")&&r.idNipPeselFC.hasError("nipAndPeselFormat")?26:-1),l(4),g("formControl",r.invoiceNumberFC),l(2),y(r.validatorUtils.isRequired(r.invoiceNumberFC)?32:-1),l(),y(r.invoiceNumberFC.hasError("pattern")?33:-1),l(),y(r.invoiceNumberFC.hasError("vatNr.invali
8003dSubstrings")?34:-1),l(),y(r.invoiceNumberFC.hasError("maxlength")?35:-1),l(4),g("formControl",r.additionalMessageFC),l(2),y(r.additionalMessageFC.hasError("pattern")?41:-1),l(),y(r.additionalMessageFC.hasError("text.invalidSubstrings")?42:-1),l(),y(r.additionalMessageFC.hasError("maxlength")?43:-1),l(4),g("accountList",r.chargedAccounts)("sourceAccountFC",r.sourceAccountFC)("vatAccountInfo",Fe(48,39,r.vatAccountInfo$))("disabledInput",r.isPacked)("shouldShowVatAccount",!0),l(2),g("contractorFG",r.contractorFG),l(),g("withConfirmAddNextButton",r.withConfirmAddNextButton)("confirmAddNextDisabled",r.invoiceFG.invalid||r.isSaveAndAddButtonDisabled)("confirmDisabled",r.invoiceFG.invalid)("buttonLabelConfirm",r.ButtonLabels.SAVE))},styles:[".spacer[_ngcontent-%COMP%]{margin-bottom:1rem}.vatAccount[_ngcontent-%COMP%]{margin-bottom:8px}.vatAccountHint[_ngcontent-%COMP%]{margin-top:-8px}.dialog-header[_ngcontent-%COMP%]{font-weight:700;font-size:18px}.subtitle[_ngcontent-%COMP%]{color:#2196f3;font-size:15px;margin-bottom:3px}.mat-mdc-input-element[_ngcontent-%COMP%]:disabled{color:#000}input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.gap-10[_ngcontent-%COMP%]{gap:10px}.gap-20[_ngcontent-%COMP%]{gap:20px}.flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();function Ube(t,i){if(t&1&&(u(0,"mat-option",3),h(1),be(2,"ibanFormatPipe"),c()),t&2){let e=i.$implicit;g("value",e.accountNumber),l(),so("",Fe(2,3,e.accountNumber),", ",e.friendlyName1," ")}}function zbe(t,i){if(t&1&&(u(0,"mat-option",11),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function Gbe(t,i){t&1&&(u(0,"mat-error"),h(1,"Pole wymagane"),c())}function Wbe(t,i){t&1&&(u(0,"span"),h(1,"Pole wymagane"),c())}function $be(t,i){t&1&&(u(0,"span"),h(1,"Data jest niew\u0142a\u015Bciwa"),c())}function qbe(t,i){if(t&1){let e=Se();u(0,"mat-form-field",12)(1,"mat-label"),h(2,"Data p\u0142atno\u015Bci"),c(),u(3,"input",16),T("focusout",function(){te(e);let r=_();return ne(r.checkExecuteDateFC())}),c(),x(4,"mat-datepicker-toggle",17)(5,"mat-datepicker",null,0),u(7,"mat-error"),v(8,Wbe,2,0,"span"),v(9,$be,2,0,"span"),c()()}if(t&2){let e=ye(6),n=_();l(3),g("min",n.minExectionDate)("matDatepicker",e)("formControl",n.executeDateFC),l(),g("for",e),l(4),y(n.executeDateFC.hasError("required")?8:-1),l(),y(n.isInvalid(n.executeDateFC)?9:-1)}}function Ybe(t,i){t&1&&(u(0,"span"),h(1,"Tytu\u0142 przelewu jest wymagany"),c())}function Kbe(t,i){t&1&&(u(0,"span"),h(1,"Pole zawiera nieprawid\u0142owe znaki"),c())}var bM=(()=>{class t{constructor(e,n,r,o,a,s){this.orderDialogRef=e,this.transferService=n,this.notificationService=r,this.accountService=o,this.errorProviderService=a,this.data=s,this.fb=m(Er),this.minExectionDate=$t(new Date,je),this.ButtonLabels=tt,this.ValidatorUtils=Xt,this.currencies=m(dl).getCurrencies(),this.currencyFC=this.fb.nonNullable.control("PLN",G.required),this.withConfirmAddNextButton=!0,this.isPacked=!1,this.ERRORS=ln,this.TITLE_MAX_LENGTH=140,this.subscription=new _e,this.hasSavedChanges=!1,this.transfer=s.transferData,this.isPacked=this.transfer.packaged,this.dialogMode=s.transferDialogMode,this.withConfirmAddNextButton=this.dialogMode!==Me.EDIT,this.targetAccountFC=this.createFormControl("",[G.required]),this.recipientName1FC=this.createFormControl(""),this.recipientName2FC=this.createFormControl(""),this.recipientAddress1FC=this.createFormControl(""),this.recipientAddress2FC=this.createFormControl(""),this.amountFC=this.createFormControl("",[G.required,Xt.currencyValidator]),this.executeDateFC=this.createFormControl("",[G.required]),this.titleFC=this.createFormControl("",[G.required,G.pattern(ue.titlePattern)]),this.sourceAccountFC=this.createFormControl(""),this.recipientFG=this.fb.group({}),this.contentFG=this.fb.group({}),this.chargeFG=this.fb.group({}),this.personalTransferFG=this.fb.group({}),this.backdropSubscription=this.orderDialogRef.backdropClick().subscribe(()=>this.closeDialog())}onEscapeKey(){this.closeDialog()}ngOnInit(){this.getChargeAccount(),this.getTargetAccount(),this.getDefaultUserData(),this.initForm(),this.loadTransfer()}getDefaultUserData(){this.subscription.add(this.transferService.getClientInfo().pipe(B(e=>{this.defaultUserData=e,this.setInitialValues()})).subscribe())}checkExecuteDateFC(){gd(new Date(this.executeDateFC.value),new Date(this.minExectionDate))&&this.executeDateFC.setValue(this.minExectionDate,{emitEvent:!1})}closeDialog(){this.orderDialogRef.close(this.hasSavedChanges)}resetData(){this.recipientFG.reset(),this.contentFG.reset(),this.chargeFG.reset(),this.setInitialValues(),this.recipientFG.updateValueAndValidity(),this.contentFG.updateValueAndValidity(),this.chargeFG.updateValueAndValidity()}pressSaveBtn(e){switch(this.dialogMode){case Me.NEW:this.save(e,Xz);break;case Me.EDIT:this.save(e,e3);break;case Me.IMPORT:break}}save(e,n){this.personalTransferFG.valid?(ue.replaceDoubleQuotesInName([this.recipientName1FC,this.recipientName2FC]),this.transferService.save(this.createOwnTransferData(),n).pipe(B(()=>{this.hasSavedChanges=!0,e?this.resetData():this.closeDialog()}),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()):this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo")}ngOnDestroy(){this.backdropSubscription.unsubscribe(),this.subscription.unsubscribe()}
8003isInvalid(e){return(e.touched||e.dirty)&&e.invalid}getFormGroup(){return this.personalTransferFG}getControlByProperty(e){switch(e){case"rachunekOdbiorcy":case"przelew":return this.targetAccountFC;case"rachunek":case"rachunekObciazany":return this.sourceAccountFC;case"kwota":case"kwotaVat":return this.amountFC;default:return null}}initForm(){this.recipientFG=this.fb.group({targetAccountFC:this.targetAccountFC,name1FC:this.recipientName1FC,name2FC:this.recipientName2FC,address1FC:this.recipientAddress1FC,address2FC:this.recipientAddress2FC}),this.contentFG=this.fb.group({amountFC:this.amountFC,currencyFC:this.currencyFC,executeDateFC:this.executeDateFC,titleFC:this.titleFC}),this.chargeFG=this.fb.group({sourceAccount:this.sourceAccountFC}),this.personalTransferFG=this.fb.group({recipientFG:this.recipientFG,contentFG:this.contentFG,chargeFG:this.chargeFG}),this.markAllAsTouched()}getChargeAccount(){this.subscription.add(this.accountService.getChargeableAccounts().pipe(B(e=>{this.chargeAccounts=e,this.personalTransferFG.clearValidators()})).subscribe())}getTargetAccount(){this.subscription.add(this.accountService.getOwnAccount().subscribe(e=>this.targetAccounts=e))}setInitialValues(){if(!this.defaultUserData)throw new Ta("defaultUserData");let e=this.defaultUserData;this.recipientName1FC.setValue(e.companyName1),this.recipientName2FC.setValue(e.companyName2),this.recipientAddress1FC.setValue(e.address1),this.recipientAddress2FC.setValue(e.address2),this.executeDateFC.setValue(this.minExectionDate)}createOwnTransferData(){return{address1:this.recipientAddress1FC.value,address2:this.recipientAddress2FC.value,amount:this.amountFC.value,currency:this.currencyFC.value,dateOfExecution:this.executeDateFC.value,sorbnet:!1,name1:this.recipientName1FC.value,name2:this.recipientName2FC.value,sourceAccountId:this.sourceAccountFC.value,targetAccount:ue.removeWhitespaces(this.targetAccountFC.value),title:this.titleFC.value,bundleId:this.data.transferData.bundleId}}markAllAsTouched(){this.recipientFG.markAllAsTouched(),this.contentFG.markAllAsTouched(),this.chargeFG.markAllAsTouched()}loadTransfer(){this.isPacked?(this.sourceAccountFC.disable(),this.sourceAccountFC.patchValue(this.transfer.sourceAccountId),this.executeDateFC.disable()):this.executeDateFC.setValue(this.transfer.dateOfExecution)}createFormControl(e,n=[]){return new z(e,n)}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(Lo),E(Le),E(Bo),E(Rt),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-common-transfer-dialog"]],hostBindings:function(n,r){n&1&&T("keydown.escape",function(){return r.onEscapeKey()},$o)},standalone:!1,decls:43,vars:23,consts:[["picker",""],["appearance","outline",1,"flex-fill"],["required","",3,"formControl"],[3,"value"],[3,"targetAccount"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[1,"flex-row","gap-10"],[3,"amountFC"],["appearance","outline",1,"min-width-of-5-rem"],["for","sourceAccount"],[3,"formControl"],[1,"custom-option",3,"value"],["appearance","outline"],["autocomplete","off","matInput","","type","text",3,"formControl","maxLength"],[3,"accountList","sourceAccountFC","disabledInput"],[3,"cancelAction","resetAction","confirmAddNextAction","confirmAction","withConfirmAddNextButton","confirmAddNextDisabled","confirmDisabled","buttonLabelConfirm"],["autocomplete","off","matInput","","name","paymentDateFC","required","",3,"focusout","min","matDatepicker","formControl"],["matSuffix","",3,"for"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Przelew W\u0142asny"),c(),u(3,"app-dialog-content")(4,"app-dialog-section")(5,"app-dialog-section")(6,"app-dialog-section-header"),h(7,"Beneficjent"),c(),u(8,"mat-form-field",1)(9,"mat-label"),h(10,"Rachunek"),c(),u(11,"mat-select",2),He(12,Ube,3,5,"mat-option",3,at),c(),u(14,"mat-error"),x(15,"app-target-account-error",4),c()(),x(16,"app-recipant-input",5),c()(),u(17,"app-dialog-section")(18,"app-dialog-section-header"),h(19,"Tre\u015B\u0107"),c(),u(20,"div",6),x(21,"app-amount-input",7),u(22,"mat-form-field",8)(23,"mat-label",9),h(24,"Waluta"),c(),u(25,"mat-select",10),He(26,zbe,2,2,"mat-option",11,at),be(28,"async"),c(),v(29,Gbe,2,0,"mat-error"),c(),v(30,qbe,10,6,"mat-form-field",12),c(),u(31,"mat-form-field",1)(32,"mat-label"),h(33,"Tytu\u0142em"),c(),x(34,"textarea",13),u(35,"mat-error"),v(36,Ybe,2,0,"span"),v(37,Kbe,2,0,"span"),c()()(),u(38,"app-dialog-section")(39,"app-dialog-section-header"),h(40,"Obci\u0105\u017Cenie"),c(),x(41,"app-source-account-input",14),c()(),u(42,"app-action-buttons-panel",15),T("cancelAction",function(){return r.closeDialog()})("resetAction",function(){return r.resetData()})("confirmAddNextAction",function(){return r.pressSaveBtn(!0)})("confirmAction",function(){return r.pressSaveBtn(!1)}),c()()),n&2&&(l(11),g("formControl",r.targetAccountFC),l(),Ue(r.targetAccounts),l(3),g("targetAccount",r.targetAccountFC),l(),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC),l(5),g("amountFC",r.amountFC),l(4),g("formControl",r.currencyFC),l(),Ue(Fe(28,21,r.currencies)),l(3),y(r.ValidatorUtils.isRequired(r.currencyFC)?29:-1),l(),y(r.isPacked?-1:30),l(4),g("formControl",r.titleFC)("maxLength",r.TITLE_MAX_LENGTH),l(2),y(r.titleFC.hasError("required")?36:-1),l(),y(r.titleFC.hasError("pattern")?37:-1),l(4),g("accountList",r.chargeAccounts)("sourceAccountFC",r.sourceAccountFC)("disabledInput",r.isPacked),l(),g("withConfirmAddNextButton",r.withConfirmAddNextButton)("confirmAddNextDisabled",r.personalTransferFG.invali
8003d)("confirmDisabled",r.personalTransferFG.invalid)("buttonLabelConfirm",r.ButtonLabels.SAVE))},dependencies:[Ve,qe,St,Pn,Qt,zi,pi,Ri,et,si,Mt,Nt,Ot,vr,Nr,Je,Xe,mn,$e,Bt,Na,Yr,Kr,Tt,mc,Ji,qt],styles:[".min-width-of-5-rem[_ngcontent-%COMP%]{min-width:5rem}",".flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}",".gap-10[_ngcontent-%COMP%]{gap:10px}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var hb=(function(t){return t[t.NOT_FOUND=-1]="NOT_FOUND",t[t.IRP_ACCOUNT=13]="IRP_ACCOUNT",t})(hb||{});var yw=class t{static{this.NEW_FORMAT=/^[A-Z]{3}[0-9]{6}$/}static{this.OLD_FORMAT=/^[A-Z]{2}[0-9]+$/}static{this.NEW_FORMAT_WEIGHTS=[7,3,1,7,3,1,7,3]}static{this.LETTER_OFFSET=55}static{this.OLD_SERIES=new Set("AB7 AP7 BA6 BR7 CA6 CC6 CD6 CE6 CF6 CG6 CH6 CI6 CJ6 CK6 CL6 CS7 DA6 DB7 DD7 DE7 DF7 DG7 DH7 DI7 DJ7 DK7 DL7 DM7 DN7 DO7 DP7 DR7 DS7 DT7 DX7 EA6 EU7 FA6 FW7 GA6 GZ7 HA6 JB7 KA6 KP7 LA6 LD7 MA6 ME7 NA6 NF7 OA6 PA6 PG7 RA6 RH7 SA6 SJ7 TA6 TD7 TK7 UL7 WA6 WK7 WL7 XC7 XS7 ZA6 ZL7 ZN7 ZZ7".split(" "))}static isValid(i){let e=i.trim().toUpperCase();return t.NEW_FORMAT.test(e)?t.hasValidCheckDigit(e):t.OLD_FORMAT.test(e)?t.OLD_SERIES.has(e.substring(0,2)+(e.length-2)):!1}static hasValidCheckDigit(i){let e=0;for(let n=0;n<3;n++)e+=(i.charCodeAt(n)-t.LETTER_OFFSET)*t.NEW_FORMAT_WEIGHTS[n];for(let n=4;n<9;n++)e+=Number(i.charAt(n))*t.NEW_FORMAT_WEIGHTS[n-1];return e%10===Number(i.charAt(3))}};var Xbe=/^[a-zA-Z0-9]*$/,Zbe=/^.{3,14}$/,Qbe=/^[^\s]{1,14}$/,Cw=class t{static forType(i){return e=>{let n=e.value;return n?t.validate(String(n),i.value):null}}static validate(i,e){switch(e){case Kn.NIP:return Ma.isValid(i)?null:{"identyfikator.nip.invalid":!0};case Kn.PESEL:return fl.isValid(i)?null:{"identyfikator.pesel.invalid":!0};case Kn.REGON:return Id.isValid(i)?null:{"identyfikator.regon.invalid":!0};case Kn.DOWOD_OSOBISTY:return yw.isValid(i)?null:{"identyfikator.dowod_osobisty.invalid":!0};case Kn.PASZPORT:return t.validatePassport(i);case Kn.INNY:return Qbe.test(i)?null:{"identyfikator.illegalChar":!0};default:return null}}static validatePassport(i){let e={};return Xbe.test(i)||(e["identyfikator.paszport.illegalChar"]=!0),Zbe.test(i)||(e["identyfikator.paszport.invalid"]=!0),Object.keys(e).length?e:null}};function Jbe(t,i){if(t&1&&(u(0,"mat-hint",7),h(1),c()),t&2){let e=_();l(),S(e.TARGET_ACCOUNT_PASTED)}}function eve(t,i){if(t&1){let e=Se();u(0,"mat-option",30),T("click",function(){let r=te(e).$implicit,o=_();return ne(o.setTaxOffice(r))}),h(1),be(2,"ibanFormatPipe"),c()}if(t&2){let e=i.$implicit;g("value",e.accountIban),l(),se(" ",Fe(2,2,e.accountIban)," ")}}function tve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["dataWykonania.empty"])}}function nve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["dataWykonania.beforeToday"])}}function ive(t,i){t&1&&(u(0,"span"),h(1,"Nie mo\u017Cna ustawi\u0107 przesz\u0142ej daty"),c())}function rve(t,i){if(t&1&&(u(0,"mat-form-field",16)(1,"mat-label"),h(2,"Data ost. realizacji"),c(),x(3,"input",34)(4,"mat-datepicker-toggle",32)(5,"mat-datepicker",null,2),u(7,"mat-error"),x(8,"app-last-execution-data-error",35),v(9,ive,2,0,"span"),c()()),t&2){let e=ye(6),n=_(2);l(3),g("formControl",n.lastExecutionDateFC)("matDatepicker",e)("min",n.minDate),l(),g("for",e),l(4),g("lastExecutionDateFC",n.lastExecutionDateFC),l(),y(n.dateOfExecutionFC.hasError("invalidDate")?9:-1)}}function ove(t,i){if(t&1&&(u(0,"mat-form-field",16)(1,"mat-label"),h(2,"Data wykonania"),c(),x(3,"input",31)(4,"mat-datepicker-toggle",32)(5,"mat-datepicker",null,1),u(7,"mat-error"),v(8,tve,2,1,"span"),v(9,nve,2,1,"span"),c()(),fe(10,rve,10,6,"mat-form-field",33)),t&2){let e=ye(6),n=_();l(3),g("formControl",n.dateOfExecutionFC)("matDatepicker",e)("min",n.minDate),l(),g("for",e),l(4),y(n.dateOfExecutionFC.hasError("dataWykonania.empty")?8:-1),l(),y(n.dateOfExecutionFC.hasError("dataWykonania.beforeToday")?9:-1),l(),g("appShowIfHasAuthority",n.FunctionalAuthority.FUNC_MLYNEK)}}function ave(t,i){if(t&1&&(u(0,"mat-option",8),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),se(" ",e.sfp," ")}}function sve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sfp.maxlength"])}}function lve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sfp.inactive"])}}function cve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sfp.illegal"])}}function dve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sfp.empty"])}}function uve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sfp.notINNE"])}}function mve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["okresRok.empty"])}}function pve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["okresRok.notEmpty"])}}function hve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["okresRok.invalid"])}}function fve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),se(" ",e.ERRORS["okresRok.invalid"]," ")}}function gve(t,i){if(t&1&&(u(0,"mat-option",8),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),se(" ",e," ")}}function _ve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["okresTyp.invalid"])}}function bve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["okresTyp.notEmpty"])}}function vve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["okresMiesiac.empty"])}}function yve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["okresMiesiac.invalid"])}}function Cve(t,i){if(t&1&&(u(0,"mat-form-field",16)(1,"mat-label"),h(2,"Miesi\u0105c"),c(),x(3,"input",17),u(4,"mat-error"),v(5,vve,2,1,"span"),v(6,yve,2,1,"span"),c()()),t&2){let e=_();l(3),g("formControl",e.settlementPeriodMonthFC)("maxLength",e.PERIOD_MONTH_LENGTH),l(2),y(e.settlementPeriodMonthFC.hasError("required")?5:-1),l(),y(e.settlementPeriodMonthFC.hasError("pattern")?6:-1)}}function Dve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["okresNumer.empty"])}}function Eve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["okresNumer.notEmpty"])}}function wve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["okresNumer.invalid"])}}function xve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["okresNumer.invalid"])}}function Sve(t,i){if(t&1&&(u(0,"mat-form-field",16)(1,"mat-label"),h(2),c(),x(3,"input",17),u(4,"mat-error"),v(5,Dve,2,1,"span"),v(6,Eve,2,1,"span"),v(7,wve,2,1,"span"),v(8,xve,2,1,"span"),c()()),t&2){let e=_();l(2),S(e.setPeriodNumberLabel()),l(),g("formControl",e.settlementPeriodNumberFC)("maxLength",e.PERIOD_NUMBER_LENGTH),l(2),y(e.settlementPeriodNumberFC.hasError("okresNumer.empty")||e.settlementPeriodNumberFC.hasError("required")?5:-1),l(),y(e.settlementPeriodNumberFC.hasError("okresNumer.notEmpty")?6:-1),l(),y(e.settlementPeriodNumberFC.hasError("okresNumer.invalid")?7:-1),l(),y(e.settlementPeriodNumberFC.hasError("pattern")?8:-1)}}function Tve(t,i){if(t&1&&(u(0,"mat-option",23),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),se(" ",e," ")}}function Ive(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["typIdentyfikatora.required"])}}function Ave(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["typIdentyfikatora.empty"])}}function kve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["typIdentyfikatora.invalid"])}}function Rve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.maxlength"])}}function Mve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.empty"])}}function Nve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.nip.invalid"])}}function Ove(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();
8003l(),S(e.ERRORS["identyfikator.pesel.invalid"])}}function Fve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.regon.invalid"])}}function Pve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.dowod_osobisty.invalid"])}}function Lve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.paszport.illegal"])}}function Bve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.paszport.illegalChar"])}}function Vve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.paszport.invalid"])}}function jve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.inny_dokument.invalid"])}}function Hve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.illegalChar"])}}function Uve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["idZobowiazania.clo.illegal"])}}function zve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["idZobowiazania.clo.empty"])}}function Gve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["idZobowiazania.illegal"])}}var vM=(()=>{class t{constructor(e,n,r,o,a,s,d,p,f,b){this.acceptTransferService=e,this.accountService=n,this.notificationService=r,this.taxOfficeService=o,this.dialogRef=a,this.data=s,this.dialog=d,this.transferImportService=p,this.errorProviderService=f,this.vatService=b,this.minDate=$t(new Date,je),this.ERRORS=ln,this.FunctionalAuthority=Ut,this.periodTypes=Object.values(ni),this.symbolOrPaymentTypes=[],this.complementaryIdTypes=Object.values(Kn),this.disableIdentifierBtn=!1,this.isRecipientAccountPasted=!1,this.TARGET_ACCOUNT_PASTED=eE,this.IDENTIFIER_LENGTH=14,this.IDENTIFICATION_LENGTH=40,this.PERIOD_MONTH_LENGTH=2,this.PERIOD_NUMBER_LENGTH=2,this.PERIOD_YEAR_LENGTH=2,this.AMOUNT_LENGTH=15,this.recipientAutoCompleteList=[],this.chargeableAccounts=[],this.ButtonLabels=tt,this.withConfirmAddNextButton=!1,this.contractorBtnDisabled=!1,this.usBtnDisabled=!1,this.isPacked=!1,this.cycleRequired=!1,this.importedSFP="",this.sfpGroupId=hb.NOT_FOUND,this.subscription=new _e,this.transfer=s.transferData,this.isPacked=this.transfer.packaged,this.dialogMode=this.data.transferDialogMode,this.selectedTransferFC=new z({rachunek:"",nazwa:"",adres:""}),this.recipientAccountFC=new z("",[G.required,Xt.ibanSimplyValidator,G.pattern(ue.ibanPattern)]),this.recipientName1FC=new z(""),this.recipientName2FC=new z(""),this.recipientAddress1FC=new z(""),this.recipientAddress2FC=new z(""),this.amountFC=new z("",[G.required,G.pattern(ue.onlyNumbersPattern),Xt.currencyValidator]),this.dateOfExecutionFC=new z(An(new Date)),this.lastExecutionDateFC=new z(""),this.formSymbolOrPaymentFC=new z(""),this.settlementPeriodYearFC=new z("",[G.required,G.pattern(ue.onlyNumbersPattern)]),this.settlementPeriodTypeFC=new z(""),this.settlementPeriodMonthFC=new z(""),this.settlementPeriodNumberFC=new z(""),this.complementaryIdentifierTypeFC=new z("",[G.required]),this.complementaryIdentifierFC=new z("",[G.required,Cw.forType(this.complementaryIdentifierTypeFC)]),this.commitmentIdentificationFC=new z(""),this.sourceAccountFC=new z,this.setSettlementPeriodDisable(),this.transferUsCloFG=new Qn({}),this.vatAccountInfo$=this.sourceAccountFC.valueChanges.pipe(It((w,A)=>w?.accountId!==A?.accountId),W(w=>this.vatService.getVatFromSelectedAccount(w)))}ngOnInit(){this.initItems(),this.getChargeableAccounts(),this.fillData(),this.initAccountInputListener(),this.initPeriodTypeListener(),this.initIdentifierTypeListener(),this.initSelectedTransferChangeListener()}initAccountInputListener(){this.subscription.add(this.recipientAccountFC.valueChanges.pipe(It(),hi(200),B(e=>this.ibanChange(e))).subscribe())}initSelectedTransferChangeListener(){this.subscription.add(this.selectedTransferFC.valueChanges.subscribe(e=>{this.recipientAccountFC.setValue(vi.ibanFormat(e?.rachunek)),this.recipientName1FC.setValue(e?.nazwa1),this.recipientName2FC.setValue(e?.nazwa2),this.recipientAddress1FC.setValue(e?.adres1),this.recipientAddress2FC.setValue(e?.adres2)}))}openTaxOfficeDialogComponent(){let e=new Jt;e.data={isDialog:!0},e.panelClass=li.MEDIUM,this.dialog.open(Td,e).afterClosed().pipe(ae(n=>n),W(n=>this.setTaxOffice(n))).subscribe()}clear(){this.transferUsCloFG.reset(),this.cycleRequired=!1,this.transfer=ar.newWithBundleId(this.transfer.bundleId,this.transfer.sourceAccountId),this.setSettlementPeriodDisable(),this.fillData(),this.transferUsCloFG.markAllAsTouched()}ngOnDestroy(){this.subscription.unsubscribe()}close(e=!1){this.dialogRef.close(e)}pressSaveBtn(){switch(this.dialogMode){case Me.NEW:case Me.REPEAT:this.save(Zz);break;case Me.EDIT:this.save(t3);break;case Me.IMPORT:this.actionForImportMode(Wz);break}}save(e){this.transferUsCloFG.valid?this.acceptTransferService.save(this.createTaxOfficeTransfer(),e).pipe(B(()=>{this.close(!0)}),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe():this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo")}applyIbanFormatInAccount(e=this.recipientAccountFC.value){let n=vi.ibanFormat(e);this.recipientAccountFC.setValue(n,{emitEvent:!1})}onRecipientAccountPaste(){this.isRecipientAccountPasted=!0}openIdentificatorDialog(){this.getContractorsDialog().pipe(B(e=>this.setIdentifier(e))).subscribe()}openContractorsDialog(){this.getContractorsDialog(wn.PRZELEW_US).pipe(B(e=>{e&&this.setContractorIntoForm(e)})).subscribe()}setTaxOffice(e){return this.recipientAccountFC.setValue(e.accountIban),this.recipientName1FC.setValue(e.name1),this.recipientName2FC.setValue(e.name2),this.recipientAddress1FC.setValue(e.address),this.recipientAddress2FC.setValue(""),this.sfpGroupId=e.accountsTypeGroup,this.applyIbanFormatInAccount(),this.saveInsertTaxOffice(e),this.get
8003SymbolOfPaymentTypes()}onSymbolOrPaymentTypesChange(){this.cycleRequired=this.formSymbolOrPaymentFC?.value?.cycle===1||!1,this.cycleRequired?this.setSettlementPeriodEnable():this.setSettlementPeriodDisable()}onSettlementPeriodTypeChange(){this.settlementPeriodMonthFC.reset(),this.settlementPeriodMonthFC.markAsTouched(),this.settlementPeriodNumberFC.reset(),this.settlementPeriodNumberFC.markAsTouched(),this.settlementPeriodNumberFC.clearValidators(),this.setPeriodNumberIfNeeded()&&this.settlementPeriodNumberFC.addValidators([G.required,G.pattern(this.choosePattern(this.settlementPeriodTypeFC.value))]),this.settlementPeriodNumberFC&&this.settlementPeriodNumberFC.updateValueAndValidity()}setPeriodNumberLabel(){switch(this.settlementPeriodTypeFC.value){case ni.DAY:return"Dzie\u0144";case ni.DECADE:return"Dekada miesi\u0105ca";case ni.QUARTER_YEAR:return"Kwarta\u0142";case ni.HALF_YEAR:return"P\xF3\u0142rocze"}return"Numer"}setMonthIfNeeded(){return this.periodIdHasMonth()?(this.settlementPeriodMonthFC.setValidators([G.required,G.pattern(ue.monthPattern)]),this.settlementPeriodMonthFC.updateValueAndValidity(),!0):(this.settlementPeriodMonthFC.setValidators(null),this.settlementPeriodMonthFC.updateValueAndValidity(),!1)}setPeriodNumberIfNeeded(){return this.settlementPeriodTypeFC.value&&!(this.settlementPeriodTypeFC.value===ni.YEAR||this.settlementPeriodTypeFC.value===ni.MONTH)}compareSelectOptions(e,n){return e&&n?e.sfp===n.sfp:e===n}setSettlementPeriodDisable(){this.settlementPeriodNumberFC.disable({emitEvent:!1}),this.settlementPeriodYearFC.disable({emitEvent:!1}),this.settlementPeriodMonthFC.disable({emitEvent:!1}),this.settlementPeriodTypeFC.disable({emitEvent:!1}),this.settlementPeriodNumberFC.setValue(""),this.settlementPeriodMonthFC.setValue(""),this.settlementPeriodYearFC.setValue("")}setSettlementPeriodEnable(){this.settlementPeriodNumberFC.enable({emitEvent:!1}),this.settlementPeriodMonthFC.enable({emitEvent:!1}),this.settlementPeriodYearFC.enable({emitEvent:!1}),this.settlementPeriodTypeFC.enable({emitEvent:!1})}ibanChange(e){this.applyIbanFormatInAccount(),this.fetchTaxOfficesFromIban(e)}getControlByProperty(e){switch(e){case"sfp":return this.formSymbolOrPaymentFC;case"okresTyp":return this.settlementPeriodTypeFC;case"okresRok":return this.settlementPeriodYearFC;case"okresMiesiac":return this.settlementPeriodMonthFC;case"okresNumer":return this.settlementPeriodNumberFC;case"rachunekOdbiorcy":case"rachunekUs":return this.recipientAccountFC;case"rachunek":return this.sourceAccountFC;case"idZobowiazania":return this.commitmentIdentificationFC;case"identyfikator":return this.complementaryIdentifierFC;case"typIdentyfikatora":return this.complementaryIdentifierTypeFC;case"dataOstatecznejRealizacji":return this.lastExecutionDateFC;case"dataWykonania":return this.dateOfExecutionFC;case"kwota":return this.amountFC;default:return null}}getFormGroup(){return this.transferUsCloFG}choosePattern(e){switch(e){case ni.DECADE:return ue.decadePattern;case ni.QUARTER_YEAR:return ue.quarterPattern;case ni.HALF_YEAR:return ue.halfYearPattern;case ni.DAY:default:return ue.dayPattern}}periodIdHasMonth(){return this.settlementPeriodTypeFC.value===ni.DAY||this.settlementPeriodTypeFC.value===ni.DECADE||this.settlementPeriodTypeFC.value===ni.MONTH}isDialogInImportMode(){return this.dialogMode===Me.IMPORT}isDialogInEditMode(){return this.dialogMode===Me.EDIT}fillData(){this.loadByReference(),this.isDialogInImportMode()&&(this.sourceAccountFC.disable(),this.contractorBtnDisabled=!0,this.applyBundleMode()),this.isDialogInEditMode()&&(this.recipientAccountFC.disable(),this.usBtnDisabled=!0,this.disableRecipientInput()),this.transfer.contractorId&&this.disableRecipientInput(),this.isPacked&&this.applyBundleMode()}applyBundleMode(){this.sourceAccountFC.disable(),this.dateOfExecutionFC.disable()}actionForImportMode(e){this.updateAction(e).pipe(this.errorProviderService.processErrorWithLocalFormError(this)).subscribe(n=>this.dialogRef.close(n))}updateAction(e){return this.transferImportService.update(this.createTaxOfficeTransfer(),this.data.transferData.dispositionId,e)}loadByReference(){this.setFormControlValues(),this.transfer.targetAccount&&this.taxOfficeService.getTaxOfficeFromIBAN(this.transfer.targetAccount).pipe(B(e=>{e[0]?.accountsTypeGroup?this.sfpGroupId=e[0]?.accountsTypeGroup:sc.isIRPAccount(this.transfer.targetAccount)&&this.setIRP(this.transfer.targetAccount)}),W(()=>this.getSymbolOfPaymentTypes()),B(()=>this.formSymbolOrPaymentFC.patchValue(this.symbolOrPaymentTypes.find(e=>e.sfp===this.importedSFP)))).subscribe()}disableRecipientInput(){this.recipientAccountFC.disable(),this.recipientName1FC.disable(),this.recipientName2FC.disable(),this.recipientAddress1FC.disable(),this.recipientAddress2FC.disable()}setIdentifier(e){let n=sc.getSpecificIdentifier(e,this.complementaryIdentifierTypeFC.value);n?this.complementaryIdentifierFC.setValue(n):this.setDefaultIdentifier(e)}setDefaultIdentifier(e){let n=sc.getDefaultIdentifier(e);this.complementaryIdentifierTypeFC.setValue(n.type),this.complementaryIdentifierFC.setValue(n.value)}getContractorsDialog(e){let n=new Pa(e||"");return this.dialog.open(Fa,n).afterClosed()}saveInsertTaxOffice(e){this.transfer.targetAccount=e.accountIban,this.transfer.name1=e.name1,this.transfer.name2=e.name2,this.transfer.address1=e.address}resetTaxOffice(){this.sfpGroupId=hb.NOT_FOUND,this.symbolOrPaymentTypes=[]}
8003setFormControlValues(){if(this.transfer){this.recipientAccountFC.setValue(vi.ibanFormat(this.transfer.targetAccount)),this.recipientName1FC.setValue(this.transfer.name1),this.recipientName2FC.setValue(this.transfer.name2),this.recipientAddress1FC.setValue(this.transfer.address1),this.recipientAddress2FC.setValue(this.transfer.address2),ue.isEmpty(this.amountFC.value)&&this.amountFC.setValue(this.transfer.amount),this.dateOfExecutionFC.setValue(this.transfer.dateOfExecution??An(new Date)),this.lastExecutionDateFC.setValue(this.transfer.lastExecutionDate),this.sourceAccountFC.setValue(this.sourceAccountFC.value?this.sourceAccountFC.value:this.transfer.sourceAccountId),this.dispositionId=this.transfer.dispositionId?.toString();let e=this.transfer.tax;if(e.idType)this.complementaryIdentifierTypeFC.setValue(e.idType),this.complementaryIdentifierFC.setValue(e.idValue),this.formSymbolOrPaymentFC.patchValue(e.sfp),this.importedSFP=e.sfp,this.settlementPeriodYearFC.setValue(e.periodYear),this.settlementPeriodTypeFC.setValue(e.periodType,{emitEvent:!1}),this.setPeriodIdOrMonth(e.periodType,e.periodId),this.commitmentIdentificationFC.setValue(e.obligationsId);else if(this.transfer.title){let n=nf.parse(this.transfer.title);this.complementaryIdentifierTypeFC.setValue(n.identifier.type),this.complementaryIdentifierFC.setValue(n.identifier.value),this.formSymbolOrPaymentFC.patchValue(n.sfp),this.importedSFP=n.sfp,this.settlementPeriodYearFC.setValue(n.period.year),this.settlementPeriodTypeFC.setValue(n.period.type,{emitEvent:!1}),this.setPeriodIdOrMonth(n.period.type,n.period.number),this.commitmentIdentificationFC.setValue(n.commitmentIdentification)}this.applyIbanFormatInAccount()}}fetchTaxOfficesFromIban(e){let n=ue.removeWhitespaces(e);this.resetTaxOffice(),sc.isIRPAccount(n)?this.setIRP(n):this.setTaxOfficeFromIban(n)}setTaxOfficeFromIban(e){this.taxOfficeService.getTaxOfficeFromIBAN(e).pipe(W(n=>(this.recipientAutoCompleteList=n,n.length===1&&n[0].accountIban===e?this.setTaxOffice(n[0]):ke))).subscribe()}initItems(){this.transferUsCloFG=new Qn({recipientAccountFC:this.recipientAccountFC,recipientName1FC:this.recipientName1FC,recipientName2FC:this.recipientName2FC,recipientAddress1FC:this.recipientAddress1FC,recipientAddress2FC:this.recipientAddress2FC,amountFC:this.amountFC,executionDateFC:this.dateOfExecutionFC,lastExecutionDateFC:this.lastExecutionDateFC,settlementPeriodYearFC:this.settlementPeriodYearFC,settlementPeriodTypeFC:this.settlementPeriodTypeFC,settlementPeriodMonthFC:this.settlementPeriodMonthFC,settlementPeriodNumberFC:this.settlementPeriodNumberFC,complementaryIdentifierTypeFC:this.complementaryIdentifierTypeFC,complementaryIdentifierFC:this.complementaryIdentifierFC,commitmentIdentificationFC:this.commitmentIdentificationFC,chargeFC:this.sourceAccountFC,formSymbolOrPaymentFC:this.formSymbolOrPaymentFC}),this.transferUsCloFG.markAllAsTouched()}createTaxOfficeTransfer(){return{amount:this.amountFC.value,targetAccount:ue.removeWhitespaces(this.recipientAccountFC.value),sourceAccountId:this.sourceAccountFC.value,name1:this.recipientName1FC.value,name2:this.recipientName2FC.value,address1:this.recipientAddress1FC.value,address2:this.recipientAddress2FC.value,dateOfExecution:this.dateOfExecutionFC.value?.toDate?.()??this.dateOfExecutionFC.value,lastExecutionDate:this.lastExecutionDateFC.value,bundleId:this.data.transferData.bundleId,tax:{idType:this.complementaryIdentifierTypeFC.value,idValue:this.complementaryIdentifierFC.value,periodId:this.cycleRequired?this.setPeriodId(this.settlementPeriodNumberFC.value,this.settlementPeriodMonthFC.value):"",periodType:this.cycleRequired?this.settlementPeriodTypeFC.value:"",periodYear:this.cycleRequired?this.settlementPeriodYearFC.value:"",sfp:this.formSymbolOrPaymentFC.value?.sfp||"",obligationsId:this.commitmentIdentificationFC.value},dispositionId:parseInt(this.dispositionId,10)}}setPeriodIdOrMonth(e,n){e===ni.MONTH?(this.settlementPeriodMonthFC.setValue(n),this.settlementPeriodNumberFC.setValue("")):(this.settlementPeriodNumberFC.setValue(n),this.settlementPeriodMonthFC.setValue(""))}setPeriodId(e,n){let r=o=>ue.isEmpty(o)?"":o.padStart(2,"0");return r(e)+r(n)}getChargeableAccounts(){this.accountService.getChargeableAccounts().pipe(B(e=>this.chargeableAccounts=e)).subscribe()}getSymbolOfPaymentTypes(){return this.taxOfficeService.getSymbolOfPaymentTypes(this.sfpGroupId).pipe(B(e=>this.symbolOrPaymentTypes=e),ae(e=>e.length>0))}disableIdentifierInput(){this.complementaryIdentifierTypeFC.disable(),this.complementaryIdentifierFC.disable(),this.disableIdentifierBtn=!0}setIRP(e){let n=sc.getIrpIdentifier(e);this.complementaryIdentifierTypeFC.patchValue(n.type),this.complementaryIdentifierFC.setValue(n.value),this.transfer.tax.idType=n.type,this.transfer.tax.idValue=n.value,this.disableIdentifierInput(),this.setTaxOffice({accountIban:e,accountsTypeGroup:hb.IRP_ACCOUNT,name1:this.transfer.name1,name2:this.transfer.name2,address:this.recipientAddress1FC.value}).subscribe()}setContractorIntoForm(e){this.transfer=ar.getFromContractor(e),sc.isIRPAccount(this.transfer.targetAccount)&&this.setIRP(this.transfer.targetAccount),this.setFormControlValues(),this.disableRecipientInput()}initIdentifierTypeListener(){this.subscription.add(this.complementaryIdentifierTypeFC.valueChanges.subscribe(()=>
8003this.complementaryIdentifierFC.updateValueAndValidity()))}initPeriodTypeListener(){this.subscription.add(this.settlementPeriodTypeFC.valueChanges.pipe(It(),hi(200),B(e=>{e===ni.YEAR?(this.settlementPeriodMonthFC.reset(),this.settlementPeriodNumberFC.reset(),this.settlementPeriodNumberFC.disable()):(this.settlementPeriodNumberFC.enable(),this.onSettlementPeriodTypeChange())})).subscribe())}static{this.\u0275fac=function(n){return new(n||t)(E(Lo),E(Bo),E(Le),E(Ch),E(Ze),E(rt),E(mt),E(Gd),E(Rt),E(Ld))}}static{this.\u0275cmp=k({type:t,selectors:[["app-transfer-us-clo"]],standalone:!1,decls:115,vars:64,consts:[["recipientAutoComplete","matAutocomplete"],["executionDatePicker",""],["lastExecutionDatePicker",""],[1,"flex-row","justify-around","items-center","gap-20"],["appearance","outline",1,"flex-85"],["autocomplete","off","matInput","","required","","type","text",3,"paste","formControl","matAutocomplete"],[3,"targetAccount"],[1,"red-hint"],[3,"value"],[3,"clickAction","disabled"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[1,"flex-row","gap-20"],[3,"amountFC","maximumLength"],["appearance","outline",1,"flex-fill"],[3,"ngModelChange","compareWith","formControl"],[1,"paragraph"],["appearance","outline"],["autocomplete","off","matInput","","type","text",3,"formControl","maxLength"],["appearance","outline",1,"min-width-of-5-rem"],[3,"formControl"],[1,"flex-row","justify-between","gap-20"],["appearance","outline",1,"flex-50"],["placeholder","Wybierz rachunek","required","",3,"formControl"],[1,"custom-option",3,"value"],[1,"flex-50"],["appearance","outline",1,"flex-80"],["autocomplete","off","matInput","","required","","type","text",3,"formControl","maxLength"],["mat-raised-button","","type","button",2,"margin-left","15px","height","50px",3,"click","disabled"],[3,"accountList","sourceAccountFC","disabledInput","shouldShowVatAccount","vatAccountInfo"],[3,"cancelAction","resetAction","confirmAction","withConfirmAddNextButton","confirmDisabled","buttonLabelConfirm"],[3,"click","value"],["autocomplete","off","matInput","","required","",3,"formControl","matDatepicker","min"],["matSuffix","",3,"for"],["appearance","outline",4,"appShowIfHasAuthority"],["autocomplete","off","matInput","",3,"formControl","matDatepicker","min"],[3,"lastExecutionDateFC"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Przelew US/C\u0141O"),c(),u(3,"app-dialog-content")(4,"app-dialog-section")(5,"app-dialog-section-header"),h(6,"Urz\u0105d"),c(),u(7,"div",3)(8,"mat-form-field",4)(9,"mat-label"),h(10,"Rachunek"),c(),u(11,"input",5),T("paste",function(){return r.onRecipientAccountPaste()}),c(),u(12,"mat-error"),x(13,"app-target-account-error",6),c(),v(14,Jbe,2,1,"mat-hint",7),c(),u(15,"mat-autocomplete",null,0),He(17,eve,3,4,"mat-option",8,at),c(),u(19,"app-button",9),T("clickAction",function(){return r.openContractorsDialog()}),h(20," ... "),c(),u(21,"app-button",9),T("clickAction",function(){return r.openTaxOfficeDialogComponent()}),h(22," US "),c()(),x(23,"app-recipant-input",10),c(),u(24,"app-dialog-section")(25,"app-dialog-section-header"),h(26,"Tre\u015B\u0107"),c(),u(27,"div",11),x(28,"app-amount-input",12),v(29,ove,11,7),c(),u(30,"mat-form-field",13)(31,"mat-label"),h(32,"Symbol formularza lub p\u0142atno\u015Bci"),c(),u(33,"mat-select",14),T("ngModelChange",function(){return r.onSymbolOrPaymentTypesChange()}),u(34,"mat-option"),h(35,"--"),c(),He(36,ave,2,2,"mat-option",8,at),c(),u(38,"mat-error"),v(39,sve,2,1,"span"),v(40,lve,2,1,"span"),v(41,cve,2,1,"span"),v(42,dve,2,1,"span"),v(43,uve,2,1,"span"),c()(),u(44,"mat-card-header")(45,"mat-card-subtitle",15),h(46,"Okres rozliczenia"),c()(),u(47,"div",11)(48,"mat-form-field",16)(49,"mat-label"),h(50,"Rok"),c(),x(51,"input",17),u(52,"mat-error"),v(53,mve,2,1,"span"),v(54,pve,2,1,"span"),v(55,hve,2,1,"span"),v(56,fve,2,1,"span"),c()(),u(57,"mat-form-field",18)(58,"mat-label"),h(59,"Typ"),c(),u(60,"mat-select",19)(61,"mat-option"),h(62,"--"),c(),He(63,gve,2,2,"mat-option",8,at),c(),u(65,"mat-error"),v(66,_ve,2,1,"span"),v(67,bve,2,1,"span"),c()(),v(68,Cve,7,4,"mat-form-field",16),v(69,Sve,9,7,"mat-form-field",16),c(),u(70,"div",20)(71,"mat-form-field",21)(72,"mat-label"),h(73,"Typ identyfikatora uzupe\u0142niaj\u0105cego"),c(),u(74,"mat-select",22),He(75,Tve,2,2,"mat-option",23,at),c(),u(77,"mat-error"),v(78,Ive,2,1,"span"),v(79,Ave,2,1,"span"),v(80,kve,2,1,"span"),c()(),u(81,"div",24)(82,"mat-form-field",25)(83,"mat-label"),h(84,"Identyfikator uzupe\u0142niaj\u0105cy"),c(),x(85,"input",26),u(86,"mat-error"),v(87,Rve,2,1,"span"),v(88,Mve,2,1,"span"),v(89,Nve,2,1,"span"),v(90,Ove,2,1,"span"),v(91,Fve,2,1,"span"),v(92,Pve,2,1,"span"),v(93,Lve,2,1,"span"),v(94,Bve,2,1,"span"),v(95,Vve,2,1,"span"),v(96,jve,2,1,"span"),v(97,Hve,2,1,"span"),c()(),u(98,"button",27),T("click",function(){return r.openIdentificatorDialog()}),u(99,"mat-icon"),h(100,"list"),c()()()(),u(101,"mat-form-field",13)(102,"mat-label"),h(103,"Identyfikacja zobowi\u0105zania"),c(),x(104,"input",17),u(105,"mat-error"),v(106,Uve,2,1,"span"),v(107,zve,2,1,"span"),v(108,Gve,2,1,"span"),c()()(),u(109,"app-dialog-section")(110,"app-dialog-section-header"),h(111,"Obci\u0105\u017Cenie"),c(),x(112,"app-source-account-input",28),be(113,"async"),c()(),u(114,"app-action-buttons-panel",29),T("cancelAction",function(){return r.close()})("resetAction",function(){return r.clear()})("confirmAction",function(){return r.pressSaveBtn()}),c()()),n&2){let o=ye(16);l(11),g("formControl",r.recipientAccountFC)("matAutocomplete",o),l(2),g("targetAccount",r.recipientAccountFC),l(),y(r.isRecipientAccountPasted?14:-1),l(3),Ue(r.recipientAutoCompleteList),l(2),g("disabled",r.contractorBtnDisabled),l(2),g("disabled",r.usBtnDisabled),l(2),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC),l(5),g("amountFC",r.amountFC)("maximumLength",r.AMOUNT_LENGTH),l(),y(r.isPacked?-1:29),l(4),g("compareWith",r.compareSelectOptions)("formControl",r.formSymbolOrPaymentFC),l(3),Ue(r.symbolOrPaymentTypes),l(3),y(r.formSymbolOrPaymentFC.hasError("sfp.maxlength")?39:-1),l(),y(r.formSymbolOrPaymentFC.hasError("sfp.inactive")?40:-1),l(),y(r.formSymbolOrPaymentFC.hasError("sfp.illegal")?41:-1),l(),y(r.formSymbolOrPaymentFC.hasError("sfp.empty")?42:-1),l(),y(r.formSymbolOrPaymentFC.hasError("sfp.notINNE")?43:-1),l(8),g("formControl",r.settlementPeriodYearFC)("maxLength",r.PERIOD_YEAR_LENGTH),l(2),y(r.settlementPeriodYearFC.hasError("okresRok.empty")||r.settlementPeriodYearFC.hasError("required")?53:-1),l(),y(r.settlementPeriodYearFC.hasError("okresRok.notEmpty")?54:-1),l(),y(r.settlementPeriodYearFC.hasError("okresRok.invalid")?55:-1),l(),y(r.settlementPeriodYearFC.hasError("pattern")?56:-1),l(4),g("formControl",r.settlementPeriodTypeFC),l(3),Ue(r.periodTypes),l(3),y(r.settlementPeriodTypeFC.hasError("okresTyp.invalid")?66:-1),l(),y(r.settlementPeriodTypeFC.hasError("okresTyp.notEmpty")?67:-1),l(),y(r.setMonthIfNeeded()?68:-1),l(),y(r.setPeriodNumberIfNeeded()?69:-1),l(5),g("formControl",r.complementaryIdentifierTypeFC),l(),Ue(r.complementaryIdTypes),l(3),y(r.complementaryIdentifierTypeFC.hasError("required")?78:-1),l(),y(r.complementaryIdentifierTypeFC.hasError("typIdentyfikatora.empty")?79:-1),l(),y(r.complementaryIdentifierTypeFC.hasError("typIdentyfikatora.invalid")?80:-1),l(5),g("formControl",r.complementaryIdentifierFC)("maxLength",r.IDENTIFIER_LENGTH),l(2),y(r.complementaryIdentifierFC.hasError("identyfikator.maxlength")?87:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.empty")?88:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.nip.invalid")?89:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.pesel.invali
8003d")?90:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.regon.invalid")?91:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.dowod_osobisty.invalid")?92:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.paszport.illegal")?93:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.paszport.illegalChar")?94:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.paszport.invalid")?95:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.inny_dokument.invalid")?96:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.illegalChar")?97:-1),l(),g("disabled",r.disableIdentifierBtn),l(6),g("formControl",r.commitmentIdentificationFC)("maxLength",r.IDENTIFICATION_LENGTH),l(2),y(r.commitmentIdentificationFC.hasError("idZobowiazania.clo.illegal")?106:-1),l(),y(r.commitmentIdentificationFC.hasError("idZobowiazania.clo.empty")?107:-1),l(),y(r.commitmentIdentificationFC.hasError("idZobowiazania.illegal")?108:-1),l(4),g("accountList",r.chargeableAccounts)("sourceAccountFC",r.sourceAccountFC)("disabledInput",r.isPacked)("shouldShowVatAccount",!0)("vatAccountInfo",Fe(113,62,r.vatAccountInfo$)),l(2),g("withConfirmAddNextButton",r.withConfirmAddNextButton)("confirmDisabled",r.transferUsCloFG.invalid)("buttonLabelConfirm",r.ButtonLabels.SAVE)}},dependencies:[Ve,qe,ra,St,Pn,ya,Qt,hr,qn,HC,jC,zi,pi,Ri,zn,et,si,Mt,Nt,Ot,vr,Nr,Je,Xe,mn,$e,Bt,gm,Na,Yr,Kr,bi,Tt,mc,_m,Ji,qt],styles:[".flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}",".justify-between[_ngcontent-%COMP%]{justify-content:space-between}",".justify-around[_ngcontent-%COMP%]{justify-content:space-around}",".items-center[_ngcontent-%COMP%]{align-items:center}",".gap-20[_ngcontent-%COMP%]{gap:20px}",".flex-50[_ngcontent-%COMP%]{flex:1 1 50%;max-width:50%;box-sizing:border-box}",".flex-80[_ngcontent-%COMP%]{flex:1 1 80%;max-width:80%;box-sizing:border-box}",".flex-85[_ngcontent-%COMP%]{flex:1 1 85%;max-width:85%;box-sizing:border-box}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var E5=(()=>{class t{constructor(e){this.dialog=e}openDialog(e,n,r){switch(e){case pn.COMMON:return this.dialog.open(rf,this.addCommonConfig(n,r));case pn.SORBNET:return this.dialog.open(rf,this.addCommonConfig(n,r,!0));case pn.INTERNATIONAL:return this.dialog.open(bw,this.addCommonConfig(n,r));case pn.PERSONAL:return this.dialog.open(bM,this.addCommonConfig(n,r));case pn.VAT_INVOICE:return this.dialog.open(vw,this.addCommonConfig(n,r));case pn.US_CLO:return this.dialog.open(vM,this.addCommonConfig(n,r));case pn.VAT_TRANSFERENCE:return this.dialog.open(WR,this.addCommonConfig(n,r));default:return this.dialog.open(rf,this.addCommonConfig(n,r))}}addCommonConfig(e,n,r=!1){e.sorbnet=e.sorbnet||r;let o=new Jt;return o.data={transferDialogMode:n,transferData:e},o.panelClass=li.LARGE,o}static{this.\u0275fac=function(n){return new(n||t)(F(mt))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var w5=(()=>{class t{constructor(e){this.dialog=e}openDialog(e,n){let r=new Jt;return r.data={details:n,dialogVariant:Mi.getContractorType(e)},r.panelClass=li.MEDIUM,r.data.dialogVariant===ct.FOREIGN_TRANSFER?this.dialog.open(BE,r):this.dialog.open(OE,r)}static{this.\u0275fac=function(n){return new(n||t)(F(mt))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function qve(t,i){if(t&1&&(u(0,"div",4)(1,"span"),h(2),c(),u(3,"span"),h(4),c(),u(5,"span"),h(6),c(),u(7,"span"),h(8),c(),u(9,"span"),h(10),c()()),t&2){let e=_(2);l(2),S(e.targetBank==null?null:e.targetBank.bankName),l(2),S(e.targetBank==null?null:e.targetBank.address),l(2),S(e.targetBank==null?null:e.targetBank.address2),l(2),so("",e.targetBank==null?null:e.targetBank.city," ",e.targetBank==null?null:e.targetBank.country),l(2),S(e.targetBank==null?null:e.targetBank.bic)}}function Yve(t,i){if(t&1&&(u(0,"div",4)(1,"span"),h(2),c(),u(3,"span"),h(4),c(),u(5,"span"),h(6),c()()),t&2){let e=_(2);l(2),S(e.targetBank==null?null:e.targetBank.bankName),l(2),S(e.targetBank==null?null:e.targetBank.address),l(2),S(e.targetBank==null?null:e.targetBank.address2)}}function Kve(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Rachunek odbiorcy"),c(),x(3,"input",3),be(4,"ibanFormatPipe"),v(5,qve,11,6,"div",4),v(6,Yve,7,3,"div",4),c()),t&2){let e=_();l(3),g("value",ri(Fe(4,4,e.rowDetails.targetIban))),l(2),y(e.targetBank.bic?5:-1),l(),y(e.targetBank.bic?-1:6)}}function Xve(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Nazwa odbiorcy"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.rowDetails.targetName1.trim()+e.space+e.rowDetails.targetName2.trim()))}}function Zve(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Tytu\u0142"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.rowDetails.title))}}function Qve(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Typ identyfikatora"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.usTitleData.identifier.type))}}function Jve(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"NIP lub identyfikator uzupe\u0142niaj\u0105cy"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.usTitleData.identifier.value))}}function e0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Okres rozliczenia"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",QT("",e.usTitleData.period.number,"",e.usTitleData.period.type.slice(0,1),"",e.usTitleData.period.year))}}function t0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Symbol formularza lub p\u0142atno\u015Bci"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.usTitleData.sfp))}}function n0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Identyfikator zobowi\u0105zania"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.usTitleData.commitmentIdentification))}}function i0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Status weryfikacji VAT"),c(),x(3,"input",9),be(4,"whiteListMessage"),u(5,"div",4)(6,"span"),h(7),c(),u(8,"span"),h(9),c()()()),t&2){let e=_();l(3),g("value",ri(Fe(4,5,e.rowDetails.whiteListDTO.state)))("whiteList",e.rowDetails.whiteListDTO),l(4),se("Identyfikator weryfikacji: ",e.rowDetails.whiteListDTO.requestId),l(2),se("Data weryfikacji: ",e.rowDetails.whiteListDTO.checkDate)}}var r0e=(()=>{class t{constructor(e,n,r,o,a,s,d,p,f,b,w){this.dialogRef=e,this.data=n,this.duplicatesFileService=r,this.sharedDataService=o,this.transferService=a,this.transferDialogService=s,this.bankService=d,this.foreignBankService=p,this.contractorDialogService=f,this.errorProviderService=b,this.userFacadeService=w,this.dateFormat=je,this.isOperationTransfer=!1,this.isCreateTransferButtonEnabled=!1,this.isCreateContractorButtonEnabled=!0,this.space=" ",n.details[0].side===gl[gl.DEBIT]?this.amount=0-n.details[0].amount:this.amount=n.details[0].amount,this.isCurrentLayout=n.dialogVariant===hM.CURRENT,this.isUSTransfer=yl.parse(Cm.getTransferType(this.data.details[0]))===pn.US_CLO,this.isUSTransfer&&(this.usTitleData=nf.parse(n.details[0].title)),this.rowDetails=n.details[0]}ngOnInit(){this.checkIfOperationIsTransfer(),this.accountId=this.sharedDataService.getData(),this.importBankDetail
8003s(this.data.details[0].sourceAccount).subscribe(e=>this.sourceBank=e),this.importBankDetails(this.data.details[0].targetIban).subscribe(e=>this.targetBank=e),this.isCreateContractorButtonEnabled=this.userFacadeService.hasAuthorities([Ut.FUNC_CONTRACTORS_EDIT]),this.isCreateTransferButtonEnabled=this.userFacadeService.hasAuthorities([Ut.FUNC_TRANSFER_EDIT])}openDuplicatesFile(){let e=this.isCurrentLayout?Pz:Lz;this.duplicatesFileService.openDuplicatesFile(e,this.accountId,[this.data.details[0].operationId])}close(){this.dialogRef.close()}createTransfer(){this.getDataOfSingleTransfer().pipe(W(e=>this.transferDialogService.openDialog(yl.parse(Cm.getTransferType(this.data.details[0])),e,Me.NEW).afterClosed())).subscribe()}createContractorFromTransfer(){this.getDataOfSingleTransfer().pipe(W(e=>this.contractorDialogService.openDialog(yl.parse(Cm.getTransferType(this.data.details[0])),Mi.parseTransferToContractor(e)).afterClosed())).subscribe()}checkIfOperationIsTransfer(){this.isOperationTransfer=Cm.isCorrectType(this.data.details[0].td,this.data.details[0].to1)}getDataOfSingleTransfer(){let e=this.isCurrentLayout?fh:gh;return this.transferService.getSingleTransfer(e,this.data.details[0].operationId,this.accountId)}importBankDetails(e){return this.bankService.getDomesticBank(e).pipe(W(n=>n.result?P(n):this.foreignBankService.getBankByAccount(e)),this.errorProviderService.processError(ze.FETCHING_DATA_ERROR))}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(rt),E(b5),E(v5),E(y5),E(E5),E(pl),E(No),E(w5),E(Rt),E(wi))}}static{this.\u0275cmp=k({type:t,selectors:[["app-operation-details-dialog"]],standalone:!1,decls:73,vars:48,consts:[[1,"operation-details-dialog-content"],["appearance","outline"],["autocomplete","off","matInput","","type","text","disabled","",3,"value"],["autocomplete","off","matInput","","type","text","disabled","",1,"text-bold",3,"value"],[1,"group","flex-col"],["mat-dialog-actions","",1,"justify-between"],[1,"gap-5"],[3,"clickAction"],[3,"clickAction","disabled"],["autocomplete","off","matInput","","type","text","disabled","","appWhiteList","",3,"whiteList","value"]],template:function(n,r){n&1&&(u(0,"app-dialog-container"),x(1,"app-close-icon-button"),u(2,"app-dialog-header"),h(3,"Szczeg\xF3\u0142y operacji"),c(),u(4,"app-dialog-content",0)(5,"mat-form-field",1)(6,"mat-label"),h(7,"Data operacji"),c(),x(8,"input",2),be(9,"date"),c(),u(10,"mat-form-field",1)(11,"mat-label"),h(12,"Data ksi\u0119gowania"),c(),x(13,"input",2),be(14,"date"),c(),u(15,"mat-form-field",1)(16,"mat-label"),h(17,"Typ operacji"),c(),x(18,"input",2),c(),u(19,"mat-form-field",1)(20,"mat-label"),h(21,"Nr referencyjny"),c(),x(22,"input",2),c(),u(23,"mat-form-field",1)(24,"mat-label"),h(25,"Kwota operacji"),c(),x(26,"input",2),be(27,"currencyFormatPipe"),c(),u(28,"mat-form-field",1)(29,"mat-label"),h(30,"Saldo po operacji"),c(),x(31,"input",3),be(32,"currencyFormatPipe"),c(),u(33,"mat-form-field",1)(34,"mat-label"),h(35,"Rachunek nadawcy"),c(),x(36,"input",3),be(37,"ibanFormatPipe"),u(38,"div",4)(39,"span"),h(40),c(),u(41,"span"),h(42),c(),u(43,"span"),h(44),c()()(),u(45,"mat-form-field",1)(46,"mat-label"),h(47,"Nazwa nadawcy"),c(),x(48,"input",2),c(),v(49,Kve,7,6,"mat-form-field",1),v(50,Xve,4,2,"mat-form-field",1),v(51,Zve,4,2,"mat-form-field",1),v(52,Qve,4,2,"mat-form-field",1),v(53,Jve,4,2,"mat-form-field",1),v(54,e0e,4,4,"mat-form-field",1),v(55,t0e,4,2,"mat-form-field",1),v(56,n0e,4,2,"mat-form-field",1),u(57,"mat-form-field",1)(58,"mat-label"),h(59,"Dodatkowa tre\u015B\u0107"),c(),x(60,"input",2),c(),v(61,i0e,10,7,"mat-form-field",1),c(),u(62,"div",5)(63,"div",6)(64,"app-button",7),T("clickAction",function(){return r.openDuplicatesFile()}),h(65,"Drukuj wt\xF3rnik"),c(),u(66,"app-button",8),T("clickAction",function(){return r.createContractorFromTransfer()}),h(67,"Stw\xF3rz kontrahenta "),c(),u(68,"app-button",8),T("clickAction",function(){return r.createTransfer()}),h(69," Stw\xF3rz przelew "),c()(),u(70,"div")(71,"app-button",7),T("clickAction",function(){return r.close()}),h(72,"Zamknij"),c()()()()),n&2&&(l(8),g("value",ri(Dr(9,34,r.rowDetails.operationDate,r.dateFormat))),l(5),g("value",ri(Dr(14,37,r.rowDetails.accountingDate,r.dateFormat))),l(5),g("value",ri(r.rowDetails.transferType)),l(4),g("value",ri(r.rowDetails.refNumber)),l(4),Be(r.amount<=0?"red-text-bold":"text-bold"),g("value",ri(Dr(27,40,r.amount,r.rowDetails.currency))),l(5),g("value",ri(Dr(32,43,r.rowDetails.saldo,r.rowDetails.currency))),l(5),g("value",ri(Fe(37,46,r.rowDetails.sourceAccount))),l(4),S(r.sourceBank==null?null:r.sourceBank.bankName),l(2),S(r.sourceBank==null?null:r.sourceBank.address),l(2),S(r.sourceBank==null?null:r.sourceBank.address2),l(4),g("value",ri(r.rowDetails.sourceName1.trim()+r.space+r.rowDetails.sourceName2.trim())),l(),y(r.isUSTransfer?-1:49),l(),y(r.isUSTransfer?-1:50),l(),y(r.isUSTransfer?-1:51),l(),y(r.isUSTransfer?52:-1),l(),y(r.isUSTransfer?53:-1),l(),y(r.isUSTransfer?54:-1),l(),y(r.isUSTransfer?55:-1),l(),y(r.isUSTransfer?56:-1),l(4),g("value",ri(r.rowDetails.additionalDescription)),l(),y(r.rowDetails.whiteListDTO?61:-1),l(5),g("disabled",!r.isCreateContractorButtonEnabled),l(2),g("disabled",!r.isCreateTransferButtonEnabled||!r.isOperationTransfer))},dependencies:[Ve,qe,Jp,et,Mt,Nt,Ot,sb,Bt,bi,dM,un,qt,Kt,mb],styles:["mat-form-field[_ngcontent-%COMP%]   mat-label[_ngcontent-%COMP%]{font-weight:700;color:#000c}.mat-mdc-input-element[_ngcontent-%COMP%]:disabled{color:#000}.group[_ngcontent-%COMP%]{padding:.2rem .3rem;margin-top:.2rem;font-size:12px;color:#a8a8a8}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}
8003.gap-5[_ngcontent-%COMP%]{gap:5px}"]})}}return t})();var Dw=(function(t){return t.DAY="Dzie\u0144",t.MONTH="Miesi\u0105c",t.YEAR="Rok",t})(Dw||{}),Ew=(function(t){return t.DAY="DAY",t.MONTH="MONTH",t.YEAR="YEAR",t})(Ew||{}),x5=[{value:Ew.DAY,viewValue:Dw.DAY},{value:Ew.MONTH,viewValue:Dw.MONTH},{value:Ew.YEAR,viewValue:Dw.YEAR}];var Dl=(function(t){return t.STANDARD="PRZELEW_ZWYK\u0141Y",t.VAT="PRZELEW_VAT",t.TO_SIGN="TO_SIGN",t.QUICK_EXECUTION="QUICK_EXECUTION",t.EDIT="EDIT",t})(Dl||{});var o0e=(function(t){return t.NULL="NULL",t.TRANSFER="PRZELEW",t.DEPOSIT="LOKATA",t.STANDING_ORDER="ZLECENIE_STALE",t.TOPUP="DOLADOWANIE_GSM",t})(o0e||{}),Cc=(function(t){return t.NULL="NULL",t.TRANSFER="TRANSFER",t.DEPOSIT="DEPOSIT",t.STANDING_ORDER="STANDING_ORDER",t.TOPUP="TOPUP",t})(Cc||{}),of=(function(t){return t.NULL="NULL",t.TRANSFER="Przelew",t.DEPOSIT="Lokata",t.STANDING_ORDER="Zlecenie sta\u0142e",t.TOPUP="Do\u0142adowanie",t})(of||{});var S5=(()=>{class t{constructor(e,n){this.http=e,this.errorProviderService=n}getStandingOrders(e){return this.http.post(Gr,e)}getStandingOrderBundles(e="",n){let r=new it().set("accountId",e.toString()).set("dispTypes",n.toString());return this.http.get(h3,{params:r})}toSigning(e){return this.http.post(g3,e).pipe(this.errorProviderService.processError(ze.SIGNING_ERROR))}updateCreateDisposition(e){return this.http.put(u3,e).pipe(this.errorProviderService.processError(ze.EDITING_ERROR))}updateModifyDisposition(e){return this.http.put(m3,e)}updateDeleteDisposition(e){return this.http.put(p3,e)}addModifyDisposition(e){return this.http.post(c3,e)}addNewStandardStandingOrder(e){return this.http.post(l3,e)}addDeleteDisposition(e){return this.http.post(d3,e)}deleteDisposition(e){let n=e.id;return this.http.delete(Gr+`/${n}`)}getForEditById(e,n){let r=new it;return e&&(r=r.set("dispositionId",e?.toString())),n&&(r=r.set("standingOrderId",n?.toString())),this.http.get(Gr,{params:r})}getDispositionAudit(e){return this.http.get(_3+`/${e}`)}getStandingOrderAudit(e){return this.http.get(f3+`/${e}`)}checkAllEnablers(e=null,n=null){let r=new it;return e&&e.length>0&&(r=r.set("dispositionId",e?.toString())),n&&n.length>0&&(r=r.set("standingOrderId",n?.toString())),this.http.get(b3,{params:r})}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Rt))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function s0e(t,i){t&1&&(u(0,"span"),h(1," - przelew zwyk\u0142y"),c())}function l0e(t,i){t&1&&(u(0,"span"),h(1," - faktura VAT"),c())}function c0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.REQUIRED_ERROR_MESSAGE)}}function d0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.titleFC.getRawValue().length,"/",e.TITTLE_MESSAGE_MAX_LENGTH)}}function u0e(t,i){if(t&1&&(u(0,"app-dialog-section")(1,"app-dialog-section-header"),h(2,"Tre\u015B\u0107"),c(),u(3,"div",7),x(4,"app-amount-input",17),u(5,"mat-form-field",18)(6,"mat-label"),h(7,"Data wykonania dyspozycji"),c(),x(8,"input",19)(9,"mat-datepicker-toggle",10)(10,"mat-datepicker",null,2),c()(),u(12,"mat-form-field",20)(13,"mat-label"),h(14,"Tytu\u0142em"),c(),x(15,"textarea",21),u(16,"mat-error"),v(17,c0e,2,1,"span"),v(18,d0e,2,3,"span"),c()()()),t&2){let e=ye(11),n=_();l(4),g("amountFC",n.amountFC),l(4),g("matDatepicker",e)("formControl",n.executionDateFC),l(),g("for",e),l(6),g("formControl",n.titleFC),l(2),y(n.titleFC.hasError("required")?17:-1),l(),y(n.titleFC.hasError("maxlength")?18:-1)}}function m0e(t,i){if(t&1&&(u(0,"mat-form-field",18)(1,"mat-label"),h(2,"Data ost. realizacij"),c(),x(3,"input",28)(4,"mat-datepicker-toggle",10)(5,"mat-datepicker",null,3),c()),t&2){let e=ye(6),n=_(2);l(3),g("matDatepicker",e)("formControl",n.finalExecutionDateFC),l(),g("for",e)}}function p0e(t,i){if(t&1&&(u(0,"mat-checkbox",15),h(1,"Sorbnet"),c()),t&2){let e=_(2);g("formControl",e.sorbnetFC)}}function h0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.REQUIRED_ERROR_MESSAGE)}}function f0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_(2);l(),S((e=n.idNipPeselFC.getError("nipAndPeselFormat"))==null?null:e.message)}}function g0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.REQUIRED_ERROR_MESSAGE)}}function _0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_(2);l(),S((e=n.invoiceNumberFC.getError("pattern"))==null?null:e.message)}}function b0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);
8003l(),S(e.ERRORS["vatNr.invalidSubstrings"])}}function v0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.invoiceNumberFC.getRawValue().length,"/",e.INVOICE_NUMBER_MAX_LENGTH)}}function y0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_(2);l(),S((e=n.additionalMessageFC.getError("pattern"))==null?null:e.message)}}function C0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["text.invalidSubstrings"])}}function D0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.additionalMessageFC.getRawValue().length,"/",e.ADDITIONAL_MESSAGE_MAX_LENGTH)}}function E0e(t,i){if(t&1){let e=Se();u(0,"app-dialog-section")(1,"app-dialog-section-header"),h(2,"Tre\u015B\u0107"),c(),u(3,"div",7),x(4,"app-amount-input",22),u(5,"app-amount-input",23),T("handleFocusoutEvent",function(){te(e);let r=_();return ne(r.calculateAndActualiseAmountFCValue())}),c(),u(6,"div",24)(7,"app-amount-input",23),T("handleFocusoutEvent",function(){te(e);let r=_();return ne(r.calculateAndActualiseAmountFCValue())}),c()(),u(8,"mat-form-field",18)(9,"mat-label"),h(10,"Data wykonania dyspozycji"),c(),x(11,"input",25)(12,"mat-datepicker-toggle",10)(13,"mat-datepicker",null,2),c(),v(15,m0e,7,3,"mat-form-field",18),v(16,p0e,2,1,"mat-checkbox",15),c(),u(17,"mat-form-field",20)(18,"mat-label"),h(19,"Identyfikator ( NIP / PESEL )"),c(),x(20,"input",26),u(21,"mat-error"),v(22,h0e,2,1,"span"),v(23,f0e,2,1,"span"),c()(),u(24,"mat-form-field",20)(25,"mat-label"),h(26,"Numer faktury"),c(),x(27,"input",21),u(28,"mat-error"),v(29,g0e,2,1,"span"),v(30,_0e,2,1,"span"),v(31,b0e,2,1,"span"),v(32,v0e,2,3,"span"),c()(),u(33,"mat-form-field",20)(34,"mat-label"),h(35,"Dodatkowa tre\u015B\u0107"),c(),x(36,"input",27),u(37,"mat-error"),v(38,y0e,2,1,"span"),v(39,C0e,2,1,"span"),v(40,D0e,2,3,"span"),c()()()}if(t&2){let e=ye(14),n=_();l(4),g("amountFC",n.amountNetFC)("fieldLabel","Kwota netto"),l(),g("amountFC",n.amountVatFC)("fieldLabel","Kwota VAT"),l(2),g("amountFC",n.amountFC)("fieldLabel","Kwota brutto"),l(4),g("min",n.minExecutionDate)("matDatepicker",e)("formControl",n.executionDateFC),l(),g("for",e),l(3),y(n.data.isDelete?15:-1),l(),y(n.data.isDelete?16:-1),l(4),g("formControl",n.idNipPeselFC),l(2),y(n.idNipPeselFC.hasError("required")?22:-1),l(),y(!n.idNipPeselFC.hasError("required")&&n.idNipPeselFC.hasError("nipAndPeselFormat")?23:-1),l(4),g("formControl",n.invoiceNumberFC),l(2),y(n.invoiceNumberFC.hasError("required")?29:-1),l(),y(n.invoiceNumberFC.hasError("pattern")?30:-1),l(),y(n.invoiceNumberFC.hasError("vatNr.invalidSubstrings")?31:-1),l(),y(n.invoiceNumberFC.hasError("maxlength")?32:-1),l(4),g("formControl",n.additionalMessageFC),l(2),y(n.additionalMessageFC.hasError("pattern")?38:-1),l(),y(n.additionalMessageFC.hasError("text.invalidSubstrings")?39:-1),l(),y(n.additionalMessageFC.hasError("maxlength")?40:-1)}}function w0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.REQUIRED_ERROR_MESSAGE)}}function x0e(t,i){t&1&&(u(0,"span"),h(1,"Data nie mo\u017Ce by\u0107 wcze\u015Bniejsza"),c())}function S0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.REQUIRED_ERROR_MESSAGE)}}function T0e(t,i){t&1&&(u(0,"span"),h(1,"Data nie mo\u017Ce by\u0107 wcze\u015Bniejsza"),c())}function I0e(t,i){if(t&1&&(u(0,"mat-option",14),h(1),c()),t&2){let e=i.$implicit;g("value",e.value),l(),se(" ",e.viewValue," ")}}var A0e=(()=>{class t{constructor(e,n,r,o,a,s,d){this.formBuilder=e,this.orderDialogRef=n,this.dialog=r,this.data=o,this.accountService=a,this.apiService=s,this.errorProviderService=d,this.bankName="",this.REQUIRED_ERROR_MESSAGE=Po,this.MAX_LENGTH_ERROR_MESSAGE=xh,this.ERRORS=ln,this.ADDITIONAL_MESSAGE_MAX_LENGTH=33,this.INVOICE_NUMBER_MAX_LENGTH=35,this.TITTLE_MESSAGE_MAX_LENGTH=140,this.chargeableAccounts=[],this.intervalUnits=x5,this.StandingOrderDialogTypeEnum=Dl,this.minStartDate=$t(aa(new Date,1),je),this.minEndDate=$t(aa(new Date,1),je),this.minExecutionDate=$t(new Date,je),this.ButtonLabels=tt,this.isStandingOrderEdit=!1,this.destroyed$=new O,this.recipientAccount=new z("",[G.required,Xt.ibanSimplyValidator,G.pattern(ue.ibanPattern)]),this.recipientName1FC=new z(""),this.recipientName2FC=new z(""),this.recipientAddress1FC=new z(""),this.recipientAddress2FC=new z(""),this.amountFC=new z("",[G.required,G.min(0),Xt.currencyValidator]),this.executionDateFC=new z({value:$t(new Date,je),disabled:!0},[G.required,xi.isBeforeToday]),this.finalExecutionDateFC=new z("",[xi.isBeforeToday]),this.sorbnetFC=new z(!1),this.titleFC=new z("",[G.required,G.maxLength(this.TITTLE_MESSAGE_MAX_LENGTH)]),this.chargeableAccountFC=new z(""),this.startDateFC=new z($t(aa(new Date,1),je),[G.required,xi.isBeforeToday]),this.endDateFC=new z($t(oD(aa(new Date,1),1),je),[G.required,xi.isBeforeToday]),this.intervalFC=new z(1),this.intervalUnitFC=new z(this.intervalUnits[1].value),this.isActiveFC=new z(!0),this.amountNetFC=new z("",[G.required,G.min(0)]),this.amountVatFC=new z("",[G.required,G.min(0)]),this.amountNetFC.disable(),this.idNipPeselFC=new z("",[G.required,xi.nipPeselValidator]),this.invoiceNumberFC=new z("",[G.required,G.maxLength(this.INVOICE_NUMBER_MAX_LENGTH),G.pattern(ue.polishAcceptableLettersAndCharsPattern),xi.invoiceNumber]),this.additionalMe
8003ssageFC=new z("",[G.maxLength(this.ADDITIONAL_MESSAGE_MAX_LENGTH),G.pattern(ue.polishAcceptableLettersAndCharsPattern),xi.invoiceAdditionalInfo]),this.recipientFG=this.formBuilder.group({accountFC:this.recipientAccount,name1FC:this.recipientName1FC,name2FC:this.recipientName2FC,address1FC:this.recipientAddress1FC,address2FC:this.recipientAddress2FC}),this.contentStandardFG=this.formBuilder.group({amountFC:this.amountFC,executionDateFC:this.executionDateFC,titleFC:this.titleFC}),this.chargeFG=this.formBuilder.group({chargeableAccountFC:this.chargeableAccountFC,startDateFC:this.startDateFC,endDateFC:this.endDateFC,intervalFC:this.intervalFC,intervalUnitFC:this.intervalUnitFC,isActiveFC:this.isActiveFC}),this.contentVatFG=this.formBuilder.group({amountNetFC:this.amountNetFC,amountVatFC:this.amountVatFC,amountFC:this.amountFC,executionDateFC:this.executionDateFC,sorbnetFC:this.sorbnetFC,idNipPeselFC:this.idNipPeselFC,invoiceNumberFC:this.invoiceNumberFC,additionalMessageFC:this.additionalMessageFC},{validators:xi.notBigger(this.amountVatFC,this.amountFC)}),this.allDataFG=this.formBuilder.group({recipientFG:this.recipientFG,chargeFG:this.chargeFG}),this.toggleElements(),this.dialogTitle=o.isEdit?o.isDelete?"Usuni\u0119cie":"Edycja":"Utworzenie",this.dialogMode=o.isEdit?Me.EDIT:Me.NEW}ngOnInit(){this.getChargeableAccounts(),this.data.isEdit&&(this.dataDetails=this.data.details[0]),this.markAllAsTouched(),this.observeValues()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}closeDialog(){this.orderDialogRef.close(!1)}updateMinEndDate(e){e?.value&&this.updateDates(En.formatDate(e.value))}saveOrUpdate(){this.data.isEdit?this.updateStandingOrder(this.dispositionType):this.saveNewStandingOrder(this.dispositionType)}openContractorsDialog(){let e=new Pa;this.dialog.open(Fa,e).afterClosed().subscribe(n=>{this.updateFormControlsWithContractorData(n)})}getControlByProperty(e){switch(e){case"rachunekOdbiorcy":case"przelew":return this.recipientAccount;case"rachunek":return this.chargeableAccountFC;case"nazwaOdbiorcy1":return this.recipientName1FC;case"nazwaOdbiorcy3":return this.recipientAddress1FC;case"kwota":return this.amountFC;default:return null}}getFormGroup(){return this.allDataFG}calculateAndActualiseAmountFCValue(){let e=bt.getTrimmedValue(this.amountFC.value)-bt.getTrimmedValue(this.amountVatFC.value);this.amountNetFC.setValue(bt.formatAmount(e>0?e.toString():"0.00"))}isFormValid(){return this.contentStandardFG.updateValueAndValidity(),this.allDataFG.invalid}applyIbanFormatInAccount(){let e=vi.ibanFormat(this.recipientAccount.value);this.recipientAccount.setValue(e)}markAllAsTouched(){this.contentStandardFG.markAllAsTouched(),this.recipientFG.markAllAsTouched(),this.chargeFG.markAllAsTouched(),this.contentVatFG.markAllAsTouched()}updateDates(e){this.minEndDate=e,this.executionDateFC.patchValue(e),En.isAfter(e,this.endDateFC.value)&&this.endDateFC.setValue(e)}saveNewStandingOrder(e){let n=e===Dl.STANDARD?this.createStandingOrderStandard():this.createVatStandingOrder();this.apiService.addNewStandardStandingOrder(n).pipe(B(()=>this.orderDialogRef.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}disableFormFields(e,n){switch(e.type){case _r.STANDING_ORDER_OPENING:this.executionDateFC.disable();break;case _r.STANDING_ORDER_MODIFICATION:this.recipientFG.disable(),this.executionDateFC.enable(),this.startDateFC.disable();break;case _r.STANDING_ORDER_BREACH:this.recipientFG.disable(),this.amountFC.disable(),this.executionDateFC.enable(),this.chargeFG.disable(),this.chargeableAccountFC.enable();break;case Cc.STANDING_ORDER:this.recipientFG.disable(),this.data.isDelete?(this.amountFC.disable(),this.executionDateFC.enable(),this.chargeFG.disable(),this.chargeableAccountFC.enable()):(this.startDateFC.disable(),this.executionDateFC.enable());break}n.contractorId&&this.disableContractorsInput()}updateStandingOrder(e){let n,r=!0;switch(this.data.details[0].type){case _r.STANDING_ORDER_OPENING:let o=this.createStandingOrderByType(e);n=this.apiService.updateCreateDisposition(o);break;case _r.STANDING_ORDER_MODIFICATION:let a=this.createStandingOrderByType(e);
8003n=this.apiService.updateModifyDisposition(a);break;case _r.STANDING_ORDER_BREACH:let s=this.createStandingOrderByType(e);n=this.apiService.updateDeleteDisposition(s);break;case Cc.STANDING_ORDER:let d=e===Dl.STANDARD?this.createStandingOrderStandard():this.createVatStandingOrder();d.standingOrderId=this.data.details[0].id,n=this.data.isDelete?this.apiService.addDeleteDisposition(d):this.apiService.addModifyDisposition(d);break;default:r=!1;break}r&&n.pipe(B(()=>this.orderDialogRef.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}createStandingOrderByType(e){return e===Dl.STANDARD?this.createStandingOrderStandard(this.data.details[0]):this.createVatStandingOrder(this.data.details[0])}toggleElements(){this.toggleVisibilityOfHtmlElements(),this.isStandingOrderEdit=!!(this.data.isEdit&&this.data.details),this.dispositionType===Dl.VAT&&this.allDataFG.setControl("contentVatFG",this.contentVatFG),this.dispositionType===Dl.STANDARD&&this.allDataFG.setControl("contentStandardFG",this.contentStandardFG),this.isStandingOrderEdit&&(this.recipientFG.clearValidators(),this.startDateFC.clearValidators())}toggleVisibilityOfHtmlElements(){switch(this.data.isEdit?this.data.details[0].standingOrderType:this.data.dialogVariant){case _r.TRANSFER_COMMON:this.dispositionType=Dl.STANDARD;break;case _r.TRANSFER_VAT:this.dispositionType=Dl.VAT;break;default:break}}updateFormControlsWithContractorData(e){this.recipientAccount.patchValue(e.targetAccount),this.recipientName1FC.patchValue(e.name1),this.recipientName2FC.patchValue(e.name2),this.recipientAddress1FC.patchValue(e.address1),this.recipientAddress2FC.patchValue(e.address2),this.amountFC.patchValue(bt.formatAmount(e?.amount?.toString()||"")),this.titleFC.patchValue(e.title),this.contractorId=e.id,this.recipientFG.updateValueAndValidity(),this.contentStandardFG.updateValueAndValidity(),this.contentVatFG.updateValueAndValidity(),this.chargeFG.updateValueAndValidity(),this.markAllAsTouched(),this.applyIbanFormatInAccount(),this.disableContractorsInput()}createBasicStandingOrder(e){return e?(e.targetAccount=ue.removeWhitespaces(this.recipientAccount.value),e.name1=this.recipientName1FC.value,e.name2=this.recipientName2FC.value,e.address1=this.recipientAddress1FC.value,e.address2=this.recipientAddress2FC.value,e.amount=this.amountFC.value,e.executionDate=new Date(this.executionDateFC.value),e.sourceAccountId=this.chargeableAccountFC.value,e.startDate=new Date(this.startDateFC.value),e.endDate=new Date(this.endDateFC.value),e.interval=this.intervalFC.value,e.intervalUnit=this.intervalUnitFC.value,e.isActive=this.isActiveFC.value,e.contractorId=this.contractorId,e):{targetAccount:ue.removeWhitespaces(this.recipientAccount.value),name1:this.recipientName1FC.value,name2:this.recipientName2FC.value,address1:this.recipientAddress1FC.value,address2:this.recipientAddress2FC.value,amount:this.amountFC.value,executionDate:new Date(this.executionDateFC.value),sourceAccountId:this.chargeableAccountFC.value,startDate:new Date(this.startDateFC.value),endDate:new Date(this.endDateFC.value),interval:this.intervalFC.value,intervalUnit:this.intervalUnitFC.value,isActive:this.isActiveFC.value,contractorId:this.contractorId}}createStandingOrderStandard(e){let n=this.createBasicStandingOrder(e);return n.title=this.titleFC.value,e||(n.standingOrderType=_r.TRANSFER_COMMON),n}createVatStandingOrder(e){let n=this.createBasicStandingOrder(e);return e||(n.standingOrderType=_r.TRANSFER_VAT),this.data.isDelete&&(n.sorbnet=this.sorbnetFC.value,n.finalExecutionDate=this.finalExecutionDateFC.value),n.amountNet=this.amountNetFC.value,n.amountVat=this.amountVatFC.value,n.idNipPesel=this.idNipPeselFC.value,n.invoiceNumber=this.invoiceNumberFC.value,n.text=this.additionalMessageFC.value,n}getChargeableAccounts(){this.fetchAppropriateAccounts().pipe(this.errorProviderService.processError("Nie uda\u0142o si\u0119 pobra\u0107 listy rachunk\xF3w obci\u0105\u017Calnych")).subscribe(e=>{this.chargeableAccounts=e?[...this.chargeableAccounts,...e]:[],this.data.isEdit&&this.setInitialFCValuesToChange(this.data.details[0])})}fetchAppropriateAccounts(){return(this.data.isEdit?this.data.details[0].standingOrderType:this.data.dialogVariant)===_r.TRANSFER_COMMON?this.accountService.getChargeableAccounts():this.accountService.getChargeableVatAccounts()}setInitialFCValuesToChange(e){let n=null,r=null;vl.isBundle(e)?r=e.id:vl.isDispositionFromStandingOrder(e)?r=e.standingOrderId:n=e.id,this.apiService.getForEditById(n,r).pipe(B(o=>{this.recipientAccount.setValue(o.targetAccount||this.dataDetail
8003s?.targetAccount),this.recipientName1FC.setValue(o.name1),this.recipientName2FC.setValue(o.name2),this.recipientAddress1FC.setValue(o.address1),this.recipientAddress2FC.setValue(o.address2),this.amountFC.setValue(bt.formatAmount(o.amount.toString()||this.data.details[0].amount.toString())),this.executionDateFC.setValue($t(new Date,je)),this.chargeableAccountFC.setValue(this.getChargedAccounts(o)),this.startDateFC.setValue(o.isActive?o.startDate:null),this.endDateFC.setValue(o.isActive?o.endDate:null),this.intervalFC.setValue(o.interval),this.intervalUnitFC.setValue(o.intervalUnit),this.isActiveFC.setValue(o.isActive),this.contractorId=o.contractorId,o.standingOrderType===_r.TRANSFER_COMMON?this.titleFC.setValue(o.title):(this.amountVatFC.setValue(bt.formatAmount(o?.amountVat.toString())),this.idNipPeselFC.setValue(o.idNipPesel),this.invoiceNumberFC.setValue(o.invoiceNumber),this.additionalMessageFC.setValue(o.text),this.calculateAndActualiseAmountFCValue()),this.applyIbanFormatInAccount(),this.disableFormFields(this.data.details[0],o),this.allDataFG.markAllAsTouched()}),this.errorProviderService.processError(ze.EDITING_ERROR)).subscribe()}getChargedAccounts(e){return vi.findAccountById(String(e.sourceAccountId),this.chargeableAccounts)||vi.findAccountByIban(String(this.dataDetails?.sourceAccount),this.chargeableAccounts)}observeValues(){this.recipientAccount.valueChanges.pipe(xe(this.destroyed$),It(),B(()=>{this.applyIbanFormatInAccount()}),ae(()=>this.recipientAccount.valid)).subscribe()}disableContractorsInput(){this.recipientAccount.disable(),this.recipientName1FC.hasError("pattern")?this.recipientName1FC.enable():this.recipientName1FC.disable(),this.recipientName2FC.hasError("pattern")?this.recipientName2FC.enable():this.recipientName2FC.disable(),this.recipientAddress1FC.disable(),this.recipientAddress2FC.disable()}static{this.\u0275fac=function(n){return new(n||t)(E(Vi),E(Ze),E(mt),E(rt),E(Bo),E(S5),E(Rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-standing-order-dialog"]],standalone:!1,decls:53,vars:33,consts:[["startDatePicker",""],["endDatePicker",""],["picker",""],["finalPicker",""],[3,"buttonClickAction","allLayoutFG","bankName","dialogMode","targetAccountFC"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[3,"accountList","sourceAccountFC"],[1,"flex-row","gap-10"],["appearance","outline",1,"flex-50"],["autocomplete","off","matInput","","name","startDateFC",3,"dateInput","min","matDatepicker","formControl"],["matSuffix","",3,"for"],["autocomplete","off","matInput","","name","endDateFC",3,"min","matDatepicker","formControl"],["autocomplete","off","matInput","","type","number","name","intervalFC",3,"formControl"],["name","intervalUnitFC",1,"custom-select","round-borders",3,"formControl"],[1,"custom-option",3,"value"],[3,"formControl"],[3,"cancelAction","confirmAction","withResetButton","confirmDisabled","buttonLabelConfirm"],["showPLNSuffix","true",1,"flex-40",3,"amountFC"],["appearance","outline",1,"flex-40"],["autocomplete","off","matInput","","name","executionDateFC",3,"matDatepicker","formControl"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","","type","text","required","",3,"formControl"],[3,"amountFC","fieldLabel"],[3,"handleFocusoutEvent","amountFC","fieldLabel"],[1,"flex-row","gap-20"],["autocomplete","off","matInput","","name","executionDateFC",3,"min","matDatepicker","formControl"],["autocomplete","off","matInput","","appOnlyNumbers","","required","",3,"formControl"],["autocomplete","off","matInput","","type","text",3,"formControl"],["autocomplete","off","matInput","","name","finalExecutionDateFC",3,"matDatepicker","formControl"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header")(2,"span"),h(3),c(),v(4,s0e,2,0,"span"),v(5,l0e,2,0,"span"),c(),u(6,"app-dialog-content")(7,"app-dialog-section")(8,"app-dialog-section-header"),h(9,"Beneficjent"),c(),u(10,"app-target-account-input",4),T("buttonClickAction",function(){return r.openContractorsDialog()}),c(),x(11,"app-recipant-input",5),c(),v(12,u0e,19,7,"app-dialog-section"),v(13,E0e,41,24,"app-dialog-section"),u(14,"app-dialog-section")(15,"app-dialog-section-header"),h(16,"Obci\u0105\u017Cenie"),c(),x(17,"app-source-account-input",6),u(18,"div",7)(19,"mat-form-field",8)(20,"mat-label"),h(21,"Data rozpocz\u0119cia"),c(),u(22,"input",9),T("dateInput",function(a){return r.updateMinEndDate(
8003a)}),c(),x(23,"mat-datepicker-toggle",10)(24,"mat-datepicker",null,0),u(26,"mat-error"),v(27,w0e,2,1,"span"),v(28,x0e,2,0,"span"),c()(),u(29,"mat-form-field",8)(30,"mat-label"),h(31,"Data zako\u0144czenia"),c(),x(32,"input",11)(33,"mat-datepicker-toggle",10)(34,"mat-datepicker",null,1),u(36,"mat-error"),v(37,S0e,2,1,"span"),v(38,T0e,2,0,"span"),c()()(),u(39,"div",7)(40,"mat-form-field",8)(41,"mat-label"),h(42,"Wykonuj co:"),c(),x(43,"input",12),c(),u(44,"mat-form-field",8)(45,"mat-label"),h(46,"Okres:"),c(),u(47,"mat-select",13),He(48,I0e,2,2,"mat-option",14,at),c()()(),u(50,"mat-checkbox",15),h(51,"Aktywne"),c()()(),u(52,"app-action-buttons-panel",16),T("cancelAction",function(){return r.closeDialog()})("confirmAction",function(){return r.saveOrUpdate()}),c()()),n&2){let o=ye(25),a=ye(35);l(3),se("",r.dialogTitle," zlecenia"),l(),y(r.dispositionType===r.StandingOrderDialogTypeEnum.STANDARD?4:-1),l(),y(r.dispositionType===r.StandingOrderDialogTypeEnum.VAT?5:-1),l(5),g("allLayoutFG",r.allDataFG)("bankName",r.bankName)("dialogMode",r.dialogMode)("targetAccountFC",r.recipientAccount),l(),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC),l(),y(r.dispositionType===r.StandingOrderDialogTypeEnum.STANDARD?12:-1),l(),y(r.dispositionType===r.StandingOrderDialogTypeEnum.VAT?13:-1),l(4),g("accountList",r.chargeableAccounts)("sourceAccountFC",r.chargeableAccountFC),l(5),g("min",r.minStartDate)("matDatepicker",o)("formControl",r.startDateFC),l(),g("for",o),l(4),y(r.startDateFC.hasError("required")?27:-1),l(),y(r.startDateFC.hasError("isBeforeToday")?28:-1),l(4),g("min",r.minEndDate)("matDatepicker",a)("formControl",r.endDateFC),l(),g("for",a),l(4),y(r.startDateFC.hasError("required")?37:-1),l(),y(r.startDateFC.hasError("isBeforeToday")?38:-1),l(5),g("formControl",r.intervalFC),l(4),g("formControl",r.intervalUnitFC),l(),Ue(r.intervalUnits),l(2),g("formControl",r.isActiveFC),l(2),g("withResetButton",!1)("confirmDisabled",r.isFormValid())("buttonLabelConfirm",r.ButtonLabels.SAVE)}},dependencies:[Ve,qe,St,Pn,Qt,ir,zi,pi,Ri,et,si,Mt,Nt,Ot,vr,Nr,Je,ku,Xe,mn,$e,Bt,Na,Yr,Kr,Tt,ef],styles:[".dialog-section[_ngcontent-%COMP%]:not(:last-of-type){border-bottom:1px solid grey}.custom-mat-form-field[_ngcontent-%COMP%]{flex-grow:2}input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.view-button[_ngcontent-%COMP%]{height:50px;margin-top:3.5px}.spacer[_ngcontent-%COMP%]{margin-bottom:1rem}.dialog-header[_ngcontent-%COMP%]{font-weight:700;font-size:18px}.subtitle[_ngcontent-%COMP%]{color:#2196f3;font-size:15px;margin-bottom:3px}.view-check-box[_ngcontent-%COMP%]{height:50px;margin-top:10px}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.gap-10[_ngcontent-%COMP%]{gap:10px}.gap-20[_ngcontent-%COMP%]{gap:20px}.flex-40[_ngcontent-%COMP%]{flex:1 1 40%;max-width:40%;box-sizing:border-box}.flex-50[_ngcontent-%COMP%]{flex:1 1 50%;max-width:50%;box-sizing:border-box}.flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();function k0e(t,i){if(t&1){let e=Se();u(0,"app-menu-item-button",4),T("clickAction",function(){te(e);let r=_();return ne(r.createUSTransfer())}),h(1,"Dodaj przelew US / C\u0141O"),c()}}var yM=(()=>{class t{constructor(e,n){this.dialog=e,this.injector=n,this.contextMenuPosition={x:"0px",y:"0px"}}onContextMenu(e,n){this.taxOffice=n,e.preventDefault(),this.contextMenuPosition.x=e.clientX+"px",this.contextMenuPosition.y=e.clientY+"px",this.contextMenu.menu?.focusFirstItem("mouse"),this.contextMenu.openMenu()}createUSTransfer(){this.taxOffice&&this.injector.get(bh).openDialog(pn.US_CLO,ar.getFromTaxOffice(this.taxOffice),Me.NEW)}static{this.\u0275fac=function(n){return new(n||t)(E(mt),E(ie))}}static{this.\u0275cmp=k({type:t,selectors:[["app-tax-office-context-menu"]],viewQuery:function(n,r){if(n&1&&ve(hd,5),n&2){let o;H(o=U())&&(r.contextMenu=o.first)}},standalone:!1,decls:4,vars:5,consts:[["contextMenu","matMenu"],[2,"visibility","hidden","position","fixed",3,"matMenuTriggerFor"],[1,"context-account-menu"],["matMenuContent",""],[3,"clickAction"]],template:function(n,r){if(n&1&&(x(0,"div",1),u(1,"mat-menu",2,0),fe(3,k0e,2,0,"ng-template",3),c()),n&2){let o=ye(2);On("left",r.contextMenuPosition.x)("top",r.contextMenuPosition.y),g("matMenuTriggerFor",o)}},dependencies:[Ks,KC,hd,Nh],styles:[`.context-account-menu .mat-mdc-menu-item{height:30px;line-height:30px;
8003width:200px}.context-account-menu hr{border-top:1px solid #9d9d9d;background:#fff0}
8004`],encapsulation:2})}}return t})();var Dm=(function(t){return t.DATE_RANGE="DATE_RANGE",t.DAY="DAY",t.MONTH="MONTH",t})(Dm||{});var R0e=10,M0e=3,N0e=(()=>{class t{constructor(e){this.formBuilder=e,this.fromDatePattern=x1(I1(new Date,1)),this.SearchTypeEnum=Dm,this.searchTypeFC=new z,this.fromDateFC=new z,this.toDateFC=new z,this.lastDaysFC=new z,this.lastMonthsFC=new z,this.timeRangeFG=this.formBuilder.group({searchTypeFC:this.searchTypeFC,fromDateFC:this.fromDateFC,toDateFC:this.toDateFC,daysFC:this.lastDaysFC,monthsFC:this.lastMonthsFC})}ngOnInit(){this.initDefaultValues()}reset(){this.timeRangeFG.reset(),this.initDefaultValues()}getDate(){switch(this.searchTypeFC.value){case Dm.DATE_RANGE:default:return{from:En.formatDate(this.fromDateFC.value),to:En.formatDate(this.toDateFC.value)};case Dm.DAY:return{from:$t(VU(new Date,this.lastDaysFC.value),je),to:$t(new Date,je)};case Dm.MONTH:return{from:$t(x1(I1(new Date,this.lastMonthsFC.value)),je),to:$t(new Date,je)}}}initDefaultValues(){this.searchTypeFC.patchValue(Dm.DATE_RANGE),this.fromDateFC.patchValue(En.formatDate(this.fromDatePattern)),this.toDateFC.patchValue($t(new Date,je)),this.lastDaysFC.patchValue(R0e),this.lastMonthsFC.patchValue(M0e)}static{this.\u0275fac=function(n){return new(n||t)(E(Vi))}}static{this.\u0275cmp=k({type:t,selectors:[["app-time-range-selectors"]],inputs:{fromDatePattern:"fromDatePattern"},standalone:!1,decls:33,vars:13,consts:[["picker1",""],["picker2",""],[1,"criteria-container"],[3,"formGroup"],[1,"flex-row","gap-20",3,"formControl"],[3,"value"],[1,"flex-row","justify-between","items-center",3,"click"],["appearance","outline","subscriptSizing","dynamic"],["autocomplete","off","matInput","",3,"formControl","matDatepicker"],["matSuffix","",3,"for"],["appearance","outline","subscriptSizing","dynamic",3,"click"],["autocomplete","off","matInput","",3,"formControl"]],template:function(n,r){if(n&1&&(u(0,"div",2)(1,"mat-card-header")(2,"mat-card-subtitle"),h(3,"Zakres operacji"),c()(),u(4,"mat-card-content")(5,"form",3)(6,"mat-radio-group",4)(7,"mat-radio-button",5)(8,"div",6),T("click",function(){return r.searchTypeFC.patchValue(r.SearchTypeEnum.DATE_RANGE)}),u(9,"mat-form-field",7)(10,"mat-label"),h(11,"Data od"),c(),x(12,"input",8)(13,"mat-datepicker-toggle",9)(14,"mat-datepicker",null,0),c(),u(16,"mat-form-field",7)(17,"mat-label"),h(18,"Data do"),c(),x(19,"input",8)(20,"mat-datepicker-toggle",9)(21,"mat-datepicker",null,1),c()()(),u(23,"mat-radio-button",5)(24,"mat-form-field",10),T("click",function(){return r.searchTypeFC.patchValue(r.SearchTypeEnum.DAY)}),x(25,"input",11),u(26,"mat-label"),h(27,"Ostatnich dni"),c()()(),u(28,"mat-radio-button",5)(29,"mat-form-field",10),T("click",function(){return r.searchTypeFC.patchValue(r.SearchTypeEnum.MONTH)}),x(30,"input",11),u(31,"mat-label"),h(32,"Ostatnich miesi\u0119cy"),c()()()()()()()),n&2){let o=ye(15),a=ye(22);l(5),g("formGroup",r.timeRangeFG),l(),g("formControl",r.searchTypeFC),l(),g("value",r.SearchTypeEnum.DATE_RANGE),l(5),g("formControl",r.fromDateFC)("matDatepicker",o),l(),g("for",o),l(6),g("formControl",r.toDateFC)("matDatepicker",a),l(),g("for",a),l(3),g("value",r.SearchTypeEnum.DAY),l(2),g("formControl",r.lastDaysFC),l(3),g("value",r.SearchTypeEnum.MONTH),l(2),g("formControl",r.lastMonthsFC)}},dependencies:[Ve,qe,Pn,VC,HC,jC,zi,pi,Ri,et,JA,_C,Vr,Je,Xe,Ai,$e,$n,Bt],styles:[".criteria-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.items-center[_ngcontent-%COMP%]{align-items:center}.gap-20[_ngcontent-%COMP%]{gap:20px}"]})}}return t})();var CM=(function(t){return t.PDF_FORMAT="application/pdf",t.JPEG_FORMAT="image/jpeg",t.PNG_FORMAT="image/png",t})(CM||{});var ww=class{constructor(i,e){this.format=i,this.acceptedFilesFormats=e}validate(){if(!this.acceptedFilesFormats)throw new nm("acceptedFilesFormats",this.acceptedFilesFormats);if(!this.acceptedFilesFormats.includes(this.translateFormatFile(this.format)))throw new nm("file format",this.format)}translateFormatFile(i){if(i==="application/pdf")return CM.PDF_FORMAT;throw new QD(i)}};var O0e=(()=>{class t{constructor(e){this.notificationService=e,this.loadedData=new V,this.MAX_FILE_SIZE_IN_MB=5,this.textOnButton=F1}ngOnChanges(){this.isFileUploaded?this.textOnButton=O1:this.textOnButton=F1}chooseFileFromGUI(e){let n=e.target;if(this.fileToUpload=n.files[0],this.fileToUpload)if(this.isProperFileSize(this.fileToUpload))try{new ww(this.fileToUpload.type,this.acceptedFilesFormats).validate();let r=new FileReader;r.onload=this.handleFile.bind(this),r.readAsArrayBuffer(this.fileToUpload),this.textOnButton="Za\u0142adowano : "+this.fileToUpload.name}catch(r){this.notificationService.error("Za\u0142adowano niepoprawny format pliku"),this.textOnButton=O1}else this.notificationService.error(ze.UPLOADED_FILE_TOO_LARGE)}handleFile(e){let n=e?.target?.result;n?.constructor===ArrayBuffer&&this.loadedData.emit(this.createOutputData(n))}createOutputData(e){if(typeof this.fileToUpload>"u")throw new Ta("fileToUpload");return{format:this.fileToUpload.type,content:e,readyForSave:!0,originalName:this.fileToUpload.name}}isProperFileSize(e){return e.size<=this.MAX_FILE_SIZE_IN_MB*1024*1024}static{this.\u0275fac=function(n){return new(n||t)(E(Le))}}static{this.\u0275cmp=k({type:t,selectors:[["app-uploader-core"]],inputs:{acceptedFilesFormats:"acceptedFilesFormats",isFileUploaded:"isFileUploaded"},outputs:{loadedData:"loadedData"},standalone:!1,features:[Ke],decls:4,vars:1,consts:[["uploader",""],["mat-stroked-button","",1,"flex-fill",3,"click"],["autocomplete","off","hidden","","type","file",3,"change"]],template:function(n,r){if(n&1){let o=Se();u(0,"button",1),T("click",function(){te(o);let s=ye(3);return ne(s.click())}),h(1),u(2,"input",2,0),T("change",function(s){return r.chooseFileFromGUI(s)}),c()()}n&2&&(l(),se(" ",r.textOnButton," "))},dependencies:[qn,Bt],styles:[".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"],changeDetection:0})}}return t})();var T5=Si(lm());var F0e=(()=>{class t{constructor(e){this.control=e}onInputChange(e){let n=this.control.control;if(!n)return;let r=n.value,o=(0,T5.default)(r,{separator:" ",precision:0,pattern:"#",negativePattern:"-#"}).format();n.setValue(o),r!==o&&e.stopPropagation()}static{this.\u0275fac=function(n){return new(n||t)(E(Li))}}static{this.\u0275dir=N({type:t,selectors:[["","appNumberWithSeparator",""]],hostBindings:function(n,r){n&1&&T("input",function(a){return r.onInputChange(a)})},standalone:!1})}}return t})();var I5=Si(Xr());var Dc=(function(t){return t.TO_SIGN="Do podpisu",t.READY_TO_EXECUTION="Gotowa do realizacji",t.DURING_SIGNING="W trakcie podpisywania",t.SIGNED_READY_TO_EXECUTION="Podpisana, gotowa do realizacji",t.SIGNED="Podpisana",t.HALF_SIGNED="Do podpisu, cz\u0119\u015Bciowo podpisana",t.SIGNED_BY_ME="Podpisana, wymaga wi\u0119cej podpis\xF3w",t})(Dc||{});var fb=(function(t){return t.CAN_SIGN="CAN_SIGN",t.CAN_NOT_SIGN="CAN_NOT_SIGN",t.I_SIGNED="I_SIGNED",t})(fb||{});var xw=class t{transform(i,e,n){let r=n??i;if(e===fb.CAN_NOT_SIGN)return r===Bn.SIGNED?Dc.READY_TO_EXECUTION:Dc.DURING_SIGNING;switch(r){case Bn.ACCEPTED:return e===fb.I_SIGNED?Dc.SIGNED_BY_ME:Dc.TO_SIGN;case Bn.IN_SIGNING:return e===fb.CAN_SIGN?Dc.HALF_SIGNED:Dc.SIGNED_BY_ME;case Bn.SIGNED:return Dc.SIGNED_READY_TO_EXECUTION;default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"bundleTableSignViewState",type:t,pure:!0,standalone:!1})}};xn([(0,I5.default)({resolver:(t,i,e)=>({state:t,signState:i,bundleState:e})})],xw.prototype,"transform",null);var A5=Si(Xr());var La=(function(t){return t.ALL="",t.CREDIT="CREDIT",t.DEBIT="DEBIT",t})(La||{}),lPt=[{value:La.ALL.toString(),viewValue:"Wszystkie"},{value:La.DEBIT.toString(),viewValue:"Debetowe"},{value:La.CREDIT.toString(),viewValue:"Kredytowe"}],DM=[{value:La.DEBIT.toString(),viewValue:"Debetowa"},{value:La.CREDIT.toString(),viewValue:"Kredytowa"}];var af=class t{transform(i){switch(i){case La.DEBIT:return DM[0].viewValue;case La.CREDIT:return DM[1].viewValue;default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"cardTypePipe",type:t,pure:!0,standalone:!1})}};xn([(0,A5.default)()],af.prototype,"transform",null);var P0e=(()=>{class t{transform(e){return e===La.DEBIT||e===La.CREDIT?new af().transform(e):e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"cardTypeNumberColumn",type:t,pure:!0,standalone:!1})}}return t})();var L0e=(()=>{class t{transform(e,...n){return e?(e=e.trim(),n.length===0?e:e+" "+n.map(r=>r.trim()).join(" ")):""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"concatStringPipe",type:t,pure:!0,standalone:!1})}}return t})();var k5=Si(Xr());var gb=class t{transform(i){return Mi.getTypeName(i)}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"contractorTypePipe",type:t,pure:!0,standalone:!1})}};xn([(0,k5.default)()],gb.prototype,"transform",null);
8004var Sw=class{static calculateAmountOfDays(i,e){let n=e.substring(0,1);return n==="R"?i=i*365:n==="M"&&(i=i*30),i}static getPeriodDescription(i){return typeof i=="string"&&Date.parse(i)?i:typeof i!="string"&&i?this.getDescriptionByAmountOfDays(i):""}static getDescriptionByAmountOfDays(i){let e;return i===1?e=i+" dzie\u0144":i>1&&i<30?e=i+" dni":i===30?e=Math.round(i/30)+" miesi\u0105c":i>=60&&i<=120?e=Math.round(i/30)+" miesi\u0105ce":i>120&&i<365?e=Math.round(i/30)+" miesi\u0119cy":i>=365&&i<730?e=Math.round(i/30/12)+" rok":i>=730&&i<=1460?e=Math.round(i/30/12)+" lata":e=Math.round(i/30/12)+" lat",e}};var B0e=(()=>{class t{transform(e){return Sw.getPeriodDescription(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"daysFormatPipe",type:t,pure:!0,standalone:!1})}}return t})();var R5=Si(Xr());var _b=(function(t){return t.NEW="W trakcie realizacji",t.COMPLETED="Zrealizowana",t.REJECTED="Odrzucona",t})(_b||{});var sf=class t{transform(i,e=!0){if(e)switch(i){case la.NEW:return _b.NEW;case la.COMPLETED:return _b.COMPLETED;case la.REJECTED:return _b.REJECTED;default:return""}else switch(i){case la.NEW:return la.NEW;case la.COMPLETED:return la.COMPLETED;case la.REJECTED:return la.REJECTED;default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"dispositionState",type:t,pure:!0,standalone:!1})}};xn([(0,R5.default)({resolver:(t,i)=>({state:t,useSimplifiedLabels:i})})],sf.prototype,"transform",null);var M5=Si(Xr());var lr=(function(t){return t.TRANSFER_COMMON="Przelew zwyk\u0142y",t.TRANSFER_US="Przelew US/C\u0141O",t.TRANSFER_ZUS="Przelew ZUS",t.TRANSFER_INTERNATIONAL="Przelew zagraniczny",t.DEPOSIT_OPENING="Lokata - za\u0142o\u017Cenie",t.DEPOSIT_MODIFICATION="Lokata - modyfikacja",t.DEPOSIT_BREACH="Lokata - zerwanie",t.STANDING_ORDER_OPENING="Zlecenie sta\u0142e - za\u0142o\u017Cenie",t.STANDING_ORDER_MODIFICATION="Zlecenie sta\u0142e - modyfikacja",t.STANDING_ORDER_BREACH="Zlecenie sta\u0142e - zerwanie",t.GSM_TOP_UP="Do\u0142adowanie GSM",t.TRANSFER_INSTANT="Przelew ekspresowy",t.TRANSFER_DEALING_BPS="Przelew dealing BPS",t.TRANSFER_VAT="Faktura VAT",t.TRANSFER_VAT_TOP_UP="Przelew VAT - zasilenie",t})(lr||{});var Tw=class t{transform(i,e=!1){switch(i){case wn.PRZELEW_ZWYKLY:return e?lr.TRANSFER_COMMON+" sorbnet":lr.TRANSFER_COMMON;case wn.PRZELEW_US:return lr.TRANSFER_US;case wn.PRZELEW_ZUS:return lr.TRANSFER_ZUS;case wn.PRZELEW_ZAGRANICZNY:return lr.TRANSFER_INTERNATIONAL;case wn.LOKATA_ZALOZENIE:return lr.DEPOSIT_OPENING;case wn.LOKATA_MODYFIKACJA:return lr.DEPOSIT_MODIFICATION;case wn.LOKATA_ZERWANIE:return lr.DEPOSIT_BREACH;case wn.ZLECENIE_STALE_ZALOZENIE:case _r.STANDING_ORDER_OPENING:return lr.STANDING_ORDER_OPENING;case wn.ZLECENIE_STALE_MODYFIKACJA:case _r.STANDING_ORDER_MODIFICATION:return lr.STANDING_ORDER_MODIFICATION;case wn.ZLECENIE_STALE_ZERWANIE:case _r.STANDING_ORDER_BREACH:return lr.STANDING_ORDER_BREACH;case wn.DOLADOWANIE_GSM:return lr.GSM_TOP_UP;case wn.PRZELEW_EKSPRES:return lr.TRANSFER_INSTANT;case wn.PRZELEW_DEALING_BPS:return lr.TRANSFER_DEALING_BPS;case wn.PRZELEW_VAT:return e?lr.TRANSFER_VAT+" sorbnet":lr.TRANSFER_VAT;case wn.PRZELEW_VAT_ZASILENIE:return lr.TRANSFER_VAT_TOP_UP;case Cc.STANDING_ORDER:return of.STANDING_ORDER;case Cc.TRANSFER:return of.TRANSFER;case Cc.DEPOSIT:return of.DEPOSIT;case Cc.TOPUP:return of.TOPUP;default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"dispositionTypeView",type:t,pure:!0,standalone:!1})}};xn([(0,M5.default)({resolver:(t,i)=>({type:t,sorbnet:i})})],Tw.prototype,"transform",null);var N5=(()=>{class t{transform(e){return Object.keys(e).map(n=>({value:n,viewValue:e[n]}))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"enumToArray",type:t,pure:!0,standalone:!1})}}return t})();var O5=Si(lm());var V0e=(()=>{class t{transform(e){return e?(0,O5.default)(e,{decimal:",",precision:4,separator:" ",pattern:"#",negativePattern:"-#"}).format():""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"exchangeRate",type:t,pure:!0,standalone:!1})}}return t})();var F5=Si(Xr());var Iw=class t{transform(i,e=!0,n=!1,r){return r||n?new Bh().transform(i,e):new sf().transform(i,e)}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"executionStateView",type:t,pure:!0,standalone:!1})}};xn([(0,F5.default)({resolver:(t,i,e,n)=>({state:t,useSimplifiedLabels:i,virtual:e,dispositions:n})})],Iw.prototype,"transform",null);var j0e=(()=>{class t{transform(e,n){return n?n.includes(e):!1}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"isTurnOver",type:t,pure:!0,standalone:!1})}}return t})();var P5=Si(Xr());var Aw=class t{constructor(){this.UNKNOWN="Nieznany"}transform(i){return i?this.convertLimitName(i):""}convertLimitName(i){let e=i.split(" "),n=e[0],r=e[1];return this.getLimitKindName(n)+" "+this.getLimitPeriodName(r)}getLimitKindName(i){switch(i){case uh.CASH:return"Got\xF3wkowy";case uh.WITHOUT_CASH:return"Bezgot\xF3wkowy";case uh.TOGETHER:return"Pe\u0142ny";case uh.INTERNET:return"Internetowy";default:return this.UNKNOWN}}getLimitPeriodName(i){switch(i){case V_.DAILY:return"Dzienny";case V_.MONTHLY:return"Miesi\u0119czny";case V_.TRANSACTION:return"Transakcyjny";default:return this.UNKNOWN}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"limitTypePipe",type:t,pure:!0,standalone:!1})}};xn([(0,P5.default)()],Aw.prototype,"transform",null);var L5=Si(Xr());var vs=(function(t){return t.HIGH="HIGH",t.NORMAL="NORMAL",t.LOW="LOW",t})(vs||{}),kw=new Map([[vs.HIGH,"Wysoki"],[vs.NORMAL,"Normalny"],[vs.LOW,"Niski"]]);var Rw=class t{transform(i){switch(i){case vs.HIGH:return kw.get(vs.HIGH);case vs.NORMAL:return kw.get(vs.NORMAL);case vs.LOW:return kw.get(vs.LOW);default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"messageTypePipe",type:t,pure:!0,standalone:!1})}};xn([(0,L5.default)()],Rw.prototype,"transform",null);var B5=Si(lm());var H0e=(()=>{class t{transform(e){return e?(0,B5.default)(e,{symbol:"%",decimal:".",pattern:"#!",negativePattern:"-#!"}).format():""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"percentFormat",type:t,pure:!0,standalone:!1})}}return t})();var V5=Si(lm());var U0e=(()=>{class t{transform(e){return new RegExp(/^\d+$/).test(e)?this.transformPhone(e):""}transformPhone(e){return"+48 "+(0,V5.default)(e,{precision:0,separator:" ",pattern:"#"}).format()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"phoneFormatPipe",type:t,pure:!0,standalone:!1})}}return t})();var z0e=(()=>{class t{constructor(){this.NEW_LINE=`
8005`}transform(e){return e?this.format(e):""}format(e){return this.isMultiline(e)?this.formatMultiline(e):vi.ibanFormat(e)}isMultiline(e){return e.includes(this.NEW_LINE)}formatMultiline(e){let n=e.indexOf(this.NEW_LINE),r=e.substring(0,n),o=e.substring(n+1);return`${r}<br>${vi.ibanFormat(o)}`}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"sourceAccountFormatPipe",type:t,pure:!0,standalone:!1})}}return t})();var G0e=(()=>{class t{transform(e,n=je){if(!e)return"";let r=aD(new Date(e),new Date),o=En.formatDateNoError(e,n);return r?`${o} (dzisiaj)`:o}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"dateTodayLabelPipe",type:t,pure:!0})}}return t})();var W0e=(()=>{class t{transform(e){return e!==Pd.POSITIVE&&e!==Pd.NO_CHECK&&e!==bs.REGISTERED&&e!==bs.NO_CHECK}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"whiteListRowColor",type:t,pure:!0,standalone:!1})}}return t})();var $0e=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-bundle-salary-import"]],inputs:{data:"data"},standalone:!1,decls:14,vars:2,consts:[[1,"header"],[1,"content"]],template:function(n,r){n&1&&(u(0,"div",0)(1,"span"),h(2,"Plik importu zawiera\u0142 b\u0142\u0119dy"),c(),u(3,"span"),h(4,"Nie wszystkie dyspozycje zosta\u0142y zaimportowane"),c()(),u(5,"div",1)(6,"span"),h(7,"Ilo\u015B\u0107 poprawnych dyspozycji: "),u(8,"strong"),h(9),c()(),u(10,"span"),h(11,"Ilo\u015B\u0107 b\u0142\u0119dnych dyspozycji: "),u(12,"strong"),h(13),c()()()),n&2&&(l(9),S(r.data.successCount),l(4),S(r.data.invalidCount))},styles:[".header[_ngcontent-%COMP%]{display:flex;flex-direction:column;line-height:1.4rem}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:1rem;line-height:1.4rem}"]})}}return t})();function q0e(t,i){if(t&1&&(u(0,"p",0),h(1),c()),t&2){let e=i.$implicit;l(),S(e)}}var Y0e=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-sign"]],inputs:{data:"data"},standalone:!1,decls:14,vars:2,consts:[[2,"margin-left","1rem"]],template:function(n,r){n&1&&(u(0,"div")(1,"p"),h(2," Liczba element\xF3w przekazana do podpisu: "),u(3,"strong"),h(4),c()(),u(5,"p"),h(6," Liczba element\xF3w nie przeniesionych: "),u(7,"strong"),h(8),c()(),u(9,"div")(10,"p"),h(11,"B\u0142\u0119dy:"),c(),He(12,q0e,2,1,"p",0,at),c()()),n&2&&(l(4),S(r.data.successCount),l(4),S(r.data.invalidCount),l(4),Ue(r.data.errorMessages))},encapsulation:2})}}return t})();var K0e=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-sign-and-execute"]],inputs:{data:"data"},standalone:!1,decls:12,vars:2,template:function(n,r){n&1&&(u(0,"div")(1,"p"),h(2," Liczba element\xF3w przeniesionych do realizacji: "),u(3,"strong"),h(4),c()(),u(5,"p"),h(6," Liczba element\xF3w nie przeniesionych: "),u(7,"strong"),h(8),c()(),u(9,"div")(10,"p"),h(11,"Sprawd\u017A, czy podpisy nieprzeniesionych element\xF3w s\u0105 kompletne, a daty wykonania aktualne."),c()()()),n&2&&(l(4),S(r.data.successCount),l(4),S(r.data.invalidCount))},encapsulation:2})}}return t})();var xBt=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Y({providers:[{provide:Ze,useValue:{}},{provide:rt,useValue:{}}],imports:[N1,qR,$R,Yc,XI,es,cM,Mh,N1,qR,$R,Yc,XI,es,cM]})}}return t})();qc(Fa,[Ve,qe,tc,nc,pd,et,Xu,bo,Ir,Xs,Zs,Js,il,el,Qs,rl,tl,nl,ol,al,Ys,J_,Mt,Nt,Ot,vr,cr,Vr,Je,Xe,Ai,$e,$n,Bt,bi,g5,Tt,lG,Nh,_w],[qt,gb]);qc(ME,[Ve,qe,Pn,qu,zi,pi,Ri,tc,nc,pd,et,bo,Ir,Xs,Zs,Js,il,el,Qs,rl,tl,nl,ol,al,Ad,kd,Rd,J_,Md,cr,Vr,Je,Xe,Ai,Qc,$e,$n,Bt,bi,Tt,yM],[qt]);qc(Td,[Ve,qe,Pn,qu,zi,pi,Ri,tc,nc,pd,et,bo,Ir,Xs,Zs,Js,il,el,Qs,rl,tl,nl,ol,al,Ad,kd,Rd,J_,Md,cr,Vr,Je,Xe,Ai,Qc,$e,$n,Bt,bi,Tt,yM],[qt]);qc(rf,[Ve,qe,St,Pn,Qt,ir,zi,pi,Ri,et,si,Mt,Nt,Ot,vr,Nr,Je,Xe,mn,Bi,$e,Bt,gm,Na,Yr,Kr,Tt,ef,gw,_m],[Ji]);qc(bw,[Ve,qe,St,Pn,Qt,ir,zi,pi,Ri,et,si,Ys,Mt,Nt,Ot,vr,Nr,cr,Je,Xe,Ai,mn,Bi,$e,$n,Ru,Bt,Mh,Na,Yr,Kr,bi,Tt,ef,gw],[Ji,_G,N5]);qc(vw,[Ve,qe,St,Pn,ir,zi,pi,Ri,et,Mt,Nt,Ot,vr,Nr,Je,Xe,mn,$e,Bt,gm,Na,Yr,Kr,Tt,ef,gw,_m],[Ji]);var Mw=class{constructor(i,e){this.name=i,this.bytes=e}fromFile(i){this.name=i.name,this.bytes=i}};var Nw=class extends Mw{constructor(i,e){super(" ",i),this.variant=e}},X0e=(function(t){return t[t.FULLY_WIDE=0]="FULLY_WIDE",t[t.HALF_PAGE=1]="HALF_PAGE",t})(X0e||{});var OBt=(()=>{class t{constructor(e){this.http=e}getLogoData(){let e=this.getLogoMetadata(),n=this.getLogoImage();return nn([e,n]).pipe($(([r,o])=>new Nw(o,r.variant)))}getLogoMetadata(){return this.http.get(K1)}getLogoImage(){return this.http.get(xz,{responseType:"blob"})}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();export{L as a,Ae as b,$5 as c,xM as d,Si as e,kn as f,_e as g,O as h,zt as i,ke as j,xn as k,fn as l,P as m,gn as n,gW as o,$ as p,nn as q,ii as r,Jd as s,Il as t,NW as u,ut as v,ae as w,Ge as x,LW as y,Es as z,hi as A,We as B,It as C,Xb as D,Zr as E,Qr as F,W as G,xe as H,B as I,ce as J,D as K,Y as L,F as M,m as N,te as O,ne as P,ie as Q,Ce as R,dn as S,V as T,le as U,Z as V,io as W,Ke as X,Q as Y,Qf as Z,Cu as _,RF as $,F$ as aa,$o as ba,l as ca,Dt as da,Zt as ea,fi as fa,ot as ga,E as ha,k as ia,X as ja,N as ka,pe as la,he as ma,fe as na,E0 as oa,og as pa,oe as qa,v as ra,y as sa,GP as ta,at as ua,He as va,Ue as wa,g as xa,u as ya,c as za,x as Aa,ft as Ba,_t as Ca,gi as Da,yn as Ea,
8005Cn as Fa,Di as Ga,Se as Ha,T as Ia,Fs as Ja,_ as Ka,Ie as La,re as Ma,ve as Na,H as Oa,U as Pa,x0 as Qa,Wc as Ra,$c as Sa,ye as Ta,On as Ua,ee as Va,Be as Wa,h as Xa,S as Ya,se as Za,so as _a,sL as $a,cL as ab,M9 as bb,N9 as cb,ri as db,jl as eb,me as fb,lo as gb,L9 as hb,be as ib,Fe as jb,Dr as kb,ap as lb,fa as mb,Wt as nb,Ct as ob,YOe as pb,co as qb,Ps as rb,RL as sb,KOe as tb,XOe as ub,ZOe as vb,Ee as wb,q as xb,Qa as yb,yI as zb,cr as Ab,xu as Bb,Ji as Cb,jq as Db,un as Eb,Yc as Fb,DPe as Gb,RI as Hb,gY as Ib,vY as Jb,Xc as Kb,it as Lb,vg as Mb,Kc as Nb,S2 as Ob,A2 as Pb,ge as Qb,LY as Rb,BY as Sb,VY as Tb,Iu as Ub,ht as Vb,Je as Wb,G as Xb,Xe as Yb,Ai as Zb,Au as _b,Qn as $b,pp as ac,uo as bc,z as cc,Vr as dc,fy as ec,QLe as fc,$e as gc,Ru as hc,$n as ic,mn as jc,Bi as kc,Vi as lc,XI as mc,es as nc,ql as oc,yA as pc,wr as qc,qy as rc,qX as sc,QX as tc,cl as uc,Qre as vc,Ut as wc,B_ as xc,sit as yc,dit as zc,pit as Ac,git as Bc,vo as Cc,Vit as Dc,$it as Ec,ct as Fc,uh as Gc,crt as Hc,frt as Ic,Crt as Jc,Srt as Kc,No as Lc,Mrt as Mc,gr as Nc,Ort as Oc,Frt as Pc,Prt as Qc,Lrt as Rc,Brt as Sc,Jre as Tc,eoe as Uc,toe as Vc,noe as Wc,ioe as Xc,roe as Yc,ooe as Zc,wt as _c,qrt as $c,eot as ad,sot as bd,hot as cd,yot as dd,aoe as ed,soe as fd,kot as gd,Gn as hd,Fo as id,Jt as jd,Ze as kd,rt as ld,mt as md,$C as nd,Qp as od,Jp as pd,Ku as qd,ze as rd,ih as sd,An as td,$t as ud,gd as vd,VU as wd,P_ as xd,I1 as yd,Rr as zd,tE as Ad,Hr as Bd,fr as Cd,Hi as Dd,qn as Ed,_o as Fd,kH as Gd,zn as Hd,E_ as Id,th as Jd,Qu as Kd,bi as Ld,Le as Md,$r as Nd,hn as Od,Cd as Pd,cm as Qd,qr as Rd,ln as Sd,yE as Td,_r as Ud,wn as Vd,lm as Wd,P1 as Xd,knt as Yd,ue as Zd,E3 as _d,$_ as $d,G_ as ae,Flt as be,bt as ce,aR as de,yh as ee,Rt as fe,li as ge,qe as he,St as ie,bk as je,Pn as ke,Ve as le,zr as me,et as ne,cs as oe,mr as pe,Qt as qe,si as re,Zu as se,gs as te,hl as ue,ir as ve,b_ as we,ZU as xe,QU as ye,JU as ze,Ta as Ae,ez as Be,tz as Ce,je as De,Ott as Ee,ms as Fe,En as Ge,Aa as He,Dd as Ie,K_ as Je,K3 as Ke,Tp as Le,X2e as Me,Z2e as Ne,Q2e as Oe,J2e as Pe,eBe as Qe,tBe as Re,nBe as Se,iBe as Te,rBe as Ue,oBe as Ve,aBe as We,sBe as Xe,lBe as Ye,cBe as Ze,dBe as _e,uBe as $e,mBe as af,pBe as bf,hBe as cf,fBe as df,gBe as ef,_Be as ff,bBe as gf,Yy as hf,Ky as if,lV as jf,cV as kf,vBe as lf,yBe as mf,CBe as nf,kat as of,vd as pf,Rat as qf,Mat as rf,Nat as sf,Oat as tf,Fat as uf,Pat as vf,Lat as wf,hh as xf,Bat as yf,Vat as zf,jat as Af,Hat as Bf,Uat as Cf,zat as Df,H_ as Ef,Gat as Ff,Wat as Gf,$at as Hf,hoe as If,qat as Jf,q1 as Kf,Yat as Lf,Kat as Mf,Xat as Nf,Zat as Of,Qat as Pf,Jat as Qf,est as Rf,tst as Sf,nst as Tf,ist as Uf,rst as Vf,ost as Wf,ast as Xf,fh as Yf,gh as Zf,sst as _f,lst as $f,Pz as ag,Lz as bg,cst as cg,dst as dg,ust as eg,X1 as fg,mst as gg,pst as hg,hst as ig,fst as jg,z_ as kg,gst as lg,_st as mg,bst as ng,vst as og,yst as pg,Cst as qg,Dst as rg,Est as sg,wst as tg,xst as ug,Sst as vg,fE as wg,Tst as xg,boe as yg,Ist as zg,Ast as Ag,kst as Bg,gE as Cg,Rst as Dg,Mst as Eg,Nst as Fg,Ost as Gg,yo as Hg,Fst as Ig,Pst as Jg,Lst as Kg,Bst as Lg,Vst as Mg,jst as Ng,Hst as Og,Ust as Pg,zst as Qg,Gst as Rg,Wst as Sg,$st as Tg,qst as Ug,Yst as Vg,Kst as Wg,Xst as Xg,Zst as Yg,Ia as Zg,Qst as _g,Jst as $g,elt as ah,tlt as bh,nlt as ch,ilt as dh,rlt as eh,olt as fh,alt as gh,slt as hh,llt as ih,clt as jh,dlt as kh,ult as lh,mlt as mh,plt as nh,hlt as oh,flt as ph,glt as qh,_lt as rh,blt as sh,SE as th,Q3 as uh,J3 as vh,IE as wh,AR as xh,id as yh,wi as zh,pgt as Ah,Fut as Bh,Put as Ch,Lut as Dh,But as Eh,Vut as Fh,jut as Gh,Hut as Hh,Uut as Ih,zut as Jh,Gut as Kh,Wut as Lh,$ut as Mh,qut as Nh,Yut as Oh,Kut as Ph,Xut as Qh,Zut as Rh,Qut as Sh,Jut as Th,emt as Uh,tmt as Vh,nmt as Wh,imt as Xh,rmt as Yh,omt as Zh,R3 as _h,amt as $h,tt as ai,GA as bi,Mt as ci,Nt as di,Roe as ei,Ot as fi,vr as gi,Nr as hi,Moe as ii,dR as ji,Noe as ki,T3 as li,uR as mi,Tt as ni,nG as oi,Ys as pi,zi as qi,pi as ri,Ri as si,Wk as ti,tG as ui,$R as vi,Rj as wi,M4e as xi,VC as yi,jC as zi,qu as Ai,Ak as Bi,qWe as Ci,D_ as Di,tc as Ei,nc as Fi,pd as Gi,S8e as Hi,i6e as Ii,cte as Ji,r6e as Ki,ute as Li,Xu as Mi,KC as Ni,Ks as Oi,hd as Pi,i1 as Qi,S_ as Ri,bo as Si,JA as Ti,_C as Ui,ek as Vi,YH as Wi,one as Xi,m9e as Yi,Ir as Zi,Xs as _i,I_ as $i,Zs as aj,Qs as b
8005j,Js as cj,el as dj,tl as ej,nl as fj,il as gj,rl as hj,ol as ij,al as jj,A_ as kj,Gne as lj,Wne as mj,oYe as nj,C1 as oj,eU as pj,tU as qj,N1 as rj,aG as sj,v0t as tj,mm as uj,Pce as vj,Lce as wj,Y_ as xj,lc as yj,wd as zj,Mi as Aj,Me as Bj,bh as Cj,pn as Dj,ar as Ej,br as Fj,cR as Gj,Nh as Hj,lG as Ij,Xr as Jj,uc as Kj,vi as Lj,qt as Mj,Kt as Nj,pl as Oj,Dut as Pj,xE as Qj,ka as Rj,umt as Sj,mmt as Tj,pmt as Uj,hmt as Vj,Ch as Wj,Ra as Xj,ME as Yj,Po as Zj,B_t as _j,Xt as $j,RR as ak,Yr as bk,wE as ck,OE as dk,Ad as ek,kd as fk,Ule as gk,Rd as hk,zle as ik,Md as jk,Gle as kk,J_ as lk,rG as mk,BE as nk,LR as ok,hm as pk,de as qk,gl as rk,ayt as sk,fm as tk,_l as uk,BR as vk,nb as wk,Fh as xk,Ph as yk,bs as zk,Pd as Ak,jR as Bk,la as Ck,vl as Dk,rb as Ek,HR as Fk,cde as Gk,dde as Hk,xi as Ik,yl as Jk,Lo as Kk,Bo as Lk,Ld as Mk,gm as Nk,Na as Ok,Bn as Pk,Bh as Qk,ab as Rk,GE as Sk,CG as Tk,Eue as Uk,bEt as Vk,Rue as Wk,vEt as Xk,ege as Yk,fw as Zk,Yge as _k,g5 as $k,dM as al,i_e as bl,a_e as cl,g_e as dl,Fa as el,k_e as fl,N_e as gl,_w as hl,K_e as il,hM as jl,_5 as kl,Cm as ll,b5 as ml,v5 as nl,y5 as ol,Pa as pl,Gd as ql,rf as rl,D5 as sl,E5 as tl,w5 as ul,r0e as vl,o0e as wl,Cc as xl,S5 as yl,A0e as zl,N0e as Al,CM as Bl,O0e as Cl,F0e as Dl,fb as El,xw as Fl,La as Gl,P0e as Hl,L0e as Il,gb as Jl,Sw as Kl,B0e as Ll,Tw as Ml,N5 as Nl,V0e as Ol,Iw as Pl,j0e as Ql,Aw as Rl,vs as Sl,Rw as Tl,H0e as Ul,U0e as Vl,z0e as Wl,G0e as Xl,W0e as Yl,$0e as Zl,Y0e as _l,K0e as $l,xBt as am,X0e as bm,OBt as cm};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.