1var tP=Object.create,Kx=Object.freeze,oa=Object.defineProperty,nP=Object.defineProperties,rP=Object.getOwnPropertyDescriptor,iP=Object.getOwnPropertyDescriptors,oP=Object.getOwnPropertyNames,Zu=Object.getOwnPropertySymbols,sP=Object.getPrototypeOf,Km=Object.prototype.hasOwnProperty,Xx=Object.prototype.propertyIsEnumerable;var Qx=t=>{throw TypeError(t)};var Zm=(t,e,r)=>e in t?oa(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,T=(t,e)=>{for(var r in e||(e={}))Km.call(e,r)&&Zm(t,r,e[r]);if(Zu)for(var r of Zu(e))Xx.call(e,r)&&Zm(t,r,e[r]);return t},ve=(t,e)=>nP(t,iP(e));var aP=(t,e)=>{var r={};for(var n in t)Km.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Zu)for(var n of Zu(t))e.indexOf(n)<0&&Xx.call(t,n)&&(r[n]=t[n]);return r};var WQ=(t,e)=>()=>(t&&(e=t(t=0)),e);var Xm=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),cP=(t,e)=>{for(var r in e)oa(t,r,{get:e[r],enumerable:!0})},Jx=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of oP(e))!Km.call(t,i)&&i!==r&&oa(t,i,{get:()=>e[i],enumerable:!(n=rP(e,i))||n.enumerable});return t};var Qm=(t,e,r)=>(r=t!=null?tP(sP(t)):{},Jx(e||!t||!t.__esModule?oa(r,"default",{value:t,enumerable:!0}):r,t)),GQ=t=>Jx(oa({},"__esModule",{value:!0}),t);var a=(t,e,r)=>Zm(t,typeof e!="symbol"?e+"":e,r),lP=(t,e,r)=>e.has(t)||Qx("Cannot "+r);var qQ=(t,e,r)=>e.has(t)?Qx("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r);var YQ=(t,e,r)=>(lP(t,e,"access private method"),r);var ZQ=(t,e)=>Kx(oa(t,"raw",{value:Kx(e||t.slice())})),Gc=(t,e,r)=>new Promise((n,i)=>{var o=l=>{try{c(r.next(l))}catch(u){i(u)}},s=l=>{try{c(r.throw(l))}catch(u){i(u)}},c=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);c((r=r.apply(t,e)).next())});var G0=Xm(h1=>{"use strict";var xK=function(){function t(){}return t.UUID=function(){if(typeof window<"u"&&typeof window.crypto<"u"&&typeof window.crypto.getRandomValues<"u"){var e=new Uint16Array(8);return window.crypto.getRandomValues(e),this.pad4(e[0])+this.pad4(e[1])+"-"+this.pad4(e[2])+"-"+this.pad4(e[3])+"-"+this.pad4(e[4])+"-"+this.pad4(e[5])+this.pad4(e[6])+this.pad4(e[7])}else return this.random4()+this.random4()+"-"+this.random4()+"-"+this.random4()+"-"+this.random4()+"-"+this.random4()+this.random4()+this.random4()},t.pad4=function(e){for(var r=e.toString(16);r.length<4;)r="0"+r;return r},t.random4=function(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)},t}();h1.UUID=xK});var BN=Xm((Ux,VN)=>{(function(t,e){"use strict";typeof define=="function"&&define.amd?define("stackframe",[],e):typeof Ux=="object"?VN.exports=e():t.StackFrame=e()})(Ux,function(){"use strict";function t(m){return!isNaN(parseFloat(m))&&isFinite(m)}function e(m){return m.charAt(0).toUpperCase()+m.substring(1)}function r(m){return function(){return this[m]}}var n=["isConstructor","isEval","isNative","isToplevel"],i=["columnNumber","lineNumber"],o=["fileName","functionName","source"],s=["args"],c=["evalOrigin"],l=n.concat(i,o,s,c);function u(m){if(m)for(var g=0;g<l.length;g++)m[l[g]]!==void 0&&this["set"+e(l[g])](m[l[g]])}u.prototype={getArgs:function(){return this.args},setArgs:function(m){if(Object.prototype.toString.call(m)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=m},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(m){if(m instanceof u)this.evalOrigin=m;else if(m instanceof Object)this.evalOrigin=new u(m);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var m=this.getFileName()||"",g=this.getLineNumber()||"",_=this.getColumnNumber()||"",x=this.getFunctionName()||"";return this.getIsEval()?m?"[eval] ("+m+":"+g+":"+_+")":"[eval]:"+g+":"+_:x?x+" ("+m+":"+g+":"+_+")":m+":"+g+":"+_}},u.fromString=function(g){var _=g.indexOf("("),x=g.lastIndexOf(")"),S=g.substring(0,_),L=g.substring(_+1,x).split(","),Ie=g.substring(x+1);if(Ie.indexOf("@")===0)var W=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(Ie,""),nt=W[1],kn=W[2],qn=W[3];return new u({functionName:S,args:L||void 0,fileName:nt,lineNumber:kn||void 0,columnNumber:qn||void 0})};for(var d=0;d<n.length;d++)u.prototype["get"+e(n[d])]=r(n[d]),u.prototype["set"+e(n[d])]=function(m){return function(g){this[m]=!!g}}(n[d]);for(var f=0;f<i.length;f++)u.prototype["get"+e(i[f])]=r(i[f]),u.prototype["set"+e(i[f])]=function(m){return function(g){if(!t(g))throw new TypeError(m+" must be a Number");this[m]=Number(g)}}(i[f]);for(var h=0;h<o.length;h++)u.prototype["get"+e(o[h])]=r(o[h]),u.prototype["set"+e(o[h])]=function(m){return function(g){this[m]=String(g)}}(o[h]);return u})});var HN=Xm((Hx,UN)=>{(function(t,e){"use strict";typeof define=="function"&&define.amd?define("error-stack-parser",["
1stackframe"],e):typeof Hx=="object"?UN.exports=e(BN()):t.ErrorStackParser=e(t.StackFrame)})(Hx,function(e){"use strict";var r=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,i=/^(eval@)?(\[native code])?$/;return{parse:function(s){if(typeof s.stacktrace<"u"||typeof s["opera#sourceloc"]<"u")return this.parseOpera(s);if(s.stack&&s.stack.match(n))return this.parseV8OrIE(s);if(s.stack)return this.parseFFOrSafari(s);throw new Error("Cannot parse given Error object")},extractLocation:function(s){if(s.indexOf(":")===-1)return[s];var c=/(.+?)(?::(\d+))?(?::(\d+))?$/,l=c.exec(s.replace(/[()]/g,""));return[l[1],l[2]||void 0,l[3]||void 0]},parseV8OrIE:function(s){var c=s.stack.split("\n").filter(function(l){return!!l.match(n)},this);return c.map(function(l){l.indexOf("(eval ")>-1&&(l=l.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var u=l.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),d=u.match(/ (\(.+\)$)/);u=d?u.replace(d[0],""):u;var f=this.extractLocation(d?d[1]:u),h=d&&u||void 0,m=["eval","<anonymous>"].indexOf(f[0])>-1?void 0:f[0];return new e({functionName:h,fileName:m,lineNumber:f[1],columnNumber:f[2],source:l})},this)},parseFFOrSafari:function(s){var c=s.stack.split("\n").filter(function(l){return!l.match(i)},this);return c.map(function(l){if(l.indexOf(" > eval")>-1&&(l=l.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),l.indexOf("@")===-1&&l.indexOf(":")===-1)return new e({functionName:l});var u=/((.*".+"[^@]*)?[^@]*)(?:@)/,d=l.match(u),f=d&&d[1]?d[1]:void 0,h=this.extractLocation(l.replace(u,""));return new e({functionName:f,fileName:h[0],lineNumber:h[1],columnNumber:h[2],source:l})},this)},parseOpera:function(s){return!s.stacktrace||s.message.indexOf("\n")>-1&&s.message.split("\n").length>s.stacktrace.split("\n").length?this.parseOpera9(s):s.stack?this.parseOpera11(s):this.parseOpera10(s)},parseOpera9:function(s){for(var c=/Line (\d+).*script (?:in )?(\S+)/i,l=s.message.split("\n"),u=[],d=2,f=l.length;d<f;d+=2){var h=c.exec(l[d]);h&&u.push(new e({fileName:h[2],lineNumber:h[1],source:l[d]}))}return u},parseOpera10:function(s){for(var c=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,l=s.stacktrace.split("\n"),u=[],d=0,f=l.length;d<f;d+=2){var h=c.exec(l[d]);h&&u.push(new e({functionName:h[3]||void 0,fileName:h[2],lineNumber:h[1],source:l[d]}))}return u},parseOpera11:function(s){var c=s.stack.split("\n").filter(function(l){return!!l.match(r)&&!l.match(/^Error created at/)},this);return c.map(function(l){var u=l.split("@"),d=this.extractLocation(u.pop()),f=u.shift()||"",h=f.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0,m;f.match(/\(([^)]*)\)/)&&(m=f.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var g=m===void 0||m==="[arguments not available]"?void 0:m.split(",");return new e({functionName:h,args:g,fileName:d[0],lineNumber:d[1],columnNumber:d[2],source:l})},this)}}})});function Y(t){return typeof t=="function"}function io(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Ku=io(t=>function(r){t(this),this.message=r?"".concat(r.length," errors occurred during unsubscription:\n").concat(r.map((n,i)=>"".concat(i+1,") ").concat(n.toString())).join("\n ")):"",this.name="UnsubscriptionError",this.errors=r});function ss(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var ce=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(Y(n))try{n()}catch(o){e=o instanceof Ku?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{eE(o)}catch(s){e=e!=null?e:[],s instanceof Ku?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Ku(e)}}add(e){var r;if(e&&e!==this)if(this.closed)eE(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&ss(r,e)}remove(e){let{_finalizers:r}=this;r&&ss(r,e),e instanceof t&&e._removeParent(this)}};ce.EMPTY=(()=>{let t=new ce;return t.closed=!0,t})();var Jm=ce.EMPTY;function Xu(t){return t instanceof ce||t&&"closed"in t&&Y(t.remove)&&Y(t.add)&&Y(t.unsubscribe)}function eE(t){Y(t)?t():t.unsubscribe()}var br={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNext
vendor: 8,243 bytes, line 1
1Context:!1};var sa={setTimeout(t,e,...r){let{delegate:n}=sa;return n!=null&&n.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=sa;return((e==null?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Qu(t){sa.setTimeout(()=>{let{onUnhandledError:e}=br;if(e)e(t);else throw t})}function Zn(){}var tE=eg("C",void 0,void 0);function nE(t){return eg("E",void 0,t)}function rE(t){return eg("N",t,void 0)}function eg(t,e,r){return{kind:t,value:e,error:r}}var as=null;function aa(t){if(br.useDeprecatedSynchronousErrorHandling){let e=!as;if(e&&(as={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=as;if(as=null,r)throw n}}else t()}function iE(t){br.useDeprecatedSynchronousErrorHandling&&as&&(as.errorThrown=!0,as.error=t)}var Ei=class extends ce{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Xu(e)&&e.add(this)):this.destination=fP}static create(e,r,n){return new yr(e,r,n)}next(e){this.isStopped?ng(rE(e),this):this._next(e)}error(e){this.isStopped?ng(nE(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ng(tE,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},uP=Function.prototype.bind;function tg(t,e){return uP.call(t,e)}var rg=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Ju(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Ju(n)}else Ju(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Ju(r)}}},yr=class extends Ei{constructor(e,r,n){super();let i;if(Y(e)||!e)i={next:e!=null?e:void 0,error:r!=null?r:void 0,complete:n!=null?n:void 0};else{let o;this&&br.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&tg(e.next,o),error:e.error&&tg(e.error,o),complete:e.complete&&tg(e.complete,o)}):i=e}this.destination=new rg(i)}};function Ju(t){br.useDeprecatedSynchronousErrorHandling?iE(t):Qu(t)}function dP(t){throw t}function ng(t,e){let{onStoppedNotification:r}=br;r&&sa.setTimeout(()=>r(t,e))}var fP={closed:!0,next:Zn,error:dP,complete:Zn};var ca=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Mt(t){return t}function ig(...t){return og(t)}function og(t){return t.length===0?Mt:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var V=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=hP(r)?r:new yr(r,n,i);return aa(()=>{let{operator:s,source:c}=this;o.add(s?s.call(o,c):c?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=oE(n),new n((i,o)=>{let s=new yr({next:c=>{try{r(c)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[ca](){return this}pipe(...r){return og(r)(this)}toPromise(r){return r=oE(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function oE(t){var e;return(e=t!=null?t:br.Promise)!==null&&e!==void 0?e:Promise}function pP(t){return t&&Y(t.next)&&Y(t.error)&&Y(t.complete)}function hP(t){return t&&t instanceof Ei||pP(t)&&Xu(t)}var sE=io(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var A=(()=>{class t extends V{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new la(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new sE}next(r){aa(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){aa(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){aa(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?Jm:(this.currentObservers=null,o.push(r),new ce(()=>{this.currentObservers=null,ss(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new V;return r.source=this,r}}return t.create=(e,r)=>new la(e,r),t})(),la=class extends A{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Jm}};var qe=class extends A{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var nn=new V(t=>t.complete());function ed(t){return t&&Y(t.schedule)}function sg(t){return t[t.length-1]}function oo(t){return Y(sg(t))?t.pop():void 0}function zr(t){return ed(sg(t))?t.pop():void 0}function aE(t,e){return typeof sg(t)=="number"?t.pop():e}function lE(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function c(d){try{u(n.next(d))}catch(f){s(f)}}function l(d){try{u(n.throw(d))}catch(f){s(f)}}function u(d){d.done?o(d.value):i(d.value).then(c,l)}u((n=n.apply(t,e||[])).next())})}function cE(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.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(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function cs(t){return this instanceof cs?(this.v=t,this):new cs(t)}function uE(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(h){n[h]&&(i[h]=function(m){return new Promise(function(g,_){o.push([h,m,g,_])>1||c(h,m)})})}function c(h,m){try{l(n[h](m))}catch(g){f(o[0][3],g)}}function l(h){h.value instanceof cs?Promise.resolve(h.value.v).then(u,d):f(o[0][2],h)}function u(h){c("next",h)}function d(h){c("throw",h)}function f(h,m){h(m),o.shift(),o.length&&c(o[0][0],o[0][1])}}function dE(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof cE=="function"?cE(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(c,l){s=t[o](s),i(c,l,s.done,s.value)})}}function i(o,s,c,l){Promise.resolve(l).then(function(u){o({value:u,done:c})},s)}}var ua=t=>t&&typeof t.length=="number"&&typeof t!="function";function td(t){return Y(t==null?void 0:t.then)}function nd(t){return Y(t[ca])}function rd(t){return Symbol.asyncIterator&&Y(t==null?void 0:t[Symbol.asyncIterator])}function id(t){return new TypeError("You provided ".concat(t!==null&&typeof t=="object"?"an invali
1d object":"'".concat(t,"'")," where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable."))}function mP(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var od=mP();function sd(t){return Y(t==null?void 0:t[od])}function ad(t){return uE(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield cs(r.read());if(i)return yield cs(void 0);yield yield cs(n)}}finally{r.releaseLock()}})}function cd(t){return Y(t==null?void 0:t.getReader)}function le(t){if(t instanceof V)return t;if(t!=null){if(nd(t))return gP(t);if(ua(t))return vP(t);if(td(t))return bP(t);if(rd(t))return fE(t);if(sd(t))return yP(t);if(cd(t))return _P(t)}throw id(t)}function gP(t){return new V(e=>{let r=t[ca]();if(Y(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function vP(t){return new V(e=>{for(let r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function bP(t){return new V(e=>{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Qu)})}function yP(t){return new V(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function fE(t){return new V(e=>{xP(t,e).catch(r=>e.error(r))})}function _P(t){return fE(ad(t))}function xP(t,e){var r,n,i,o;return lE(this,void 0,void 0,function*(){try{for(r=dE(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Ut(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function ag(t){return Y(t==null?void 0:t.lift)}function M(t){return e=>{if(ag(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function R(t,e,r,n,i){return new qc(t,e,r,n,i)}var qc=class extends Ei{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(c){try{r(c)}catch(l){e.error(l)}}:super._next,this._error=i?function(c){try{i(c)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function ls(t,e=0){return M((r,n)=>{r.subscribe(R(n,i=>Ut(n,t,()=>n.next(i),e),()=>Ut(n,t,()=>n.complete(),e),i=>Ut(n,t,()=>n.error(i),e)))})}function ld(t,e=0){return M((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function pE(t,e){return le(t).pipe(ld(e),ls(e))}function hE(t,e){return le(t).pipe(ld(e),ls(e))}function mE(t,e){return new V(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function gE(t,e){return new V(r=>{let n;return Ut(r,e,()=>{n=t[od](),Ut(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>Y(n==null?void 0:n.return)&&n.return()})}function ud(t,e){if(!t)throw new Error("Iterable cannot be null");return new V(r=>{Ut(r,e,()=>{let n=t[Symbol.asyncIterator]();Ut(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function vE(t,e){return ud(ad(t),e)}function cg(t,e){if(t!=null){if(nd(t))return pE(t,e);if(ua(t))return mE(t,e);if(td(t))return hE(t,e);if(rd(t))return ud(t,e);if(sd(t))return gE(t,e);if(cd(t))return vE(t,e)}throw id(t)}function Ht(t,e){return e?cg(t,e):le(t)}function O(...t){let e=zr(t);return Ht(t,e)}var _r=io(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function EP(t,e){let r=typeof e=="object";return new Promise((n,i)=>{let o=!1,s;t.subscribe({next:c=>{s=c,o=!0},error:i,complete:()=>{o?n(s):r?n(e.defaultValue):i(new _r)}})})}function wP(t,e){let r=typeof e=="object";return new Promise((n,i)=>{let o=new yr({next:s=>{n(s),o.unsubscribe()},error:i,complete:()=>{r?n(e.defaultValue):i(new _r)}});t.subscribe(o)})}function N(t,e){return M((r,n)=>{let i=0;r.subscribe(R(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:DP}=Array,{getPrototypeOf:CP,prototype:IP,keys:SP}=Object;function dd(t){if(t.length===1){let e=t[0];if(DP(e))return{args:e,keys:null};if(TP(e)){let r=SP(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function TP(t){return t&&typeof t=="object"&&CP(t)===IP}var{isArray:AP}=Array;function MP(t,e){return AP(e)?t(...e):t(e)}function so(t){return N(e=>MP(t,e))}function fd(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function us(...t){let e=zr(t),r=oo(t),{args:n,keys:i}=dd(t);if(n.length===0)return Ht([],e);let o=new V(lg(n,e,i?s=>fd(i,s):Mt));return r?o.pipe(so(r)):o}function lg(t,e,r=Mt){return n=>{bE(e,()=>{let{length:i}=t,o=new Array(i),s=i,c=i;for(let l=0;l<i;l++)bE(e,()=>{let u=Ht(t[l],e),d=!1;u.subscribe(R(n,f=>{o[l]=f,d||(d=!0,c--),c||n.next(r(o.slice()))},()=>{--s||n.complete()}
vendor: 8,377 bytes, line 1
1))},n)},n)}}function bE(t,e,r){t?Ut(r,t,e):e()}function ds(...t){let e=oo(t),{args:r,keys:n}=dd(t),i=new V(o=>{let{length:s}=r;if(!s){o.complete();return}let c=new Array(s),l=s,u=s;for(let d=0;d<s;d++){let f=!1;le(r[d]).subscribe(R(o,h=>{f||(f=!0,u--),c[d]=h},()=>l--,void 0,()=>{(!l||!f)&&(u||o.next(n?fd(n,c):c),o.complete())}))}});return e?i.pipe(so(e)):i}function Z(t,e){return M((r,n)=>{let i=0;r.subscribe(R(n,o=>t.call(e,o,i++)&&n.next(o)))})}function xr(t){return M((e,r)=>{let n=null,i=!1,o;n=e.subscribe(R(r,void 0,void 0,s=>{o=le(t(s,xr(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function _e(t){return t<=0?()=>nn:M((e,r)=>{let n=0;e.subscribe(R(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function xe(t,e){return M((r,n)=>{let i=null,o=0,s=!1,c=()=>s&&!i&&n.complete();r.subscribe(R(n,l=>{i==null||i.unsubscribe();let u=0,d=o++;le(t(l,d)).subscribe(i=R(n,f=>n.next(e?e(l,f,d,u++):f),()=>{i=null,c()}))},()=>{s=!0,c()}))})}function je(t,e,r){let n=Y(t)||e||r?{next:t,error:e,complete:r}:t;return n?M((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let c=!0;i.subscribe(R(o,l=>{var u;(u=n.next)===null||u===void 0||u.call(n,l),o.next(l)},()=>{var l;c=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var u;c=!1,(u=n.error)===null||u===void 0||u.call(n,l),o.error(l)},()=>{var l,u;c&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):Mt}function ug(){return M((t,e)=>{let r=null;t._refCount++;let n=R(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Yc=class extends V{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,ag(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ce;let r=this.getSubject();e.add(this.source.subscribe(R(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ce.EMPTY)}return e}refCount(){return ug()(this)}};var da={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=da;n&&(e=n.requestAnimationFrame,r=n.cancelAnimationFrame);let i=e(o=>{r=void 0,t(o)});return new ce(()=>r==null?void 0:r(i))},requestAnimationFrame(...t){let{delegate:e}=da;return((e==null?void 0:e.requestAnimationFrame)||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=da;return((e==null?void 0:e.cancelAnimationFrame)||cancelAnimationFrame)(...t)},delegate:void 0};var Zc={now(){return(Zc.delegate||Date).now()},delegate:void 0};var rn=class extends A{constructor(e=1/0,r=1/0,n=Zc){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;r||(n.push(e),!i&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!e.closed;s+=n?1:2)e.next(o[s]);return this._checkFinalizedStatuses(e),r}_trimBuffer(){let{_bufferSize:e,_timestampProvider:r,_buffer:n,_infiniteTimeWindow:i}=this,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){let s=r.now(),c=0;for(let l=1;l<n.length&&n[l]<=s;l+=2)c=l;c&&n.splice(0,c+1)}}};var pd=class extends ce{constructor(e,r){super()}schedule(e,r=0){return this}};var Kc={setInterval(t,e,...r){let{delegate:n}=Kc;return n!=null&&n.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Kc;return((e==null?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0};var Wr=class extends pd{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,r),this}requestAsyncId(e,r,n=0){return Kc.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&Kc.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,i;try{this.work(e)}catch(o){n=!0,i=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,ss(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var kP=1,dg,fg={};function yE(t){return t in fg?(delete fg[t],!0):!1}var _E={setImmediate(t){let e=kP++;return fg[e]=!0,dg||(dg=Promise.resolve()),dg.then(()=>yE(e)&&t()),e},clearImmediate(t){yE(t)}};var{setImmediate:RP,clearImmediate:OP}=_E,Xc={setImmediate(...t){let{delegate:e}=Xc;return((e==null?void 0:e.setImmediate)||RP)(...t)},clearImmediate(t){let{delegate:e}=Xc;return((e==null?void 0:e.clearImmediate)||OP)(t)},delegate:void 0};var hd=class extends Wr{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=Xc.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,n=0){var i;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(Xc.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var fa=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};fa.now=Zc.now;var Gr=class extends fa{constructor(e,r=fa.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var md=class extends Gr{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,i;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,i){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw i}}};var pa=new md(hd);var hn=new Gr(Wr),pg=hn;var gd=class extends Wr{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}schedule(e,r=0){return r>0?super.schedule(e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)}execute(e,r){return r>0||this.closed?super.execute(e,r):this._execute(e,r)}requestAsyncId(e,r,n=0){return n!=null&&n>0||n==null&&this.delay>0?super.requestAsyncId(e,r,n):(e.flush(this),0)}};var vd=class extends Gr{};var hg=new vd(gd);var bd=class extends Wr{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=da.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,r,n=0){var i;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(da.cancelAnimationFrame(r),e._scheduled=void 0)}};var yd=class extends Gr{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,i;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,i){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw i}}};var mg=new yd(bd);function Rn(t,e){let r=Y(t)?t:()=>t,n=i=>
1i.error(r());return new V(e?i=>e.schedule(n,0,i):n)}var ao=class t{constructor(e,r,n){this.kind=e,this.value=r,this.error=n,this.hasValue=e==="N"}observe(e){return gg(this,e)}do(e,r,n){let{kind:i,value:o,error:s}=this;return i==="N"?e==null?void 0:e(o):i==="E"?r==null?void 0:r(s):n==null?void 0:n()}accept(e,r,n){var i;return Y((i=e)===null||i===void 0?void 0:i.next)?this.observe(e):this.do(e,r,n)}toObservable(){let{kind:e,value:r,error:n}=this,i=e==="N"?O(r):e==="E"?Rn(()=>n):e==="C"?nn:0;if(!i)throw new TypeError("Unexpected notification kind ".concat(e));return i}static createNext(e){return new t("N",e)}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}};ao.completeNotification=new ao("C");function gg(t,e){var r,n,i;let{kind:o,value:s,error:c}=t;if(typeof o!="string")throw new TypeError('Invalid notification, missing "kind"');o==="N"?(r=e.next)===null||r===void 0||r.call(e,s):o==="E"?(n=e.error)===null||n===void 0||n.call(e,c):(i=e.complete)===null||i===void 0||i.call(e)}function kt(t){return!!t&&(t instanceof V||Y(t.lift)&&Y(t.subscribe))}function _d(t){return t instanceof Date&&!isNaN(t)}var NP=io(t=>function(r=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function xE(t,e){let{first:r,each:n,with:i=PP,scheduler:o=e!=null?e:hn,meta:s=null}=_d(t)?{first:t}:typeof t=="number"?{each:t}:t;if(r==null&&n==null)throw new TypeError("No timeout provided.");return M((c,l)=>{let u,d,f=null,h=0,m=g=>{d=Ut(l,o,()=>{try{u.unsubscribe(),le(i({meta:s,lastValue:f,seen:h})).subscribe(l)}catch(_){l.error(_)}},g)};u=c.subscribe(R(l,g=>{d==null||d.unsubscribe(),h++,l.next(f=g),n>0&&m(n)},void 0,void 0,()=>{d!=null&&d.closed||d==null||d.unsubscribe(),f=null})),!h&&m(r!=null?typeof r=="number"?r:+r-o.now():n)})}function PP(t){throw new NP(t)}function xd(t,e,r,n,i,o,s,c){let l=[],u=0,d=0,f=!1,h=()=>{f&&!l.length&&!u&&e.complete()},m=_=>u<n?g(_):l.push(_),g=_=>{o&&e.next(_),u++;let x=!1;le(r(_,d++)).subscribe(R(e,S=>{i==null||i(S),o?m(S):e.next(S)},()=>{x=!0},void 0,()=>{if(x)try{for(u--;l.length&&u<n;){let S=l.shift();s?Ut(e,s,()=>g(S)):g(S)}h()}catch(S){e.error(S)}}))};return t.subscribe(R(e,m,()=>{f=!0,h()})),()=>{c==null||c()}}function Rt(t,e,r=1/0){return Y(e)?Rt((n,i)=>N((o,s)=>e(n,o,i,s))(le(t(n,i))),r):(typeof e=="number"&&(r=e),M((n,i)=>xd(n,i,t,r)))}function Qc(t=1/0){return Rt(Mt,t)}function EE(){return Qc(1)}function Er(...t){return EE()(Ht(t,zr(t)))}function qr(t){return new V(e=>{le(t()).subscribe(e)})}var FP=["addListener","removeListener"],LP=["addEventListener","removeEventListener"],jP=["on","off"];function fs(t,e,r,n){if(Y(r)&&(n=r,r=void 0),n)return fs(t,e,r).pipe(so(n));let[i,o]=UP(t)?LP.map(s=>c=>t[s](e,c,r)):VP(t)?FP.map(wE(t,e)):BP(t)?jP.map(wE(t,e)):[];if(!i&&ua(t))return Rt(s=>fs(s,e,r))(le(t));if(!i)throw new TypeError("Invalid event target");return new V(s=>{let c=(...l)=>s.next(1<l.length?l:l[0]);return i(c),()=>o(c)})}function wE(t,e){return r=>n=>t[r](e,n)}function VP(t){return Y(t.addListener)&&Y(t.removeListener)}function BP(t){return Y(t.on)&&Y(t.off)}function UP(t){return Y(t.addEventListener)&&Y(t.removeEventListener)}function on(t=0,e,r=pg){let n=-1;return e!=null&&(ed(e)?r=e:n=e),new V(i=>{let o=_d(t)?+t-r.now():t;o<0&&(o=0);let s=0;return r.schedule(function(){i.closed||(i.next(s++),0<=n?this.schedule(void 0,n):i.complete())},o)})}function HP(t=0,e=hn){return t<0&&(t=0),on(t,t,e)}function On(...t){let e=zr(t),r=aE(t,1/0),n=t;return n.length?n.length===1?le(n[0]):Qc(r)(Ht(n,e)):nn}var DE=new V(Zn);function $P(){return DE}var{isArray:zP}=Array;function CE(t){return t.length===1&&zP(t[0])?t[0]:t}function IE(t){return M((e,r)=>{let n=!1,i=null,o=null,s=!1,c=()=>{if(o==null||o.unsubscribe(),o=null,n){n=!1;let u=i;i=null,r.next(u)}s&&r.complete()},l=()=>{o=null,s&&r.complete()};e.subscribe(R(r,u=>{n=!0,i=u,o||le(t(u)).subscribe(o=R(r,c,l))},()=>{s=!0,(!n||!o||o.closed)&&r.complete()}))})}function Jc(t,e=hn){return IE(()=>on(t,e))}function Ed(t,e,r,n,i){return(o,s)=>{let c=r,l=e,u=0;o.subscribe(R(s,d=>{let f=u++;l=c?t(l,d,f):(c=!0,d),n&&s.next(l)},i&&(()=>{c&&s.next(l),s.complete()}
1)))}}function vg(t,e){return M(Ed(t,e,arguments.length>=2,!1,!0))}var WP=(t,e)=>(t.push(e),t);function GP(){return M((t,e)=>{vg(WP,[])(t).subscribe(e)})}function bg(...t){let e=oo(t);return e?ig(bg(...t),so(e)):M((r,n)=>{lg([r,...CE(t)])(n)})}function qP(...t){return bg(...t)}function ha(t,e){return Y(e)?Rt(t,e,1):Rt(t,1)}function Yr(t,e=hn){return M((r,n)=>{let i=null,o=null,s=null,c=()=>{if(i){i.unsubscribe(),i=null;let u=o;o=null,n.next(u)}};function l(){let u=s+t,d=e.now();if(d<u){i=this.schedule(void 0,u-d),n.add(i);return}c()}r.subscribe(R(n,u=>{o=u,s=e.now(),i||(i=e.schedule(l,t),n.add(i))},()=>{c(),n.complete()},void 0,()=>{o=i=null}))})}function el(t){return M((e,r)=>{let n=!1;e.subscribe(R(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function yg(){return M((t,e)=>{t.subscribe(R(e,Zn))})}function _g(t){return N(()=>t)}function xg(t,e){return e?r=>Er(e.pipe(_e(1),yg()),r.pipe(xg(t))):Rt((r,n)=>le(t(r,n)).pipe(_e(1),_g(r)))}function tl(t,e=hn){let r=on(t,e);return xg(()=>r)}function YP(){return M((t,e)=>{t.subscribe(R(e,r=>gg(r,e)))})}function Zr(t,e=Mt){return t=t!=null?t:ZP,M((r,n)=>{let i,o=!0;r.subscribe(R(n,s=>{let c=e(s);(o||!t(i,c))&&(o=!1,i=c,n.next(s))}))})}function ZP(t,e){return t===e}function wd(t=KP){return M((e,r)=>{let n=!1;e.subscribe(R(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function KP(){return new _r}function SE(t,e){return e?r=>r.pipe(SE((n,i)=>le(t(n,i)).pipe(N((o,s)=>e(n,o,i,s))))):M((r,n)=>{let i=0,o=null,s=!1;r.subscribe(R(n,c=>{o||(o=R(n,void 0,()=>{o=null,s&&n.complete()}),le(t(c,i++)).subscribe(o))},()=>{s=!0,!o&&n.complete()}))})}function XP(t,e=1/0,r){return e=(e||0)<1?1/0:e,M((n,i)=>xd(n,i,t,e,void 0,!0,r))}function ps(t){return M((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function TE(t,e){let r=arguments.length>=2;return n=>n.pipe(t?Z((i,o)=>t(i,o,n)):Mt,_e(1),r?el(e):wd(()=>new _r))}function QP(t,e,r,n){return M((i,o)=>{let s;!e||typeof e=="function"?s=e:{duration:r,element:s,connector:n}=e;let c=new Map,l=g=>
1{c.forEach(g),g(o)},u=g=>l(_=>_.error(g)),d=0,f=!1,h=new qc(o,g=>{try{let _=t(g),x=c.get(_);if(!x){c.set(_,x=n?n():new A);let S=m(_,x);if(o.next(S),r){let L=R(x,()=>{x.complete(),L==null||L.unsubscribe()},void 0,void 0,()=>c.delete(_));h.add(le(r(S)).subscribe(L))}}x.next(s?s(g):g)}catch(_){u(_)}},()=>l(g=>g.complete()),u,()=>c.clear(),()=>(f=!0,d===0));i.subscribe(h);function m(g,_){let x=new V(S=>{d++;let L=_.subscribe(S);return()=>{L.unsubscribe(),--d===0&&f&&h.unsubscribe()}});return x.key=g,x}})}function Eg(t){return t<=0?()=>nn:M((e,r)=>{let n=[];e.subscribe(R(r,i=>{n.push(i),t<n.length&&n.shift()},()=>{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function JP(t,e){let r=arguments.length>=2;return n=>n.pipe(t?Z((i,o)=>t(i,o,n)):Mt,Eg(1),r?el(e):wd(()=>new _r))}function eF(){return M((t,e)=>{t.subscribe(R(e,r=>{e.next(ao.createNext(r))},()=>{e.next(ao.createComplete()),e.complete()},r=>{e.next(ao.createError(r)),e.complete()}))})}function Dd(){return M((t,e)=>{let r,n=!1;t.subscribe(R(e,i=>{let o=r;r=i,n&&e.next([o,i]),n=!0}))})}function wg(...t){let e=t.length;if(e===0)throw new Error("list of properties cannot be empty.");return N(r=>{let n=r;for(let i=0;i<e;i++){let o=n==null?void 0:n[t[i]];if(typeof o<"u")n=o;else return}return n})}function tF(t){let e=1/0,r;return t!=null&&(typeof t=="object"?{count:e=1/0,delay:r}=t:e=t),e<=0?()=>nn:M((n,i)=>{let o=0,s,c=()=>{if(s==null||s.unsubscribe(),s=null,r!=null){let u=typeof r=="number"?on(r):le(r(o)),d=R(i,()=>{d.unsubscribe(),l()});u.subscribe(d)}else l()},l=()=>{let u=!1;s=n.subscribe(R(i,void 0,()=>{++o<e?s?c():u=!0:i.complete()})),u&&c()};l()})}function Dg(t,e){return M(Ed(t,e,arguments.length>=2,!0))}function co(t={}){let{connector:e=()=>new A,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,c,l,u=0,d=!1,f=!1,h=()=>{c==null||c.unsubscribe(),c=void 0},m=()=>{h(),s=l=void 0,d=f=!1},g=()=>{let _=s;m(),_==null||_.unsubscribe()};return M((_,x)=>{u++,!f&&!d&&h();let S=l=l!=null?l:e();x.add(()=>{u--,u===0&&!f&&!d&&(c=Cg(g,i))}),S.subscribe(x),!s&&u>0&&(s=new yr({next:L=>S.next(L),error:L=>{f=!0,h(),c=Cg(m,r,L),S.error(L)},complete:()=>{d=!0,h(),c=Cg(m,n),S.complete()}}),le(_).subscribe(s))})(o)}}function Cg(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new yr({next:()=>{n.unsubscribe(),t()}});return le(e(...r)).subscribe(n)}function wi(t,e,r){let n,i=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:r}=t:n=t!=null?t:1/0,co({connector:()=>new rn(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function nl(t){return Z((e,r)=>t<=r)}function nF(t){return M((e,r)=>{let n=!1,i=0;e.subscribe(R(r,o=>(n||(n=!t(o,i++)))&&r.next(o)))})}function Ot(...t){let e=zr(t);return M((r,n)=>{(e?Er(t,r,e):Er(t,r)).subscribe(n)})}function Ce(t){return M((e,r)=>{le(t).subscribe(R(r,()=>r.complete(),Zn)),!r.closed&&e.subscribe(r)})}function ma(t,e=!1){return M((r,n)=>{let i=0;r.subscribe(R(n,o=>{let s=t(o,i++);(s||e)&&n.next(o),!s&&n.complete()}))})}function AE(t,e){return M((r,n)=>{let{leading:i=!0,trailing:o=!1}=e!=null?e:{},s=!1,c=null,l=null,u=!1,d=()=>{l==null||l.unsubscribe(),l=null,o&&(m(),u&&n.complete())},f=()=>{l=null,u&&n.complete()},h=g=>l=le(t(g)).subscribe(R(n,d,f)),m=()=>{if(s){s=!1;let g=c;c=null,n.next(g),!u&&h(g)}};r.subscribe(R(n,g=>{s=!0,c=g,!(l&&!l.closed)&&(i?m():h(g))},()=>{u=!0,!(o&&s&&l&&!l.closed)&&n.complete()}))})}function ME(t,e=hn,r){let n=on(t,e);return AE(()=>n,r)}function Cd(...t){let e=oo(t);return M((r,n)=>{let i=t.length,o=new Array(i),s=t.map(()=>!1),c=!1;for(let l=0;l<i;l++)le(t[l]).subscribe(R(n,u=>{o[l]=u,!c&&!s[l]&&(s[l]=!0,(c=s.every(Mt))&&(s=null))},Zn));r.subscribe(R(n,l=>{if(c){let u=[l,...o];n.next(e?e(...u):u)}}))})}function kg(t,e){return Object.is(t,e)}var rt=null,rl=!1,Rg=1,Nt=Symbol("SIGNAL");function ye(t){let e=rt;return rt=t,e}function kE(){return rt}function rF(){return rl}var hs={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ol(t){if(rl)throw new Error("");
1if(rt===null)return;rt.consumerOnSignalRead(t);let e=rt.nextProducerIndex++;if(Td(rt),e<rt.producerNode.length&&rt.producerNode[e]!==t&&il(rt)){let r=rt.producerNode[e];Sd(r,rt.producerIndexOfThis[e])}rt.producerNode[e]!==t&&(rt.producerNode[e]=t,rt.producerIndexOfThis[e]=il(rt)?PE(t,rt,e):0),rt.producerLastReadVersion[e]=t.version}function iF(){Rg++}function Og(t){if(!(il(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Rg)){if(!t.producerMustRecompute(t)&&!al(t)){Ag(t);return}t.producerRecomputeValue(t),Ag(t)}}function RE(t){if(t.liveConsumerNode===void 0)return;let e=rl;rl=!0;try{for(let r of t.liveConsumerNode)r.dirty||NE(r)}finally{rl=e}}function OE(){return(rt==null?void 0:rt.consumerAllowSignalWrites)!==!1}function NE(t){var e;t.dirty=!0,RE(t),(e=t.consumerMarkedDirty)==null||e.call(t,t)}function Ag(t){t.dirty=!1,t.lastCleanEpoch=Rg}function ga(t){return t&&(t.nextProducerIndex=0),ye(t)}function sl(t,e){if(ye(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(il(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)Sd(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function al(t){Td(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(Og(r),n!==r.version))return!0}return!1}function va(t){if(Td(t),il(t))for(let e=0;e<t.producerNode.length;e++)Sd(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function PE(t,e,r){if(FE(t),t.liveConsumerNode.length===0&&LE(t))for(let n=0;n<t.producerNode.length;n++)t.producerIndexOfThis[n]=PE(t.producerNode[n],t,n);return t.liveConsumerIndexOfThis.push(r),t.liveConsumerNode.push(e)-1}function Sd(t,e){if(FE(t),t.liveConsumerNode.length===1&&LE(t))for(let n=0;n<t.producerNode.length;n++)Sd(t.producerNode[n],t.producerIndexOfThis[n]);let r=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[r],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[r],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],i=t.liveConsumerNode[e];Td(i),i.producerIndexOfThis[n]=e}}function il(t){var e,r;return t.consumerIsAlwaysLive||((r=(e=t==null?void 0:t.liveConsumerNode)==null?void 0:e.length)!=null?r:0)>0}function Td(t){var e,r,n;(e=t.producerNode)!=null||(t.producerNode=[]),(r=t.producerIndexOfThis)!=null||(t.producerIndexOfThis=[]),(n=t.producerLastReadVersion)!=null||(t.producerLastReadVersion=[])}function FE(t){var e,r;(e=t.liveConsumerNode)!=null||(t.liveConsumerNode=[]),(r=t.liveConsumerIndexOfThis)!=null||(t.liveConsumerIndexOfThis=[])}function LE(t){return t.producerNode!==void 0}function Ng(t){let e=Object.create(oF);e.computation=t;let r=()=>{if(Og(e),ol(e),e.value===Id)throw e.error;return e.value};return r[Nt]=e,r}var Ig=Symbol("UNSET"),Sg=Symbol("COMPUTING"),Id=Symbol("ERRORED"),oF=ve(T({},hs),{value:Ig,dirty:!0,error:null,equal:kg,producerMustRecompute(t){return t.value===Ig||t.value===Sg},producerRecomputeValue(t){if(t.value===Sg)throw new Error("Detected cycle in computations.");let e=t.value;t.value=Sg;let r=ga(t),n;try{n=t.computation()}catch(i){n=Id,t.error=i}finally{sl(t,r)}if(e!==Ig&&e!==Id&&n!==Id&&t.equal(e,n)){t.value=e;return}t.value=n,t.version++}});function sF(){throw new Error}var jE=sF;function VE(){jE()}function BE(t){jE=t}var Tg=null;function UE(t){let e=Object.create(Pg);e.value=t;let r=()=>(ol(e),e.value);return r[Nt]=e,r}function cl(t,e){OE()||VE(),t.equal(t.value,e)||(t.value=e,aF(t))}function HE(t,e){OE()||VE(),cl(t,e(t.value))}var Pg=ve(T({},hs),{equal:kg,value:void 0});function aF(t){t.version++,iF(),RE(t),Tg==null||Tg()}function $E(t,e,r){let n=Object.create(cF);r&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let i=l=>{n.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(va(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Mg)}let c=()=>
1{if(n.fn===null)return;if(rF())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!al(n))return;n.hasRun=!0;let l=ga(n);try{n.cleanupFn(),n.cleanupFn=Mg,n.fn(i)}finally{sl(n,l)}};return n.ref={notify:()=>NE(n),run:c,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[Nt]:n},n.ref}var Mg=()=>{},cF=ve(T({},hs),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Mg});var zw="https://g.co/ng/security#xss",U=class extends Error{constructor(r,n){super(bf(r,n));a(this,"code");this.code=r}};function bf(t,e){let r="NG0".concat(Math.abs(t));return"".concat(r).concat(e?": "+e:"")}var yf=Symbol("InputSignalNode#UNSET"),Ww=ve(T({},Pg),{transformFn:void 0,applyValueToInputSignal(t,e){cl(t,e)}});function Gw(t,e){let r=Object.create(Ww);r.value=t,r.transformFn=e==null?void 0:e.transform;function n(){if(ol(r),r.value===yf)throw new U(-950,!1);return r.value}return n[Nt]=r,n}function xl(t){return{toString:t}.toString()}var Ad="__parameters__";function lF(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function fb(t,e,r){return xl(()=>{let n=lF(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return c.annotation=s,c;function c(l,u,d){let f=l.hasOwnProperty(Ad)?l[Ad]:Object.defineProperty(l,Ad,{value:[]})[Ad];for(;f.length<=d;)f.push(null);return(f[d]=f[d]||[]).push(s),l}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var St=globalThis;function Ve(t){for(let e in t)if(t[e]===Ve)return e;throw Error("Could not find renamed property on target object.")}function uF(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function sn(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(sn).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);let e=t.toString();if(e==null)return""+e;let r=e.indexOf("\n");return r===-1?e:e.substring(0,r)}function Kg(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var dF=Ve({__forward_ref__:Ve});function xt(t){return t.__forward_ref__=xt,t.toString=function(){return sn(this())},t}function Pt(t){return qw(t)?t():t}function qw(t){return typeof t=="function"&&t.hasOwnProperty(dF)&&t.__forward_ref__===xt}function y(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ie(t){return{providers:t.providers||[],imports:t.imports||[]}}function _f(t){return zE(t,Yw)||zE(t,Zw)}function Nle(t){return _f(t)!==null}function zE(t,e){return t.hasOwnProperty(e)?t[e]:null}function fF(t){let e=t&&(t[Yw]||t[Zw]);return e||null}function WE(t){return t&&(t.hasOwnProperty(GE)||t.hasOwnProperty(pF))?t[GE]:null}var Yw=Ve({\u0275prov:Ve}),GE=Ve({\u0275inj:Ve}),Zw=Ve({ngInjectableDef:Ve}),pF=Ve({ngInjectorDef:Ve}),b=class{constructor(e,r){a(this,"_desc");a(this,"ngMetadataName","InjectionToken");a(this,"\u0275prov");this._desc=e,this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=y({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return"InjectionToken ".concat(this._desc)}};function Kw(t){return t&&!!t.\u0275providers}var hF=Ve({\u0275cmp:Ve}),mF=Ve({\u0275dir:Ve}),pb=Ve({\u0275pipe:Ve}),gF=Ve({\u0275mod:Ve}),Hd=Ve({\u0275fac:Ve}),dl=Ve({__NG_ELEMENT_ID__:Ve}),qE=Ve({__NG_ENV_ID__:Ve});function gn(t){return typeof t=="string"?t:t==null?"":String(t)}function vF(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():gn(t)}function bF(t,e){let r=e?". Dependency path: ".concat(e.join(" > ")," > ").concat(t):"";throw new U(-200,t)}function hb(t,e){throw new U(-201,!1)}var De=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(De||{}),Xg;function Xw(){return Xg}function mn(t){let e=Xg;return Xg=t,e}function Qw(t,e,r){let n=_f(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&De.Optional)return null;if(e!==void 0)return e;hb(t,"Injector")}var yF={},pl=yF,Qg="__NG_DI_FLAG__",$d="ngTempTokenPath",_F="ngTokenPath",xF=/\n/gm,EF="\u0275",YE="__source",Ea;function wF(){return Ea}function lo(t){let e=Ea;return Ea=t,e}function DF(t,e=De.Default){if(Ea===void 0)throw new U(-203,!1);return Ea===null?Qw(t,void 0,e):Ea.get(t,e&De.Optional?null:void 0,e)}function E(t,e=De.Default){return(Xw()||DF)(Pt(t),e)}function p(t,e=De.Default){return E(t,xf(e))}function xf(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Jg(t){let e=[];for(let r=0;r<t.length;r++){let n=Pt(t[r]);if(Array.isArray(n)){if(n.length===0)throw new U(900,!1);let i,o=De.Default;for(let s=0;s<n.length;s++){let c=n[s],l=CF(c);typeof l=="number"?l===-1?i=c.token:o|=l:i=c}e.push(E(i,o))}else e.push(E(n))}return e}function mb(t,e){return t[Qg]=e,t.prototype[Qg]=e,t}function CF(t){return t[Qg]}function IF(t,e,r,n){let i=t[$d];throw e[YE]&&i.unshift(e[YE]),t.message=SF("\n"+t.message,i,r,n),t[_F]=i,t[$d]=null,t}function SF(t,e,r,n=null){t=t&&t.charAt(0)==="\n"&&t.charAt(1)==EF?t.slice(2):t;let i=sn(e);if(Array.isArray(e))i=e.map(sn).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let c=e[s];o.push(s+":"+(typeof c=="string"?JSON.stringify(c):sn(c)))}i="{".concat(o.join(", "),"}")}return"".concat(r).concat(n?"("+n+")":"","[").concat(i,"]: ").concat(t.replace(xF,"\n "))}var Ef=mb(fb("Inject",t=>({token:t})),-1),Fa=mb(fb("Optional"),8);var gb=mb(fb("SkipSelf"),4);function ys(t,e){let r=t.hasOwnProperty(Hd);return r?t[Hd]:null}function TF(t,e,r){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let i=t[n],o=e[n];if(r&&(i=r(i),o=r(o)),o!==i)return!1}return!0}function AF(t){return t.flat(Number.POSITIVE_INFINITY)}function vb(t,e){t.forEach(r=>Array.isArray(r)?vb(r,e):e(r))}function Jw(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function zd(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function MF(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function kF(t,e,r,n){let i=t.length;if(i==e)t.push(r,n);else if(i===1)t.push(n,t[0]),t[0]=r;
1else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function El(t,e,r){let n=wl(t,e);return n>=0?t[n|1]=r:(n=~n,kF(t,n,e,r)),n}function Fg(t,e){let r=wl(t,e);if(r>=0)return t[r|1]}function wl(t,e){return RF(t,e,1)}function RF(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<<r];if(e===s)return o<<r;s>e?i=o:n=o+1}return~(i<<r)}var Ii={},$t=[],_s=new b(""),eD=new b("",-1),tD=new b(""),Wd=class{get(e,r=pl){if(r===pl){let n=new Error("NullInjectorError: No provider for ".concat(sn(e),"!"));throw n.name="NullInjectorError",n}return r}};function nD(t,e){let r=t[gF]||null;if(!r&&e===!0)throw new Error("Type ".concat(sn(t)," does not have '\u0275mod' property."));return r}function Si(t){return t[hF]||null}function bb(t){return t[mF]||null}function rD(t){return t[pb]||null}function OF(t){let e=Si(t)||bb(t)||rD(t);return e!==null?e.standalone:!1}function ks(t){return{\u0275providers:t}}function NF(...t){return{\u0275providers:iD(!0,t),\u0275fromNgModule:!0}}function iD(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return vb(e,s=>{let c=s;ev(c,o,[],n)&&(i||(i=[]),i.push(c))}),i!==void 0&&oD(i,o),r}function oD(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:i}=t[r];yb(i,o=>{e(o,n)})}}function ev(t,e,r,n){if(t=Pt(t),!t)return!1;let i=null,o=WE(t),s=!o&&Si(t);if(!o&&!s){let l=t.ngModule;if(o=WE(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=t}let c=n.has(i);if(s){if(c)return!1;if(n.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of l)ev(u,e,r,n)}}else if(o){if(o.imports!=null&&!c){n.add(i);let u;try{vb(o.imports,d=>{ev(d,e,r,n)&&(u||(u=[]),u.push(d))})}finally{}u!==void 0&&oD(u,e)}if(!c){let u=ys(i)||(()=>new i);e({provide:i,useFactory:u,deps:$t},i),e({provide:tD,useValue:i,multi:!0},i),e({provide:_s,useValue:()=>E(i),multi:!0},i)}let l=o.providers;if(l!=null&&!c){let u=t;yb(l,d=>{e(d,u)})}}else return!1;return i!==t&&t.providers!==void 0}function yb(t,e){for(let r of t)Kw(r)&&(r=r.\u0275providers),Array.isArray(r)?yb(r,e):e(r)}var PF=Ve({provide:String,useValue:Ve});function sD(t){return t!==null&&typeof t=="object"&&PF in t}function FF(t){return!!(t&&t.useExisting)}function LF(t){return!!(t&&t.useFactory)}function Ia(t){return typeof t=="function"}function jF(t){return!!t.useClass}var wf=new b(""),Fd={},VF={},Lg;function Df(){return Lg===void 0&&(Lg=new Wd),Lg}var vn=class{},hl=class extends vn{constructor(r,n,i,o){super();a(this,"parent");a(this,"source");a(this,"scopes");a(this,"records",new Map);a(this,"_ngOnDestroyHooks",new Set);a(this,"_onDestroyHooks",[]);a(this,"_destroyed",!1);a(this,"injectorDefTypes");this.parent=n,this.source=i,this.scopes=o,nv(r,c=>this.processProvider(c)),this.records.set(eD,ba(void 0,this)),o.has("environment")&&this.records.set(vn,ba(void 0,this));let s=this.records.get(wf);s!=null&&typeof s.value=="string"&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(tD,$t,De.Self))}get destroyed(){return this._destroyed}destroy(){ll(this),this._destroyed=!0;let r=ye(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ye(r)}}onDestroy(r){return ll(this),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){ll(this);let n=lo(this),i=mn(void 0),o;try{return r()}finally{lo(n),mn(i)}}get(r,n=pl,i=De.Default){if(ll(this),r.hasOwnProperty(qE))return r[qE](this);i=xf(i);let o,s=lo(this),c=mn(void 0);try{if(!(i&De.SkipSelf)){let u=this.records.get(r);if(u===void 0){let d=zF(r)&&_f(r);d&&this.injectableDefInScope(d)?u=ba(tv(r),Fd):u=null,this.records.set(r,u)}if(u!=null)return this.hydrate(r,u)}let l=i&De.Self?Df():this.parent;return n=i&De.Optional&&n===pl?null:n,l.get(r,n)}catch(l){if(l.name==="NullInjectorError"){if((l[$d]=l[$d]||[]).unshift(sn(r)),s)throw l;return IF(l,r,"R3InjectorError",this.source)}else throw l}finally{mn(c),lo(s)}}resolveInjectorInitializers(){let r=ye(null),n=lo(this),i=mn(void 0),o;try{let s=this.get(_s,$t,De.Self);for(let c of s)c()}finally{lo(n),mn(i),ye(r)}}toString(){let r=[],n=this.records;for(let i of n.keys())r.push(sn(i));return"R3Injector[".concat(r.join(", "),"]")}processProvider(r){r=Pt(r);let n=Ia(r)?r:Pt(r&&r.provide),i=UF(r);if(!Ia(r)&&r.multi===!0){let o=this.records.get(n);o||(o=ba(void 0,Fd,!0),o.factory=()=>Jg(o.multi),this.records.set(n,o)),n=r,o.multi.push(r)}this.records.set(n,i)}hydrate(r,n){let i=ye(null);
1try{return n.value===Fd&&(n.value=VF,n.value=n.factory()),typeof n.value=="object"&&n.value&&$F(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{ye(i)}}injectableDefInScope(r){if(!r.providedIn)return!1;let n=Pt(r.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(r){let n=this._onDestroyHooks.indexOf(r);n!==-1&&this._onDestroyHooks.splice(n,1)}};function tv(t){let e=_f(t),r=e!==null?e.factory:ys(t);if(r!==null)return r;if(t instanceof b)throw new U(204,!1);if(t instanceof Function)return BF(t);throw new U(204,!1)}function BF(t){if(t.length>0)throw new U(204,!1);let r=fF(t);return r!==null?()=>r.factory(t):()=>new t}function UF(t){if(sD(t))return ba(void 0,t.useValue);{let e=aD(t);return ba(e,Fd)}}function aD(t,e,r){let n;if(Ia(t)){let i=Pt(t);return ys(i)||tv(i)}else if(sD(t))n=()=>Pt(t.useValue);else if(LF(t))n=()=>t.useFactory(...Jg(t.deps||[]));else if(FF(t))n=()=>E(Pt(t.useExisting));else{let i=Pt(t&&(t.useClass||t.provide));if(HF(t))n=()=>new i(...Jg(t.deps));else return ys(i)||tv(i)}return n}function ll(t){if(t.destroyed)throw new U(205,!1)}function ba(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function HF(t){return!!t.deps}function $F(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function zF(t){return typeof t=="function"||typeof t=="object"&&t instanceof b}function nv(t,e){for(let r of t)Array.isArray(r)?nv(r,e):r&&Kw(r)?nv(r.\u0275providers,e):e(r)}function Cf(t,e){t instanceof hl&&ll(t);let r,n=lo(t),i=mn(void 0);try{return e()}finally{lo(n),mn(i)}}function cD(){return Xw()!==void 0||wF()!=null}function Rs(t){if(!cD())throw new U(-203,!1)}function WF(t){return typeof t=="function"}var ti=0,re=1,X=2,Wt=3,Dr=4,_n=5,Sa=6,wa=7,yt=8,Ta=9,Ti=10,Ye=11,ml=12,ZE=13,La=14,bn=15,xs=16,ya=17,Cr=18,Dl=19,lD=20,uo=21,Da=22,Di=23,Nn=24,Ze=25,_b=1;var Es=7,Gd=8,Aa=9,zt=10,qd=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(qd||{});function Ci(t){return Array.isArray(t)&&typeof t[_b]=="object"}function Ri(t){return Array.isArray(t)&&t[_b]===!0}function xb(t){return(t.flags&4)!==0}function If(t){return t.componentOffset>-1}function Sf(t){return(t.flags&1)===1}function Ai(t){return!!t.template}function rv(t){return(t[X]&512)!==0}var iv=class{constructor(e,r,n){a(this,"previousValue");a(this,"currentValue");a(this,"firstChange");this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function uD(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}var it=(()=>{let t=()=>dD;return t.ngInherit=!0,t})();function dD(t){return t.type.prototype.ngOnChanges&&(t.setInput=qF),GF}function GF(){let t=pD(this),e=t==null?void 0:t.current;if(e){let r=t.previous;if(r===Ii)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function qF(t,e,r,n,i){let o=this.declaredInputs[n],s=pD(t)||YF(t,{previous:Ii,current:null}),c=s.current||(s.current={}),l=s.previous,u=l[o];c[o]=new iv(u&&u.currentValue,r,l===Ii),uD(t,e,i,r)}var fD="__ngSimpleChanges__";function pD(t){return t[fD]||null}function YF(t,e){return t[fD]=e}var KE=null;var Kr=function(t,e,r){KE!=null&&KE(t,e,r)},hD="svg",ZF="math";function Pn(t){for(;Array.isArray(t);)t=t[ti];return t}function KF(t){for(;Array.isArray(t);){if(typeof t[_b]=="object")return t;t=t[ti]}return null}function mD(t,e){return Pn(e[t])}function Qn(t,e){return Pn(e[t.index])}function Eb(t,e){return t.data[e]}function Cl(t,e){return t[e]}function Qr(t,e){let r=e[t];return Ci(r)?r:r[ti]}function XF(t){return(t[X]&4)===4}function wb(t){return(t[X]&128)===128}function QF(t){return Ri(t[Wt])}function fo(t,e){return e==null?null:t[e]}function gD(t){t[ya]=0}function Db(t){t[X]&1024||(t[X]|=1024,wb(t)&&Il(t))}function JF(t,e){for(;t>0;)e=e[La],t--;return e}function Tf(t){var e;return!!(t[X]&9216||(e=t[Nn])!=null&&e.dirty)}function ov(t){var e;(e=t[Ti].changeDetectionScheduler)==null||e.notify(9),t[X]&64&&(t[X]|=1024),Tf(t)&&Il(t)}function Il(t){var r;(r=t[Ti].changeDetectionScheduler)==null||r.notify(0);let e=ws(t);for(;e!==null&&!(e[X]&8192||(e[X]|=8192,!wb(e)));)e=ws(e)}function vD(t,e){if((t[X]&256)===256)throw new U(911,!1);t[uo]===null&&(t[uo]=[]),t[uo].push(e)}function eL(t,e){if(t[uo]===null)return;let r=t[uo].indexOf(e);r!==-1&&t[uo].splice(r,1)}function ws(t){let e=t[Wt];return Ri(e)?e[Wt]:e}var de={lFrame:CD(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var sv=!1;function tL(){return de.lFrame.elementDepthCount}function nL(){de.lFrame.elementDepthCount++}function rL(){de.lFrame.elementDepthCount--}function bD(){return de.bindingsEnabled}function yD(){return de.skipHydrationRootTNode!==null}function iL(t){return de.skipHydrationRootTNode===t}function oL(){de.skipHydrationRootTNode=null}function H(){return de.lFrame.lView}function Be(){return de.lFrame.tView}function Ee(t){return de.lFrame.contextLView=t,t[yt]}function we(t){return de.lFrame.contextLView=null,t}function Et(){let t=_D();for(;t!==null&&t.type===64;)t=t.parent;return t}function _D(){return de.lFrame.currentTNode}function sL(){let t=de.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function ho(t,e){let r=de.lFrame;r.currentTNode=t,r.isParent=e}function Cb(){return de.lFrame.isParent}function Ib(){de.lFrame.isParent=!1}function xD(){return de.lFrame.contextLView}function ED(){return sv}function Yd(t){let e=sv;return sv=t,e}function mo(){let t=de.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Sb(){return de.lFrame.bindingIndex}function aL(t){return de.lFrame.bindingIndex=t}function go(){return de.lFrame.bindingIndex++}function Sl(t){let e=de.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function cL(){return de.lFrame.inI18n}function lL(t,e){let r=de.lFrame;r.bindingIndex=r.bindingRootIndex=t,av(e)}function uL(){return de.lFrame.currentDirectiveIndex}function av(t){de.lFrame.currentDirectiveIndex=t}function Tb(t){let e=de.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Ab(){return de.lFrame.currentQueryIndex}function Af(t){de.lFrame.currentQueryIndex=t}function dL(t){let e=t[re];return e.type===2?e.declTNode:e.type===1?t[_n]:null}function wD(t,e,r){if(r&De.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&De.Host);)if(i=dL(o),i===null||(o=o[La],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=de.lFrame=DD();return n.currentTNode=e,n.lView=t,!0}function Mb(t){let e=DD(),r=t[re];de.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function DD(){let t=de.lFrame,e=t===null?null:t.child;return e===null?CD(t):e}function CD(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,
1selectedIndex:-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=e),e}function ID(){let t=de.lFrame;return de.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var SD=ID;function kb(){let t=ID();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 fL(t){return(de.lFrame.contextLView=JF(t,de.lFrame.contextLView))[yt]}function Jn(){return de.lFrame.selectedIndex}function Ds(t){de.lFrame.selectedIndex=t}function Tl(){let t=de.lFrame;return Eb(t.tView,t.selectedIndex)}function Mf(){de.lFrame.currentNamespace=hD}function TD(){pL()}function pL(){de.lFrame.currentNamespace=null}function hL(){return de.lFrame.currentNamespace}var AD=!0;function kf(){return AD}function Rf(t){AD=t}function mL(t,e,r){var s,c,l,u,d;let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let f=dD(e);((s=r.preOrderHooks)!=null?s:r.preOrderHooks=[]).push(t,f),((c=r.preOrderCheckHooks)!=null?c:r.preOrderCheckHooks=[]).push(t,f)}i&&((l=r.preOrderHooks)!=null?l:r.preOrderHooks=[]).push(0-t,i),o&&(((u=r.preOrderHooks)!=null?u:r.preOrderHooks=[]).push(t,o),((d=r.preOrderCheckHooks)!=null?d:r.preOrderCheckHooks=[]).push(t,o))}function Of(t,e){var r,n,i,o,s,c,l;for(let u=e.directiveStart,d=e.directiveEnd;u<d;u++){let h=t.data[u].type.prototype,{ngAfterContentInit:m,ngAfterContentChecked:g,ngAfterViewInit:_,ngAfterViewChecked:x,ngOnDestroy:S}=h;m&&((r=t.contentHooks)!=null?r:t.contentHooks=[]).push(-u,m),g&&(((n=t.contentHooks)!=null?n:t.contentHooks=[]).push(u,g),((i=t.contentCheckHooks)!=null?i:t.contentCheckHooks=[]).push(u,g)),_&&((o=t.viewHooks)!=null?o:t.viewHooks=[]).push(-u,_),x&&(((s=t.viewHooks)!=null?s:t.viewHooks=[]).push(u,x),((c=t.viewCheckHooks)!=null?c:t.viewCheckHooks=[]).push(u,x)),S!=null&&((l=t.destroyHooks)!=null?l:t.destroyHooks=[]).push(u,S)}}function Ld(t,e,r){MD(t,e,3,r)}function jd(t,e,r,n){(t[X]&3)===r&&MD(t,e,r,n)}function jg(t,e){let r=t[X];(r&3)===e&&(r&=16383,r+=1,t[X]=r)}function MD(t,e,r,n){let i=n!==void 0?t[ya]&65535:0,o=n!=null?n:-1,s=e.length-1,c=0;for(let l=i;l<s;l++)if(typeof e[l+1]=="number"){if(c=e[l],n!=null&&c>=n)break}else e[l]<0&&(t[ya]+=65536),(c<o||o==-1)&&(gL(t,r,e,l),t[ya]=(t[ya]&4294901760)+l+2),l++}function XE(t,e){Kr(4,t,e);let r=ye(null);try{e.call(t)}finally{ye(r),Kr(5,t,e)}}function gL(t,e,r,n){let i=r[n]<0,o=r[n+1],s=i?-r[n]:r[n],c=t[s];i?t[X]>>14<t[ya]>>16&&(t[X]&3)===e&&(t[X]+=16384,XE(c,o)):XE(c,o)}var Ca=-1,Cs=class{constructor(e,r,n){a(this,"factory");a(this,"injectImpl");a(this,"resolving",!1);a(this,"canSeeViewProviders");a(this,"multi");a(this,"componentProviders");a(this,"index");a(this,"providerFactory");this.factory=e,this.canSeeViewProviders=r,this.injectImpl=n}};function vL(t){return t instanceof Cs}function bL(t){return(t.flags&8)!==0}function yL(t){return(t.flags&16)!==0}function cv(t,e,r){let n=0;for(;n<r.length;){let i=r[n];if(typeof i=="number"){if(i!==0)break;n++;let o=r[n++],s=r[n++],c=r[n++];t.setAttribute(e,s,c,o)}else{let o=i,s=r[++n];_L(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),n++}}return n}function kD(t){return t===3||t===4||t===6}function _L(t){return t.charCodeAt(0)===64}function gl(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let r=-1;for(let n=0;n<e.length;n++){let i=e[n];typeof i=="number"?r=i:r===0||(r===-1||r===2?QE(t,r,i,null,e[++n]):QE(t,r,i,null,null))}}return t}function QE(t,e,r,n,i){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let c=t[o++];if(typeof c=="number"){if(c===e){s=-1;break}else if(c>e){s=o-1;break}}}for(;o<t.length;){let c=t[o];if(typeof c=="number")break;if(c===r){if(n===null){i!==null&&(t[o+1]=i);return}else if(n===t[o+1]){t[o+2]=i;return}}o++,n!==null&&o++,i!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,r),n!==null&&t.splice(o++,0,n),i!==null&&t.splice(o++,0,i)}var Vg={},lv=class{constructor(e,r){a(this,"injector");a(this,"parentInjector");this.injector=e,this.parentInjector=r}get(e,r,n){n=xf(n);let i=this.injector.get(e,Vg,n);return i!==Vg||r===Vg?i:this.parentInjector.get(e,r,n)}};function RD(t){return t!==Ca}function Zd(t){return t&32767}function xL(t){return t>>16}function Kd(t,e){let r=xL(t),n=e;for(;r>0;)n=n[La],r--;return n}var uv=!0;function Xd(t){let e=uv;return uv=t,e}var EL=256,OD=EL-1,ND=5,wL=0,Xr={};function DL(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(dl)&&(n=r[dl]),n==null&&(n=r[dl]=wL++);let i=n&OD,o=1<<i;e.data[t+(i>>ND)]|=o}function Qd(t,e){let r=PD(t,e);if(r!==-1)return r;let n=e[re];n.firstCreatePass&&(t.injectorIndex=e.length,Bg(n.data,t),Bg(e,null),Bg(n.blueprint,null));let i=Rb(t,e),o=t.injectorIndex;if(RD(i)){let s=Zd(i),c=Kd(i,e),l=c[re].data;for(let u=0;u<8;u++)e[o+u]=c[s+u]|l[s+u]}return e[o+8]=i,o}function Bg(t,e){t.push(0,0,0,0,0,0,0,0,e)}function PD(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Rb(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=BD(i),n===null)return Ca;if(r++,i=i[La],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Ca}function dv(t,e,r){DL(t,e,r)}function CL(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i<n;){let o=r[i];if(kD(o))break;if(o===0)i=i+2;else if(typeof o=="number")for(i++;i<n&&typeof r[i]=="string";)i++;else{if(o===e)return r[i+1];i=i+2}}}return null}function FD(t,e,r){if(r&De.Optional||t!==void 0)return t;hb(e,"NodeInjector")}function LD(t,e,r,n){if(r&De.Optional&&n===void 0&&(n=null),!(r&(De.Self|De.Host))){let i=t[Ta],o=mn(void 0);try{return i?i.get(e,n,r&De.Optional):Qw(e,n,r&De.Optional)}finally{mn(o)}}return FD(n,e,r)}function jD(t,e,r,n=De.Default,i){if(t!==null){if(e[X]&2048&&!(n&De.Self)){let s=AL(t,e,r,n,Xr);if(s!==Xr)return s}let o=VD(t,e,r,n,Xr);if(o!==Xr)return o}return LD(e,r,n,i)}function VD(t,e,r,n,i){let o=SL(r);
1if(typeof o=="function"){if(!wD(e,t,n))return n&De.Host?FD(i,r,n):LD(e,r,n,i);try{let s;if(s=o(n),s==null&&!(n&De.Optional))hb(r);else return s}finally{SD()}}else if(typeof o=="number"){let s=null,c=PD(t,e),l=Ca,u=n&De.Host?e[bn][_n]:null;for((c===-1||n&De.SkipSelf)&&(l=c===-1?Rb(t,e):e[c+8],l===Ca||!ew(n,!1)?c=-1:(s=e[re],c=Zd(l),e=Kd(l,e)));c!==-1;){let d=e[re];if(JE(o,c,d.data)){let f=IL(c,e,r,s,n,u);if(f!==Xr)return f}l=e[c+8],l!==Ca&&ew(n,e[re].data[c+8]===u)&&JE(o,c,e)?(s=d,c=Zd(l),e=Kd(l,e)):c=-1}}return i}function IL(t,e,r,n,i,o){let s=e[re],c=s.data[t+8],l=n==null?If(c)&&uv:n!=s&&(c.type&3)!==0,u=i&De.Host&&o===c,d=Vd(c,s,r,l,u);return d!==null?Is(e,s,d,c):Xr}function Vd(t,e,r,n,i){let o=t.providerIndexes,s=e.data,c=o&1048575,l=t.directiveStart,u=t.directiveEnd,d=o>>20,f=n?c:c+d,h=i?c+d:u;for(let m=f;m<h;m++){let g=s[m];if(m<l&&r===g||m>=l&&g.type===r)return m}if(i){let m=s[l];if(m&&Ai(m)&&m.type===r)return l}return null}function Is(t,e,r,n){let i=t[r],o=e.data;if(vL(i)){let s=i;s.resolving&&bF(vF(o[r]));let c=Xd(s.canSeeViewProviders);s.resolving=!0;let l,u=s.injectImpl?mn(s.injectImpl):null,d=wD(t,n,De.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&mL(r,o[r],e)}finally{u!==null&&mn(u),Xd(c),s.resolving=!1,SD()}}return i}function SL(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(dl)?t[dl]:void 0;return typeof e=="number"?e>=0?e&OD:TL:e}function JE(t,e,r){let n=1<<t;return!!(r[e+(t>>ND)]&n)}function ew(t,e){return!(t&De.Self)&&!(t&De.Host&&e)}var vs=class{constructor(e,r){a(this,"_tNode");a(this,"_lView");this._tNode=e,this._lView=r}get(e,r,n){return jD(this._tNode,this._lView,e,xf(n),r)}};function TL(){return new vs(Et(),H())}function Oe(t){return xl(()=>{let e=t.prototype.constructor,r=e[Hd]||fv(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[Hd]||fv(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function fv(t){return qw(t)?()=>{let e=fv(Pt(t));return e&&e()}:ys(t)}function AL(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[X]&2048&&!(s[X]&512);
1){let c=VD(o,s,r,n|De.Self,Xr);if(c!==Xr)return c;let l=o.parent;if(!l){let u=s[lD];if(u){let d=u.get(r,Xr,n);if(d!==Xr)return d}l=BD(s),s=s[La]}o=l}return i}function BD(t){let e=t[re],r=e.type;return r===2?e.declTNode:r===1?t[_n]:null}function Nf(t){return CL(Et(),t)}function tw(t,e=null,r=null,n){let i=UD(t,e,r,n);return i.resolveInjectorInitializers(),i}function UD(t,e=null,r=null,n,i=new Set){let o=[r||$t,NF(t)];return n=n||(typeof t=="object"?void 0:sn(t)),new hl(o,e||Df(),n||null,i)}var gs=class gs{static create(e,r){var n;if(Array.isArray(e))return tw({name:""},r,e,"");{let i=(n=e.name)!=null?n:"";return tw({name:i},e.parent,e.providers,i)}}};a(gs,"THROW_IF_NOT_FOUND",pl),a(gs,"NULL",new Wd),a(gs,"\u0275prov",y({token:gs,providedIn:"any",factory:()=>E(eD)})),a(gs,"__NG_ELEMENT_ID__",-1);var fe=gs;var Ma=class{constructor(e){a(this,"attributeName");a(this,"__NG_ELEMENT_ID__",()=>Nf(this.attributeName));this.attributeName=e}toString(){return"HostAttributeToken ".concat(this.attributeName)}},ML=new b("");ML.__NG_ELEMENT_ID__=t=>{let e=Et();if(e===null)throw new U(204,!1);if(e.type&2)return e.value;if(t&De.Optional)return null;throw new U(204,!1)};var HD=!1,ni=(()=>{class t{}return a(t,"__NG_ELEMENT_ID__",kL),a(t,"__NG_ENV_ID__",r=>r),t})(),Jd=class extends ni{constructor(r){super();a(this,"_lView");this._lView=r}onDestroy(r){return vD(this._lView,r),()=>eL(this._lView,r)}};function kL(){return new Jd(H())}var Ss=class{},Ob=new b("",{providedIn:"root",factory:()=>!1});var $D=new b(""),zD=new b(""),vo=(()=>{let e=class e{constructor(){a(this,"taskId",0);a(this,"pendingTasks",new Set);a(this,"hasPendingTasks",new qe(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};a(e,"\u0275prov",y({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})();var pv=class extends A{constructor(r=!1){var n,i;super();a(this,"__isAsync");a(this,"destroyRef");a(this,"pendingTasks");this.__isAsync=r,cD()&&(this.destroyRef=(n=p(ni,{optional:!0}))!=null?n:void 0,this.pendingTasks=(i=p(vo,{optional:!0}))!=null?i:void 0)}emit(r){let n=ye(null);try{super.next(r)}finally{ye(n)}}subscribe(r,n,i){var u,d,f;let o=r,s=n||(()=>null),c=i;if(r&&typeof r=="object"){let h=r;o=(u=h.next)==null?void 0:u.bind(h),s=(d=h.error)==null?void 0:d.bind(h),c=(f=h.complete)==null?void 0:f.bind(h)}this.__isAsync&&(s=this.wrapInTimeout(s),o&&(o=this.wrapInTimeout(o)),c&&(c=this.wrapInTimeout(c)));let l=super.subscribe({next:o,error:s,complete:c});return r instanceof ce&&r.add(l),l}wrapInTimeout(r){return n=>{var o;let i=(o=this.pendingTasks)==null?void 0:o.add();setTimeout(()=>{var s;r(n),i!==void 0&&((s=this.pendingTasks)==null||s.remove(i))})}}},Q=pv;function vl(...t){}function WD(t){let e,r;function n(){t=vl;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{t(),n()})),()=>n()}function nw(t){return queueMicrotask(()=>t()),()=>{t=vl}}var Nb="isAngularZone",ef=Nb+"_ID",RL=0,F=class t{constructor(e){a(this,"hasPendingMacrotasks",!1);a(this,"hasPendingMicrotasks",!1);a(this,"isStable",!0);a(this,"onUnstable",new Q(!1));a(this,"onMicrotaskEmpty",new Q(!1));a(this,"onStable",new Q(!1));a(this,"onError",new Q(!1));let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=HD}=e;if(typeof Zone>"u")throw new U(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,PL(s)}
1static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Nb)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new U(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new U(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,OL,vl,vl);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},OL={};function Pb(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 NL(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){WD(()=>{t.callbackScheduled=!1,hv(t),t.isCheckStableRunning=!0,Pb(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),hv(t)}function PL(t){let e=()=>{NL(t)},r=RL++;t._inner=t._inner.fork({name:"angular",properties:{[Nb]:!0,[ef]:r,[ef+r]:!0},onInvokeTask:(n,i,o,s,c,l)=>{if(FL(l))return n.invokeTask(o,s,c,l);try{return rw(t),n.invokeTask(o,s,c,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),iw(t)}},onInvoke:(n,i,o,s,c,l,u)=>{try{return rw(t),n.invoke(o,s,c,l,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!LL(l)&&e(),iw(t)}},onHasTask:(n,i,o,s)=>{n.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,hv(t),Pb(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,o,s)=>(n.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function hv(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function rw(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function iw(t){t._nesting--,Pb(t)}var mv=class{constructor(){a(this,"hasPendingMicrotasks",!1);a(this,"hasPendingMacrotasks",!1);a(this,"isStable",!0);a(this,"onUnstable",new Q);a(this,"onMicrotaskEmpty",new Q);a(this,"onStable",new Q);a(this,"onError",new Q)}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}};function FL(t){return GD(t,"__ignore_ng_zone__")}function LL(t){return GD(t,"__scheduler_tick__")}function GD(t,e){var r,n;return!Array.isArray(t)||t.length!==1?!1:((n=(r=t[0])==null?void 0:r.data)==null?void 0:n[e])===!0}var _t=class{constructor(){a(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},jL=new b("",{providedIn:"root",factory:()=>{let t=p(F),e=p(_t);return r=>t.runOutsideAngular(()=>e.handleError(r))}}),tf=class{constructor(){a(this,"destroyed",!1);a(this,"listeners",null);a(this,"errorHandler",p(_t,{optional:!0}));a(this,"destroyRef",p(ni));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){var r;if(this.destroyed)throw new U(953,!1);return((r=this.listeners)!=null?r:this.listeners=[]).push(e),{unsubscribe:()=>{var i,o;let n=(i=this.listeners)==null?void 0:i.indexOf(e);n!==void 0&&n!==-1&&((o=this.listeners)==null||o.splice(n,1))}}}emit(e){var n;if(this.destroyed)throw new U(953,!1);if(this.listeners===null)return;let r=ye(null);try{for(let i of this.listeners)try{i(e)}catch(o){(n=this.errorHandler)==null||n.handleError(o)}}finally{ye(r)}}};function qD(t){return t.destroyRef}function Al(t){return new tf}function ow(t,e){return Gw(t,e)}function VL(t){return Gw(yf,t)}var Gt=(ow.required=VL,ow);function BL(){return ja(Et(),H())}function ja(t,e){return new P(Qn(t,e))}var P=(()=>{class t{constructor(r){a(this,"nativeElement");this.nativeElement=r}}return a(t,"__NG_ELEMENT_ID__",BL),t})();function YD(t){return t instanceof P?t.nativeElement:t}function UL(){return this._results[Symbol.iterator]()}var Hw;Hw=Symbol.iterator;var Mi=class{constructor(e=!1){a(this,"_emitDistinctChangesOnly");a(this,"dirty",!0);a(this,"_onDirty");a(this,"_results",[]);a(this,"_changesDetected",!1);a(this,"_changes");a(this,"length",0);a(this,"first");a(this,"last");a(this,Hw,UL);this._emitDistinctChangesOnly=e}get changes(){var e;return(e=this._changes)!=null?e:this._changes=new A}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}
1forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=AF(e);(this._changesDetected=!TF(this._results,n,r))&&(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(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function ZD(t){return(t.flags&128)===128}var KD=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(KD||{}),Fb=new Map,HL=0;function $L(){return HL++}function zL(t){Fb.set(t[Dl],t)}function XD(t){return Fb.get(t)||null}function gv(t){Fb.delete(t[Dl])}var vv=class{constructor(e,r,n){a(this,"lViewId");a(this,"nodeIndex");a(this,"native");a(this,"component");a(this,"directives");a(this,"localRefs");this.lViewId=e,this.nodeIndex=r,this.native=n}get lView(){return XD(this.lViewId)}};function QD(t){let e=Ug(t);if(e){if(Ci(e)){let r=e,n,i,o;if(JD(t)){if(n=qL(r,t),n==-1)throw new Error("The provided component was not found in the application");i=t}else if(WL(t)){if(n=YL(r,t),n==-1)throw new Error("The provided directive was not found in the application");o=ZL(n,r)}else if(n=aw(r,t),n==-1)return null;let s=Pn(r[n]),c=Ug(s),l=c&&!Array.isArray(c)?c:sw(r,n,s);if(i&&l.component===void 0&&(l.component=i,Kn(l.component,l)),o&&l.directives===void 0){l.directives=o;for(let u=0;u<o.length;u++)Kn(o[u],l)}Kn(l.native,l),e=l}}else{let r=t,n=r;for(;n=n.parentNode;){let i=Ug(n);if(i){let o=Array.isArray(i)?i:i.lView;if(!o)return null;let s=aw(o,r);if(s>=0){let c=Pn(o[s]),l=sw(o,s,c);Kn(c,l),e=l;break}}}}return e||null}function sw(t,e,r){return new vv(t[Dl],e,r)}var bv="__ngContext__";function Kn(t,e){Ci(e)?(t[bv]=e[Dl],zL(e)):t[bv]=e}function Ug(t){let e=t[bv];return typeof e=="number"?XD(e):e||null}function JD(t){return t&&t.constructor&&t.constructor.\u0275cmp}function WL(t){return t&&t.constructor&&t.constructor.\u0275dir}function aw(t,e){let r=t[re];for(let n=Ze;n<r.bindingStartIndex;n++)if(Pn(t[n])===e)return n;return-1}function GL(t){if(t.child)return t.child;if(t.next)return t.next;for(;t.parent&&!t.parent.next;)t=t.parent;return t.parent&&t.parent.next}function qL(t,e){let r=t[re].components;if(r)for(let n=0;n<r.length;n++){let i=r[n];if(Qr(i,t)[yt]===e)return i}else if(Qr(Ze,t)[yt]===e)return Ze;return-1}function YL(t,e){let r=t[re].firstChild;for(;r;){let n=r.directiveStart,i=r.directiveEnd;for(let o=n;o<i;o++)if(t[o]===e)return r.index;r=GL(r)}return-1}function ZL(t,e){let r=e[re].data[t];if(r.directiveStart===0)return $t;let n=[];for(let i=r.directiveStart;i<r.directiveEnd;i++){let o=e[i];JD(o)||n.push(o)}return n}function eC(t){return nC(t[ml])}function tC(t){return nC(t[Dr])}function nC(t){for(;t!==null&&!Ri(t);)t=t[Dr];return t}var yv;function rC(t){yv=t}function iC(){if(yv!==void 0)return yv;if(typeof document<"u")return document;throw new U(210,!1)}var Va=new b("",{providedIn:"root",factory:()=>KL}
1),KL="ng",Lb=new b(""),xn=new b("",{providedIn:"platform",factory:()=>"unknown"});var qt=new b(""),Ml=new b("",{providedIn:"root",factory:()=>{var t,e;return((e=(t=iC().body)==null?void 0:t.querySelector("[ngCspNonce]"))==null?void 0:e.getAttribute("ngCspNonce"))||null}});var XL="h",QL="b";var oC=!1,JL=new b("",{providedIn:"root",factory:()=>oC});var jb=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(jb||{}),Pf=new b(""),cw=new Set;function er(t){var e;cw.has(t)||(cw.add(t),(e=performance==null?void 0:performance.mark)==null||e.call(performance,"mark_feature_usage",{detail:{feature:t}}))}var _a=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(_a||{}),sC=(()=>{let e=class e{constructor(){a(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};a(e,"\u0275prov",y({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})(),ej=[_a.EarlyRead,_a.Write,_a.MixedReadWrite,_a.Read],tj=(()=>{let e=class e{constructor(){a(this,"ngZone",p(F));a(this,"scheduler",p(Ss));a(this,"errorHandler",p(_t,{optional:!0}));a(this,"sequences",new Set);a(this,"deferredRegistrations",new Set);a(this,"executing",!1);p(Pf,{optional:!0})}execute(){var n;this.executing=!0;for(let i of ej)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[i]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>o.hooks[i](o.pipelinedValue),o.snapshot))}catch(s){o.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(s)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,i){var o;return(o=i==null?void 0:i.run(jb.AFTER_NEXT_RENDER,n))!=null?o:n()}};a(e,"\u0275prov",y({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})(),_v=class{constructor(e,r,n,i,o=null){a(this,"impl");a(this,"hooks");a(this,"once");a(this,"snapshot");a(this,"erroredOrDestroyed",!1);a(this,"pipelinedValue");a(this,"unregisterOnDestroy");this.impl=e,this.hooks=r,this.once=n,this.snapshot=o,this.unregisterOnDestroy=i==null?void 0:i.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var e;this.impl.unregister(this),(e=this.unregisterOnDestroy)==null||e.call(this)}};function Vb(t,e){var n;!(e!=null&&e.injector)&&Rs(Vb);let r=(n=e==null?void 0:e.injector)!=null?n:p(fe);return er("NgAfterRender"),aC(t,r,e,!1)}function Fn(t,e){var n;!(e!=null&&e.injector)&&Rs(Fn);let r=(n=e==null?void 0:e.injector)!=null?n:p(fe);return er("NgAfterNextRender"),aC(t,r,e,!0)}function nj(t,e){if(t instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[e]=t,r}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function aC(t,e,r,n){var u,d;let i=e.get(sC);(u=i.impl)!=null||(i.impl=e.get(tj));let o=e.get(Pf,null,{optional:!0}),s=(d=r==null?void 0:r.phase)!=null?d:_a.MixedReadWrite,c=(r==null?void 0:r.manualCleanup)!==!0?e.get(ni):null,l=new _v(i.impl,nj(t,s),n,c,o==null?void 0:o.snapshot(null));return i.impl.register(l),l}var rj=()=>null;function Bb(t,e,r=!1){return rj(t,e,r)}var Jr=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Jr||{}),Md;function ij(){if(Md===void 0&&(Md=null,St.trustedTypes))try{Md=St.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Md}function Ff(t){var e;return((e=ij())==null?void 0:e.createHTML(t))||t}var kd;function cC(){if(kd===void 0&&(kd=null,St.trustedTypes))try{kd=St.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return kd}function lw(t){var e;return((e=cC())==null?void 0:e.createHTML(t))||t}function uw(t){var e;return((e=cC())==null?void 0:e.createScriptURL(t))||t}var ki=class{constructor(e){a(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(zw,")")}},xv=class extends ki{getTypeName(){return"HTML"}},Ev=class extends ki{getTypeName(){return"Style"}}
1,wv=class extends ki{getTypeName(){return"Script"}},Dv=class extends ki{getTypeName(){return"URL"}},Cv=class extends ki{getTypeName(){return"ResourceURL"}};function Ln(t){return t instanceof ki?t.changingThisBreaksApplicationSecurity:t}function Oi(t,e){let r=oj(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error("Required a safe ".concat(e,", got a ").concat(r," (see ").concat(zw,")"))}return r===e}function oj(t){return t instanceof ki&&t.getTypeName()||null}function lC(t){return new xv(t)}function uC(t){return new Ev(t)}function dC(t){return new wv(t)}function fC(t){return new Dv(t)}function pC(t){return new Cv(t)}function sj(t){let e=new Sv(t);return aj()?new Iv(e):e}var Iv=class{constructor(e){a(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var r;e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Ff(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((r=n.firstChild)==null||r.remove(),n)}catch{return null}}},Sv=class{constructor(e){a(this,"defaultDoc");a(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=Ff(e),r}};function aj(){try{return!!new window.DOMParser().parseFromString(Ff(""),"text/html")}catch{return!1}}var cj=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Lf(t){return t=String(t),t.match(cj)?t:"unsafe:"+t}function Ni(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function kl(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var hC=Ni("area,br,col,hr,img,wbr"),mC=Ni("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gC=Ni("rp,rt"),lj=kl(gC,mC),uj=kl(mC,Ni("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")),dj=kl(gC,Ni("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")),dw=kl(hC,uj,dj,lj),vC=Ni("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fj=Ni("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"),pj=Ni("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"),hj=kl(vC,fj,pj),mj=Ni("script,style,template"),Tv=class{constructor(){a(this,"sanitizedSomething",!1);a(this,"buf",[])}sanitizeChildren(e){let r=e.firstChild,n=!0,i=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){i.push(r),r=bj(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=vj(r);if(o){r=o;break}r=i.pop()}}return this.buf.join("")}startElement(e){let r=fw(e).toLowerCase();if(!dw.hasOwnProperty(r))return this.sanitizedSomething=!0,!mj.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i<n.length;i++){let o=n.item(i),s=o.name,c=s.toLowerCase();if(!hj.hasOwnProperty(c)){this.sanitizedSomething=!0;continue}let l=o.value;vC[c]&&(l=Lf(l)),this.buf.push(" ",s,'="',pw(l),'"')}return this.buf.push(">"),!0}endElement(e){let r=fw(e).toLowerCase();dw.hasOwnProperty(r)&&!hC.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(pw(e))}};function gj(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function vj(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw bC(e);return e}function bj(t){let e=t.firstChild;if(e&&gj(t,e))throw bC(e);return e}function fw(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function bC(t){return new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML))}var yj=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_j=/([^\#-~ |!])/g;function pw(t){return t.replace(/&/g,"&").replace(yj,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(_j,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Rd;function Ub(t,e){let r=null;try{Rd=Rd||sj(t);let n=e?String(e):"";r=Rd.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=Rd.getInertBodyElement(n)}while(n!==o);let c=new Tv().sanitizeChildren(hw(r)||r);return Ff(c)}finally{if(r){let n=hw(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function hw(t){return"content"in t&&xj(t)?t.content:null}function xj(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ft=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}(Ft||{});function jn(t){let e=Hb();return e?lw(e.sanitize(Ft.HTML,t)||""):Oi(t,"HTML")?lw(Ln(t)):Ub(iC(),gn(t))}function Ej(t){let e=Hb();return e?e.sanitize(Ft.URL,t)||"":Oi(t,"URL")?Ln(t):Lf(gn(t))}function wj(t){let e=Hb();if(e)return uw(e.sanitize(Ft.RESOURCE_URL,t)||"");if(Oi(t,"ResourceURL"))return uw(Ln(t));throw new U(904,!1)}function Dj(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?wj:Ej}function Ple(t,e,r){return Dj(e,r)(t)}function Hb(){let t=H();return t&&t[Ti].sanitizer}var Cj=/^>|^->|<!--|-->|--!>|<!-$/g,Ij=/(<|>)/g,Sj="\u200B$1\u200B";function Tj(t){return t.replace(Cj,e=>e.replace(Ij,Sj))}function Fle(t){return t.ownerDocument.defaultView}function Lle(t){return t.ownerDocument}function jle(t){return t.ownerDocument.body}function yC(t){return t instanceof Function?t():t}var po=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(po||{}),ei=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ei||{}),Aj;function $b(t,e){return Aj(t,e)}function xa(t,e,r,n,i){if(n!=null){let o,s=!1;Ri(n)?o=n:Ci(n)&&(s=!0,n=n[ti]);let c=Pn(n);t===0&&r!==null?i==null?DC(e,r,c):nf(e,r,c,i||null,!0):t===1&&r!==null?nf(e,r,c,i||null,!0):t===2?$j(e,c,s):t===3&&e.destroyNode(c),o!=null&&Wj(e,t,o,r,i)}}function Mj(t,e){return t.createText(e)}function kj(t,e,r){t.setValue(e,r)}function Rj(t,e){return t.createComment(Tj(e))}function _C(t,e,r){return t.createElement(e,r)}function Oj(t,e){xC(t,e),e[ti]=null,e[_n]=null}function Nj(t,e,r,n,i,o){n[ti]=i,n[_n]=e,Bf(t,n,r,1,i,o)}function xC(t,e){var r;(r=e[Ti].changeDetectionScheduler)==null||r.notify(10),Bf(t,e,e[Ye],2,null,null)}function Pj(t){let e=t[ml];if(!e)return Hg(t[re],t);for(;e;){let r=null;if(Ci(e))r=e[ml];else{let n=e[zt];n&&(r=n)}if(!r){for(;e&&!e[Dr]&&e!==t;)Ci(e)&&Hg(e[re],e),e=e[Wt];e===null&&(e=t),Ci(e)&&Hg(e[re],e),r=e&&e[Dr]}e=r}}function Fj(t,e,r,n){let i=zt+n,o=r.length;n>0&&(r[i-1][Dr]=e),n<o-zt?(e[Dr]=r[i],Jw(r,zt+n,e)):(r.push(e),e[Dr]=null),e[Wt]=r;let s=e[xs];s!==null&&r!==s&&EC(s,e);let c=e[Cr];c!==null&&c.insertView(t),ov(e),e[X]|=128}function EC(t,e){let r=t[Aa],n=e[Wt];if(Ci(n))t[X]|=qd.HasTransplantedViews;else{let i=n[Wt][bn];e[bn]!==i&&(t[X]|=qd.HasTransplantedViews)}r===null?t[Aa]=[e]:r.push(e)}function zb(t,e){let r=t[Aa],n=r.indexOf(e);r.splice(n,1)}function bl(t,e){if(t.length<=zt)return;let r=zt+e,n=t[r];if(n){let i=n[xs];i!==null&&i!==t&&zb(i,n),e>0&&(t[r-1][Dr]=n[Dr]);let o=zd(t,zt+e);Oj(n[re],n);let s=o[Cr];s!==null&&s.detachView(o[re]),n[Wt]=null,n[Dr]=null,n[X]&=-129}return n}function jf(t,e){if(!(e[X]&256)){let r=e[Ye];r.destroyNode&&Bf(t,e,r,3,null,null),Pj(e)}}function Hg(t,e){if(e[X]&256)return;let r=ye(null);try{e[X]&=-129,e[X]|=256,e[Nn]&&va(e[Nn]),jj(t,e),Lj(t,e),e[re].type===1&&e[Ye].destroy();let n=e[xs];if(n!==null&&Ri(e[Wt])){n!==e[Wt]&&zb(n,e);let i=e[Cr];i!==null&&i.detachView(t)}gv(e)}finally{ye(r)}}function Lj(t,e){let r=t.cleanup,n=e[wa];if(r!==null)for(let s=0;s<r.length-1;s+=2)if(typeof r[s]=="string"){let c=r[s+3];c>=0?n[c]():n[-c].unsubscribe(),s+=2}else{let c=n[r[s+1]];r[s].call(c)}n!==null&&(e[wa]=null);let i=e[uo];if(i!==null){e[uo]=null;for(let s=0;s<i.length;s++){let c=i[s];c()}}let o=e[Di];if(o!==null){e[Di]=null;for(let s of o)s.destroy()}}function jj(t,e){let r;if(t!=null&&(r=t.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let i=e[r[n]];if(!(i instanceof Cs)){let o=r[n+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let c=i[o[s]],l=o[s+1];Kr(4,c,l);try{l.call(c)}finally{Kr(5,c,l)}}else{Kr(4,i,o);try{o.call(i)}finally{Kr(5,i,o)}}}}}function wC(t,e,r){return Vj(t,e.parent,r)}function Vj(t,e,r){let n=e;for(;n!==null&&n.type&168;)e=n,n=e.parent;if(n===null)return r[ti];
vendor: 4,235 bytes, line 1
1{let{componentOffset:i}=n;if(i>-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Jr.None||o===Jr.Emulated)return null}return Qn(n,r)}}function nf(t,e,r,n,i){t.insertBefore(e,r,n,i)}function DC(t,e,r){t.appendChild(e,r)}function mw(t,e,r,n,i){n!==null?nf(t,e,r,n,i):DC(t,e,r)}function CC(t,e){return t.parentNode(e)}function Bj(t,e){return t.nextSibling(e)}function IC(t,e,r){return Hj(t,e,r)}function Uj(t,e,r){return t.type&40?Qn(t,r):null}var Hj=Uj,gw;function Vf(t,e,r,n){let i=wC(t,n,e),o=e[Ye],s=n.parent||e[_n],c=IC(s,n,e);if(i!=null)if(Array.isArray(r))for(let l=0;l<r.length;l++)mw(o,i,r[l],c,!1);else mw(o,i,r,c,!1);gw!==void 0&&gw(o,n,e,r,i)}function ul(t,e){if(e!==null){let r=e.type;if(r&3)return Qn(e,t);if(r&4)return Av(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return ul(t,n);{let i=t[e.index];return Ri(i)?Av(-1,i):Pn(i)}}else{if(r&128)return ul(t,e.next);if(r&32)return $b(e,t)()||Pn(t[e.index]);{let n=SC(t,e);if(n!==null){if(Array.isArray(n))return n[0];let i=ws(t[bn]);return ul(i,n)}else return ul(t,e.next)}}}return null}function SC(t,e){if(e!==null){let n=t[bn][_n],i=e.projection;return n.projection[i]}return null}function Av(t,e){let r=zt+t+1;if(r<e.length){let n=e[r],i=n[re].firstChild;if(i!==null)return ul(n,i)}return e[Es]}function $j(t,e,r){t.removeChild(null,e,r)}function Wb(t,e,r,n,i,o,s){for(;r!=null;){if(r.type===128){r=r.next;continue}let c=n[r.index],l=r.type;if(s&&e===0&&(c&&Kn(Pn(c),n),r.flags|=2),(r.flags&32)!==32)if(l&8)Wb(t,e,r.child,n,i,o,!1),xa(e,t,i,c,o);else if(l&32){let u=$b(r,n),d;for(;d=u();)xa(e,t,i,d,o);xa(e,t,i,c,o)}else l&16?TC(t,e,n,r,i,o):xa(e,t,i,c,o);r=s?r.projectionNext:r.next}}function Bf(t,e,r,n,i,o){Wb(r,n,t.firstChild,e,i,o,!1)}function zj(t,e,r){let n=e[Ye],i=wC(t,r,e),o=r.parent||e[_n],s=IC(o,r,e);TC(n,0,e,r,i,s)}function TC(t,e,r,n,i,o){let s=r[bn],l=s[_n].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let d=l[u];xa(e,t,i,d,o)}else{let u=l,d=s[Wt];ZD(n)&&(u.flags|=128),Wb(t,e,u,d,i,o,!0)}}function Wj(t,e,r,n,i){let o=r[Es],s=Pn(r);o!==s&&xa(e,t,n,o,i);for(let c=zt;c<r.length;c++){let l=r[c];Bf(l[re],l,t,e,n,o)}}function Gj(t,e,r,n,i){if(e)i?t.addClass(r,n):t.removeClass(r,n);else{let o=n.indexOf("-")===-1?void 0:ei.DashCase;i==null?t.removeStyle(r,n,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=ei.Important),t.setStyle(r,n,i,o))}}function qj(t,e,r){t.setAttribute(e,"style",r)}function AC(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function MC(t,e,r){let{mergedAttrs:n,classes:i,styles:o}=r;n!==null&&cv(t,e,n),i!==null&&AC(t,e,i),o!==null&&qj(t,e,o)}function Yj(t,e,r){let n=t.length;for(;;){let i=t.indexOf(e,r);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===n||t.charCodeAt(i+o)<=32)return i}r=i+1}}var kC="ng-template";function Zj(t,e,r,n){let i=0;if(n){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&Yj(e[i+1].toLowerCase(),r,0)!==-1)return!0}else if(Gb(t))return!1;if(i=e.indexOf(1,i),i>-1){let o;for(;++i<e.length&&typeof(o=e[i])=="string";)if(o.toLowerCase()===r)return!0}return!1}function Gb(t){return t.type===4&&t.value!==kC}function Kj(t,e,r){let n=t.type===4&&!r?kC:t.value;return e===n}function Xj(t,e,r){let n=4,i=t.attrs,o=i!==null?eV(i):0,s=!1;for(let c=0;c<e.length;c++){let l=e[c];if(typeof l=="number"){if(!s&&!wr(n)&&!wr(l))return!1;if(s&&wr(l))continue;s=!1,n=l|n&1;continue}if(!s)if(n&4){if(n=2|n&1,l!==""&&!Kj(t,l,r)||l===""&&e.length===1){if(wr(n))return!1;s=!0}}else if(n&8){if(i===null||!Zj(t,i,l,r)){if(wr(n))return!1;s=!0}}else{let u=e[++c],d=Qj(l,i,Gb(t),r);if(d===-1){if(wr(n))return!1;s=!0;continue}if(u!==""){let f;if(d>o?f="":f=i[d+1].toLowerCase(),n&2&&u!==f){if(wr(n))return!1;s=!0}}}}return wr(n)||s}function wr(t){return(t&1)===0}function Qj(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i<e.length;){let s=e[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let c=e[++i];for(;typeof c=="string";)c=e[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return tV(e,t)}function RC(t,e,r=!1){for(let n=0;n<e.length;n++)if(Xj(t,e[n],r))return!0;return!1}function Jj(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);
1if(!(r&1))return e[r+1]}return null}function eV(t){for(let e=0;e<t.length;e++){let r=t[e];if(kD(r))return e}return t.length}function tV(t,e){let r=t.indexOf(4);if(r>-1)for(r++;r<t.length;){let n=t[r];if(typeof n=="number")return-1;if(n===e)return r;r++}return-1}function nV(t,e){e:for(let r=0;r<e.length;r++){let n=e[r];if(t.length===n.length){for(let i=0;i<t.length;i++)if(t[i]!==n[i])continue e;return!0}}return!1}function vw(t,e){return t?":not("+e.trim()+")":e}function rV(t){let e=t[0],r=1,n=2,i="",o=!1;for(;r<t.length;){let s=t[r];if(typeof s=="string")if(n&2){let c=t[++r];i+="["+s+(c.length>0?'="'+c+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!wr(s)&&(e+=vw(o,i),i=""),n=s,o=o||!wr(n);r++}return i!==""&&(e+=vw(o,i)),e}function iV(t){return t.map(rV).join(",")}function oV(t){let e=[],r=[],n=1,i=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")i===2?o!==""&&e.push(o,t[++n]):i===8&&r.push(o);else{if(!wr(i))break;i=o}n++}return{attrs:e,classes:r}}var Lt={};function D(t=1){OC(Be(),H(),Jn()+t,!1)}function OC(t,e,r,n){if(!n)if((e[X]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Ld(e,o,r)}else{let o=t.preOrderHooks;o!==null&&jd(e,o,0,r)}Ds(r)}function w(t,e=De.Default){let r=H();if(r===null)return E(t,e);let n=Et();return jD(n,r,Pt(t),e)}function Vle(){let t="invalid";throw new Error(t)}function NC(t,e,r,n,i,o){let s=ye(null);try{let c=null;i&po.SignalBased&&(c=e[n][Nt]),c!==null&&c.transformFn!==void 0&&(o=c.transformFn(o)),i&po.HasDecoratorInputTransform&&(o=t.inputTransforms[n].call(e,o)),t.setInput!==null?t.setInput(e,c,o,r,n):uD(e,c,n,o)}finally{ye(s)}}function sV(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let i=r[n];if(i<0)Ds(~i);else{let o=i,s=r[++n],c=r[++n];lL(s,o);let l=e[o];c(2,l)}}}finally{Ds(-1)}}function Uf(t,e,r,n,i,o,s,c,l,u,d){let f=e.blueprint.slice();return f[ti]=i,f[X]=n|4|128|8|64|1024,(u!==null||t&&t[X]&2048)&&(f[X]|=2048),gD(f),f[Wt]=f[La]=t,f[yt]=r,f[Ti]=s||t&&t[Ti],f[Ye]=c||t&&t[Ye],f[Ta]=l||t&&t[Ta]||null,f[_n]=o,f[Dl]=$L(),f[Sa]=d,f[lD]=u,f[bn]=e.type==2?t[bn]:f,f}function Os(t,e,r,n,i){let o=t.data[e];if(o===null)o=aV(t,e,r,n,i),cL()&&(o.flags|=32);else if(o.type&64){o.type=r,o.value=n,o.attrs=i;let s=sL();o.injectorIndex=s===null?-1:s.injectorIndex}return ho(o,!0),o}function aV(t,e,r,n,i){let o=_D(),s=Cb(),c=s?o:o&&o.parent,l=t.data[e]=pV(t,c,r,e,n,i);return t.firstChild===null&&(t.firstChild=l),o!==null&&(s?o.child==null&&l.parent!==null&&(o.child=l):o.next===null&&(o.next=l,l.prev=o)),l}function PC(t,e,r,n){if(r===0)return-1;let i=e.length;for(let o=0;o<r;o++)e.push(n),t.blueprint.push(n),t.data.push(null);return i}function FC(t,e,r,n,i){let o=Jn(),s=n&2;try{Ds(-1),s&&e.length>Ze&&OC(t,e,Ze,!1),Kr(s?2:0,i),r(n,i)}finally{Ds(o),Kr(s?3:1,i)}}function qb(t,e,r){if(xb(e)){let n=ye(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;s<o;s++){let c=t.data[s];if(c.contentQueries){let l=r[s];c.contentQueries(1,l,s)}}}finally{ye(n)}}}function Yb(t,e,r){bD()&&(yV(t,e,r,Qn(r,e)),(r.flags&64)===64&&VC(t,e,r))}function Zb(t,e,r=Qn){let n=e.localNames;if(n!==null){let i=e.index+1;for(let o=0;o<n.length;o+=2){let s=n[o+1],c=s===-1?r(e,t):t[s];t[i++]=c}}}function LC(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Kb(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Kb(t,e,r,n,i,o,s,c,l,u,d){let f=Ze+n,h=f+i,m=cV(f,h),g=typeof u=="function"?u():u;return m[re]={type:t,blueprint:m,template:r,queries:null,viewQuery:c,declTNode:e,data:m.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:h,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 s=="function"?s():s,firstChild:null,schemas:l,consts:g,incompleteFirstPass:!1,ssrId:d}}function cV(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:Lt);return r}function lV(t,e,r,n){let o=n.get(JL,oC)||r===Jr.ShadowDom,s=t.selectRootElement(e,o);return uV(s),s}function uV(t){dV(t)}var dV=()=>null;function fV(t,e,r,n){let i=$C(e);i.push(r),t.firstCreatePass&&zC(t).push(n,i.length-1)}
1function pV(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,c=0;return yD()&&(c|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function bw(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n!=null||(n={});let c,l=po.None;Array.isArray(s)?(c=s[0],l=s[1]):c=s;let u=o;if(i!==null){if(!i.hasOwnProperty(o))continue;u=i[o]}t===0?yw(n,r,u,c,l):yw(n,r,u,c)}return n}function yw(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function hV(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,c=[],l=null,u=null;for(let d=n;d<i;d++){let f=o[d],h=r?r.get(f):null,m=h?h.inputs:null,g=h?h.outputs:null;l=bw(0,f.inputs,d,l,m),u=bw(1,f.outputs,d,u,g);let _=l!==null&&s!==null&&!Gb(e)?MV(l,d,s):null;c.push(_)}l!==null&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=c,e.inputs=l,e.outputs=u}function mV(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Hf(t,e,r,n,i,o,s,c){let l=Qn(e,r),u=e.inputs,d;!c&&u!=null&&(d=u[n])?(Qb(t,r,d,n,i),If(e)&&gV(r,e.index)):e.type&3?(n=mV(n),i=s!=null?s(i,e.value||"",n):i,o.setProperty(l,n,i)):e.type&12}function gV(t,e){let r=Qr(e,t);r[X]&16||(r[X]|=64)}function Xb(t,e,r,n){if(bD()){let i=n===null?null:{"":-1},o=xV(t,r),s,c;o===null?s=c=null:[s,c]=o,s!==null&&jC(t,e,r,s,i,c),i&&EV(r,n,i)}r.mergedAttrs=gl(r.mergedAttrs,r.attrs)}function jC(t,e,r,n,i,o){var u,d;for(let f=0;f<n.length;f++)dv(Qd(r,e),t,n[f].type);DV(r,t.data.length,n.length);for(let f=0;f<n.length;f++){let h=n[f];h.providersResolver&&h.providersResolver(h)}let s=!1,c=!1,l=PC(t,e,n.length,null);for(let f=0;f<n.length;f++){let h=n[f];r.mergedAttrs=gl(r.mergedAttrs,h.hostAttrs),CV(t,r,e,l,h),wV(l,h,i),h.contentQueries!==null&&(r.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(r.flags|=64);let m=h.type.prototype;!s&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&(((u=t.preOrderHooks)!=null?u:t.preOrderHooks=[]).push(r.index),s=!0),!c&&(m.ngOnChanges||m.ngDoCheck)&&(((d=t.preOrderCheckHooks)!=null?d:t.preOrderCheckHooks=[]).push(r.index),c=!0),l++}hV(t,r,o)}function vV(t,e,r,n,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let c=~e.index;bV(s)!=c&&s.push(c),s.push(r,n,o)}}function bV(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function yV(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;If(r)&&IV(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||Qd(r,e),Kn(n,e);let s=r.initialInputs;for(let c=i;c<o;c++){let l=t.data[c],u=Is(e,t,c,r);if(Kn(u,e),s!==null&&AV(e,c-i,u,l,r,s),Ai(l)){let d=Qr(r.index,e);d[yt]=Is(e,t,c,r)}}}function VC(t,e,r){let n=r.directiveStart,i=r.directiveEnd,o=r.index,s=uL();try{Ds(o);for(let c=n;c<i;c++){let l=t.data[c],u=e[c];av(c),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&_V(l,u)}}finally{Ds(-1),av(s)}}function _V(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function xV(t,e){var o;let r=t.directiveRegistry,n=null,i=null;if(r)for(let s=0;s<r.length;s++){let c=r[s];if(RC(e,c.selectors,!1))if(n||(n=[]),Ai(c))if(c.findHostDirectiveDefs!==null){let l=[];i=i||new Map,c.findHostDirectiveDefs(c,l,i),n.unshift(...l,c);let u=l.length;Mv(t,e,u)}else n.unshift(c),Mv(t,e,0);else i=i||new Map,(o=c.findHostDirectiveDefs)==null||o.call(c,c,n,i),n.push(c)}return n===null?null:[n,i]}function Mv(t,e,r){var n;e.componentOffset=r,((n=t.components)!=null?n:t.components=[]).push(e.index)}function EV(t,e,r){if(e){let n=t.localNames=[];for(let i=0;i<e.length;i+=2){let o=r[e[i+1]];if(o==null)throw new U(-301,!1);n.push(e[i],o)}}}function wV(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;Ai(e)&&(r[""]=t)}}function DV(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function CV(t,e,r,n,i){t.data[n]=i;let o=i.factory||(i.factory=ys(i.type,!0)),s=new Cs(o,Ai(i),w);t.blueprint[n]=s,r[n]=s,vV(t,e,n,PC(t,r,i.hostVars,Lt),i)}function BC(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function IV(t,e,r){let n=Qn(e,t),i=LC(r),o=t[Ti].rendererFactory,s=$f(t,Uf(t,i,null,BC(r),n,e,null,o.createRenderer(n,r),null,null,null));t[e.index]=s}function SV(t,e,r,n,i,o){let s=Qn(t,e);TV(e[Ye],s,o,t.value,r,n,i)}
1function TV(t,e,r,n,i,o,s){if(o==null)t.removeAttribute(e,i,r);else{let c=s==null?gn(o):s(o,n||"",i);t.setAttribute(e,i,c,r)}}function AV(t,e,r,n,i,o){let s=o[e];if(s!==null)for(let c=0;c<s.length;){let l=s[c++],u=s[c++],d=s[c++],f=s[c++];NC(n,r,l,u,d,f)}}function MV(t,e,r){let n=null,i=0;for(;i<r.length;){let o=r[i];if(o===0){i+=4;continue}else if(o===5){i+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){n===null&&(n=[]);let s=t[o];for(let c=0;c<s.length;c+=3)if(s[c]===e){n.push(o,s[c+1],s[c+2],r[i+1]);break}}i+=2}return n}function UC(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function HC(t,e){let r=t.contentQueries;if(r!==null){let n=ye(null);try{for(let i=0;i<r.length;i+=2){let o=r[i],s=r[i+1];if(s!==-1){let c=t.data[s];Af(o),c.contentQueries(2,e[s],s)}}}finally{ye(n)}}}function $f(t,e){return t[ml]?t[ZE][Dr]=e:t[ml]=e,t[ZE]=e,e}function kv(t,e,r){Af(0);let n=ye(null);try{e(t,r)}finally{ye(n)}}function $C(t){var e;return(e=t[wa])!=null?e:t[wa]=[]}function zC(t){var e;return(e=t.cleanup)!=null?e:t.cleanup=[]}function WC(t,e,r){return(t===null||Ai(t))&&(r=KF(r[e.index])),r[Ye]}function GC(t,e){let r=t[Ta],n=r?r.get(_t,null):null;n&&n.handleError(e)}function Qb(t,e,r,n,i){for(let o=0;o<r.length;){let s=r[o++],c=r[o++],l=r[o++],u=e[s],d=t.data[s];NC(d,u,n,c,l,i)}}function zf(t,e,r){let n=mD(e,t);kj(t[Ye],n,r)}function kV(t,e){let r=Qr(e,t),n=r[re];RV(n,r);let i=r[ti];i!==null&&r[Sa]===null&&(r[Sa]=Bb(i,r[Ta])),Jb(n,r,r[yt])}function RV(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function Jb(t,e,r){var n;Mb(e);try{let i=t.viewQuery;i!==null&&kv(1,i,r);let o=t.template;o!==null&&FC(t,e,o,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),(n=e[Cr])==null||n.finishViewCreation(t),t.staticContentQueries&&HC(t,e),t.staticViewQueries&&kv(2,t.viewQuery,r);let s=t.components;s!==null&&OV(e,s)}
1catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{e[X]&=-5,kb()}}function OV(t,e){for(let r=0;r<e.length;r++)kV(t,e[r])}function Rl(t,e,r,n){var o,s,c;let i=ye(null);try{let l=e.tView,d=t[X]&4096?4096:16,f=Uf(t,l,r,d,null,e,null,null,(o=n==null?void 0:n.injector)!=null?o:null,(s=n==null?void 0:n.embeddedViewInjector)!=null?s:null,(c=n==null?void 0:n.dehydratedView)!=null?c:null),h=t[e.index];f[xs]=h;let m=t[Cr];return m!==null&&(f[Cr]=m.createEmbeddedView(l)),Jb(l,f,r),f}finally{ye(i)}}function qC(t,e){let r=zt+e;if(r<t.length)return t[r]}function ka(t,e){return!e||e.firstChild===null||ZD(t)}function Ol(t,e,r,n=!0){let i=e[re];if(Fj(i,e,t,r),n){let s=Av(r,t),c=e[Ye],l=CC(c,t[Es]);l!==null&&Nj(i,t[_n],c,e,l,s)}let o=e[Sa];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function YC(t,e){let r=bl(t,e);return r!==void 0&&jf(r[re],r),r}function rf(t,e,r,n,i=!1){for(;r!==null;){if(r.type===128){r=i?r.projectionNext:r.next;continue}let o=e[r.index];o!==null&&n.push(Pn(o)),Ri(o)&&NV(o,n);let s=r.type;if(s&8)rf(t,e,r.child,n);else if(s&32){let c=$b(r,e),l;for(;l=c();)n.push(l)}else if(s&16){let c=SC(e,r);if(Array.isArray(c))n.push(...c);else{let l=ws(e[bn]);rf(l[re],l,c,n,!0)}}r=i?r.projectionNext:r.next}return n}function NV(t,e){for(let r=zt;r<t.length;r++){let n=t[r],i=n[re].firstChild;i!==null&&rf(n[re],n,i,e)}t[Es]!==t[ti]&&e.push(t[Es])}var ZC=[];function PV(t){var e;return(e=t[Nn])!=null?e:FV(t)}function FV(t){var r;let e=(r=ZC.pop())!=null?r:Object.create(jV);return e.lView=t,e}function LV(t){t.lView[Nn]!==t&&(t.lView=null,ZC.push(t))}var jV=ve(T({},hs),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Il(t.lView)},consumerOnSignalRead(){this.lView[Nn]=this}});function VV(t){var r;let e=(r=t[Nn])!=null?r:Object.create(BV);return e.lView=t,e}var BV=ve(T({},hs),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=ws(t.lView);for(;e&&!KC(e[re]);)e=ws(e);e&&Db(e)},consumerOnSignalRead(){this.lView[Nn]=this}});function KC(t){return t.type!==2}function XC(t){if(t[Di]===null)return;let e=!0;for(;e;){let r=!1;for(let n of t[Di])n.dirty&&(r=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));e=r&&!!(t[X]&8192)}}var UV=100;function QC(t,e=!0,r=0){var s,c;let i=t[Ti].rendererFactory,o=!1;o||(s=i.begin)==null||s.call(i);try{HV(t,r)}catch(l){throw e&&GC(t,l),l}finally{o||(c=i.end)==null||c.call(i)}}function HV(t,e){let r=ED();try{Yd(!0),Rv(t,e);let n=0;for(;Tf(t);){if(n===UV)throw new U(103,!1);n++,Rv(t,1)}}finally{Yd(r)}}function $V(t,e,r,n){let i=e[X];if((i&256)===256)return;let o=!1,s=!1;Mb(e);let c=!0,l=null,u=null;o||(KC(t)?(u=PV(e),l=ga(u)):kE()===null?(c=!1,u=VV(e),l=ga(u)):e[Nn]&&(va(e[Nn]),e[Nn]=null));try{gD(e),aL(t.bindingStartIndex),r!==null&&FC(t,e,r,2,n);let d=(i&3)===3;if(!o)if(d){let m=t.preOrderCheckHooks;m!==null&&Ld(e,m,null)}else{let m=t.preOrderHooks;m!==null&&jd(e,m,0,null),jg(e,0)}if(s||zV(e),XC(e),JC(e,0),t.contentQueries!==null&&HC(t,e),!o)if(d){let m=t.contentCheckHooks;m!==null&&Ld(e,m)}else{let m=t.contentHooks;m!==null&&jd(e,m,1),jg(e,1)}sV(t,e);let f=t.components;f!==null&&tI(e,f,0);let h=t.viewQuery;if(h!==null&&kv(2,h,n),!o)if(d){let m=t.viewCheckHooks;m!==null&&Ld(e,m)}else{let m=t.viewHooks;m!==null&&jd(e,m,2),jg(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Da]){for(let m of e[Da])m();e[Da]=null}o||(e[X]&=-73)}catch(d){throw o||Il(e),d}finally{u!==null&&(sl(u,l),c&&LV(u)),kb()}}function JC(t,e){for(let r=eC(t);r!==null;r=tC(r))for(let n=zt;n<r.length;n++){let i=r[n];eI(i,e)}}function zV(t){for(let e=eC(t);e!==null;e=tC(e)){if(!(e[X]&qd.HasTransplantedViews))continue;let r=e[Aa];for(let n=0;n<r.length;n++){let i=r[n];Db(i)}}}function WV(t,e,r){let n=Qr(e,t);eI(n,r)}function eI(t,e){wb(t)&&Rv(t,e)}function Rv(t,e){let n=t[re],i=t[X],o=t[Nn],s=!!(e===0&&i&16);if(s||(s=!!(i&64&&e===0)),s||(s=!!(i&1024)),s||(s=!!(o!=null&&o.dirty&&al(o))),s||(s=!1),o&&(o.dirty=!1),t[X]&=-9217,s)$V(n,t,n.template,t[yt]);else if(i&8192){XC(t),JC(t,1);let c=n.components;c!==null&&tI(t,c,1)}}function tI(t,e,r){for(let n=0;n<e.length;n++)WV(t,e[n],r)}function ey(t,e){var n;let r=ED()?64:1088;for((n=t[Ti].changeDetectionScheduler)==null||n.notify(e);t;){t[X]|=r;let i=ws(t);if(rv(t)&&!i)return t;t=i}return null}var Ts=class{constructor(e,r,n=!0){a(this,"_lView");a(this,"_cdRefInjectingView");a(this,"notifyErrorHandler");a(this,"_appRef",null);a(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=r,this.notifyErrorHandler=n}get rootNodes(){let e=this._lView,r=e[re];return rf(r,e,r.firstChild,[])}get context(){return this._lView[yt]}get dirty(){var e;return!!(this._lView[X]&9280)||!!((e=this._lView[Nn])!=null&&e.dirty)}set context(e){this._lView[yt]=e}get destroyed(){return(this._lView[X]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Wt];if(Ri(e)){let r=e[Gd],n=r?r.indexOf(this):-1;n>-1&&(bl(e,n),zd(r,n))}this._attachedToViewContainer=!1}jf(this._lView[re],this._lView)}onDestroy(e){vD(this._lView,e)}markForCheck(){ey(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Db(this._cdRefInjectingView||this._lView)}detach(){this._lView[X]&=-129}reattach(){ov(this._lView),this._lView[X]|=128}detectChanges(){this._lView[X]|=1024,QC(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new U(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=rv(this._lView),r=this._lView[xs];r!==null&&!e&&zb(r,this._lView),xC(this._lView[re],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new U(902,!1);this._appRef=e;let r=rv(this._lView),n=this._lView[xs];n!==null&&!r&&EC(n,this._lView),ov(this._lView)}},at=(()=>{class t{}return a(t,"__NG_ELEMENT_ID__",YV),t})(),GV=at,qV=class extends GV{constructor(r,n,i){super();a(this,"_declarationLView");a(this,"_declarationTContainer");a(this,"elementRef");this._declarationLView=r,this._declarationTContainer=n,this.elementRef=i}get ssrId(){var r;return((r=this._declarationTContainer.tView)==null?void 0:r.ssrId)||null}createEmbeddedView(r,n){return this.createEmbeddedViewImpl(r,n)}createEmbeddedViewImpl(r,n,i){let o=Rl(this._declarationLView,this._declarationTContainer,r,{embeddedViewInjector:n,dehydratedView:i});return new Ts(o)}};function YV(){return Wf(Et(),H())}function Wf(t,e){return t.type&4?new qV(e,t,ja(t,e)):null}var Ule=new RegExp("^(\\d+)*(".concat(QL,"|").concat(XL,")*(.*)"));var ZV=()=>null;function Ra(t,e){return ZV(t,e)}var Ov=class{},of=class{}
1,Nv=class{resolveComponentFactory(e){throw Error("No component factory found for ".concat(sn(e),"."))}},bs=class{};a(bs,"NULL",new Nv);var Oa=class{},Ns=(()=>{class t{constructor(){a(this,"destroyNode",null)}}return a(t,"__NG_ELEMENT_ID__",()=>KV()),t})();function KV(){let t=H(),e=Et(),r=Qr(e.index,t);return(Ci(r)?r:t)[Ye]}var XV=(()=>{let e=class e{};a(e,"\u0275prov",y({token:e,providedIn:"root",factory:()=>null}));let t=e;return t})();function sf(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let c=e[s];if(typeof c=="number")o=c;else if(o==1)i=Kg(i,c);else if(o==2){let l=c,u=e[++s];n=Kg(n,l+": "+u+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=i:t.classesWithoutHost=i}var af=class extends bs{constructor(r){super();a(this,"ngModule");this.ngModule=r}resolveComponentFactory(r){let n=Si(r);return new As(n,this.ngModule)}};function _w(t,e){let r=[];for(let n in t){if(!t.hasOwnProperty(n))continue;let i=t[n];if(i===void 0)continue;let o=Array.isArray(i),s=o?i[0]:i,c=o?i[1]:po.None;e?r.push({propName:s,templateName:n,isSignal:(c&po.SignalBased)!==0}):r.push({propName:s,templateName:n})}return r}function QV(t){let e=t.toLowerCase();return e==="svg"?hD:e==="math"?ZF:null}var As=class extends of{constructor(r,n){super();a(this,"componentDef");a(this,"ngModule");a(this,"selector");a(this,"componentType");a(this,"ngContentSelectors");a(this,"isBoundToModule");this.componentDef=r,this.ngModule=n,this.componentType=r.type,this.selector=iV(r.selectors),this.ngContentSelectors=r.ngContentSelectors?r.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){let r=this.componentDef,n=r.inputTransforms,i=_w(r.inputs,!0);if(n!==null)for(let o of i)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return i}get outputs(){return _w(this.componentDef.outputs,!1)}create(r,n,i,o){let s=ye(null);try{o=o||this.ngModule;let l=o instanceof vn?o:o==null?void 0:o.injector;l&&this.componentDef.getStandaloneInjector!==null&&(l=this.componentDef.getStandaloneInjector(l)||l);let u=l?new lv(r,l):r,d=u.get(Oa,null);if(d===null)throw new U(407,!1);let f=u.get(XV,null),h=u.get(Ss,null),m={rendererFactory:d,sanitizer:f,changeDetectionScheduler:h},g=d.createRenderer(null,this.componentDef),_=this.componentDef.selectors[0][0]||"div",x=i?lV(g,i,this.componentDef.encapsulation,u):_C(g,_,QV(_)),S=512;this.componentDef.signals?S|=4096:this.componentDef.onPush||(S|=16);let L=null;x!==null&&(L=Bb(x,u,!0));let Ie=Kb(0,null,null,1,0,null,null,null,null,null,null),W=Uf(null,Ie,null,S,null,null,m,g,u,null,L);Mb(W);let nt,kn,qn=null;try{let pn=this.componentDef,Yn,ia=null;pn.findHostDirectiveDefs?(Yn=[],ia=new Map,pn.findHostDirectiveDefs(pn,Yn,ia),Yn.push(pn)):Yn=[pn];let qm=JV(W,x);qn=e2(qm,x,pn,Yn,W,m,g),kn=Eb(Ie,Ze),x&&r2(g,pn,x,i),n!==void 0&&i2(kn,this.ngContentSelectors,n),nt=n2(qn,pn,Yn,ia,W,[o2]),Jb(Ie,W,null)}catch(pn){throw qn!==null&&gv(qn),gv(W),pn}finally{kb()}return new Pv(this.componentType,nt,ja(kn,W),W,kn)}finally{ye(s)}}},Pv=class extends Ov{constructor(r,n,i,o,s){super();a(this,"location");a(this,"_rootLView");a(this,"_tNode");a(this,"instance");a(this,"hostView");a(this,"changeDetectorRef");a(this,"componentType");a(this,"previousInputValues",null);this.location=i,this._rootLView=o,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new Ts(o,void 0,!1),this.componentType=r}setInput(r,n){var s;let i=this._tNode.inputs,o;if(i!==null&&(o=i[r])){if((s=this.previousInputValues)!=null||(this.previousInputValues=new Map),this.previousInputValues.has(r)&&Object.is(this.previousInputValues.get(r),n))return;let c=this._rootLView;Qb(c[re],c,o,r,n),this.previousInputValues.set(r,n);let l=Qr(this._tNode.index,c);ey(l,1)}}get injector(){return new vs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(r){this.hostView.onDestroy(r)}};function JV(t,e){let r=t[re],n=Ze;return t[n]=e,Os(r,n,2,"#host",null)}function e2(t,e,r,n,i,o,s){let c=i[re];t2(n,t,e,s);let l=null;e!==null&&(l=Bb(e,i[Ta]));let u=o.rendererFactory.createRenderer(e,r),d=Uf(i,LC(r),null,BC(r),i[t.index],t,o,u,null,null,l);return c.firstCreatePass&&Mv(c,t,n.length-1),$f(i,d),i[t.index]=d}function t2(t,e,r,n){for(let i of t)e.mergedAttrs=gl(e.mergedAttrs,i.hostAttrs);e.mergedAttrs!==null&&(sf(e,e.mergedAttrs,!0),r!==null&&MC(n,r,e))}function n2(t,e,r,n,i,o){let s=Et(),c=i[re],l=Qn(s,i);jC(c,i,s,r,null,n);for(let d=0;d<r.length;d++){let f=s.directiveStart+d,h=Is(i,c,f,s);Kn(h,i)}VC(c,i,s),l&&Kn(l,i);
1let u=Is(i,c,s.directiveStart+s.componentOffset,s);if(t[yt]=i[yt]=u,o!==null)for(let d of o)d(u,e);return qb(c,s,i),u}function r2(t,e,r,n){if(n)cv(t,r,["ng-version","19.0.3"]);else{let{attrs:i,classes:o}=oV(e.selectors[0]);i&&cv(t,r,i),o&&o.length>0&&AC(t,r,o.join(" "))}}function i2(t,e,r){let n=t.projection=[];for(let i=0;i<e.length;i++){let o=r[i];n.push(o!=null&&o.length?Array.from(o):null)}}function o2(){let t=Et();Of(H()[re],t)}var ct=(()=>{class t{}return a(t,"__NG_ELEMENT_ID__",s2),t})();function s2(){let t=Et();return rI(t,H())}var a2=ct,nI=class extends a2{constructor(r,n,i){super();a(this,"_lContainer");a(this,"_hostTNode");a(this,"_hostLView");this._lContainer=r,this._hostTNode=n,this._hostLView=i}get element(){return ja(this._hostTNode,this._hostLView)}get injector(){return new vs(this._hostTNode,this._hostLView)}get parentInjector(){let r=Rb(this._hostTNode,this._hostLView);if(RD(r)){let n=Kd(r,this._hostLView),i=Zd(r),o=n[re].data[i+8];return new vs(o,n)}else return new vs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){let n=xw(this._lContainer);return n!==null&&n[r]||null}get length(){return this._lContainer.length-zt}createEmbeddedView(r,n,i){let o,s;typeof i=="number"?o=i:i!=null&&(o=i.index,s=i.injector);let c=Ra(this._lContainer,r.ssrId),l=r.createEmbeddedViewImpl(n||{},s,c);return this.insertImpl(l,o,ka(this._hostTNode,c)),l}createComponent(r,n,i,o,s){var _,x,S;let c=r&&!WF(r),l;if(c)l=n;else{let L=n||{};l=L.index,i=L.injector,o=L.projectableNodes,s=L.environmentInjector||L.ngModuleRef}let u=c?r:new As(Si(r)),d=i||this.parentInjector;if(!s&&u.ngModule==null){let Ie=(c?d:this.parentInjector).get(vn,null);Ie&&(s=Ie)}let f=Si((_=u.componentType)!=null?_:{}),h=Ra(this._lContainer,(x=f==null?void 0:f.id)!=null?x:null),m=(S=h==null?void 0:h.firstChild)!=null?S:null,g=u.create(d,o,m,s);return this.insertImpl(g.hostView,l,ka(this._hostTNode,h)),g}insert(r,n){return this.insertImpl(r,n,!0)}insertImpl(r,n,i){let o=r._lView;if(QF(o)){let l=this.indexOf(r);if(l!==-1)this.detach(l);else{let u=o[Wt],d=new nI(u,u[_n],u[Wt]);d.detach(d.indexOf(r))}}let s=this._adjustIndex(n),c=this._lContainer;return Ol(c,o,s,i),r.attachToViewContainerRef(),Jw($g(c),s,r),r}move(r,n){return this.insert(r,n)}indexOf(r){let n=xw(this._lContainer);return n!==null?n.indexOf(r):-1}remove(r){let n=this._adjustIndex(r,-1),i=bl(this._lContainer,n);i&&(zd($g(this._lContainer),n),jf(i[re],i))}detach(r){let n=this._adjustIndex(r,-1),i=bl(this._lContainer,n);return i&&zd($g(this._lContainer),n)!=null?new Ts(i):null}_adjustIndex(r,n=0){return r==null?this.length+n:r}};function xw(t){return t[Gd]}function $g(t){return t[Gd]||(t[Gd]=[])}function rI(t,e){let r,n=e[t.index];return Ri(n)?r=n:(r=UC(n,e,null,t),e[t.index]=r,$f(e,r)),l2(r,e,t,n),new nI(r,t,e)}function c2(t,e){let r=t[Ye],n=r.createComment(""),i=Qn(e,t),o=CC(r,i);return nf(r,o,n,Bj(r,i),!1),n}var l2=f2,u2=()=>!1;function d2(t,e,r){return u2(t,e,r)}function f2(t,e,r,n){if(t[Es])return;let i;r.type&8?i=Pn(n):i=c2(e,r),t[Es]=i}var Fv=class t{constructor(e){a(this,"queryList");a(this,"matches",null);this.queryList=e}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Lv=class t{constructor(e=[]){a(this,"queries");this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o<n;o++){let s=r.getByIndex(o),c=this.queries[s.indexInDeclarationView];i.push(c.clone())}return new t(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let r=0;r<this.queries.length;r++)ny(e,r).matches!==null&&this.queries[r].setDirty()}},cf=class{constructor(e,r,n=null){a(this,"flags");a(this,"read");a(this,"predicate");this.flags=r,this.read=n,typeof e=="string"?this.predicate=v2(e):this.predicate=e}},jv=class t{constructor(e=[]){a(this,"queries");this.queries=e}elementStart(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,r)}elementEnd(e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(e)}embeddedTView(e){let r=null;for(let n=0;n<this.length;n++){let i=r!==null?r.length:0,o=this.getByIndex(n).embeddedTView(e,i);o&&(o.indexInDeclarationView=n,r!==null?r.push(o):r=[o])}return r!==null?new t(r):null}template(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,r)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Vv=class t{constructor(e,r=-1){a(this,"metadata");a(this,"matches",null);a(this,"indexInDeclarationView",-1);a(this,"crossesNgTemplate",!1);a(this,"_declarationNodeIndex");a(this,"_appliesToNextNode",!0);this.metadata=e,this._declarationNodeIndex=r}elementStart(e,r){this.isApplyingToNode(r)&&this.matchTNode(e,r)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,r){this.elementStart(e,r)}embeddedTView(e,r){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,r),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}
vendor: 2,950 bytes, line 1
1matchTNode(e,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){let o=n[i];this.matchTNodeWithReadOption(e,r,p2(r,o)),this.matchTNodeWithReadOption(e,r,Vd(r,e,o,!1,!1))}else n===at?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,Vd(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let i=this.metadata.read;if(i!==null)if(i===P||i===ct||i===at&&r.type&4)this.addMatch(r.index,-2);else{let o=Vd(r,e,i,!1,!1);o!==null&&this.addMatch(r.index,o)}else this.addMatch(r.index,n)}}addMatch(e,r){this.matches===null?this.matches=[e,r]:this.matches.push(e,r)}};function p2(t,e){let r=t.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===e)return r[n+1]}return null}function h2(t,e){return t.type&11?ja(t,e):t.type&4?Wf(t,e):null}function m2(t,e,r,n){return r===-1?h2(e,t):r===-2?g2(t,e,n):Is(t,t[re],r,e)}function g2(t,e,r){if(r===P)return ja(e,t);if(r===at)return Wf(e,t);if(r===ct)return rI(e,t)}function iI(t,e,r,n){let i=e[Cr].queries[n];if(i.matches===null){let o=t.data,s=r.matches,c=[];for(let l=0;s!==null&&l<s.length;l+=2){let u=s[l];if(u<0)c.push(null);else{let d=o[u];c.push(m2(e,d,s[l+1],r.metadata.read))}}i.matches=c}return i.matches}function Bv(t,e,r,n){let i=t.queries.getByIndex(r),o=i.matches;if(o!==null){let s=iI(t,e,i,r);for(let c=0;c<o.length;c+=2){let l=o[c];if(l>0)n.push(s[c/2]);else{let u=o[c+1],d=e[-l];for(let f=zt;f<d.length;f++){let h=d[f];h[xs]===h[Wt]&&Bv(h[re],h,u,n)}if(d[Aa]!==null){let f=d[Aa];for(let h=0;h<f.length;h++){let m=f[h];Bv(m[re],m,u,n)}}}}}return n}function ty(t,e){return t[Cr].queries[e].queryList}function oI(t,e,r){var o;let n=new Mi((r&4)===4);return fV(t,e,n,n.destroy),((o=e[Cr])!=null?o:e[Cr]=new Lv).queries.push(new Fv(n))-1}function sI(t,e,r){let n=Be();return n.firstCreatePass&&(cI(n,new cf(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),oI(n,H(),e)}function aI(t,e,r,n){let i=Be();if(i.firstCreatePass){let o=Et();cI(i,new cf(e,r,n),o.index),b2(i,t),(r&2)===2&&(i.staticContentQueries=!0)}return oI(i,H(),r)}function v2(t){return t.split(",").map(e=>e.trim())}function cI(t,e,r){t.queries===null&&(t.queries=new jv),t.queries.track(new Vv(e,r))}function b2(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function ny(t,e){return t.queries.getByIndex(e)}function lI(t,e){let r=t[re],n=ny(r,e);return n.crossesNgTemplate?Bv(r,t,e,[]):iI(r,t,n,e)}function Ba(t){return typeof t=="function"&&t[Nt]!==void 0}function tr(t,e){er("NgSignals");let r=UE(t),n=r[Nt];return e!=null&&e.equal&&(n.equal=e.equal),r.set=i=>cl(n,i),r.update=i=>HE(n,i),r.asReadonly=uI.bind(r),r}function uI(){let t=this[Nt];if(t.readonlyFn===void 0){let e=()=>this();e[Nt]=t,t.readonlyFn=e}return t.readonlyFn}function dI(t){return Ba(t)&&typeof t.set=="function"}function ry(t,e,r){let n,i=Ng(()=>{n._dirtyCounter();let o=y2(n,t);if(e&&o===void 0)throw new U(-951,!1);return o}
1);return n=i[Nt],n._dirtyCounter=tr(0),n._flatValue=void 0,i}function fI(t){return ry(!0,!1,t)}function pI(t){return ry(!0,!0,t)}function hI(t){return ry(!1,!1,t)}function mI(t,e){let r=t[Nt];r._lView=H(),r._queryIndex=e,r._queryList=ty(r._lView,e),r._queryList.onDirty(()=>r._dirtyCounter.update(n=>n+1))}function y2(t,e){let r=t._lView,n=t._queryIndex;if(r===void 0||n===void 0||r[X]&4)return e?void 0:$t;let i=ty(r,n),o=lI(r,n);return i.reset(o,YD),e?i.first:i._changesDetected||t._flatValue===void 0?t._flatValue=i.toArray():t._flatValue}function Ew(t,e){return fI(e)}function _2(t,e){return pI(e)}var Nl=(Ew.required=_2,Ew);function $le(t,e){return hI(e)}function ww(t,e){return fI(e)}function x2(t,e){return pI(e)}var zle=(ww.required=x2,ww);function Wle(t,e){return hI(e)}function gI(t,e){let r=Object.create(Ww),n=new tf;r.value=t;function i(){return ol(r),Dw(r.value),r.value}return i[Nt]=r,i.asReadonly=uI.bind(i),i.set=o=>{r.equal(r.value,o)||(cl(r,o),n.emit(o))},i.update=o=>{Dw(r.value),i.set(o(r.value))},i.subscribe=n.subscribe.bind(n),i.destroyRef=n.destroyRef,i}function Dw(t){if(t===yf)throw new U(952,!1)}function Cw(t,e){return gI(t,e)}function E2(t){return gI(yf,t)}var Gle=(Cw.required=E2,Cw);var Xn=class{},Uv=class{};function vI(t,e){return new lf(t,e!=null?e:null,[])}var lf=class extends Xn{constructor(r,n,i,o=!0){super();a(this,"ngModuleType");a(this,"_parent");a(this,"_bootstrapComponents",[]);a(this,"_r3Injector");a(this,"instance");a(this,"destroyCbs",[]);a(this,"componentFactoryResolver",new af(this));this.ngModuleType=r,this._parent=n;let s=nD(r);this._bootstrapComponents=yC(s.bootstrap),this._r3Injector=UD(r,n,[{provide:Xn,useValue:this},{provide:bs,useValue:this.componentFactoryResolver},...i],sn(r),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let r=this._r3Injector;!r.destroyed&&r.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}},Hv=class extends Uv{constructor(r){super();a(this,"moduleType");this.moduleType=r}create(r){return new lf(this.moduleType,r,[])}};var uf=class extends Xn{constructor(r){super();a(this,"injector");a(this,"componentFactoryResolver",new af(this));a(this,"instance",null);let n=new hl([...r.providers,{provide:Xn,useValue:this},{provide:bs,useValue:this.componentFactoryResolver}],r.parent||Df(),r.debugName,new Set(["environment"]));this.injector=n,r.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}};function w2(t,e,r=null){return new uf({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var D2=(()=>{let e=class e{constructor(n){a(this,"_injector");a(this,"cachedInjectors",new Map);this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=iD(!1,n.type),o=i.length>0?w2([i],this._injector,"Standalone[".concat(n.type.name,"]")):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};a(e,"\u0275prov",y({token:e,providedIn:"environment",factory:()=>new e(E(vn))}));let t=e;return t})();function B(t){return xl(()=>{var i;let e=bI(t),r=ve(T({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===KD.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?o=>o.get(D2).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:(i=t.signals)!=null?i:!1,data:t.data||{},encapsulation:t.encapsulation||Jr.Emulated,styles:t.styles||$t,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&er("NgStandalone"),yI(r);let n=t.dependencies;return r.directiveDefs=Sw(n,!1),r.pipeDefs=Sw(n,!0),r.id=S2(r),r})}function C2(t){return Si(t)||bb(t)}function I2(t){return t!==null}function oe(t){return xl(()=>({type:t.type,bootstrap:t.bootstrap||$t,declarations:t.declarations||$t,imports:t.imports||$t,exports:t.exports||$t,transitiveCompileScopes:null,
1schemas:t.schemas||null,id:t.id||null}))}function Iw(t,e){var n;if(t==null)return Ii;let r={};for(let i in t)if(t.hasOwnProperty(i)){let o=t[i],s,c,l=po.None;Array.isArray(o)?(l=o[0],s=o[1],c=(n=o[2])!=null?n:s):(s=o,c=o),e?(r[s]=l!==po.None?[i,l]:i,e[s]=c):r[s]=i}return r}function k(t){return xl(()=>{let e=bI(t);return yI(e),e})}function Vn(t){var e;return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:(e=t.standalone)!=null?e:!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function bI(t){var r;let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Ii,exportAs:t.exportAs||null,standalone:(r=t.standalone)!=null?r:!0,signals:t.signals===!0,selectors:t.selectors||$t,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Iw(t.inputs,e),outputs:Iw(t.outputs),debugInfo:null}}function yI(t){var e;(e=t.features)==null||e.forEach(r=>r(t))}function Sw(t,e){if(!t)return null;let r=e?rD:C2;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(I2)}function S2(t){let e=0,r=typeof t.consts=="function"?"":t.consts,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,r,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("|"))e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function T2(t){return Object.getPrototypeOf(t.prototype).constructor}function pe(t){let e=T2(t.type),r=!0,n=[t];for(;e;){let i;if(Ai(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new U(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=Od(t.inputs),s.inputTransforms=Od(t.inputTransforms),s.declaredInputs=Od(t.declaredInputs),s.outputs=Od(t.outputs);let c=i.hostBindings;c&&O2(t,c);let l=i.viewQuery,u=i.contentQueries;if(l&&k2(t,l),u&&R2(t,u),A2(t,i),uF(t.outputs,i.outputs),Ai(i)&&i.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let c=o[s];c&&c.ngInherit&&c(t),c===pe&&(r=!1)}}e=Object.getPrototypeOf(e)}M2(n)}function A2(t,e){var r;for(let n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;let i=e.inputs[n];if(i!==void 0&&(t.inputs[n]=i,t.declaredInputs[n]=e.declaredInputs[n],e.inputTransforms!==null)){let o=Array.isArray(i)?i[0]:i;if(!e.inputTransforms.hasOwnProperty(o))continue;(r=t.inputTransforms)!=null||(t.inputTransforms={}),t.inputTransforms[o]=e.inputTransforms[o]}}}function M2(t){let e=0,r=null;for(let n=t.length-1;n>=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=gl(i.hostAttrs,r=gl(r,i.hostAttrs))}}function Od(t){return t===Ii?{}:t===$t?[]:t}function k2(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function R2(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function O2(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function _I(t){let e=r=>{let n=Array.isArray(t);r.hostDirectives===null?(r.findHostDirectiveDefs=xI,r.hostDirectives=n?t.map($v):[t]):n?r.hostDirectives.unshift(...t.map($v)):r.hostDirectives.unshift(t)};return e.ngInherit=!0,e}function xI(t,e,r){if(t.hostDirectives!==null)for(let n of t.hostDirectives)if(typeof n=="function"){let i=n();for(let o of i)Tw($v(o),e,r)}else Tw(n,e,r)}function Tw(t,e,r){let n=bb(t.directive);N2(n.declaredInputs,t.inputs),xI(n,e,r),r.set(n,t),e.push(n)}function $v(t){return typeof t=="function"?{directive:Pt(t),inputs:Ii,outputs:Ii}:{directive:Pt(t.directive),inputs:Aw(t.inputs),outputs:Aw(t.outputs)}}function Aw(t){if(t===void 0||t.length===0)return Ii;let e={};for(let r=0;r<t.length;r+=2)e[t[r]]=t[r+1];return e}function N2(t,e){for(let r in e)if(e.hasOwnProperty(r)){let n=e[r],i=t[r];t[n]=i}}function Ke(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[3]&&(r[n]=i[3])}t.inputTransforms=r}function EI(t){return iy(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function P2(t,e){if(Array.isArray(t))for(let r=0;r<t.length;r++)e(t[r]);else{let r=t[Symbol.iterator](),n;for(;!(n=r.next()).done;)e(n.value)}}function iy(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Pl(t,e,r){return t[e]=r}function F2(t,e){return t[e]}function yn(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function yl(t,e,r,n){let i=yn(t,e,r);return yn(t,e+1,n)||i}function wI(t,e,r,n,i){let o=yl(t,e,r,n);return yn(t,e+2,i)||o}function DI(t,e,r,n,i,o){let s=yl(t,e,r,n);return yl(t,e+2,i,o)||s}function L2(t){return(t.flags&32)===32}function j2(t,e,r,n,i,o,s,c,l){let u=e.consts,d=Os(e,t,4,s||null,c||null);Xb(e,r,d,fo(u,l)),Of(e,d);let f=d.tView=Kb(2,d,n,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,d),f.queries=e.queries.embeddedTView(d)),d}function df(t,e,r,n,i,o,s,c,l,u){let d=r+Ze,f=e.firstCreatePass?j2(d,e,t,n,i,o,s,c,l):e.data[d];ho(f,!1);let h=V2(e,t,f,r);kf()&&Vf(e,t,h,f),Kn(h,t);let m=UC(h,t,h,f);return t[d]=m,$f(t,m),d2(m,f,t),Sf(f)&&Yb(e,t,f),l!=null&&Zb(t,f,u),f}
1function se(t,e,r,n,i,o,s,c){let l=H(),u=Be(),d=fo(u.consts,o);return df(l,u,t,e,r,n,i,d,s,c),se}var V2=B2;function B2(t,e,r,n){return Rf(!0),e[Ye].createComment("")}var CI=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"platform"}));let t=e;return t})();var oy=new b(""),Fl=new b(""),Gf=(()=>{let e=class e{constructor(n,i,o){a(this,"_ngZone");a(this,"registry");a(this,"_isZoneStable",!0);a(this,"_callbacks",[]);a(this,"taskTrackingZone",null);this._ngZone=n,this.registry=i,fl||(U2(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{F.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==s),n()},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};a(e,"\u0275fac",function(i){return new(i||e)(E(F),E(qf),E(Fl))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),qf=(()=>{let e=class e{constructor(){a(this,"_applications",new Map)}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){var o;return(o=fl==null?void 0:fl.findTestabilityInTree(this,n,i))!=null?o:null}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"platform"}));let t=e;return t})();function U2(t){fl=t}var fl;function Ua(t){return!!t&&typeof t.then=="function"}function sy(t){return!!t&&typeof t.subscribe=="function"}var ay=new b("");var II=(()=>{var e;let r=class r{constructor(){a(this,"resolve");a(this,"reject");a(this,"initialized",!1);a(this,"done",!1);a(this,"donePromise",new Promise((i,o)=>{this.resolve=i,this.reject=o}));a(this,"appInits",(e=p(ay,{optional:!0}))!=null?e:[]);a(this,"injector",p(fe))}runInitializers(){if(this.initialized)return;let i=[];for(let s of this.appInits){let c=Cf(this.injector,s);if(Ua(c))i.push(c);else if(sy(c)){let l=new Promise((u,d)=>{c.subscribe({complete:u,error:d})});i.push(l)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{o()}).catch(s=>{this.reject(s)}),i.length===0&&o(),this.initialized=!0}};a(r,"\u0275fac",function(o){return new(o||r)}),a(r,"\u0275prov",y({token:r,factory:r.\u0275fac,providedIn:"root"}));let t=r;return t})(),SI=(()=>{let e=class e{};a(e,"\u0275prov",y({token:e,providedIn:"root",factory:()=>new ff}));let t=e;return t})(),ff=class{constructor(){a(this,"queuedEffectCount",0);a(this,"queues",new Map)}schedule(e){this.enqueue(e)}enqueue(e){let r=e.zone;this.queues.has(r)||this.queues.set(r,new Set);let n=this.queues.get(r);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,r]of this.queues)e===null?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(let r of e)e.delete(r),this.queuedEffectCount--,r.run()}},TI=new b("");function H2(){BE(()=>{throw new U(600,!1)})}function $2(t){return t.isBoundToModule}var z2=10;function W2(t,e,r){try{let n=r();return Ua(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var nr=(()=>{let e=class e{constructor(){a(this,"_runningTick",!1);a(this,"_destroyed",!1);a(this,"_destroyListeners",[]);a(this,"_views",[]);a(this,"internalErrorHandler",p(jL));
1a(this,"afterRenderManager",p(sC));a(this,"zonelessEnabled",p(Ob));a(this,"rootEffectScheduler",p(SI));a(this,"dirtyFlags",0);a(this,"deferredDirtyFlags",0);a(this,"tracingSnapshot",null);a(this,"externalTestViews",new Set);a(this,"afterTick",new A);a(this,"componentTypes",[]);a(this,"components",[]);a(this,"isStable",p(vo).hasPendingTasks.pipe(N(n=>!n)));a(this,"_injector",p(vn));a(this,"_rendererFactory",null);a(this,"_tick",()=>{if(this.tracingSnapshot!==null){let i=this.tracingSnapshot;this.tracingSnapshot=null,i.run(jb.CHANGE_DETECTION,this._tick),i.dispose();return}if(this._runningTick)throw new U(101,!1);let n=ye(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,ye(n),this.afterTick.next()}});p(Pf,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof of;if(!this._injector.get(II).done){let m=!o&&OF(n),g=!1;throw new U(405,g)}let c;o?c=n:c=this._injector.get(bs).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=$2(c)?void 0:this._injector.get(Xn),u=i||c.selector,d=c.create(fe.NULL,[],u,l),f=d.location.nativeElement,h=d.injector.get(oy,null);return h==null||h.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),Bd(this.components,d),h==null||h.unregisterApplication(f)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Oa,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<z2;)this.synchronizeOnce()}synchronizeOnce(){var n,i,o,s;if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let c=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:l,notifyErrorHandler:u}of this.allViews)G2(l,u,c,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(i=(n=this._rendererFactory)==null?void 0:n.begin)==null||i.call(n),(s=(o=this._rendererFactory)==null?void 0:o.end)==null||s.call(o);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Tf(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;Bd(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(TI,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Bd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new U(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function Bd(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function G2(t,e,r,n){if(!r&&!Tf(t))return;QC(t,e,r&&!n?0:1)}function ge(t,e,r,n){let i=H(),o=go();if(yn(i,o,e)){let s=Be(),c=Tl();SV(c,i,t,e,r,n)}return ge}function AI(t,e,r,n){return yn(t,go(),r)?e+gn(r)+n:Lt}function q2(t,e,r,n,i,o){let s=Sb(),c=yl(t,s,r,i);return Sl(2),c?e+gn(r)+n+gn(i)+o:Lt}function Y2(t,e,r,n,i,o,s,c){let l=Sb(),u=wI(t,l,r,i,s);return Sl(3),u?e+gn(r)+n+gn(i)+o+gn(s)+c:Lt}function Z2(t,e,r,n,i,o,s,c,l,u){let d=Sb(),f=DI(t,d,r,i,s,l);return Sl(4),f?e+gn(r)+n+gn(i)+o+gn(s)+c+gn(l)+u:Lt}function Nd(t,e){return t<<17|e<<2}function Ms(t){return t>>17&32767}function K2(t){return(t&2)==2}function X2(t,e){return t&131071|e<<17}function zv(t){return t|2}function Na(t){return(t&131068)>>2}function zg(t,e){return t&-131069|e<<2}function Q2(t){return(t&1)===1}function Wv(t){return t|1}function J2(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,c=Ms(s),l=Na(s);t[n]=r;let u=!1,d;if(Array.isArray(r)){let f=r;d=f[1],(d===null||wl(f,d)>0)&&(u=!0)}else d=r;if(i)if(l!==0){let h=Ms(t[c+1]);t[n+1]=Nd(h,c),h!==0&&(t[h+1]=zg(t[h+1],n)),t[c+1]=X2(t[c+1],n)}else t[n+1]=Nd(c,0),c!==0&&(t[c+1]=zg(t[c+1],n)),c=n;else t[n+1]=Nd(l,0),c===0?c=n:t[l+1]=zg(t[l+1],n),l=n;u&&(t[n+1]=zv(t[n+1])),Mw(t,d,n,!0),Mw(t,d,n,!1),eB(e,d,t,n,o),s=Nd(c,l),o?e.classBindings=s:e.styleBindings=s}function eB(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&wl(o,e)>=0&&(r[n+1]=Wv(r[n+1]))}function Mw(t,e,r,n){let i=t[r+1],o=e===null,s=n?Ms(i):Na(i),c=!1;for(;s!==0&&(c===!1||o);){let l=t[s],u=t[s+1];tB(l,e)&&(c=!0,t[s+1]=n?Wv(u):zv(u)),s=n?Ms(u):Na(u)}c&&(t[r+1]=n?zv(i):Wv(i))}function tB(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?wl(t,e)>=0:!1}var bt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
vendor: 4,138 bytes, line 1
1;function MI(t){return t.substring(bt.key,bt.keyEnd)}function nB(t){return t.substring(bt.value,bt.valueEnd)}function rB(t){return OI(t),kI(t,Pa(t,0,bt.textEnd))}function kI(t,e){let r=bt.textEnd;return r===e?-1:(e=bt.keyEnd=oB(t,bt.key=e,r),Pa(t,e,r))}function iB(t){return OI(t),RI(t,Pa(t,0,bt.textEnd))}function RI(t,e){let r=bt.textEnd,n=bt.key=Pa(t,e,r);return r===n?-1:(n=bt.keyEnd=sB(t,n,r),n=kw(t,n,r,58),n=bt.value=Pa(t,n,r),n=bt.valueEnd=aB(t,n,r),kw(t,n,r,59))}function OI(t){bt.key=0,bt.keyEnd=0,bt.value=0,bt.valueEnd=0,bt.textEnd=t.length}function Pa(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function oB(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function sB(t,e,r){let n;for(;e<r&&((n=t.charCodeAt(e))===45||n===95||(n&-33)>=65&&(n&-33)<=90||n>=48&&n<=57);)e++;return e}function kw(t,e,r,n){return e=Pa(t,e,r),e<r&&e++,e}function aB(t,e,r){let n=-1,i=-1,o=-1,s=e,c=s;for(;s<r;){let l=t.charCodeAt(s++);if(l===59)return c;l===34||l===39?c=s=Rw(t,l,s,r):e===s-4&&o===85&&i===82&&n===76&&l===40?c=s=Rw(t,41,s,r):l>32&&(c=s),o=i,i=n,n=l&-33}return c}function Rw(t,e,r,n){let i=-1,o=r;for(;o<n;){let s=t.charCodeAt(o++);if(s==e&&i!==92)return o;s==92&&i===92?i=0:i=s}throw new Error}function ue(t,e,r){let n=H(),i=go();if(yn(n,i,e)){let o=Be(),s=Tl();Hf(o,s,n,t,e,n[Ye],r,!1)}return ue}function Gv(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";Qb(t,r,o[s],s,n)}function Pi(t,e,r){return PI(t,e,r,!1),Pi}function ae(t,e){return PI(t,e,null,!0),ae}function qle(t){cy(jI,cB,t,!1)}function cB(t,e){for(let r=iB(e);r>=0;r=RI(e,r))jI(t,MI(e),nB(e))}function En(t){cy(hB,NI,t,!0)}function NI(t,e){for(let r=rB(e);r>=0;r=kI(e,r))El(t,MI(e),!0)}function PI(t,e,r,n){let i=H(),o=Be(),s=Sl(2);if(o.firstUpdatePass&&LI(o,t,s,n),e!==Lt&&yn(i,s,e)){let c=o.data[Jn()];VI(o,c,i,i[Ye],t,i[s+1]=gB(e,r),n,s)}}function cy(t,e,r,n){let i=Be(),o=Sl(2);i.firstUpdatePass&&LI(i,null,o,n);let s=H();if(r!==Lt&&yn(s,o,r)){let c=i.data[Jn()];if(BI(c,n)&&!FI(i,o)){let l=n?c.classesWithoutHost:c.stylesWithoutHost;l!==null&&(r=Kg(l,r||"")),Gv(i,c,s,r,n)}else mB(i,c,s,s[Ye],s[o+1],s[o+1]=pB(t,e,r),n,o)}}function FI(t,e){return e>=t.expandoStartIndex}function LI(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Jn()],s=FI(t,r);BI(o,n)&&e===null&&!s&&(e=!1),e=lB(i,o,e,n),J2(i,o,e,r,s,n)}}function lB(t,e,r,n){let i=Tb(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=Wg(null,t,e,r,n),r=_l(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=Wg(i,t,e,r,n),o===null){let l=uB(t,e,n);l!==void 0&&Array.isArray(l)&&(l=Wg(null,t,e,l[1],n),l=_l(l,e.attrs,n),dB(t,e,n,l))}else o=fB(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function uB(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Na(n)!==0)return t[Ms(n)]}function dB(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Ms(i)]=n}function fB(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;n=_l(n,s,r)}return _l(n,e.attrs,r)}function Wg(t,e,r,n,i){let o=null,s=r.directiveEnd,c=r.directiveStylingLast;for(c===-1?c=r.directiveStart:c++;c<s&&(o=e[c],n=_l(n,o.hostAttrs,i),o!==t);)c++;return t!==null&&(r.directiveStylingLast=c),n}function _l(t,e,r){let n=r?1:2,i=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?i=s:i===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),El(t,s,r?!0:e[++o]))}return t===void 0?null:t}function pB(t,e,r){if(r==null||r==="")return $t;let n=[],i=Ln(r);if(Array.isArray(i))for(let o=0;o<i.length;o++)t(n,i[o],!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&t(n,o,i[o]);else typeof i=="string"&&e(n,i);return n}function jI(t,e,r){El(t,e,Ln(r))}function hB(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&El(t,n,r)}function mB(t,e,r,n,i,o,s,c){i===Lt&&(i=$t);let l=0,u=0,d=0<i.length?i[0]:null,f=0<o.length?o[0]:null;for(;d!==null||f!==null;){let h=l<i.length?i[l+1]:void 0,m=u<o.length?o[u+1]:void 0,g=null,_;d===f?(l+=2,u+=2,h!==m&&(g=f,_=m)):f===null||d!==null&&d<f?(l+=2,g=d):(u+=2,g=f,_=m),g!==null&&VI(t,e,r,n,g,_,s,c),d=l<i.length?i[l]:null,f=u<o.length?o[u]:null}}
1function VI(t,e,r,n,i,o,s,c){if(!(e.type&3))return;let l=t.data,u=l[c+1],d=Q2(u)?Ow(l,e,r,i,Na(u),s):void 0;if(!pf(d)){pf(o)||K2(u)&&(o=Ow(l,null,r,i,c,s));let f=mD(Jn(),r);Gj(n,s,f,i,o)}}function Ow(t,e,r,n,i,o){let s=e===null,c;for(;i>0;){let l=t[i],u=Array.isArray(l),d=u?l[1]:l,f=d===null,h=r[i+1];h===Lt&&(h=f?$t:void 0);let m=f?Fg(h,n):d===n?h:void 0;if(u&&!pf(m)&&(m=Fg(l,n)),pf(m)&&(c=m,s))return c;let g=t[i+1];i=s?Ms(g):Na(g)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(c=Fg(l,n))}return c}function pf(t){return t!==void 0}function gB(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=sn(Ln(t)))),t}function BI(t,e){return(t.flags&(e?8:16))!==0}function Yle(t,e,r){let n=H(),i=AI(n,t,e,r);cy(El,NI,i,!0)}function Zle(){return H()[bn][yt]}var qv=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),i=Math.max(e,r),o=this.detach(i);if(i-n>1){let s=this.detach(n);this.attach(n,o),this.attach(i,s)}else this.attach(n,o)}move(e,r){this.attach(r,this.detach(e))}};function Gg(t,e,r,n,i){return t===r&&Object.is(e,n)?1:Object.is(i(t,e),i(r,n))?-1:0}function vB(t,e,r){let n,i,o=0,s=t.length-1,c=void 0;if(Array.isArray(e)){let l=e.length-1;for(;o<=s&&o<=l;){let u=t.at(o),d=e[o],f=Gg(o,u,o,d,r);if(f!==0){f<0&&t.updateValue(o,d),o++;continue}let h=t.at(s),m=e[l],g=Gg(s,h,l,m,r);if(g!==0){g<0&&t.updateValue(s,m),s--,l--;continue}let _=r(o,u),x=r(s,h),S=r(o,d);if(Object.is(S,x)){let L=r(l,m);Object.is(L,_)?(t.swap(o,s),t.updateValue(s,m),l--,s--):t.move(s,o),t.updateValue(o,d),o++;continue}if(n!=null||(n=new hf),i!=null||(i=Pw(t,o,s,r)),Yv(t,n,o,S))t.updateValue(o,d),o++,s++;else if(i.has(S))n.set(_,t.detach(o)),s--;else{let L=t.create(o,e[o]);t.attach(o,L),o++,s++}}for(;o<=l;)Nw(t,n,r,o,e[o]),o++}else if(e!=null){let l=e[Symbol.iterator](),u=l.next();for(;!u.done&&o<=s;){let d=t.at(o),f=u.value,h=Gg(o,d,o,f,r);if(h!==0)h<0&&t.updateValue(o,f),o++,u=l.next();else{n!=null||(n=new hf),i!=null||(i=Pw(t,o,s,r));let m=r(o,f);if(Yv(t,n,o,m))t.updateValue(o,f),o++,s++,u=l.next();else if(!i.has(m))t.attach(o,t.create(o,f)),o++,s++,u=l.next();else{let g=r(o,d);n.set(g,t.detach(o)),s--}}}for(;!u.done;)Nw(t,n,r,t.length,u.value),u=l.next()}for(;o<=s;)t.destroy(t.detach(s--));n==null||n.forEach(l=>{t.destroy(l)})}function Yv(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function Nw(t,e,r,n,i){if(Yv(t,e,n,r(n,i)))t.updateValue(n,i);else{let o=t.create(n,i);t.attach(n,o)}}function Pw(t,e,r,n){let i=new Set;for(let o=e;o<=r;o++)i.add(n(o,t.at(o)));return i}var hf=class{constructor(){a(this,"kvMap",new Map);a(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,r)}}};function te(t,e){er("NgControlFlow");let r=H(),n=go(),i=r[n]!==Lt?r[n]:-1,o=i!==-1?mf(r,Ze+i):void 0,s=0;if(yn(r,n,t)){let c=ye(null);try{if(o!==void 0&&YC(o,s),t!==-1){let l=Ze+t,u=mf(r,l),d=Qv(r[re],l),f=Ra(u,d.tView.ssrId),h=Rl(r,d,e,{dehydratedView:f});Ol(u,h,s,ka(d,f))}}finally{ye(c)}}else if(o!==void 0){let c=qC(o,s);c!==void 0&&(c[yt]=e)}}var Zv=class{constructor(e,r,n){a(this,"lContainer");a(this,"$implicit");a(this,"$index");this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-zt}};function Kle(t){return t}function UI(t,e){return e}var Kv=class{constructor(e,r,n){a(this,"hasEmptyBlock");a(this,"trackByFn");a(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function HI(t,e,r,n,i,o,s,c,l,u,d,f,h){er("NgControlFlow");let m=H(),g=Be(),_=l!==void 0,x=H(),S=c?s.bind(x[bn][yt]):s,L=new Kv(_,S);x[Ze+t]=L,df(m,g,t+1,e,r,n,i,fo(g.consts,o)),_&&df(m,g,t+2,l,u,d,f,fo(g.consts,h))}var Xv=class extends qv{constructor(r,n,i){super();a(this,"lContainer");a(this,"hostLView");a(this,"templateTNode");a(this,"operationsCounter");a(this,"needsIndexUpdate",!1);this.lContainer=r,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-zt}at(r){return this.getLView(r)[yt].$implicit}attach(r,n){let i=n[Sa];this.needsIndexUpdate||(this.needsIndexUpdate=r!==this.length),Ol(this.lContainer,n,r,ka(this.templateTNode,i))}detach(r){return this.needsIndexUpdate||(this.needsIndexUpdate=r!==this.length-1),bB(this.lContainer,r)}create(r,n){var s;let i=Ra(this.lContainer,this.templateTNode.tView.ssrId),o=Rl(this.hostLView,this.templateTNode,new Zv(this.lContainer,n,r),{dehydratedView:i});return(s=this.operationsCounter)==null||s.recordCreate(),o}destroy(r){var n;jf(r[re],r),(n=this.operationsCounter)==null||n.recordDestroy()}updateValue(r,n){this.getLView(r)[yt].$implicit=n}reset(){var r;this.needsIndexUpdate=!1,(r=this.operationsCounter)==null||r.reset()}
1updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r<this.length;r++)this.getLView(r)[yt].$index=r}getLView(r){return yB(this.lContainer,r)}};function $I(t){let e=ye(null),r=Jn();try{let i=H(),o=i[re],s=i[r],c=r+1,l=mf(i,c);if(s.liveCollection===void 0){let d=Qv(o,c);s.liveCollection=new Xv(l,i,d)}else s.liveCollection.reset();let u=s.liveCollection;if(vB(u,t,s.trackByFn),u.updateIndexes(),s.hasEmptyBlock){let d=go(),f=u.length===0;if(yn(i,d,f)){let h=r+2,m=mf(i,h);if(f){let g=Qv(o,h),_=Ra(m,g.tView.ssrId),x=Rl(i,g,void 0,{dehydratedView:_});Ol(m,x,0,ka(g,_))}else YC(m,0)}}}finally{ye(e)}}function mf(t,e){return t[e]}function bB(t,e){return bl(t,e)}function yB(t,e){return qC(t,e)}function Qv(t,e){return Eb(t,e)}function _B(t,e,r,n,i,o){let s=e.consts,c=fo(s,i),l=Os(e,t,2,n,c);return Xb(e,r,l,fo(s,o)),l.attrs!==null&&sf(l,l.attrs,!1),l.mergedAttrs!==null&&sf(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function C(t,e,r,n){let i=H(),o=Be(),s=Ze+t,c=i[Ye],l=o.firstCreatePass?_B(s,o,i,e,r,n):o.data[s],u=xB(o,i,l,c,e,t);i[s]=u;let d=Sf(l);return ho(l,!0),MC(c,u,l),!L2(l)&&kf()&&Vf(o,i,u,l),tL()===0&&Kn(u,i),nL(),d&&(Yb(o,i,l),qb(o,l,i)),n!==null&&Zb(i,l),C}function I(){let t=Et();Cb()?Ib():(t=t.parent,ho(t,!1));let e=t;iL(e)&&oL(),rL();let r=Be();return r.firstCreatePass&&(Of(r,t),xb(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&bL(e)&&Gv(r,e,H(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&yL(e)&&Gv(r,e,H(),e.stylesWithoutHost,!1),I}function j(t,e,r,n){return C(t,e,r,n),I(),j}var xB=(t,e,r,n,i,o)=>(Rf(!0),_C(n,i,hL()));function EB(t,e,r,n,i){let o=e.consts,s=fo(o,n),c=Os(e,t,8,"ng-container",s);s!==null&&sf(c,s,!0);let l=fo(o,i);return Xb(e,r,c,l),e.queries!==null&&e.queries.elementStart(e,c),c}function zI(t,e,r){let n=H(),i=Be(),o=t+Ze,s=i.firstCreatePass?EB(o,i,n,e,r):i.data[o];ho(s,!0);let c=DB(i,n,s,t);return n[o]=c,kf()&&Vf(i,n,c,s),Kn(c,n),Sf(s)&&(Yb(i,n,s),qb(i,s,n)),r!=null&&Zb(n,s),zI}function WI(){let t=Et(),e=Be();return Cb()?Ib():(t=t.parent,ho(t,!1)),e.firstCreatePass&&(Of(e,t),xb(t)&&e.queries.elementEnd(t)),WI}function wB(t,e,r){return zI(t,e,r),WI(),wB}var DB=(t,e,r,n)=>(Rf(!0),Rj(e[Ye],""));function Me(){return H()}function bo(t,e,r){let n=H(),i=go();if(yn(n,i,e)){let o=Be(),s=Tl();Hf(o,s,n,t,e,n[Ye],r,!0)}return bo}function ly(t,e,r){let n=H(),i=go();if(yn(n,i,e)){let o=Be(),s=Tl(),c=Tb(o.data),l=WC(c,s,n);Hf(o,s,n,t,e,l,r,!0)}return ly}var ms=void 0;function CB(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var IB=["en",[["a","p"],["AM","PM"],ms],[["AM","PM"],ms,ms],[["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"]],ms,[["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"]],ms,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ms,"{1} 'at' {0}",ms],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",CB],qg={};function Bn(t){let e=SB(t),r=Fw(e);if(r)return r;let n=e.split("-")[0];if(r=Fw(n),r)return r;if(n==="en")return IB;throw new U(701,!1)}function Fw(t){return t in qg||(qg[t]=St.ng&&St.ng.common&&St.ng.common.locales&&St.ng.common.locales[t]),qg[t]}var Je=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}(Je||{});function SB(t){return t.toLowerCase().replace(/_/g,"-")}var gf="en-US";var TB=gf;function AB(t){typeof t=="string"&&(TB=t.toLowerCase().replace(/_/g,"-"))}var MB=(t,e,r)=>{};function J(t,e,r,n){let i=H(),o=Be(),s=Et();return dy(o,i,i[Ye],s,t,e,n),J}
vendor: 6,081 bytes, line 1
1function uy(t,e){let r=Et(),n=H(),i=Be(),o=Tb(i.data),s=WC(o,r,n);return dy(i,n,s,r,t,e),uy}function kB(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===r&&i[o+1]===n){let c=e[wa],l=i[o+2];return c.length>l?c[l]:null}typeof s=="string"&&(o+=2)}return null}function dy(t,e,r,n,i,o,s){let c=Sf(n),u=t.firstCreatePass&&zC(t),d=e[yt],f=$C(e),h=!0;if(n.type&3||s){let _=Qn(n,e),x=s?s(_):_,S=f.length,L=s?W=>s(Pn(W[n.index])):n.index,Ie=null;if(!s&&c&&(Ie=kB(t,e,i,n.index)),Ie!==null){let W=Ie.__ngLastListenerFn__||Ie;W.__ngNextListenerFn__=o,Ie.__ngLastListenerFn__=o,h=!1}else{o=jw(n,e,d,o),MB(_,i,o);let W=r.listen(x,i,o);f.push(o,W),u&&u.push(i,L,S,S+1)}}else o=jw(n,e,d,o);let m=n.outputs,g;if(h&&m!==null&&(g=m[i])){let _=g.length;if(_)for(let x=0;x<_;x+=2){let S=g[x],L=g[x+1],nt=e[S][L].subscribe(o),kn=f.length;f.push(o,nt),u&&u.push(i,n.index,kn,-(kn+1))}}}function Lw(t,e,r,n){let i=ye(null);try{return Kr(6,e,r),r(n)!==!1}catch(o){return GC(t,o),!1}finally{Kr(7,e,r),ye(i)}}function jw(t,e,r,n){return function i(o){if(o===Function)return n;let s=t.componentOffset>-1?Qr(t.index,e):e;ey(s,5);let c=Lw(e,r,n,o),l=i.__ngNextListenerFn__;for(;l;)c=Lw(e,r,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function $(t=1){return fL(t)}function RB(t,e){let r=null,n=Jj(t);for(let i=0;i<e.length;i++){let o=e[i];if(o==="*"){r=i;continue}if(n===null?RC(t,o,!0):nV(n,o))return i}return r}function et(t){let e=H()[bn][_n];if(!e.projection){let r=t?t.length:1,n=e.projection=MF(r,null),i=n.slice(),o=e.child;for(;o!==null;){if(o.type!==128){let s=t?RB(o,t):0;s!==null&&(i[s]?i[s].projectionNext=o:n[s]=o,i[s]=o)}o=o.next}}}function ke(t,e=0,r,n,i,o){let s=H(),c=Be(),l=n?t+1:null;l!==null&&df(s,c,l,n,i,o,null,r);let u=Os(c,Ze+t,16,null,r||null);u.projection===null&&(u.projection=e),Ib();let f=!s[Sa]||yD();s[bn][_n].projection[u.projection]===null&&l!==null?OB(s,c,l):f&&(u.flags&32)!==32&&zj(c,s,u)}function OB(t,e,r){let n=Ze+r,i=e.data[n],o=t[n],s=Ra(o,i.tView.ssrId),c=Rl(t,i,void 0,{dehydratedView:s});Ol(o,c,0,ka(i,s))}function Yf(t,e,r,n){aI(t,e,r,n)}function Yt(t,e,r){sI(t,e,r)}function wt(t){let e=H(),r=Be(),n=Ab();Af(n+1);let i=ny(r,n);if(t.dirty&&XF(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=lI(e,n);t.reset(o,YD),t.notifyOnChanges()}return!0}return!1}function Dt(){return ty(H(),Ab())}function Xle(t,e,r,n,i){mI(e,aI(t,r,n,i))}function Ll(t,e,r,n){mI(t,sI(e,r,n))}function GI(t=1){Af(Ab()+t)}function fy(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function Zf(t){let e=xD();return Cl(e,Ze+t)}function K(t,e=""){let r=H(),n=Be(),i=t+Ze,o=n.firstCreatePass?Os(n,i,1,e,null):n.data[i],s=NB(n,r,o,e,t);r[i]=s,kf()&&Vf(n,r,s,o),ho(o,!1)}var NB=(t,e,r,n,i)=>(Rf(!0),Mj(e[Ye],n));function Re(t){return Se("",t,""),Re}function Se(t,e,r){let n=H(),i=AI(n,t,e,r);return i!==Lt&&zf(n,Jn(),i),Se}function jl(t,e,r,n,i){let o=H(),s=q2(o,t,e,r,n,i);return s!==Lt&&zf(o,Jn(),s),jl}function PB(t,e,r,n,i,o,s){let c=H(),l=Y2(c,t,e,r,n,i,o,s);return l!==Lt&&zf(c,Jn(),l),PB}function FB(t,e,r,n,i,o,s,c,l){let u=H(),d=Z2(u,t,e,r,n,i,o,s,c,l);return d!==Lt&&zf(u,Jn(),d),FB}function py(t,e,r){dI(e)&&(e=e());let n=H(),i=go();if(yn(n,i,e)){let o=Be(),s=Tl();Hf(o,s,n,t,e,n[Ye],r,!1)}return py}function qI(t,e){let r=dI(t);return r&&t.set(e),r}function hy(t,e){let r=H(),n=Be(),i=Et();return dy(n,r,r[Ye],i,t,e),hy}var YI={};function LB(t){let e=Be(),r=H(),n=t+Ze,i=Os(e,n,128,null,null);return ho(i,!1),fy(e,r,n,YI),LB}function Qle(t){er("NgLet");let e=Be(),r=H(),n=Jn();return fy(e,r,n,t),t}function Jle(t){let e=xD(),r=Cl(e,Ze+t);if(r===YI)throw new U(314,!1);return r}function jB(t,e,r){let n=Be();if(n.firstCreatePass){let i=Ai(t);Jv(r,n.data,n.blueprint,i,!0),Jv(e,n.data,n.blueprint,i,!1)}}function Jv(t,e,r,n,i){if(t=Pt(t),Array.isArray(t))for(let o=0;o<t.length;o++)Jv(t[o],e,r,n,i);else{let o=Be(),s=H(),c=Et(),l=Ia(t)?t:Pt(t.provide),u=aD(t),d=c.providerIndexes&1048575,f=c.directiveStart,h=c.providerIndexes>>20;if(Ia(t)||!t.multi){let m=new Cs(u,i,w),g=Zg(l,e,i?d:d+h,f);g===-1?(dv(Qd(c,s),o,l),Yg(o,t,e.length),e.push(l),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),r.push(m),s.push(m)):(r[g]=m,s[g]=m)}else{let m=Zg(l,e,d+h,f),g=Zg(l,e,d,d+h),_=m>=0&&r[m],x=g>=0&&r[g];if(i&&!x||!i&&!_){dv(Qd(c,s),o,l);let S=UB(i?BB:VB,r.length,i,n,u);!i&&x&&(r[g].providerFactory=S),Yg(o,t,e.length,0),e.push(l),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),r.push(S),s.push(S)}else{let S=ZI(r[i?g:m],u,!i&&n);Yg(o,t,m>-1?m:g,S)}!i&&n&&x&&r[g].componentProviders++}}}function Yg(t,e,r,n){let i=Ia(e),o=jF(e);if(i||o){let l=(o?Pt(e.useClass):e).prototype.ngOnDestroy;if(l){let u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let d=u.indexOf(r);d===-1?u.push(r,[n,l]):u[d+1].push(n,l)}else u.push(r,l)}}}function ZI(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Zg(t,e,r,n){for(let i=r;i<n;i++)if(e[i]===t)return i;return-1}function VB(t,e,r,n){return eb(this.multi,[])}function BB(t,e,r,n){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,c=Is(r,r[re],this.providerFactory.index,n);o=c.slice(0,s),eb(i,o);for(let l=s;l<c.length;l++)o.push(c[l])}else o=[],eb(i,o);return o}function eb(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function UB(t,e,r,n,i){let o=new Cs(t,r,w);return o.multi=[],o.index=e,o.componentProviders=0,ZI(o,i,n&&!r),o}function We(t,e=[]){return r=>{r.providersResolver=(n,i)=>jB(n,i?i(t):t,e)}}function eue(t,e,r){let n=mo()+t,i=H();return i[n]===Lt?Pl(i,n,r?e.call(r):e()):F2(i,n)}function KI(t,e,r,n){return XI(H(),mo(),t,e,r,n)}function tue(t,e,r,n,i){return QI(H(),mo(),t,e,r,n,i)}function nue(t,e,r,n,i,o){return JI(H(),mo(),t,e,r,n,i,o)}function rue(t,e,r,n,i,o,s){return HB(H(),mo(),t,e,r,n,i,o,s)}function Kf(t,e){let r=t[e];return r===Lt?void 0:r}function XI(t,e,r,n,i,o){let s=e+r;return yn(t,s,i)?Pl(t,s+1,o?n.call(o,i):n(i)):Kf(t,s+1)}function QI(t,e,r,n,i,o,s){let c=e+r;return yl(t,c,i,o)?Pl(t,c+2,s?n.call(s,i,o):n(i,o)):Kf(t,c+2)}
1function JI(t,e,r,n,i,o,s,c){let l=e+r;return wI(t,l,i,o,s)?Pl(t,l+3,c?n.call(c,i,o,s):n(i,o,s)):Kf(t,l+3)}function HB(t,e,r,n,i,o,s,c,l){let u=e+r;return DI(t,u,i,o,s,c)?Pl(t,u+4,l?n.call(l,i,o,s,c):n(i,o,s,c)):Kf(t,u+4)}function z(t,e){var l;let r=Be(),n,i=t+Ze;r.firstCreatePass?(n=$B(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&((l=r.destroyHooks)!=null?l:r.destroyHooks=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=ys(n.type,!0)),s,c=mn(w);try{let u=Xd(!1),d=o();return Xd(u),fy(r,H(),i,d),d}finally{mn(c)}}function $B(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function G(t,e,r){let n=t+Ze,i=H(),o=Cl(i,n);return gy(i,n)?XI(i,mo(),e,o.transform,r,o):o.transform(r)}function my(t,e,r,n){let i=t+Ze,o=H(),s=Cl(o,i);return gy(o,i)?QI(o,mo(),e,s.transform,r,n,s):s.transform(r,n)}function iue(t,e,r,n,i){let o=t+Ze,s=H(),c=Cl(s,o);return gy(s,o)?JI(s,mo(),e,c.transform,r,n,i,c):c.transform(r,n,i)}function gy(t,e){return t[re].data[e].pure}function oue(t,e){return Wf(t,e)}var tb=class{constructor(e,r){a(this,"ngModuleFactory");a(this,"componentFactories");this.ngModuleFactory=e,this.componentFactories=r}},sue=(()=>{let e=class e{compileModuleSync(n){return new Hv(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=nD(n),s=yC(o.declarations).reduce((c,l)=>{let u=Si(l);return u&&c.push(new As(u)),c},[]);return new tb(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var zB=(()=>{let e=class e{constructor(){a(this,"zone",p(F));a(this,"changeDetectionScheduler",p(Ss));a(this,"applicationRef",p(nr));a(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function WB({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return t!=null||(t=()=>new F(ve(T({},GB()),{scheduleInRootZone:r}))),[{provide:F,useFactory:t},{provide:_s,multi:!0,useFactory:()=>{let n=p(zB,{optional:!0});return()=>n.initialize()}},{provide:_s,multi:!0,useFactory:()=>{let n=p(qB);return()=>{n.initialize()}}},e===!0?{provide:$D,useValue:!0}:[],{provide:zD,useValue:r!=null?r:HD}]}function GB(t){var e,r;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e=t==null?void 0:t.eventCoalescing)!=null?e:!1,shouldCoalesceRunChangeDetection:(r=t==null?void 0:t.runCoalescing)!=null?r:!1}}var qB=(()=>{let e=class e{constructor(){a(this,"subscription",new ce);a(this,"initialized",!1);a(this,"zone",p(F));a(this,"pendingTasks",p(vo))}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{F.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{F.assertInAngularZone(),n!=null||(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var YB=(()=>{var e,r,n;let i=class i{constructor(){a(this,"appRef",p(nr));a(this,"taskService",p(vo));a(this,"ngZone",p(F));a(this,"zonelessEnabled",p(Ob));a(this,"tracing",p(Pf,{optional:!0}));a(this,"disableScheduling",(e=p($D,{optional:!0}))!=null?e:!1);
1a(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);a(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);a(this,"subscriptions",new ce);a(this,"angularZoneId",this.zoneIsDefined?(r=this.ngZone._inner)==null?void 0:r.get(ef):null);a(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&((n=p(zD,{optional:!0}))!=null?n:!1));a(this,"cancelScheduledCallback",null);a(this,"useMicrotaskScheduler",!1);a(this,"runningTick",!1);a(this,"pendingRenderTaskId",null);this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof mv||!this.zoneIsDefined))}notify(s){var u,d;if(!this.zonelessEnabled&&s===5)return;let c=!1;switch(s){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,c=!0;break}case 13:{this.appRef.dirtyFlags|=16,c=!0;break}case 14:{this.appRef.dirtyFlags|=2,c=!0;break}case 12:{c=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=(d=(u=this.tracing)==null?void 0:u.snapshot(this.appRef.tracingSnapshot))!=null?d:null,!this.shouldScheduleTick(c))return;let l=this.useMicrotaskScheduler?nw:WD;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>l(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>l(()=>this.tick()))}shouldScheduleTick(s){return!(this.disableScheduling&&!s||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&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 s=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(c){throw this.taskService.remove(s),c}finally{this.cleanup()}this.useMicrotaskScheduler=!0,nw(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(s)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var s;if(this.runningTick=!1,(s=this.cancelScheduledCallback)==null||s.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let c=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(c)}}};a(i,"\u0275fac",function(c){return new(c||i)}),a(i,"\u0275prov",y({token:i,factory:i.\u0275fac,providedIn:"root"}));let t=i;return t})();function ZB(){return typeof $localize<"u"&&$localize.locale||gf}var yo=new b("",{providedIn:"root",factory:()=>p(yo,De.Optional|De.SkipSelf)||ZB()});var nb=new b("");function Pd(t){return!t.moduleRef}function KB(t){let e=Pd(t)?t.r3Injector:t.moduleRef.injector,r=e.get(F);return r.run(()=>{Pd(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=e.get(_t,null),i;if(r.runOutsideAngular(()=>{i=r.onError.subscribe({next:o=>{n.handleError(o)}})}),Pd(t)){let o=()=>e.destroy(),s=t.platformInjector.get(nb);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(nb);s.add(o),t.moduleRef.onDestroy(()=>{Bd(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return W2(n,r,()=>{let o=e.get(II);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(yo,gf);if(AB(s||gf),Pd(t)){let c=e.get(nr);return t.rootComponent!==void 0&&c.bootstrap(t.rootComponent),c}else return XB(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function XB(t,e){let r=t.injector.get(nr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(r);else throw new U(-403,!1);e.push(t)}var Ud=null;function QB(t=[],e){return fe.create({name:e,providers:[{provide:wf,useValue:"platform"},{provide:nb,useValue:new Set([()=>Ud=null])},...t]})}function JB(t=[]){if(Ud)return Ud;let e=QB(t);return Ud=e,H2(),eU(e),e}function eU(t){let e=t.get(Lb,null);Cf(t,()=>{e==null||e.forEach(r=>r())})}function vy(){return!1}var Ne=(()=>{class t{}return a(t,"__NG_ELEMENT_ID__",tU),t})();
vendor: 8,192 bytes, line 1
1function tU(t){return nU(Et(),H(),(t&16)===16)}function nU(t,e,r){if(If(t)&&!r){let n=Qr(t.index,e);return new Ts(n,n)}else if(t.type&175){let n=e[bn];return new Ts(n,e)}return null}var rb=class{constructor(){}supports(e){return EI(e)}create(e){return new ib(e)}},rU=(t,e)=>e,ib=class{constructor(e){a(this,"length",0);a(this,"collection");a(this,"_linkedRecords",null);a(this,"_unlinkedRecords",null);a(this,"_previousItHead",null);a(this,"_itHead",null);a(this,"_itTail",null);a(this,"_additionsHead",null);a(this,"_additionsTail",null);a(this,"_movesHead",null);a(this,"_movesTail",null);a(this,"_removalsHead",null);a(this,"_removalsTail",null);a(this,"_identityChangesHead",null);a(this,"_identityChangesTail",null);a(this,"_trackByFn");this._trackByFn=e||rU}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex<Vw(n,i,o)?r:n,c=Vw(s,i,o),l=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(r=r._next,s.previousIndex==null)i++;else{o||(o=[]);let u=c-i,d=l-i;if(u!=d){for(let h=0;h<u;h++){let m=h<o.length?o[h]:o[h]=0,g=m+h;d<=g&&g<u&&(o[h]=m+1)}let f=s.previousIndex;o[f]=d-u}}c!==l&&e(s,c,l)}}forEachPreviousItem(e){let r;for(r=this._previousItHead;r!==null;r=r._nextPrevious)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachMovedItem(e){let r;for(r=this._movesHead;r!==null;r=r._nextMoved)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}forEachIdentityChange(e){let r;for(r=this._identityChangesHead;r!==null;r=r._nextIdentityChange)e(r)}diff(e){if(e==null&&(e=[]),!EI(e))throw new U(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._itHead,n=!1,i,o,s;if(Array.isArray(e)){this.length=e.length;for(let c=0;c<this.length;c++)o=e[c],s=this._trackByFn(c,o),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,o,s,c),n=!0):(n&&(r=this._verifyReinsertion(r,o,s,c)),Object.is(r.item,o)||this._addIdentityChange(r,o)),r=r._next}else i=0,P2(e,c=>{s=this._trackByFn(i,c),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,c,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,c,s,i)),Object.is(r.item,c)||this._addIdentityChange(r,c)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new ob(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}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(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new vf),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new vf),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},ob=class{constructor(e,r){a(this,"item");a(this,"trackById");a(this,"currentIndex",null);a(this,"previousIndex",null);a(this,"_nextPrevious",null);a(this,"_prev",null);a(this,"_next",null);a(this,"_prevDup",null);a(this,"_nextDup",null);a(this,"_prevRemoved",null);a(this,"_nextRemoved",null);a(this,"_nextAdded",null);a(this,"_nextMoved",null);a(this,"_nextIdentityChange",null);this.item=e,this.trackById=r}},sb=class{constructor(){a(this,"_head",null);a(this,"_tail",null)}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},vf=class{constructor(){a(this,"map",new Map)}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new sb,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Vw(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n<r.length&&(i=r[n]),n+e+i}var ab=class{constructor(){}supports(e){return e instanceof Map||iy(e)}create(){return new cb}},cb=class{constructor(){a(this,"_records",new Map);a(this,"_mapHead",null);a(this,"_appendAfter",null);a(this,"_previousMapHead",null);a(this,"_changesHead",null);a(this,"_changesTail",null);a(this,"_additionsHead",null);a(this,"_additionsTail",null);a(this,"_removalsHead",null);a(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let r;for(r=this._mapHead;r!==null;r=r._next)e(r)}forEachPreviousItem(e){let r;for(r=this._previousMapHead;r!==null;r=r._nextPrevious)e(r)}forEachChangedItem(e){let r;for(r=this._changesHead;r!==null;r=r._nextChanged)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||iy(e)))throw new U(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._mapHead;
1if(this._appendAfter=null,this._forEach(e,(n,i)=>{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,r);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let n=new lb(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},lb=class{constructor(e){a(this,"key");a(this,"previousValue",null);a(this,"currentValue",null);a(this,"_nextPrevious",null);a(this,"_next",null);a(this,"_prev",null);a(this,"_nextAdded",null);a(this,"_nextRemoved",null);a(this,"_nextChanged",null);this.key=e}};function Bw(){return new Vl([new rb])}var Vl=(()=>{let e=class e{constructor(n){a(this,"factories");this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Bw()),deps:[[e,new gb,new Fa]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new U(901,!1)}};a(e,"\u0275prov",y({token:e,providedIn:"root",factory:Bw}));let t=e;return t})();function Uw(){return new Xf([new ab])}var Xf=(()=>{let e=class e{constructor(n){a(this,"factories");this.factories=n}static create(n,i){if(i){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Uw()),deps:[[e,new gb,new Fa]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i)return i;throw new U(901,!1)}};a(e,"\u0275prov",y({token:e,providedIn:"root",factory:Uw}));let t=e;return t})();var eS=(()=>{let e=class e{constructor(n){}};a(e,"\u0275fac",function(i){return new(i||e)(E(nr))}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({}));let t=e;return t})();function tS(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=JB(n),o=[WB({}),{provide:Ss,useExisting:YB},...r||[]],s=new uf({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return KB({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}}function be(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function _o(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function rr(t,e){er("NgSignals");let r=Ng(t);return e!=null&&e.equal&&(r[Nt].equal=e.equal),r}function jt(t){let e=ye(null);try{return t()}finally{ye(e)}}var nS=(()=>{class t{constructor(r,n){a(this,"view");a(this,"node");this.view=r,this.node=n}}return a(t,"__NG_ELEMENT_ID__",iU),t})();function iU(){return new nS(H(),Et())}var oU=!1,sU=(()=>{let e=class e extends ff{constructor(){super(...arguments);a(this,"pendingTasks",p(vo));a(this,"taskId",null)}schedule(i){super.schedule(i),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}};a(e,"\u0275prov",y({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})(),ub=class{constructor(e,r,n,i,o,s){a(this,"scheduler");a(this,"effectFn");a(this,"zone");a(this,"injector");a(this,"unregisterOnDestroy");a(this,"watcher");
1this.scheduler=e,this.effectFn=r,this.zone=n,this.injector=o,this.watcher=$E(c=>this.runEffect(c),()=>this.schedule(),s),this.unregisterOnDestroy=i==null?void 0:i.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){let n=this.injector.get(_t,null,{optional:!0});n==null||n.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){var e;this.watcher.destroy(),(e=this.unregisterOnDestroy)==null||e.call(this)}};function aU(){}function rS(t,e){var s,c,l,u;er("NgSignals"),!(e!=null&&e.injector)&&Rs(aU);let r=(s=e==null?void 0:e.injector)!=null?s:p(fe),n=(e==null?void 0:e.manualCleanup)!==!0?r.get(ni):null,i=new ub(r.get(sU),t,typeof Zone>"u"?null:Zone.current,n,r,(c=e==null?void 0:e.allowSignalWrites)!=null?c:!1),o=r.get(Ne,null,{optional:!0});return!o||!(o._lView[X]&8)?i.watcher.notify():((u=(l=o._lView)[Da])!=null?u:l[Da]=[]).push(i.watcher.notify),i}var cU=oU;var $w;$w=Nt;var db=class{constructor(e){a(this,$w);this[Nt]=e}destroy(){this[Nt].destroy()}};function Bl(t,e){var c;if(cU)return rS(t,e);er("NgSignals"),!(e!=null&&e.injector)&&Rs(Bl);let r=(c=e==null?void 0:e.injector)!=null?c:p(fe),n=(e==null?void 0:e.manualCleanup)!==!0?r.get(ni):null,i,o=r.get(nS,null,{optional:!0}),s=r.get(Ss);return o!==null&&!(e!=null&&e.forceRoot)?(i=dU(o.view,s,t),n instanceof Jd&&n._lView===o.view&&(n=null)):i=fU(t,r.get(SI),s),i.injector=r,n!==null&&(i.onDestroyFn=n.onDestroy(()=>i.destroy())),new db(i)}var iS=ve(T({},hs),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:vl,run(){if(this.dirty=!1,this.hasRun&&!al(this))return;this.hasRun=!0;let t=n=>{var i;return((i=this.cleanupFns)!=null?i:this.cleanupFns=[]).push(n)},e=ga(this),r=Yd(!1);try{this.maybeCleanup(),this.fn(t)}finally{Yd(r),sl(this,e)}},maybeCleanup(){var t;if((t=this.cleanupFns)!=null&&t.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),lU=ve(T({},iS),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){va(this),this.onDestroyFn(),this.maybeCleanup()}}),uU=ve(T({},iS),{consumerMarkedDirty(){this.view[X]|=8192,Il(this.view),this.notifier.notify(14)},destroy(){var t;va(this),this.onDestroyFn(),this.maybeCleanup(),(t=this.view[Di])==null||t.delete(this)}});function dU(t,e,r){var i;let n=Object.create(uU);return n.view=t,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=e,n.fn=r,(i=t[Di])!=null||(t[Di]=new Set),t[Di].add(n),n.consumerMarkedDirty(n),n}function fU(t,e,r){let n=Object.create(lU);
1return n.fn=t,n.scheduler=e,n.notifier=r,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(13),n}function Qf(t,e){let r=Si(t),n=e.elementInjector||Df();return new As(r).create(n,e.projectableNodes,e.hostElement,e.environmentInjector)}function aue(t){let e=Si(t);if(!e)return null;let r=new As(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var op=null;function ri(){return op}function hS(t){op!=null||(op=t)}var ap=class{};var ee=new b(""),ky=(()=>{let e=class e{historyGo(n){throw new Error("")}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:()=>p(pU),providedIn:"platform"}));let t=e;return t})(),Sue=new b(""),pU=(()=>{let e=class e extends ky{constructor(){super();a(this,"_location");a(this,"_history");a(this,"_doc",p(ee));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ri().getBaseHref(this._doc)}onPopState(i){let o=ri().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",i,!1),()=>o.removeEventListener("popstate",i)}onHashChange(i){let o=ri().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",i,!1),()=>o.removeEventListener("hashchange",i)}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(i){this._location.pathname=i}pushState(i,o,s){this._history.pushState(i,o,s)}replaceState(i,o,s){this._history.replaceState(i,o,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}};a(e,"\u0275fac",function(o){return new(o||e)}),a(e,"\u0275prov",y({token:e,factory:()=>new e,providedIn:"platform"}));let t=e;return t})();function Ry(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function oS(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function Li(t){return t&&t[0]!=="?"?"?"+t:t}var dp=(()=>{let e=class e{historyGo(n){throw new Error("")}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:()=>p(hU),providedIn:"root"}));let t=e;return t})(),mS=new b(""),hU=(()=>{let e=class e extends dp{constructor(i,o){var s,c,l;super();a(this,"_platformLocation");a(this,"_baseHref");a(this,"_removeListenerFns",[]);this._platformLocation=i,this._baseHref=(l=(c=o!=null?o:this._platformLocation.getBaseHrefFromDOM())!=null?c:(s=p(ee).location)==null?void 0:s.origin)!=null?l:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}prepareExternalUrl(i){return Ry(this._baseHref,i)}path(i=!1){let o=this._platformLocation.pathname+Li(this._platformLocation.search),s=this._platformLocation.hash;return s&&i?"".concat(o).concat(s):o}pushState(i,o,s,c){let l=this.prepareExternalUrl(s+Li(c));this._platformLocation.pushState(i,o,l)}replaceState(i,o,s,c){let l=this.prepareExternalUrl(s+Li(c));this._platformLocation.replaceState(i,o,l)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){var o,s;(s=(o=this._platformLocation).historyGo)==null||s.call(o,i)}};a(e,"\u0275fac",function(o){return new(o||e)(E(ky),E(mS,8))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),Tue=(()=>{let e=class e extends dp{constructor(i,o){super();a(this,"_platformLocation");a(this,"_baseHref","");a(this,"_removeListenerFns",[]);this._platformLocation=i,o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.on
1HashChange(i))}getBaseHref(){return this._baseHref}path(i=!1){var s;let o=(s=this._platformLocation.hash)!=null?s:"#";return o.length>0?o.substring(1):o}prepareExternalUrl(i){let o=Ry(this._baseHref,i);return o.length>0?"#"+o:o}pushState(i,o,s,c){let l=this.prepareExternalUrl(s+Li(c));l.length==0&&(l=this._platformLocation.pathname),this._platformLocation.pushState(i,o,l)}replaceState(i,o,s,c){let l=this.prepareExternalUrl(s+Li(c));l.length==0&&(l=this._platformLocation.pathname),this._platformLocation.replaceState(i,o,l)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){var o,s;(s=(o=this._platformLocation).historyGo)==null||s.call(o,i)}};a(e,"\u0275fac",function(o){return new(o||e)(E(ky),E(mS,8))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),Oy=(()=>{let e=class e{constructor(n){a(this,"_subject",new A);a(this,"_basePath");a(this,"_locationStrategy");a(this,"_urlChangeListeners",[]);a(this,"_urlChangeSubscription",null);this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=vU(oS(sS(i))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+Li(i))}normalize(n){return e.stripTrailingSlash(gU(this._basePath,sS(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Li(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Li(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var i,o;(o=(i=this._locationStrategy).historyGo)==null||o.call(i,n)}onUrlChange(n){var i;return this._urlChangeListeners.push(n),(i=this._urlChangeSubscription)!=null||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{var s;let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&((s=this._urlChangeSubscription)==null||s.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i!=null?i:void 0,complete:o!=null?o:void 0})}};a(e,"normalizeQueryParams",Li),a(e,"joinWithSlash",Ry),a(e,"stripTrailingSlash",oS),a(e,"\u0275fac",function(i){return new(i||e)(E(dp))}),a(e,"\u0275prov",y({token:e,factory:()=>mU(),providedIn:"root"}));let t=e;return t})();function mU(){return new Oy(E(dp))}function gU(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function sS(t){return t.replace(/\/index.html$/,"")}function vU(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var Ny=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Ny||{});var an=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(an||{}),Ue=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(Ue||{}),Un=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(Un||{}),Vt={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 bU(t){return Bn(t)[Je.LocaleId]}function yU(t,e,r){let n=Bn(t),i=[n[Je.DayPeriodsFormat],n[Je.DayPeriodsStandalone]],o=ir(i,e);return ir(o,r)}function _U(t,e,r){let n=Bn(t),i=[n[Je.DaysFormat],n[Je.DaysStandalone]],o=ir(i,e);return ir(o,r)}function xU(t,e,r){let n=Bn(t),i=[n[Je.MonthsFormat],n[Je.MonthsStandalone]],o=ir(i,e);return ir(o,r)}function EU(t,e){let n=Bn(t)[Je.Eras];return ir(n,e)}function Jf(t,e){let r=Bn(t);return ir(r[Je.DateFormat],e)}function ep(t,e){let r=Bn(t);return ir(r[Je.TimeFormat],e)}function tp(t,e){let n=Bn(t)[Je.DateTimeFormat];return ir(n,e)}function Sr(t,e){let r=Bn(t),n=r[Je.NumberSymbols][e];if(typeof n>"u"){if(e===Vt.CurrencyDecimal)return r[Je.NumberSymbols][Vt.Decimal];if(e===Vt.CurrencyGroup)return r[Je.NumberSymbols][Vt.Group]}return n}function gS(t,e){return Bn(t)[Je.NumberFormats][e]}function vS(t){if(!t[Je.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(t[Je.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function wU(t){let e=Bn(t);return vS(e),(e[Je.ExtraData][2]||[]).map(n=>typeof n=="string"?by(n):[by(n[0]),by(n[1])])}function DU(t,e,r){let n=Bn(t);vS(n);let i=[n[Je.ExtraData][0],n[Je.ExtraData][1]],o=ir(i,e)||[];return ir(o,r)||[]}function ir(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function by(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var CU=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ha={},IU=/((?:[^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]*)/,ji=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(ji||{}),Ae=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(Ae||{}),Te=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(Te||{});function SU(t,e,r,n){let i=FU(t);e=Fi(r,e)||e;let s=[],c;for(;e;
1)if(c=IU.exec(e),c){s=s.concat(c.slice(1));let d=s.pop();if(!d)break;e=d}else{s.push(e);break}let l=i.getTimezoneOffset();n&&(l=yS(n,l),i=PU(i,n,!0));let u="";return s.forEach(d=>{let f=OU(d);u+=f?f(i,r,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function cp(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function Fi(t,e){var i;let r=bU(t);if((i=Ha[r])!=null||(Ha[r]={}),Ha[r][e])return Ha[r][e];let n="";switch(e){case"shortDate":n=Jf(t,Un.Short);break;case"mediumDate":n=Jf(t,Un.Medium);break;case"longDate":n=Jf(t,Un.Long);break;case"fullDate":n=Jf(t,Un.Full);break;case"shortTime":n=ep(t,Un.Short);break;case"mediumTime":n=ep(t,Un.Medium);break;case"longTime":n=ep(t,Un.Long);break;case"fullTime":n=ep(t,Un.Full);break;case"short":let o=Fi(t,"shortTime"),s=Fi(t,"shortDate");n=np(tp(t,Un.Short),[o,s]);break;case"medium":let c=Fi(t,"mediumTime"),l=Fi(t,"mediumDate");n=np(tp(t,Un.Medium),[c,l]);break;case"long":let u=Fi(t,"longTime"),d=Fi(t,"longDate");n=np(tp(t,Un.Long),[u,d]);break;case"full":let f=Fi(t,"fullTime"),h=Fi(t,"fullDate");n=np(tp(t,Un.Full),[f,h]);break}return n&&(Ha[r][e]=n),n}function np(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function Ir(t,e,r="-",n,i){let o="";
1(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=r));let s=String(t);for(;s.length<e;)s="0"+s;return n&&(s=s.slice(s.length-e)),o+s}function TU(t,e){return Ir(t,3).substring(0,e)}function lt(t,e,r=0,n=!1,i=!1){return function(o,s){let c=AU(t,o);if((r>0||c>-r)&&(c+=r),t===Ae.Hours)c===0&&r===-12&&(c=12);else if(t===Ae.FractionalSeconds)return TU(c,e);let l=Sr(s,Vt.MinusSign);return Ir(c,e,l,n,i)}}function AU(t,e){switch(t){case Ae.FullYear:return e.getFullYear();case Ae.Month:return e.getMonth();case Ae.Date:return e.getDate();case Ae.Hours:return e.getHours();case Ae.Minutes:return e.getMinutes();case Ae.Seconds:return e.getSeconds();case Ae.FractionalSeconds:return e.getMilliseconds();case Ae.Day:return e.getDay();default:throw new Error('Unknown DateType value "'.concat(t,'".'))}}function $e(t,e,r=an.Format,n=!1){return function(i,o){return MU(i,o,t,e,r,n)}}function MU(t,e,r,n,i,o){switch(r){case Te.Months:return xU(e,i,n)[t.getMonth()];case Te.Days:return _U(e,i,n)[t.getDay()];case Te.DayPeriods:let s=t.getHours(),c=t.getMinutes();if(o){let u=wU(e),d=DU(e,i,n),f=u.findIndex(h=>{if(Array.isArray(h)){let[m,g]=h,_=s>=m.hours&&c>=m.minutes,x=s<g.hours||s===g.hours&&c<g.minutes;if(m.hours<g.hours){if(_&&x)return!0}else if(_||x)return!0}else if(h.hours===s&&h.minutes===c)return!0;return!1});if(f!==-1)return d[f]}return yU(e,i,n)[s<12?0:1];case Te.Eras:return EU(e,n)[t.getFullYear()<=0?0:1];default:let l=r;throw new Error("unexpected translation type ".concat(l))}}function rp(t){return function(e,r,n){let i=-1*n,o=Sr(r,Vt.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case ji.Short:return(i>=0?"+":"")+Ir(s,2,o)+Ir(Math.abs(i%60),2,o);case ji.ShortGMT:return"GMT"+(i>=0?"+":"")+Ir(s,1,o);case ji.Long:return"GMT"+(i>=0?"+":"")+Ir(s,2,o)+":"+Ir(Math.abs(i%60),2,o);case ji.Extended:return n===0?"Z":(i>=0?"+":"")+Ir(s,2,o)+":"+Ir(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'.concat(t,'"'))}}}var kU=0,sp=4;function RU(t){let e=cp(t,kU,1).getDay();return cp(t,0,1+(e<=sp?sp:sp+7)-e)}function bS(t){let e=t.getDay(),r=e===0?-3:sp-e;return cp(t.getFullYear(),t.getMonth(),t.getDate()+r)}function yy(t,e=!1){return function(r,n){let i;if(e){let o=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();i=1+Math.floor((s+o)/7)}else{let o=bS(r),s=RU(o.getFullYear()),c=o.getTime()-s.getTime();i=1+Math.round(c/6048e5)}return Ir(i,t,Sr(n,Vt.MinusSign))}}function ip(t,e=!1){return function(r,n){let o=bS(r).getFullYear();return Ir(o,t,Sr(n,Vt.MinusSign),e)}}var _y={};function OU(t){if(_y[t])return _y[t];let e;switch(t){case"G":case"GG":case"GGG":e=$e(Te.Eras,Ue.Abbreviated);break;case"GGGG":e=$e(Te.Eras,Ue.Wide);break;case"GGGGG":e=$e(Te.Eras,Ue.Narrow);break;case"y":e=lt(Ae.FullYear,1,0,!1,!0);break;case"yy":e=lt(Ae.FullYear,2,0,!0,!0);break;case"yyy":e=lt(Ae.FullYear,3,0,!1,!0);break;case"yyyy":e=lt(Ae.FullYear,4,0,!1,!0);break;case"Y":e=ip(1);break;case"YY":e=ip(2,!0);break;case"YYY":e=ip(3);break;case"YYYY":e=ip(4);break;case"M":case"L":e=lt(Ae.Month,1,1);break;case"MM":case"LL":e=lt(Ae.Month,2,1);break;case"MMM":e=$e(Te.Months,Ue.Abbreviated);break;case"MMMM":e=$e(Te.Months,Ue.Wide);break;case"MMMMM":e=$e(Te.Months,Ue.Narrow);break;case"LLL":e=$e(Te.Months,Ue.Abbreviated,an.Standalone);break;case"LLLL":e=$e(Te.Months,Ue.Wide,an.Standalone);break;case"LLLLL":e=$e(Te.Months,Ue.Narrow,an.Standalone);break;case"w":e=yy(1);break;case"ww":e=yy(2);break;case"W":e=yy(1,!0);break;case"d":e=lt(Ae.Date,1);break;case"dd":e=lt(Ae.Date,2);break;case"c":case"cc":e=lt(Ae.Day,1);break;case"ccc":e=$e(Te.Days,Ue.Abbreviated,an.Standalone);break;case"cccc":e=$e(Te.Days,Ue.Wide,an.Standalone);break;case"ccccc":e=$e(Te.Days,Ue.Narrow,an.Standalone);break;case"cccccc":e=$e(Te.Days,Ue.Short,an.Standalone);break;case"E":case"EE":case"EEE":e=$e(Te.Days,Ue.Abbreviated);break;case"EEEE":e=$e(Te.Days,Ue.Wide);break;case"EEEEE":e=$e(Te.Days,Ue.Narrow);break;case"EEEEEE":e=$e(Te.Days,Ue.Short);break;case"a":case"aa":case"aaa":e=$e(Te.DayPeriods,Ue.Abbreviated);break;case"aaaa":e=$e(Te.DayPeriods,Ue.Wide);break;case"aaaaa":e=$e(Te.DayPeriods,Ue.Narrow);break;
vendor: 6,692 bytes, line 1
1case"b":case"bb":case"bbb":e=$e(Te.DayPeriods,Ue.Abbreviated,an.Standalone,!0);break;case"bbbb":e=$e(Te.DayPeriods,Ue.Wide,an.Standalone,!0);break;case"bbbbb":e=$e(Te.DayPeriods,Ue.Narrow,an.Standalone,!0);break;case"B":case"BB":case"BBB":e=$e(Te.DayPeriods,Ue.Abbreviated,an.Format,!0);break;case"BBBB":e=$e(Te.DayPeriods,Ue.Wide,an.Format,!0);break;case"BBBBB":e=$e(Te.DayPeriods,Ue.Narrow,an.Format,!0);break;case"h":e=lt(Ae.Hours,1,-12);break;case"hh":e=lt(Ae.Hours,2,-12);break;case"H":e=lt(Ae.Hours,1);break;case"HH":e=lt(Ae.Hours,2);break;case"m":e=lt(Ae.Minutes,1);break;case"mm":e=lt(Ae.Minutes,2);break;case"s":e=lt(Ae.Seconds,1);break;case"ss":e=lt(Ae.Seconds,2);break;case"S":e=lt(Ae.FractionalSeconds,1);break;case"SS":e=lt(Ae.FractionalSeconds,2);break;case"SSS":e=lt(Ae.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=rp(ji.Short);break;case"ZZZZZ":e=rp(ji.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=rp(ji.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=rp(ji.Long);break;default:return null}return _y[t]=e,e}function yS(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function NU(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function PU(t,e,r){let n=r?-1:1,i=t.getTimezoneOffset(),o=yS(e,i);return NU(t,n*(o-i))}function FU(t){if(aS(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[i,o=1,s=1]=t.split("-").map(c=>+c);return cp(i,o-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(CU))return LU(n)}let e=new Date(t);if(!aS(e))throw new Error('Unable to convert "'.concat(t,'" into a date'));return e}function LU(t){let e=new Date(0),r=0,n=0,i=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,c=Number(t[5]||0)-n,l=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(e,s,c,l,u),e}function aS(t){return t instanceof Date&&!isNaN(t.valueOf())}var jU=/^(\d+)?\.((\d+)(-(\d+))?)?$/,cS=22,lp=".",Ul="0",VU=";",BU=",",xy="#";var UU="%";function _S(t,e,r,n,i,o,s=!1){let c="",l=!1;if(!isFinite(t))c=Sr(r,Vt.Infinity);else{let u=WU(t);s&&(u=zU(u));let d=e.minInt,f=e.minFrac,h=e.maxFrac;if(o){let L=o.match(jU);if(L===null)throw new Error("".concat(o," is not a valid digit info"));let Ie=L[1],W=L[3],nt=L[5];Ie!=null&&(d=Ey(Ie)),W!=null&&(f=Ey(W)),nt!=null?h=Ey(nt):W!=null&&f>h&&(h=f)}GU(u,f,h);let m=u.digits,g=u.integerLen,_=u.exponent,x=[];for(l=m.every(L=>!L);g<d;g++)m.unshift(0);for(;g<0;g++)m.unshift(0);g>0?x=m.splice(g,m.length):(x=m,m=[0]);let S=[];for(m.length>=e.lgSize&&S.unshift(m.splice(-e.lgSize,m.length).join(""));m.length>e.gSize;)S.unshift(m.splice(-e.gSize,m.length).join(""));m.length&&S.unshift(m.join("")),c=S.join(Sr(r,n)),x.length&&(c+=Sr(r,i)+x.join("")),_&&(c+=Sr(r,Vt.Exponential)+"+"+_)}return t<0&&!l?c=e.negPre+c+e.negSuf:c=e.posPre+c+e.posSuf,c}function HU(t,e,r){let n=gS(e,Ny.Percent),i=xS(n,Sr(e,Vt.MinusSign));return _S(t,i,e,Vt.Group,Vt.Decimal,r,!0).replace(new RegExp(UU,"g"),Sr(e,Vt.PercentSign))}function $U(t,e,r){let n=gS(e,Ny.Decimal),i=xS(n,Sr(e,Vt.MinusSign));return _S(t,i,e,Vt.Group,Vt.Decimal,r)}function xS(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(VU),i=n[0],o=n[1],s=i.indexOf(lp)!==-1?i.split(lp):[i.substring(0,i.lastIndexOf(Ul)+1),i.substring(i.lastIndexOf(Ul)+1)],c=s[0],l=s[1]||"";r.posPre=c.substring(0,c.indexOf(xy));for(let d=0;d<l.length;d++){let f=l.charAt(d);f===Ul?r.minFrac=r.maxFrac=d+1:f===xy?r.maxFrac=d+1:r.posSuf+=f}let u=c.split(BU);if(r.gSize=u[1]?u[1].length:0,r.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,o){let d=i.length-r.posPre.length-r.posSuf.length,f=o.indexOf(xy);r.negPre=o.substring(0,f).replace(/'/g,""),r.negSuf=o.slice(f+d).replace(/'/g,"")}else r.negPre=e+r.posPre,r.negSuf=r.posSuf;return r}function zU(t){if(t.digits[0]===0)return t;let e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(e===0?t.digits.push(0,0):e===1&&t.digits.push(0),t.integerLen+=2),t}function WU(t){let e=Math.abs(t)+"",r=0,n,i,o,s,c;for((i=e.indexOf(lp))>-1&&(e=e.replace(lp,"")),(o=e.search(/e/i))>0?(i<0&&(i=o),i+=+e.slice(o+1),e=e.substring(0,o)):i<0&&(i=e.length),o=0;e.charAt(o)===Ul;o++);if(o===(c=e.length))n=[0],i=1;else{for(c--;e.charAt(c)===Ul;)c--;for(i-=o,n=[],s=0;o<=c;o++,s++)n[s]=Number(e.charAt(o))}return i>cS&&(n=n.splice(0,cS-1),r=i-1,i=1),{digits:n,exponent:r,integerLen:i}}function GU(t,e,r){if(e>r)throw new Error("The minimum number of digits after fraction (".concat(e,") is higher than the maximum (").concat(r,")."));let n=t.digits,i=n.length-t.integerLen,o=Math.min(Math.max(e,i),r),s=o+t.integerLen,c=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let f=s;f<n.length;f++)n[f]=0}else{i=Math.max(0,i),t.integerLen=1,n.length=Math.max(1,s=o+1),n[0]=0;for(let f=1;f<s;f++)n[f]=0}if(c>=5)if(s-1<0){for(let f=0;f>s;f--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;i<Math.max(0,o);i++)n.push(0);let l=o!==0,u=e+t.integerLen,d=n.reduceRight(function(f,h,m,g){return h=h+f,g[m]=h<10?h:h-10,l&&(g[m]===0&&m>=u?g.pop():l=!1),h>=10?1:0},0);d&&(n.unshift(d),t.integerLen++)}function Ey(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function fp(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var wy=/\s+/,lS=[],ES=(()=>{let e=class e{constructor(n,i){a(this,"_ngEl");a(this,"_renderer");a(this,"initialClasses",lS);a(this,"rawClass");a(this,"stateMap",new Map);this._ngEl=n,this._renderer=i}set klass(n){this.initialClasses=n!=null?n.trim().split(wy):lS}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(wy):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>
10&&n.split(wy).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};a(e,"\u0275fac",function(i){return new(i||e)(w(P),w(Ns))}),a(e,"\u0275dir",k({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let t=e;return t})(),Aue=(()=>{let e=class e{constructor(n){a(this,"_viewContainerRef");a(this,"ngComponentOutlet",null);a(this,"ngComponentOutletInputs");a(this,"ngComponentOutletInjector");a(this,"ngComponentOutletContent");a(this,"ngComponentOutletNgModule");a(this,"ngComponentOutletNgModuleFactory");a(this,"_componentRef");a(this,"_moduleRef");a(this,"_inputsUsed",new Map);this._viewContainerRef=n}_needToReCreateNgModuleInstance(n){return n.ngComponentOutletNgModule!==void 0||n.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(n){return n.ngComponentOutlet!==void 0||n.ngComponentOutletContent!==void 0||n.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(n)}ngOnChanges(n){var i;if(this._needToReCreateComponentInstance(n)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let o=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&((i=this._moduleRef)==null||i.destroy(),this.ngComponentOutletNgModule?this._moduleRef=vI(this.ngComponentOutletNgModule,uS(o)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(uS(o)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:o,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let n of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(n,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){var n;(n=this._moduleRef)==null||n.destroy()}_applyInputStateDiff(n){for(let[i,o]of this._inputsUsed)o?(n.setInput(i,this.ngComponentOutletInputs[i]),this._inputsUsed.set(i,!1)):(n.setInput(i,void 0),this._inputsUsed.delete(i))}};a(e,"\u0275fac",function(i){return new(i||e)(w(ct))}),a(e,"\u0275dir",k({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[it]}));let t=e;return t})();function uS(t){return t.get(Xn).injector}var Dy=class{constructor(e,r,n,i){a(this,"$implicit");a(this,"ngForOf");a(this,"index");a(this,"count");this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Mue=(()=>{let e=class e{constructor(n,i,o){a(this,"_viewContainer");a(this,"_template");a(this,"_differs");a(this,"_ngForOf",null);a(this,"_ngForOfDirty",!0);a(this,"_differ",null);a(this,"_trackByFn");this._viewContainer=n,this._template=i,this._differs=o}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,c)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new Dy(o.item,this._ngForOf,-1,-1),c===null?void 0:c);else if(c==null)i.remove(s===null?void 0:s);else if(s!==null){let l=i.get(s);i.move(l,c),dS(l,o)}});for(let o=0,s=i.length;o<s;o++){let l=i.get(o).context;l.index=o,l.count=s,l.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let s=i.get(o.currentIndex);dS(s,o)})}static ngTemplateContextGuard(n,i){return!0}};a(e,"\u0275fac",function(i){return new(i||e)(w(ct),w(at),w(Vl))}),a(e,"\u0275dir",k({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}));let t=e;return t})();function dS(t,e){t.context.$implicit=e.item}var kue=(()=>{let e=class e{constructor(n,i){a(this,"_viewContainer");a(this,"_context",new Cy);a(this,"_thenTemplateRef",null);a(this,"_elseTemplateRef",null);
1a(this,"_thenViewRef",null);a(this,"_elseViewRef",null);this._viewContainer=n,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){fS("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){fS("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};a(e,"ngIfUseIfTypeGuard"),a(e,"ngTemplateGuard_ngIf"),a(e,"\u0275fac",function(i){return new(i||e)(w(ct),w(at))}),a(e,"\u0275dir",k({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}));let t=e;return t})(),Cy=class{constructor(){a(this,"$implicit",null);a(this,"ngIf",null)}};function fS(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error("".concat(t," must be a TemplateRef, but received '").concat(sn(e),"'."))}var up=class{constructor(e,r){a(this,"_viewContainerRef");a(this,"_templateRef");a(this,"_created",!1);this._viewContainerRef=e,this._templateRef=r}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},wS=(()=>{let e=class e{constructor(){a(this,"_defaultViews",[]);a(this,"_defaultUsed",!1);a(this,"_caseCount",0);a(this,"_lastCaseCheckIndex",0);a(this,"_lastCasesMatched",!1);a(this,"_ngSwitch")}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let i=n===this._ngSwitch;return this._lastCasesMatched||(this._lastCasesMatched=i),this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let i of this._defaultViews)i.enforceState(n)}}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}));let t=e;return t})(),Rue=(()=>{let e=class e{constructor(n,i,o){a(this,"ngSwitch");a(this,"_view");a(this,"ngSwitchCase");this.ngSwitch=o,o._addCase(),this._view=new up(n,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};a(e,"\u0275fac",function(i){return new(i||e)(w(ct),w(at),w(wS,9))}),a(e,"\u0275dir",k({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}));let t=e;return t})(),Oue=(()=>{let e=class e{constructor(n,i,o){o._addDefault(new up(n,i))}};a(e,"\u0275fac",function(i){return new(i||e)(w(ct),w(at),w(wS,9))}),a(e,"\u0275dir",k({type:e,selectors:[["","ngSwitchDefault",""]]}));let t=e;return t})();var Nue=(()=>{let e=class e{constructor(n,i,o){a(this,"_ngEl");a(this,"_differs");a(this,"_renderer");a(this,"_ngStyle",null);a(this,"_differ",null);this._ngEl=n,this._differs=i,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[o,s]=n.split("."),c=o.indexOf("-")===-1?void 0:ei.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,s?"".concat(i).concat(s):i,c):this._renderer.removeStyle(this._ngEl.nativeElement,o,c)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};a(e,"\u0275fac",function(i){return new(i||e)(w(P),w(Xf),w(Ns))}),a(e,"\u0275dir",k({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}
1));let t=e;return t})(),Pue=(()=>{let e=class e{constructor(n){a(this,"_viewContainerRef");a(this,"_viewRef",null);a(this,"ngTemplateOutletContext",null);a(this,"ngTemplateOutlet",null);a(this,"ngTemplateOutletInjector",null);this._viewContainerRef=n}ngOnChanges(n){var i;if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let s=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,s,{injector:(i=this.ngTemplateOutletInjector)!=null?i:void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(n,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}};a(e,"\u0275fac",function(i){return new(i||e)(w(ct))}),a(e,"\u0275dir",k({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[it]}));let t=e;return t})();function xo(t,e){return new U(2100,!1)}var Iy=class{createSubscription(e,r){return jt(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){jt(()=>e.unsubscribe())}},Sy=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},qU=new Sy,YU=new Iy,Fue=(()=>{let e=class e{constructor(n){a(this,"_ref");a(this,"_latestValue",null);a(this,"markForCheckOnValueUpdate",!0);a(this,"_subscription",null);a(this,"_obj",null);a(this,"_strategy",null);this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(Ua(n))return qU;if(sy(n))return YU;throw xo(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){var o;n===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&((o=this._ref)==null||o.markForCheck()))}};a(e,"\u0275fac",function(i){return new(i||e)(w(Ne,16))}),a(e,"\u0275pipe",Vn({name:"async",type:e,pure:!1}));let t=e;return t})(),Lue=(()=>{let e=class e{transform(n){if(n==null)return null;if(typeof n!="string")throw xo(e,n);return n.toLowerCase()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275pipe",Vn({name:"lowercase",type:e,pure:!0}));let t=e;return t})(),ZU=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
10EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,jue=(()=>{let e=class e{transform(n){if(n==null)return null;
1if(typeof n!="string")throw xo(e,n);return n.replace(ZU,i=>i[0].toUpperCase()+i.slice(1).toLowerCase())}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275pipe",Vn({name:"titlecase",type:e,pure:!0}));let t=e;return t})(),Vue=(()=>{let e=class e{transform(n){if(n==null)return null;if(typeof n!="string")throw xo(e,n);return n.toUpperCase()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275pipe",Vn({name:"uppercase",type:e,pure:!0}));let t=e;return t})(),KU="mediumDate",XU=new b(""),QU=new b(""),Bue=(()=>{let e=class e{constructor(n,i,o){a(this,"locale");a(this,"defaultTimezone");a(this,"defaultOptions");this.locale=n,this.defaultTimezone=i,this.defaultOptions=o}transform(n,i,o,s){var c,l,u,d,f;if(n==null||n===""||n!==n)return null;try{let h=(l=i!=null?i:(c=this.defaultOptions)==null?void 0:c.dateFormat)!=null?l:KU,m=(f=(d=o!=null?o:(u=this.defaultOptions)==null?void 0:u.timezone)!=null?d:this.defaultTimezone)!=null?f:void 0;return SU(n,h,s||this.locale,m)}catch(h){throw xo(e,h.message)}}};a(e,"\u0275fac",function(i){return new(i||e)(w(yo,16),w(XU,24),w(QU,24))}),a(e,"\u0275pipe",Vn({name:"date",type:e,pure:!0}));let t=e;return t})();var Uue=(()=>{let e=class e{transform(n){return JSON.stringify(n,null,2)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275pipe",Vn({name:"json",type:e,pure:!1}));let t=e;return t})();function JU(t,e){return{key:t,value:e}}var Hue=(()=>{let e=class e{constructor(n){a(this,"differs");a(this,"differ");a(this,"keyValues",[]);a(this,"compareFn",pS);this.differs=n}transform(n,i=pS){var c;if(!n||!(n instanceof Map)&&typeof n!="object")return null;(c=this.differ)!=null||(this.differ=this.differs.find(n).create());let o=this.differ.diff(n),s=i!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(l=>{this.keyValues.push(JU(l.key,l.currentValue))})),(o||s)&&(i&&this.keyValues.sort(i),this.compareFn=i),this.keyValues}};a(e,"\u0275fac",function(i){return new(i||e)(w(Xf,16))}),a(e,"\u0275pipe",Vn({name:"keyvalue",type:e,pure:!1}));let t=e;return t})();function pS(t,e){let r=t.key,n=e.key;if(r===n)return 0;if(r===void 0)return 1;if(n===void 0)return-1;if(r===null)return 1;if(n===null)return-1;if(typeof r=="string"&&typeof n=="string")return r<n?-1:1;if(typeof r=="number"&&typeof n=="number")return r-n;if(typeof r=="boolean"&&typeof n=="boolean")return r<n?-1:1;let i=String(r),o=String(n);return i==o?0:i<o?-1:1}var DS=(()=>{let e=class e{constructor(n){a(this,"_locale");this._locale=n}transform(n,i,o){if(!CS(n))return null;o||(o=this._locale);try{let s=IS(n);return $U(s,o,i)}catch(s){throw xo(e,s.message)}}};a(e,"\u0275fac",function(i){return new(i||e)(w(yo,16))}),a(e,"\u0275pipe",Vn({name:"number",type:e,pure:!0}));let t=e;return t})(),$ue=(()=>{let e=class e{constructor(n){a(this,"_locale");this._locale=n}transform(n,i,o){if(!CS(n))return null;o||(o=this._locale);try{let s=IS(n);return HU(s,o,i)}catch(s){throw xo(e,s.message)}}};a(e,"\u0275fac",function(i){return new(i||e)(w(yo,16))}),a(e,"\u0275pipe",Vn({name:"percent",type:e,pure:!0}));let t=e;return t})();function CS(t){return!(t==null||t===""||t!==t)}function IS(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error("".concat(t," is not a number"));return t}var zue=(()=>{let e=class e{transform(n,i,o){if(n==null)return null;if(!this.supports(n))throw xo(e,n);return n.slice(i,o)}supports(n){return typeof n=="string"||Array.isArray(n)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275pipe",Vn({name:"slice",type:e,pure:!1}));let t=e;return t})();var SS=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({}));let t=e;return t})(),Py="browser",eH="server";function za(t){return t===Py}function pp(t){return t===eH}var Wue=(()=>{let e=class e{};a(e,"\u0275prov",y({token:e,providedIn:"root",factory:()=>za(p(xn))?new Ty(p(ee),window):new Ay}));let t=e;return t})(),Ty=class{constructor(e,r){a(this,"document");a(this,"window");a(this,"offset",()=>[0,0]);this.document=e,this.window=r}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=tH(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function tH(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector('[name="'.concat(e,'"]'));if(s)return s}i=n.nextNode()}}return null}var Ay=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},$a=class{};var $l=class{},mp=class{},Vi=class t{constructor(e){a(this,"headers");a(this,"normalizedNames",new Map);a(this,"lazyInit");a(this,"lazyUpdate",null);e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=r.slice(n+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.addHeaderEntry(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e
1=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(c=>o.indexOf(c)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}addHeaderEntry(e,r){let n=e.toLowerCase();this.maybeSetNormalizedName(e,n),this.headers.has(n)?this.headers.get(n).push(r):this.headers.set(n,[r])}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Ly=class{encodeKey(e){return TS(e)}encodeValue(e){return TS(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function rH(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,c]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=r.get(s)||[];l.push(c),r.set(s,l)}),r}var iH=/%(\d[a-f0-9])/gi,oH={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function TS(t){return encodeURIComponent(t).replace(iH,(e,r)=>{var n;return(n=oH[r])!=null?n:e})}function hp(t){return"".concat(t)}var Eo=class t{constructor(e={}){a(this,"map");a(this,"encoder");a(this,"updates",null);a(this,"cloneFrom",null);if(this.encoder=e.encoder||new Ly,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=rH(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(hp):[hp(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(hp(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(hp(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var jy=class{constructor(){a(this,"map",new Map)}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function sH(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function AS(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function MS(t){return typeof Blob<"u"&&t instanceof Blob}function kS(t){return typeof FormData<"u"&&t instanceof FormData}function aH(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Hl=class t{constructor(e,r,n,i){a(this,"url");a(this,"body",null);a(this,"headers");a(this,"context");a(this,"reportProgress",!1);a(this,"withCredentials",!1);a(this,"responseType","json");a(this,"method");a(this,"params");a(this,"urlWithParams");a(this,"transferCache");var s,c;this.url=r,this.method=e.toUpperCase();let o;if(sH(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),(s=this.headers)!=null||(this.headers=new Vi),(c=this.context)!=null||(this.context=new jy),!this.params)this.params=new Eo,this.urlWithParams=r;else{let l=this.params.toString();if(l.length===0)this.urlWithParams=r;else{let u=r.indexOf("?"),d=u===-1?"?":u<r.length-1?"&":"";this.urlWithParams=r+d+l}}}serializeBody(){return this.body===null?null:typeof this.body=="str
1ing"||AS(this.body)||MS(this.body)||kS(this.body)||aH(this.body)?this.body:this.body instanceof Eo?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||kS(this.body)?null:MS(this.body)?this.body.type||null:AS(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Eo?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){var h,m,g,_;let r=e.method||this.method,n=e.url||this.url,i=e.responseType||this.responseType,o=(h=e.transferCache)!=null?h:this.transferCache,s=e.body!==void 0?e.body:this.body,c=(m=e.withCredentials)!=null?m:this.withCredentials,l=(g=e.reportProgress)!=null?g:this.reportProgress,u=e.headers||this.headers,d=e.params||this.params,f=(_=e.context)!=null?_:this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((x,S)=>x.set(S,e.setHeaders[S]),u)),e.setParams&&(d=Object.keys(e.setParams).reduce((x,S)=>x.set(S,e.setParams[S]),d)),new t(r,n,s,{params:d,headers:u,context:f,reportProgress:l,responseType:i,withCredentials:c,transferCache:o})}},wo=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}(wo||{}),zl=class{constructor(e,r=200,n="OK"){a(this,"headers");a(this,"status");a(this,"statusText");a(this,"url");a(this,"ok");a(this,"type");this.headers=e.headers||new Vi,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},gp=class t extends zl{constructor(r={}){super(r);a(this,"type",wo.ResponseHeader)}clone(r={}){return new t({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},Wl=class t extends zl{constructor(r={}){super(r);a(this,"body");a(this,"type",wo.Response);this.body=r.body!==void 0?r.body:null}clone(r={}){return new t({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},or=class extends zl{constructor(r){super(r,0,"Unknown Error");a(this,"name","HttpErrorResponse");a(this,"message");a(this,"error");a(this,"ok",!1);this.status>=200&&this.status<300?this.message="Http failure during parsing for ".concat(r.url||"(unknown url)"):this.message="Http failure response for ".concat(r.url||"(unknown url)",": ").concat(r.status," ").concat(r.statusText),this.error=r.error||null}},FS=200,cH=204;function Fy(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Ps=(()=>{let e=class e{constructor(n){a(this,"handler");this.handler=n}request(n,i,o={}){let s;if(n instanceof Hl)s=n;else{let u;o.headers instanceof Vi?u=o.headers:u=new Vi(o.headers);let d;o.params&&(o.params instanceof Eo?d=o.params:d=new Eo({fromObject:o.params})),s=new Hl(n,i,o.body!==void 0?o.body:null,{headers:u,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let c=O(s).pipe(ha(u=>this.handler.handle(u)));if(n instanceof Hl||o.observe==="events")return c;let l=c.pipe(Z(u=>u instanceof Wl));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(N(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return l.pipe(N(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return l.pipe(N(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return l.pipe(N(u=>u.body))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(o.observe,"}"))}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new Eo().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,Fy(o,i))}post(n,i,o={}){return this.request("POST",n,Fy(o,i))}put(n,i,o={}){return this.request("PUT",n,Fy(o,i))}};a(e,"\u0275fac",function(i){return new(i||e)(E($l))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),lH=/^\)\]\}',?\n/,uH="X-Request-URL";function RS(t){if(t.url)return t.url;let e=uH.toLocaleLowerCase();return t.headers.get(e)}var dH=(()=>{var e,r;let n=class n{constructor(){a(this,"fetchImpl",(r=(e=p(Vy,{optional:!0}))==null?void 0:e.fetch)!=null?r:(...o)=>globalThis.fetch(...o));a(this,"ngZone",p(F))}handle(o){return new V(s=>
1{let c=new AbortController;return this.doRequest(o,c.signal,s).then(By,l=>s.error(new or({error:l}))),()=>c.abort()})}doRequest(o,s,c){return Gc(this,null,function*(){var x,S,L,Ie;let l=this.createRequestInit(o),u;try{let W=this.ngZone.runOutsideAngular(()=>this.fetchImpl(o.urlWithParams,T({signal:s},l)));fH(W),c.next({type:wo.Sent}),u=yield W}catch(W){c.error(new or({error:W,status:(x=W.status)!=null?x:0,statusText:W.statusText,url:o.urlWithParams,headers:W.headers}));return}let d=new Vi(u.headers),f=u.statusText,h=(S=RS(u))!=null?S:o.urlWithParams,m=u.status,g=null;if(o.reportProgress&&c.next(new gp({headers:d,status:m,statusText:f,url:h})),u.body){let W=u.headers.get("content-length"),nt=[],kn=u.body.getReader(),qn=0,pn,Yn,ia=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Gc(this,null,function*(){for(;;){let{done:Wc,value:Ym}=yield kn.read();if(Wc)break;if(nt.push(Ym),qn+=Ym.length,o.reportProgress){Yn=o.responseType==="text"?(Yn!=null?Yn:"")+(pn!=null?pn:pn=new TextDecoder).decode(Ym,{stream:!0}):void 0;let Zx=()=>c.next({type:wo.DownloadProgress,total:W?+W:void 0,loaded:qn,partialText:Yn});ia?ia.run(Zx):Zx()}}}));let qm=this.concatChunks(nt,qn);try{let Wc=(L=u.headers.get("Content-Type"))!=null?L:"";g=this.parseBody(o,qm,Wc)}catch(Wc){c.error(new or({error:Wc,headers:new Vi(u.headers),status:u.status,statusText:u.statusText,url:(Ie=RS(u))!=null?Ie:o.urlWithParams}));return}}m===0&&(m=g?FS:0),m>=200&&m<300?(c.next(new Wl({body:g,headers:d,status:m,statusText:f,url:h})),c.complete()):c.error(new or({error:g,headers:d,status:m,statusText:f,url:h}))})}parseBody(o,s,c){switch(o.responseType){case"json":let l=new TextDecoder().decode(s).replace(lH,"");return l===""?null:JSON.parse(l);case"text":return new TextDecoder().decode(s);case"blob":return new Blob([s],{type:c});case"arraybuffer":return s.buffer}}createRequestInit(o){let s={},c=o.withCredentials?"include":void 0;if(o.headers.forEach((l,u)=>s[l]=u.join(",")),o.headers.has("Accept")||(s.Accept="application/json, text/plain, */*"),!o.headers.has("Content-Type")){let l=o.detectContentTypeHeader();l!==null&&(s["Content-Type"]=l)}return{body:o.serializeBody(),method:o.method,headers:s,credentials:c}}concatChunks(o,s){let c=new Uint8Array(s),l=0;for(let u of o)c.set(u,l),l+=u.length;return c}};a(n,"\u0275fac",function(s){return new(s||n)}),a(n,"\u0275prov",y({token:n,factory:n.\u0275fac}));let t=n;return t})(),Vy=class{};function By(){}function fH(t){t.then(By,By)}function LS(t,e){return e(t)}function pH(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function hH(t,e,r){return(n,i)=>Cf(r,()=>e(n,o=>t(o,i)))}var mH=new b(""),Uy=new b(""),gH=new b(""),jS=new b("",{providedIn:"root",factory:()=>!0});function vH(){let t=null;return(e,r)=>{var o;t===null&&(t=((o=p(mH,{optional:!0}))!=null?o:[]).reduceRight(pH,LS));let n=p(vo);if(p(jS)){let s=n.add();return t(e,r).pipe(ps(()=>n.remove(s)))}else return t(e,r)}}var OS=(()=>{let e=class e extends $l{constructor(i,o){super();a(this,"backend");a(this,"injector");a(this,"chain",null);a(this,"pendingTasks",p(vo));a(this,"contributeToStability",p(jS));this.backend=i,this.injector=o}handle(i){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Uy),...this.injector.get(gH,[])]));this.chain=o.reduceRight((s,c)=>hH(s,c,this.injector),LS)}if(this.contributeToStability){let o=this.pendingTasks.add();return this.chain(i,s=>this.backend.handle(s)).pipe(ps(()=>this.pendingTasks.remove(o)))}else return this.chain(i,o=>this.backend.handle(o))}};a(e,"\u0275fac",function(o){return new(o||e)(E(mp),E(vn))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})();var bH=/^\)\]\}',?\n/;function yH(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var NS=(()=>{let e=class e{constructor(n){a(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new U(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Ht(i.\u0275loadImpl()):O(null)).pipe(xe(()=>new V(s=>{let c=i.build();if(c.open(n.method,n.urlWithParams),n.withCredentials&&(c.withCredentials=!0),n.headers.forEac
1h((x,S)=>c.setRequestHeader(x,S.join(","))),n.headers.has("Accept")||c.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let x=n.detectContentTypeHeader();x!==null&&c.setRequestHeader("Content-Type",x)}if(n.responseType){let x=n.responseType.toLowerCase();c.responseType=x!=="json"?x:"text"}let l=n.serializeBody(),u=null,d=()=>{if(u!==null)return u;let x=c.statusText||"OK",S=new Vi(c.getAllResponseHeaders()),L=yH(c)||n.url;return u=new gp({headers:S,status:c.status,statusText:x,url:L}),u},f=()=>{let{headers:x,status:S,statusText:L,url:Ie}=d(),W=null;S!==cH&&(W=typeof c.response>"u"?c.responseText:c.response),S===0&&(S=W?FS:0);let nt=S>=200&&S<300;if(n.responseType==="json"&&typeof W=="string"){let kn=W;W=W.replace(bH,"");try{W=W!==""?JSON.parse(W):null}catch(qn){W=kn,nt&&(nt=!1,W={error:qn,text:W})}}nt?(s.next(new Wl({body:W,headers:x,status:S,statusText:L,url:Ie||void 0})),s.complete()):s.error(new or({error:W,headers:x,status:S,statusText:L,url:Ie||void 0}))},h=x=>{let{url:S}=d(),L=new or({error:x,status:c.status||0,statusText:c.statusText||"Unknown Error",url:S||void 0});s.error(L)},m=!1,g=x=>{m||(s.next(d()),m=!0);let S={type:wo.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(S.total=x.total),n.responseType==="text"&&c.responseText&&(S.partialText=c.responseText),s.next(S)},_=x=>{let S={type:wo.UploadProgress,loaded:x.loaded};x.lengthComputable&&(S.total=x.total),s.next(S)};return c.addEventListener("load",f),c.addEventListener("error",h),c.addEventListener("timeout",h),c.addEventListener("abort",h),n.reportProgress&&(c.addEventListener("progress",g),l!==null&&c.upload&&c.upload.addEventListener("progress",_)),c.send(l),s.next({type:wo.Sent}),()=>{c.removeEventListener("error",h),c.removeEventListener("abort",h),c.removeEventListener("load",f),c.removeEventListener("timeout",h),n.reportProgress&&(c.removeEventListener("progress",g),l!==null&&c.upload&&c.upload.removeEventListener("progress",_)),c.readyState!==c.DONE&&c.abort()}})))}};a(e,"\u0275fac",function(i){return new(i||e)(E($a))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),VS=new b(""),_H="XSRF-TOKEN",xH=new b("",{providedIn:"root",factory:()=>_H}),EH="X-XSRF-TOKEN",wH=new b("",{providedIn:"root",factory:()=>EH}),vp=class{},DH=(()=>{let e=class e{constructor(n,i,o){a(this,"doc");a(this,"platform");a(this,"cookieName");a(this,"lastCookieString","");a(this,"lastToken",null);a(this,"parseCount",0);this.doc=n,this.platform=i,this.cookieName=o}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=fp(n,this.cookieName),this.lastCookieString=n),this.lastToken}};a(e,"\u0275fac",function(i){return new(i||e)(E(ee),E(xn),E(xH))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})();function CH(t,e){let r=t.url.toLowerCase();if(!p(VS)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=p(vp).getToken(),i=p(wH);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var BS=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}(BS||{});function IH(t,e){return{\u0275kind:t,\u0275providers:e}}function ide(...t){let e=[Ps,NS,OS,{provide:$l,useExisting:OS},{provide:mp,useFactory:()=>{var r;return(r=p(dH,{optional:!0}))!=null?r:p(NS)}},{provide:Uy,useValue:CH,multi:!0},{provide:VS,useValue:!0},{provide:vp,useClass:DH}];for(let r of t)e.push(...r.\u0275providers);return ks(e)}var PS=new b("");function ode(){return IH(BS.LegacyInterceptors,[{provide:PS,useFactory:vH},{provide:Uy,useExisting:PS,multi:!0}])}var zy;try{zy=typeof Intl<"u"&&Intl.v8BreakIterator}catch{zy=!1}var Pe=(()=>{let e=class e{constructor(){a(this,"_platformId",p(xn));a(this,"isBrowser",this._platformId?za(this._platformId):typeof document=="object"&&!!document);a(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));
1a(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));a(this,"BLINK",this.isBrowser&&!!(window.chrome||zy)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);a(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);a(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));a(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));a(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);a(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var Wa,US=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function dde(){if(Wa)return Wa;if(typeof document!="object"||!document)return Wa=new Set(US),Wa;let t=document.createElement("input");return Wa=new Set(US.filter(e=>(t.setAttribute("type",e),t.type===e))),Wa}var Gl;function SH(){if(Gl==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Gl=!0}))}finally{Gl=Gl||!1}return Gl}function ii(t){return SH()?t:!!t.capture}var Tr=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(Tr||{}),bp,Fs;function yp(){if(Fs==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Fs=!1,Fs;if("scrollBehavior"in document.documentElement.style)Fs=!0;else{let t=Element.prototype.scrollTo;t?Fs=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Fs=!1}}return Fs}function Ga(){if(typeof document!="object"||!document)return Tr.NORMAL;if(bp==null){let t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";let r=document.createElement("div"),n=r.style;n.width="2px",n.height="1px",t.appendChild(r),document.body.appendChild(t),bp=Tr.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,bp=t.scrollLeft===0?Tr.NEGATED:Tr.INVERTED),t.remove()}return bp}var $y;function TH(){if($y==null){let t=typeof document<"u"?document.head:null;$y=!!(t&&(t.createShadowRoot||t.attachShadow))}return $y}function HS(t){if(TH()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function qa(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function Hn(t){return t.composedPath?t.composedPath()[0]:t.target}function Wy(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var _p=new WeakMap,Zt=(()=>{let e=class e{constructor(){a(this,"_appRef");a(this,"_injector",p(fe));a(this,"_environmentInjector",p(vn))}load(n){let i=this._appRef=this._appRef||this._injector.get(nr),o=_p.get(i);o||(o={loaders:new Set,refs:[]},_p.set(i,o),i.onDestroy(()=>{var s;(s=_p.get(i))==null||s.refs.forEach(c=>c.destroy()),_p.delete(i)})),o.loaders.has(n)||(o.loaders.add(n),o.refs.push(Qf(n,{environmentInjector:this._environmentInjector})))}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),ql=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,o){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0}));let t=e;return t})();function wn(t,...e){return e.length?e.some(r=>t[r]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Gy(t){return kt(t)?t:O(t)}function Ya(t){return t!=null&&"".concat(t)!=="false"}function $n(t,e=0){return AH(t)?Number(t):arguments.length===2?e:0}function AH(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Za(t){return Array.isArray(t)?t:[t]}function ot(t){return t==null?"":typeof t=="string"?t:"".concat(t,"px")}function Ar(t){return t instanceof P?t.nativeElement:t}function Cde(t,e=/\s+/){let r=[];if(t!=null){let n=Array.isArray(t)?t:"".concat(t).split(e);for(let i of n){let o="".concat(i).trim();o&&r.push(o)}}return r}function MH(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;
1if(t.type==="childList"){for(let e=0;e<t.addedNodes.length;e++)if(!(t.addedNodes[e]instanceof Comment))return!1;for(let e=0;e<t.removedNodes.length;e++)if(!(t.removedNodes[e]instanceof Comment))return!1;return!0}return!1}var $S=(()=>{let e=class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),zS=(()=>{let e=class e{constructor(){a(this,"_mutationObserverFactory",p($S));a(this,"_observedElements",new Map);a(this,"_ngZone",p(F))}ngOnDestroy(){this._observedElements.forEach((n,i)=>this._cleanupObserver(i))}observe(n){let i=Ar(n);return new V(o=>{let c=this._observeElement(i).pipe(N(l=>l.filter(u=>!MH(u))),Z(l=>!!l.length)).subscribe(l=>{this._ngZone.run(()=>{o.next(l)})});return()=>{c.unsubscribe(),this._unobserveElement(i)}})}_observeElement(n){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(n))this._observedElements.get(n).count++;else{let i=new A,o=this._mutationObserverFactory.create(s=>i.next(s));o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:i,count:1})}return this._observedElements.get(n).stream})}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}_cleanupObserver(n){if(this._observedElements.has(n)){let{observer:i,stream:o}=this._observedElements.get(n);i&&i.disconnect(),o.complete(),this._observedElements.delete(n)}}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),Fde=(()=>{let e=class e{constructor(){a(this,"_contentObserver",p(zS));a(this,"_elementRef",p(P));a(this,"event",new Q);a(this,"_disabled",!1);a(this,"_debounce");a(this,"_currentSubscription",null)}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(n){this._debounce=$n(n),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let n=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?n.pipe(Yr(this.debounce)):n).subscribe(this.event)}_unsubscribe(){var n;(n=this._currentSubscription)==null||n.unsubscribe()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",be],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[Ke]}));let t=e;return t})(),WS=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({providers:[$S]}));let t=e;return t})();var GS=new Set,Ls,kH=(()=>{let e=class e{constructor(){a(this,"_platform",p(Pe));a(this,"_nonce",p(Ml,{optional:!0}));a(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):OH}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&RH(n,this._nonce),this._matchMedia(n)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function RH(t,e){if(!GS.has(t))try{Ls||(Ls=document.createElement("style"),e&&Ls.setAttribute("nonce",e),Ls.setAttribute("type","text/css"),document.head.appendChild(Ls)),Ls.sheet&&(Ls.sheet.insertRule("@media ".concat(t," {body{ }}"),0),GS.add(t))}catch(r){console.error(r)}}function OH(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var xp=(()=>{let e=class e{constructor(){a(this,"_mediaMatcher",p(kH));a(this,"_zone",p(F));a(this,"_queries",new Map);a(this,"_destroySubject",new A)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return qS(Za(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=qS(Za(n)).map(c=>this._registerQuery(c).observable),s=us(o);return s=Er(s.pipe(_e(1)),s.pipe(nl(1),Yr(0))),s.pipe(N(c=>{let l={matches:!1,breakpoints:{}};
1return c.forEach(({matches:u,query:d})=>{l.matches=l.matches||u,l.breakpoints[d]=u}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let i=this._mediaMatcher.matchMedia(n),s={observable:new V(c=>{let l=u=>this._zone.run(()=>c.next(u));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Ot(i),N(({matches:c})=>({query:n,matches:c})),Ce(this._destroySubject)),mql:i};return this._queries.set(n,s),s}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function qS(t){return t.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var YS={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 eT=" ";function YH(t,e,r){let n=Cp(t,e);r=r.trim(),!n.some(i=>i.trim()===r)&&(n.push(r),t.setAttribute(e,n.join(eT)))}function ZH(t,e,r){let n=Cp(t,e);r=r.trim();let i=n.filter(o=>o!==r);i.length?t.setAttribute(e,i.join(eT)):t.removeAttribute(e)}function Cp(t,e){var n;let r=t.getAttribute(e);return(n=r==null?void 0:r.match(/\S+/g))!=null?n:[]}var tT="cdk-describedby-message",Ep="cdk-describedby-host",Ky=0,nT=(()=>{let e=class e{constructor(){a(this,"_platform",p(Pe));a(this,"_document",p(ee));a(this,"_messageRegistry",new Map);a(this,"_messagesContainer",null);a(this,"_id","".concat(Ky++));p(Zt).load(ql),this._id=p(Va)+"-"+Ky++}describe(n,i,o){if(!this._canBeDescribed(n,i))return;let s=qy(i,o);typeof i!="string"?(ZS(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,i,o){var c;if(!i||!this._isElementNode(n))return;let s=qy(i,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof i=="string"){let l=this._messageRegistry.get(s);l&&l.referenceCount===0&&this._deleteMessageElement(s)}((c=this._messagesContainer)==null?void 0:c.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var i;let n=this._document.querySelectorAll("[".concat(Ep,'="').concat(this._id,'"]'));for(let o=0;o<n.length;o++)this._removeCdkDescribedByReferenceIds(n[o]),n[o].removeAttribute(Ep);(i=this._messagesContainer)==null||i.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,i){let o=this._document.createElement("div");ZS(o,this._id),o.textContent=n,i&&o.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(qy(n,i),{messageElement:o,referenceCount:0})}_deleteMessageElement(n){var i,o;(o=(i=this._messageRegistry.get(n))==null?void 0:i.messageElement)==null||o.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",i=this._document.querySelectorAll(".".concat(n,'[platform="server"]'));for(let s=0;s<i.length;s++)i[s].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(n),o.classList.add("cdk-visually-hidden"),this._platform.isBrowser||o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(n){let i=Cp(n,"aria-describedby").filter(o=>o.indexOf(tT)!=0);n.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(n,i){let o=this._messageRegistry.get(i);YH(n,"aria-describedby",o.messageElement.id),n.setAttribute(Ep,this._id),o.referenceCount++}_removeMessageReference(n,i){let o=this._messageRegistry.get(i);o.referenceCount--,ZH(n,"aria-describedby",o.messageElement.id),n.removeAttribute(Ep)}_isElementDescribedByMessage(n,i){let o=Cp(n,"aria-describedby"),s=this._messageRegistry.get(i),c=s&&s.messageElement.id;return!!c&&o.indexOf(c)!=-1}
1_canBeDescribed(n,i){if(!this._isElementNode(n))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":"".concat(i).trim(),s=n.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function qy(t,e){return typeof t=="string"?"".concat(e||"","/").concat(t):t}function ZS(t,e){t.id||(t.id="".concat(tT,"-").concat(e,"-").concat(Ky++))}var KH=200,Ip=class{constructor(e,r){a(this,"_letterKeyStream",new A);a(this,"_items",[]);a(this,"_selectedItemIndex",-1);a(this,"_pressedLetters",[]);a(this,"_skipPredicateFn");a(this,"_selectedItem",new A);a(this,"selectedItem",this._selectedItem);let n=typeof(r==null?void 0:r.debounceInterval)=="number"?r.debounceInterval:KH;r!=null&&r.skipPredicate&&(this._skipPredicateFn=r.skipPredicate),this.setItems(e),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let r=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(r>=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(je(r=>this._pressedLetters.push(r)),Yr(e),Z(()=>this._pressedLetters.length>0),N(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(r=>{var n,i;for(let o=1;o<this._items.length+1;o++){let s=(this._selectedItemIndex+o)%this._items.length,c=this._items[s];if(!((n=this._skipPredicateFn)!=null&&n.call(this,c))&&((i=c.getLabel)==null?void 0:i.call(c).toLocaleUpperCase().trim().indexOf(r))===0){this._selectedItem.next(c);break}}this._pressedLetters=[]})}},Sp=class{constructor(e,r){a(this,"_items");a(this,"_activeItemIndex",-1);a(this,"_activeItem",tr(null));a(this,"_wrap",!1);a(this,"_typeaheadSubscription",ce.EMPTY);a(this,"_itemChangesSubscription");a(this,"_vertical",!0);a(this,"_horizontal");a(this,"_allowedModifierKeys",[]);a(this,"_homeAndEnd",!1);a(this,"_pageUpAndDown",{enabled:!1,delta:10});a(this,"_effectRef");a(this,"_typeahead");a(this,"_skipPredicateFn",e=>e.disabled);a(this,"tabOut",new A);a(this,"change",new A);this._items=e,e instanceof Mi?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):Ba(e)&&(this._effectRef=Bl(()=>this._itemsChanged(e()),{injector:r}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){this._typeaheadSubscription.unsubscribe();let r=this._getItemsArray();return this._typeahead=new Ip(r,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){var e;return(e=this._typeahead)==null||e.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,r=10){return this._pageUpAndDown={enabled:e,delta:r},this}setActiveItem(e){let r=this._activeItem();this.updateActiveItem(e),this._activeItem()!==r&&this.change.next(this._activeItemIndex)}onKeydown(e){var o,s;let r=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(c=>!e[c]||this._allowedModifierKeys.indexOf(c)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let c=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(c>0?c:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let c=this._activeItemIndex+this._pageUpAndDown.delta,l=this._getItemsArray().length;this._setActiveItemByIndex(c<l?c:l-1,-1);break}else return;default:(i||wn(e,"shiftKey"))&&((o=this._typeahead)==null||o.handleKey(e));return}(s=this._typeahead)==null||s.reset(),e.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(e){var o;let r=this._getItemsArray(),n=typeof e=="number"?e:r.indexOf(e),i=r[n];this._activeItem.set(i==null?null:i),this._activeItemIndex=n,(o=this._typeahead)==null||o.setCurrentSelectedItemIndex(n)}destroy(){var e,r,n;
1this._typeaheadSubscription.unsubscribe(),(e=this._itemChangesSubscription)==null||e.unsubscribe(),(r=this._effectRef)==null||r.destroy(),(n=this._typeahead)==null||n.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let n=1;n<=r.length;n++){let i=(this._activeItemIndex+e*n+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=r,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return Ba(this._items)?this._items():this._items instanceof Mi?this._items.toArray():this._items}_itemsChanged(e){var n,i;(n=this._typeahead)==null||n.setItems(e);let r=this._activeItem();if(r){let o=e.indexOf(r);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o,(i=this._typeahead)==null||i.setCurrentSelectedItemIndex(o))}}},KS=class extends Sp{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},Tp=class extends Sp{constructor(){super(...arguments);a(this,"_origin","program")}setFocusOrigin(r){return this._origin=r,this}setActiveItem(r){super.setActiveItem(r),this.activeItem&&this.activeItem.focus(this._origin)}},Xy=class{constructor(e,r){a(this,"_activeItemIndex",-1);a(this,"_activeItem",null);a(this,"_shouldActivationFollowFocus",!1);a(this,"_horizontalOrientation","ltr");a(this,"_skipPredicateFn",e=>!1);a(this,"_trackByFn",e=>e);a(this,"_items",[]);a(this,"_typeahead");a(this,"_typeaheadSubscription",ce.EMPTY);a(this,"_hasInitialFocused",!1);a(this,"change",new A);e instanceof Mi?(this._items=e.toArray(),e.changes.subscribe(n=>{var i;this._items=n.toArray(),(i=this._typeahead)==null||i.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):kt(e)?e.subscribe(n=>{var i;this._items=n,(i=this._typeahead)==null||i.setItems(n),this._updateActiveItemIndex(n),this._initializeFocus()}):(this._items=e,this._initializeFocus()),typeof r.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=r.shouldActivationFollowFocus),r.horizontalOrientation&&(this._horizontalOrientation=r.horizontalOrientation),r.skipPredicate&&(this._skipPredicateFn=r.skipPredicate),r.trackBy&&(this._trackByFn=r.trackBy),typeof r.typeAheadDebounceInterval<"u"&&this._setTypeAhead(r.typeAheadDebounceInterval)}_initializeFocus(){var n,i;if(this._hasInitialFocused||this._items.length===0)return;let e=0;for(let o=0;o<this._items.length;o++)if(!this._skipPredicateFn(this._items[o])&&!this._isItemDisabled(this._items[o])){e=o;break}let r=this._items[e];r.makeFocusable?((n=this._activeItem)==null||n.unfocus(),this._activeItemIndex=e,this._activeItem=r,(i=this._typeahead)==null||i.setCurrentSelectedItemIndex(e),r.makeFocusable()):this.focusItem(e),this._hasInitialFocused=!0}destroy(){var e;this._typeaheadSubscription.unsubscribe(),(e=this._typeahead)==null||e.destroy(),this.change.complete()}onKeydown(e){var n,i;switch(e.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(e.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}(n=this._typeahead)==null||n.handleKey(e);return}(i=this._typeahead)==null||i.reset(),e.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(e,r={}){var s,c,l;(s=r.emitChangeEvent)!=null||(r.emitChangeEvent=!0);let n=typeof e=="number"?e:this._items.findIndex(u=>this._trackByFn(u)===this._trackByFn(e));if(n<0||n>=this._items.length)return;let i=this._items[n];if(this._activeItem!==null&&this._trackByFn(i)===this._trackByFn(this._activeItem))return;let o=this._activeItem;this._activeItem=i!=null?i:null,this._activeItemIndex=n,(c=this._typeahead)==null||c.setCurrentSelectedItemIndex(n),(l=this._activeItem)==null||l.focus(),o==null||o.unfocus(),r.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(e){var i;let r=this._activeItem;if(!r)return;let n=e.findIndex(o=>this._trackByFn(o)===this._trackByFn(r));n>-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n,(i=this._typeahead)==null||i.setCurrentSelectedItemIndex(n))}_setTypeAhead(e){this._typeahead=new Ip(this._items,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:r=>this._skipPredicateFn(r)}
1),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.focusItem(r)})}_findNextAvailableItemIndex(e){for(let r=e+1;r<this._items.length;r++)if(!this._skipPredicateFn(this._items[r]))return r;return e}_findPreviousAvailableItemIndex(e){for(let r=e-1;r>=0;r--)if(!this._skipPredicateFn(this._items[r]))return r;return e}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let e=this._activeItem.getParent();if(!e||this._skipPredicateFn(e))return;this.focusItem(e)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?Gy(this._activeItem.getChildren()).pipe(_e(1)).subscribe(e=>{let r=e.find(n=>!this._skipPredicateFn(n));r&&this.focusItem(r)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(e){var r;return typeof e.isDisabled=="boolean"?e.isDisabled:(r=e.isDisabled)==null?void 0:r.call(e)}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let e=this._activeItem.getParent(),r;e?r=Gy(e.getChildren()):r=O(this._items.filter(n=>n.getParent()===null)),r.pipe(_e(1)).subscribe(n=>{for(let i of n)i.expand()})}_activateCurrentItem(){var e;(e=this._activeItem)==null||e.activate()}};function XH(){return(t,e)=>new Xy(t,e)}var ufe=new b("tree-key-manager",{providedIn:"root",factory:XH});var Rp=(()=>{let e=class e{constructor(){a(this,"_platform",p(Pe))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return JH(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let i=QH(a3(n));if(i&&(XS(i)===-1||!this.isVisible(i)))return!1;let o=n.nodeName.toLowerCase(),s=XS(n);return n.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!o3(n)?!1:o==="audio"?n.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,i){return s3(n)&&!this.isDisabled(n)&&((i==null?void 0:i.ignoreVisibility)||this.isVisible(n))}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function QH(t){try{return t.frameElement}catch{return null}}function JH(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function e3(t){let e=t.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function t3(t){return r3(t)&&t.type=="hidden"}function n3(t){return i3(t)&&t.hasAttribute("href")}function r3(t){return t.nodeName.toLowerCase()=="input"}function i3(t){return t.nodeName.toLowerCase()=="a"}function rT(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let e=t.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function XS(t){if(!rT(t))return null;let e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function o3(t){let e=t.nodeName.toLowerCase(),r=e==="input"&&t.type;return r==="text"||r==="password"||e==="select"||e==="textarea"}function s3(t){return t3(t)?!1:e3(t)||n3(t)||t.hasAttribute("contenteditable")||rT(t)}function a3(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Ap=class{constructor(e,r,n,i,o=!1,s){a(this,"_element");a(this,"_checker");a(this,"_ngZone");a(this,"_document");a(this,"_injector");a(this,"_startAnchor");a(this,"_endAnchor");a(this,"_hasAttached",!1);a(this,"startAnchorListener",()=>this.focusLastTabbableElement());a(this,"endAnchorListener",()=>this.focusFirstTabbableElement());a(this,"_enabled",!0);this._element=e,this._checker=r,this._ngZone=n,this._document=i,this._injector=s,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,r=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.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(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let r=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]"));return e=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let n=this._getFirstTabbableElement(r);return n==null||n.focus(e),!!n}
1return r.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let r=this._getRegionBoundary("start");return r&&r.focus(e),!!r}focusLastTabbableElement(e){let r=this._getRegionBoundary("end");return r&&r.focus(e),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let r=e.children;for(let n=0;n<r.length;n++){let i=r[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(r[n]):null;if(i)return i}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let r=e.children;for(let n=r.length-1;n>=0;n--){let i=r[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[n]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,r){e?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?Fn(e,{injector:this._injector}):setTimeout(e)}},n_=(()=>{let e=class e{constructor(){a(this,"_checker",p(Rp));a(this,"_ngZone",p(F));a(this,"_document",p(ee));a(this,"_injector",p(fe));p(Zt).load(ql)}create(n,i=!1){return new Ap(n,this._checker,this._ngZone,this._document,i,this._injector)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),dfe=(()=>{let e=class e{constructor(){a(this,"_elementRef",p(P));a(this,"_focusTrapFactory",p(n_));a(this,"focusTrap");a(this,"_previouslyFocusedElement",null);a(this,"autoCapture");p(Pe).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}get enabled(){var n;return((n=this.focusTrap)==null?void 0:n.enabled)||!1}set enabled(n){this.focusTrap&&(this.focusTrap.enabled=n)}ngOnDestroy(){var n;(n=this.focusTrap)==null||n.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){var n;(n=this.focusTrap)==null||n.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(n){var o;let i=n.autoCapture;i&&!i.firstChange&&this.autoCapture&&((o=this.focusTrap)!=null&&o.hasAttached())&&this._captureFocus()}_captureFocus(){var n;this._previouslyFocusedElement=qa(),(n=this.focusTrap)==null||n.focusInitialElementWhenReady()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",be],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",be]},exportAs:["cdkTrapFocus"],features:[Ke,it]}));let t=e;return t})(),Qy=class extends Ap{constructor(r,n,i,o,s,c,l,u){super(r,n,i,o,l.defer,u);a(this,"_focusTrapManager");a(this,"_inertStrategy");this._focusTrapManager=s,this._inertStrategy=c,this._focusTrapManager.register(this)}get enabled(){return this._enabled}set enabled(r){this._enabled=r,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}},Jy=class{constructor(){a(this,"_listener",null)}preventFocus(e){this._listener&&e._document.removeEventListener("focus",this._listener,!0),this._listener=r=>this._trapFocus(e,r),e._ngZone.runOutsideAngular(()=>{e._document.addEventListener("focus",this._listener,!0)})}allowFocus(e){this._listener&&(e._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(e,r){var o;let n=r.target,i=e._element;n&&!i.contains(n)&&!((o=n.closest)!=null&&o.call(n,"div.cdk-overlay-pane"))&&setTimeout(()=>{e.enabled&&!i.contains(e._document.activeElement)&&e.focusFirstTabbableElement()})}},c3=new b("FOCUS_TRAP_INERT_STRATEGY"),l3=(()=>{let e=class e{constructor(){a(this,"_focusTrapStack",[])}register(n){this._focusTrapStack=this._focusTrapStack.filter(o=>o!==n);let i=this._focusTrapStack;i.length&&i[i.length-1]._disable(),i.push(n),n._enable()}deregister(n){n._disable();let i=this._focusTrapStack,o=i.indexOf(n);o!==-1&&(i.splice(o,1),i.length&&i[i.length-1]._enable())}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),ffe=(()=>{let e=class e{constructor(){a(this,"_checker",p(Rp));a(this,"_ngZone",p(F));a(this,"_focusTrapManager",p(l3));a(this,"_document",p(ee));a(this,"_inertStrategy");a(this,"_injector",p(fe));let n=p(c3,{optional:!0});this._inertStrategy=n||new Jy}create(n,i={defer:!1}){let o;return typeof i=="boolean"?o={defer:i}:o=i,new Qy(n,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,o,this._injector)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function Yl(t){return t.buttons===0||t.detail===0}function Zl(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];
1return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var u3=new b("cdk-input-modality-detector-options"),d3={ignoreKeys:[18,17,224,91,16]},iT=650,Ka=ii({passive:!0,capture:!0}),f3=(()=>{let e=class e{constructor(){a(this,"_platform",p(Pe));a(this,"modalityDetected");a(this,"modalityChanged");a(this,"_mostRecentTarget",null);a(this,"_modality",new qe(null));a(this,"_options");a(this,"_lastTouchMs",0);a(this,"_onKeydown",n=>{var i,o;(o=(i=this._options)==null?void 0:i.ignoreKeys)!=null&&o.some(s=>s===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Hn(n))});a(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<iT||(this._modality.next(Yl(n)?"keyboard":"mouse"),this._mostRecentTarget=Hn(n))});a(this,"_onTouchstart",n=>{if(Zl(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Hn(n)});let n=p(F),i=p(ee),o=p(u3,{optional:!0});this._options=T(T({},d3),o),this.modalityDetected=this._modality.pipe(nl(1)),this.modalityChanged=this.modalityDetected.pipe(Zr()),this._platform.isBrowser&&n.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,Ka),i.addEventListener("mousedown",this._onMousedown,Ka),i.addEventListener("touchstart",this._onTouchstart,Ka)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ka),document.removeEventListener("mousedown",this._onMousedown,Ka),document.removeEventListener("touchstart",this._onTouchstart,Ka))}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),p3=new b("liveAnnouncerElement",{providedIn:"root",factory:h3});function h3(){return null}var m3=new b("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),g3=0,oT=(()=>{let e=class e{constructor(){a(this,"_ngZone",p(F));a(this,"_defaultOptions",p(m3,{optional:!0}));a(this,"_liveElement");a(this,"_document",p(ee));a(this,"_previousTimeout");a(this,"_currentPromise");a(this,"_currentResolve");let n=p(p3,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...i){let o=this._defaultOptions,s,c;return i.length===1&&typeof i[0]=="number"?c=i[0]:[s,c]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),c==null&&o&&(c=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var l;this._liveElement.textContent=n,typeof c=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),c)),(l=this._currentResolve)==null||l.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var n,i;clearTimeout(this._previousTimeout),(n=this._liveElement)==null||n.remove(),this._liveElement=null,(i=this._currentResolve)==null||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",i=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s<i.length;s++)i[s].remove();return o.classList.add(n),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id="cdk-live-announcer-".concat(g3++),this._document.body.appendChild(o),o}_exposeAnnouncerToModals(n){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<i.length;o++){let s=i[o],c=s.getAttribute("aria-owns");c?c.indexOf(n)===-1&&s.setAttribute("aria-owns",c+" "+n):s.setAttribute("aria-owns",n)}}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();
1var Dp=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Dp||{}),v3=new b("cdk-focus-monitor-default-options"),wp=ii({passive:!0,capture:!0}),oi=(()=>{let e=class e{constructor(){a(this,"_ngZone",p(F));a(this,"_platform",p(Pe));a(this,"_inputModalityDetector",p(f3));a(this,"_origin",null);a(this,"_lastFocusOrigin");a(this,"_windowFocused",!1);a(this,"_windowFocusTimeoutId");a(this,"_originTimeoutId");a(this,"_originFromTouchInteraction",!1);a(this,"_elementInfo",new Map);a(this,"_monitoredElementCount",0);a(this,"_rootNodeFocusListenerCount",new Map);a(this,"_detectionMode");a(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});a(this,"_document",p(ee,{optional:!0}));a(this,"_stopInputModalityDetector",new A);a(this,"_rootNodeFocusAndBlurListener",n=>{let i=Hn(n);for(let o=i;o;o=o.parentElement)n.type==="focus"?this._onFocus(n,o):this._onBlur(n,o)});let n=p(v3,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||Dp.IMMEDIATE}monitor(n,i=!1){let o=Ar(n);if(!this._platform.isBrowser||o.nodeType!==1)return O();let s=HS(o)||this._getDocument(),c=this._elementInfo.get(o);if(c)return i&&(c.checkChildren=!0),c.subject;let l={checkChildren:i,subject:new A,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(n){let i=Ar(n),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(n,i,o){let s=Ar(n),c=this._getDocument().activeElement;s===c?this._getClosestElementsInfo(s).forEach(([l,u])=>this._originChanged(l,i,u)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===Dp.EVENTUAL||!!(n!=null&&n.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused",i==="touch"),n.classList.toggle("cdk-keyboard-focused",i==="keyboard"),n.classList.toggle("cdk-mouse-focused",i==="mouse"),n.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&i,this._detectionMode===Dp.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?iT:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,i){let o=this._elementInfo.get(i),s=Hn(n);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(n,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let i=n.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,wp),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,wp)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ce(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,wp),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,wp),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,o){this._setClasses(n,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){let i=[];return this._elementInfo.forEach((o,s)=>
1{(s===n||o.checkChildren&&s.contains(n))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let c=0;c<s.length;c++)if(s[c].contains(i))return!0}return!1}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),pfe=(()=>{let e=class e{constructor(){a(this,"_elementRef",p(P));a(this,"_focusMonitor",p(oi));a(this,"_monitorSubscription");a(this,"_focusOrigin",null);a(this,"cdkFocusChange",new Q)}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let n=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(n,n.nodeType===1&&n.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}));let t=e;return t})(),js=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}(js||{}),QS="cdk-high-contrast-black-on-white",JS="cdk-high-contrast-white-on-black",Yy="cdk-high-contrast-active",r_=(()=>{let e=class e{constructor(){a(this,"_platform",p(Pe));a(this,"_hasCheckedHighContrastMode");a(this,"_document",p(ee));a(this,"_breakpointSubscription");this._breakpointSubscription=p(xp).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return js.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return js.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return js.BLACK_ON_WHITE}return js.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Yy,QS,JS),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===js.BLACK_ON_WHITE?n.add(Yy,QS):i===js.WHITE_ON_BLACK&&n.add(Yy,JS)}}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),Op=(()=>{let e=class e{constructor(){p(r_)._applyBodyHighContrastModeCssClasses()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({imports:[WS]}));let t=e;return t})(),Zy={},cn=(()=>{let e=class e{constructor(){a(this,"_appId",p(Va))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Zy.hasOwnProperty(n)||(Zy[n]=0),"".concat(n).concat(Zy[n]++)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var b3=new b("cdk-dir-doc",{providedIn:"root",factory:y3});function y3(){return p(ee)}var _3=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function x3(t){let e=(t==null?void 0:t.toLowerCase())||"";return e==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?_3.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var sr=(()=>{let e=class e{constructor(){a(this,"value","ltr");a(this,"change",new Q);let n=p(b3,{optional:!0});if(n){let i=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=x3(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var Do=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({}));let t=e;return t})();var E3=["text"],w3=[[["mat-icon"]],"*"],D3=["mat-icon","*"];function C3(t,e){if(t&1&&j(0,"mat-pseudo-checkbox",1),t&2){let r=$();ue("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function I3(t,e){if(t&1&&j(0,"mat-pseudo-checkbox",3),t&2){let r=$();ue("disabled",r.disabled)}}function S3(t,e){if(t&1&&(C(0,"span",4),K(1),I()),t&2){let r=$();D(),Se("(",r.group.label,")")}}var T3=["mat-internal-form-field",""],A3=["*"];var $fe=(()=>{class t{}return a(t,"STANDARD_CURVE","cubic-bezier(0.4,0.0,0.2,1)"),a(t,"DECELERATION_CURVE","cubic-bezier(0.0,0.0,0.2,1)"),a(t,"ACCELERATION_CURVE","cubic-bezier(0.4,0.0,1,1)"),a(t,"SHARP_CURVE","cubic-bezier(0.4,0.0,0.6,1)"),t})(),zfe=(()=>{class t{}return a(t,"COMPLEX","375ms"),a(t,"ENTERING","225ms"),a(t,"EXITING","195ms"),t})();var tt=(()=>{let e=class e{constructor(){p(r_)._applyBodyHighContrastModeCssClasse
1s()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({imports:[Do,Do]}));let t=e;return t})(),sT=class{constructor(e,r,n,i,o){a(this,"_defaultMatcher");a(this,"ngControl");a(this,"_parentFormGroup");a(this,"_parentForm");a(this,"_stateChanges");a(this,"errorState",!1);a(this,"matcher");this._defaultMatcher=e,this.ngControl=r,this._parentFormGroup=n,this._parentForm=i,this._stateChanges=o}updateErrorState(){var s;let e=this.errorState,r=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=(s=n==null?void 0:n.isErrorState(i,r))!=null?s:!1;o!==e&&(this.errorState=o,this._stateChanges.next())}},aT=new b("MAT_DATE_LOCALE",{providedIn:"root",factory:M3});function M3(){return p(yo)}var Xa="Method not implemented",Pp=class{constructor(){a(this,"locale");a(this,"_localeChanges",new A);a(this,"localeChanges",this._localeChanges)}setTime(e,r,n,i){throw new Error(Xa)}getHours(e){throw new Error(Xa)}getMinutes(e){throw new Error(Xa)}getSeconds(e){throw new Error(Xa)}parseTime(e,r){throw new Error(Xa)}addSeconds(e,r){throw new Error(Xa)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,r){return this.getYear(e)-this.getYear(r)||this.getMonth(e)-this.getMonth(r)||this.getDate(e)-this.getDate(r)}compareTime(e,r){return this.getHours(e)-this.getHours(r)||this.getMinutes(e)-this.getMinutes(r)||this.getSeconds(e)-this.getSeconds(r)}sameDate(e,r){if(e&&r){let n=this.isValid(e),i=this.isValid(r);return n&&i?!this.compareDate(e,r):n==i}return e==r}sameTime(e,r){if(e&&r){let n=this.isValid(e),i=this.isValid(r);return n&&i?!this.compareTime(e,r):n==i}return e==r}clampDate(e,r,n){return r&&this.compareDate(e,r)<0?r:n&&this.compareDate(e,n)>0?n:e}},k3=new b("mat-date-formats"),R3=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,O3=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function i_(t,e){let r=Array(t);for(let n=0;n<t;n++)r[n]=e(n);return r}var N3=(()=>{let e=class e extends Pp{constructor(){super();a(this,"useUtcForDisplay",!1);a(this,"_matDateLocale",p(aT,{optional:!0}));let i=p(aT,{optional:!0});i!==void 0&&(this._matDateLocale=i),super.setLocale(this._matDateLocale)}getYear(i){return i.getFullYear()}getMonth(i){return i.getMonth()}getDate(i){return i.getDate()}getDayOfWeek(i){return i.getDay()}getMonthNames(i){let o=new Intl.DateTimeFormat(this.locale,{month:i,timeZone:"utc"});
1return i_(12,s=>this._format(o,new Date(2017,s,1)))}getDateNames(){let i=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return i_(31,o=>this._format(i,new Date(2017,0,o+1)))}getDayOfWeekNames(i){let o=new Intl.DateTimeFormat(this.locale,{weekday:i,timeZone:"utc"});return i_(7,s=>this._format(o,new Date(2017,0,s+1)))}getYearName(i){let o=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(o,i)}getFirstDayOfWeek(){var i,o,s;if(typeof Intl<"u"&&Intl.Locale){let c=new Intl.Locale(this.locale),l=(s=(o=((i=c.getWeekInfo)==null?void 0:i.call(c))||c.weekInfo)==null?void 0:o.firstDay)!=null?s:0;return l===7?0:l}return 0}getNumDaysInMonth(i){return this.getDate(this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+1,0))}clone(i){return new Date(i.getTime())}createDate(i,o,s){let c=this._createDateWithOverflow(i,o,s);return c.getMonth()!=o,c}today(){return new Date}parse(i,o){return typeof i=="number"?new Date(i):i?new Date(Date.parse(i)):null}format(i,o){if(!this.isValid(i))throw Error("NativeDateAdapter: Cannot format invalid date.");let s=new Intl.DateTimeFormat(this.locale,ve(T({},o),{timeZone:"utc"}));return this._format(s,i)}addCalendarYears(i,o){return this.addCalendarMonths(i,o*12)}addCalendarMonths(i,o){let s=this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+o,this.getDate(i));return this.getMonth(s)!=((this.getMonth(i)+o)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(i,o){return this._createDateWithOverflow(this.getYear(i),this.getMonth(i),this.getDate(i)+o)}toIso8601(i){return[i.getUTCFullYear(),this._2digit(i.getUTCMonth()+1),this._2digit(i.getUTCDate())].join("-")}deserialize(i){if(typeof i=="string"){if(!i)return null;if(R3.test(i)){let o=new Date(i);if(this.isValid(o))return o}}return super.deserialize(i)}isDateInstance(i){return i instanceof Date}isValid(i){return!isNaN(i.getTime())}invalid(){return new Date(NaN)}setTime(i,o,s,c){let l=this.clone(i);return l.setHours(o,s,c,0),l}getHours(i){return i.getHours()}getMinutes(i){return i.getMinutes()}getSeconds(i){return i.getSeconds()}parseTime(i,o){if(typeof i!="string")return i instanceof Date?new Date(i.getTime()):null;let s=i.trim();if(s.length===0)return null;let c=this._parseTimeString(s);if(c===null){let l=s.replace(/[^0-9:(AM|PM)]/gi,"").trim();l.length>0&&(c=this._parseTimeString(l))}return c||this.invalid()}addSeconds(i,o){return new Date(i.getTime()+o*1e3)}_createDateWithOverflow(i,o,s){let c=new Date;return c.setFullYear(i,o,s),c.setHours(0,0,0,0),c}_2digit(i){return("00"+i).slice(-2)}_format(i,o){let s=new Date;return s.setUTCFullYear(o.getFullYear(),o.getMonth(),o.getDate()),s.setUTCHours(o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds()),i.format(s)}_parseTimeString(i){let o=i.toUpperCase().match(O3);if(o){let s=parseInt(o[1]),c=parseInt(o[2]),l=o[3]==null?void 0:parseInt(o[3]),u=o[4];if(s===12?s=u==="AM"?0:s:u==="PM"&&(s+=12),o_(s,0,23)&&o_(c,0,59)&&(l==null||o_(l,0,59)))return this.setTime(this.today(),s,c,l||0)}return null}};a(e,"\u0275fac",function(o){return new(o||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})();function o_(t,e,r){return!isNaN(t)&&t>=e&&t<=r}var P3={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"}}};function Wfe(t=P3){return[{provide:Pp,useClass:N3},{provide:k3,useValue:t}]}var Gfe=(()=>{let e=class e{isErrorState(n,i){return!!(n&&n.invalid&&(n.touched||i&&i.submitted))}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),Vs=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,o){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0}));let t=e;return t})();var ar=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}(ar||{}),c_=class{constructor(e,r,n,i=!1){a(this,"_renderer");a(this,"element");a(this,"config");a(this,"_animationForciblyDisabledThroughCss");a(this,"state",ar.HIDDEN);this._renderer=e,this.element=r,this.config=n,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}},cT=ii({passive:!0,capture:!0}),l_=class{constructor(){a(this,"_events",new Map);a(this,"_delegateEventHandler",e=>{var n;let r=Hn(e);
1r&&((n=this._events.get(e.type))==null||n.forEach((i,o)=>{(o===r||o.contains(r))&&i.forEach(s=>s.handleEvent(e))}))})}addHandler(e,r,n,i){let o=this._events.get(r);if(o){let s=o.get(n);s?s.add(i):o.set(n,new Set([i]))}else this._events.set(r,new Map([[n,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,cT)})}removeHandler(e,r,n){let i=this._events.get(e);if(!i)return;let o=i.get(r);o&&(o.delete(n),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,cT)))}},Fp={enterDuration:225,exitDuration:150},F3=800,lT=ii({passive:!0,capture:!0}),uT=["mousedown","touchstart"],dT=["mouseup","mouseleave","touchend","touchcancel"],L3=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,o){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0}));let t=e;return t})(),Kl=class Kl{constructor(e,r,n,i,o){a(this,"_target");a(this,"_ngZone");a(this,"_platform");a(this,"_containerElement");a(this,"_triggerElement");a(this,"_isPointerDown",!1);a(this,"_activeRipples",new Map);a(this,"_mostRecentTransientRipple");a(this,"_lastTouchStartEvent");a(this,"_pointerUpEventsRegistered",!1);a(this,"_containerRect");this._target=e,this._ngZone=r,this._platform=i,i.isBrowser&&(this._containerElement=Ar(n)),o&&o.get(Zt).load(L3)}fadeInRipple(e,r,n={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=T(T({},Fp),n.animation);n.centered&&(e=i.left+i.width/2,r=i.top+i.height/2);let s=n.radius||j3(e,r,i),c=e-i.left,l=r-i.top,u=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left="".concat(c-s,"px"),d.style.top="".concat(l-s,"px"),d.style.height="".concat(s*2,"px"),d.style.width="".concat(s*2,"px"),n.color!=null&&(d.style.backgroundColor=n.color),d.style.transitionDuration="".concat(u,"ms"),this._containerElement.appendChild(d);let f=window.getComputedStyle(d),h=f.transitionProperty,m=f.transitionDuration,g=h==="none"||m==="0s"||m==="0s, 0s"||i.width===0&&i.height===0,_=new c_(this,d,n,g);d.style.transform="scale3d(1, 1, 1)",_.state=ar.FADING_IN,n.persistent||(this._mostRecentTransientRipple=_);let x=null;return!g&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let S=()=>{x&&(x.fallbackTimer=null),clearTimeout(Ie),this._finishRippleTransition(_)},L=()=>this._destroyRipple(_),Ie=setTimeout(L,u+100);d.addEventListener("transitionend",S),d.addEventListener("transitioncancel",L),x={onTransitionEnd:S,onTransitionCancel:L,fallbackTimer:Ie}}),this._activeRipples.set(_,x),(g||!u)&&this._finishRippleTransition(_),_}fadeOutRipple(e){if(e.state===ar.FADING_OUT||e.state===ar.HIDDEN)return;let r=e.element,n=T(T({},Fp),e.config.animation);r.style.transitionDuration="".concat(n.exitDuration,"ms"),r.style.opacity="0",e.state=ar.FADING_OUT,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=Ar(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,uT.forEach(n=>{Kl._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{dT.forEach(r=>{this._triggerElement.addEventListener(r,this,lT)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===ar.FADING_IN?this._startFadeOutTransition(e):e.state===ar.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=ar.VISIBLE,!n&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){var n;let r=(n=this._activeRipples.get(e))!=null?n:null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=ar.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),e.element.remove()}_onMousedown(e){let r=Yl(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+F3;!this._target.rippleDisabled&&!r&&!n&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Zl(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let r=e.changedTouches;if(r)for(let n=0;n<r.length;n++)this.fadeInRipple(r[n].clientX,r[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEac
1h(e=>{let r=e.state===ar.VISIBLE||e.config.terminateOnPointerUp&&e.state===ar.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(uT.forEach(r=>Kl._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&(dT.forEach(r=>e.removeEventListener(r,this,lT)),this._pointerUpEventsRegistered=!1))}};a(Kl,"_eventManager",new l_);var Lp=Kl;function j3(t,e,r){let n=Math.max(Math.abs(t-r.left),Math.abs(t-r.right)),i=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(n*n+i*i)}var mT=new b("mat-ripple-global-options"),Xl=(()=>{let e=class e{constructor(){a(this,"_elementRef",p(P));a(this,"_animationMode",p(qt,{optional:!0}));a(this,"color");a(this,"unbounded");a(this,"centered");a(this,"radius",0);a(this,"animation");a(this,"_disabled",!1);a(this,"_trigger");a(this,"_rippleRenderer");a(this,"_globalOptions");a(this,"_isInitialized",!1);let n=p(F),i=p(Pe),o=p(mT,{optional:!0}),s=p(fe);this._globalOptions=o||{},this._rippleRenderer=new Lp(this,n,this._elementRef,i,s)}get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}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:T(T(T({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(n,i=0,o){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,i,T(T({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,T(T({},this.rippleConfig),n))}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mat-ripple-unbounded",o.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"]}));let t=e;return t})(),p_=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({imports:[tt,tt]}));let t=e;return t})(),V3=(()=>{let e=class e{constructor(){a(this,"_animationMode",p(qt,{optional:!0}));a(this,"state","unchecked");a(this,"disabled",!1);a(this,"appearance","full")}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&ae("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;
1height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}));let t=e;return t})(),qfe=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({imports:[tt]}));let t=e;return t})(),B3=new b("MAT_OPTION_PARENT_COMPONENT"),U3=new b("MatOptgroup");var u_=class{constructor(e,r=!1){a(this,"source");a(this,"isUserInput");this.source=e,this.isUserInput=r}},Yfe=(()=>{let e=class e{constructor(){a(this,"_element",p(P));a(this,"_changeDetectorRef",p(Ne));a(this,"_parent",p(B3,{optional:!0}));a(this,"group",p(U3,{optional:!0}));a(this,"_signalDisableRipple",!1);a(this,"_selected",!1);a(this,"_active",!1);a(this,"_disabled",!1);a(this,"_mostRecentViewValue","");a(this,"value");a(this,"id",p(cn).getId("mat-option-"));a(this,"onSelectionChange",new Q);a(this,"_text");a(this,"_stateChanges",new A);p(Zt).load(Vs),p(Zt).load(ql),this._signalDisableRipple=!!this._parent&&Ba(this._parent.disableRipple)}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(n){this._disabled=n}get disableRipple(){var n;return this._signalDisableRipple?this._parent.disableRipple():!!((n=this._parent)!=null&&n.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}get active(){return this._active}get viewValue(){var n;return(((n=this._text)==null?void 0:n.nativeElement.textContent)||"").trim()}select(n=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}deselect(n=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}focus(n,i){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!wn(n)&&(this._selectViaInteraction(),n.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 n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new u_(this,n))}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&Yt(E3,7),i&2){let s;wt(s=Dt())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&J("click",function(){return o._selectViaInteraction()})("keydown",function(c){return o._handleKeydown(c)}),i&2&&(bo("id",o.id),ge("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),ae("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",be]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[Ke],ngContentSelectors:D3,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(i,o){i&1&&(et(w3),se(0,C3,1,2,"mat-pseudo-checkbox",1),ke(1),C(2,"span",2,0),ke(4,1),I(),se(5,I3,1,1,"mat-pseudo-checkbox",3)(6,S3,2,1,"span",4),j(7,"div",5)),i&2&&(te(o.multiple?0:-1),D(5),te(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),D(),te(o.group&&o.group._inert?6:-1),D(),ue("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[V3,Xl],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){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))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}));let t=e;return t})();function Zfe(t,e,r){if(r.length){let n=e.toArray(),i=r.toArray(),o=0;for(let s=0;s<t+1;s++)n[s].group&&n[s].group===i[o]&&o++;return o}return 0}function Kfe(t,e,r,n){return t<r?t:t+e>r+n?Math.max(0,t-n+e):r}var fT={capture:!0}
1,pT=["focus","mousedown","mouseenter","touchstart"],s_="mat-ripple-loader-uninitialized",a_="mat-ripple-loader-class-name",hT="mat-ripple-loader-centered",Np="mat-ripple-loader-disabled",gT=(()=>{let e=class e{constructor(){a(this,"_document",p(ee,{optional:!0}));a(this,"_animationMode",p(qt,{optional:!0}));a(this,"_globalRippleOptions",p(mT,{optional:!0}));a(this,"_platform",p(Pe));a(this,"_ngZone",p(F));a(this,"_injector",p(fe));a(this,"_hosts",new Map);a(this,"_onInteraction",n=>{var o,s;let i=Hn(n);if(i instanceof HTMLElement){let c=i.closest("[".concat(s_,'="').concat((s=(o=this._globalRippleOptions)==null?void 0:o.namespace)!=null?s:"",'"]'));c&&this._createRipple(c)}});this._ngZone.runOutsideAngular(()=>{var n;for(let i of pT)(n=this._document)==null||n.addEventListener(i,this._onInteraction,fT)})}ngOnDestroy(){var i;let n=this._hosts.keys();for(let o of n)this.destroyRipple(o);for(let o of pT)(i=this._document)==null||i.removeEventListener(o,this._onInteraction,fT)}configureRipple(n,i){var o,s;n.setAttribute(s_,(s=(o=this._globalRippleOptions)==null?void 0:o.namespace)!=null?s:""),(i.className||!n.hasAttribute(a_))&&n.setAttribute(a_,i.className||""),i.centered&&n.setAttribute(hT,""),i.disabled&&n.setAttribute(Np,"")}setDisabled(n,i){let o=this._hosts.get(n);o?(o.target.rippleDisabled=i,!i&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(n))):i?n.setAttribute(Np,""):n.removeAttribute(Np)}_createRipple(n){var h,m,g,_,x;if(!this._document||this._hosts.has(n))return;(h=n.querySelector(".mat-ripple"))==null||h.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",n.getAttribute(a_)),n.append(i);let o=this._animationMode==="NoopAnimations",s=this._globalRippleOptions,c=o?0:(g=(m=s==null?void 0:s.animation)==null?void 0:m.enterDuration)!=null?g:Fp.enterDuration,l=o?0:(x=(_=s==null?void 0:s.animation)==null?void 0:_.exitDuration)!=null?x:Fp.exitDuration,u={rippleDisabled:o||(s==null?void 0:s.disabled)||n.hasAttribute(Np),rippleConfig:{centered:n.hasAttribute(hT),terminateOnPointerUp:s==null?void 0:s.terminateOnPointerUp,animation:{enterDuration:c,exitDuration:l}}},d=new Lp(u,this._ngZone,i,this._platform,this._injector),f=!u.rippleDisabled;f&&d.setupTriggerEvents(n),this._hosts.set(n,{target:u,renderer:d,hasSetUpEvents:f}),n.removeAttribute(s_)}destroyRipple(n){let i=this._hosts.get(n);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(n))}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),vT=(()=>{let e=class e{constructor(){a(this,"labelPosition")}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:T3,ngContentSelectors:A3,decls:1,vars:0,template:function(i,o){i&1&&(et(),ke(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0}));let t=e;return t})();var yT=["mat-button",""],h_=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],m_=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],H3='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.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{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}
1.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.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{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.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{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.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{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}
1.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',g_="@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}";var $3=["mat-mini-fab",""],z3='.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display, block)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;height:var(--mdc-extended-fab-container-height, 56px);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-sys-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-sys-label-large-tracking));box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',_T=["mat-icon-button",""],xT=["*"],W3='.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}
1.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{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))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.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{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.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{background:rgba(0,0,0,0);opacity:1}',G3=new b("MAT_BUTTON_CONFIG");var q3=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],jp=(()=>{let e=class e{constructor(){a(this,"_elementRef",p(P));a(this,"_platform",p(Pe));a(this,"_ngZone",p(F));a(this,"_animationMode",p(qt,{optional:!0}));a(this,"_focusMonitor",p(oi));a(this,"_rippleLoader",p(gT));a(this,"_isFab",!1);a(this,"color");a(this,"_disableRipple",!1);a(this,"_disabled",!1);a(this,"ariaDisabled");a(this,"disabledInteractive");var s,c,l;p(Zt).load(Vs);let n=p(G3,{optional:!0}),i=this._elementRef.nativeElement,o=i.classList;this.disabledInteractive=(s=n==null?void 0:n.disabledInteractive)!=null?s:!1,this.color=(c=n==null?void 0:n.color)!=null?c:null,(l=this._rippleLoader)==null||l.configureRipple(i,{className:"mat-mdc-button-ripple"});for(let{attribute:u,mdcClasses:d}of q3)i.hasAttribute(u)&&o.add(...d)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var n;this._focusMonitor.stopMonitoring(this._elementRef),(n=this._rippleLoader)==null||n.destroyRipple(this._elementRef.nativeElement)}focus(n="program",i){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,i):this._elementRef.nativeElement.focus(i)}
1_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){var n;(n=this._rippleLoader)==null||n.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",be],disabled:[2,"disabled","disabled",be],ariaDisabled:[2,"aria-disabled","ariaDisabled",be],disabledInteractive:[2,"disabledInteractive","disabledInteractive",be]},features:[Ke]}));let t=e;return t})();var ET=(()=>{let e=class e extends jp{constructor(){super(...arguments);a(this,"tabIndex");a(this,"_haltDisabledEvents",i=>{this.disabled&&(i.preventDefault(),i.stopImmediatePropagation())})}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}};a(e,"\u0275fac",(()=>{let i;return function(s){return(i||(i=Oe(e)))(s||e)}})()),a(e,"\u0275dir",k({type:e,inputs:{tabIndex:[2,"tabIndex","tabIndex",i=>i==null?void 0:_o(i)]},features:[Ke,pe]}));let t=e;return t})(),ut=(()=>{let e=class e extends jp{};a(e,"\u0275fac",(()=>{let n;return function(o){return(n||(n=Oe(e)))(o||e)}})()),a(e,"\u0275cmp",B({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(ge("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),En(o.color?"mat-"+o.color:""),ae("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[pe],attrs:yT,ngContentSelectors:m_,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(i,o){i&1&&(et(h_),j(0,"span",0),ke(1),C(2,"span",1),ke(3,1),I(),ke(4,2),j(5,"span",2)(6,"span",3)),i&2&&ae("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.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{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}
1.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.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{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.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{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.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{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}
1.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0}));let t=e;return t})(),upe=(()=>{let e=class e extends ET{};a(e,"\u0275fac",(()=>{let n;return function(o){return(n||(n=Oe(e)))(o||e)}})()),a(e,"\u0275cmp",B({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,o){i&2&&(ge("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),En(o.color?"mat-"+o.color:""),ae("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[pe],attrs:yT,ngContentSelectors:m_,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(i,o){i&1&&(et(h_),j(0,"span",0),ke(1),C(2,"span",1),ke(3,1),I(),ke(4,2),j(5,"span",2)(6,"span",3)),i&2&&ae("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[H3,g_],encapsulation:2,changeDetection:0}));let t=e;return t})(),Y3=new b("mat-mdc-fab-default-options",{providedIn:"root",factory:wT});function wT(){return{color:"accent"}}var bT=wT();var dpe=(()=>{let e=class e extends jp{constructor(){super();a(this,"_options",p(Y3,{optional:!0}));a(this,"_isFab",!0);this._options=this._options||bT,this.color=this._options.color||bT.color}};a(e,"\u0275fac",function(o){return new(o||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(o,s){o&2&&(ge("disabled",s._getDisabledAttribute())("aria-disabled",s._getAriaDisabled()),En(s.color?"mat-"+s.color:""),ae("mat-mdc-button-disabled",s.disabled)("mat-mdc-button-disabled-interactive",s.disabledInteractive)("_mat-animation-noopable",s._animationMode==="NoopAnimations")("mat-unthemed",!s.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[pe],attrs:$3,ngContentSelectors:m_,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(o,s){o&1&&(et(h_),j(0,"span",0),ke(1),C(2,"span",1),ke(3,1),I(),ke(4,2),j(5,"span",2)(6,"span",3)),o&2&&ae("mdc-button__ripple",!s._isFab)("mdc-fab__ripple",s._isFab)},styles:[z3],encapsulation:2,changeDetection:0}));let t=e;return t})();var Vp=(()=>{let e=class e extends jp{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(ge("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),En(o.color?"mat-"+o.color:""),ae("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[pe],attrs:_T,ngContentSelectors:xT,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(i,o){i&1&&(et(),j(0,"span",0),ke(1),j(2,"
1span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{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))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.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{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.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{background:rgba(0,0,0,0);opacity:1}',g_],encapsulation:2,changeDetection:0}));let t=e;return t})(),fpe=(()=>{let e=class e extends ET{};a(e,"\u0275fac",(()=>{let n;return function(o){return(n||(n=Oe(e)))(o||e)}})()),a(e,"\u0275cmp",B({type:e,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(i,o){i&2&&(ge("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),En(o.color?"mat-"+o.color:""),ae("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[pe],attrs:_T,ngContentSelectors:xT,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(i,o){i&1&&(et(),j(0,"span",0),ke(1),j(2,"
1span",1)(3,"span",2))},styles:[W3,g_],encapsulation:2,changeDetection:0}));let t=e;return t})(),Z3=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({imports:[tt,p_,tt]}));let t=e;return t})();var b_=class extends ap{constructor(){super(...arguments);a(this,"supportsDOMEvents",!0)}},y_=class t extends b_{static makeCurrent(){hS(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.remove()}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=K3();return r==null?null:X3(r)}resetBaseElement(){Ql=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return fp(document.cookie,e)}},Ql=null;function K3(){return Ql=Ql||document.querySelector("base"),Ql?Ql.getAttribute("href"):null}function X3(t){return new URL(t,document.baseURI).pathname}var __=class{addToWindow(e){St.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new U(5103,!1);return o},St.getAllAngularTestabilities=()=>e.getAllTestabilities(),St.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=St.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(c=>{c.whenStable(s)})};St.frameworkStabilizers||(St.frameworkStabilizers=[]),St.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i!=null?i:n?ri().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null}},Q3=(()=>{let e=class e{build(){return new XMLHttpRequest}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),x_=new b(""),AT=(()=>{let e=class e{constructor(n,i){a(this,"_zone");a(this,"_plugins");a(this,"_eventNameToPlugin",new Map);this._zone=i,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new U(5101,!1);return this._eventNameToPlugin.set(n,i),i}};a(e,"\u0275fac",function(i){return new(i||e)(E(x_),E(F))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),Bp=class{constructor(e){a(this,"_doc");a(this,"manager");this._doc=e}},E_="ng-app-id";function DT(t){for(let e of t)e.remove()}function CT(t,e){let r=e.createElement("style");return r.textContent=t,r}function J3(t,e,r){var i;let n=(i=t.head)==null?void 0:i.querySelectorAll("style[".concat(E_,'="').concat(e,'"]'));if(n)for(let o of n)o.textContent&&(o.removeAttribute(E_),r.set(o.textContent,{usage:0,elements:[o]}))}function w_(t,e){let r=e.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",t),r}var MT=(()=>{let e=class e{constructor(n,i,o,s={}){a(this,"doc");a(this,"appId");a(this,"nonce");a(this,"inline",new Map);a(this,"external",new Map);a(this,"hosts",new Set);a(this,"isServer");this.doc=n,this.appId=i,this.nonce=o,this.isServer=pp(s),J3(n,i,this.inline),this.hosts.add(n.head)}addStyles(n,i){for(let o of n)this.addUsage(o,this.inline,CT);i==null||i.forEach(o=>this.addUsage(o,this.external,w_))}removeStyles(n,i){for(let o of n)this.removeUsage(o,this.inline);i==null||i.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,i,o){let s=i.get(n);s?s.usage++:i.set(n,{usage:1,elements:[...this.hosts].map(c=>this.addElement(c,o(n,this.doc)))})}removeUsage(n,i){let o=i.get(n);o&&(o.usage--,o.usage<=0&&(DT(o.elements),i.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])DT(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[i,{elements:o}]of this.inline)o.push(this.addElement(n,CT(i,this.doc)));for(let[i,{elements:o}]of this.external)o.push(this.addElement(n,w_(i,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(E_,this.appId),n.appendChild(i)}};a(e,"\u0275fac",function(i){return new(i||e)(E(ee),E(Va),E(Ml,8),E(xn))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),v_={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"},C_=/%COMP%/g,kT="%COMP%",e$="_nghost-".concat(kT),t$="_ngcontent-".concat(kT),n$=!0,r$=new b("",{providedIn:"root",factory:()=>n$});function i$(t){return t$.replace(C_,t)}function o$(t){return e$.replace(C_,t)}function RT(t,e){return e.map(r=>r.replace(C_,t))}var IT=(()=>{let e=class e{constructor(n,i,o,s,c,l,u,d=null){a(this,"eventManager");a(this,"sharedStylesHost");a(this,"appId");a(this,"removeStylesOnCompDestroy");a(this,"doc");a(this,"platformId");a(this,"ngZone");a(this,"nonce");a(this,"rendererByCompId",new Map);a(this,"defaultRenderer");a(this,"platformIsServer");this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=c,this.platformId=l,this.ngZone=u,this.nonce=d,this.platformIsServer=pp(l),this.defaultRenderer=new Jl(n,c,u,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Jr.ShadowDom&&(i=ve(T({},i),{encapsulation:Jr.Emulated}));let o=this.getOrCreateRenderer(n,i);
1return o instanceof Up?o.applyToHost(n):o instanceof eu&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let c=this.doc,l=this.ngZone,u=this.eventManager,d=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case Jr.Emulated:s=new Up(u,d,i,this.appId,f,c,l,h);break;case Jr.ShadowDom:return new D_(u,d,n,i,c,l,this.nonce,h);default:s=new eu(u,d,i,f,c,l,h);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};a(e,"\u0275fac",function(i){return new(i||e)(E(AT),E(MT),E(Va),E(r$),E(ee),E(xn),E(F),E(Ml))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),Jl=class{constructor(e,r,n,i){a(this,"eventManager");a(this,"doc");a(this,"ngZone");a(this,"platformIsServer");a(this,"data",Object.create(null));a(this,"throwOnSyntheticProps",!0);a(this,"destroyNode",null);this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i}destroy(){}createElement(e,r){return r?this.doc.createElementNS(v_[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(ST(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(ST(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){r.remove()}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new U(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=v_[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=v_[n];i?e.removeAttributeNS(i,r):e.removeAttribute("".concat(n,":").concat(r))}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(ei.DashCase|ei.Important)?e.style.setProperty(r,n,i&ei.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&ei.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=ri().getGlobalEventTarget(this.doc,e),!e))throw new Error("Unsupported event target ".concat(e," for event ").concat(r));return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function ST(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var D_=class extends Jl{constructor(r,n,i,o,s,c,l,u){var h;super(r,s,c,u);a(this,"sharedStylesHost");a(this,"hostEl");a(this,"shadowRoot");this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=RT(o.id,o.styles);for(let m of d){let g=document.createElement("style");l&&g.setAttribute("nonce",l),g.textContent=m,this.shadowRoot.appendChild(g)}let f=(h=o.getExternalStyles)==null?void 0:h.call(o);if(f)for(let m of f){let g=w_(m,s);l&&g.setAttribute("nonce",l),this.shadowRoot.appendChild(g)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,n){return super.appendChild(this.nodeOrShadowRoot(r),n)}insertBefore(r,n,i){return super.insertBefore(this.nodeOrShadowRoot(r),n,i)}removeChild(r,n){return super.removeChild(null,n)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},eu=class extends Jl{constructor(r,n,i,o,s,c,l,u){var d;super(r,s,c,l);a(this,"sharedStylesHost");a(this,"removeStylesOnCompDestroy");a(this,"styles");a(this,"styleUrls");this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?RT(u,i.styles):i.styles,this.styleUrls=(d=i.getExternalStyles)==null?void 0:d.call(i,u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Up=class extends eu{constructor(r,n,i,o,s,c,l,u){let d=o+"-"+i.id;super(r,n,i,s,c,l,u,d);a(this,"contentAttr");a(this,"hostAttr");this.contentAttr=i$(d),this.hostAttr=o$(d)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}
1createElement(r,n){let i=super.createElement(r,n);return super.setAttribute(i,this.contentAttr,""),i}},s$=(()=>{let e=class e extends Bp{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};a(e,"\u0275fac",function(i){return new(i||e)(E(ee))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),TT=["alt","control","meta","shift"],a$={"\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"},c$={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},l$=(()=>{let e=class e extends Bp{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),c=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ri().onAndCancel(n,s.domEventName,c))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),c="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),c="code."),TT.forEach(d=>{let f=i.indexOf(d);f>-1&&(i.splice(f,1),c+=d+".")}),c+=s,i.length!=0||s.length===0)return null;let u={};return u.domEventName=o,u.fullKey=c,u}static matchEventFullKeyCode(n,i){let o=a$[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),TT.forEach(c=>{if(c!==o){let l=c$[c];l(n)&&(s+=c+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};a(e,"\u0275fac",function(i){return new(i||e)(E(ee))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})();function Ape(t,e){return tS(T({rootComponent:t},u$(e)))}function u$(t){var e;return{appProviders:[...OT,...(e=t==null?void 0:t.providers)!=null?e:[]],platformProviders:h$}}function d$(){y_.makeCurrent()}function f$(){return new _t}function p$(){return rC(document),document}var h$=[{provide:xn,useValue:Py},{provide:Lb,useValue:d$,multi:!0},{provide:ee,useFactory:p$,deps:[]}];var m$=new b(""),g$=[{provide:Fl,useClass:__,deps:[]},{provide:oy,useClass:Gf,deps:[F,qf,Fl]},{provide:Gf,useClass:Gf,deps:[F,qf,Fl]}],OT=[{provide:wf,useValue:"root"},{provide:_t,useFactory:f$,deps:[]},{provide:x_,useClass:s$,multi:!0,deps:[ee,F,xn]},{provide:x_,useClass:l$,multi:!0,deps:[ee]},IT,MT,AT,{provide:Oa,useExisting:IT},{provide:$a,useClass:Q3,deps:[]},[]],Mpe=(()=>{let e=class e{constructor(n){}};a(e,"\u0275fac",function(i){return new(i||e)(E(m$,12))}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({providers:[...OT,...g$],imports:[SS,eS]}));let t=e;return t})();var kpe=(()=>{let e=class e{constructor(n){a(this,"_doc");this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};a(e,"\u0275fac",function(i){return new(i||e)(E(ee))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var tu=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=E(v$),o},providedIn:"root"}));let t=e;return t})(),v$=(()=>{let e=class e extends tu{constructor(i){super();a(this,"_doc");this._doc=i}sanitize(i,o){if(o==null)return null;switch(i){case Ft.NONE:return o;case Ft.HTML:return Oi(o,"HTML")?Ln(o):Ub(this._doc,String(o)).toString();case Ft.STYLE:return Oi(o,"Style")?Ln(o):o;case Ft.SCRIPT:if(Oi(o,"Script"))return Ln(o);throw new U(5200,!1);case Ft.URL:return Oi(o,"URL")?Ln(o):Lf(String(o));case Ft.RESOURCE_URL:if(Oi(o,"ResourceURL"))return Ln(o);throw new U(5201,!1);default:throw new U(5202,!1)}}bypassSecurityTrustHtml(i){return lC(i)}bypassSecurityTrustStyle(i){return uC(i)}bypassSecurityTrustScript(i){return dC(i)}bypassSecurityTrustUrl(i){return fC(i)}bypassSecurityTrustResourceUrl(i){return pC(i)}};a(e,"\u0275fac",function(o){return new(o||e)(E(ee))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var b$=["*"],Hp;function y$(){if(Hp===void 0&&(Hp=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Hp=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Hp}function nu(t){var e;return((e=y$())==null?void 0:e.createHTML(t))||t}function PT(t){return Error('Unable to find icon with the name "'.concat(t,'"'))}function _$(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function FT(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL "+"via Angular's DomSanitizer. Attempted URL was \"".concat(t,'".'))}function LT(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by "+"Angular's DomSanitizer. Attempted literal was \"".concat(t,'".'))}var Bi=class{constructor(e,r,n){a(this,"url");a(this,"svgText");a(this,"options");a(this,"svgElement");this.url=e,this.svgText=r,this.options=n}},I_=(()=>{let e=class e{constructor(n,i,o,s){a(this,"_httpClient");a(this,"_sanitizer");a(this,"_errorHandler");a(this,"_document");a(this,"_svgIconConfigs",new Map);a(this,"_iconSetConfigs",new Map);a(this,"_cachedIconsByUrl",new Map);a(this,"_inProgressUrlFetches",new Map);
1a(this,"_fontCssClassesByAlias",new Map);a(this,"_resolvers",[]);a(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=n,this._sanitizer=i,this._errorHandler=s,this._document=o}addSvgIcon(n,i,o){return this.addSvgIconInNamespace("",n,i,o)}addSvgIconLiteral(n,i,o){return this.addSvgIconLiteralInNamespace("",n,i,o)}addSvgIconInNamespace(n,i,o,s){return this._addSvgIconConfig(n,i,new Bi(o,null,s))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,i,o,s){let c=this._sanitizer.sanitize(Ft.HTML,o);if(!c)throw LT(o);let l=nu(c);return this._addSvgIconConfig(n,i,new Bi("",l,s))}addSvgIconSet(n,i){return this.addSvgIconSetInNamespace("",n,i)}addSvgIconSetLiteral(n,i){return this.addSvgIconSetLiteralInNamespace("",n,i)}addSvgIconSetInNamespace(n,i,o){return this._addSvgIconSetConfig(n,new Bi(i,null,o))}addSvgIconSetLiteralInNamespace(n,i,o){let s=this._sanitizer.sanitize(Ft.HTML,i);if(!s)throw LT(i);let c=nu(s);return this._addSvgIconSetConfig(n,new Bi("",c,o))}registerFontClassAlias(n,i=n){return this._fontCssClassesByAlias.set(n,i),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let i=this._sanitizer.sanitize(Ft.RESOURCE_URL,n);if(!i)throw FT(n);let o=this._cachedIconsByUrl.get(i);return o?O($p(o)):this._loadSvgIconFromConfig(new Bi(n,null)).pipe(je(s=>this._cachedIconsByUrl.set(i,s)),N(s=>$p(s)))}getNamedSvgIcon(n,i=""){let o=jT(i,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,n),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let c=this._iconSetConfigs.get(i);return c?this._getSvgFromIconSetConfigs(n,c):Rn(PT(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?O($p(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(N(i=>$p(i)))}_getSvgFromIconSetConfigs(n,i){let o=this._extractIconWithNameFromAnySet(n,i);if(o)return O(o);let s=i.filter(c=>!c.svgText).map(c=>this._loadSvgIconSetFromConfig(c).pipe(xr(l=>{let u=this._sanitizer.sanitize(Ft.RESOURCE_URL,c.url),d="Loading icon set URL: ".concat(u," failed: ").concat(l.message);return this._errorHandler.handleError(new Error(d)),O(null)})));return ds(s).pipe(N(()=>{let c=this._extractIconWithNameFromAnySet(n,i);if(!c)throw PT(n);return c}))}_extractIconWithNameFromAnySet(n,i){for(let o=i.length-1;o>=0;o--){let s=i[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){let c=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(c,n,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(je(i=>n.svgText=i),N(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?O(null):this._fetchIcon(n).pipe(je(i=>n.svgText=i))}_extractSvgIconFromSet(n,i,o){let s=n.querySelector('[id="'.concat(i,'"]'));if(!s)return null;let c=s.cloneNode(!0);if(c.removeAttribute("id"),c.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(c,o);if(c.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(c),o);let l=this._svgElementFromString(nu("<svg></svg>"));return l.appendChild(c),this._setSvgAttributes(l,o)}_svgElementFromString(n){let i=this._document.createElement("DIV");i.innerHTML=n;let o=i.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(n){let i=this._svgElementFromString(nu("<svg></svg>")),o=n.attributes;for(let s=0;s<o.length;s++){let{name:c,value:l}=o[s];c!=="id"&&i.setAttribute(c,l)}for(let s=0;s<n.childNodes.length;s++)n.childNodes[s].nodeType===this._document.ELEMENT_NODE&&i.appendChild(n.childNodes[s].cloneNode(!0));return i}_setSvgAttributes(n,i){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),i&&i.viewBox&&n.setAttribute("viewBox",i.viewB
1ox),n}_fetchIcon(n){var d;let{url:i,options:o}=n,s=(d=o==null?void 0:o.withCredentials)!=null?d:!1;if(!this._httpClient)throw _$();if(i==null)throw Error('Cannot fetch icon from URL "'.concat(i,'".'));let c=this._sanitizer.sanitize(Ft.RESOURCE_URL,i);if(!c)throw FT(i);let l=this._inProgressUrlFetches.get(c);if(l)return l;let u=this._httpClient.get(c,{responseType:"text",withCredentials:s}).pipe(N(f=>nu(f)),ps(()=>this._inProgressUrlFetches.delete(c)),co());return this._inProgressUrlFetches.set(c,u),u}_addSvgIconConfig(n,i,o){return this._svgIconConfigs.set(jT(n,i),o),this}_addSvgIconSetConfig(n,i){let o=this._iconSetConfigs.get(n);return o?o.push(i):this._iconSetConfigs.set(n,[i]),this}_svgElementFromConfig(n){if(!n.svgElement){let i=this._svgElementFromString(n.svgText);this._setSvgAttributes(i,n.options),n.svgElement=i}return n.svgElement}_getIconConfigFromResolvers(n,i){for(let o=0;o<this._resolvers.length;o++){let s=this._resolvers[o](i,n);if(s)return x$(s)?new Bi(s.url,null,s.options):new Bi(s,null)}}};a(e,"\u0275fac",function(i){return new(i||e)(E(Ps,8),E(tu),E(ee,8),E(_t))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function $p(t){return t.cloneNode(!0)}function jT(t,e){return t+":"+e}function x$(t){return!!(t.url&&t.options)}var S_=new b("MAT_ICON_DEFAULT_OPTIONS"),T_=new b("mat-icon-location",{providedIn:"root",factory:E$});function E$(){let t=p(ee),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}var VT=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],w$=VT.map(t=>"[".concat(t,"]")).join(", "),D$=/^url\(['"]?#(.*?)['"]?\)$/,BT=(()=>{let e=class e{constructor(){a(this,"_elementRef",p(P));a(this,"_iconRegistry",p(I_));a(this,"_location",p(T_));a(this,"_errorHandler",p(_t));a(this,"_defaultColor");a(this,"_color");a(this,"inline",!1);a(this,"_svgIcon");a(this,"_fontSet");a(this,"_fontIcon");a(this,"_previousFontSetClass",[]);a(this,"_previousFontIconClass");a(this,"_svgName");a(this,"_svgNamespace");a(this,"_previousPath");a(this,"_elementsWithExternalReferences");a(this,"_currentIconFetch",ce.EMPTY);let n=p(new Ma("aria-hidden"),{optional:!0}),i=p(S_,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),n||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let i=this._cleanupFontValue(n);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let i=this._cleanupFontValue(n);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(n){if(!n)return["",""];let i=n.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error('Invalid icon name: "'.concat(n,'"'))}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,i=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=n.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>
1n.classList.remove(o)),i.forEach(o=>n.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let i=this._elementsWithExternalReferences;i&&i.forEach((o,s)=>{o.forEach(c=>{s.setAttribute(c.name,"url('".concat(n,"#").concat(c.value,"')"))})})}_cacheChildrenWithExternalReferences(n){let i=n.querySelectorAll(w$),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<i.length;s++)VT.forEach(c=>{let l=i[s],u=l.getAttribute(c),d=u?u.match(D$):null;if(d){let f=o.get(l);f||(f=[],o.set(l,f)),f.push({name:c,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[i,o]=this._splitIconName(n);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(_e(1)).subscribe(s=>this._setSvgElement(s),s=>{let c="Error retrieving icon ".concat(i,":").concat(o,"! ").concat(s.message);this._errorHandler.handleError(new Error(c))})}}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,o){i&2&&(ge("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),En(o.color?"mat-"+o.color:""),ae("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",be],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Ke],ngContentSelectors:b$,decls:1,vars:0,template:function(i,o){i&1&&(et(),ke(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}));let t=e;return t})(),Wpe=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({imports:[tt,tt]}));let t=e;return t})();var Mr=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(Mr||{}),Ype="*";function ru(t,e){return{type:Mr.Trigger,name:t,definitions:e,options:{}}}function Bs(t,e=null){return{type:Mr.Animate,styles:e,timings:t}}function Zpe(t,e=null){return{type:Mr.Group,steps:t,options:e}}function Kpe(t,e=null){return{type:Mr.Sequence,steps:t,options:e}}function si(t){return{type:Mr.Style,styles:t,offset:null}}function Qa(t,e,r){return{type:Mr.State,name:t,styles:e,options:r}}function Xpe(t){return{type:Mr.Keyframes,steps:t}}function Us(t,e,r=null){return{type:Mr.Transition,expr:t,animation:e,options:r}}function Qpe(t=null){return{type:Mr.AnimateChild,options:t}}function Jpe(t,e,r=null){return{type:Mr.Query,selector:t,animation:e,options:r}}var UT=class{constructor(e=0,r=0){a(this,"_onDoneFns",[]);a(this,"_onStartFns",[]);a(this,"_onDestroyFns",[]);a(this,"_originalOnDoneFns",[]);a(this,"_originalOnStartFns",[]);a(this,"_started",!1);a(this,"_destroyed",!1);a(this,"_finished",!1);a(this,"_position",0);a(this,"parentPlayer",null);a(this,"totalTime");this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e
1=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},HT=class{constructor(e){a(this,"_onDoneFns",[]);a(this,"_onStartFns",[]);a(this,"_finished",!1);a(this,"_started",!1);a(this,"_destroyed",!1);a(this,"_onDestroyFns",[]);a(this,"parentPlayer",null);a(this,"totalTime",0);a(this,"players");this.players=e;let r=0,n=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++n==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,c)=>Math.max(s,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},ehe="!";var iu=class{constructor(){a(this,"_attachedHost")}attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},kr=class extends iu{constructor(r,n,i,o,s){super();a(this,"component");a(this,"viewContainerRef");a(this,"injector");a(this,"componentFactoryResolver");a(this,"projectableNodes");this.component=r,this.viewContainerRef=n,this.injector=i,this.projectableNodes=s}},Rr=class extends iu{constructor(r,n,i,o){super();a(this,"templateRef");a(this,"viewContainerRef");a(this,"context");a(this,"injector");this.templateRef=r,this.viewContainerRef=n,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(r,n=this.context){return this.context=n,super.attach(r)}detach(){return this.context=void 0,super.detach()}},A_=class extends iu{constructor(r){super();a(this,"element");this.element=r instanceof P?r.nativeElement:r}},Co=class{constructor(){a(this,"_attachedPortal");a(this,"_disposeFn");a(this,"_isDisposed",!1);a(this,"attachDomPortal",null)}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof kr)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Rr)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof A_)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDis
1poseFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var ou=class extends Co{constructor(r,n,i,o,s){super();a(this,"outletElement");a(this,"_appRef");a(this,"_defaultInjector");a(this,"_document");a(this,"attachDomPortal",r=>{let n=r.element;n.parentNode;let i=this._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),this.outletElement.appendChild(n),this._attachedPortal=r,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(n,i)})});this.outletElement=r,this._appRef=i,this._defaultInjector=o,this._document=s}attachComponentPortal(r){let n;if(r.viewContainerRef){let i=r.injector||r.viewContainerRef.injector,o=i.get(Xn,null,{optional:!0})||void 0;n=r.viewContainerRef.createComponent(r.component,{index:r.viewContainerRef.length,injector:i,ngModuleRef:o,projectableNodes:r.projectableNodes||void 0}),this.setDisposeFn(()=>n.destroy())}else n=Qf(r.component,{elementInjector:r.injector||this._defaultInjector||fe.NULL,environmentInjector:this._appRef.injector,projectableNodes:r.projectableNodes||void 0}),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=r,n}attachTemplatePortal(r){let n=r.viewContainerRef,i=n.createEmbeddedView(r.templateRef,r.context,{injector:r.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=n.indexOf(i);o!==-1&&n.remove(o)}),this._attachedPortal=r,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(r){return r.hostView.rootNodes[0]}};var Io=(()=>{let e=class e extends Co{constructor(){super();a(this,"_moduleRef",p(Xn,{optional:!0}));a(this,"_document",p(ee));a(this,"_viewContainerRef",p(ct));a(this,"_isInitialized",!1);a(this,"_attachedRef");a(this,"attached",new Q);a(this,"attachDomPortal",i=>{let o=i.element;o.parentNode;let s=this._document.createComment("dom-portal");i.setAttachedHost(this),o.parentNode.insertBefore(s,o),this._getRootNode().appendChild(o),this._attachedPortal=i,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(o,s)})})}get portal(){return this._attachedPortal}set portal(i){this.hasAttached()&&!i&&!this._isInitialized||(this.hasAttached()&&super.detach(),i&&super.attach(i),this._attachedPortal=i||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(i){i.setAttachedHost(this);let o=i.viewContainerRef!=null?i.viewContainerRef:this._viewContainerRef,s=o.createComponent(i.component,{index:o.length,injector:i.injector||o.injector,projectableNodes:i.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return o!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=i,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(i){i.setAttachedHost(this);let o=this._viewContainerRef.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=i,this._attachedRef=o,this.attached.emit(o),o}_getRootNode(){let i=this._viewContainerRef.element.nativeElement;return i.nodeType===i.ELEMENT_NODE?i:i.parentNode}};a(e,"\u0275fac",function(o){return new(o||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[pe]}));let t=e;return t})();var So=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({}));let t=e;return t})();var M_=class{};function WT(t){return t&&typeof t.connect=="function"&&!(t instanceof Yc)}var zp=class extends M_{constructor(r){super();a(this,"_data");this._data=r}connect(){return kt(this._data)?this._data:O(this._data)}disconnect(){}},To=function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t}(To||{}),k_=new b("_ViewRepeater"),$T=class{applyChanges(e,r,n,i,o){e.forEachOperation((s,c,l)=>{let u,d;if(s.previousIndex==null){let f=n(s,c,l);u=r.createEmbeddedView(f.templateRef,f.context,f.index),d=To.INSERTED}else l==null?(r.remove(c),d=To.REMOVED):(u=r.get(c),r.move(u,l),d=To.MOVED);o&&o({context:u==null?void 0:u.context,operation:d,record:s})})}detach(){}},Wp=class{constructor(){a(this,"viewCacheSize",20);a(this,"_viewCache",[])}applyChanges(e,r,n,i,o){e.forEachOperation((s,c,l)=>{let u,d;if(s.previousIndex==null){let f=()=>n(s,c,l);u=this._insertView(f,l,r,i(s)),d=u?To.INSERTED:To.REPLACED}else l==null?(this._detachAndCacheView(c,r),d=To.REMOVED):(u=this._moveView(c,l,r,i(s)),d=To.MOVED);o&&o({context:u==null?void 0:u.context,operation:d,record:s})})}detach(){for(let e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,r,n,i){let o=this._insertViewFromCache(r,n);if(o){o.context.$implicit=i;return}let s=e();return n.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(e,r){let n=r.detach(e);this._maybeCacheView(n,r)}_moveView(e,r,n,i){let o=n.get(e);return n.move(o,r),o.context.$implicit=i,o}_maybeCacheView(e,r){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(e);else{let n=r.indexOf(e);n===-1?e.destroy():r.remove(n)}}_insertViewFromCache(e,r){let n=this._viewCache.pop();return n&&r.insert(n,e),n||null}},zT=class{constructor(e=!1,r,n=!0,i){a(this,"_multiple");a(this,"_emitChanges");a(this,"compareWith");a(this,"_selection",new Set);a(this,"_deselectedToEmit",[]);a(this,"_selectedToEmit",[]);a(this,"_selected");a(this,"changed",new A);this._multiple=e,this._emitChanges=n,this.compareWith=i,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())
1),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,n=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!n.has(this._getConcreteValue(o,n))).forEach(o=>this._unmarkSelected(o));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}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(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,r){if(this.compareWith){r=r!=null?r:this._selection;for(let n of r)if(this.compareWith(e,n))return n;return e}else return e}};var hhe=(()=>{let e=class e{constructor(){a(this,"_listeners",[])}notify(n,i){for(let o of this._listeners)o(n,i)}listen(n){return this._listeners.push(n),()=>{this._listeners=this._listeners.filter(i=>n!==i)}}ngOnDestroy(){this._listeners=[]}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var C$=["contentWrapper"],I$=["*"],qT=new b("VIRTUAL_SCROLL_STRATEGY"),R_=class{constructor(e,r,n){a(this,"_scrolledIndexChange",new A);a(this,"scrolledIndexChange",this._scrolledIndexChange.pipe(Zr()));a(this,"_viewport",null);a(this,"_itemSize");a(this,"_minBufferPx");a(this,"_maxBufferPx");this._itemSize=e,this._minBufferPx=r,this._maxBufferPx=n}attach(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(e,r,n){n<r,this._itemSize=e,this._minBufferPx=r,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(e,r){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,r)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let e=this._viewport.getRenderedRange(),r={start:e.start,end:e.end},n=this._viewport.getViewportSize(),i=this._viewport.getDataLength(),o=this._viewport.measureScrollOffset(),s=this._itemSize>0?o/this._itemSize:0;if(r.end>i){let l=Math.ceil(n/this._itemSize),u=Math.max(0,Math.min(s,i-l));s!=u&&(s=u,o=u*this._itemSize,r.start=Math.floor(s)),r.end=Math.max(0,Math.min(i,r.start+l))}let c=o-r.start*this._itemSize;if(c<this._minBufferPx&&r.start!=0){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);r.start=Math.max(0,r.start-l),r.end=Math.min(i,Math.ceil(s+(n+this._minBufferPx)/this._itemSize))}else{let l=r.end*this._itemSize-(o+n);if(l<this._minBufferPx&&r.end!=i){let u=Math.ceil((this._maxBufferPx-l)/this._itemSize);u>0&&(r.end=Math.min(i,r.end+u),r.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(r),this._viewport.setRenderedContentOffset(this._itemSize*r.start),this._scrolledIndexChange.next(Math.floor(s))}};function S$(t){return t._scrollStrategy}var Nhe=(()=>{let e=class e{constructor(){a(this,"_itemSize",20);a(this,"_minBufferPx",100);a(this,"_maxBufferPx",200);a(this,"_scrollStrategy",new R_(this.itemSize,this.minBufferPx,this.maxBufferPx))}get itemSize(){return this._itemSize}set itemSize(n){this._itemSize=$n(n)}get minBufferPx(){return this._minBufferPx}set minBufferPx(n){this._minBufferPx=$n(n)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(n){this._maxBufferPx=$n(n)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[We([{provide:qT,useFactory:S$,deps:[xt(()=>e)]}]),it]}));let t=e;return t})(),T$=20,Ja=(()=>{let e=class e{constructor(){a(this,"_ngZone",p(F));a(this,"_platform",p(Pe));a(this,"_document",p(ee,{optional:!0}));a(this,"_scrolled",new A);a(this,"_globalSubscription",null);a(this,"_scrolledCount",0);
1a(this,"scrollContainers",new Map)}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=T$){return this._platform.isBrowser?new V(i=>{this._globalSubscription||this._addGlobalListener();let o=n>0?this._scrolled.pipe(Jc(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):O()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){let o=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(Z(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){let i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,i){let o=Ar(i),s=n.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let n=this._getWindow();return fs(n.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),su=(()=>{let e=class e{constructor(){a(this,"elementRef",p(P));a(this,"scrollDispatcher",p(Ja));a(this,"ngZone",p(F));a(this,"dir",p(sr,{optional:!0}));a(this,"_destroyed",new A);a(this,"_elementScrolled",new V(n=>this.ngZone.runOutsideAngular(()=>fs(this.elementRef.nativeElement,"scroll").pipe(Ce(this._destroyed)).subscribe(n))))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(n){let i=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";n.left==null&&(n.left=o?n.end:n.start),n.right==null&&(n.right=o?n.start:n.end),n.bottom!=null&&(n.top=i.scrollHeight-i.clientHeight-n.bottom),o&&Ga()!=Tr.NORMAL?(n.left!=null&&(n.right=i.scrollWidth-i.clientWidth-n.left),Ga()==Tr.INVERTED?n.left=n.right:Ga()==Tr.NEGATED&&(n.left=n.right?-n.right:n.right)):n.right!=null&&(n.left=i.scrollWidth-i.clientWidth-n.right),this._applyScrollToOptions(n)}_applyScrollToOptions(n){let i=this.elementRef.nativeElement;yp()?i.scrollTo(n):(n.top!=null&&(i.scrollTop=n.top),n.left!=null&&(i.scrollLeft=n.left))}measureScrollOffset(n){let i="left",o="right",s=this.elementRef.nativeElement;if(n=="top")return s.scrollTop;if(n=="bottom")return s.scrollHeight-s.clientHeight-s.scrollTop;let c=this.dir&&this.dir.value=="rtl";return n=="start"?n=c?o:i:n=="end"&&(n=c?i:o),c&&Ga()==Tr.INVERTED?n==i?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:c&&Ga()==Tr.NEGATED?n==i?s.scrollLeft+s.scrollWidth-s.clientWidth:-s.scrollLeft:n==i?s.scrollLeft:s.scrollWidth-s.clientWidth-s.scrollLeft}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let t=e;return t})(),A$=20,au=(()=>{let e=class e{constructor(){a(this,"_platform",p(Pe));a(this,"_viewportSize");a(this,"_change",new A);a(this,"_changeListener",n=>{this._change.next(n)});a(this,"_document",p(ee,{optional:!0}));p(F).runOutsideAngular(()=>{if(this._platform.isBrowser){let i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();
1return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,i=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect(),c=-s.top||n.body.scrollTop||i.scrollY||o.scrollTop||0,l=-s.left||n.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:c,left:l}}change(n=A$){return n>0?this._change.pipe(Jc(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),O_=new b("VIRTUAL_SCROLLABLE"),YT=(()=>{let e=class e extends su{constructor(){super()}measureViewportSize(n){let i=this.elementRef.nativeElement;return n==="horizontal"?i.clientWidth:i.clientHeight}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,features:[pe]}));let t=e;return t})();function M$(t,e){return t.start==e.start&&t.end==e.end}var k$=typeof requestAnimationFrame<"u"?mg:pa,R$=(()=>{let e=class e extends YT{constructor(){super();a(this,"elementRef",p(P));a(this,"_changeDetectorRef",p(Ne));a(this,"_scrollStrategy",p(qT,{optional:!0}));a(this,"scrollable",p(O_,{optional:!0}));a(this,"_platform",p(Pe));a(this,"_detachedSubject",new A);a(this,"_renderedRangeSubject",new A);a(this,"_orientation","vertical");a(this,"appendOnly",!1);a(this,"scrolledIndexChange",new V(i=>this._scrollStrategy.scrolledIndexChange.subscribe(o=>Promise.resolve().then(()=>this.ngZone.run(()=>i.next(o))))));a(this,"_contentWrapper");a(this,"renderedRangeStream",this._renderedRangeSubject);a(this,"_totalContentSize",0);a(this,"_totalContentWidth","");a(this,"_totalContentHeight","");a(this,"_renderedContentTransform");a(this,"_renderedRange",{start:0,end:0});a(this,"_dataLength",0);a(this,"_viewportSize",0);a(this,"_forOf");a(this,"_renderedContentOffset",0);a(this,"_renderedContentOffsetNeedsRewrite",!1);a(this,"_isChangeDetectionPending",!1);a(this,"_runAfterChangeDetection",[]);a(this,"_viewportChanges",ce.EMPTY);a(this,"_injector",p(fe));a(this,"_isDestroyed",!1);let i=p(au);this._scrollStrategy,this._viewportChanges=i.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(i){this._orientation!==i&&(this._orientation=i,this._calculateSpacerSize())}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Ot(null),Jc(0,k$),Ce(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(i){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=i,this._forOf.dataStream.pipe(Ce(this._detachedSubject)).subscribe(o=>{let s=o.length;s!==this._dataLength&&(this._dataLength=s,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(i){return this.getElementRef().nativeElement.getBoundingClientRect()[i]}setTotalContentSize(i){this._totalContentSize!==i&&(this._totalContentSize=i,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(i){M$(this._renderedRange,i)||(this.appendOnly&&(i={start:0,end:Math.max(this._renderedRange.end,i.end)}),this._renderedRangeSubject.next(this._renderedRange=i),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(i,o="to-start"){i=this.appendOnly&&o==="to-start"?0:i;let s=this.dir&&this.dir.value=="rtl",c=this.orientation=="horizontal",l=c?"X":"Y",u=c&&s?-1:1,d="translate".concat(l,"(").concat(Number(u*i),"px)");this._renderedContentOffset=i,o==="to-end"&&(d+=" translate".concat(l,"(-100%)"),this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=d&&(this._renderedContentTransform=d,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(i,o="auto"){let s={behavior:o};this.orientation==="horizontal"?s.start=i:s.top=i,this.scrollable.scrollTo(s)}scrollToIndex(i,o="auto"){this._scrollStrategy.scrollToIndex(i,o)}measureScrollOffset(i){let o;return this.scrollable==this?o=s=>super.measureScrollOffset(s):o=s=>this.scrollable.measureScrollOffset(s),Math.max(0,o(i!=null?i:this.orientation==="horizontal"?"start":"top")-this.measureViewportOffset())}measureViewportOffset(i){var f;let o,s="left",c="right",l=((f=this.dir)==null?void 0:f.value)=="rtl";i=="start"?o=l?c:s:i=="end"?o=l?s:c:i?o=i:o=this.orientation==="horizontal"?"left"
1:"top";let u=this.scrollable.measureBoundingClientRectWithScrollOffset(o);return this.elementRef.nativeElement.getBoundingClientRect()[o]-u}measureRenderedContentSize(){let i=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?i.offsetWidth:i.offsetHeight}measureRangeSize(i){return this._forOf?this._forOf.measureRangeSize(i,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(i){i&&this._runAfterChangeDetection.push(i),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,Fn(()=>{this._isChangeDetectionPending=!1;let i=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let o of i)o()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight=this.orientation==="horizontal"?"":"".concat(this._totalContentSize,"px"),this._totalContentWidth=this.orientation==="horizontal"?"".concat(this._totalContentSize,"px"):""}};a(e,"\u0275fac",function(o){return new(o||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(o,s){if(o&1&&Yt(C$,7),o&2){let c;wt(c=Dt())&&(s._contentWrapper=c.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(o,s){o&2&&ae("cdk-virtual-scroll-orientation-horizontal",s.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",s.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",be]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[We([{provide:su,useFactory:(i,o)=>i||o,deps:[[new Fa,new Ef(O_)],e]}]),Ke,pe],ngContentSelectors:I$,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(o,s){o&1&&(et(),C(0,"div",1,0),ke(2),I(),j(3,"div",2)),o&2&&(D(3),Pi("width",s._totalContentWidth)("height",s._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}));let t=e;return t})();function GT(t,e,r){let n=r;if(!n.getBoundingClientRect)return 0;let i=n.getBoundingClientRect();return t==="horizontal"?e==="start"?i.left:i.right:e==="start"?i.top:i.bottom}var Phe=(()=>{let e=class e{constructor(){a(this,"_viewContainerRef",p(ct));a(this,"_template",p(at));a(this,"_differs",p(Vl));a(this,"_viewRepeater",p(k_));a(this,"_viewport",p(R$,{skipSelf:!0}));a(this,"viewChange",new A);a(this,"_dataSourceChanges",new A);a(this,"_cdkVirtualForOf");a(this,"_cdkVirtualForTrackBy");a(this,"dataStream",this._dataSourceChanges.pipe(Ot(null),Dd(),xe(([n,i])=>this._changeDataSource(n,i)),wi(1)));a(this,"_differ",null);a(this,"_data");a(this,"_renderedItems");a(this,"_renderedRange");a(this,"_needsUpdate",!1);a(this,"_destroyed",new A);let n=p(F);this.dataStream.subscribe(i=>{this._data=i,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Ce(this._destroyed)).subscribe(i=>{this._renderedRange=i,this.viewChange.observers.length&&n.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(n){this._cdkVirtualForOf=n,WT(n)?this._dataSourceChanges.next(n):this._dataSourceChanges.next(new zp(kt(n)?n:Array.from(n||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(n){this._needsUpdate=!0,this._cdkVirtualForTrackBy=n?(i,o)=>n(i+(this._renderedRange?this._renderedRange.start:0),o):void 0}
1set cdkVirtualForTemplate(n){n&&(this._needsUpdate=!0,this._template=n)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(n){this._viewRepeater.viewCacheSize=$n(n)}measureRangeSize(n,i){if(n.start>=n.end)return 0;n.start<this._renderedRange.start||n.end>this._renderedRange.end;let o=n.start-this._renderedRange.start,s=n.end-n.start,c,l;for(let u=0;u<s;u++){let d=this._viewContainerRef.get(u+o);if(d&&d.rootNodes.length){c=l=d.rootNodes[0];break}}for(let u=s-1;u>-1;u--){let d=this._viewContainerRef.get(u+o);if(d&&d.rootNodes.length){l=d.rootNodes[d.rootNodes.length-1];break}}return c&&l?GT(i,"end",l)-GT(i,"start",c):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let n=this._differ.diff(this._renderedItems);n?this._applyChanges(n):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((n,i)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(n,i):i)),this._needsUpdate=!0)}_changeDataSource(n,i){return n&&n.disconnect(this),this._needsUpdate=!0,i?i.connect(this):O()}_updateContext(){let n=this._data.length,i=this._viewContainerRef.length;for(;i--;){let o=this._viewContainerRef.get(i);o.context.index=this._renderedRange.start+i,o.context.count=n,this._updateComputedContextProperties(o.context),o.detectChanges()}}_applyChanges(n){this._viewRepeater.applyChanges(n,this._viewContainerRef,(s,c,l)=>this._getEmbeddedViewArgs(s,l),s=>s.item),n.forEachIdentityChange(s=>{let c=this._viewContainerRef.get(s.currentIndex);c.context.$implicit=s.item});let i=this._data.length,o=this._viewContainerRef.length;for(;o--;){let s=this._viewContainerRef.get(o);s.context.index=this._renderedRange.start+o,s.context.count=i,this._updateComputedContextProperties(s.context)}}_updateComputedContextProperties(n){n.first=n.index===0,n.last=n.index===n.count-1,n.even=n.index%2===0,n.odd=!n.even}_getEmbeddedViewArgs(n,i){return{templateRef:this._template,context:{$implicit:n.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:i}}static ngTemplateContextGuard(n,i){return!0}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[We([{provide:k_,useClass:Wp}])]}));let t=e;return t})();var Fhe=(()=>{let e=class e extends YT{constructor(){super();a(this,"_elementScrolled",new V(i=>this.ngZone.runOutsideAngular(()=>fs(document,"scroll").pipe(Ce(this._destroyed)).subscribe(i))));this.elementRef=new P(document.documentElement)}measureBoundingClientRectWithScrollOffset(i){return this.getElementRef().nativeElement.getBoundingClientRect()[i]}};a(e,"\u0275fac",function(o){return new(o||e)}),a(e,"\u0275dir",k({type:e,selectors:[["cdk-virtual-scroll-viewport","scrollWindow",""]],features:[We([{provide:O_,useExisting:e}]),pe]}));let t=e;return t})(),Gp=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({}));let t=e;return t})(),N_=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({imports:[Do,Gp,Do,Gp]}));let t=e;return t})();var ZT=yp(),P_=class{constructor(e,r){a(this,"_viewportRuler");a(this,"_previousHTMLStyles",{top:"",left:""});a(this,"_previousScrollPosition");a(this,"_isEnabled",!1);a(this,"_document");this._viewportRuler=e,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=ot(-this._previousScrollPosition.left),e.style.top=ot(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,r=this._document.body,n=e.style,i=r.style,o=n.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),ZT&&(n.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ZT&&(n.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,n=this._viewportRuler.getViewportSize();return r.scrollHeight>n.height||r.scrollWidth>n.width}};var F_=class{constructor(e,r,n,i){a(this,"_scrollDispatcher");a(this,"_ngZone");a(this,"_viewportRuler");a(this,"_config");a(this,"_scrollSubscription",null);a(this,"_overlayRef");a(this,"_initialScrollPosition");a(this,"_detach",()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())});
1this._scrollDispatcher=e,this._ngZone=r,this._viewportRuler=n,this._config=i}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Z(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},qp=class{enable(){}disable(){}attach(){}};function L_(t,e){return e.some(r=>{let n=t.bottom<r.top,i=t.top>r.bottom,o=t.right<r.left,s=t.left>r.right;return n||i||o||s})}function KT(t,e){return e.some(r=>{let n=t.top<r.top,i=t.bottom>r.bottom,o=t.left<r.left,s=t.right>r.right;return n||i||o||s})}var j_=class{constructor(e,r,n,i){a(this,"_scrollDispatcher");a(this,"_viewportRuler");a(this,"_ngZone");a(this,"_config");a(this,"_scrollSubscription",null);a(this,"_overlayRef");this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=n,this._config=i}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:i}=this._viewportRuler.getViewportSize();L_(r,[{width:n,height:i,bottom:i,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}},N$=(()=>{let e=class e{constructor(){a(this,"_scrollDispatcher",p(Ja));a(this,"_viewportRuler",p(au));a(this,"_ngZone",p(F));a(this,"_document",p(ee));a(this,"noop",()=>new qp);a(this,"close",n=>new F_(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));a(this,"block",()=>new P_(this._viewportRuler,this._document));a(this,"reposition",n=>new j_(this._scrollDispatcher,this._viewportRuler,this._ngZone,n))}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),ai=class{constructor(e){a(this,"positionStrategy");a(this,"scrollStrategy",new qp);a(this,"panelClass","");a(this,"hasBackdrop",!1);a(this,"backdropClass","cdk-overlay-dark-backdrop");a(this,"width");a(this,"height");a(this,"minWidth");a(this,"minHeight");a(this,"maxWidth");a(this,"maxHeight");a(this,"direction");a(this,"disposeOnNavigation",!1);if(e){let r=Object.keys(e);for(let n of r)e[n]!==void 0&&(this[n]=e[n])}}};var V_=class{constructor(e,r){a(this,"connectionPair");a(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=r}};var rA=(()=>{let e=class e{constructor(){a(this,"_attachedOverlays",[]);a(this,"_document",p(ee));a(this,"_isAttached")}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let i=this._attachedOverlays.indexOf(n);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),P$=(()=>{let e=class e extends rA{constructor(){super(...arguments);a(this,"_ngZone",p(F,{optional:!0}));a(this,"_keydownListener",i=>{let o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){let c=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(i)):c.next(i);break}})}add(i){super.add(i),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>
1this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};a(e,"\u0275fac",(()=>{let i;return function(s){return(i||(i=Oe(e)))(s||e)}})()),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),F$=(()=>{let e=class e extends rA{constructor(){super(...arguments);a(this,"_platform",p(Pe));a(this,"_ngZone",p(F,{optional:!0}));a(this,"_cursorOriginalValue");a(this,"_cursorStyleIsSet",!1);a(this,"_pointerDownEventTarget");a(this,"_pointerDownListener",i=>{this._pointerDownEventTarget=Hn(i)});a(this,"_clickListener",i=>{let o=Hn(i),s=i.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){let u=c[l];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(XT(u.overlayElement,o)||XT(u.overlayElement,s))break;let d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(i)):d.next(i)}})}add(i){if(super.add(i),!this._isAttached){let o=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(o)):this._addEventListeners(o),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=o.style.cursor,o.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let i=this._document.body;i.removeEventListener("pointerdown",this._pointerDownListener,!0),i.removeEventListener("click",this._clickListener,!0),i.removeEventListener("auxclick",this._clickListener,!0),i.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(i.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(i){i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0)}};a(e,"\u0275fac",(()=>{let i;return function(s){return(i||(i=Oe(e)))(s||e)}})()),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function XT(t,e){let r=typeof ShadowRoot<"u"&&ShadowRoot,n=e;for(;n;){if(n===t)return!0;n=r&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var iA=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,o){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0}));let t=e;return t})(),Yp=(()=>{let e=class e{constructor(){a(this,"_platform",p(Pe));a(this,"_containerElement");a(this,"_document",p(ee));a(this,"_styleLoader",p(Zt))}ngOnDestroy(){var n;(n=this._containerElement)==null||n.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||Wy()){let o=this._document.querySelectorAll(".".concat(n,'[platform="server"], ')+".".concat(n,'[platform="test"]'));for(let s=0;s<o.length;s++)o[s].remove()}let i=this._document.createElement("div");
1i.classList.add(n),Wy()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(iA)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),ec=class{constructor(e,r,n,i,o,s,c,l,u,d=!1,f){a(this,"_portalOutlet");a(this,"_host");a(this,"_pane");a(this,"_config");a(this,"_ngZone");a(this,"_keyboardDispatcher");a(this,"_document");a(this,"_location");a(this,"_outsideClickDispatcher");a(this,"_animationsDisabled");a(this,"_injector");a(this,"_backdropElement",null);a(this,"_backdropTimeout");a(this,"_backdropClick",new A);a(this,"_attachments",new A);a(this,"_detachments",new A);a(this,"_positionStrategy");a(this,"_scrollStrategy");a(this,"_locationChanges",ce.EMPTY);a(this,"_backdropClickHandler",e=>this._backdropClick.next(e));a(this,"_backdropTransitionendHandler",e=>{this._disposeBackdrop(e.target)});a(this,"_previousHostParent");a(this,"_keydownEvents",new A);a(this,"_outsidePointerEvents",new A);a(this,"_renders",new A);a(this,"_afterRenderRef");a(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=r,this._pane=n,this._config=i,this._ngZone=o,this._keyboardDispatcher=s,this._document=c,this._location=l,this._outsideClickDispatcher=u,this._animationsDisabled=d,this._injector=f,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=jt(()=>Vb(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){var n;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),(n=this._afterNextRenderRef)==null||n.destroy(),this._afterNextRenderRef=Fn(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof(r==null?void 0:r.onDestroy)=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var r,n;let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),(r=this._host)==null||r.remove(),(n=this._afterNextRenderRef)==null||n.destroy(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}
1keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=T(T({},this._config),e),this._updateElementSize()}setDirection(e){this._config=ve(T({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=ot(this._config.width),e.height=ot(this._config.height),e.minWidth=ot(this._config.minWidth),e.minHeight=ot(this._config.minHeight),e.maxWidth=ot(this._config.maxWidth),e.maxHeight=ot(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,r,n){let i=Za(r||[]).filter(o=>!!o);i.length&&(n?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(Ce(On(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},QT="cdk-overlay-connected-position-bounding-box",L$=/([A-Za-z%]+)$/,B_=class{constructor(e,r,n,i,o){a(this,"_viewportRuler");a(this,"_document");a(this,"_platform");a(this,"_overlayContainer");a(this,"_overlayRef");a(this,"_isInitialRender");a(this,"_lastBoundingBoxSize",{width:0,height:0});a(this,"_isPushed",!1);a(this,"_canPush",!0);a(this,"_growAfterOpen",!1);a(this,"_hasFlexibleDimensions",!0);a(this,"_positionLocked",!1);a(this,"_originRect");a(this,"_overlayRect");a(this,"_viewportRect");a(this,"_containerRect");a(this,"_viewportMargin",0);a(this,"_scrollables",[]);a(this,"_preferredPositions",[]);a(this,"_origin");a(this,"_pane");a(this,"_isDisposed");a(this,"_boundingBox");a(this,"_lastPosition");a(this,"_lastScrollVisibility");a(this,"_positionChanges",new A);a(this,"_resizeSubscription",ce.EMPTY);a(this,"_offsetX",0);a(this,"_offsetY",0);a(this,"_transformOriginSelector");a(this,"_appliedPanelClasses",[]);a(this,"_previousPushAmount");a(this,"positionChanges",this._positionChanges);
vendor: 10,714 bytes, line 1
1this._viewportRuler=r,this._document=n,this._platform=i,this._overlayContainer=o,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(QT),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,r=this._overlayRect,n=this._viewportRect,i=this._containerRect,o=[],s;for(let c of this._preferredPositions){let l=this._getOriginPoint(e,i,c),u=this._getOverlayPoint(l,r,c),d=this._getOverlayFit(u,r,n,c);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(c,l);return}if(this._canFitWithFlexibleDimensions(d,u,n)){o.push({position:c,origin:l,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(l,c)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:u,originPoint:l,position:c,overlayRect:r})}if(o.length){let c=null,l=-1;for(let u of o){let d=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);d>l&&(l=d,c=u)}this._isPushed=!1,this._applyPosition(c.position,c.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Hs(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(QT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,r)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,r,n){let i;if(n.originX=="center")i=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,c=this._isRtl()?e.left:e.right;i=n.originX=="start"?s:c}r.left<0&&(i-=r.left);let o;return n.originY=="center"?o=e.top+e.height/2:o=n.originY=="top"?e.top:e.bottom,r.top<0&&(o-=r.top),{x:i,y:o}}_getOverlayPoint(e,r,n){let i;n.overlayX=="center"?i=-r.width/2:n.overlayX==="start"?i=this._isRtl()?-r.width:0:i=this._isRtl()?0:-r.width;let o;return n.overlayY=="center"?o=-r.height/2:o=n.overlayY=="top"?0:-r.height,{x:e.x+i,y:e.y+o}}_getOverlayFit(e,r,n,i){let o=eA(r),{x:s,y:c}=e,l=this._getOffset(i,"x"),u=this._getOffset(i,"y");l&&(s+=l),u&&(c+=u);let d=0-s,f=s+o.width-n.width,h=0-c,m=c+o.height-n.height,g=this._subtractOverflows(o.width,d,f),_=this._subtractOverflows(o.height,h,m),x=g*_;return{visibleArea:x,isCompletelyWithinViewport:o.width*o.height===x,fitsInViewportVertically:_===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(e,r,n){if(this._hasFlexibleDimensions){let i=n.bottom-r.y,o=n.right-r.x,s=JT(this._overlayRef.getConfig().minHeight),c=JT(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=i,u=e.fitsInViewportHorizontally||c!=null&&c<=o;return l&&u}return!1}_pushOverlayOnScreen(e,r,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let i=eA(r),o=this._viewportRect,s=Math.max(e.x+i.width-o.width,0),c=Math.max(e.y+i.height-o.height,0),l=Math.max(o.top-n.top-e.y,0),u=Math.max(o.left-n.left-e.x,0),d=0,f=0;return i.width<=o.width?d=u||-s:d=e.x<this._viewportMargin?o.left-n.left-e.x:0,i.height<=o.height?f=l||-c:f=e.y<this._viewportMargin?o.top-n.top-e.y:0,this._previousPushAmount={x:d,y:f},{x:e.x+d,y:e.y+f}}_applyPosition(e,r){if(this._setTransformOrigin(e),this._setOverlayElementStyles(r,e),this._setBoundingBoxStyles(r,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!j$(this._lastScrollVisibility,n)){let i=new V_(e,n);this._positionChanges.next(i)}this._lastScrollVisibility=n}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let r=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,i=e.overlayY;e.overlayX==="center"?n="center":this._isRtl()?n=e.overlayX==="start"?"right":"left":n=e.overlayX==="start"?"left":"right";for(let o=0;o<r.length;o++)r[o].style.transformOrigin="".concat(n," ").concat(i)}_calculateBoundingBoxRect(e,r){let n=this._viewportRect,i=this._isRtl(),o,s,c;if(r.overlayY==="top")s=e.y,o=n.height-s+this._viewportMargin;else if(r.overlayY==="bottom")c=n.height-e.y+this._viewportMargin*2,o=n.height-c+this._viewportMargin;else{let m=Math.min(n.bottom-e.y+n.top,e.y),g=this._lastBoundingBoxSize.height;o=m*2,s=e.y-m,o>g&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-g/2)}let l=r.overlayX==="start"&&!i||r.overlayX==="end"&&i,u=r.overlayX==="end"&&!i||r.overlayX==="start"&&i,d,f,h;if(u)h=n.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(l)f=e.x,d=n.right-e.x;else{let m=Math.min(n.right-e.x+n.left,e.x),g=this._lastBoundingBoxSize.width;d=m*2,f=e.x-m,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(f=e.x-g/2)}return{top:s,left:f,bottom:c,right:h,width:d,height:o}}_setBoundingBoxStyles(e,r){let n=this._calculateBoundingBoxRect(e,r);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=ot(n.height),i.top=ot(n.top),i.bottom=ot(n.bottom),i.width=ot(n.width),i.left=ot(n.left),i.right=ot(n.right),r.overlayX==="center"?i.alignItems="center":i.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?i.justifyContent="center":i.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=ot(o)),s&&(i.maxWidth=ot(s))}this._lastBoundingBoxSize=n,Hs(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Hs(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Hs(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,r){let n={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();Hs(n,this._getExactOverlayY(r,e,d)),Hs(n,this._getExactOverlayX(r,e,d))}else n.position="static";let c="",l=this._getOffset(r,"x"),u=this._getOffset(r,"y");l&&(c+="translateX(".concat(l,"px) ")),u&&(c+="translateY(".concat(u,"px)")),n.transform=c.trim(),s.maxHeight&&(i?n.maxHeight=ot(s.maxHeight):o&&(n.maxHeight="")),s.maxWidth&&(i?n.maxWidth=ot(s.maxWidth):o&&(n.maxWidth="")),Hs(this._pane.style,n)}_getExactOverlayY(e,r,n){let i={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;i.bottom="".concat(s-(o.y+this._overlayRect.height),"px")}else i.top=ot(o.y);return i}_getExactOverlayX(e,r,n){let i={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let c=this._document.documentElement.clientWidth;i.right="".concat(c-(o.x+this._overlayRect.width),"px")}else i.left=ot(o.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),n=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:KT(e,n),isOriginOutsideView:L_(e,n),isOverlayClipped:KT(r,n),isOverlayOutsideView:L_(r,n)}}_subtractOverflows(e,...r){return r.reduce((n,i)=>n-Math.max(i,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+r-this._viewportMargin,width:e-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,r){return r==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Za(e).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEac
1h(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof P)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let r=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+r,height:n,width:r}}};function Hs(t,e){for(let r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function JT(t){if(typeof t!="number"&&t!=null){let[e,r]=t.split(L$);return!r||r==="px"?parseFloat(e):null}return t||null}function eA(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 j$(t,e){return t===e?!0:t.isOriginClipped===e.isOriginClipped&&t.isOriginOutsideView===e.isOriginOutsideView&&t.isOverlayClipped===e.isOverlayClipped&&t.isOverlayOutsideView===e.isOverlayOutsideView}var tA="cdk-global-overlay-wrapper",U_=class{constructor(){a(this,"_overlayRef");a(this,"_cssPosition","static");a(this,"_topOffset","");a(this,"_bottomOffset","");a(this,"_alignItems","");a(this,"_xPosition","");a(this,"_xOffset","");a(this,"_width","");a(this,"_height","");a(this,"_isDisposed",!1)}attach(e){let r=e.getConfig();this._overlayRef=e,this._width&&!r.width&&e.updateSize({width:this._width}),this._height&&!r.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(tA),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:c}=n,l=(i==="100%"||i==="100vw")&&(!s||s==="100%"||s==="100vw"),u=(o==="100%"||o==="100vh")&&(!c||c==="100%"||c==="100vh"),d=this._xPosition,f=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",m="",g="",_="";l?_="flex-start":d==="center"?(_="center",h?g=f:m=f):h?d==="left"||d==="end"?(_="flex-end",m=f):(d==="right"||d==="start")&&(_="flex-start",g=f):d==="left"||d==="start"?(_="flex-start",m=f):(d==="right"||d==="end")&&(_="flex-end",g=f),e.position=this._cssPosition,e.marginLeft=l?"0":m,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,r.justifyContent=_,r.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,n=r.style;r.classList.remove(tA),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},V$=(()=>{let e=class e{constructor(){a(this,"_viewportRuler",p(au));a(this,"_document",p(ee));a(this,"_platform",p(Pe));a(this,"_overlayContainer",p(Yp))}global(){return new U_}flexibleConnectedTo(n){return new B_(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),Ct=(()=>{let e=class e{constructor(){a(this,"scrollStrategies",p(N$));a(this,"_overlayContainer",p(Yp));a(this,"_positionBuilder",p(V$));a(this,"_keyboardDispatcher",p(P$));a(this,"_injector",p(fe));a(this,"_ngZone",p(F));a(this,"_document",p(ee));a(this,"_directionality",p(sr));a(this,"_location",p(Oy));a(this,"_outsideClickDispatcher",p(F$));a(this,"_animationsModuleType",p(qt,{optional:!0}));a(this,"_idGenerator",p(cn));a(this,"_appRef");a(this,"_styleLoader",p(Zt))}create(n){this._styleLoader.load(iA);let i=this._createHostElement(),o=this._createPaneElement(i),s=this._createPortalOutlet(o),c=new ai(n);return c.direction=c.direction||this._directionality.value,new e
1c(s,i,o,c,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(vn))}position(){return this._positionBuilder}_createPaneElement(n){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),n.appendChild(i),i}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(nr)),new ou(n,null,this._appRef,this._injector,this._document)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),B$=[{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"}],oA=new b("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Ct);return()=>t.scrollStrategies.reposition()}}),nA=(()=>{let e=class e{constructor(){a(this,"elementRef",p(P))}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}));let t=e;return t})(),ime=(()=>{let e=class e{constructor(){a(this,"_overlay",p(Ct));a(this,"_dir",p(sr,{optional:!0}));a(this,"_overlayRef");a(this,"_templatePortal");a(this,"_backdropSubscription",ce.EMPTY);a(this,"_attachSubscription",ce.EMPTY);a(this,"_detachSubscription",ce.EMPTY);a(this,"_positionSubscription",ce.EMPTY);a(this,"_offsetX");a(this,"_offsetY");a(this,"_position");a(this,"_scrollStrategyFactory",p(oA));a(this,"_disposeOnNavigation",!1);a(this,"_ngZone",p(F));a(this,"origin");a(this,"positions");a(this,"positionStrategy");a(this,"width");a(this,"height");a(this,"minWidth");a(this,"minHeight");a(this,"backdropClass");a(this,"panelClass");a(this,"viewportMargin",0);a(this,"scrollStrategy");a(this,"open",!1);a(this,"disableClose",!1);a(this,"transformOriginSelector");a(this,"hasBackdrop",!1);a(this,"lockPosition",!1);a(this,"flexibleDimensions",!1);a(this,"growAfterOpen",!1);a(this,"push",!1);a(this,"backdropClick",new Q);a(this,"positionChange",new Q);a(this,"attach",new Q);a(this,"detach",new Q);a(this,"overlayKeydown",new Q);a(this,"overlayOutsideClick",new Q);let n=p(at),i=p(ct);this._templatePortal=new Rr(n,i),this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(n){this._disposeOnNavigation=n}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=B$);let n=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=n.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=n.detachments().subscribe(()=>this.detach.emit()),n.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!wn(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let o=this._getOriginElement(),s=Hn(i);(!o||o!==s&&!o.contains(s))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let n=this._position=this.positionStrategy||this._createPositionStrategy(),i=new ai({direction:this._dir||"ltr",positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(n){let i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return n.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let n=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(n),n}
1_getOrigin(){return this.origin instanceof nA?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof nA?this.origin.elementRef.nativeElement:this.origin instanceof P?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(n=>{this.backdropClick.emit(n)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(ma(()=>this.positionChange.observers.length>0)).subscribe(n=>{this._ngZone.run(()=>this.positionChange.emit(n)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,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",be],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",be],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",be],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",be],push:[2,"cdkConnectedOverlayPush","push",be],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",be]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ke,it]}));let t=e;return t})();function U$(t){return()=>t.scrollStrategies.reposition()}var H$={provide:oA,deps:[Ct],useFactory:U$},Ao=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({providers:[Ct,H$],imports:[Do,So,N_,N_]}));let t=e;return t})();function $$(t,e){if(t&1){let r=Me();C(0,"div",1)(1,"button",2),J("click",function(){Ee(r);let i=$();return we(i.action())}),K(2),I()()}if(t&2){let r=$();D(2),Se(" ",r.data.action," ")}}var z$=["label"];function W$(t,e){}var G$=Math.pow(2,31)-1,cu=class{constructor(e,r){a(this,"_overlayRef");a(this,"instance");a(this,"containerInstance");a(this,"_afterDismissed",new A);a(this,"_afterOpened",new A);a(this,"_onAction",new A);a(this,"_durationTimeoutId");a(this,"_dismissedByAction",!1);this._overlayRef=r,this.containerInstance=e,e._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(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,G$))}_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}},Zp=new b("MatSnackBarData"),tc=class{constructor(){a(this,"politeness","assertive");a(this,"announcementMessage","");a(this,"viewContainerRef");a(this,"duration",0);a(this,"panelClass");a(this,"direction");a(this,"data",null);a(this,"horizontalPosition","center");a(this,"verticalPosition","bottom")}},q$=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let t=e;return t})(),Y$=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let t=e;return t})(),Z$=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let t=e;return t})(),K$=(()=>{let e=class e{constructor(){a(this,"snackBarRef",p(cu));a(this,"data",p(Zp))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,o){i&1&&(C(0,"div",0),K(1),I(),se(2,$$,3,1,"div",1)),i&2&&(D(),Se(" ",o.data.message,"\n"),D(),te(o.hasAction?2:-1))},dependencies:[ut,q$,Y$,Z$],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}));let t=e;return t})(),X$={snackBarState:ru("state",[Qa("void, hidden",si({transform:"scale(0.8)",opacity:0}
1)),Qa("visible",si({transform:"scale(1)",opacity:1})),Us("* => visible",Bs("150ms cubic-bezier(0, 0, 0.2, 1)")),Us("* => void, * => hidden",Bs("75ms cubic-bezier(0.4, 0.0, 1, 1)",si({opacity:0})))])},Q$=(()=>{let e=class e extends Co{constructor(){super();a(this,"_ngZone",p(F));a(this,"_elementRef",p(P));a(this,"_changeDetectorRef",p(Ne));a(this,"_platform",p(Pe));a(this,"snackBarConfig",p(tc));a(this,"_document",p(ee));a(this,"_trackedModals",new Set);a(this,"_announceDelay",150);a(this,"_announceTimeoutId");a(this,"_destroyed",!1);a(this,"_portalOutlet");a(this,"_onAnnounce",new A);a(this,"_onExit",new A);a(this,"_onEnter",new A);a(this,"_animationState","void");a(this,"_live");a(this,"_label");a(this,"_role");a(this,"_liveElementId",p(cn).getId("mat-snack-bar-container-live-"));a(this,"attachDomPortal",i=>{this._assertNotAttached();let o=this._portalOutlet.attachDomPortal(i);return this._afterPortalAttached(),o});let i=this.snackBarConfig;i.politeness==="assertive"&&!i.announcementMessage?this._live="assertive":i.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(i){this._assertNotAttached();let o=this._portalOutlet.attachComponentPortal(i);return this._afterPortalAttached(),o}attachTemplatePortal(i){this._assertNotAttached();let o=this._portalOutlet.attachTemplatePortal(i);return this._afterPortalAttached(),o}onAnimationEnd(i){let{fromState:o,toState:s}=i;if((s==="void"&&o!=="void"||s==="hidden")&&this._completeExit(),s==="visible"){let c=this._onEnter;this._ngZone.run(()=>{c.next(),c.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let i=this._elementRef.nativeElement,o=this.snackBarConfig.panelClass;o&&(Array.isArray(o)?o.forEach(l=>i.classList.add(l)):i.classList.add(o)),this._exposeToModals();let s=this._label.nativeElement,c="mdc-snackbar__label";s.classList.toggle(c,!s.querySelector(".".concat(c)))}_exposeToModals(){let i=this._liveElementId,o=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let s=0;s<o.length;s++){let c=o[s],l=c.getAttribute("aria-owns");this._trackedModals.add(c),l?l.indexOf(i)===-1&&c.setAttribute("aria-owns",l+" "+i):c.setAttribute("aria-owns",i)}}_clearFromModals(){this._trackedModals.forEach(i=>{let o=i.getAttribute("aria-owns");if(o){let s=o.replace(this._liveElementId,"").trim();s.length>0?i.setAttribute("aria-owns",s):i.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let i=this._elementRef.nativeElement.querySelector("[aria-hidden]"),o=this._elementRef.nativeElement.querySelector("[aria-live]");if(i&&o){let s=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&i.contains(document.activeElement)&&(s=document.activeElement),i.removeAttribute("aria-hidden"),o.appendChild(i),s==null||s.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};a(e,"\u0275fac",function(o){return new(o||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["mat-snack-bar-container"]],viewQuery:function(o,s){if(o&1&&(Yt(Io,7),Yt(z$,7)),o&2){let c;wt(c=Dt())&&(s._portalOutlet=c.first),wt(c=Dt())&&(s._label=c.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(o,s){o&1&&uy("@state.done",function(l){return s.onAnimationEnd(l)}),o&2&&ly("@state",s._animationState)},features:[pe],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(o,s){o&1&&(C(0,"div",1)(1,"div",2,0)(3,"div",3),se(4,W$,0,0,"ng-template",4),I(),j(5,"div"),I()()),o&2&&(D(5),ge("aria-live",s._live)("role",s._role)("id",s._liveElementId))},dependencies:[Io],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{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);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[X$.snackBarState]}}));let t=e;return t})();function J$(){return new tc}var ez=new b("mat-snack-bar-default-options",{providedIn:"root",factory:J$}),sA=(()=>{let e=class e{constructor(){a(this,"_overlay",p(Ct));a(this,"_live",p(oT));a(this,"_injector",p(fe));
1a(this,"_breakpointObserver",p(xp));a(this,"_parentSnackBar",p(e,{optional:!0,skipSelf:!0}));a(this,"_defaultConfig",p(ez));a(this,"_snackBarRefAtThisLevel",null);a(this,"simpleSnackBarComponent",K$);a(this,"snackBarContainerComponent",Q$);a(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}openFromComponent(n,i){return this._attach(n,i)}openFromTemplate(n,i){return this._attach(n,i)}open(n,i="",o){let s=T(T({},this._defaultConfig),o);return s.data={message:n,action:i},s.announcementMessage===n&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(n,i){let o=i&&i.viewContainerRef&&i.viewContainerRef.injector,s=fe.create({parent:o||this._injector,providers:[{provide:tc,useValue:i}]}),c=new kr(this.snackBarContainerComponent,i.viewContainerRef,s),l=n.attach(c);return l.instance.snackBarConfig=i,l.instance}_attach(n,i){let o=T(T(T({},new tc),this._defaultConfig),i),s=this._createOverlay(o),c=this._attachSnackBarContainer(s,o),l=new cu(c,s);if(n instanceof at){let u=new Rr(n,null,{$implicit:o.data,snackBarRef:l});l.instance=c.attachTemplatePortal(u)}else{let u=this._createInjector(o,l),d=new kr(n,void 0,u),f=c.attachComponentPortal(d);l.instance=f.instance}return this._breakpointObserver.observe(YS.HandsetPortrait).pipe(Ce(s.detachments())).subscribe(u=>{s.overlayElement.classList.toggle(this.handsetCssClass,u.matches)}),o.announcementMessage&&c._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(l,o),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(n,i){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),i.duration&&i.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(i.duration))}_createOverlay(n){let i=new ai;i.direction=n.direction;let o=this._overlay.position().global(),s=n.direction==="rtl",c=n.horizontalPosition==="left"||n.horizontalPosition==="start"&&!s||n.horizontalPosition==="end"&&s,l=!c&&n.horizontalPosition!=="center";return c?o.left("0"):l?o.right("0"):o.centerHorizontally(),n.verticalPosition==="top"?o.top("0"):o.bottom("0"),i.positionStrategy=o,this._overlay.create(i)}_createInjector(n,i){let o=n&&n.viewContainerRef&&n.viewContainerRef.injector;return fe.create({parent:o||this._injector,providers:[{provide:cu,useValue:i},{provide:Zp,useValue:n.data}]})}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function Kp(t){let e=qD(t);return new V(r=>{e==null||e.onDestroy(()=>r.complete());let n=t.subscribe(i=>r.next(i));return()=>n.unsubscribe()})}function nz(t,e){var o;!(e!=null&&e.injector)&&Rs(nz);let r=(o=e==null?void 0:e.injector)!=null?o:p(fe),n=new rn(1),i=Bl(()=>{let s;try{s=t()}catch(c){jt(()=>n.error(c));return}jt(()=>n.next(s))},{injector:r,manualCleanup:!0});return r.get(ni).onDestroy(()=>{i.destroy(),n.complete()}),n.asObservable()}function H_(t,e){var c,l;let r=!(e!=null&&e.manualCleanup);r&&!(e!=null&&e.injector)&&Rs(H_);let n=r?(l=(c=e==null?void 0:e.injector)==null?void 0:c.get(ni))!=null?l:p(ni):null,i=rz(e==null?void 0:e.equal),o;e!=null&&e.requireSync?o=tr({kind:0},{equal:i}):o=tr({kind:1,value:e==null?void 0:e.initialValue},{equal:i});let s=t.subscribe({next:u=>o.set({kind:1,value:u}),error:u=>{if(e!=null&&e.rejectErrors)throw u;o.set({kind:2,error:u})}});if(e!=null&&e.requireSync&&o().kind===0)throw new U(601,!1);return n==null||n.onDestroy(s.unsubscribe.bind(s)),rr(()=>{let u=o();switch(u.kind){case 1:return u.value;case 2:throw u.error;case 0:throw new U(601,!1)}},{equal:e==null?void 0:e.equal})}function rz(t=Object.is){return(e,r)=>e.kind===1&&r.kind===1&&t(e.value,r.value)}var W_={};function _A(t,e){if(W_[t]=(W_[t]||0)+1,typeof e=="function")return $_(t,(...n)=>ve(T({},e(...n)),{type:t}));switch(e?e._as:"empty"){case"empty":return $_(t,()=>({type:t}));case"props":return $_(t,n=>ve(T({},n),{type:t}));default:throw new Error("Unexpected config.")}}function Ume(){return{_as:"props",_p:void 0}}function $_(t,e){return Object.defineProperty(e,"type",{value:t,writable:!1})}var xA="@ngrx/store/init",nc=(()=>{let e=class e extends qe{constructor(){super({type:xA})}next(n){if(typeof n=="function")throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof n>"u")throw new TypeError("Actions must be objects");if(typeof n.type>"u")throw new TypeError("Actions must have a type property");super.next(n)}complete(){}ngOnDestroy(){super.complete()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t}
1)(),iz=[nc],EA=new b("@ngrx/store Internal Root Guard"),aA=new b("@ngrx/store Internal Initial State"),K_=new b("@ngrx/store Initial State"),wA=new b("@ngrx/store Reducer Factory"),cA=new b("@ngrx/store Internal Reducer Factory Provider"),DA=new b("@ngrx/store Initial Reducers"),z_=new b("@ngrx/store Internal Initial Reducers"),Hme=new b("@ngrx/store Store Features"),lA=new b("@ngrx/store Internal Store Reducers"),$me=new b("@ngrx/store Internal Feature Reducers"),zme=new b("@ngrx/store Internal Feature Configs"),Wme=new b("@ngrx/store Internal Store Features"),Gme=new b("@ngrx/store Internal Feature Reducers Token"),qme=new b("@ngrx/store Feature Reducers"),uA=new b("@ngrx/store User Provided Meta Reducers"),Xp=new b("@ngrx/store Meta Reducers"),dA=new b("@ngrx/store Internal Resolved Meta Reducers"),fA=new b("@ngrx/store User Runtime Checks Config"),pA=new b("@ngrx/store Internal User Runtime Checks Config"),lu=new b("@ngrx/store Internal Runtime Checks"),CA=new b("@ngrx/store Check if Action types are unique"),hA=new b("@ngrx/store Root Store Provider"),Yme=new b("@ngrx/store Feature State Provider");function oz(t,e={}){let r=Object.keys(t),n={};for(let o=0;o<r.length;o++){let s=r[o];typeof t[s]=="function"&&(n[s]=t[s])}let i=Object.keys(n);return function(s,c){s=s===void 0?e:s;let l=!1,u={};for(let d=0;d<i.length;d++){let f=i[d],h=n[f],m=s[f],g=h(m,c);u[f]=g,l=l||g!==m}return l?u:s}}function sz(t,e){return Object.keys(t).filter(r=>r!==e).reduce((r,n)=>Object.assign(r,{[n]:t[n]}),{})}function IA(...t){return function(e){if(t.length===0)return e;let r=t[t.length-1];return t.slice(0,-1).reduceRight((i,o)=>o(i),r(e))}}function SA(t,e){return Array.isArray(e)&&e.length>0&&(t=IA.apply(null,[...e,t])),(r,n)=>{let i=t(r);return(o,s)=>(o=o===void 0?n:o,i(o,s))}}function az(t){let e=Array.isArray(t)&&t.length>0?IA(...t):r=>r;return(r,n)=>(r=e(r),(i,o)=>(i=i===void 0?n:i,r(i,o)))}var uu=class extends V{},Qp=class extends nc{},cz="@ngrx/store/update-reducers",G_=(()=>{let e=class e extends qe{get currentReducers(){return this.reducers}constructor(n,i,o,s){super(s(o,i)),this.dispatcher=n,this.initialState=i,this.reducers=o,this.reducerFactory=s}addFeature(n){this.addFeatures([n])}addFeatures(n){let i=n.reduce((o,{reducers:s,reducerFactory:c,metaReducers:l,initialState:u,key:d})=>{let f=typeof s=="function"?az(l)(s,u):SA(c,l)(s,u);return o[d]=f,o},{});this.addReducers(i)}removeFeature(n){this.removeFeatures([n])}removeFeatures(n){this.removeReducers(n.map(i=>i.key))}addReducer(n,i){this.addReducers({[n]:i})}addReducers(n){this.reducers=T(T({},this.reducers),n),this.updateReducers(Object.keys(n))}removeReducer(n){this.removeReducers([n])}removeReducers(n){n.forEach(i=>{this.reducers=sz(this.reducers,i)}),this.updateReducers(n)}updateReducers(n){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:cz,features:n})}ngOnDestroy(){this.complete()}};e.\u0275fac=function(i){return new(i||e)(E(Qp),E(K_),E(DA),E(wA))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),lz=[G_,{provide:uu,useExisting:G_},{provide:Qp,useExisting:nc}],X_=(()=>{let e=class e extends A{ngOnDestroy(){this.complete()}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Oe(e)))(o||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),uz=[X_],Jp=class extends V{},mA=(()=>{let e=class e extends qe{constructor(n,i,o,s){super(s);let l=n.pipe(ls(hg)).pipe(Cd(i)),u={state:s},d=l.pipe(Dg(dz,u));this.stateSubscription=d.subscribe(({state:f,action:h})=>{this.next(f),o.next(h)}),this.state=H_(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}};e.INIT=xA,e.\u0275fac=function(i){return new(i||e)(E(nc),E(uu),E(X_),E(K_))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})();function dz(t={state:void 0},[e,r]){let{state:n}=t;return{state:r(n,e),action:e}}var fz=[mA,{provide:Jp,useExisting:mA}],du=(()=>{let e=class e extends V{constructor(n,i,o){super(),this.actionsObserver=i,this.reducerManager=o,this.source=n,this.state=n.state}select(n,...i){return hz.call(null,n,...i)(this)}selectSignal(n,i){return rr(()=>n(this.state()),i)}lift(n){let i=new e(this,this.actionsObserver,this.reducerManager);return i.operator=n,i}dispatch(n){this.actionsObserver.next(n)}next(n){this.actionsObserver.next(n)}error(n){this.actionsObserver.error(n)}complete(){this.actionsObserver.complete()}addReducer(n,i){this.reducerManager.addReducer(n,i)}removeReducer(n){this.reducerManager.removeReducer(n)}};e.\u0275fac=function(i){return new(i||e)(E(Jp),E(nc),E(G_))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),pz=[du];function hz(t,e,...r){return function(i){let o;
1if(typeof t=="string"){let s=[e,...r].filter(Boolean);o=i.pipe(wg(t,...s))}else if(typeof t=="function")o=i.pipe(N(s=>t(s,e)));else throw new TypeError("Unexpected type '".concat(typeof t,"' in select operator,")+" expected 'string' or 'function'");return o.pipe(Zr())}}var Q_="https://ngrx.io/guide/store/configuration/runtime-checks";function gA(t){return t===void 0}function vA(t){return t===null}function TA(t){return Array.isArray(t)}function mz(t){return typeof t=="string"}function gz(t){return typeof t=="boolean"}function vz(t){return typeof t=="number"}function AA(t){return typeof t=="object"&&t!==null}function bz(t){return AA(t)&&!TA(t)}function yz(t){if(!bz(t))return!1;let e=Object.getPrototypeOf(t);return e===Object.prototype||e===null}function q_(t){return typeof t=="function"}function _z(t){return q_(t)&&t.hasOwnProperty("\u0275cmp")}function xz(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Ez=!1;function wz(){return Ez}function bA(t,e){return t===e}function Dz(t,e,r){for(let n=0;n<t.length;n++)if(!r(t[n],e[n]))return!0;return!1}function MA(t,e=bA,r=bA){let n=null,i=null,o;function s(){n=null,i=null}function c(d=void 0){o={result:d}}function l(){o=void 0}function u(){if(o!==void 0)return o.result;if(!n)return i=t.apply(null,arguments),n=arguments,i;if(!Dz(arguments,n,e))return i;let d=t.apply(null,arguments);return n=arguments,r(i,d)?i:(i=d,d)}return{memoized:u,reset:s,setResult:c,clearResult:l}}function Cz(...t){return Sz(MA)(...t)}function Iz(t,e,r,n){if(r===void 0){let o=e.map(s=>s(t));return n.memoized.apply(null,o)}let i=e.map(o=>o(t,r));return n.memoized.apply(null,[...i,r])}function Sz(t,e={stateFn:Iz}){return function(...r){let n=r;if(Array.isArray(n[0])){let[d,...f]=n;n=[...d,...f]}else n.length===1&&Tz(n[0])&&(n=Az(n[0]));let i=n.slice(0,n.length-1),o=n[n.length-1],s=i.filter(d=>d.release&&typeof d.release=="function"),c=t(function(...d){return o.apply(null,d)}),l=MA(function(d,f){return e.stateFn.apply(null,[d,i,f,c])});function u(){l.reset(),c.reset(),s.forEach(d=>d.release())}return Object.assign(l.memoized,{release:u,projector:c.memoized,setResult:l.setResult,clearResult:l.clearResult})}}function Zme(t){return Cz(e=>{let r=e[t];return!wz()&&vy()&&!(t in e)&&console.warn('@ngrx/store: The feature name "'.concat(t,'" does ')+"not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module "+"using StoreModule.forRoot('".concat(t,"', ...) or ")+"StoreModule.forFeature('".concat(t,"', ...). If the default ")+"state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored."),r},e=>e)}function Tz(t){return!!t&&typeof t=="object"&&Object.values(t).every(e=>typeof e=="function")}function Az(t){let e=Object.values(t),r=Object.keys(t),n=(...i)=>r.reduce((o,s,c)=>ve(T({},o),{[s]:i[c]}),{});return[...e,n]}function Mz(t){return t instanceof b?p(t):t}function kz(t){return typeof t=="function"?t():t}function Rz(t,e){return t.concat(e)}function Oz(){if(p(du,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Nz(t,e){return function(r,n){let i=e.action(n)?Y_(n):n,o=t(r,i);return e.state()?Y_(o):o}}function Y_(t){Object.freeze(t);let e=q_(t);return Object.getOwnPropertyNames(t).forEach(r=>{if(!r.startsWith("\u0275")&&xz(t,r)&&(!e||r!=="caller"&&r!=="callee"&&r!=="arguments")){let n=t[r];(AA(n)||q_(n))&&!Object.isFrozen(n)&&Y_(n)}}),t}function Pz(t,e){return function(r,n){if(e.action(n)){let o=Z_(n);yA(o,"action")}let i=t(r,n);if(e.state()){let o=Z_(i);yA(o,"state")}return i}}function Z_(t,e=[]){return(gA(t)||vA(t))&&e.length===0?{path:["root"],value:t}:Object.keys(t).reduce((n,i)=>{if(n)return n;let o=t[i];return _z(o)?n:gA(o)||vA(o)||vz(o)||gz(o)||mz(o)||TA(o)?!1:yz(o)?Z_(o,[...e,i]):{path:[...e,i],value:o}},!1)}function yA(t,e){if(t===!1)return;let r=t.path.join("."),n=new Error("Detected unserializable ".concat(e,' at "').concat(r,'". ').concat(Q_,"#strict").concat(e,"serializability"));throw n.value=t.value,n.unserializablePath=r,n}function Fz(t,e){return function(r,n){if(e.action(n)&&!F.isInAngularZone())throw new Error("Action '".concat(n.type,"' running outside NgZone. ").concat(Q_,"#strictactionwithinngzone"));return t(r,n)}}
1function Lz(t){return vy()?T({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},t):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function jz({strictActionSerializability:t,strictStateSerializability:e}){return r=>t||e?Pz(r,{action:n=>t&&!J_(n),state:()=>e}):r}function Vz({strictActionImmutability:t,strictStateImmutability:e}){return r=>t||e?Nz(r,{action:n=>t&&!J_(n),state:()=>e}):r}function J_(t){return t.type.startsWith("@ngrx")}function Bz({strictActionWithinNgZone:t}){return e=>t?Fz(e,{action:r=>t&&!J_(r)}):e}function Uz(t){return[{provide:pA,useValue:t},{provide:fA,useFactory:$z,deps:[pA]},{provide:lu,deps:[fA],useFactory:Lz},{provide:Xp,multi:!0,deps:[lu],useFactory:Vz},{provide:Xp,multi:!0,deps:[lu],useFactory:jz},{provide:Xp,multi:!0,deps:[lu],useFactory:Bz}]}function Hz(){return[{provide:CA,multi:!0,deps:[lu],useFactory:zz}]}function $z(t){return t}function zz(t){if(!t.strictActionTypeUniqueness)return;let e=Object.entries(W_).filter(([,r])=>r>1).map(([r])=>r);if(e.length)throw new Error("Action types are registered more than once, ".concat(e.map(r=>'"'.concat(r,'"')).join(", "),". ").concat(Q_,"#strictactiontypeuniqueness"))}function Wz(t={},e={}){return[{provide:EA,useFactory:Oz},{provide:aA,useValue:e.initialState},{provide:K_,useFactory:kz,deps:[aA]},{provide:z_,useValue:t},{provide:lA,useExisting:t instanceof b?t:z_},{provide:DA,deps:[z_,[new Ef(lA)]],useFactory:Mz},{provide:uA,useValue:e.metaReducers?e.metaReducers:[]},{provide:dA,deps:[Xp,uA],useFactory:Rz},{provide:cA,useValue:e.reducerFactory?e.reducerFactory:oz},{provide:wA,deps:[cA,dA],useFactory:SA},iz,lz,uz,fz,pz,Uz(e.runtimeChecks),Hz()]}function Gz(){p(nc),p(uu),p(X_),p(du),p(EA,{optional:!0}),p(CA,{optional:!0})}var qz=[{provide:hA,useFactory:Gz},{provide:_s,multi:!0,useFactory(){return()=>p(hA)}}];function Kme(t,e){return ks([...Wz(t,e),qz])}function Xme(...t){let e=t.pop(),r=t.map(n=>n.type);return{reducer:e,types:r}}function Qme(t,...e){let r=new Map;for(let n of e)for(let i of n.types){let o=r.get(i);if(o){let s=(c,l)=>n.reducer(o(c,l),l);r.set(i,s)}else r.set(i,n.reducer)}return function(n=t,i){let o=r.get(i.type);return o?o(n,i):n}}var rc=class{},kA=(()=>{let e=class e extends rc{getTranslation(n){return O({})}};a(e,"\u0275fac",(()=>{let n;return function(o){return(n||(n=Oe(e)))(o||e)}})()),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),fu=class{},RA=(()=>{let e=class e{handle(n){return n.key}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})();function eh(t,e){if(t===e)return!0;if(t===null||e===null)return!1;if(t!==t&&e!==e)return!0;let r=typeof t,n=typeof e,i,o,s;if(r==n&&r=="object")if(Array.isArray(t)){if(!Array.isArray(e))return!1;if((i=t.length)==e.length){for(o=0;o<i;o++)if(!eh(t[o],e[o]))return!1;return!0}}else{if(Array.isArray(e))return!1;s=Object.create(null);for(o in t){if(!eh(t[o],e[o]))return!1;s[o]=!0}for(o in e)if(!(o in s)&&typeof e[o]<"u")return!1;return!0}return!1}function Mo(t){return typeof t<"u"&&t!==null}function e0(t){return t&&typeof t=="object"&&!Array.isArray(t)}function PA(t,e){let r=Object.assign({},t);return e0(t)&&e0(e)&&Object.keys(e).forEach(n=>{e0(e[n])?n in t?r[n]=PA(t[n],e[n]):Object.assign(r,{[n]:e[n]}):Object.assign(r,{[n]:e[n]})}),r}var ic=class{},OA=(()=>{let e=class e extends ic{constructor(){super(...arguments);a(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(i,o){let s;return typeof i=="string"?s=this.interpolateString(i,o):typeof i=="function"?s=this.interpolateFunction(i,o):s=i,s}getValue(i,o){let s=typeof o=="string"?o.split("."):[o];o="";do o+=s.shift(),Mo(i)&&Mo(i[o])&&(typeof i[o]=="object"||!s.length)?(i=i[o],o=""):s.length?o+=".":i=void 0;while(s.length);return i}interpolateFunction(i,o){return i(o)}interpolateString(i,o){return o?i.replace(this.templateMatcher,(s,c)=>{let l=this.getValue(o,c);return Mo(l)?l:s}):i}};a(e,"\u0275fac",(()=>{let i;return function(s){return(i||(i=Oe(e)))(s||e)}})()),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),oc=class{},NA=(()=>{let e=class e extends oc{compile(n,i){return n}compileTranslations(n,i){return n}};a(e,"\u0275fac",(()=>{let n;return function(o){return(n||(n=Oe(e)))(o||e)}})()),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),th=class{constructor(){a(this,"defaultLang");a(this,"currentLang",this.defaultLang);a(this,"translations",{});a(this,"langs",[]);a(this,"onTranslationChange",new Q);a(this,"onLangChange",new Q);a(this,"onDefaultLangChange",new Q)}},t0=new b("USE_STORE"),n0=new b("USE_DEFAULT_LANG"),r0=new b("DEFAULT_LANGUAGE"),i0=new b("USE_EXTEND"),ln=(()=>{let e=class e{constructor(n,i,o,s,c,l=!0,u=!1,d=!1,f){a(this,"store");a(this,"currentLoader");a(this,"compiler");a(this,"parser");a(this,"missingTranslationHandler");a(this,"useDefaultLang");a(this,"isolate");a(this,"extend");a(this,"loadingTranslations");a(this,"pending",!1);a(this,"_onTranslationChange",new Q);a(this,"_onLangChange",new Q);a(this,"_onDefaultLangChange",new Q);a(this,"_defaultLang");a(this,"_currentLang");a(this,"_langs",[]);a(this,"_translations",{});a(this,"_translationRequests",{});this.store=n,this.currentLoader=i,this.compiler=o,this.parser=s,this.missingTranslationHandler=c,this.useDefaultLang=l,this.isolate=u,this.extend=d,f&&this.setDefaultLang(f)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(n){this.isolate?this._defaultLang=n:this.store.defaultLang=n}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(n){this.isolate?this._currentLang=n:this.store.currentLang=n}get langs(){return this.isolate?this._langs:this.store.langs}set langs(n){this.isolate?this._langs=n:this.store.langs=n}get translations(){return this.isolate?this._translations:this.store.translations}set translations(n){this.isolate?this._translations=n:this.store.translations=n}setDefaultLang(n){if(n===this.defaultLang)return;let i=this.retrieveTranslations(n);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=n),i.pipe(_e(1)).subscribe(o=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(n===this.currentLang)return O(this.translations[n]);let i=this.retrieveTranslations(n);return typeof i<"u"?(this.currentLang||(this.currentLang=n),i.pipe(_e(1)).subscribe(o=>{this.changeLang(n)}),i):(this.changeLang(n),O(this.translations[n]))}retrieveTranslations(n){let i;return(typeof this.translations[n]>"u"||this.extend)&&(this._translationRequests[n]=this._translationRequests[n]||this.getTranslation(n),i=this._translationRequests[n]),i}getTranslation(n){this.pending=!0;let i=this.currentLoader.getTranslation(n).pipe(wi(1),_e(1));return this.loadingTranslations=i.pipe(N(o=>this.compiler.compileTranslations(o,n)),wi(1),_e(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[n]=this.extend&&this.translations[n]?T(T({},o),this.translations[n]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),i}setTranslation(n,i,o=!1){i=this.compiler.compileTranslations(i,n),(o||this.extend)&&this.translations[n]?this.translations[n]=PA(this.translations[n],i):this.translations[n]=i,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}
1addLangs(n){n.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(n,i,o){let s;if(i instanceof Array){let c={},l=!1;for(let u of i)c[u]=this.getParsedResult(n,u,o),kt(c[u])&&(l=!0);if(l){let u=i.map(d=>kt(c[d])?c[d]:O(c[d]));return ds(u).pipe(N(d=>{let f={};return d.forEach((h,m)=>{f[i[m]]=h}),f}))}return c}if(n&&(s=this.parser.interpolate(this.parser.getValue(n,i),o)),typeof s>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),o)),typeof s>"u"){let c={key:i,translateService:this};typeof o<"u"&&(c.interpolateParams=o),s=this.missingTranslationHandler.handle(c)}return typeof s<"u"?s:i}get(n,i){if(!Mo(n)||!n.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(ha(o=>(o=this.getParsedResult(o,n,i),kt(o)?o:O(o))));{let o=this.getParsedResult(this.translations[this.currentLang],n,i);return kt(o)?o:O(o)}}getStreamOnTranslationChange(n,i){if(!Mo(n)||!n.length)throw new Error('Parameter "key" required');return Er(qr(()=>this.get(n,i)),this.onTranslationChange.pipe(xe(o=>{let s=this.getParsedResult(o.translations,n,i);return typeof s.subscribe=="function"?s:O(s)})))}stream(n,i){if(!Mo(n)||!n.length)throw new Error('Parameter "key" required');return Er(qr(()=>this.get(n,i)),this.onLangChange.pipe(xe(o=>{let s=this.getParsedResult(o.translations,n,i);return kt(s)?s:O(s)})))}instant(n,i){if(!Mo(n)||!n.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],n,i);if(kt(o)){if(n instanceof Array){let s={};return n.forEach((c,l)=>{s[n[l]]=n[l]}),s}return n}else return o}set(n,i,o=this.currentLang){this.translations[o][n]=this.compiler.compile(i,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(n){this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n)}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.getTranslation(n)}resetLang(n){this._translationRequests[n]=void 0,this.translations[n]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let n=window.navigator.languages?window.navigator.languages[0]:null;if(n=n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof n>"u"))return n.indexOf("-")!==-1&&(n=n.split("-")[0]),n.indexOf("_")!==-1&&(n=n.split("_")[0]),n}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let n=window.navigator.languages?window.navigator.languages[0]:null;return n=n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,n}};a(e,"\u0275fac",function(i){return new(i||e)(E(th),E(rc),E(oc),E(ic),E(fu),E(n0),E(t0),E(i0),E(r0))}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})();var dt=(()=>{let e=class e{constructor(n,i){a(this,"translate");a(this,"_ref");a(this,"value","");a(this,"lastKey",null);a(this,"lastParams",[]);a(this,"onTranslationChange");a(this,"onLangChange");a(this,"onDefaultLangChange");this.translate=n,this._ref=i}updateValue(n,i,o){let s=c=>{this.value=c!==void 0?c:n,this.lastKey=n,this._ref.markForCheck()};if(o){let c=this.translate.getParsedResult(o,n,i);kt(c.subscribe)?c.subscribe(s):s(c)}this.translate.get(n,i).subscribe(s)}transform(n,...i){if(!n||!n.length)return n;if(eh(n,this.lastKey)&&eh(i,this.lastParams))return this.value;let o;if(Mo(i[0])&&i.length)if(typeof i[0]=="string"&&i[0].length){let s=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(s)}catch{throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: ".concat(i[0]))}}else typeof i[0]=="object"&&!Array.isArray(i[0])&&(o=i[0]);
1return this.lastKey=n,this.lastParams=i,this.updateValue(n,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{this.lastKey&&s.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,o,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,o,s.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};a(e,"\u0275fac",function(i){return new(i||e)(w(ln,16),w(Ne,16))}),a(e,"\u0275pipe",Vn({name:"translate",type:e,pure:!1,standalone:!1})),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac}));let t=e;return t})(),ft=(()=>{let e=class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:rc,useClass:kA},n.compiler||{provide:oc,useClass:NA},n.parser||{provide:ic,useClass:OA},n.missingTranslationHandler||{provide:fu,useClass:RA},th,{provide:t0,useValue:n.isolate},{provide:n0,useValue:n.useDefaultLang},{provide:i0,useValue:n.extend},{provide:r0,useValue:n.defaultLanguage},ln]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:rc,useClass:kA},n.compiler||{provide:oc,useClass:NA},n.parser||{provide:ic,useClass:OA},n.missingTranslationHandler||{provide:fu,useClass:RA},{provide:t0,useValue:n.isolate},{provide:n0,useValue:n.useDefaultLang},{provide:i0,useValue:n.extend},{provide:r0,useValue:n.defaultLanguage},ln]}}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({}));let t=e;return t})();var $s=function(t){return t.AllSlotsEmpty="empty",t.FillSomeSlots="fill-some",t.FillAllSlots="all-slots",t.DiskStatuses="disk-statuses",t}($s||{}),uge=new Map([[$s.AllSlotsEmpty,"All slots empty"],[$s.FillSomeSlots,"Add disks to some slots and add pools to some disks."],[$s.FillAllSlots,"Add disks to all slots and add pools to all disks"],[$s.DiskStatuses,"Fill some slots and use all disk statuses"]]);var o0=function(t){return t.Es12="ES12",t.Es24F="ES24F",t.Es24="ES24",t.Es24N="ES24N",t.Es60="ES60",t.Es60G2="ES60G2",t.Es60G3="ES60G3",t.Es102="ES102",t.Es102G2="ES102G2",t.F60="F60",t.F100="F100",t.F130="F130",t.H10="H10",t.H20="H20",t.H30="H30",t.M30="M30",t.M40="M40",t.M50="M50",t.M60="M60",t.Mini3E="MINI-3.0-E",t.Mini3EPlus="MINI-3.0-E+",t.Mini3X="MINI-3.0-X",t.Mini3XPlus="MINI-3.0-X+",t.Mini3XlPlus="MINI-3.0-XL+",t.MiniR="MINI-R",t.R10="R10",t.R20="R20",t.R20A="R20A",t.R20B="R20B",t.R30="R30",t.R40="R40",t.R50="R50",t.R50B="R50B",t.R50BM="R50BM",t.X10="X10",t.X20="X20",t}(o0||{});var FA="0.0.3",LA="https://[email protected]/4",jA=document.location.host;var sc={environmentVersion:FA,remote:jA,buildYear:2025,production:!0,sentryPublicDsn:LA,mockConfig:{enabled:!1,controllerModel:o0.M40,expansionModels:[],scenario:$s.FillSomeSlots}};function Zz(){this.__data__=[],this.size=0}var VA=Zz;function Kz(t,e){return t===e||t!==t&&e!==e}var ci=Kz;function Xz(t,e){for(var r=t.length;r--;)if(ci(t[r][0],e))return r;return-1}var ko=Xz;var Qz=Array.prototype,Jz=Qz.splice;function eW(t){var e=this.__data__,r=ko(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():Jz.call(e,r,1),--this.size,!0}var BA=eW;function tW(t){var e=this.__data__,r=ko(e,t);return r<0?void 0:e[r][1]}var UA=tW;function nW(t){return ko(this.__data__,t)>-1}var HA=nW;function rW(t,e){var r=this.__data__,n=ko(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var $A=rW;function ac(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ac.prototype.clear=VA;ac.prototype.delete=BA;ac.prototype.get=UA;ac.prototype.has=HA;ac.prototype.set=$A;var Ro=ac;function iW(){this.__data__=new Ro,this.size=0}var zA=iW;function oW(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var WA=oW;function sW(t){return this.__data__.get(t)}var GA=sW;function aW(t){return this.__data__.has(t)}var qA=aW;var cW=typeof global=="object"&&global&&global.Object===Object&&global,nh=cW;var lW=typeof self=="object"&&self&&self.Object===Object&&self,uW=nh||lW||Function("return this")(),pt=uW;var dW=pt.Symbol,Tt=dW;var YA=Object.prototype,fW=YA.hasOwnProperty,pW=YA.toString,pu=Tt?Tt.toStringTag:void 0;function hW(t){var e=fW.call(t,pu),r=t[pu];try{t[pu]=void 0;var n=!0}catch{}var i=pW.call(t);return n&&(e?t[pu]=r:delete t[pu]),i}var ZA=hW;var mW=Object.prototype,gW=mW.toString;function vW(t){return gW.call(t)}var KA=vW;
vendor: 10,705 bytes, line 1
1var bW="[object Null]",yW="[object Undefined]",XA=Tt?Tt.toStringTag:void 0;function _W(t){return t==null?t===void 0?yW:bW:XA&&XA in Object(t)?ZA(t):KA(t)}var un=_W;function xW(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var He=xW;var EW="[object AsyncFunction]",wW="[object Function]",DW="[object GeneratorFunction]",CW="[object Proxy]";function IW(t){if(!He(t))return!1;var e=un(t);return e==wW||e==DW||e==EW||e==CW}var cc=IW;var SW=pt["__core-js_shared__"],rh=SW;var QA=function(){var t=/[^.]+$/.exec(rh&&rh.keys&&rh.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function TW(t){return!!QA&&QA in t}var JA=TW;var AW=Function.prototype,MW=AW.toString;function kW(t){if(t!=null){try{return MW.call(t)}catch{}try{return t+""}catch{}}return""}var Hi=kW;var RW=/[\\^$.*+?()[\]{}|]/g,OW=/^\[object .+?Constructor\]$/,NW=Function.prototype,PW=Object.prototype,FW=NW.toString,LW=PW.hasOwnProperty,jW=RegExp("^"+FW.call(LW).replace(RW,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function VW(t){if(!He(t)||JA(t))return!1;var e=cc(t)?jW:OW;return e.test(Hi(t))}var eM=VW;function BW(t,e){return t==null?void 0:t[e]}var tM=BW;function UW(t,e){var r=tM(t,e);return eM(r)?r:void 0}var Dn=UW;var HW=Dn(pt,"Map"),Oo=HW;var $W=Dn(Object,"create"),$i=$W;function zW(){this.__data__=$i?$i(null):{},this.size=0}var nM=zW;function WW(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var rM=WW;var GW="__lodash_hash_undefined__",qW=Object.prototype,YW=qW.hasOwnProperty;function ZW(t){var e=this.__data__;if($i){var r=e[t];return r===GW?void 0:r}return YW.call(e,t)?e[t]:void 0}var iM=ZW;var KW=Object.prototype,XW=KW.hasOwnProperty;function QW(t){var e=this.__data__;return $i?e[t]!==void 0:XW.call(e,t)}var oM=QW;var JW="__lodash_hash_undefined__";function e8(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=$i&&e===void 0?JW:e,this}var sM=e8;function lc(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}lc.prototype.clear=nM;lc.prototype.delete=rM;lc.prototype.get=iM;lc.prototype.has=oM;lc.prototype.set=sM;var s0=lc;function t8(){this.size=0,this.__data__={hash:new s0,map:new(Oo||Ro),string:new s0}}var aM=t8;function n8(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var cM=n8;function r8(t,e){var r=t.__data__;return cM(e)?r[typeof e=="string"?"string":"hash"]:r.map}var No=r8;function i8(t){var e=No(this,t).delete(t);return this.size-=e?1:0,e}var lM=i8;function o8(t){return No(this,t).get(t)}var uM=o8;function s8(t){return No(this,t).has(t)}var dM=s8;function a8(t,e){var r=No(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}var fM=a8;function uc(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}uc.prototype.clear=aM;uc.prototype.delete=lM;uc.prototype.get=uM;uc.prototype.has=dM;uc.prototype.set=fM;var zs=uc;var c8=200;function l8(t,e){var r=this.__data__;if(r instanceof Ro){var n=r.__data__;if(!Oo||n.length<c8-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new zs(n)}return r.set(t,e),this.size=r.size,this}var pM=l8;function dc(t){var e=this.__data__=new Ro(t);this.size=e.size}dc.prototype.clear=zA;dc.prototype.delete=WA;dc.prototype.get=GA;dc.prototype.has=qA;dc.prototype.set=pM;var li=dc;var u8="__lodash_hash_undefined__";function d8(t){return this.__data__.set(t,u8),this}var hM=d8;function f8(t){return this.__data__.has(t)}var mM=f8;function ih(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new zs;++e<r;)this.add(t[e])}ih.prototype.add=ih.prototype.push=hM;ih.prototype.has=mM;var fc=ih;function p8(t,e){for(var r=-1,n=t==null?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}var oh=p8;function h8(t,e){return t.has(e)}var pc=h8;var m8=1,g8=2;function v8(t,e,r,n,i,o){var s=r&m8,c=t.length,l=e.length;if(c!=l&&!(s&&l>c))return!1;var u=o.get(t),d=o.get(e);if(u&&d)return u==e&&d==t;var f=-1,h=!0,m=r&g8?new fc:void 0;for(o.set(t,e),o.set(e,t);++f<c;){var g=t[f],_=e[f];if(n)var x=s?n(_,g,f,e,t,o):n(g,_,f,t,e,o);if(x!==void 0){if(x)continue;h=!1;break}if(m){if(!oh(e,function(S,L){if(!pc(m,L)&&(g===S||i(g,S,r,n,o)))return m.push(L)})){h=!1;break}}else if(!(g===_||i(g,_,r,n,o))){h=!1;break}}return o.delete(t),o.delete(e),h}var sh=v8;var b8=pt.Uint8Array,hc=b8;function y8(t){var e=-1,r=Array(t.size);return t.forEach(function(n,i){r[++e]=[i,n]}),r}var gM=y8;function _8(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var mc=_8;var x8=1,E8=2,w8="[object Boolean]",D8="[object Date]",C8="[object Error]",I8="[object Map]",S8="[object Number]",T8="[object RegExp]",A8="[object Set]",M8="[object String]",k8="[object Symbol]",R8="[object ArrayBuffer]",O8="[object DataView]",vM=Tt?Tt.prototype:void 0,a0=vM?vM.valueOf:void 0;function N8(t,e,r,n,i,o,s){switch(r){case O8:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case R8:return!(t.byteLength!=e.byteLength||!o(new hc(t),new hc(e)));case w8:case D8:case S8:return ci(+t,+e);case C8:return t.name==e.name&&t.message==e.message;case T8:case M8:return t==e+"";case I8:var c=gM;case A8:var l=n&x8;if(c||(c=mc),t.size!=e.size&&!l)return!1;var u=s.get(t);if(u)return u==e;n|=E8,s.set(t,e);var d=sh(c(t),c(e),n,i,o,s);return s.delete(t),d;case k8:if(a0)return a0.call(t)==a0.call(e)}return!1}var bM=N8;function P8(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}var Po=P8;var F8=Array.isArray,he=F8;function L8(t,e,r){var n=e(t);return he(t)?n:Po(n,r(t))}var ah=L8;function j8(t,e){for(var r=-1,n=t==null?0:t.length,i=0,o=[];++r<n;){var s=t[r];e(s,r,t)&&(o[i++]=s)}return o}var ch=j8;function V8(){return[]}var lh=V8;var B8=Object.prototype,U8=B8.propertyIsEnumerable,yM=Object.getOwnPropertySymbols,H8=yM?function(t){return t==null?[]:(t=Object(t),ch(yM(t),function(e){return U8.call(t,e)}))}:lh,gc=H8;function $8(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}var _M=$8;function z8(t){return t!=null&&typeof t=="object"}var st=z8;var W8="[object Arguments]";function G8(t){return st(t)&&un(t)==W8}var c0=G8;var xM=Object.prototype,q8=xM.hasOwnProperty,Y8=xM.propertyIsEnumerable,Z8=c0(function(){return arguments}())?c0:function(t){return st(t)&&q8.call(t,"callee")&&!Y8.call(t,"callee")},Or=Z8;function K8(){return!1}var EM=K8;var CM=typeof exports=="object"&&exports&&!exports.nodeType&&exports,wM=CM&&typeof module=="object"&&module&&!module.nodeType&&module,X8=wM&&wM.exports===CM,DM=X8?pt.Buffer:void 0,Q8=DM?DM.isBuffer:void 0,J8=Q8||EM,Nr=J8;var eG=9007199254740991,tG=/^(?:0|[1-9]\d*)$/;function nG(t,e){var r=typeof t;return e=e==null?eG:e,!!e&&(r=="number"||r!="symbol"&&tG.test(t))&&t>-1&&t%1==0&&t<e}var Fo=nG;var rG=9007199254740991;function iG(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=rG}var vc=iG;var oG="[object Arguments]",sG="[object Array]",aG="[object Boolean]",cG="[object Date]",lG="[object Error]",uG="[object Function]",dG="[object Map]",fG="[object Number]",pG="[object Object]",hG="[object RegExp]",mG="[object Set]",gG="[object String]",vG="[object WeakMap]",bG="[object ArrayBuffer]",yG="[object DataView]",_G="[object Float32Array]",xG="[object Float64Array]",EG="[object Int8Array]",wG="[object Int16Array]",DG="[object Int32Array]",CG="[object Uint8Array]",IG="[object Uint8ClampedArray]",SG="[object Uint16Array]",TG="[object Uint32Array]",Ge={};Ge[_G]=Ge[xG]=Ge[EG]=Ge[wG]=Ge[DG]=Ge[CG]=Ge[IG]=Ge[SG]=Ge[TG]=!0;Ge[oG]=Ge[sG]=Ge[bG]=Ge[aG]=Ge[yG]=Ge[cG]=Ge[lG]=Ge[uG]=Ge[dG]=Ge[fG]=Ge[pG]=Ge[hG]=Ge[mG]=Ge[gG]=Ge[vG]=!1;function AG(t){return st(t)&&vc(t.length)&&!!Ge[un(t)]}var IM=AG;function MG(t){return function(e){return t(e)}}var ui=MG;var SM=typeof exports=="object"&&exports&&!exports.nodeType&&exports,hu=SM&&typeof module=="object"&&module&&!module.nodeType&&module,kG=hu&&hu.exports===SM,l0=kG&&nh.process,RG=function(){try{var t=hu&&hu.require&&hu.require("util").types;return t||l0&&l0.binding&&l0.binding("util")}catch{}}(),zi=RG;var TM=zi&&zi.isTypedArray,OG=TM?ui(TM):IM,Lo=OG;var NG=Object.prototype,PG=NG.hasOwnProperty;function FG(t,e){var r=he(t),n=!r&&Or(t),i=!r&&!n&&Nr(t),o=!r&&!n&&!i&&Lo(t),s=r||n||i||o,c=s?_M(t.length,String):[],l=c.length;for(var u in t)(e||PG.call(t,u))&&!(s&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Fo(u,l)))&&c.push(u);return c}var uh=FG;var LG=Object.prototype;function jG(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||LG;return t===r}var jo=jG;function VG(t,e){return function(r){return t(e(r))}}var dh=VG;var BG=dh(Object.keys,Object),AM=BG;var UG=Object.prototype,HG=UG.hasOwnProperty;function $G(t){if(!jo(t))return AM(t);var e=[];for(var r in Object(t))HG.call(t,r)&&r!="constructor"&&e.push(r);return e}var fh=$G;function zG(t){return t!=null&&vc(t.length)&&!cc(t)}var Kt=zG;function WG(t){return Kt(t)?uh(t):fh(t)}var cr=WG;function GG(t){return ah(t,cr,gc)}var mu=GG;var qG=1,YG=Object.prototype,ZG=YG.hasOwnProperty;function KG(t,e,r,n,i,o){var s=r&qG,c=mu(t),l=c.length,u=mu(e),d=u.length;if(l!=d&&!s)return!1;for(var f=l;f--;){var h=c[f];if(!(s?h in e:ZG.call(e,h)))return!1}var m=o.get(t),g=o.get(e);if(m&&g)return m==e&&g==t;var _=!0;o.set(t,e),o.set(e,t);for(var x=s;++f<l;){h=c[f];var S=t[h],L=e[h];if(n)var Ie=s?n(L,S,h,e,t,o):n(S,L,h,t,e,o);if(!(Ie===void 0?S===L||i(S,L,r,n,o):Ie)){_=!1;break}x||(x=h=="constructor")}if(_&&!x){var W=t.constructor,nt=e.constructor;W!=nt&&"constructor"in t&&"constructor"in e&&!(typeof W=="function"&&W instanceof W&&typeof nt=="function"&&nt instanceof nt)&&(_=!1)}return o.delete(t),o.delete(e),_}var MM=KG;var XG=Dn(pt,"DataView"),ph=XG;var QG=Dn(pt,"Promise"),hh=QG;var JG=Dn(pt,"Set"),Vo=JG;var e4=Dn(pt,"WeakMap"),mh=e4;var kM="[object Map]",t4="[object Object]",RM="[object Promise]",OM="[object Set]",NM="[object WeakMap]",PM="[object DataView]",n4=Hi(ph),r4=Hi(Oo),i4=Hi(hh),o4=Hi(Vo),s4=Hi(mh),Ws=un;(ph&&Ws(new ph(new ArrayBuffer(1)))!=PM||Oo&&Ws(new Oo)!=kM||hh&&Ws(hh.resolve())!=RM||Vo&&Ws(new Vo)!=OM||mh&&Ws(new mh)!=NM)&&(Ws=function(t){var e=un(t),r=e==t4?t.constructor:void 0,n=r?Hi(r):"";if(n)switch(n){case n4:return PM;case r4:return kM;case i4:return RM;case o4:return OM;case s4:return NM}return e});var Pr=Ws;var a4=1,FM="[object Arguments]",LM="[object Array]",gh="[object Object]",c4=Object.prototype,jM=c4.hasOwnProperty;function l4(t,e,r,n,i,o){var s=he(t),c=he(e),l=s?LM:Pr(t),u=c?LM:Pr(e);l=l==FM?gh:l,u=u==FM?gh:u;var d=l==gh,f=u==gh,h=l==u;if(h&&Nr(t)){if(!Nr(e))return!1;s=!0,d=!1}if(h&&!d)return o||(o=new li),s||Lo(t)?sh(t,e,r,n,i,o):bM(t,e,l,r,n,i,o);if(!(r&a4)){var m=d&&jM.call(t,"__wrapped__"),g=f&&jM.call(e,"__wrapped__");
1if(m||g){var _=m?t.value():t,x=g?e.value():e;return o||(o=new li),i(_,x,r,n,o)}}return h?(o||(o=new li),MM(t,e,r,n,i,o)):!1}var VM=l4;function BM(t,e,r,n,i){return t===e?!0:t==null||e==null||!st(t)&&!st(e)?t!==t&&e!==e:VM(t,e,r,n,BM,i)}var bc=BM;function u4(t,e){return bc(t,e)}var d4=u4;var f4="[object Symbol]";function p4(t){return typeof t=="symbol"||st(t)&&un(t)==f4}var Wn=p4;function h4(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}var Cn=h4;var m4=1/0,UM=Tt?Tt.prototype:void 0,HM=UM?UM.toString:void 0;function $M(t){if(typeof t=="string")return t;if(he(t))return Cn(t,$M)+"";if(Wn(t))return HM?HM.call(t):"";var e=t+"";return e=="0"&&1/t==-m4?"-0":e}var vh=$M;var g4=/\s/;function v4(t){for(var e=t.length;e--&&g4.test(t.charAt(e)););return e}var zM=v4;var b4=/^\s+/;function y4(t){return t&&t.slice(0,zM(t)+1).replace(b4,"")}var WM=y4;var GM=NaN,_4=/^[-+]0x[0-9a-f]+$/i,x4=/^0b[01]+$/i,E4=/^0o[0-7]+$/i,w4=parseInt;function D4(t){if(typeof t=="number")return t;if(Wn(t))return GM;if(He(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=He(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=WM(t);var r=x4.test(t);return r||E4.test(t)?w4(t.slice(2),r?2:8):_4.test(t)?GM:+t}var u0=D4;var qM=1/0,C4=17976931348623157e292;function I4(t){if(!t)return t===0?t:0;if(t=u0(t),t===qM||t===-qM){var e=t<0?-1:1;return e*C4}return t===t?t:0}var yc=I4;function S4(t){var e=yc(t),r=e%1;return e===e?r?e-r:e:0}var Wi=S4;function T4(t){return t}var Bo=T4;var YM=Object.create,A4=function(){function t(){}return function(e){if(!He(e))return{};if(YM)return YM(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),ZM=A4;function M4(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var KM=M4;function k4(){}var XM=k4;function R4(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}var _c=R4;var O4=800,N4=16,P4=Date.now;function F4(t){var e=0,r=0;return function(){var n=P4(),i=N4-(n-r);if(r=n,i>0){if(++e>=O4)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var QM=F4;function L4(t){return function(){return t}}var JM=L4;var j4=function(){try{var t=Dn(Object,"defineProperty");return t({},"",{}),t}catch{}}(),xc=j4;var V4=xc?function(t,e){return xc(t,"toString",{configurable:!0,enumerable:!1,value:JM(e),writable:!0})}:Bo,ek=V4;var B4=QM(ek),bh=B4;function U4(t,e){for(var r=-1,n=t==null?0:t.length;++r<n&&e(t[r],r,t)!==!1;);return t}var tk=U4;function H4(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return-1}var yh=H4;function $4(t){return t!==t}var nk=$4;function z4(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}var rk=z4;function W4(t,e,r){return e===e?rk(t,e,r):yh(t,nk,r)}var _h=W4;function G4(t,e){var r=t==null?0:t.length;return!!r&&_h(t,e,0)>-1}var xh=G4;function q4(t,e,r){e=="__proto__"&&xc?xc(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var lr=q4;var Y4=Object.prototype,Z4=Y4.hasOwnProperty;function K4(t,e,r){var n=t[e];(!(Z4.call(t,e)&&ci(n,r))||r===void 0&&!(e in t))&&lr(t,e,r)}var Ec=K4;function X4(t,e,r,n){var i=!r;r||(r={});for(var o=-1,s=e.length;++o<s;){var c=e[o],l=n?n(r[c],t[c],c,r,t):void 0;l===void 0&&(l=t[c]),i?lr(r,c,l):Ec(r,c,l)}return r}var ur=X4;var ik=Math.max;function Q4(t,e,r){return e=ik(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,o=ik(n.length-e,0),s=Array(o);++i<o;)s[i]=n[e+i];i=-1;for(var c=Array(e+1);++i<e;)c[i]=n[i];return c[e]=r(s),KM(t,this,c)}}var Eh=Q4;function J4(t,e){return bh(Eh(t,e,Bo),t+"")}var In=J4;function e5(t,e,r){if(!He(r))return!1;var n=typeof e;return(n=="number"?Kt(r)&&Fo(e,r.length):n=="string"&&e in r)?ci(r[e],t):!1}var Fr=e5;function t5(t){return In(function(e,r){var n=-1,i=r.length,o=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(o=t.length>3&&typeof o=="function"?(i--,o):void 0,s&&Fr(r[0],r[1],s)&&(o=i<3?void 0:o,i=1),e=Object(e);++n<i;){var c=r[n];c&&t(e,c,n,o)}return e})}var ok=t5;function n5(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var sk=n5;var r5=Object.prototype,i5=r5.hasOwnProperty;function o5(t){if(!He(t))return sk(t);var e=jo(t),r=[];
1for(var n in t)n=="constructor"&&(e||!i5.call(t,n))||r.push(n);return r}var ak=o5;function s5(t){return Kt(t)?uh(t,!0):ak(t)}var di=s5;var a5=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c5=/^\w*$/;function l5(t,e){if(he(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||Wn(t)?!0:c5.test(t)||!a5.test(t)||e!=null&&t in Object(e)}var wc=l5;var u5="Expected a function";function d0(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(u5);var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=t.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(d0.Cache||zs),r}d0.Cache=zs;var ck=d0;var d5=500;function f5(t){var e=ck(t,function(n){return r.size===d5&&r.clear(),n}),r=e.cache;return e}var lk=f5;var p5=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h5=/\\(\\)?/g,m5=lk(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(p5,function(r,n,i,o){e.push(i?o.replace(h5,"$1"):n||r)}),e}),uk=m5;function g5(t){return t==null?"":vh(t)}var fi=g5;function v5(t,e){return he(t)?t:wc(t,e)?[t]:uk(fi(t))}var dr=v5;var b5=1/0;function y5(t){if(typeof t=="string"||Wn(t))return t;var e=t+"";return e=="0"&&1/t==-b5?"-0":e}var fr=y5;function _5(t,e){e=dr(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[fr(e[r++])];return r&&r==n?t:void 0}var pi=_5;function x5(t,e,r){var n=t==null?void 0:pi(t,e);return n===void 0?r:n}var f0=x5;var dk=Tt?Tt.isConcatSpreadable:void 0;function E5(t){return he(t)||Or(t)||!!(dk&&t&&t[dk])}var fk=E5;function pk(t,e,r,n,i){var o=-1,s=t.length;for(r||(r=fk),i||(i=[]);++o<s;){var c=t[o];e>0&&r(c)?e>1?pk(c,e-1,r,n,i):Po(i,c):n||(i[i.length]=c)}return i}var Xt=pk;function w5(t){var e=t==null?0:t.length;return e?Xt(t,1):[]}var hk=w5;function D5(t){return bh(Eh(t,void 0,hk),t+"")}var wh=D5;var C5=dh(Object.getPrototypeOf,Object),Dc=C5;var I5="[object Object]",S5=Function.prototype,T5=Object.prototype,mk=S5.toString,A5=T5.hasOwnProperty,M5=mk.call(Object);function k5(t){if(!st(t)||un(t)!=I5)return!1;var e=Dc(t);if(e===null)return!0;var r=A5.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&mk.call(r)==M5}var gu=k5;function R5(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),r=r>i?i:r,r<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++n<i;)o[n]=t[n+e];return o}var Dh=R5;function O5(t,e,r,n){var i=-1,o=t==null?0:t.length;for(n&&o&&(r=t[++i]);++i<o;)r=e(r,t[i],i,t);return r}var gk=O5;function N5(t){return function(e){return t==null?void 0:t[e]}}var vk=N5;var P5={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},F5=vk(P5),bk=F5;
1var L5=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,j5="\\u0300-\\u036f",V5="\\ufe20-\\ufe2f",B5="\\u20d0-\\u20ff",U5=j5+V5+B5,H5="["+U5+"]",$5=RegExp(H5,"g");function z5(t){return t=fi(t),t&&t.replace(L5,bk).replace($5,"")}var p0=z5;var W5=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function G5(t){return t.match(W5)||[]}var yk=G5;var q5=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Y5(t){return q5.test(t)}var _k=Y5;var Ck="\\ud800-\\udfff",Z5="\\u0300-\\u036f",K5="\\ufe20-\\ufe2f",X5="\\u20d0-\\u20ff",Q5=Z5+K5+X5,Ik="\\u2700-\\u27bf",Sk="a-z\\xdf-\\xf6\\xf8-\\xff",J5="\\xac\\xb1\\xd7\\xf7",e6="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",t6="\\u2000-\\u206f",n6=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Tk="A-Z\\xc0-\\xd6\\xd8-\\xde",r6="\\ufe0e\\ufe0f",Ak=J5+e6+t6+n6,Mk="['\u2019]",xk="["+Ak+"]",i6="["+Q5+"]",kk="\\d+",o6="["+Ik+"]",Rk="["+Sk+"]",Ok="[^"+Ck+Ak+kk+Ik+Sk+Tk+"]",s6="\\ud83c[\\udffb-\\udfff]",a6="(?:"+i6+"|"+s6+")",c6="[^"+Ck+"]",Nk="(?:\\ud83c[\\udde6-\\uddff]){2}",Pk="[\\ud800-\\udbff][\\udc00-\\udfff]",Cc="["+Tk+"]",l6="\\u200d",Ek="(?:"+Rk+"|"+Ok+")",u6="(?:"+Cc+"|"+Ok+")",wk="(?:"+Mk+"(?:d|ll|m|re|s|t|ve))?",Dk="(?:"+Mk+"(?:D|LL|M|RE|S|T|VE))?",Fk=a6+"?",Lk="["+r6+"]?",d6="(?:"+l6+"(?:"+[c6,Nk,Pk].join("|")+")"+Lk+Fk+")*",f6="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",p6="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",h6=Lk+Fk+d6,m6="(?:"+[o6,Nk,Pk].join("|")+")"+h6,g6=RegExp([Cc+"?"+Rk+"+"+wk+"(?="+[xk,Cc,"$"].join("|")+")",u6+"+"+Dk+"(?="+[xk,Cc+Ek,"$"].join("|")+")",Cc+"?"+Ek+"+"+wk,Cc+"+"+Dk,p6,f6,kk,m6].join("|"),"g");function v6(t){return t.match(g6)||[]}var jk=v6;function b6(t,e,r){return t=fi(t),e=r?void 0:e,e===void 0?_k(t)?jk(t):yk(t):t.match(e)||[]}var Vk=b6;var y6="['\u2019]",_6=RegExp(y6,"g");function x6(t){return function(e){return gk(Vk(p0(e).replace(_6,"")),t,"")}}var Bk=x6;function E6(t,e,r){return t===t&&(r!==void 0&&(t=t<=r?t:r),e!==void 0&&(t=t>=e?t:e)),t}var Uk=E6;function w6(t,e){return t&&ur(e,cr(e),t)}var Hk=w6;function D6(t,e){return t&&ur(e,di(e),t)}var $k=D6;var qk=typeof exports=="object"&&exports&&!exports.nodeType&&exports,zk=qk&&typeof module=="object"&&module&&!module.nodeType&&module,C6=zk&&zk.exports===qk,Wk=C6?pt.Buffer:void 0,Gk=Wk?Wk.allocUnsafe:void 0;function I6(t,e){if(e)return t.slice();var r=t.length,n=Gk?Gk(r):new t.constructor(r);return t.copy(n),n}var Ch=I6;function S6(t,e){return ur(t,gc(t),e)}var Yk=S6;var T6=Object.getOwnPropertySymbols,A6=T6?function(t){for(var e=[];t;)Po(e,gc(t)),t=Dc(t);return e}:lh,Ih=A6;function M6(t,e){return ur(t,Ih(t),e)}var Zk=M6;function k6(t){return ah(t,di,Ih)}var Ic=k6;var R6=Object.prototype,O6=R6.hasOwnProperty;function N6(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&O6.call(t,"index")&&(r.index=t.index,r.input=t.input),r}var Kk=N6;function P6(t){var e=new t.constructor(t.byteLength);return new hc(e).set(new hc(t)),e}var Sc=P6;function F6(t,e){var r=e?Sc(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var Xk=F6;var L6=/\w*$/;function j6(t){var e=new t.constructor(t.source,L6.exec(t));return e.lastIndex=t.lastIndex,e}var Qk=j6;var Jk=Tt?Tt.prototype:void 0,eR=Jk?Jk.valueOf:void 0;function V6(t){return eR?Object(eR.call(t)):{}}var tR=V6;function B6(t,e){var r=e?Sc(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var Sh=B6;var U6="[object Boolean]",H6="[object Date]",$6="[object Map]",z6="[object Number]",W6="[object RegExp]",G6="[object Set]",q6="[object String]",Y6="[object Symbol]",Z6="[object ArrayBuffer]",K6="[object DataView]",X6="[object Float32Array]",Q6="[object Float64Array]",J6="[object Int8Array]",eq="[object Int16Array]",tq="[object Int32Array]",nq="[object Uint8Array]",rq="[object Uint8ClampedArray]",iq="[object Uint16Array]",oq="[object Uint32Array]";function sq(t,e,r){var n=t.constructor;switch(e){case Z6:return Sc(t);case U6:case H6:return new n(+t);case K6:return Xk(t,r);case X6:case Q6:case J6:case eq:case tq:case nq:case rq:case iq:case oq:return Sh(t,r);case $6:return new n;case z6:case q6:return new n(t);case W6:return Qk(t);case G6:return new n;case Y6:return tR(t)}}var nR=sq;function aq(t){return typeof t.constructor=="function"&&!jo(t)?ZM(Dc(t)):{}}var Th=aq;var cq="[object Map]";function lq(t){return st(t)&&Pr(t)==cq}var rR=lq;var iR=zi&&zi.isMap,uq=iR?ui(iR):rR,oR=uq;var dq="[object Set]";function fq(t){return st(t)&&Pr(t)==dq}var sR=fq;
1var aR=zi&&zi.isSet,pq=aR?ui(aR):sR,cR=pq;var hq=1,mq=2,gq=4,lR="[object Arguments]",vq="[object Array]",bq="[object Boolean]",yq="[object Date]",_q="[object Error]",uR="[object Function]",xq="[object GeneratorFunction]",Eq="[object Map]",wq="[object Number]",dR="[object Object]",Dq="[object RegExp]",Cq="[object Set]",Iq="[object String]",Sq="[object Symbol]",Tq="[object WeakMap]",Aq="[object ArrayBuffer]",Mq="[object DataView]",kq="[object Float32Array]",Rq="[object Float64Array]",Oq="[object Int8Array]",Nq="[object Int16Array]",Pq="[object Int32Array]",Fq="[object Uint8Array]",Lq="[object Uint8ClampedArray]",jq="[object Uint16Array]",Vq="[object Uint32Array]",ze={};ze[lR]=ze[vq]=ze[Aq]=ze[Mq]=ze[bq]=ze[yq]=ze[kq]=ze[Rq]=ze[Oq]=ze[Nq]=ze[Pq]=ze[Eq]=ze[wq]=ze[dR]=ze[Dq]=ze[Cq]=ze[Iq]=ze[Sq]=ze[Fq]=ze[Lq]=ze[jq]=ze[Vq]=!0;ze[_q]=ze[uR]=ze[Tq]=!1;function Ah(t,e,r,n,i,o){var s,c=e&hq,l=e&mq,u=e&gq;if(r&&(s=i?r(t,n,i,o):r(t)),s!==void 0)return s;if(!He(t))return t;var d=he(t);if(d){if(s=Kk(t),!c)return _c(t,s)}else{var f=Pr(t),h=f==uR||f==xq;if(Nr(t))return Ch(t,c);if(f==dR||f==lR||h&&!i){if(s=l||h?{}:Th(t),!c)return l?Zk(t,$k(s,t)):Yk(t,Hk(s,t))}else{if(!ze[f])return i?t:{};s=nR(t,f,c)}}o||(o=new li);var m=o.get(t);if(m)return m;o.set(t,s),cR(t)?t.forEach(function(x){s.add(Ah(x,e,r,x,t,o))}):oR(t)&&t.forEach(function(x,S){s.set(S,Ah(x,e,r,S,t,o))});var g=u?l?Ic:mu:l?di:cr,_=d?void 0:g(t);return tk(_||t,function(x,S){_&&(S=x,x=t[S]),Ec(s,S,Ah(x,e,r,S,t,o))}),s}var Mh=Ah;var Bq=1,Uq=4;function Hq(t){return Mh(t,Bq|Uq)}var $q=Hq;function zq(){var t=arguments.length;if(!t)return[];for(var e=Array(t-1),r=arguments[0],n=t;n--;)e[n-1]=arguments[n];return Po(he(r)?_c(r):[r],Xt(e,1))}var Wq=zq;var Gq=1,qq=2;function Yq(t,e,r,n){var i=r.length,o=i,s=!n;if(t==null)return!o;for(t=Object(t);i--;){var c=r[i];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i<o;){c=r[i];var l=c[0],u=t[l],d=c[1];if(s&&c[2]){if(u===void 0&&!(l in t))return!1}else{var f=new li;if(n)var h=n(u,d,l,t,e,f);if(!(h===void 0?bc(d,u,Gq|qq,n,f):h))return!1}}return!0}var fR=Yq;function Zq(t){return t===t&&!He(t)}var kh=Zq;function Kq(t){for(var e=cr(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,kh(i)]}return e}var pR=Kq;function Xq(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}var Rh=Xq;function Qq(t){var e=pR(t);return e.length==1&&e[0][2]?Rh(e[0][0],e[0][1]):function(r){return r===t||fR(r,t,e)}}var hR=Qq;function Jq(t,e){return t!=null&&e in Object(t)}var mR=Jq;function e9(t,e,r){e=dr(e,t);for(var n=-1,i=e.length,o=!1;++n<i;){var s=fr(e[n]);if(!(o=t!=null&&r(t,s)))break;t=t[s]}return o||++n!=i?o:(i=t==null?0:t.length,!!i&&vc(i)&&Fo(s,i)&&(he(t)||Or(t)))}var gR=e9;function t9(t,e){return t!=null&&gR(t,e,mR)}var Oh=t9;var n9=1,r9=2;function i9(t,e){return wc(t)&&kh(e)?Rh(fr(t),e):function(r){var n=f0(r,t);return n===void 0&&n===e?Oh(r,t):bc(e,n,n9|r9)}}var vR=i9;function o9(t){return function(e){return e==null?void 0:e[t]}}var bR=o9;function s9(t){return function(e){return pi(e,t)}}var yR=s9;function a9(t){return wc(t)?bR(fr(t)):yR(t)}var _R=a9;function c9(t){return typeof t=="function"?t:t==null?Bo:typeof t=="object"?he(t)?vR(t[0],t[1]):hR(t):_R(t)}var Fe=c9;function l9(t,e,r,n){for(var i=-1,o=t==null?0:t.length;++i<o;){var s=t[i];e(n,s,r(s),t)}return n}var xR=l9;function u9(t){return function(e,r,n){for(var i=-1,o=Object(e),s=n(e),c=s.length;c--;){var l=s[t?c:++i];if(r(o[l],l,o)===!1)break}return e}}var ER=u9;var d9=ER(),Nh=d9;function f9(t,e){return t&&Nh(t,e,cr)}var Ph=f9;function p9(t,e){return function(r,n){if(r==null)return r;if(!Kt(r))return t(r,n);for(var i=r.length,o=e?i:-1,s=Object(r);(e?o--:++o<i)&&n(s[o],o,s)!==!1;);return r}}var wR=p9;var h9=wR(Ph),Uo=h9;function m9(t,e,r,n){return Uo(t,function(i,o,s){e(n,i,r(i),s)}),n}var DR=m9;function g9(t,e){return function(r,n){var i=he(r)?xR:DR,o=e?e():{};return i(r,t,Fe(n,2),o)}}var Fh=g9;function v9(t,e,r){(r!==void 0&&!ci(t[e],r)||r===void 0&&!(e in t))&&lr(t,e,r)}var vu=v9;function b9(t){return st(t)&&Kt(t)}var Bt=b9;function y9(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var bu=y9;function _9(t){return ur(t,di(t))}var CR=_9;function x9(t,e,r,n,i,o,s){var c=bu(t,r),l=bu(e,r),u=s.get(l);if(u){vu(t,r,u);return}var d=o?o(c,l,r+"",t,e,s):void 0,f=d===void 0;if(f){var h=he(l),m=!h&&Nr(l),g=!h&&!m&&Lo(l);d=l,h||m||g?he(c)?d=c:Bt(c)?d=_c(c):m?(f=!1,d=Ch(l,!0)):g?(f=!1,d=Sh(l,!0)):d=[]:gu(l)||Or(l)?(d=c,Or(c)?d=CR(c):(!He(c)||cc(c))&&(d=Th(l))):f=!1}f&&(s.set(l,d),i(d,l,n,o,s),s.delete(l)),vu(t,r,d)}var IR=x9;function SR(t,e,r,n,i){t!==e&&Nh(e,function(o,s){if(i||(i=new li),He(o))IR(t,e,s,r,SR,n,i);else{var c=n?n(bu(t,s),o,s+"",t,e,i):void 0;c===void 0&&(c=o),vu(t,s,c)}},di)}var TR=SR;function E9(t,e,r){for(var n=-1,i=t==null?0:t.length;++n<i;)if(r(e,t[n]))return!0;return!1}var Lh=E9;var w9=200;function D9(t,e,r,n){var i=-1,o=xh,s=!0,c=t.length,l=[],u=e.length;if(!c)return l;r&&(e=Cn(e,ui(r))),n?(o=Lh,s=!1):e.length>=w9&&(o=pc,s=!1,e=new fc(e));e:for(;++i<c;){var d=t[i],f=r==null?d:r(d);if(d=n||d!==0?d:0,s&&f===f){for(var h=u;h--;)if(e[h]===f)continue e;l.push(d)}else o(e,f,n)||l.push(d)}return l}var Tc=D9;function C9(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var Ho=C9;var I9=In(function(t,e){var r=Ho(e);return Bt(r)&&(r=void 0),Bt(t)?Tc(t,Xt(e,1,Bt,!0),Fe(r,2)):[]}),S9=I9;var T9=In(function(t,e){var r=Ho(e);return Bt(r)&&(r=void 0),Bt(t)?Tc(t,Xt(e,1,Bt,!0),void 0,r):[]}),A9=T9;function M9(t,e){var r=[];return Uo(t,function(n,i,o){e(n,i,o)&&r.push(n)}),r}var AR=M9;function k9(t,e){var r=he(t)?ch:AR;return r(t,Fe(e,3))}var R9=k9;function O9(t){return function(e,r,n){var i=Object(e);
1if(!Kt(e)){var o=Fe(r,3);e=cr(e),r=function(c){return o(i[c],c,i)}}var s=t(e,r,n);return s>-1?i[o?e[s]:s]:void 0}}var MR=O9;var N9=Math.max;function P9(t,e,r){var n=t==null?0:t.length;if(!n)return-1;var i=r==null?0:Wi(r);return i<0&&(i=N9(n+i,0)),yh(t,Fe(e,3),i)}var h0=P9;var F9=MR(h0),L9=F9;function j9(t,e){var r=-1,n=Kt(t)?Array(t.length):[];return Uo(t,function(i,o,s){n[++r]=e(i,o,s)}),n}var jh=j9;function V9(t,e){var r=he(t)?Cn:jh;return r(t,Fe(e,3))}var m0=V9;function B9(t,e){return Xt(m0(t,e),1)}var U9=B9;function H9(t){for(var e=-1,r=t==null?0:t.length,n={};++e<r;){var i=t[e];n[i[0]]=i[1]}return n}var $9=H9;var z9=Object.prototype,W9=z9.hasOwnProperty,G9=Fh(function(t,e,r){W9.call(t,r)?t[r].push(e):lr(t,r,[e])}),q9=G9;function Y9(t,e){return t>e}var kR=Y9;var Z9=Math.max;function K9(t,e,r){var n=t==null?0:t.length;if(!n)return-1;var i=r==null?0:Wi(r);return i<0&&(i=Z9(n+i,0)),_h(t,e,i)}var X9=K9;function Q9(t,e){return e.length<2?t:pi(t,Dh(e,0,-1))}var RR=Q9;var J9="[object Map]",eY="[object Set]",tY=Object.prototype,nY=tY.hasOwnProperty;function rY(t){if(t==null)return!0;if(Kt(t)&&(he(t)||typeof t=="string"||typeof t.splice=="function"||Nr(t)||Lo(t)||Or(t)))return!t.length;var e=Pr(t);if(e==J9||e==eY)return!t.size;if(jo(t))return!fh(t).length;for(var r in t)if(nY.call(t,r))return!1;return!0}var iY=rY;var oY="[object Number]";function sY(t){return typeof t=="number"||st(t)&&un(t)==oY}var aY=sY;function cY(t){return t===null}var lY=cY;var uY=Bk(function(t,e,r){return t+(r?"-":"")+e.toLowerCase()}),g0=uY;var dY=Fh(function(t,e,r){lr(t,r,e)}),fY=dY;function pY(t,e){var r={};return e=Fe(e,3),Ph(t,function(n,i,o){lr(r,i,e(n,i,o))}),r}var hY=pY;function mY(t,e,r){for(var n=-1,i=t.length;++n<i;){var o=t[n],s=e(o);if(s!=null&&(c===void 0?s===s&&!Wn(s):r(s,c)))var c=s,l=o}return l}var OR=mY;function gY(t,e){return t&&t.length?OR(t,Fe(e,2),kR):void 0}var vY=gY;var bY=ok(function(t,e,r){TR(t,e,r)}),yY=bY;var _Y="Expected a function";function xY(t){if(typeof t!="function")throw new TypeError(_Y);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}var NR=xY;function EY(t,e){return e=dr(e,t),t=RR(t,e),t==null||delete t[fr(Ho(e))]}var Vh=EY;function wY(t){return gu(t)?void 0:t}var PR=wY;var DY=1,CY=2,IY=4,SY=wh(function(t,e){var r={};if(t==null)return r;var n=!1;e=Cn(e,function(o){return o=dr(o,t),n||(n=o.length>1),o}),ur(t,Ic(t),r),n&&(r=Mh(r,DY|CY|IY,PR));for(var i=e.length;i--;)Vh(r,e[i]);return r}),TY=SY;function AY(t,e,r,n){if(!He(t))return t;e=dr(e,t);for(var i=-1,o=e.length,s=o-1,c=t;c!=null&&++i<o;){var l=fr(e[i]),u=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return t;if(i!=s){var d=c[l];u=n?n(d,l,c):void 0,u===void 0&&(u=He(d)?d:Fo(e[i+1])?[]:{})}Ec(c,l,u),c=c[l]}return t}var FR=AY;function MY(t,e,r){for(var n=-1,i=e.length,o={};++n<i;){var s=e[n],c=pi(t,s);r(c,s)&&FR(o,dr(s,t),c)}return o}var Bh=MY;function kY(t,e){if(t==null)return{};var r=Cn(Ic(t),function(n){return[n]});return e=Fe(e),Bh(t,r,function(n,i){return e(n,i[0])})}var v0=kY;function RY(t,e){return v0(t,NR(Fe(e)))}var OY=RY;function NY(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}var LR=NY;function PY(t,e){if(t!==e){var r=t!==void 0,n=t===null,i=t===t,o=Wn(t),s=e!==void 0,c=e===null,l=e===e,u=Wn(e);if(!c&&!u&&!o&&t>e||o&&s&&l&&!c&&!u||n&&s&&l||!r&&l||!i)return 1;if(!n&&!o&&!u&&t<e||u&&r&&i&&!n&&!o||c&&r&&i||!s&&i||!l)return-1}return 0}var jR=PY;function FY(t,e,r){for(var n=-1,i=t.criteria,o=e.criteria,s=i.length,c=r.length;++n<s;){var l=jR(i[n],o[n]);if(l){if(n>=c)return l;var u=r[n];return l*(u=="desc"?-1:1)}}return t.index-e.index}var VR=FY;function LY(t,e,r){e.length?e=Cn(e,function(o){return he(o)?function(s){return pi(s,o.length===1?o[0]:o)}:o}):e=[Bo];var n=-1;e=Cn(e,ui(Fe));var i=jh(t,function(o,s,c){var l=Cn(e,function(u){return u(o)});return{criteria:l,index:++n,value:o}});return LR(i,function(o,s){return VR(o,s,r)})}var Uh=LY;function jY(t,e,r,n){return t==null?[]:(he(e)||(e=e==null?[]:[e]),r=n?void 0:r,he(r)||(r=r==null?[]:[r]),Uh(t,e,r))}var VY=jY;function BY(t,e){return Bh(t,e,function(r,n){return Oh(t,n)})}var BR=BY;
1var UY=wh(function(t,e){return t==null?{}:BR(t,e)}),HY=UY;var $Y=Math.ceil,zY=Math.max;function WY(t,e,r,n){for(var i=-1,o=zY($Y((e-t)/(r||1)),0),s=Array(o);o--;)s[n?o:++i]=t,t+=r;return s}var UR=WY;function GY(t){return function(e,r,n){return n&&typeof n!="number"&&Fr(e,r,n)&&(r=n=void 0),e=yc(e),r===void 0?(r=e,e=0):r=yc(r),n=n===void 0?e<r?1:-1:yc(n),UR(e,r,n,t)}}var HR=GY;var qY=HR(),YY=qY;function ZY(t,e,r){var n=t==null?0:t.length;return n?(r&&typeof r!="number"&&Fr(t,e,r)?(e=0,r=n):(e=e==null?0:Wi(e),r=r===void 0?n:Wi(r)),Dh(t,e,r)):[]}var KY=ZY;function XY(t,e){var r;return Uo(t,function(n,i,o){return r=e(n,i,o),!r}),!!r}var $R=XY;function QY(t,e,r){var n=he(t)?oh:$R;return r&&Fr(t,e,r)&&(e=void 0),n(t,Fe(e,3))}var JY=QY;var e7=In(function(t,e){if(t==null)return[];var r=e.length;return r>1&&Fr(t,e[0],e[1])?e=[]:r>2&&Fr(e[0],e[1],e[2])&&(e=[e[0]]),Uh(t,Xt(e,1),[])}),t7=e7;function n7(t,e,r){return t=fi(t),r=r==null?0:Uk(Wi(r),0,t.length),e=vh(e),t.slice(r,r+e.length)==e}var r7=n7;function i7(t){return fi(t).toLowerCase()}var o7=i7;var s7=1/0,a7=Vo&&1/mc(new Vo([,-0]))[1]==s7?function(t){return new Vo(t)}:XM,zR=a7;var c7=200;function l7(t,e,r){var n=-1,i=xh,o=t.length,s=!0,c=[],l=c;if(r)s=!1,i=Lh;else if(o>=c7){var u=e?null:zR(t);if(u)return mc(u);s=!1,i=pc,l=new fc}else l=e?[]:c;e:for(;++n<o;){var d=t[n],f=e?e(d):d;if(d=r||d!==0?d:0,s&&f===f){for(var h=l.length;h--;)if(l[h]===f)continue e;e&&l.push(f),c.push(d)}else i(l,f,r)||(l!==c&&l.push(f),c.push(d))}return c}var $o=l7;var u7=In(function(t){return $o(Xt(t,1,Bt,!0))}),d7=u7;var f7=In(function(t){var e=Ho(t);return Bt(e)&&(e=void 0),$o(Xt(t,1,Bt,!0),Fe(e,2))}),p7=f7;function h7(t){return t&&t.length?$o(t):[]}var m7=h7;function g7(t,e){return t&&t.length?$o(t,Fe(e,2)):[]}var v7=g7;function b7(t,e){return t==null?!0:Vh(t,e)}var y7=b7;var _7=In(function(t,e){return Bt(t)?Tc(t,e):[]}),x7=_7;var Gs=function(t){return t.Local="local_strategy",t.Session="session_strategy",t.InMemory="in_memory_strategy",t}(Gs||{}),b0=class{static isStorageAvailable(e){let r=!0;try{typeof e=="object"?(e.setItem("test-storage","foobar"),e.removeItem("test-storage")):r=!1}catch{r=!1}return r}};function Hh(){}var GR="ngx-webstorage",qR="|",YR=!1,Ac=(()=>{let e=class e{static normalize(n){return n=e.isCaseSensitive?n:n.toLowerCase(),"".concat(e.prefix).concat(e.separator).concat(n)}static isNormalizedKey(n){return n.indexOf(e.prefix+e.separator)===0}static setPrefix(n){e.prefix=n}static setSeparator(n){e.separator=n}static setCaseSensitive(n){e.isCaseSensitive=n}static consumeConfiguration(n){"prefix"in n&&this.setPrefix(n.prefix),"separator"in n&&this.setSeparator(n.separator),"caseSensitive"in n&&this.setCaseSensitive(n.caseSensitive)}};e.prefix=GR,e.separator=qR,e.isCaseSensitive=YR;let t=e;return t})(),zh=class{constructor(e){this.strategy=e}retrieve(e){let r;return this.strategy.get(Ac.normalize(e)).subscribe(n=>r=typeof n>"u"?null:n),r}store(e,r){return this.strategy.set(Ac.normalize(e),r).subscribe(Hh),r}clear(e){e!==void 0?this.strategy.del(Ac.normalize(e)).subscribe(Hh):this.strategy.clear().subscribe(Hh)}getStrategyName(){return this.strategy.name}observe(e){return e=Ac.normalize(e),this.strategy.keyChanges.pipe(Z(r=>r===null||r===e),xe(()=>this.strategy.get(e)),Zr(),wi({refCount:!0,bufferSize:1}))}};var D0=(()=>{let e=class e{constructor(){this.caches={}}get(n,i){return this.getCacheStore(n)[i]}set(n,i,o){this.getCacheStore(n)[i]=o}del(n,i){delete this.getCacheStore(n)[i]}clear(n){this.caches[n]={}}getCacheStore(n){return n in this.caches?this.caches[n]:this.caches[n]={}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ZR=new b("window_local_storage");function E7(){return typeof window<"u"?window.localStorage:null}var w7={provide:ZR,useFactory:E7},D7=new b("window_session_storage");var Wh=class{constructor(e,r){this.storage=e,this.cache=r,this.keyChanges=new A}get isAvailable(){return this._isAvailable===void 0&&(this._isAvailable=b0.isStorageAvailable(this.storage)),this._isAvailable}get(e){let r=this.cache.get(this.name,e);if(r!==void 0)return O(r);try{let n=this.storage.getItem(e);n!==null&&(r=JSON.parse(n),this.cache.set(this.name,e,r))}catch(n){console.warn(n)}return O(r)}set(e,r){let n=JSON.stringify(r);return this.storage.setItem(e,n),this.cache.set(this.name,e,r),this.keyChanges.next(e),O(r)}del(e){return this.storage.removeItem(e),this.cache.del(this.name,e),this.keyChanges.next(e),O(null)}clear(){return this.storage.clear(),this.cache.clear(this.name),this.keyChanges.next(null),O(null)}},Gi=class Gi extends Wh{constructor(e,r,n,i){super(e,r),this.storage=e,this.cache=r,this.platformId=n,this.zone=i,this.name=Gi.strategyName,za(this.platformId)&&this.listenExternalChanges()}listenExternalChanges(){window.addEventListener("storage",e=>this.zone.run(()=>
1{if(e.storageArea!==this.storage)return;let r=e.key;r!==null?this.cache.del(this.name,e.key):this.cache.clear(this.name),this.keyChanges.next(r)}))}};Gi.strategyName=Gs.Local,Gi.\u0275fac=function(r){return new(r||Gi)(E(ZR),E(D0),E(xn),E(F))},Gi.\u0275prov=y({token:Gi,factory:Gi.\u0275fac});var y0=Gi,qi=class qi extends Wh{constructor(e,r,n,i){super(e,r),this.storage=e,this.cache=r,this.platformId=n,this.zone=i,this.name=qi.strategyName,za(this.platformId)&&this.listenExternalChanges()}listenExternalChanges(){window.addEventListener("storage",e=>this.zone.run(()=>{if(e.storageArea!==this.storage)return;let r=e.key;e.key!==null?this.cache.del(this.name,e.key):this.cache.clear(this.name),this.keyChanges.next(r)}))}};qi.strategyName=Gs.Session,qi.\u0275fac=function(r){return new(r||qi)(E(D7),E(D0),E(xn),E(F))},qi.\u0275prov=y({token:qi,factory:qi.\u0275fac});var _0=qi,Yi=class Yi{constructor(e){this.cache=e,this.keyChanges=new A,this.isAvailable=!0,this.name=Yi.strategyName}get(e){return O(this.cache.get(this.name,e))}set(e,r){return this.cache.set(this.name,e,r),this.keyChanges.next(e),O(r)}del(e){return this.cache.del(this.name,e),this.keyChanges.next(e),O(null)}clear(){return this.cache.clear(this.name),this.keyChanges.next(null),O(null)}};Yi.strategyName=Gs.InMemory,Yi.\u0275fac=function(r){return new(r||Yi)(E(D0))},Yi.\u0275prov=y({token:Yi,factory:Yi.\u0275fac});var x0=Yi,$h=new b("STORAGE_STRATEGIES"),C7=[{provide:$h,useClass:x0,multi:!0},{provide:$h,useClass:y0,multi:!0},{provide:$h,useClass:_0,multi:!0}],[I7,S7,AMe]=C7;var WR="invalid_strategy",Gh=(()=>{let e=class e{constructor(n){this.strategies=n,this.registration$=new A,n||(n=[]),this.strategies=n.reverse().map((i,o,s)=>i.name).map((i,o,s)=>s.indexOf(i)===o?o:null).filter(i=>i!==null).map(i=>n[i])}static get(n){if(!this.isStrategyRegistered(n))throw Error(WR);let i=this.index[n];return i.isAvailable||(i=this.index[Gs.InMemory]),i}static set(n,i){this.index[n]=i}static clear(n){n!==void 0?delete this.index[n]:this.index={}}static isStrategyRegistered(n){return n in this.index}static hasRegistredStrategies(){return Object.keys(this.index).length>0}getStrategy(n){return e.get(n)}indexStrategies(){this.strategies.forEach(n=>this.register(n.name,n))}indexStrategy(n,i=!1){if(e.isStrategyRegistered(n)&&!i)return e.get(n);let o=this.strategies.find(s=>s.name===n);if(!o)throw new Error(WR);return this.register(n,o,i),o}register(n,i,o=!1){(!e.isStrategyRegistered(n)||o)&&(e.set(n,i),this.registration$.next(n))}};e.index={},e.\u0275fac=function(i){return new(i||e)(E($h,8))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),E0=class extends zh{};function T7(t){let e=t.indexStrategy(Gs.Local);return new zh(e)}var A7={provide:E0,useFactory:T7,deps:[Gh]};var w0=class{static buildSyncStrategyDecorator(e,r,n,i,o=null){let s=i||n,c;Object.defineProperty(r,n,{get:function(){let u;return Gh.get(e).get(l()).subscribe(d=>u=d),u===void 0?o:u},set:function(u){Gh.get(e).set(l(),u).subscribe(Hh)}});function l(){return c!==void 0?c:c=Ac.normalize(s)}}};function KR(t,e){return function(r,n){w0.buildSyncStrategyDecorator(Gs.Local,r,n,t,e)}}var XR=new b("ngx_webstorage_config"),C0=function(t){return t[t.Config=1]="Config",t[t.LocalStorage=2]="LocalStorage",t[t.SessionStorage=3]="SessionStorage",t}(C0||{});function M7(){let t=p(XR),e=p(Gh);return()=>{Ac.consumeConfiguration(t),e.indexStrategies()}}function MMe(...t){let{configProvider:e,featureProviders:r}=k7(t);return ks([e,I7,{provide:ay,useFactory:M7,multi:!0},...r])}function k7(t){let e,r=[],n=new Set;for(let i of t){if(n.has(i.kind))throw new Error("Feature ".concat(i.kind," is already provided."));i.kind===C0.Config?e=i.providers[0]:r.push(...i.providers),n.add(i.kind)}return{configProvider:e!=null?e:{provide:XR,useValue:{prefix:GR,separator:qR,caseSensitive:YR}},featureProviders:r}}function R7(t,e){return{kind:t,providers:e}}function kMe(){return R7(C0.LocalStorage,[w7,A7,S7])}var O7=pb;function N7(t){return!!t[O7]}var P7=Symbol("__destroy"),tO=Symbol("__decoratorApplied");function nO(t){return typeof t=="string"?Symbol("__destroy__".concat(t)):P7}function F7(t){t.prototype[tO]=!0}function rO(t,e){t[e]||(t[e]=new A)}function iO(t,e){t[e]&&(t[e].next(),t[e].complete(),t[e]=null)}function oO(t){t instanceof ce&&t.unsubscribe()}function L7(t){Array.isArray(t)&&t.forEach(oO)}function sO(t,e){return function(){var r;if(t&&t.call(this),iO(this,nO()),e.arrayName&&L7(this[e.arrayName]),e.checkProperties)for(let n in this)(r=e.blackList)!=null&&r.includes(n)||oO(this[n])}}function j7(t,e){t.prototype.ngOnDestroy=sO(t.prototype.ngOnDestroy,e)}function V7(t,e){let r=t.\u0275pipe;r.onDestroy=sO(r.onDestroy,e)}function Qt(t={}){return e=>{N7(e)?V7(e,t):j7(e,t),F7(e)}}var QR=7,JR=Symbol("CheckerHasBeenSet");function B7(t,e){t[JR]||U7()||(eO(()=>Ht(Promise.resolve()).pipe(Rt(()=>{let r;try{r=QD(t)}catch{r=null}let n=r==null?void 0:r.lView;if(n==null)return nn;let i=n[QR]||(n[QR]=[]),o=new A;return i.push(function(){eO(()=>{o.next(),o.complete()})}),o}),Rt(()=>Promise.resolve())).subscribe(()=>{var n;((n=e.observed)!=null?n:e.observers.length>0)&&console.warn(H7(t))})),t[JR]=!0)}function U7(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Moc
1ha||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"}function eO(t){var n;let e=St.Zone;return!!e&&typeof((n=e.root)==null?void 0:n.run)=="function"?e.root.run(t):t()}function H7(t){return"\n The ".concat(t.constructor.name," still has subscriptions that haven't been unsubscribed.\n This may happen if the class extends another class decorated with @UntilDestroy().\n The child class implements its own ngOnDestroy() method but doesn't call super.ngOnDestroy().\n Let's look at the following example:\n @UntilDestroy()\n @Directive()\n export abstract class BaseDirective {}\n @Component({ template: '' })\n export class ConcreteComponent extends BaseDirective implements OnDestroy {\n constructor() {\n super();\n someObservable$.pipe(untilDestroyed(this)).subscribe();\n }\n ngOnDestroy(): void {\n // Some logic here...\n }\n }\n The BaseDirective.ngOnDestroy() will not be called since Angular will call ngOnDestroy()\n on the ConcreteComponent, but not on the BaseDirective.\n One of the solutions is to declare an empty ngOnDestroy method on the BaseDirective:\n @UntilDestroy()\n @Directive()\n export abstract class BaseDirective {\n ngOnDestroy(): void {}\n }\n @Component({ template: '' })\n export class ConcreteComponent extends BaseDirective implements OnDestroy {\n constructor() {\n super();\n someObservable$.pipe(untilDestroyed(this)).subscribe();\n }\n ngOnDestroy(): void {\n // Some logic here...\n super.ngOnDestroy();\n }\n }\n ")}var I0=!1;function $7(t,e,r){let n=t[e];if(I0&&typeof n!="function")throw new Error("".concat(t.constructor.name," is using untilDestroyed but doesn't implement ").concat(e));rO(t,r),t[e]=function(){n.apply(this,arguments),iO(this,r),t[e]=n}}function ht(t,e){return r=>{let n=nO(e);typeof e=="string"?$7(t,e,n):(I0&&z7(t),rO(t,n));let i=t[n];return I0&&B7(t,i),r.pipe(Ce(i))}}function z7(t){let e=Object.getPrototypeOf(t);if(!(tO in e))throw new Error("untilDestroyed operator cannot be used inside directives or components or providers that are not decorated with UntilDestroy decorator")}var Mc=new b("Window");function jMe(){return window}var W7=function(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o},hi,mi=(hi=class{get isConnected(){return this.connectionEstablished$.getValue()}get isAuthenticated(){return this.authStatus$.getValue()}constructor(){this.connectionEstablished$=new qe(!1),this.isConnected$=this.connectionEstablished$.asObservable(),this.isLoggedIn$=new qe(!1),this.authStatus$=new qe(!1),this.isAuthenticated$=this.authStatus$.asObservable(),us([this.isConnected$,this.isLoggedIn$.asObservable()]).pipe(je(([e,r])=>this.authStatus$.next(e&&r)),ht(this)).subscribe()}setLoginStatus(e){this.isLoggedIn$.next(e)}setConnectionStatus(e){this.connectionEstablished$.next(e)}},hi.\u0275fac=function(r){return new(r||hi)},hi.\u0275prov=y({token:hi,factory:hi.\u0275fac,providedIn:"root"}),hi);mi=W7([Qt()],mi);var mO=(()=>{let e=class e{constructor(n,i){a(this,"_renderer");a(this,"_elementRef");a(this,"onChange",n=>{});a(this,"onTouched",()=>{});this._renderer=n,this._elementRef=i}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};a(e,"\u0275fac",function(i){return new(i||e)(w(Ns),w(P))}),a(e,"\u0275dir",k({type:e}));let t=e;return t})(),gO=(()=>{let e=class e extends mO{};a(e,"\u0275fac",(()=>{let n;return function(o){return(n||(n=Oe(e)))(o||e)}})()),a(e,"\u0275dir",k({type:e,features:[pe]}));let t=e;return t})(),Ys=new b("");var G7={provide:Ys,useExisting:xt(()=>vO),multi:!0};function q7(){let t=ri()?ri().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Y7=new b(""),vO=(()=>{let e=class e extends mO{constructor(i,o,s){super(i,o);a(this,"_compositionMode");a(this,"_composing",!1);this._compositionMode=s,this._compositionMode==null&&(this._compositionMode=!q7())}writeValue(i){let o=i==null?"":i;this.setProperty("value",o)}_handleInput(i){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(i)}_compositionStart(){this._composing=!0}_compositionEnd(i){this._composing=!1,this._compositionMode&&this.onChange(i)}};a(e,"\u0275fac",function(o){return new(o||e)(w(Ns),w(P),w(Y7,8))}),a(e,"\u0275dir",k({type:e,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(o,s){o&1&&J("input",function(l){return s._handleInput(l.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(l){return s._compositionEnd(l.target.value)})},standalone:!1,features:[We([G7]),pe]}));let t=e;return t})();function zo(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function bO(t){return t!=null&&typeof t.length=="number"}var pr=new b(""),Zs=new b(""),Z7=/^(?=.{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])?)*$/,aO=class{static min(e){return yO(e)}static max(e){return K7(e)}static required(e){return _O(e)}static requiredTrue(e){return X7(e)}static email(e){return Q7(e)}static minLength(e){return J7(e)}static maxLength(e){return eZ(e)}static pattern(e){return xO(e)}static nullValidator(e){return Zh(e)}static compose(e){return SO(e)}static composeAsync(e){return TO(e)}};function yO(t){return e=>{if(zo(e.value)||zo(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r<t?{min:{min:t,actual:e.value}}:null}}function K7(t){return e=>{if(zo(e.value)||zo(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>t?{max:{max:t,actual:e.value}}:null}}function _O(t){return zo(t.value)?{required:!0}:null}function X7(t){return t.value===!0?null:{required:!0}}function Q7(t){return zo(t.value)||Z7.test(t.value)?null:{email:!0}}function J7(t){return e=>zo(e.value)||!bO(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function eZ(t){return e=>bO(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function xO(t){if(!t)return Zh;let e,r;return typeof t=="string"?(r="",t.charAt(0)!=="^"&&(r+="^"),r+=t,t.charAt(t.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),n=>
1{if(zo(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function Zh(t){return null}function EO(t){return t!=null}function wO(t){return Ua(t)?Ht(t):t}function DO(t){let e={};return t.forEach(r=>{e=r!=null?T(T({},e),r):e}),Object.keys(e).length===0?null:e}function CO(t,e){return e.map(r=>r(t))}function tZ(t){return!t.validate}function IO(t){return t.map(e=>tZ(e)?e:r=>e.validate(r))}function SO(t){if(!t)return null;let e=t.filter(EO);return e.length==0?null:function(r){return DO(CO(r,e))}}function k0(t){return t!=null?SO(IO(t)):null}function TO(t){if(!t)return null;let e=t.filter(EO);return e.length==0?null:function(r){let n=CO(r,e).map(wO);return ds(n).pipe(N(DO))}}function R0(t){return t!=null?TO(IO(t)):null}function cO(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function AO(t){return t._rawValidators}function MO(t){return t._rawAsyncValidators}function S0(t){return t?Array.isArray(t)?t:[t]:[]}function Kh(t,e){return Array.isArray(t)?t.includes(e):t===e}function lO(t,e){let r=S0(e);return S0(t).forEach(i=>{Kh(r,i)||r.push(i)}),r}function uO(t,e){return S0(e).filter(r=>!Kh(t,r))}var Xh=class{constructor(){a(this,"_composedValidatorFn");a(this,"_composedAsyncValidatorFn");a(this,"_rawValidators",[]);a(this,"_rawAsyncValidators",[]);a(this,"_onDestroyCallbacks",[])}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=k0(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=R0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},dn=class extends Xh{constructor(){super(...arguments);a(this,"name")}get formDirective(){return null}get path(){return null}},Zi=class extends Xh{constructor(){super(...arguments);a(this,"_parent",null);a(this,"name",null);a(this,"valueAccessor",null)}},Qh=class{constructor(e){a(this,"_cd");this._cd=e}get isTouched(){var e,r,n,i,o;return(n=(r=(e=this._cd)==null?void 0:e.control)==null?void 0:r._touched)==null||n.call(r),!!((o=(i=this._cd)==null?void 0:i.control)!=null&&o.touched)}get isUntouched(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.untouched)}get isPristine(){var e,r,n,i,o;return(n=(r=(e=this._cd)==null?void 0:e.control)==null?void 0:r._pristine)==null||n.call(r),!!((o=(i=this._cd)==null?void 0:i.control)!=null&&o.pristine)}get isDirty(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.dirty)}get isValid(){var e,r,n,i,o;return(n=(r=(e=this._cd)==null?void 0:e.control)==null?void 0:r._status)==null||n.call(r),!!((o=(i=this._cd)==null?void 0:i.control)!=null&&o.valid)}get isInvalid(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.invalid)}get isPending(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.pending)}get isSubmitted(){var e,r,n;return(r=(e=this._cd)==null?void 0:e._submitted)==null||r.call(e),!!((n=this._cd)!=null&&n.submitted)}},nZ={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},rke=ve(T({},nZ),{"[class.ng-submitted]":"isSubmitted"}),kO=(()=>{let e=class e extends Qh{constructor(n){super(n)}};a(e,"\u0275fac",function(i){return new(i||e)(w(Zi,2))}),a(e,"\u0275dir",k({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&ae("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[pe]}));let t=e;return t})(),ike=(()=>{let e=class e extends Qh{constructor(n){super(n)}};a(e,"\u0275fac",function(i){return new(i||e)(w(dn,10))}),a(e,"\u0275dir",k({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&ae("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[pe]}));let t=e;return t})();var yu="VALID",Yh="INVALID",kc="PENDING",_u="DISABLED",Wo=class{},Jh=class extends Wo{constructor(r,n){super();a(this,"value");a(this,"source");this.value=r,this.source=n}},Eu=class extends Wo{constructor(r,n){super();a(this,"pristine");a(this,"source");this.pristine=r,this.source=n}},wu=class extends Wo{constructor(r,n){super();a(this,"touched");a(this,"source");this.touched=r,this.source=n}},Rc=class extends Wo{constructor(r,n){super();a(this,"status");a(this,"source");this.status=r,this.source=n}},T0=class extends Wo{constructor(r){super();a(this,"source");this.source=r}},A0=class extends Wo{constructor(r){super();a(this,"source");this.source=r}};function O0(t){return(im(t)?t.validators:t)||null}function rZ(t){return Array.isArray(t)?k0(t):t||null}function N0(t,e){return(im(e)?e.asyncValidators:t)||null}function iZ(t){return Array.isArray(t)?R0(t):t||null}function im(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function RO(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new U(1e3,"");if(!n[r])throw new U(1001,"")}function OO(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new U(1002,"")})}var Nc=class{constructor(e,r){a(this,"_pendingDirty",!1);a(this,"_hasOwnPendingAsyncValidator",null);a(this,"_pendingTouched",!1);a(this,"_onCollectionChange",()=>{});a(this,"_updateOn");a(this,"_parent",null);a(this,"_asyncValidationSubscription");a(this,"_composedValidatorFn");a(this,"_composedAsyncValidatorFn");a(this,"_rawValidators");a(this,"_rawAsyncValidators");a(this,"value");a(this,"_status",rr(()=>this.statusReactive()));a(this,"statusReactive",tr(void 0));a(this,"errors");a(this,"_pristine",rr(()=>this.pristineReactive()));a(this,"pristineReactive",tr(!0));a(this,"_touched",rr(()=>this.touchedReactive()));a(this,"touchedReactive",tr(!1));a(this,"_events",new A);a(this,"events",this._events.asObservable());a(this,"valueChanges");a(this,"statusChanges");a(this,"_onDisabledChange",[]);this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return jt(this.statusReactive)}set status(e){jt(()=>this.statusReactive.set(e))}get valid(){return this.status===yu}get invalid(){return this.status===Yh}get pending(){return this.status==kc}get disabled(){return this.status===_u}get enabled(){return this.status!==_u}get pristine(){return jt(this.pristineReactive)}set pristine(e){jt(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return jt(this.touchedReactive)}set touched(e){jt(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(lO(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(lO(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(uO(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(uO(e,this._rawAsyncValidators))}hasValidator(e){return Kh(this._rawValidators,e)}hasAsyncValidator(e){return Kh(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){var i;let r=this.touched===!1;this.touched=!0;let n=(i=e.sourceControl)!=null?i:this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(ve(T({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new wu(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}
1),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){var i;let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=(i=e.sourceControl)!=null?i:this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),r&&e.emitEvent!==!1&&this._events.next(new wu(!1,n))}markAsDirty(e={}){var i;let r=this.pristine===!0;this.pristine=!1;let n=(i=e.sourceControl)!=null?i:this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(ve(T({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Eu(!1,n))}markAsPristine(e={}){var i;let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=(i=e.sourceControl)!=null?i:this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),r&&e.emitEvent!==!1&&this._events.next(new Eu(!0,n))}markAsPending(e={}){var n;this.status=kc;let r=(n=e.sourceControl)!=null?n:this;e.emitEvent!==!1&&(this._events.next(new Rc(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(ve(T({},e),{sourceControl:r}))}disable(e={}){var i;let r=this._parentMarkedDirty(e.onlySelf);this.status=_u,this.errors=null,this._forEachChild(o=>{o.disable(ve(T({},e),{onlySelf:!0}))}),this._updateValue();let n=(i=e.sourceControl)!=null?i:this;e.emitEvent!==!1&&(this._events.next(new Jh(this.value,n)),this._events.next(new Rc(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ve(T({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=yu,this._forEachChild(n=>{n.enable(ve(T({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ve(T({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){var n;if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===yu||this.status===kc)&&this._runAsyncValidator(i,e.emitEvent)}let r=(n=e.sourceControl)!=null?n:this;e.emitEvent!==!1&&(this._events.next(new Jh(this.value,r)),this._events.next(new Rc(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(ve(T({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?_u:yu}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=kc,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=wO(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){var e,r;if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(r=(e=this._hasOwnPendingAsyncValidator)==null?void 0:e.emitEvent)!=null?r:!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new Rc(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new Q,this.statusChanges=new Q}_calculateStatus(){return this._allControlsDisabled()?_u:this.errors?Yh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kc)?kc:this._anyControlsHaveStatus(Yh)?Yh:yu}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}
1_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),i&&this._events.next(new Eu(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new wu(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){im(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=rZ(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=iZ(this._rawAsyncValidators)}},qs=class extends Nc{constructor(r,n,i){super(O0(n),N0(i,n));a(this,"controls");this.controls=r,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(r,n){return this.controls[r]?this.controls[r]:(this.controls[r]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(r,n,i={}){this.registerControl(r,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(r,n={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(r,n,i={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],n&&this.registerControl(r,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(r){return this.controls.hasOwnProperty(r)&&this.controls[r].enabled}setValue(r,n={}){OO(this,!0,r),Object.keys(r).forEach(i=>{RO(this,!0,i),this.controls[i].setValue(r[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(r,n={}){r!=null&&(Object.keys(r).forEach(i=>{let o=this.controls[i];o&&o.patchValue(r[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(r={},n={}){this._forEachChild((i,o)=>{i.reset(r?r[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(r,n,i)=>(r[i]=n.getRawValue(),r))}_syncPendingControls(){let r=this._reduceChildren(!1,(n,i)=>i._syncPendingControls()?!0:n);return r&&this.updateValueAndValidity({onlySelf:!0}),r}_forEachChild(r){Object.keys(this.controls).forEach(n=>{let i=this.controls[n];i&&r(i,n)})}_setUpControls(){this._forEachChild(r=>{r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(r){for(let[n,i]of Object.entries(this.controls))if(this.contains(n)&&r(i))return!0;return!1}_reduceValue(){let r={};return this._reduceChildren(r,(n,i,o)=>((i.enabled||this.disabled)&&(n[o]=i.value),n))}_reduceChildren(r,n){let i=r;return this._forEachChild((o,s)=>{i=n(i,o,s)}),i}_allControlsDisabled(){for(let r of Object.keys(this.controls))if(this.controls[r].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(r){return this.controls.hasOwnProperty(r)?this.controls[r]:null}};var oke=qs;var M0=class extends qs{};var Pc=new b("CallSetDisabledState",{providedIn:"root",factory:()=>om}),om="always";function sm(t,e){return[...e.path,t]}function Du(t,e,r=om){var n,i;P0(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&((i=(n=e.valueAccessor).setDisabledState)==null||i.call(n,t.disabled)),sZ(t,e),cZ(t,e),aZ(t,e),oZ(t,e)}function em(t,e,r=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),nm(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function tm(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)}
1)}function oZ(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function P0(t,e){let r=AO(t);e.validator!==null?t.setValidators(cO(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=MO(t);e.asyncValidator!==null?t.setAsyncValidators(cO(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();tm(e._rawValidators,i),tm(e._rawAsyncValidators,i)}function nm(t,e){let r=!1;if(t!==null){if(e.validator!==null){let i=AO(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(r=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=MO(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(r=!0,t.setAsyncValidators(o))}}}let n=()=>{};return tm(e._rawValidators,n),tm(e._rawAsyncValidators,n),r}function sZ(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&NO(t,e)})}function aZ(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&NO(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function NO(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function cZ(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function PO(t,e){t==null,P0(t,e)}function lZ(t,e){return nm(t,e)}function F0(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function uZ(t){return Object.getPrototypeOf(t.constructor)===gO}function FO(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function L0(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===vO?r=o:uZ(o)?n=o:i=o}),i||n||r||null}function dZ(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}var fZ={provide:dn,useExisting:xt(()=>pZ)},xu=Promise.resolve(),pZ=(()=>{let e=class e extends dn{constructor(i,o,s){super();a(this,"callSetDisabledState");a(this,"_submitted",rr(()=>this.submittedReactive()));a(this,"submittedReactive",tr(!1));a(this,"_directives",new Set);a(this,"form");a(this,"ngSubmit",new Q);a(this,"options");this.callSetDisabledState=s,this.form=new qs({},k0(i),R0(o))}get submitted(){return jt(this.submittedReactive)}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){xu.then(()=>{let o=this._findContainer(i.path);i.control=o.registerControl(i.name,i.control),Du(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}
1removeControl(i){xu.then(()=>{let o=this._findContainer(i.path);o&&o.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){xu.then(()=>{let o=this._findContainer(i.path),s=new qs({});PO(s,i),o.registerControl(i.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){xu.then(()=>{let o=this._findContainer(i.path);o&&o.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,o){xu.then(()=>{this.form.get(i.path).setValue(o)})}setValue(i){this.control.setValue(i)}onSubmit(i){var o;return this.submittedReactive.set(!0),FO(this.form,this._directives),this.ngSubmit.emit(i),((o=i==null?void 0:i.target)==null?void 0:o.method)==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(i){return i.pop(),i.length?this.form.get(i):this.form}};a(e,"\u0275fac",function(o){return new(o||e)(w(pr,10),w(Zs,10),w(Pc,8))}),a(e,"\u0275dir",k({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(o,s){o&1&&J("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[We([fZ]),pe]}));let t=e;return t})();function dO(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function fO(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Oc=class extends Nc{constructor(r=null,n,i){super(O0(n),N0(i,n));a(this,"defaultValue",null);a(this,"_onChange",[]);a(this,"_pendingValue");a(this,"_pendingChange",!1);this._applyFormState(r),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),im(n)&&(n.nonNullable||n.initialValueIsDefault)&&(fO(r)?this.defaultValue=r.value:this.defaultValue=r)}setValue(r,n={}){this.value=this._pendingValue=r,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(r,n={}){this.setValue(r,n)}reset(r=this.defaultValue,n={}){this._applyFormState(r),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(r){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(r){this._onChange.push(r)}_unregisterOnChange(r){dO(this._onChange,r)}registerOnDisabledChange(r){this._onDisabledChange.push(r)}_unregisterOnDisabledChange(r){dO(this._onDisabledChange,r)}_forEachChild(r){}_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(r){fO(r)?(this.value=this._pendingValue=r.value,r.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=r}},ake=Oc,hZ=t=>t instanceof Oc,mZ=(()=>{let e=class e extends dn{constructor(){super(...arguments);a(this,"_parent")}ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return sm(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}};a(e,"\u0275fac",(()=>{let i;return function(s){return(i||(i=Oe(e)))(s||e)}})()),a(e,"\u0275dir",k({type:e,standalone:!1,features:[pe]}));let t=e;return t})();var gZ={provide:Zi,useExisting:xt(()=>j0)},pO=Promise.resolve(),j0=(()=>{let e=class e extends Zi{constructor(i,o,s,c,l,u){super();a(this,"_changeDetectorRef");a(this,"callSetDisabledState");a(this,"control",new Oc);a(this,"_registered",!1);a(this,"viewModel");a(this,"name","");a(this,"isDisabled");a(this,"model");a(this,"options");a(this,"update",new Q);this._changeDetectorRef=l,this.callSetDisabledState=u,this._parent=i,this._setValidators(o),this._setAsyncValidators(s),this.valueAccessor=L0(this,c)}
1ngOnChanges(i){if(this._checkForErrors(),!this._registered||"name"in i){if(this._registered&&(this._checkName(),this.formDirective)){let o=i.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in i&&this._updateDisabled(i),F0(i,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}_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(){Du(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(i){pO.then(()=>{var o;this.control.setValue(i,{emitViewToModelChange:!1}),(o=this._changeDetectorRef)==null||o.markForCheck()})}_updateDisabled(i){let o=i.isDisabled.currentValue,s=o!==0&&be(o);pO.then(()=>{var c;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),(c=this._changeDetectorRef)==null||c.markForCheck()})}_getPath(i){return this._parent?sm(i,this._parent):[i]}};a(e,"ngAcceptInputType_isDisabled"),a(e,"\u0275fac",function(o){return new(o||e)(w(dn,9),w(pr,10),w(Zs,10),w(Ys,10),w(Ne,8),w(Pc,8))}),a(e,"\u0275dir",k({type:e,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:[We([gZ]),pe,it]}));let t=e;return t})(),cke=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1}));let t=e;return t})(),vZ={provide:Ys,useExisting:xt(()=>bZ),multi:!0},bZ=(()=>{let e=class e extends gO{writeValue(n){let i=n==null?"":n;this.setProperty("value",i)}registerOnChange(n){this.onChange=i=>{n(i==""?null:parseFloat(i))}}};a(e,"\u0275fac",(()=>{let n;return function(o){return(n||(n=Oe(e)))(o||e)}})()),a(e,"\u0275dir",k({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,o){i&1&&J("input",function(c){return o.onChange(c.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[We([vZ]),pe]}));let t=e;return t})();var V0=new b(""),yZ={provide:Zi,useExisting:xt(()=>_Z)},_Z=(()=>{let e=class e extends Zi{constructor(i,o,s,c,l){super();a(this,"_ngModelWarningConfig");a(this,"callSetDisabledState");a(this,"viewModel");a(this,"form");a(this,"model");a(this,"update",new Q);a(this,"_ngModelWarningSent",!1);this._ngModelWarningConfig=c,this.callSetDisabledState=l,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=L0(this,s)}set isDisabled(i){}ngOnChanges(i){if(this._isControlChanged(i)){let o=i.form.previousValue;o&&em(o,this,!1),Du(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}F0(i,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&em(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}_isControlChanged(i){return i.hasOwnProperty("form")}};a(e,"_ngModelWarningSentOnce",!1),a(e,"\u0275fac",function(o){return new(o||e)(w(pr,10),w(Zs,10),w(Ys,10),w(V0,8),w(Pc,8))}),a(e,"\u0275dir",k({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[We([yZ]),pe,it]}));let t=e;return t})(),xZ={provide:dn,useExisting:xt(()=>LO)},LO=(()=>{let e=class e extends dn{constructor(i,o,s){super();a(this,"callSetDisabledState");a(this,"_submitted",rr(()=>this._submittedReactive()));a(this,"_submittedReactive",tr(!1));a(this,"_oldForm");a(this,"_onCollectionChange",()=>this._updateDomValue());a(this,"directives",[]);a(this,"form",null);a(this,"ngSubmit",new Q);this.callSetDisabledState=s,this._setValidators(i),this._setAsyncValidators(o)}get submitted(){return jt(this._submittedReactive)}set submitted(i){this._submittedReactive.set(i)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateV
1alidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(nm(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){let o=this.form.get(i.path);return Du(o,i,this.callSetDisabledState),o.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),o}getControl(i){return this.form.get(i.path)}removeControl(i){em(i.control||null,i,!1),dZ(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,o){this.form.get(i.path).setValue(o)}onSubmit(i){var o;return this._submittedReactive.set(!0),FO(this.form,this.directives),this.ngSubmit.emit(i),this.form._events.next(new T0(this.control)),((o=i==null?void 0:i.target)==null?void 0:o.method)==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this._submittedReactive.set(!1),this.form._events.next(new A0(this.form))}_updateDomValue(){this.directives.forEach(i=>{let o=i.control,s=this.form.get(i.path);o!==s&&(em(o||null,i),hZ(s)&&(Du(s,i,this.callSetDisabledState),i.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let o=this.form.get(i.path);PO(o,i),o.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){let o=this.form.get(i.path);o&&lZ(o,i)&&o.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){P0(this.form,this),this._oldForm&&nm(this._oldForm,this)}_checkFormPresent(){this.form}};a(e,"\u0275fac",function(o){return new(o||e)(w(pr,10),w(Zs,10),w(Pc,8))}),a(e,"\u0275dir",k({type:e,selectors:[["","formGroup",""]],hostBindings:function(o,s){o&1&&J("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[We([xZ]),pe,it]}));let t=e;return t})(),EZ={provide:dn,useExisting:xt(()=>jO)},jO=(()=>{let e=class e extends mZ{constructor(i,o,s){super();a(this,"name",null);this._parent=i,this._setValidators(o),this._setAsyncValidators(s)}_checkParentType(){BO(this._parent)}};a(e,"\u0275fac",function(o){return new(o||e)(w(dn,13),w(pr,10),w(Zs,10))}),a(e,"\u0275dir",k({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[We([EZ]),pe]}));let t=e;return t})(),wZ={provide:dn,useExisting:xt(()=>VO)},VO=(()=>{let e=class e extends dn{constructor(i,o,s){super();a(this,"_parent");a(this,"name",null);this._parent=i,this._setValidators(o),this._setAsyncValidators(s)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return sm(this.name==null?this.name:this.name.toString(),this._parent)}_checkParentType(){BO(this._parent)}};a(e,"\u0275fac",function(o){return new(o||e)(w(dn,13),w(pr,10),w(Zs,10))}),a(e,"\u0275dir",k({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[We([wZ]),pe]}));let t=e;return t})();function BO(t){return!(t instanceof jO)&&!(t instanceof LO)&&!(t instanceof VO)}var DZ={provide:Zi,useExisting:xt(()=>CZ)},CZ=(()=>{let e=class e extends Zi{constructor(i,o,s,c,l){super();a(this,"_ngModelWarningConfig");a(this,"_added",!1);a(this,"viewModel");a(this,"control");a(this,"name",null);a(this,"model");a(this,"update",new Q);a(this,"_ngModelWarningSent",!1);this._ngModelWarningConfig=l,this._parent=i,this._setValidators(o),this._setAsyncValidators(s),this.valueAccessor=L0(this,c)}set isDisabled(i){}ngOnChanges(i){this._added||this._setUpControl(),F0(i,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}get path(){return sm(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};a(e,"_ngModelWarningSentOnce",!1),a(e,"\u0275fac",function(o){return new(o||e)(w(dn,13),w(pr,10),w(Zs,10),w(Ys,10),w(V0,8))}),a(e,"\u0275dir",k({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[We([DZ]),pe,it]}));let t=e;return t})();function IZ(t){return typeof t=="number"?t:parseFloat(t)}var B0=(()=>{let e=class e{constructor(){a(this,"_validator",Zh);a(this,"_onChange");a(this,"_enabled")}ngOnChanges(n){if(this.inputName in n){let i=this.normalizeInput(n[this.inputName].
1currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Zh,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,features:[it]}));let t=e;return t})();var SZ={provide:pr,useExisting:xt(()=>TZ),multi:!0},TZ=(()=>{let e=class e extends B0{constructor(){super(...arguments);a(this,"min");a(this,"inputName","min");a(this,"normalizeInput",i=>IZ(i));a(this,"createValidator",i=>yO(i))}};a(e,"\u0275fac",(()=>{let i;return function(s){return(i||(i=Oe(e)))(s||e)}})()),a(e,"\u0275dir",k({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(o,s){o&2&&ge("min",s._enabled?s.min:null)},inputs:{min:"min"},standalone:!1,features:[We([SZ]),pe]}));let t=e;return t})(),AZ={provide:pr,useExisting:xt(()=>MZ),multi:!0};var MZ=(()=>{let e=class e extends B0{constructor(){super(...arguments);a(this,"required");a(this,"inputName","required");a(this,"normalizeInput",be);a(this,"createValidator",i=>_O)}enabled(i){return i}};a(e,"\u0275fac",(()=>{let i;return function(s){return(i||(i=Oe(e)))(s||e)}})()),a(e,"\u0275dir",k({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(o,s){o&2&&ge("required",s._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[We([AZ]),pe]}));let t=e;return t})();var kZ={provide:pr,useExisting:xt(()=>RZ),multi:!0},RZ=(()=>{let e=class e extends B0{constructor(){super(...arguments);a(this,"pattern");a(this,"inputName","pattern");a(this,"normalizeInput",i=>i);a(this,"createValidator",i=>xO(i))}};a(e,"\u0275fac",(()=>{let i;return function(s){return(i||(i=Oe(e)))(s||e)}})()),a(e,"\u0275dir",k({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(o,s){o&2&&ge("pattern",s._enabled?s.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[We([kZ]),pe]}));let t=e;return t})();var UO=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({}));let t=e;return t})(),rm=class extends Nc{constructor(r,n,i){super(O0(n),N0(i,n));a(this,"controls");this.controls=r,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(r){return this.controls[this._adjustIndex(r)]}push(r,n={}){this.controls.push(r),this._registerControl(r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(r,n,i={}){this.controls.splice(r,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(r,n={}){let i=this._adjustIndex(r);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(r,n,i={}){let o=this._adjustIndex(r);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(r,n={}){OO(this,!1,r),r.forEach((i,o)=>{RO(this,!1,o),this.at(o).setValue(i,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(r,n={}){r!=null&&(r.forEach((i,o)=>{this.at(o)&&this.at(o).patchValue(i,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(r=[],n={}){this._forEachChild((i,o)=>
1{i.reset(r[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(r=>r.getRawValue())}clear(r={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:r.emitEvent}))}_adjustIndex(r){return r<0?r+this.length:r}_syncPendingControls(){let r=this.controls.reduce((n,i)=>i._syncPendingControls()?!0:n,!1);return r&&this.updateValueAndValidity({onlySelf:!0}),r}_forEachChild(r){this.controls.forEach((n,i)=>{r(n,i)})}_updateValue(){this.value=this.controls.filter(r=>r.enabled||this.disabled).map(r=>r.value)}_anyControls(r){return this.controls.some(n=>n.enabled&&r(n))}_setUpControls(){this._forEachChild(r=>this._registerControl(r))}_allControlsDisabled(){for(let r of this.controls)if(r.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(r){r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange)}_find(r){var n;return(n=this.at(r))!=null?n:null}},lke=rm;function hO(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var HO=(()=>{let e=class e{constructor(){a(this,"useNonNullable",!1)}get nonNullable(){let n=new e;return n.useNonNullable=!0,n}group(n,i=null){let o=this._reduceControls(n),s={};return hO(i)?s=i:i!==null&&(s.validators=i.validator,s.asyncValidators=i.asyncValidator),new qs(o,s)}record(n,i=null){let o=this._reduceControls(n);return new M0(o,i)}control(n,i,o){let s={};return this.useNonNullable?(hO(i)?s=i:(s.validators=i,s.asyncValidators=o),new Oc(n,ve(T({},s),{nonNullable:!0}))):new Oc(n,i,o)}array(n,i,o){let s=n.map(c=>this._createControl(c));return new rm(s,i,o)}_reduceControls(n){let i={};return Object.keys(n).forEach(o=>{i[o]=this._createControl(n[o])}),i}_createControl(n){if(n instanceof Oc)return n;if(n instanceof Nc)return n;if(Array.isArray(n)){let i=n[0],o=n.length>1?n[1]:null,s=n.length>2?n[2]:null;return this.control(i,o,s)}else return this.control(n)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),uke=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:()=>p(HO).nonNullable,providedIn:"root"}));let t=e;return t})(),dke=(()=>{let e=class e extends HO{group(n,i=null){return super.group(n,i)}control(n,i,o){return super.control(n,i,o)}array(n,i,o){return super.array(n,i,o)}};a(e,"\u0275fac",(()=>{let n;return function(o){return(n||(n=Oe(e)))(o||e)}})()),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var $O=(()=>{let e=class e{static withConfig(n){var i;return{ngModule:e,providers:[{provide:Pc,useValue:(i=n.callSetDisabledState)!=null?i:om}]}}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({imports:[UO]}));let t=e;return t})(),zO=(()=>{let e=class e{static withConfig(n){var i,o;return{ngModule:e,providers:[{provide:V0,useValue:(i=n.warnOnNgModelWithFormControl)!=null?i:"always"},{provide:Pc,useValue:(o=n.callSetDisabledState)!=null?o:om}]}}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({imports:[UO]}));let t=e;return t})();function NZ(t,e){}var Go=class{constructor(){a(this,"viewContainerRef");a(this,"injector");a(this,"id");a(this,"role","dialog");a(this,"panelClass","");a(this,"hasBackdrop",!0);a(this,"backdropClass","");a(this,"disableClose",!1);a(this,"width","");a(this,"height","");a(this,"minWidth");a(this,"minHeight");a(this,"maxWidth");a(this,"maxHeight");a(this,"positionStrategy");a(this,"data",null);a(this,"direction");a(this,"ariaDescribedBy",null);a(this,"ariaLabelledBy",null);a(this,"ariaLabel",null);a(this,"ariaModal",!0);a(this,"autoFocus","first-tabbable");a(this,"restoreFocus",!0);a(this,"scrollStrategy");a(this,"closeOnNavigation",!0);a(this,"closeOnDestroy",!0);a(this,"closeOnOverlayDetachments",!0);a(this,"componentFactoryResolver");a(this,"providers");a(this,"container");a(this,"templateContext")}};var H0=(()=>{let e=class e extends Co{constructor(){super();a(this,"_elementRef",p(P));a(this,"_focusTrapFactory",p(n_));a(this,"_config");a(this,"_interactivityChecker",p(Rp));a(this,"_ngZone",p(F));a(this,"_overlayRef",p(ec));a(this,"_focusMonitor",p(oi));a(this,"_platform",p(Pe));a(this,"_document",p(ee,{optional:!0}));a(this,"_portalOutlet");a(this,"_focusTrap",null);a(this,"_elementFocusedBeforeDialogWasOpened",null);a(this,"_closeInteractionType",null);a(this,"_ariaLabelledByQueue",[]);a(this,"_changeDetectorRef",p(Ne));a(this,"_injector",p(fe));a(this,"_isDestroyed",!1);a(this,"attachDomPortal",i=>{this._portalOutlet.hasAttached();let o=this._portalOutlet.attachDomPortal(i);return this._contentAttached(),o});this._config=p(Go,{optional:!0})||new Go,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(i){this._ariaLabelledByQueue.push(i),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(i){let o=this._ariaLabelledByQueue.indexOf(i);o>-1&&(this._ariaLabelledByQueue.splice(o,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(i){this._portalOutlet.hasAttached();let o=this._portalOutlet.attachComponentPortal(i);return this._contentAttached(),o}attachTemplatePortal(i){this._portalOutlet.hasAttached();let o=this._portalOutlet.attachTemplatePortal(i);return this._contentAttached(),o}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(i,o){this._interactivityChecker.isFocusable(i)||(i.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let s=()=>{i.removeEventListener("blur",s),i.removeEventListener("mousedown",s),i.removeAttribute("tabindex")};i.addEventListener("blur",s),i.addEventListener("mousedown",s)})),i.focus(o)}_focusByCssSelector(i,o){let s=this._elementRef.nativeElement.querySelector(i);s&&this._forceFocus(s,o)}_trapFocus(){this._isDestroyed||Fn(()=>{var o;let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus();break;case!0:case"first-tabbable":((o=this._focusTrap)==null?void 0:o.focusInitialElement())||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let i=this._config.restoreFocus,o=null;if(typeof i=="string"?o=this._document.querySelector(i):typeof i=="boolean"?o=i?this._elementFocusedBeforeDialogWasOpened:null:i&&(o=i),this._config.restoreFocus&&o&&typeof o.focus=="function"){let s=qa(),c=this._elementRef.nativeElement;(!s||s===this._document.body||s===c||c.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(o,this._closeInteractionType),this._closeInteractionType=null):o.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let i=this._elementRef.nativeElement,o=qa();return i===o||i.contains(o)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=qa()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};a(e,"\u0275fac",function(o){return new(o||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(o,s){if(o&1&&Yt(Io,7),o&2){let c;wt(c=Dt())&&(s._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(o,s){o&2&&ge("id",s._config.id||null)("role",s._config.role)("aria-modal",s._config.ariaModal)("aria-labelledby",s._config.ariaLabel?null:s._ariaLabelledByQueue[0])("aria-label",s._config.ariaLabel)("aria-describedby",s._config.ariaDescribedBy||null)},features:[pe],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(o,s){o&1&&se(0,NZ,0,0,"ng-template",0)},dependencies:[Io],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}));let t=e;return t})(),Cu=class{constructor(e,r){a(this,"overlayRef");a(this,"config");a(this,"componentInstance");a(this,"componentRef");a(this,"containerInstance");a(this,"disableClose");a(this,"closed",new A);a(this,"backdropClick");a(this,"keydownEvents");a(this,"outsidePointerEvents");a(this,"id");a(this,"_detachSubscription");this.overlayRef=e,this.config=r,this.disableClose=r.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=r.id,this.keydownEvents.subscribe(n=>{n.keyCode===27&&!this.disableClose&&!wn(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{r.closeOnOverlayDetachments!==!1&&this.close()})}close(e,r){if(this.containerInstance){let n=this.closed;this.containerInstance._closeInteractionType=(r==null?void 0:r.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(e),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",r=""){return this.overlayRef.updateSize({width:e,height:r}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},PZ=new b("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=p(Ct);return()=>t.scrollStrategies.block()}}),FZ=new b("DialogData"),LZ=new b("DefaultDialogConfig");var $0=(()=>{let e=class e{constructor(){a(this,"_overlay",p(Ct));a(this,"_injector",p(fe));a(this,"_defaultOptions",p(LZ,{optional:!0}));a(this,"_parentDialog",p(e,{optional:!0,skipSelf:!0}));a(this,"_overlayContainer",p(Yp));a(this,"_idGenerator",p(cn));a(this,"_openDialogsAtThisLevel",[]);a(this,"_afterAllClosedAtThisLevel",new A);a(this,"_afterOpenedAtThisLevel",new A);a(this,"_ariaHiddenElements",new Map);a(this,"_scrollStrategy",p(PZ));a(this,"afterAllClosed",qr(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ot(void 0))))}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(n,i){let o=this._defaultOptions||new Go;i=T(T({},o),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let s=this._getOverlayConfig(i),c=this._overlay.create(s),l=new Cu(c,i),u=this._attachContainer(c,l,i);return l.containerInstance=u,this._attachDialogContent(n,l,u,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){U0(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(i=>i.id===n)}ngOnDestroy(){U0(this._openDialogsAtThisLevel,n=>{n.config.closeOnDestroy===!1&&this._removeOpenDialog(n,!1)}),U0(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){let i=new ai({positionStrategy:n.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,width:n.width,height:n.height,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(i.backdropClass=n.backdropClass),i}_attachContainer(n,i,o){var f;let s=o.injector||((f=o.viewContainerRef)==null?void 0:f.injector),c=[{provide:Go,useValue:o},{provide:Cu,useValue:i},{provide:ec,useValue:n}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,c.push(...o.container.providers(o))):l=H0;let u=new kr(l,o.viewContainerRef,fe.create({parent:s||this._injector,providers:c}));return n.attach(u).instance}
1_attachDialogContent(n,i,o,s){if(n instanceof at){let c=this._createInjector(s,i,o,void 0),l={$implicit:s.data,dialogRef:i};s.templateContext&&(l=T(T({},l),typeof s.templateContext=="function"?s.templateContext():s.templateContext)),o.attachTemplatePortal(new Rr(n,null,l,c))}else{let c=this._createInjector(s,i,o,this._injector),l=o.attachComponentPortal(new kr(n,s.viewContainerRef,c));i.componentRef=l,i.componentInstance=l.instance}}_createInjector(n,i,o,s){var u;let c=n.injector||((u=n.viewContainerRef)==null?void 0:u.injector),l=[{provide:FZ,useValue:n.data},{provide:Cu,useValue:i}];return n.providers&&(typeof n.providers=="function"?l.push(...n.providers(i,n,o)):l.push(...n.providers)),n.direction&&(!c||!c.get(sr,null,{optional:!0}))&&l.push({provide:sr,useValue:{value:n.direction,change:O()}}),fe.create({parent:c||s,providers:l})}_removeOpenDialog(n,i){let o=this.openDialogs.indexOf(n);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,c)=>{s?c.setAttribute("aria-hidden",s):c.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let n=this._overlayContainer.getContainerElement();if(n.parentElement){let i=n.parentElement.children;for(let o=i.length-1;o>-1;o--){let s=i[o];s!==n&&s.nodeName!=="SCRIPT"&&s.nodeName!=="STYLE"&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function U0(t,e){let r=t.length;for(;r--;)e(t[r])}var WO=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({providers:[$0],imports:[Ao,So,Op,So]}));let t=e;return t})();function jZ(t,e){}var cm=class{constructor(){a(this,"viewContainerRef");a(this,"injector");a(this,"id");a(this,"role","dialog");a(this,"panelClass","");a(this,"hasBackdrop",!0);a(this,"backdropClass","");a(this,"disableClose",!1);a(this,"width","");a(this,"height","");a(this,"minWidth");a(this,"minHeight");a(this,"maxWidth");a(this,"maxHeight");a(this,"position");a(this,"data",null);a(this,"direction");a(this,"ariaDescribedBy",null);a(this,"ariaLabelledBy",null);a(this,"ariaLabel",null);a(this,"ariaModal",!0);a(this,"autoFocus","first-tabbable");a(this,"restoreFocus",!0);a(this,"delayFocusTrap",!0);a(this,"scrollStrategy");a(this,"closeOnNavigation",!0);a(this,"componentFactoryResolver");a(this,"enterAnimationDuration");a(this,"exitAnimationDuration")}},z0="mdc-dialog--open",GO="mdc-dialog--opening",qO="mdc-dialog--closing",VZ=150,BZ=75,UZ=(()=>{var e,r;let n=class n extends H0{constructor(){super(...arguments);a(this,"_animationMode",p(qt,{optional:!0}));a(this,"_animationStateChanged",new Q);a(this,"_animationsEnabled",this._animationMode!=="NoopAnimations");a(this,"_actionSectionCount",0);a(this,"_hostElement",this._elementRef.nativeElement);a(this,"_enterAnimationDuration",this._animationsEnabled?(e=ZO(this._config.enterAnimationDuration))!=null?e:VZ:0);a(this,"_exitAnimationDuration",this._animationsEnabled?(r=ZO(this._config.exitAnimationDuration))!=null?r:BZ:0);a(this,"_animationTimer",null);a(this,"_finishDialogOpen",()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)});a(this,"_finishDialogClose",()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})})}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(YO,"".concat(this._enterAnimationDuration,"ms")),this._requestAnimationFrame(()=>this._hostElement.classList.add(GO,z0)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(z0),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(z0),this._animationsEnabled?(this._hostElement.style.setProperty(YO,"".concat(this._exitAnimationDuration,"ms")),this._requestAnimationFrame(()=>this._hostElement.classList.add(qO)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(s){this._actionSectionCount+=s,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(GO,qO)}_waitForAnimationToComplete(s,c){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(c,s)}_requestAnimationFrame(s){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(s):s()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(s){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:s})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(s){let c=super.attachComponentPortal(s);return c.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),c}};a(n,"\u0275fac",(()=>{let s;return function(l){return(s||(s=Oe(n)))(l||n)}})()),a(n,"\u0275cmp",B({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(c,l){c&2&&(bo("id",l._config.id),ge("aria-modal",l._config.ariaModal)("role",l._config.role)("aria-labelledby",l._config.ariaLabel?null:l._ariaLabelledByQueue[0])("aria-label",l._config.ariaLabel)("aria-describedby",l._config.ariaDescribedBy||null),ae("_mat-animation-noopable",!l._animationsEnabled)("mat-mdc-dialog-container-with-actions",l._actionSectionCount>0))},features:[pe],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(c,l){c&1&&(C(0,"div",0)(1,"div",1),se(2,jZ,0,0,"ng-template",2),I()())},dependencies:[Io],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}
1.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2}));let t=n;return t})(),YO="--mat-dialog-transition-duration";function ZO(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?$n(t.substring(0,t.length-2)):t.endsWith("s")?$n(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var am=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(am||{}),It=class{constructor(e,r,n){a(this,"_ref");a(this,"_containerInstance");a(this,"componentInstance");a(this,"componentRef");a(this,"disableClose");a(this,"id");a(this,"_afterOpened",new A);a(this,"_beforeClosed",new A);a(this,"_result");a(this,"_closeFallbackTimeout");a(this,"_state",am.OPEN);a(this,"_closeInteractionType");this._ref=e,this._containerInstance=n,this.disableClose=r.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),n._animationStateChanged.pipe(Z(i=>i.state==="opened"),_e(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(Z(i=>i.state==="closed"),_e(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),On(this.backdropClick(),this.keydownEvents().pipe(Z(i=>i.keyCode===27&&!this.disableClose&&!wn(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),KO(this,i.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Z(r=>r.state==="closing"),_e(1)).subscribe(r=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=am.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(e){let r=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?r.left(e.left):r.right(e.right):r.centerHorizontally(),e&&(e.top||e.bottom)?e.top?r.top(e.top):r.bottom(e.bottom):r.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",r=""){return this._ref.updateSize(e,r),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=am.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function KO(t,e,r){return t._closeInteractionType=e,t.close(r)}var Lr=new b("MatMdcDialogData"),HZ=new b("mat-mdc-dialog-default-options"),$Z=new b("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Ct);return()=>t.scrollStrategies.block()}});var Iu=(()=>{let e=class e{constructor(){a(this,"_overlay",p(Ct));a(this,"_defaultOptions",p(HZ,{optional:!0}));a(this,"_scrollStrategy",p($Z));a(this,"_parentDialog",p(e,{optional:!0,skipSelf:!0}));a(this,"_idGenerator",p(cn));a(this,"_dialog",p($0));a(this,"_openDialogsAtThisLevel",[]);a(this,"_afterAllClosedAtThisLevel",new A);a(this,"_afterOpenedAtThisLevel",new A);a(this,"dialogConfigClass",cm);a(this,"_dialogRefConstructor");a(this,"_dialogContainerType");a(this,"_dialogDataToken");a(this,"afterAllClosed",qr(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ot(void 0))));this._dialogRefConstructor=It,this._dialogContainerType=UZ,this._dialogDataToken=Lr}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(n,i){let o;i=T(T({},this._defaultOptions||new cm),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let s=this._dialog.open(n,ve(T({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Go,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(c,l,u)=>(o=new this._dialogRefConstructor(c,i,u),o.updatePosition(i==null?void 0:i.position),[{provide:this._dialogContainerType,useValue:u},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=s.componentRef,o.componentInstance=s.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let c=this.openDialogs.indexOf(o);c>-1&&(this.openDialogs.splice(c,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(n){return this.openDialogs.find(i=>i.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let i=n.length;for(;i--;)n[i].close()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275prov",y({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),XO=(()=>{let e=class e{constructor(){a(this,"dialogRef",p(It,{optional:!0}));a(this,"_elementRef",p(P));a(this,"_dialog",p(Iu));a(this,"ariaLabel");a(this,"type","button");a(this,"dialogResult");a(this,"_matDialogClose")}ngOnInit(){this.dialogRef||(this.dialogRef=JO(this._elementRef,this._dialog.openDialogs))}ngOnChanges(n){let i=n._matDialogClose||n._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(n){KO(this.dialogRef,n.screenX===0&&n.screenY===0?"keyboard":"mouse",this.dialogResult)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){i&1&&J("click",function(c){return o._onButtonClick(c)}),i&2&&ge("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[it]}));let t=e;return t})(),QO=(()=>{let e=class e{constructor(){a(this,"_dialogRef",p(It,{optional:!0}));a(this,"_elementRef",p(P));a(this,"_dialog",p(Iu))}ngOnInit(){this._dialogRef||(this._dialogRef=JO(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var i;((i=this._dialogRef)==null?void 0:i._containerInstance)&&Promise.resolve().then(()=>{this._onRemove()})}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e}));let t=e;return t})(),Sn=(()=>{let e=class e extends QO{constructor(){super(...arguments);a(this,"id",p(cn).getId("mat-mdc-dialog-title-"))}_onAdd(){var i,o;(o=(i=this._dialogRef._containerInstance)==null?void 0:i._addAriaLabelledBy)==null||o.call(i,this.id)}_onRemove(){var i,o,s;(s=(o=(i=this._dialogRef)==null?void 0:i._containerInstance)==null?void 0:o._removeAriaLabelledBy)==null||s.call(o,this.id)}};a(e,"\u0275fac",(()=>{let i;return function(s){return(i||(i=Oe(e)))(s||e)}})()),a(e,"\u0275dir",k({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(o,s){o&2&&bo("id",s.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[pe]}));let t=e;return t})(),hr=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[_I([su])]}));let t=e;return t})(),mr=(()=>{let e=class e extends QO{constructor(){super(...arguments);a(this,"align")}_onAdd(){var i,o;(o=(i=this._dialogRef._containerInstance)==null?void 0:i._updateActionSectionCount)==null||o.call(i,1)}_onRemove(){var i,o;(o=(i=this._dialogRef._containerInstance)==null?void 0:i._updateActionSectionCount)==null||o.call(i,-1)}};a(e,"\u0275fac",(()=>{let i;return function(s){return(i||(i=Oe(e)))(s||e)}})()),a(e,"\u0275dir",k({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(o,s){o&2&&ae("mat-mdc-dialog-actions-align-start",s.align==="start")("mat-mdc-dialog-actions-align-center",s.align==="center")("mat-mdc-dialog-actions-align-en
1d",s.align==="end")},inputs:{align:"align"},features:[pe]}));let t=e;return t})();function JO(t,e){let r=t.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?e.find(n=>n.id===r.id):null}var Yke=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({providers:[Iu],imports:[WO,Ao,So,tt,tt]}));let t=e;return t})();var e1=(()=>{let e=class e{constructor(){this.overrideDescription=Gt(void 0,{alias:"ixTestOverride"}),this.keepLastPart=Gt()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=k({type:e,selectors:[["","ixTestOverride",""]],inputs:{overrideDescription:[1,"ixTestOverride","overrideDescription"],keepLastPart:[1,"keepLastPart"]}});let t=e;return t})();var mt=(()=>{let e=class e{constructor(n,i){this.elementRef=n,this.overrideDirective=i,this.description=Gt.required({alias:"ixTest"})}get normalizedDescription(){var o,s,c;let n=(s=(o=this.overrideDirective)==null?void 0:o.overrideDescription())!=null?s:this.description(),i=Array.isArray(n)?n:[n];if(i=i.filter(l=>l).map(l=>g0(String(l))),(c=this.overrideDirective)!=null&&c.keepLastPart()){let l=this.description(),u=Array.isArray(l)?l:[l];i.push(u[u.length-1])}return i}get attribute(){return[this.getElementType(),...this.normalizedDescription].filter(n=>n).join("-")}getElementType(){let n=this.elementRef.nativeElement.tagName.toLowerCase();switch(n){case"tr":return"row";case"mat-slide-toggle":return"toggle";case"mat-checkbox":case"mat-option":case"mat-select":case"mat-radio-group":case"mat-radio-button":case"mat-icon":case"mat-row":case"mat-slider":case"mat-button-toggle-group":case"mat-button-toggle":return n.replace("mat-","");case"input":case"button":case"select":case"textarea":case"table":return n;case"a":return"link";case"ix-icon":return"icon";case"div":case"p":case"span":return"text";case"ix-date":return n.replace("ix-","");default:throw new Error("Unknown element type: ".concat(n))}}};e.\u0275fac=function(i){return new(i||e)(w(P),w(e1,8))},e.\u0275dir=k({type:e,selectors:[["","ixTest",""]],hostVars:1,hostBindings:function(i,o){i&2&&ge("data-test",o.attribute)},inputs:{description:[1,"ixTest","description"]}});let t=e;return t})();var WZ=["tooltip"],r1=20;var i1=new b("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Ct);return()=>t.scrollStrategies.reposition({scrollThrottle:r1})}});function GZ(t){return()=>t.scrollStrategies.reposition({scrollThrottle:r1})}var qZ={provide:i1,deps:[Ct],useFactory:GZ};function YZ(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var ZZ=new b("mat-tooltip-default-options",{providedIn:"root",factory:YZ});var t1="tooltip-panel",n1=ii({passive:!0}),KZ=8,XZ=8,QZ=24,JZ=200,o1=(()=>{let e=class e{constructor(){a(this,"_overlay",p(Ct));a(this,"_elementRef",p(P));a(this,"_scrollDispatcher",p(Ja));a(this,"_viewContainerRef",p(ct));a(this,"_ngZone",p(F));a(this,"_platform",p(Pe));a(this,"_ariaDescriber",p(nT));a(this,"_focusMonitor",p(oi));a(this,"_dir",p(sr));a(this,"_injector",p(fe));a(this,"_defaultOptions",p(ZZ,{optional:!0}));a(this,"_overlayRef");a(this,"_tooltipInstance");a(this,"_portal");a(this,"_position","below");a(this,"_positionAtOrigin",!1);a(this,"_disabled",!1);a(this,"_tooltipClass");a(this,"_scrollStrategy",p(i1));a(this,"_viewInitialized",!1);a(this,"_pointerExitEventsInitialized",!1);a(this,"_tooltipComponent",eK);a(this,"_viewportMargin",8);a(this,"_currentPosition");a(this,"_cssClassPrefix","mat-mdc");a(this,"_ariaDescriptionPending");a(this,"_showDelay");a(this,"_hideDelay");a(this,"touchGestures","auto");a(this,"_message","");a(this,"_passiveListeners",[]);a(this,"_document",p(ee));a(this,"_touchstartTimeout",null);a(this,"_destroyed",new A);let n=this._defaultOptions;n&&(this._showDelay=n.showDelay,this._hideDelay=n.hideDelay,n.position&&(this.position=n.position),n.positionAtOrigin&&(this.positionAtOrigin=n.positionAtOrigin),n.touchGestures&&(this.touchGestures=n.touchGestures),n.tooltipClass&&(this.tooltipClass=n.tooltipClass)),this._dir.change.pipe(Ce(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=KZ}get position(){return this._position}set position(n){var i;n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(this._overlayRef),(i=this._tooltipInstance)==null||i.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(n){this._positionAtOrigin=Ya(n),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(n){let i=Ya(n);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(n){this._showDelay=$n(n)}get hideDelay(){return this._hideDelay}set hideDelay(n){this._hideDelay=$n(n),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(n){let i=this._message;this._message=n!=null?String(n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}get tooltipClass(){return this._tooltipClass}set tooltipClass(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ce(this._destroyed)).subscribe(n=>{n?n==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let n=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEac
1h(([i,o])=>{n.removeEventListener(i,o,n1)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(n,this.message,"tooltip"),this._focusMonitor.stopMonitoring(n)}show(n=this.showDelay,i){var c;if(this.disabled||!this.message||this._isTooltipVisible()){(c=this._tooltipInstance)==null||c._cancelPendingAnimations();return}let o=this._createOverlay(i);this._detach(),this._portal=this._portal||new kr(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(Ce(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(n)}hide(n=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(n):(i._cancelPendingAnimations(),this._detach()))}toggle(n){this._isTooltipVisible()?this.hide():this.show(void 0,n)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(n){var s;if(this._overlayRef){let c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!n)&&c._origin instanceof P)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?n||this._elementRef:this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Ce(this._destroyed)).subscribe(c=>{this._updateCurrentPositionClass(c.connectionPair),this._tooltipInstance&&c.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:"".concat(this._cssClassPrefix,"-").concat(t1),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ce(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ce(this._destroyed)).subscribe(()=>{var c;return(c=this._tooltipInstance)==null?void 0:c._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(Ce(this._destroyed)).subscribe(c=>{this._isTooltipVisible()&&c.keyCode===27&&!wn(c)&&(c.preventDefault(),c.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(s=this._defaultOptions)!=null&&s.disableTooltipInteractivity&&this._overlayRef.addPanelClass("".concat(this._cssClassPrefix,"-tooltip-panel-non-interactive")),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(n){let i=n.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();i.withPositions([this._addOffset(T(T({},o.main),s.main)),this._addOffset(T(T({},o.fallback),s.fallback))])}_addOffset(n){let i=XZ,o=!this._dir||this._dir.value=="ltr";return n.originY==="top"?n.offsetY=-i:n.originY==="bottom"?n.offsetY=i:n.originX==="start"?n.offsetX=o?-i:i:n.originX==="end"&&(n.offsetX=o?i:-i),n}_getOrigin(){let n=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"||i=="below"?o={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&n||i=="right"&&!n?o={originX:"start",originY:"center"}:(i=="after"||i=="right"&&n||i=="left"&&!n)&&(o={originX:"end",originY:"center"});let{x:s,y:c}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:c}}}_getOverlayPosition(){let n=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"?o={overlayX:"center",overlayY:"bottom"}:i=="below"?o={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&n||i=="right"&&!n?o={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&n||i=="left"&&!n)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:c}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:c}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Fn(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())}_invertPosition(n,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):n==="end"?n="start":n==="start"&&(n="end"),{x:n,y:i}}_updateCurrentPositionClass(n){let{overlayY:i,originX:o,originY:s}=n,c;if(i==="center"?this._dir&&this._dir.value==="rtl"?c=o==="end"?"left":"right":c=o==="start"?"left"
1:"right":c=i==="bottom"&&s==="top"?"above":"below",c!==this._currentPosition){let l=this._overlayRef;if(l){let u="".concat(this._cssClassPrefix,"-").concat(t1,"-");l.removePanelClass(u+this._currentPosition),l.addPanelClass(u+c)}this._currentPosition=c}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",n=>{this._setupPointerExitEventsIfNeeded();let i;n.x!==void 0&&n.y!==void 0&&(i=n),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",n=>{var c,l,u;let i=(c=n.targetTouches)==null?void 0:c[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let s=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,o)},(u=(l=this._defaultOptions)==null?void 0:l.touchLongPressShowDelay)!=null?u:s)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",i=>{var s;let o=i.relatedTarget;(!o||!((s=this._overlayRef)!=null&&s.overlayElement.contains(o)))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{var o;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide((o=this._defaultOptions)==null?void 0:o.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),this._passiveListeners.push(...n)}_addListeners(n){n.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,n1)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(n){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(n.clientX,n.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let n=this.touchGestures;if(n!=="off"){let i=this._elementRef.nativeElement,o=i.style;(n==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(n==="on"||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}_syncAriaDescription(n){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,n,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mat-mdc-tooltip-disabled",o.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"]}));let t=e;return t})(),eK=(()=>{let e=class e{constructor(){a(this,"_changeDetectorRef",p(Ne));a(this,"_elementRef",p(P));a(this,"_isMultiline",!1);a(this,"message");a(this,"tooltipClass");a(this,"_showTimeoutId");a(this,"_hideTimeoutId");a(this,"_triggerElement");a(this,"_mouseLeaveHideDelay");a(this,"_animationsDisabled");a(this,"_tooltip");a(this,"_closeOnInteraction",!1);a(this,"_isVisible",!1);a(this,"_onHide",new A);a(this,"_showAnimation","mat-mdc-tooltip-show");a(this,"_hideAnimation","mat-mdc-tooltip-hide");let n=p(qt,{optional:!0});
1this._animationsDisabled=n==="NoopAnimations"}show(n){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},n)}hide(n){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},n)}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:n}){(!n||!this._triggerElement.contains(n))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let n=this._elementRef.nativeElement.getBoundingClientRect();return n.height>QZ&&n.width>=JZ}_handleAnimationEnd({animationName:n}){(n===this._showAnimation||n===this._hideAnimation)&&this._finalizeAnimation(n===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(n){n?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(n){let i=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(i.classList.remove(n?s:o),i.classList.add(n?o:s),this._isVisible!==n&&(this._isVisible=n,this._changeDetectorRef.markForCheck()),n&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let c=getComputedStyle(i);(c.getPropertyValue("animation-duration")==="0s"||c.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}n&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(n))}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(i&1&&Yt(WZ,7),i&2){let s;wt(s=Dt())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,o){i&1&&J("mouseleave",function(c){return o._handleMouseLeave(c)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,o){if(i&1){let s=Me();C(0,"div",1,0),J("animationend",function(l){return Ee(s),we(o._handleAnimationEnd(l))}),C(2,"div",2),K(3),I()()}i&2&&(ae("mdc-tooltip--multiline",o._isMultiline),ue("ngClass",o.tooltipClass),D(3),Re(o.message))},dependencies:[ES],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}));let t=e;return t})();var DRe=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e}
1)),a(e,"\u0275inj",ie({providers:[qZ],imports:[Op,Ao,tt,tt,Gp]}));let t=e;return t})();var s1={iconUrl:"assets/icons/sprite.svg?v=5ad212f663"};var a1=(()=>{let e=class e extends I_{constructor(n,i,o,s){super(n,i,o,s),this.addSvgIconSet(i.bypassSecurityTrustResourceUrl(s1.iconUrl))}};e.\u0275fac=function(i){return new(i||e)(E(Ps,8),E(tu),E(ee,8),E(_t))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function rK(t){return t}var c1=(()=>{let e=class e{constructor(n){this.normalErrorHandler=n}handleError(n){n instanceof Error&&n.message.includes("Error retrieving icon")&&!sc.production&&(n.message+=". Check spelling and re-run build or use `yarn icons` to include icon in the sprite."),this.normalErrorHandler.handleError(n)}};e.\u0275fac=function(i){return new(i||e)(E(_t))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var oK=["*"],Tn=(()=>{let e=class e extends BT{get fullSizeClass(){return this.fullSize()}get iconName(){if(this.name())return this.name();if(this.iconLigature)return this.iconLigature;if(this.svgIcon)return this.svgIcon;if(this.fontIcon)return this.fontIcon}set iconLigature(n){this._elementRef.nativeElement.innerText=n}get iconLigature(){var n,i;return(i=(n=this._elementRef)==null?void 0:n.nativeElement)==null?void 0:i.innerText}constructor(n,i,o,s,c,l){super(n,i,o,s,c,l),this.errorHandler=c,this.fullSize=Gt(!1),this.name=Gt()}ngOnChanges(){this.updateIcon(this.name())}ngOnInit(){this.updateIcon(this.iconName),super.ngOnInit()}ngAfterContentInit(){this.updateIcon(this.iconName)}updateIcon(n){n&&(this.svgIcon=n)}};e.\u0275fac=function(i){return new(i||e)(w(P),w(a1),Nf("aria-hidden"),w(T_),w(c1),w(S_,8))},e.\u0275cmp=B({type:e,selectors:[["ix-icon"]],hostAttrs:[1,"ix-icon"],hostVars:4,hostBindings:function(i,o){i&2&&(ge("data-mat-icon-name",o._svgIcon&&o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgIcon&&o._svgNamespace||o.fontSet),ae("full-size",o.fullSizeClass))},inputs:{fullSize:[1,"fullSize"],name:[1,"name"]},exportAs:["ixIcon"],features:[pe,it],ngContentSelectors:oK,decls:1,vars:0,template:function(i,o){i&1&&(et(),ke(0))},styles:["@keyframes _ngcontent-%COMP%_blinker{50%{opacity:.1}}@keyframes _ngcontent-%COMP%_fade-in-animation{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_pulse-box-shadow-animation{0%,to{box-shadow:none;outline:0}50%{box-shadow:0 0 10px 10px var(--primary-lighter);outline:2px solid var(--primary)}}[_nghost-%COMP%]{align-items:center;display:inline-flex;fill:currentColor;flex-grow:0;flex-shrink:0;height:24px;justify-content:center;width:24px}.mat-ligature-font[_nghost-%COMP%]:before{display:inline-block;visibility:hidden;width:0}.mdi-set[_nghost-%COMP%]{display:flex;font-size:24px}[_nghost-%COMP%]:where(.full-size){height:100%;width:100%}[_nghost-%COMP%] svg[_ngcontent-%COMP%]{height:100%;width:100%}\n/*# sourceMappingURL=ix-icon.component-P4KV6ST5.css.map */"],changeDetection:0});let t=e;return t})();function sK(t,e){if(t&1&&j(0,"ix-icon",3),t&2){let r=$();Pi("color",r.iconColor),ue("name",r.config.icon)}}function aK(t,e){if(t&1){let r=Me();C(0,"div",2)(1,"button",4),J("click",function(){Ee(r);let i=$();return we(i.config.button.action())}),K(2),z(3,"translate"),I()()}if(t&2){let r=$();D(2),Se(" ",G(3,1,r.config.button.title)," ")}}var l1=(()=>{let e=class e{constructor(n){this.config=n}get iconColor(){return this.config.iconCssColor||"var(--primary)"}};e.\u0275fac=function(i){return new(i||e)(w(Zp))},e.\u0275cmp=B({type:e,selectors:[["ix-snackbar"]],decls:5,vars:5,consts:[[1,"icon",3,"name","color"],[1,"message"],[1,"action"],[1,"icon",3,"name"],["mat-button","","type","button","ixTest","snackbar-button",3,"click"]],template:function(i,o){i&1&&(se(0,sK,1,3,"ix-icon",0),C(1,"div",1),K(2),z(3,"translate"),I(),se(4,aK,4,3,"div",2)),i&2&&(te(o.config.icon?0:-1),D(2),Re(G(3,3,o.config.message)),D(2),te(o.config.button?4:-1))},dependencies:[Tn,ut,mt,ft,dt],styles:["[_nghost-%COMP%]{align-items:center;column-gap:10px;display:flex;font-size:1rem}.icon[_ngcontent-%COMP%]{flex-shrink:0;height:24px;width:24px}.message[_ngcontent-%COMP%]{color:var(--fg1);flex-grow:1}\n/*# sourceMappingURL=snackbar.component-WO3DX5E6.css.map */"],changeDetection:0});let t=e;return t})();var u1=(()=>{let e=class e{constructor(n){this.matSnackBar=n}success(n){return this.matSnackBar.openFromComponent(l1,{announcementMessage:n,politeness:"assertive",data:{message:n,icon:"check",iconCssColor:"var(--green)"}})}};e.\u0275fac=function(i){return new(i||e)(E(sA))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var lK=["mat-menu-item",""],uK=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],dK=["mat-icon, [matMenuItemIcon]","*"];function fK(t,e){t&1&&(Mf(),C(0,"svg",2),j(1,"polygon",3),I())}var pK=["*"];function hK(t,e){if(t&1){let r=Me();C(0,"div",0),J("click",function(){Ee(r);let i=$();
1return we(i.closed.emit("click"))})("@transformMenu.start",function(i){Ee(r);let o=$();return we(o._onAnimationStart(i))})("@transformMenu.done",function(i){Ee(r);let o=$();return we(o._onAnimationDone(i))}),C(1,"div",1),ke(2),I()()}if(t&2){let r=$();En(r._classList),ue("id",r.panelId)("@transformMenu",r._panelAnimationState),ge("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var W0=new b("MAT_MENU_PANEL"),Su=(()=>{let e=class e{constructor(){a(this,"_elementRef",p(P));a(this,"_document",p(ee));a(this,"_focusMonitor",p(oi));a(this,"_parentMenu",p(W0,{optional:!0}));a(this,"_changeDetectorRef",p(Ne));a(this,"role","menuitem");a(this,"disabled",!1);a(this,"disableRipple",!1);a(this,"_hovered",new A);a(this,"_focused",new A);a(this,"_highlighted",!1);a(this,"_triggersSubmenu",!1);var n,i;p(Zt).load(Vs),(i=(n=this._parentMenu)==null?void 0:n.addItem)==null||i.call(n,this)}focus(n,i){this._focusMonitor&&n?this._focusMonitor.focusVia(this._getHostElement(),n,i):this._getHostElement().focus(i),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(n){this.disabled&&(n.preventDefault(),n.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var o;let n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let s=0;s<i.length;s++)i[s].remove();return((o=n.textContent)==null?void 0:o.trim())||""}_setHighlighted(n){this._highlighted=n,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(n){this._triggersSubmenu=n,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(i,o){i&1&&J("click",function(c){return o._checkDisabled(c)})("mouseenter",function(){return o._handleMouseEnter()}),i&2&&(ge("role",o.role)("tabindex",o._getTabIndex())("aria-disabled",o.disabled)("disabled",o.disabled||null),ae("mat-mdc-menu-item-highlighted",o._highlighted)("mat-mdc-menu-item-submenu-trigger",o._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",be],disableRipple:[2,"disableRipple","disableRipple",be]},exportAs:["matMenuItem"],features:[Ke],attrs:lK,ngContentSelectors:dK,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(i,o){i&1&&(et(uK),ke(0),C(1,"span",0),ke(2,1),I(),j(3,"div",1),se(4,fK,2,0,":svg:svg",2)),i&2&&(D(3),ue("matRippleDisabled",o.disableRipple||o.disabled)("matRippleTrigger",o._getHostElement()),D(),te(o._triggersSubmenu?4:-1))},dependencies:[Xl],encapsulation:2,changeDetection:0}));let t=e;return t})();var mK=new b("MatMenuContent");var lm={transformMenu:ru("transformMenu",[Qa("void",si({opacity:0,transform:"scale(0.8)"})),Us("void => enter",Bs("120ms cubic-bezier(0, 0, 0.2, 1)",si({opacity:1,transform:"scale(1)"}))),Us("* => void",Bs("100ms 25ms linear",si({opacity:0})))]),fadeInItems:ru("fadeInItems",[Qa("showing",si({opacity:1})),Us("void => *",[si({opacity:0}),Bs("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},yOe=lm.fadeInItems,_Oe=lm.transformMenu,gK=new b("mat-menu-default-options",{providedIn:"root",factory:vK});function vK(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var Ks=(()=>{let e=class e{constructor(){a(this,"_elementRef",p(P));a(this,"_changeDetectorRef",p(Ne));a(this,"_keyManager");a(this,"_xPosition");a(this,"_yPosition");a(this,"_firstItemFocusRef");a(this,"_allItems");a(this,"_directDescendantItems",new Mi);a(this,"_classList",{});a(this,"_panelAnimationState","void");a(this,"_animationDone",new A);a(this,"_isAnimating");a(this,"parentMenu");a(this,"direction");a(this,"overlayPanelClass");a(this,"backdropClass");a(this,"ariaLabel");a(this,"ariaLabelledby");a(this,"ariaDescribedby");a(this,"templateRef");a(this,"items");a(this,"lazyContent");a(this,"overlapTrigger");a(this,"hasBackdrop");a(this,"_previousPanelClass");a(this,"closed",new Q);a(this,"close",this.closed);a(this,"panelId",p(cn).getId("mat-menu-panel-"));a(this,"_injector",p(fe));let n=p(gK);this.overlayPanelClass=n.overlayPanelClass||"",this._xPosition=n.xPosition,this._yPosition=n.yPosition,this.backdropClass=n.backdropClass,this.overlapTrigger=n.overlapTrigger,this.hasBackdrop=n.hasBackdrop}get xPosition(){return this._xPosition}set xPosition(n){this._xPosition=n,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(n){this._yPosition=n,this.setPositionClasses()}set panelClass(n){let i=this._previousPanelClass,o=T({},this._classList);i&&i.length&&i.split(" ").forEach(s=>{o[s]=!1}),this._previousPanelClass=n,n&&n.length&&(n.split(" ").forEach(s=>{o[s]=!0}),this._elementRef.nativeElement.className=""),this._classList=o}get classList(){return this.panelClass}set classList(n){this.panelClass=n}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Tp(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>
1this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Ot(this._directDescendantItems),xe(n=>On(...n.map(i=>i._focused)))).subscribe(n=>this._keyManager.updateActiveItem(n)),this._directDescendantItems.changes.subscribe(n=>{var o;let i=this._keyManager;if(this._panelAnimationState==="enter"&&((o=i.activeItem)!=null&&o._hasFocus())){let s=n.toArray(),c=Math.max(0,Math.min(s.length-1,i.activeItemIndex||0));s[c]&&!s[c].disabled?i.setActiveItem(c):i.setNextItemActive()}})}ngOnDestroy(){var n,i;(n=this._keyManager)==null||n.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),(i=this._firstItemFocusRef)==null||i.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(Ot(this._directDescendantItems),xe(i=>On(...i.map(o=>o._hovered))))}addItem(n){}removeItem(n){}_handleKeydown(n){let i=n.keyCode,o=this._keyManager;switch(i){case 27:wn(n)||(n.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:(i===38||i===40)&&o.setFocusOrigin("keyboard"),o.onKeydown(n);return}}focusFirstItem(n="program"){var i;(i=this._firstItemFocusRef)==null||i.destroy(),this._firstItemFocusRef=Fn(()=>{let o=null;if(this._directDescendantItems.length&&(o=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!o||!o.contains(document.activeElement)){let s=this._keyManager;s.setFocusOrigin(n).setFirstItemActive(),!s.activeItem&&o&&o.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(n){}setPositionClasses(n=this.xPosition,i=this.yPosition){this._classList=ve(T({},this._classList),{"mat-menu-before":n==="before","mat-menu-after":n==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),this._changeDetectorRef.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(n){this._animationDone.next(n),this._isAnimating=!1}_onAnimationStart(n){this._isAnimating=!0,n.toState==="enter"&&this._keyManager.activeItemIndex===0&&(n.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Ot(this._allItems)).subscribe(n=>{this._directDescendantItems.reset(n.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["mat-menu"]],contentQueries:function(i,o,s){if(i&1&&(Yf(s,mK,5),Yf(s,Su,5),Yf(s,Su,4)),i&2){let c;wt(c=Dt())&&(o.lazyContent=c.first),wt(c=Dt())&&(o._allItems=c),wt(c=Dt())&&(o.items=c)}},viewQuery:function(i,o){if(i&1&&Yt(at,5),i&2){let s;wt(s=Dt())&&(o.templateRef=s.first)}},hostVars:3,hostBindings:function(i,o){i&2&&ge("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",be],hasBackdrop:[2,"hasBackdrop","hasBackdrop",n=>n==null?null:be(n)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[We([{provide:W0,useExisting:e}]),Ke],ngContentSelectors:pK,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","id"],[1,"mat-mdc-menu-content"]],template:function(i,o){i&1&&(et(),se(0,hK,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));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));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));
1margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{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))}.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{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))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[lm.transformMenu,lm.fadeInItems]},changeDetection:0}));let t=e;return t})(),bK=new b("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Ct);return()=>t.scrollStrategies.reposition()}});var d1=ii({passive:!0});var f1=(()=>{let e=class e{constructor(){a(this,"_overlay",p(Ct));a(this,"_element",p(P));a(this,"_viewContainerRef",p(ct));a(this,"_menuItemInstance",p(Su,{optional:!0,self:!0}));a(this,"_dir",p(sr,{optional:!0}));a(this,"_focusMonitor",p(oi));a(this,"_ngZone",p(F));a(this,"_scrollStrategy",p(bK));a(this,"_changeDetectorRef",p(Ne));a(this,"_portal");a(this,"_overlayRef",null);a(this,"_menuOpen",!1);a(this,"_closingActionsSubscription",ce.EMPTY);a(this,"_hoverSubscription",ce.EMPTY);a(this,"_menuCloseSubscription",ce.EMPTY);a(this,"_parentMaterialMenu");a(this,"_parentInnerPadding");a(this,"_handleTouchStart",n=>{Zl(n)||(this._openedBy="touch")});a(this,"_openedBy");a(this,"_menu");a(this,"menuData");a(this,"restoreFocus",!0);a(this,"menuOpened",new Q);a(this,"onMenuOpen",this.menuOpened);a(this,"menuClosed",new Q);a(this,"onMenuClose",this.menuClosed);let n=p(W0,{optional:!0});this._parentMaterialMenu=n instanceof Ks?n:void 0,this._element.nativeElement.addEventListener("touchstart",this._handleTouchStart,d1)}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(n){this.menu=n}get menu(){return this._menu}set menu(n){var i;n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._parentMaterialMenu,this._menuCloseSubscription=n.close.subscribe(o=>{this._destroyMenu(o),(o==="click"||o==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit
1(o)})),(i=this._menuItemInstance)==null||i._setTriggersSubmenu(this.triggersSubmenu()))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,d1),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let n=this.menu;if(this._menuOpen||!n)return;let i=this._createOverlay(n),o=i.getConfig(),s=o.positionStrategy;this._setPosition(n,s),o.hasBackdrop=n.hasBackdrop==null?!this.triggersSubmenu():n.hasBackdrop,i.attach(this._getPortal(n)),n.lazyContent&&n.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(n),n instanceof Ks&&(n._startAnimation(),n._directDescendantItems.changes.pipe(Ce(n.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){var n;(n=this.menu)==null||n.close.emit()}focus(n,i){this._focusMonitor&&n?this._focusMonitor.focusVia(this._element,n,i):this._element.nativeElement.focus(i)}updatePosition(){var n;(n=this._overlayRef)==null||n.updatePosition()}_destroyMenu(n){var o;if(!this._overlayRef||!this.menuOpen)return;let i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(n==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Ks?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(Z(s=>s.toState==="void"),_e(1),Ce(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),(o=i==null?void 0:i.lazyContent)==null||o.detach())}_initMenu(n){n.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,n.direction=this.dir,n.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}
1_setIsMenuOpen(n){n!==this._menuOpen&&(this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(n),this._changeDetectorRef.markForCheck())}_createOverlay(n){if(!this._overlayRef){let i=this._getOverlayConfig(n);this._subscribeToPositions(n,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe(o=>{this.menu instanceof Ks&&this.menu._handleKeydown(o)})}return this._overlayRef}_getOverlayConfig(n){return new ai({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:n.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:n.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr"})}_subscribeToPositions(n,i){n.setPositionClasses&&i.positionChanges.subscribe(o=>{this._ngZone.run(()=>{let s=o.connectionPair.overlayX==="start"?"after":"before",c=o.connectionPair.overlayY==="top"?"below":"above";n.setPositionClasses(s,c)})})}_setPosition(n,i){let[o,s]=n.xPosition==="before"?["end","start"]:["start","end"],[c,l]=n.yPosition==="above"?["bottom","top"]:["top","bottom"],[u,d]=[c,l],[f,h]=[o,s],m=0;if(this.triggersSubmenu()){if(h=o=n.xPosition==="before"?"start":"end",s=f=o==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let g=this._parentMaterialMenu.items.first;this._parentInnerPadding=g?g._getHostElement().offsetTop:0}m=c==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else n.overlapTrigger||(u=c==="top"?"bottom":"top",d=l==="top"?"bottom":"top");i.withPositions([{originX:o,originY:u,overlayX:f,overlayY:c,offsetY:m},{originX:s,originY:u,overlayX:h,overlayY:c,offsetY:m},{originX:o,originY:d,overlayX:f,overlayY:l,offsetY:-m},{originX:s,originY:d,overlayX:h,overlayY:l,offsetY:-m}])}_menuClosingActions(){let n=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:O(),s=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Z(c=>c!==this._menuItemInstance),Z(()=>this._menuOpen)):O();return On(n,o,s,i)}_handleMousedown(n){Yl(n)||(this._openedBy=n.button===0?"mouse":void 0,this.triggersSubmenu()&&n.preventDefault())}_handleKeydown(n){let i=n.keyCode;(i===13||i===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===39&&this.dir==="ltr"||i===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Z(n=>n===this._menuItemInstance&&!n.disabled),tl(0,pa)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ks&&this.menu._isAnimating?this.menu._animationDone.pipe(_e(1),tl(0,pa),Ce(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(n){return(!this._portal||this._portal.templateRef!==n.templateRef)&&(this._portal=new Rr(n.templateRef,this._viewContainerRef)),this._portal}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275dir",k({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,o){i&1&&J("click",function(c){return o._handleClick(c)})("mousedown",function(c){return o._handleMousedown(c)})("keydown",function(c){return o._handleKeydown(c)}),i&2&&ge("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.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"]}));let t=e;return t})();function yK(t,e){if(t&1){let r=Me();C(0,"button",5),z(1,"translate"),J("click",function(){Ee(r);let i=$();return we(i.copyToClipboard())}),j(2,"ix-icon",6),I()}t&2&&ue("matTooltip",G(1,1,"Copy to Clipboard"))}function _K(t,e){if(t&1&&(C(0,"button",2),z(1,"translate"),j(2,"ix-icon",6),I()),t&2){$();let r=Zf(3);ue("matTooltip",G(1,2,"Copy to Clipboard"))("matMenuTriggerFor",r)}}var p1=(()=>{let e=class e{constructor(n,i){this.snackbar=n,this.translate=i,this.text=Gt.required(),this.jsonText=Gt(),this.isValidJson=rr(()=>typeof this.jsonText()=="object")}showSuccessMessage(){this.snackbar.success(this.translate.instant("Copied to clipboard"))}copyViaDeprecatedExecCommand(n){return new Promise(i=>{let o=document.createElement("textarea");
1Object.assign(o.style,{position:"fixed",left:"-9999px",top:"-9999px"}),o.value=n,document.body.appendChild(o),o.select(),document.execCommand("copy"),o.remove(),i()})}handleCopyToClipboard(n){return navigator.clipboard?navigator.clipboard.writeText(n):this.copyViaDeprecatedExecCommand(n)}copyToClipboard(){this.handleCopyToClipboard(this.text()).then(()=>this.showSuccessMessage())}copyJsonToClipboard(){this.handleCopyToClipboard(JSON.stringify(this.jsonText(),null,2)).then(()=>this.showSuccessMessage())}};e.\u0275fac=function(i){return new(i||e)(w(u1),w(ln))},e.\u0275cmp=B({type:e,selectors:[["ix-copy-button"]],inputs:{text:[1,"text"],jsonText:[1,"jsonText"]},decls:12,vars:8,consts:[["menu","matMenu"],["mat-icon-button","","matTooltipPosition","above","ixTest","copy-to-clipboard",3,"matTooltip"],["mat-icon-button","","ixTest","copy-to-clipboard-menu",3,"matTooltip","matMenuTriggerFor"],["mat-menu-item","","ixTest","copy-text",3,"click"],["mat-menu-item","","ixTest","copy-json-text",3,"click"],["mat-icon-button","","matTooltipPosition","above","ixTest","copy-to-clipboard",3,"click","matTooltip"],["name","assignment"]],template:function(i,o){if(i&1){let s=Me();se(0,yK,3,3,"button",1)(1,_K,3,4,"button",2),C(2,"mat-menu",null,0)(4,"button",3),J("click",function(){return Ee(s),we(o.copyToClipboard())}),C(5,"span"),K(6),z(7,"translate"),I()(),C(8,"button",4),J("click",function(){return Ee(s),we(o.copyJsonToClipboard())}),C(9,"span"),K(10),z(11,"translate"),I()()()}i&2&&(te(!o.jsonText()||!o.isValidJson()?0:-1),D(),te(o.jsonText()&&o.isValidJson()?1:-1),D(5),Re(G(7,4,"Copy Text")),D(4),Re(G(11,6,"Copy Json")))},dependencies:[Vp,o1,ft,dt,Tn,f1,Ks,Su,mt],styles:["[_nghost-%COMP%]{align-items:center;display:inline-flex}[_nghost-%COMP%] ix-icon[_ngcontent-%COMP%]{height:18px;width:18px}\n/*# sourceMappingURL=copy-button.component-ZYGQIVJC.css.map */"],changeDetection:0});let t=e;return t})();var zx=Qm(G0(),1);function um(t){return t===null?!1:typeof t=="object"&&"error"in t&&"extra"in t&&"reason"in t&&"trace"in t}function q0(t){return t===null?!1:typeof t=="object"&&"state"in t&&"error"in t&&"exception"in t&&"exc_info"in t}function Y0(t){return He(t)&&"jsonrpc"in t}function m1(t){return Y0(t)&&"method"in t&&t.method==="collection_update"}function g1(t){return Y0(t)&&"result"in t}function Yo(t){return Y0(t)&&"error"in t&&!!t.error}function POe(t){if(Yo(t))return t.error.data}function v1(t){return T({jsonrpc:"2.0"},t)}var EK={url:"",deserializer:t=>JSON.parse(t.data),serializer:t=>JSON.stringify(t)},wK="WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }",dm=class t extends la{constructor(e,r){if(super(),this._socket=null,e instanceof V)this.destination=r,this.source=e;else{let n=this._config=Object.assign({},EK);if(this._output=new A,typeof e=="string")n.url=e;else for(let i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);if(!n.WebSocketCtor&&WebSocket)n.WebSocketCtor=WebSocket;else if(!n.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new rn}}lift(e){let r=new t(this._config,this.destination);return r.operator=e,r.source=this,r}_resetState(){this._socket=null,this.source||(this.destination=new rn),this._output=new A}multiplex(e,r,n){let i=this;return new V(o=>{try{i.next(e())}catch(c){o.error(c)}let s=i.subscribe({next:c=>{try{n(c)&&o.next(c)}catch(l){o.error(l)}},error:c=>o.error(c),complete:()=>o.complete()});return()=>{try{i.next(r())}catch(c){o.error(c)}s.unsubscribe()}})}_connectSocket(){let{WebSocketCtor:e,protocol:r,url:n,binaryType:i}=this._config,o=this._output,s=null;try{s=r?new e(n,r):new e(n),this._socket=s,i&&(this._socket.binaryType=i)}catch(l){o.error(l);return}let c=new ce(()=>{this._socket=null,s&&s.readyState===1&&s.close()});s.onopen=l=>{let{_socket:u}=this;if(!u){s.close(),this._resetState();return}let{openObserver:d}=this._config;d&&d.next(l);let f=this.destination;this.destination=Ei.create(h=>{if(s.readyState===1)try{let{serializer:m}=this._config;s.send(m(h))}catch(m){this.destination.error(m)}},h=>{let{closingObserver:m}=this._config;m&&m.next(void 0),h&&h.code?s.close(h.code,h.reason):o.error(new TypeError(wK)),this._resetState()},()=>{let{closingObserver:h}=this._config;h&&h.next(void 0),s.close(),this._resetState()}),f&&f instanceof rn&&c.add(f.subscribe(this.destination))},s.onerror=l=>{this._resetState(),o.error(l)}
1,s.onclose=l=>{s===this._socket&&this._resetState();let{closeObserver:u}=this._config;u&&u.next(l),l.wasClean?o.complete():o.error(l)},s.onmessage=l=>{try{let{deserializer:u}=this._config;o.next(u(l))}catch(u){o.error(u)}}}_subscribe(e){let{source:r}=this;return r?r.subscribe(e):(this._socket||this._connectSocket(),this._output.subscribe(e),e.add(()=>{let{_socket:n}=this;this._output.observers.length===0&&(n&&(n.readyState===1||n.readyState===0)&&n.close(),this._resetState())}),e)}unsubscribe(){let{_socket:e}=this;e&&(e.readyState===1||e.readyState===0)&&e.close(),this._resetState(),super.unsubscribe()}};function Z0(t){return new dm(t)}var b1=new b("WebSocket",{providedIn:"root",factory:()=>Z0});var fm=class{get stream$(){return this.wsAsObservable$}get closed(){var e;return((e=this.ws$)==null?void 0:e.closed)||!0}constructor(e){this.webSocket=e}connect(e){return this.ws$&&this.ws$.complete(),performance.mark("WS Init. URL: ".concat(e.url,'"')),this.ws$=this.webSocket(e),this.wsAsObservable$=this.ws$.asObservable(),this.stream$}send(e){var r;(r=this.ws$)==null||r.next(e)}close(){var e;(e=this.ws$)==null||e.complete(),this.ws$=void 0}};var pm=class{constructor(e,r){this.matDialogRef=e,this.translate=r}afterClosed(){return On(Kp(this.matDialogRef.componentInstance.jobSuccess),Kp(this.matDialogRef.componentInstance.jobAborted).pipe(xe(()=>Rn(()=>new Error(this.translate.instant("Job aborted"))))),Kp(this.matDialogRef.componentInstance.jobFailure).pipe(xe(e=>Rn(()=>e)))).pipe(_e(1))}};var DK=["input"],CK=["label"],IK=["*"],SK=new b("mat-checkbox-default-options",{providedIn:"root",factory:_1});function _1(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var Jt=function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t}(Jt||{}),TK={provide:Ys,useExisting:xt(()=>hm),multi:!0},K0=class{constructor(){a(this,"source");a(this,"checked")}},y1=_1(),hm=(()=>{let e=class e{constructor(){a(this,"_elementRef",p(P));a(this,"_changeDetectorRef",p(Ne));a(this,"_ngZone",p(F));a(this,"_animationMode",p(qt,{optional:!0}));a(this,"_options",p(SK,{optional:!0}));a(this,"_animationClasses",{uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"});a(this,"ariaLabel","");a(this,"ariaLabelledby",null);a(this,"ariaDescribedby");a(this,"ariaExpanded");a(this,"ariaControls");a(this,"ariaOwns");a(this,"_uniqueId");a(this,"id");a(this,"required");a(this,"labelPosition","after");a(this,"name",null);a(this,"change",new Q);a(this,"indeterminateChange",new Q);a(this,"value");a(this,"disableRipple");a(this,"_inputElement");a(this,"_labelElement");a(this,"tabIndex");a(this,"color");a(this,"disabledInteractive");a(this,"_onTouched",()=>{});a(this,"_currentAnimationClass","");a(this,"_currentCheckState",Jt.Init);a(this,"_controlValueAccessorChangeFn",()=>{});a(this,"_validatorChangeFn",()=>{});a(this,"_checked",!1);a(this,"_disabled",!1);a(this,"_indeterminate",!1);var i,o;p(Zt).load(Vs);let n=p(new Ma("tabindex"),{optional:!0});this._options=this._options||y1,this.color=this._options.color||y1.color,this.tabIndex=n==null?0:parseInt(n)||0,this.id=this._uniqueId=p(cn).getId("mat-mdc-checkbox-"),this.disabledInteractive=(o=(i=this._options)==null?void 0:i.disabledInteractive)!=null?o:!1}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(n){let i=new K0;return i.source=this,i.checked=n,i}_getAnimationTargetElement(){var n;return(n=this._inputElement)==null?void 0:n.nativeElement}get inputId(){return"".concat(this.id||this._uniqueId,"-input")}ngOnChanges(n){n.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(n){n!=this.checked&&(this._checked=n,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(n){n!==this.disabled&&(this._disabled=n,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(n){let i=n!=this._indeterminate;this._indeterminate=n,i&&(this._indeterminate?this._transitionCheckState(Jt.Indeterminate):this._transitionCheckState(this.checked?Jt.Checked:Jt.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(n){this.checked=!!n}registerOnChange(n){this._controlValueAccessorChangeFn=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n}validate(n){return this.required&&n.value!==!0?{required:!0}:null}
1registerOnValidatorChange(n){this._validatorChangeFn=n}_transitionCheckState(n){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(!(i===n||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,n),this._currentCheckState=n,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let s=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(s)},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(){var i;let n=(i=this._options)==null?void 0:i.clickAction;!this.disabled&&n!=="noop"?(this.indeterminate&&n!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Jt.Checked:Jt.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&n==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(n){n.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(n,i){if(this._animationMode==="NoopAnimations")return"";switch(n){case Jt.Init:if(i===Jt.Checked)return this._animationClasses.uncheckedToChecked;if(i==Jt.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Jt.Unchecked:return i===Jt.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Jt.Checked:return i===Jt.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Jt.Indeterminate:return i===Jt.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(n){let i=this._inputElement;i&&(i.nativeElement.indeterminate=n)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(n){n.target&&this._labelElement.nativeElement.contains(n.target)&&n.stopPropagation()}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["mat-checkbox"]],viewQuery:function(i,o){if(i&1&&(Yt(DK,5),Yt(CK,5)),i&2){let s;wt(s=Dt())&&(o._inputElement=s.first),wt(s=Dt())&&(o._labelElement=s.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(i,o){i&2&&(bo("id",o.id),ge("tabindex",null)("aria-label",null)("aria-labelledby",null),En(o.color?"mat-"+o.color:"mat-accent"),ae("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked)("mat-mdc-checkbox-disabled-interactive",o.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",be],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",be],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",be],tabIndex:[2,"tabIndex","tabIndex",n=>n==null?void 0:_o(n)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",be],checked:[2,"checked","checked",be],disabled:[2,"disabled","disabled",be],indeterminate:[2,"indeterminate","indeterminate",be]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[We([TK,{provide:pr,useExisting:e,multi:!0}]),Ke,it],ngContentSelectors:IK,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,o){if(i&1){let s=Me();et(),C(0,"div",3),J("click",function(l){return Ee(s),we(o._preventBubblingFromLabel(l))}),C(1,"div",4,0)(3,"div",5),J("click",function(){return Ee(s),we(o._onTouchTargetClick())}),I(),C(4,"input",6,1),J("blur",function(){return Ee(s),we(o._onBlur())})("click",function(){return Ee(s),we(o._onInputClick())})("change",function(l){return Ee(s),we(o._onInteractionEvent(l))}),I(),j(6,"div",7),C(7,"div",8),Mf(),C(8,"svg",9),j(9,"path",10),I(),TD(),j(10,"div",11),I(),j(11,"div",12),I(),C(12,"label",13,2),ke(14),I()()}if(i&2){let s=Zf(2);ue("labelPosition",o.labelPosition),D(4),ae("mdc-checkbox--selected",o.checked),ue("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled&&!o.disabledInteractive)("id",o.inputId)("required",o.required)("tabIndex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex),ge("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("aria-controls",o.ariaControl
1s)("aria-disabled",o.disabled&&o.disabledInteractive?!0:null)("aria-expanded",o.ariaExpanded)("aria-owns",o.ariaOwns)("name",o.name)("value",o.value),D(7),ue("matRippleTrigger",s)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),D(),ue("for",o.inputId)}},dependencies:[Xl,vT],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;
1transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}
1}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}));let t=e;return t})();var m1e=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({imports:[hm,tt,tt]}));let t=e;return t})();var AK=["*"],x1=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=B({type:e,selectors:[["ix-form-actions"]],ngContentSelectors:AK,decls:1,vars:0,template:function(i,o){i&1&&(et(),ke(0))},styles:["[_nghost-%COMP%], mat-dialog-container .ix-form-container [_nghost-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin:0}.ix-form-container [_nghost-%COMP%]{flex-wrap:wrap;gap:8px;justify-content:flex-start;margin:0 10px}mat-vertical-stepper [_nghost-%COMP%]{flex-wrap:wrap;justify-content:flex-start}mat-vertical-stepper [_nghost-%COMP%] >*{gap:8px}\n/*# sourceMappingURL=form-actions.component-6QFROKQM.css.map */"],changeDetection:0});let t=e;return t})();function MK(t,e){if(t&1){let r=Me();C(0,"span")(1,"mat-checkbox",8),hy("ngModelChange",function(i){Ee(r);let o=$();
1return qI(o.isSecondaryCheckboxChecked,i)||(o.isSecondaryCheckboxChecked=i),we(i)}),C(2,"span",9),K(3),z(4,"translate"),I()()()}if(t&2){let r=$();D(),py("ngModel",r.isSecondaryCheckboxChecked),D(2),Re(G(4,2,r.options.secondaryCheckboxText))}}function kK(t,e){if(t&1){let r=Me();C(0,"mat-checkbox",10),J("change",function(i){Ee(r);let o=$();return we(o.toggleSubmit(i))}),K(1),z(2,"translate"),I()}if(t&2){let r=$();D(),Se(" ",G(2,1,r.options.confirmationCheckboxText)," ")}}function RK(t,e){if(t&1){let r=Me();C(0,"button",11),J("click",function(){Ee(r);let i=$();return we(i.onCancel())}),K(1),z(2,"translate"),I()}if(t&2){let r=$();D(),Se(" ",G(2,1,r.options.cancelText)," ")}}var E1=(()=>{let e=class e{constructor(n,i,o){this.dialogRef=n,this.translate=i,this.isSubmitEnabled=!1,this.isSecondaryCheckboxChecked=!1,this.defaultOptions={buttonText:this.translate.instant("Continue"),cancelText:this.translate.instant("Cancel"),hideCheckbox:!1,confirmationCheckboxText:this.translate.instant("Confirm")},this.options=T(T({},this.defaultOptions),o),o.hideCancel&&(this.dialogRef.disableClose=o.hideCancel),this.withSecondaryCheckbox&&(this.dialogRef.disableClose=!0)}toggleSubmit(n){this.isSubmitEnabled=n.checked}isDisabled(){return this.options.hideCheckbox?!1:!this.isSubmitEnabled&&!this.options.hideCheckbox}onCancel(){let n=this.withSecondaryCheckbox?{confirmed:!1,secondaryCheckbox:this.isSecondaryCheckboxChecked}:!1;this.dialogRef.close(n)}onSubmit(){let n=this.withSecondaryCheckbox?{confirmed:!0,secondaryCheckbox:this.isSecondaryCheckboxChecked}:!0;this.dialogRef.close(n)}get withSecondaryCheckbox(){return"secondaryCheckbox"in this.options}};e.\u0275fac=function(i){return new(i||e)(w(It),w(ln),w(Lr))},e.\u0275cmp=B({type:e,selectors:[["ix-confirm-dialog"]],decls:14,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content","","id","confirm-msg"],[1,"message-content"],[3,"innerHTML"],["mat-dialog-actions","",1,"form-actions"],["color","primary","name","confirm_checkbox","ixTest","confirm",1,"confirm-checkbox"],["mat-button","","name","cancel_button","ixTest","dialog-cancel",1,"mat-mdc-button","mat-button","mat-accent","cancel-button"],["mat-button","","name","ok_button","ixTest","dialog-confirm",1,"mat-mdc-button","mat-button","mat-primary","submit-button",3,"click","disabled","color"],["color","primary","ixTest","secondary-confirmation",1,"confirm-checkbox","secondary-checkbox",3,"ngModelChange","ngModel"],["id","confirm-label"],["color","primary","name","confirm_checkbox","ixTest","confirm",1,"confirm-checkbox",3,"change"],["mat-button","","name","cancel_button","ixTest","dialog-cancel",1,"mat-mdc-button","mat-button","mat-accent","cancel-button",3,"click"]],template:function(i,o){i&1&&(C(0,"h1",0),K(1),z(2,"translate"),I(),C(3,"div",1)(4,"div",2),j(5,"span",3),z(6,"translate"),I(),se(7,MK,5,4,"span"),I(),C(8,"ix-form-actions",4),se(9,kK,3,3,"mat-checkbox",5)(10,RK,3,3,"button",6),C(11,"button",7),J("click",function(){return o.onSubmit()}),K(12),z(13,"translate"),I()()),i&2&&(D(),Re(G(2,8,o.options.title)),D(4),ue("innerHTML",G(6,10,o.options.message),jn),D(2),te(o.options.secondaryCheckbox?7:-1),D(2),te(o.options.hideCheckbox?-1:9),D(),te(o.options.hideCancel?-1:10),D(),ue("disabled",o.isDisabled())("color",o.options.buttonColor||"primary"),D(),Se(" ",G(13,12,o.options.buttonText)," "))},dependencies:[Sn,hr,hm,zO,kO,$O,j0,x1,mr,ut,ft,dt,mt],styles:["[_nghost-%COMP%]{display:block;min-width:330px}.confirm-checkbox[_ngcontent-%COMP%]{margin-left:-10px;margin-right:auto;padding-right:10px}.secondary-checkbox[_ngcontent-%COMP%]{margin-top:5px}#confirm-label[_ngcontent-%COMP%]:hover{cursor:pointer}h1[_ngcontent-%COMP%]{margin-bottom:1px!important}#confirm-msg[_ngcontent-%COMP%]{padding-top:20px}div.message-content[_ngcontent-%COMP%]{max-height:300px;overflow-x:unset;overflow-y:auto;word-wrap:break-word}\n/*# sourceMappingURL=confirm-dialog.component-3DS7DRFG.css.map */"],changeDetection:0});let t=e;return t})();var I1=Qm(G0(),1);var gi=function(t){return t.NotAuthenticated="ENOTAUTHENTICATED",t.NoAccess="EACCES",t.NoMemory="ENOMEM",t.AlreadyExists="EEXIST",t.Again="EAGAIN",t.Validation="EINVAL",t}(gi||{}),X0=new Map([[gi.NotAuthenticated,"Not Authenticated"],[gi.NoAccess,"Access Error"],[gi.NoMemory,"No Memory"],[gi.AlreadyExists,"Already Exists"],[gi.Again,"Try Again"],[gi.Validation,"Validation Error"]]);var Tu=function(t){return t.Changed="changed",t.Added="added",t.Removed="removed",t}(Tu||{}),OK=function(t){return t.Connected="connected",t}(OK||{});function w1(){return N(([t,e])=>{switch(e==null?void 0:e.msg){case Tu.Added:return[...t,e.fields];case Tu.Changed:return t.map(r=>r.id===e.id?e.fields:r);case Tu.Removed:return t.filter(r=>r.id!==e.id);default:break}return t})}var en=function(t){return t.Pending="PENDING",t.Running="RUNNING",t.Hold="HOLD",t.Error="ERROR",t.Failed="FAILED",t.Aborted="ABORTED",t.Success="SUCCESS",t.Finis
1hed="FINISHED",t.Locked="LOCKED",t.Waiting="WAITING",t}(en||{});function D1(){return t=>t.pipe(ma(e=>!e.time_finished,!0),xe(e=>(e==null?void 0:e.state)===en.Failed?Rn(()=>e):O(e)))}var Zo=(()=>{let e=class e{constructor(n,i,o,s){var c;this.wsHandler=n,this.wsStatus=i,this.subscriptionManager=o,this.translate=s,this.clearSubscriptions$=new A,(c=this.wsStatus.isConnected$)==null||c.subscribe(l=>{l||this.clearSubscriptions()})}call(n,i){return this.callMethod(n,i)}callAndSubscribe(n,i){return this.callMethod(n,i).pipe(xe(o=>this.subscribe(n).pipe(Ot(null),N(s=>[o,s]))),w1(),Ce(this.clearSubscriptions$))}startJob(n,i){return this.callMethod(n,i)}job(n,i){return this.callMethod(n,i).pipe(xe(o=>On(this.subscribeToJobUpdates(o),this.call("core.get_jobs",[[["id","=",o]]]).pipe(N(s=>s[0]))).pipe(D1())),Ce(this.clearSubscriptions$))}subscribe(n){return this.subscriptionManager.subscribe(n).pipe(xe(i=>{let o=i;return Yo(o)?(console.error("Error: ",o.error),Rn(()=>o.error)):O(i)}),Ce(this.clearSubscriptions$))}clearSubscriptions(){this.clearSubscriptions$.next()}callMethod(n,i){let o=I1.UUID.UUID();return O(o).pipe(xe(()=>(performance.mark("".concat(n," - ").concat(o," - start")),this.wsHandler.scheduleCall({id:o,method:n,params:i!=null?i:[]}),this.wsHandler.responses$.pipe(Z(s=>"id"in s&&s.id===o)))),xe(s=>Yo(s)?(this.printError(s,{method:n,params:i}),Rn(()=>s)):(performance.mark("".concat(n," - ").concat(o," - end")),performance.measure(n,"".concat(n," - ").concat(o," - start"),"".concat(n," - ").concat(o," - end")),O(s))),N(s=>s.result),_e(1))}subscribeToJobUpdates(n){return this.subscribe("core.get_jobs").pipe(Z(i=>i.id===n),N(i=>i.fields),Ce(this.clearSubscriptions$))}printError(n,i){var o,s;if(((o=n.error.data)==null?void 0:o.errname)===gi.NoAccess){console.error("Access denied to ".concat(i.method," with ").concat(i.params?JSON.stringify(i.params):"no params",". Original message: ").concat(n.error.message));return}((s=n.error.data)==null?void 0:s.errname)!==gi.Validation&&console.error("Error: ",n.error)}};e.\u0275fac=function(i){return new(i||e)(E(Ko),E(mi),E(C1),E(ln))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var gm=(()=>{let e=class e{constructor(n){this.http=n}downloadFile(n,i,o="text/plain"){let s=atob(i),c=new Array(s.length);for(let d=0;d<s.length;d++)c[d]=s.charCodeAt(d);let l=new Uint8Array(c),u=new Blob([l],{type:o});this.downloadBlob(u,n)}downloadText(n,i){let o=new Blob([n],{type:"text/plain"});this.downloadBlob(o,i)}downloadBlob(n,i){let o=document.createElement("a");document.body.appendChild(o),o.download=i,o.href=URL.createObjectURL(n),o.onclick=()=>{setTimeout(()=>{URL.revokeObjectURL(o.href)},1500)},o.click(),o.remove()}streamDownloadFile(n,i,o){return this.http.post(n,"",{responseType:"blob"}).pipe(N(s=>new Blob([s],{type:o})))}downloadUrl(n,i,o){return this.streamDownloadFile(n,i,o).pipe(je(s=>this.downloadBlob(s,i)))}};e.\u0275fac=function(i){return new(i||e)(E(Ps))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var J0=function(t,e){return J0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i])},J0(t,e)};function vi(t,e){J0(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var me=function(){return me=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},me.apply(this,arguments)};function Au(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.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(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function PK(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(c){s={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function jr(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(PK(arguments[e]));return t}var Xo=function(t){return t.Ok="ok",t.Exited="exited",t.Crashed="crashed",t.Abnormal="abnormal",t}(Xo||{});var An=function(t){return t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical",t}(An||{});(function(t){function e(r){switch(r){case"debug":return t.Debug;case"info":return t.Info;case"warn":case"warning":return t.Warning;case"error":return t.Error;case"fatal":return t.Fatal;case"critical":return t.Critical;case"log":default:return t.Log}}t.fromString=e})(An||(An={}));var Ki=function(t){return t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed",t}(Ki||{});(function(t){function e(r){return r>=200&&r<300?t.Success:r===429?t.RateLimit:r>=400&&r<500?t.Invalid:r>=500?t.Failed:t.Unknown}t.fromHttpCode=e})(Ki||(Ki={}));function FK(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(c){s={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function T1(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(FK(arguments[e]));return t}var ne=function(){return ne=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},ne.apply(this,arguments)};function A1(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.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(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function LK(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(c){s={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function Xi(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(LK(arguments[e]));return t}function vm(t){return Object.prototype.toString.call(t)==="[object Object]"}function bm(t){return!!(t&&t.then&&typeof t.then=="function")}function Mu(t){var e,r;if(vm(t)){var n=t,i={};try{for(var o=A1(Object.keys(n)),s=o.next();!s.done;s=o.next()){var c=s.value;typeof n[c]<"u"&&(i[c]=Mu(n[c]))}}catch(l){e={error:l}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i}return Array.isArray(t)?t.map(Mu):t}function Fc(){return Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function M1(t,e){return t.require(e)}var jK={};function Vr(){return Fc()?global:typeof window<"u"?window:typeof self<"u"?self:jK}function Xs(){var t=Vr(),e=t.crypto||t.msCrypto;
vendor: 9,023 bytes, line 1
1if(e!==void 0&&e.getRandomValues){var r=new Uint16Array(8);e.getRandomValues(r),r[3]=r[3]&4095|16384,r[4]=r[4]&16383|32768;var n=function(i){for(var o=i.toString(16);o.length<4;)o="0"+o;return o};return n(r[0])+n(r[1])+n(r[2])+n(r[3])+n(r[4])+n(r[5])+n(r[6])+n(r[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(i){var o=Math.random()*16|0,s=i==="x"?o:o&3|8;return s.toString(16)})}function Lc(t){var e=Vr(),r=["debug","info","warn","error","log","assert"];if(!("console"in e))return t();var n=e.console,i={};r.forEach(function(s){s in e.console&&n[s].__sentry_original__&&(i[s]=n[s],n[s]=n[s].__sentry_original__)});var o=t();return Object.keys(i).forEach(function(s){n[s]=i[s]}),o}var dNe=60*1e3;var Qs=Vr(),ex="Sentry Logger ",VK=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this._enabled&&Lc(function(){Qs.console.log(ex+"[Log]: "+e.join(" "))})},t.prototype.warn=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this._enabled&&Lc(function(){Qs.console.warn(ex+"[Warn]: "+e.join(" "))})},t.prototype.error=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this._enabled&&Lc(function(){Qs.console.error(ex+"[Error]: "+e.join(" "))})},t}();Qs.__SENTRY__=Qs.__SENTRY__||{};var tx=Qs.__SENTRY__.logger||(Qs.__SENTRY__.logger=new VK);var Qo=function(t){return t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED",t}(Qo||{}),k1=function(){function t(e){var r=this;this._state=Qo.PENDING,this._handlers=[],this._resolve=function(n){r._setResult(Qo.RESOLVED,n)},this._reject=function(n){r._setResult(Qo.REJECTED,n)},this._setResult=function(n,i){if(r._state===Qo.PENDING){if(bm(i)){i.then(r._resolve,r._reject);return}r._state=n,r._value=i,r._executeHandlers()}},this._attachHandler=function(n){r._handlers=r._handlers.concat(n),r._executeHandlers()},this._executeHandlers=function(){if(r._state!==Qo.PENDING){var n=r._handlers.slice();r._handlers=[],n.forEach(function(i){i.done||(r._state===Qo.RESOLVED&&i.onfulfilled&&i.onfulfilled(r._value),r._state===Qo.REJECTED&&i.onrejected&&i.onrejected(r._value),i.done=!0)})}};try{e(this._resolve,this._reject)}catch(n){this._reject(n)}}return t.resolve=function(e){return new t(function(r){r(e)})},t.reject=function(e){return new t(function(r,n){n(e)})},t.all=function(e){return new t(function(r,n){if(!Array.isArray(e)){n(new TypeError("Promise.all requires an array as input."));return}if(e.length===0){r([]);return}var i=e.length,o=[];e.forEach(function(s,c){t.resolve(s).then(function(l){o[c]=l,i-=1,i===0&&r(o)}).then(null,n)})})},t.prototype.then=function(e,r){var n=this;return new t(function(i,o){n._attachHandler({done:!1,onfulfilled:function(s){if(!e){i(s);return}try{i(e(s));return}catch(c){o(c);return}},onrejected:function(s){if(!r){o(s);return}try{i(r(s));return}catch(c){o(c);return}}})})},t.prototype.catch=function(e){return this.then(function(r){return r},e)},t.prototype.finally=function(e){var r=this;return new t(function(n,i){var o,s;return r.then(function(c){s=!1,o=c,e&&e()},function(c){s=!0,o=c,e&&e()}).then(function(){if(s){i(o);return}n(o)})})},t.prototype.toString=function(){return"[object SyncPromise]"},t}();var rx={nowSeconds:function(){return Date.now()/1e3}};function BK(){var t=Vr().performance;if(!(!t||!t.now)){var e=Date.now()-t.now();return{now:function(){return t.now()},timeOrigin:e}}}function UK(){try{var t=M1(module,"perf_hooks");return t.performance}catch{return}}var nx=Fc()?UK():BK(),R1=nx===void 0?rx:{nowSeconds:function(){return(nx.timeOrigin+nx.now())/1e3}},ym=rx.nowSeconds.bind(rx),yNe=R1.nowSeconds.bind(R1);var _Ne=function(){var t=Vr().performance;if(t)return t.timeOrigin?t.timeOrigin:t.timing&&t.timing.navigationStart||Date.now()}();var Qi=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return t.clone=function(e){var r=new t;return e&&(r._breadcrumbs=Xi(e._breadcrumbs),r._tags=ne({},e._tags),r._extra=ne({},e._extra),r._contexts=ne({},e._contexts),r._user=e._user,r._level=e._level,r._span=e._span,r._session=e._session,r._transactionName=e._transactionName,r._fingerprint=e._fingerprint,r._eventProcessors=Xi(e._eventProcessors)),r},t.prototype.addScopeListener=function(e){this._scopeListeners.push(e)},t.prototype.addEventProcessor=function(e){return this._eventProcessors.push(e),this},t.prototype.setUser=function(e){return this._user=e||{},this._session&&this._session.update({user:e}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.setTags=function(e){return this._tags=ne(ne({},this._tags),e),this._notifyScopeListeners(),this},t.prototype.setTag=function(e,r){var n;return this._tags=ne(ne({},this._tags),(n={},n[e]=r,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(e){return this._extra=ne(ne({},this._extra),e),this._notifyScopeListeners(),this},t.prototype.setExtra=function(e,r){var n;return this._extra=ne(ne({},this._extra),(n={},n[e]=r,n)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(e){return this._fingerprint=e,this._notifyScopeListeners(),this},t.prototype.setLevel=function(e){return this._level=e,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(e){return this._transactionName=e,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(e){return this.setTransactionName(e)},t.prototype.setContext=function(e,r){var n;return r===null?delete this._contexts[e]:this._contexts=ne(ne({},this._contexts),(n={},n[e]=r,n)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(e){return this._span=e,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var e,r,n,i,o=this.getSpan();if(!((e=o)===null||e===void 0)&&e.transaction)return(r=o)===null||r===void 0?void 0:r.transaction;if(!((i=(n=o)===null||n===void 0?void 0:n.spanRecorder)===null||i===void 0)&&i.spans[0])return o.spanRecorder.spans[0]},t.prototype.setSession=function(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if(typeof e=="function"){var r=e(this);return r instanceof t?r:this}return e instanceof t?(this._tags=ne(ne({},this._tags),e._tags),this._extra=ne(ne({},this._extra),e._extra),this._contexts=ne(ne({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint)):vm(e)&&(e=e,this._tags=ne(ne({},this._tags),e.tags),this._extra=ne(ne({},this._extra),e.extra),this._contexts=ne(ne({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(e,r){var n=ne({timestamp:ym()},e);return this._breadcrumbs=r!==void 0&&r>=0?Xi(this._breadcrumbs,[n]).slice(-r):Xi(this._breadcrumbs,[n]),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(e,r){var n;if(this._extra&&Object.keys(this._extra).length&&(e.extra=ne(ne({},this._extra),e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=ne(ne({},this._tags),e.tags)),this._user&&Object.keys(this._user).length&&(e.user=ne(ne({},this._user),e.user)),this._contexts&&Object.keys(this._contexts).length&&(e.contexts=ne(ne({},this._contexts),e.contexts)),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts=ne({trace:this._span.getTraceContext()},e.contexts);var i=(n=this._span.transaction)===null||n===void 0?void 0:n.name;i&&(e.tags=ne({transaction:i},e.tags))}return this._applyFingerprint(e),e.breadcrumbs=Xi(e.breadcrumbs||[],this._breadcrumbs),e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,this._notifyEventProcessors(Xi(O1(),this._eventProcessors),e,r)},t.prototype._notifyEventProcessors=function(e,r,n,i){var o=this;return i===void 0&&(i=0),new k1(function(s,c){var l=e[i];if(r===null||typeof l!="function")s(r);else{var u=l(ne({},r),n);bm(u)?u.then(function(d){return o._notifyEventProcessors(e,d,n,i+1).then(s)}).then(null,c):o._notifyEventProcessors(e,u,n,i+1).then(s).then(null,c)}})},t.prototype._notifyScopeListeners=function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
1h(function(r){r(e)}),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint},t}();function O1(){var t=Vr();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function Br(t){O1().push(t)}var N1=function(){function t(e){this.errors=0,this.sid=Xs(),this.timestamp=Date.now(),this.started=Date.now(),this.duration=0,this.status=Xo.Ok,e&&this.update(e)}return t.prototype.update=function(e){e===void 0&&(e={}),e.user&&(e.user.ip_address&&(this.ipAddress=e.user.ip_address),e.did||(this.did=e.user.id||e.user.email||e.user.username)),this.timestamp=e.timestamp||Date.now(),e.sid&&(this.sid=e.sid.length===32?e.sid:Xs()),e.did&&(this.did=""+e.did),typeof e.started=="number"&&(this.started=e.started),typeof e.duration=="number"?this.duration=e.duration:this.duration=this.timestamp-this.started,e.release&&(this.release=e.release),e.environment&&(this.environment=e.environment),e.ipAddress&&(this.ipAddress=e.ipAddress),e.userAgent&&(this.userAgent=e.userAgent),typeof e.errors=="number"&&(this.errors=e.errors),e.status&&(this.status=e.status)},t.prototype.close=function(e){e?this.update({status:e}):this.status===Xo.Ok?this.update({status:Xo.Exited}):this.update()},t.prototype.toJSON=function(){return Mu({sid:""+this.sid,init:!0,started:new Date(this.started).toISOString(),timestamp:new Date(this.timestamp).toISOString(),status:this.status,errors:this.errors,did:typeof this.did=="number"||typeof this.did=="string"?""+this.did:void 0,duration:this.duration,attrs:Mu({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},t}();var ix=3,HK=100,$K=100,jc=function(){function t(e,r,n){r===void 0&&(r=new Qi),n===void 0&&(n=ix),this._version=n,this._stack=[{}],this.getStackTop().scope=r,this.bindClient(e)}return t.prototype.isOlderThan=function(e){return this._version<e},t.prototype.bindClient=function(e){var r=this.getStackTop();r.client=e,e&&e.setupIntegrations&&e.setupIntegrations()},t.prototype.pushScope=function(){var e=Qi.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e},t.prototype.popScope=function(){return this.getStack().length<=1?!1:!!this.getStack().pop()},t.prototype.withScope=function(e){var r=this.pushScope();try{e(r)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(e,r){var n=this._lastEventId=Xs(),i=r;if(!r){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(s){o=s}i={originalException:e,syntheticException:o}}return this._invokeClient("captureException",e,ne(ne({},i),{event_id:n})),n},t.prototype.captureMessage=function(e,r,n){var i=this._lastEventId=Xs(),o=n;if(!n){var s=void 0;try{throw new Error(e)}catch(c){s=c}o={originalException:e,syntheticException:s}}return this._invokeClient("captureMessage",e,r,ne(ne({},o),{event_id:i})),i},t.prototype.captureEvent=function(e,r){var n=this._lastEventId=Xs();return this._invokeClient("captureEvent",e,ne(ne({},r),{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(e,r){var n=this.getStackTop(),i=n.scope,o=n.client;if(!(!i||!o)){var s=o.getOptions&&o.getOptions()||{},c=s.beforeBreadcrumb,l=c===void 0?null:c,u=s.maxBreadcrumbs,d=u===void 0?HK:u;if(!(d<=0)){var f=ym(),h=ne({timestamp:f},e),m=l?Lc(function(){return l(h,r)}):h;m!==null&&i.addBreadcrumb(m,Math.min(d,$K))}}},t.prototype.setUser=function(e){var r=this.getScope();r&&r.setUser(e)},t.prototype.setTags=function(e){var r=this.getScope();r&&r.setTags(e)},t.prototype.setExtras=function(e){var r=this.getScope();r&&r.setExtras(e)},t.prototype.setTag=function(e,r){var n=this.getScope();n&&n.setTag(e,r)},t.prototype.setExtra=function(e,r){var n=this.getScope();n&&n.setExtra(e,r)},t.prototype.setContext=function(e,r){var n=this.getScope();n&&n.setContext(e,r)},t.prototype.configureScope=function(e){var r=this.getStackTop(),n=r.scope,i=r.client;n&&i&&e(n)},t.prototype.run=function(e){var r=ku(this);try{e(this)}finally{ku(r)}},t.prototype.getIntegration=function(e){var r=this.getClient();if(!r)return null;try{return r.getIntegration(e)}catch{return tx.warn("Cannot retrieve integration "+e.id+" from the current Hub"),null}},t.prototype.startSpan=function(e){return this._callExtensionMethod("startSpan",e)},t.prototype.startTransaction=function(e,r){return this._callExtensionMethod("startTransaction",e,r)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.startSession=function(e){this.endSession();var r=this.getStackTop(),n=r.scope,i=r.client,o=i&&i.getOptions()||{},s=o.release,c=o.environment,l=new N1(ne(ne({release:s,environment:c},n&&{user:n.getUser()}),e));return n&&n.setSession(l),l},t.prototype.endSession=function(){var e=this.getStackTop(),r=e.scope,n=e.client;if(r){var i=r.getSession&&r.getSession();i&&(i.close(),n&&n.captureSession&&n.captureSession(i),r.setSession())}},t.prototype._invokeClient=function(e){for(var r,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var o=this.getStackTop(),s=o.scope,c=o.client;c&&c[e]&&(r=c)[e].apply(r,Xi(n,[s]))},t.prototype._callExtensionMethod=function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=Ru(),o=i.__SENTRY__;if(o&&o.extensions&&typeof o.extensions[e]=="function")return o.extensions[e].apply(this,r);tx.warn("Extension method "+e+" couldn't be found, doing nothing.")},t}();function Ru(){var t=Vr();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function ku(t){var e=Ru(),r=Ur(e);return _m(e,t),r}function Le(){var t=Ru();return(!F1(t)||Ur(t).isOlderThan(ix))&&_m(t,new jc),Fc()?zK(t):Ur(t)}function P1(){var t=Ru().__SENTRY__;return t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active}function zK(t){try{var e=P1();if(!e)return Ur(t);if(!F1(e)||Ur(e).isOlderThan(ix)){var r=Ur(t).getStackTop();_m(e,new jc(r.client,Qi.clone(r.scope)))}return Ur(e)}catch{return Ur(t)}}function F1(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function Ur(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new jc),t.__SENTRY__.hub}function _m(t,e){return t?(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0):!1}function ox(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=Le();if(n&&n[t])return n[t].apply(n,T1(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function Vc(t,e){var r;try{throw new Error("Sentry syntheticException")}catch(n){r=n}return ox("captureException",t,{captureContext:e,originalException:t,syntheticException:r})}function L1(t){ox("configureScope",t)}function xm(t){ox("withScope",t)}function j1(t){switch(Object.prototype.toString.call(t)){case"[object Error]":return!0;
1case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return Nu(t,Error)}}function Em(t){return Object.prototype.toString.call(t)==="[object String]"}function Ou(t){return t===null||typeof t!="object"&&typeof t!="function"}function V1(t){return Object.prototype.toString.call(t)==="[object Object]"}function B1(t){return typeof Event<"u"&&Nu(t,Event)}function sx(t){return typeof Element<"u"&&Nu(t,Element)}function U1(t){return Object.prototype.toString.call(t)==="[object RegExp]"}function wm(t){return!!(t&&t.then&&typeof t.then=="function")}function H1(t){return V1(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function Nu(t,e){try{return t instanceof e}catch{return!1}}function ax(t){try{for(var e=t,r=5,n=80,i=[],o=0,s=0,c=" > ",l=c.length,u=void 0;e&&o++<r&&(u=WK(e),!(u==="html"||o>1&&s+i.length*l+u.length>=n));)i.push(u),s+=u.length,e=e.parentNode;return i.reverse().join(c)}catch{return"<unknown>"}}function WK(t){var e=t,r=[],n,i,o,s,c;if(!e||!e.tagName)return"";if(r.push(e.tagName.toLowerCase()),e.id&&r.push("#"+e.id),n=e.className,n&&Em(n))for(i=n.split(/\s+/),c=0;c<i.length;c++)r.push("."+i[c]);var l=["type","name","title","alt"];for(c=0;c<l.length;c++)o=l[c],s=e.getAttribute(o),s&&r.push("["+o+'="'+s+'"]');return r.join("")}var cx=function(t,e){return cx=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i])},cx(t,e)};function $1(t,e){cx(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Mn=function(){return Mn=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Mn.apply(this,arguments)};function z1(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function W1(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.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(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function lx(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(c){s={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function Jo(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(lx(arguments[e]));return t}var G1=Object.setPrototypeOf||({__proto__:[]}instanceof Array?GK:qK);function GK(t,e){return t.__proto__=e,t}function qK(t,e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r]);return t}var At=function(t){$1(e,t);function e(r){var n=this.constructor,i=t.call(this,r)||this;return i.message=r,i.name=n.prototype.constructor.name,G1(i,n.prototype),i}return e}(Error);var YK=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,Pu="Invalid Dsn",Dm=function(){function t(e){typeof e=="string"?this._fromString(e):this._fromComponents(e),this._validate()}return t.prototype.toString=function(e){e===void 0&&(e=!1);var r=this,n=r.host,i=r.path,o=r.pass,s=r.port,c=r.projectId,l=r.protocol,u=r.user;return l+"://"+u+(e&&o?":"+o:"")+("@"+n+(s?":"+s:"")+"/"+(i&&i+"/")+c)},t.prototype._fromString=function(e){var r=YK.exec(e);if(!r)throw new At(Pu);var n=lx(r.slice(1),6),i=n[0],o=n[1],s=n[2],c=s===void 0?"":s,l=n[3],u=n[4],d=u===void 0?"":u,f=n[5],h="",m=f,g=m.split("/");if(g.length>1&&(h=g.slice(0,-1).join("/"),m=g.pop()),m){var _=m.match(/^\d+/);_&&(m=_[0])}this._fromComponents({host:l,pass:c,path:h,projectId:m,port:d,protocol:i,user:o})},t.prototype._fromComponents=function(e){this.protocol=e.protocol,this.user=e.user,this.pass=e.pass||"",this.host=e.host,this.port=e.port||"",this.path=e.path||"",this.projectId=e.projectId},t.prototype._validate=function(){var e=this;if(["protocol","user","host","projectId"].forEach(function(r){if(!e[r])throw new At(Pu+": "+r+" missing")}),!this.projectId.match(/^\d+$/))throw new At(Pu+": Invalid projectId "+this.projectId);if(this.protocol!=="http"&&this.protocol!=="https")throw new At(Pu+": Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new At(Pu+": Invalid port "+this.port)},t}();var q1=function(){function t(){this._hasWeakSet=typeof WeakSet=="function",this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(e){if(this._hasWeakSet)return this._inner.has(e)?!0:(this._inner.add(e),!1);for(var r=0;r<this._inner.length;r++){var n=this._inner[r];if(n===e)return!0}return this._inner.push(e),!1},t.prototype.unmemoize=function(e){if(this._hasWeakSet)this._inner.delete(e);else for(var r=0;r<this._inner.length;r++)if(this._inner[r]===e){this._inner.splice(r,1);break}},t}();var ux="<anonymous>";function Y1(t){try{return!t||typeof t!="function"?ux:t.name||ux}catch{return ux}}function Cm(t,e){return e===void 0&&(e=0),typeof t!="string"||e===0||t.length<=e?t:t.substr(0,e)+"..."}function Im(t,e){return Em(t)?U1(e)?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1:!1}function Z1(t){return Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")}function ZK(t){if(j1(t)){var e=t,r={message:e.message,name:e.name,stack:e.stack};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}if(B1(t)){var i=t,o={};o.type=i.type;try{o.target=sx(i.target)?ax(i.target):Object.prototype.toString.call(i.target)}catch{o.target="<unknown>"}try{o.currentTarget=sx(i.currentTarget)?ax(i.currentTarget):Object.prototype.toString.call(i.currentTarget)}catch{o.currentTarget="<unknown>"}typeof CustomEvent<"u"&&Nu(t,CustomEvent)&&(o.detail=i.detail);for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(o[n]=i);return o}return t}function KK(t){var e=Object.prototype.toString.call(t);if(typeof t=="string")return t;if(e==="[object Object]")return"[Object]";if(e==="[object Array]")return"[Array]";var r=K1(t);return Ou(r)?r:e}function K1(t,e){return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global<"u"&&t===global?"[Global]":typeof window<"u"&&t===window?"[Window]":typeof document<"u"&&t===document?"[Document]":H1(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?"[Function: "+Y1(t)+"]":typeof t=="symbol"?"["+String(t)+"]":typeof t=="bigint"?"[BigInt: "+String(t)+"]":t}function X1(t,e,r,n){if(r===void 0&&(r=1/0),n===void 0&&(n=new q1),r===0)return KK(e);if(e!=null&&typeof e.toJSON=="function")return e.toJSON();var i=K1(e,t);if(Ou(i))return i;var o=ZK(e),s=Array.isArray(e)?[]:{};if(n.memoize(e))return"[Circular ~]";for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(s[c]=X1(c,o[c],r-1,n));return n.unmemoize(e),s}function Fu(t,e){try{return JSON.parse(JSON.stringify(t,function(r,n){return X1(r,n,e)}))}catch{return"**non-serializable**"}}function Sm(){return Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Q1(t,e){return t.require(e)}var XK={};function Js(){return Sm()?global:typeof window<"u"?window:typeof self<"u"?self:XK}function J1(){var t=Js(),e=t.crypto||t.msCrypto;
vendor: 4,205 bytes, line 1
1if(e!==void 0&&e.getRandomValues){var r=new Uint16Array(8);e.getRandomValues(r),r[3]=r[3]&4095|16384,r[4]=r[4]&16383|32768;var n=function(i){for(var o=i.toString(16);o.length<4;)o="0"+o;return o};return n(r[0])+n(r[1])+n(r[2])+n(r[3])+n(r[4])+n(r[5])+n(r[6])+n(r[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(i){var o=Math.random()*16|0,s=i==="x"?o:o&3|8;return s.toString(16)})}function ea(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}function Tm(t){var e=Js(),r=["debug","info","warn","error","log","assert"];if(!("console"in e))return t();var n=e.console,i={};r.forEach(function(s){s in e.console&&n[s].__sentry_original__&&(i[s]=n[s],n[s]=n[s].__sentry_original__)});var o=t();return Object.keys(i).forEach(function(s){n[s]=i[s]}),o}var dPe=60*1e3;var ta=Js(),dx="Sentry Logger ",QK=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this._enabled&&Tm(function(){ta.console.log(dx+"[Log]: "+e.join(" "))})},t.prototype.warn=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this._enabled&&Tm(function(){ta.console.warn(dx+"[Warn]: "+e.join(" "))})},t.prototype.error=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this._enabled&&Tm(function(){ta.console.error(dx+"[Error]: "+e.join(" "))})},t}();ta.__SENTRY__=ta.__SENTRY__||{};var gt=ta.__SENTRY__.logger||(ta.__SENTRY__.logger=new QK);var es=function(t){return t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED",t}(es||{}),ts=function(){function t(e){var r=this;this._state=es.PENDING,this._handlers=[],this._resolve=function(n){r._setResult(es.RESOLVED,n)},this._reject=function(n){r._setResult(es.REJECTED,n)},this._setResult=function(n,i){if(r._state===es.PENDING){if(wm(i)){i.then(r._resolve,r._reject);return}r._state=n,r._value=i,r._executeHandlers()}},this._attachHandler=function(n){r._handlers=r._handlers.concat(n),r._executeHandlers()},this._executeHandlers=function(){if(r._state!==es.PENDING){var n=r._handlers.slice();r._handlers=[],n.forEach(function(i){i.done||(r._state===es.RESOLVED&&i.onfulfilled&&i.onfulfilled(r._value),r._state===es.REJECTED&&i.onrejected&&i.onrejected(r._value),i.done=!0)})}};try{e(this._resolve,this._reject)}catch(n){this._reject(n)}}return t.resolve=function(e){return new t(function(r){r(e)})},t.reject=function(e){return new t(function(r,n){n(e)})},t.all=function(e){return new t(function(r,n){if(!Array.isArray(e)){n(new TypeError("Promise.all requires an array as input."));return}if(e.length===0){r([]);return}var i=e.length,o=[];e.forEach(function(s,c){t.resolve(s).then(function(l){o[c]=l,i-=1,i===0&&r(o)}).then(null,n)})})},t.prototype.then=function(e,r){var n=this;return new t(function(i,o){n._attachHandler({done:!1,onfulfilled:function(s){if(!e){i(s);return}try{i(e(s));return}catch(c){o(c);return}},onrejected:function(s){if(!r){o(s);return}try{i(r(s));return}catch(c){o(c);return}}})})},t.prototype.catch=function(e){return this.then(function(r){return r},e)},t.prototype.finally=function(e){var r=this;return new t(function(n,i){var o,s;return r.then(function(c){s=!1,o=c,e&&e()},function(c){s=!0,o=c,e&&e()}).then(function(){if(s){i(o);return}n(o)})})},t.prototype.toString=function(){return"[object SyncPromise]"},t}();var px={nowSeconds:function(){return Date.now()/1e3}};function JK(){var t=Js().performance;if(!(!t||!t.now)){var e=Date.now()-t.now();return{now:function(){return t.now()},timeOrigin:e}}}function eX(){try{var t=Q1(module,"perf_hooks");return t.performance}catch{return}}var fx=Sm()?eX():JK(),eN=fx===void 0?px:{nowSeconds:function(){return(fx.timeOrigin+fx.now())/1e3}},tN=px.nowSeconds.bind(px),yPe=eN.nowSeconds.bind(eN);var _Pe=function(){var t=Js().performance;if(t)return t.timeOrigin?t.timeOrigin:t.timing&&t.timing.navigationStart||Date.now()}();var nN="7",Lu=function(){function t(e){this.dsn=e,this._dsnObject=ne
1w Dm(e)}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.getBaseApiEndpoint=function(){var e=this._dsnObject,r=e.protocol?e.protocol+":":"",n=e.port?":"+e.port:"";return r+"//"+e.host+n+(e.path?"/"+e.path:"")+"/api/"},t.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},t.prototype.getStoreEndpointPath=function(){var e=this._dsnObject;return(e.path?"/"+e.path:"")+"/api/"+e.projectId+"/store/"},t.prototype.getRequestHeaders=function(e,r){var n=this._dsnObject,i=["Sentry sentry_version="+nN];return i.push("sentry_client="+e+"/"+r),i.push("sentry_key="+n.user),n.pass&&i.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":i.join(", ")}},t.prototype.getReportDialogEndpoint=function(e){e===void 0&&(e={});var r=this._dsnObject,n=this.getBaseApiEndpoint()+"embed/error-page/",i=[];i.push("dsn="+r.toString());for(var o in e)if(o!=="dsn")if(o==="user"){if(!e.user)continue;e.user.name&&i.push("name="+encodeURIComponent(e.user.name)),e.user.email&&i.push("email="+encodeURIComponent(e.user.email))}else i.push(encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return i.length?n+"?"+i.join("&"):n},t.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},t.prototype._getIngestEndpoint=function(e){var r=this.getBaseApiEndpoint(),n=this._dsnObject;return""+r+n.projectId+"/"+e+"/"},t.prototype._encodedAuth=function(){var e=this._dsnObject,r={sentry_key:e.user,sentry_version:nN};return Z1(r)},t}();var rN=[];function tX(t){var e=t.defaultIntegrations&&Jo(t.defaultIntegrations)||[],r=t.integrations,n=[];if(Array.isArray(r)){var i=r.map(function(l){return l.name}),o=[];e.forEach(function(l){i.indexOf(l.name)===-1&&o.indexOf(l.name)===-1&&(n.push(l),o.push(l.name))}),r.forEach(function(l){o.indexOf(l.name)===-1&&(n.push(l),o.push(l.name))})}else typeof r=="function"?(n=r(e),n=Array.isArray(n)?n:[n]):n=Jo(e);var s=n.map(function(l){return l.name}),c="Debug";return s.indexOf(c)!==-1&&n.push.apply(n,Jo(n.splice(s.indexOf(c),1))),n}function nX(t){rN.indexOf(t.name)===-1&&(t.setupOnce(Br,Le),rN.push(t.name),gt.log("Integration installed: "+t.name))}function iN(t){var e={};return tX(t).forEach(function(r){e[r.name]=r,nX(r)}),e}var hx=function(){function t(e,r){this._integrations={},this._processing=0,this._backend=new e(r),this._options=r,r.dsn&&(this._dsn=new Dm(r.dsn))}return t.prototype.captureException=function(e,r,n){var i=this,o=r&&r.event_id;return this._process(this._getBackend().eventFromException(e,r).then(function(s){return i._captureEvent(s,r,n)}).then(function(s){o=s})),o},t.prototype.captureMessage=function(e,r,n,i){var o=this,s=n&&n.event_id,c=Ou(e)?this._getBackend().eventFromMessage(String(e),r,n):this._getBackend().eventFromException(e,n);return this._process(c.then(function(l){return o._captureEvent(l,n,i)}).then(function(l){s=l})),s},t.prototype.captureEvent=function(e,r,n){var i=r&&r.event_id;return this._process(this._captureEvent(e,r,n).then(function(o){i=o})),i},t.prototype.captureSession=function(e){e.release?this._sendSession(e):gt.warn("Discarded session because of missing release")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.flush=function(e){var r=this;return this._isClientProcessing(e).then(function(n){return r._getBackend().getTransport().close(e).then(function(i){return n&&i})})},t.prototype.close=function(e){var r=this;return this.flush(e).then(function(n){return r.getOptions().enabled=!1,n})},t.prototype.setupIntegrations=function(){this._isEnabled()&&(this._integrations=iN(this._options))},t.prototype.getIntegration=function(e){try{return this._integrations[e.id]||null}catch{return gt.warn("Cannot retrieve integration "+e.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(e,r){var n,i,o=!1,s=!1,c,l=r.exception&&r.exception.values;if(l){s=!0;try{for(var u=W1(l),d=u.next();!d.done;d=u.next()){var f=d.value,h=f.mechanism;if(h&&h.handled===!1){o=!0;break}}}catch(x){n={error:x}}finally{try{d&&!d.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}var m=r.user;if(!e.userAgent){var g=r.request?r.request.headers:{};for(var _ in g)if(_.toLowerCase()==="user-agent"){c=g[_];break}}e.update(Mn(Mn({},o&&{status:Xo.Crashed}),{user:m,userAgent:c,errors:e.errors+Number(s||o)}))},t.prototype._sendSession=function(e){this._getBackend().sendSession(e)},t.prototype._isClientProcessing=function(e){var r=this;return new ts(function(n){var i=0,o=1,s=setInterval(function(){r._processing==0?(clearInterval(s),n(!0)):(i+=o,e&&i>=e&&(clearInterval(s),n(!1)))},o)})},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return this.getOptions().enabled!==!1&&this._dsn!==void 0},t.prototype._prepareEvent=function(e,r,n){var i=this,o=this.getOptions().normalizeDepth,s=o===void 0?3:o,c=Mn(Mn({}
1,e),{event_id:e.event_id||(n&&n.event_id?n.event_id:J1()),timestamp:e.timestamp||tN()});this._applyClientOptions(c),this._applyIntegrationsMetadata(c);var l=r;n&&n.captureContext&&(l=Qi.clone(l).update(n.captureContext));var u=ts.resolve(c);return l&&(u=l.applyToEvent(c,n)),u.then(function(d){return typeof s=="number"&&s>0?i._normalizeEvent(d,s):d})},t.prototype._normalizeEvent=function(e,r){if(!e)return null;var n=Mn(Mn(Mn(Mn(Mn({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(function(i){return Mn(Mn({},i),i.data&&{data:Fu(i.data,r)})})}),e.user&&{user:Fu(e.user,r)}),e.contexts&&{contexts:Fu(e.contexts,r)}),e.extra&&{extra:Fu(e.extra,r)});return e.contexts&&e.contexts.trace&&(n.contexts.trace=e.contexts.trace),n},t.prototype._applyClientOptions=function(e){var r=this.getOptions(),n=r.environment,i=r.release,o=r.dist,s=r.maxValueLength,c=s===void 0?250:s;"environment"in e||(e.environment="environment"in r?n:"production"),e.release===void 0&&i!==void 0&&(e.release=i),e.dist===void 0&&o!==void 0&&(e.dist=o),e.message&&(e.message=Cm(e.message,c));var l=e.exception&&e.exception.values&&e.exception.values[0];l&&l.value&&(l.value=Cm(l.value,c));var u=e.request;u&&u.url&&(u.url=Cm(u.url,c))},t.prototype._applyIntegrationsMetadata=function(e){var r=e.sdk,n=Object.keys(this._integrations);r&&n.length>0&&(r.integrations=n)},t.prototype._sendEvent=function(e){this._getBackend().sendEvent(e)},t.prototype._captureEvent=function(e,r,n){return this._processEvent(e,r,n).then(function(i){return i.event_id},function(i){gt.error(i)})},t.prototype._processEvent=function(e,r,n){var i=this,o=this.getOptions(),s=o.beforeSend,c=o.sampleRate;if(!this._isEnabled())return ts.reject(new At("SDK not enabled, will not send event."));var l=e.type==="transaction";return!l&&typeof c=="number"&&Math.random()>c?ts.reject(new At("Discarding event because it's not included in the random sample (sampling rate = "+c+")")):this._prepareEvent(e,n,r).then(function(u){if(u===null)throw new At("An event processor returned null, will not send event.");var d=r&&r.data&&r.data.__sentry__===!0;if(d||l||!s)return u;var f=s(u,r);if(typeof f>"u")throw new At("`beforeSend` method has to return `null` or a valid event.");return wm(f)?f.then(function(h){return h},function(h){throw new At("beforeSend rejected with "+h)}):f}).then(function(u){if(u===null)throw new At("`beforeSend` returned `null`, will not send event.");var d=n&&n.getSession&&n.getSession();return!l&&d&&i._updateSessionFromEvent(d,u),i._sendEvent(u),u}).then(null,function(u){throw u instanceof At?u:(i.captureException(u,{data:{__sentry__:!0},originalException:u}),new At("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+u))})},t.prototype._process=function(e){var r=this;this._processing+=1,e.then(function(n){return r._processing-=1,n},function(n){return r._processing-=1,n})},t}();var oN=function(){function t(){}return t.prototype.sendEvent=function(e){return ts.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:Ki.Skipped})},t.prototype.close=function(e){return ts.resolve(!0)},t}();var mx=function(){function t(e){this._options=e,this._options.dsn||gt.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(e,r){throw new At("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(e,r,n){throw new At("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(e){this._transport.sendEvent(e).then(null,function(r){gt.error("Error while sending event: "+r)})},t.prototype.sendSession=function(e){if(!this._transport.sendSession){gt.warn("Dropping session because custom transport doesn't implement sendSession");return}this._transport.sendSession(e).then(null,function(r){gt.error("Error while sending session: "+r)})},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new oN},t}();function ju(t,e){var r=JSON.stringify({sent_at:new Date().toISOString()}),n=JSON.stringify({type:"session"});return{body:r+"\n"+n+"\n"+JSON.stringify(t),type:"session",url:e.getEnvelopeEndpointWithUrlEncodedAuth()}}function Vu(t,e){var r=t.tags||{},n=r.__sentry_samplingMethod,i=r.__sentry_sampleRate,o=z1(r,["__sentry_samplingMethod","__sentry_sampleRate"]);t.tags=o;var s=t.type==="transaction",c={body:JSON.stringify(t),type:t.type||"event",url:s?e.getEnvelopeEndpointWithUrlEncodedAuth():e.getStoreEndpointWithUrlEncodedAuth()};if(s){var l=JSON.stringify({event_id:t.event_id,sent_at:new Date().toISOString()}),u=JSON.stringify({type:t.type,sample_rates:[{id:n,rate:i}]}),d=l+"\n"+u+"\n"+c.body;c.body=d}return c}function gx(t,e){e.debug===!0&>.enable();var r=Le(),n=new t(e);r.bindClient(n)}var Bu={};cP(Bu,{FunctionToString:()=>aN,InboundFilters:()=>cN}
1);var sN,aN=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){sN=Function.prototype.toString,Function.prototype.toString=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=this.__sentry_original__||this;return sN.apply(n,e)}},t.id="FunctionToString",t}();var rX=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],cN=function(){function t(e){e===void 0&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(){Br(function(e){var r=Le();if(!r)return e;var n=r.getIntegration(t);if(n){var i=r.getClient(),o=i?i.getOptions():{},s=n._mergeOptions(o);if(n._shouldDropEvent(e,s))return null}return e})},t.prototype._shouldDropEvent=function(e,r){return this._isSentryError(e,r)?(gt.warn("Event dropped due to being internal Sentry Error.\nEvent: "+ea(e)),!0):this._isIgnoredError(e,r)?(gt.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+ea(e)),!0):this._isDeniedUrl(e,r)?(gt.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+ea(e)+".\nUrl: "+this._getEventFilterUrl(e)),!0):this._isAllowedUrl(e,r)?!1:(gt.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+ea(e)+".\nUrl: "+this._getEventFilterUrl(e)),!0)},t.prototype._isSentryError=function(e,r){if(!r.ignoreInternal)return!1;try{return e&&e.exception&&e.exception.values&&e.exception.values[0]&&e.exception.values[0].type==="SentryError"||!1}catch{return!1}},t.prototype._isIgnoredError=function(e,r){return!r.ignoreErrors||!r.ignoreErrors.length?!1:this._getPossibleEventMessages(e).some(function(n){return r.ignoreErrors.some(function(i){return Im(n,i)})})},t.prototype._isDeniedUrl=function(e,r){if(!r.denyUrls||!r.denyUrls.length)return!1;var n=this._getEventFilterUrl(e);return n?r.denyUrls.some(function(i){return Im(n,i)}):!1},t.prototype._isAllowedUrl=function(e,r){if(!r.allowUrls||!r.allowUrls.length)return!0;var n=this._getEventFilterUrl(e);return n?r.allowUrls.some(function(i){return Im(n,i)}):!0},t.prototype._mergeOptions=function(e){return e===void 0&&(e={}),{allowUrls:Jo(this._options.whitelistUrls||[],this._options.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:Jo(this._options.blacklistUrls||[],this._options.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:Jo(this._options.ignoreErrors||[],e.ignoreErrors||[],rX),ignoreInternal:typeof this._options.ignoreInternal<"u"?this._options.ignoreInternal:!0}},t.prototype._getPossibleEventMessages=function(e){if(e.message)return[e.message];if(e.exception)try{var r=e.exception.values&&e.exception.values[0]||{},n=r.type,i=n===void 0?"":n,o=r.value,s=o===void 0?"":o;return[""+s,i+": "+s]}catch{return gt.error("Cannot extract message for event "+ea(e)),[]}return[]},t.prototype._getEventFilterUrl=function(e){try{if(e.stacktrace){var r=e.stacktrace.frames;return r&&r[r.length-1].filename||null}if(e.exception){var n=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return n&&n[n.length-1].filename||null}return null}catch{return gt.error("Cannot extract url for event "+ea(e)),null}},t.id="InboundFilters",t}();function Am(t){switch(Object.prototype.toString.call(t)){case"[object Error]":return!0;case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return Hr(t,Error)}}function Mm(t){return Object.prototype.toString.call(t)==="[object ErrorEvent]"}function vx(t){return Object.prototype.toString.call(t)==="[object DOMError]"}function lN(t){return Object.prototype.toString.call(t)==="[object DOMException]"}function ns(t){return Object.prototype.toString.call(t)==="[object String]"}function Bc(t){return t===null||typeof t!="object"&&typeof t!="function"}function km(t){return Object.prototype.toString.call(t)==="[object Object]"}function Uc(t){return typeof Event<"u"&&Hr(t,Event)}function bx(t){return typeof Element<"u"&&Hr(t,Element)}function uN(t){return!!(t&&t.then&&typeof t.then=="function")}function dN(t){return km(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function Hr(t,e){try{return t instanceof e}catch{return!1}}function Hc(t){try{for(var e=t,r=5,n=80,i=[],o=0,s=0,c=" > ",l=c.length,u=void 0;e&&o++<r&&(u=hX(e),!(u==="html"||o>1&&s+i.length*l+u.length>=n));)i.push(u),s+=u.length,e=e.parentNode;return i.reverse().join(c)}catch{return"<unknown>"}}function hX(t){var e=t,r=[],n,i,o,s,c;if(!e||!e.tagName)return"";if(r.push(e.tagName.toLowerCase()),e.id&&r.push("#"+e.id),n=e.className,n&&ns(n))for(i=n.split(/\s+/),c=0;c<i.length;c++)r.push("."+i[c]);var l=["type","name","title","alt"];for(c=0;c<l.length;c++)o=l[c],s=e.getAttribute(o),s&&r.push("["+o+'="'+s+'"]');return r.join("")}
1var fN=Object.setPrototypeOf||({__proto__:[]}instanceof Array?mX:gX);function mX(t,e){return t.__proto__=e,t}function gX(t,e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r]);return t}var Rm=function(t){vi(e,t);function e(r){var n=this.constructor,i=t.call(this,r)||this;return i.message=r,i.name=n.prototype.constructor.name,fN(i,n.prototype),i}return e}(Error);var pN=function(){function t(){this._hasWeakSet=typeof WeakSet=="function",this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(e){if(this._hasWeakSet)return this._inner.has(e)?!0:(this._inner.add(e),!1);for(var r=0;r<this._inner.length;r++){var n=this._inner[r];if(n===e)return!0}return this._inner.push(e),!1},t.prototype.unmemoize=function(e){if(this._hasWeakSet)this._inner.delete(e);else for(var r=0;r<this._inner.length;r++)if(this._inner[r]===e){this._inner.splice(r,1);break}},t}();var yx="<anonymous>";function $r(t){try{return!t||typeof t!="function"?yx:t.name||yx}catch{return yx}}function _x(t,e){return e===void 0&&(e=0),typeof t!="string"||e===0||t.length<=e?t:t.substr(0,e)+"..."}function xx(t,e){if(!Array.isArray(t))return"";for(var r=[],n=0;n<t.length;n++){var i=t[n];try{r.push(String(i))}catch{r.push("[value cannot be serialized]")}}return r.join(e)}function vt(t,e,r){if(e in t){var n=t[e],i=r(n);if(typeof i=="function")try{i.prototype=i.prototype||{},Object.defineProperties(i,{__sentry_original__:{enumerable:!1,value:n}})}catch{}t[e]=i}}function hN(t){if(Am(t)){var e=t,r={message:e.message,name:e.name,stack:e.stack};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}if(Uc(t)){var i=t,o={};o.type=i.type;try{o.target=bx(i.target)?Hc(i.target):Object.prototype.toString.call(i.target)}catch{o.target="<unknown>"}try{o.currentTarget=bx(i.currentTarget)?Hc(i.currentTarget):Object.prototype.toString.call(i.currentTarget)}catch{o.currentTarget="<unknown>"}typeof CustomEvent<"u"&&Hr(t,CustomEvent)&&(o.detail=i.detail);for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(o[n]=i);return o}return t}function vX(t){return~-encodeURI(t).split(/%..|./).length}function bX(t){return vX(JSON.stringify(t))}function Ex(t,e,r){e===void 0&&(e=3),r===void 0&&(r=100*1024);var n=_X(t,e);return bX(n)>r?Ex(t,e-1,r):n}function yX(t){var e=Object.prototype.toString.call(t);if(typeof t=="string")return t;if(e==="[object Object]")return"[Object]";if(e==="[object Array]")return"[Array]";var r=mN(t);return Bc(r)?r:e}function mN(t,e){return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global<"u"&&t===global?"[Global]":typeof window<"u"&&t===window?"[Window]":typeof document<"u"&&t===document?"[Document]":dN(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?"[Function: "+$r(t)+"]":typeof t=="symbol"?"["+String(t)+"]":typeof t=="bigint"?"[BigInt: "+String(t)+"]":t}function gN(t,e,r,n){if(r===void 0&&(r=1/0),n===void 0&&(n=new pN),r===0)return yX(e);if(e!=null&&typeof e.toJSON=="function")return e.toJSON();var i=mN(e,t);if(Bc(i))return i;var o=hN(e),s=Array.isArray(e)?[]:{};if(n.memoize(e))return"[Circular ~]";for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(s[c]=gN(c,o[c],r-1,n));return n.unmemoize(e),s}function _X(t,e){try{return JSON.parse(JSON.stringify(t,function(r,n){return gN(r,n,e)}))}catch{return"**non-serializable**"}}function vN(t,e){e===void 0&&(e=40);var r=Object.keys(hN(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=e)return _x(r[0],e);for(var n=r.length;n>0;n--){var i=r.slice(0,n).join(", ");if(!(i.length>e))return n===r.length?i:_x(i,e)}return""}function bN(){return Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}var xX={};function Xe(){return bN()?global:typeof window<"u"?window:typeof self<"u"?self:xX}function Om(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var r=e[6]||"",n=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+r+n}}function _N(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}function Nm(t){var e=Xe(),r=["debug","info","warn","error","log","assert"];if(!("console"in e))return t();var n=e.console,i={};r.forEach(function(s){s in e.console&&n[s].__sentry_original__&&(i[s]=n[s],n[s]=n[s].__sentry_original__)});var o=t();
1return Object.keys(i).forEach(function(s){n[s]=i[s]}),o}function Uu(t,e,r){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].value=t.exception.values[0].value||e||"",t.exception.values[0].type=t.exception.values[0].type||r||"Error"}function Ji(t,e){e===void 0&&(e={});try{t.exception.values[0].mechanism=t.exception.values[0].mechanism||{},Object.keys(e).forEach(function(r){t.exception.values[0].mechanism[r]=e[r]})}catch{}}function xN(){try{return document.location.href}catch{return""}}var yN=60*1e3;function EN(t,e){if(!e)return yN;var r=parseInt(""+e,10);if(!isNaN(r))return r*1e3;var n=Date.parse(""+e);return isNaN(n)?yN:n-t}var na=Xe(),wx="Sentry Logger ",EX=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this._enabled&&Nm(function(){na.console.log(wx+"[Log]: "+e.join(" "))})},t.prototype.warn=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this._enabled&&Nm(function(){na.console.warn(wx+"[Warn]: "+e.join(" "))})},t.prototype.error=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this._enabled&&Nm(function(){na.console.error(wx+"[Error]: "+e.join(" "))})},t}();na.__SENTRY__=na.__SENTRY__||{};var fn=na.__SENTRY__.logger||(na.__SENTRY__.logger=new EX);function Pm(){if(!("fetch"in Xe()))return!1;try{return new Headers,new Request(""),new Response,!0}catch{return!1}}function wN(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function DN(){if(!Pm())return!1;var t=Xe();if(wN(t.fetch))return!0;var e=!1,r=t.document;if(r&&typeof r.createElement=="function")try{var n=r.createElement("iframe");
1n.hidden=!0,r.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=wN(n.contentWindow.fetch)),r.head.removeChild(n)}catch(i){fn.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return e}function CN(){if(!Pm())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch{return!1}}function IN(){var t=Xe(),e=t.chrome,r=e&&e.app&&e.app.runtime,n="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!r&&n}var Qe=Xe(),$u={},SN={};function wX(t){if(!SN[t])switch(SN[t]=!0,t){case"console":DX();break;case"dom":MX();break;case"xhr":TX();break;case"fetch":CX();break;case"history":AX();break;case"error":RX();break;case"unhandledrejection":OX();break;default:fn.warn("unknown instrumentation type:",t)}}function eo(t){!t||typeof t.type!="string"||typeof t.callback!="function"||($u[t.type]=$u[t.type]||[],$u[t.type].push(t.callback),wX(t.type))}function tn(t,e){var r,n;if(!(!t||!$u[t]))try{for(var i=Au($u[t]||[]),o=i.next();!o.done;o=i.next()){var s=o.value;try{s(e)}catch(c){fn.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+$r(s)+"\nError: "+c)}}}catch(c){r={error:c}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function DX(){"console"in Qe&&["debug","info","warn","error","log","assert"].forEach(function(t){t in Qe.console&&vt(Qe.console,t,function(e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];tn("console",{args:r,level:t}),e&&Function.prototype.apply.call(e,Qe.console,r)}})})}function CX(){DN()&&vt(Qe,"fetch",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n={args:e,fetchData:{method:IX(e),url:SX(e)},startTimestamp:Date.now()};return tn("fetch",me({},n)),t.apply(Qe,e).then(function(i){return tn("fetch",me(me({},n),{endTimestamp:Date.now(),response:i})),i},function(i){throw tn("fetch",me(me({},n),{endTimestamp:Date.now(),error:i})),i})}})}function IX(t){return t===void 0&&(t=[]),"Request"in Qe&&Hr(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function SX(t){return t===void 0&&(t=[]),typeof t[0]=="string"?t[0]:"Request"in Qe&&Hr(t[0],Request)?t[0].url:String(t[0])}function TX(){if("XMLHttpRequest"in Qe){var t=[],e=[],r=XMLHttpRequest.prototype;vt(r,"open",function(n){return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var s=this,c=i[1];s.__sentry_xhr__={method:ns(i[0])?i[0].toUpperCase():i[0],url:i[1]},ns(c)&&s.__sentry_xhr__.method==="POST"&&c.match(/sentry_key/)&&(s.__sentry_own_request__=!0);var l=function(){if(s.readyState===4){try{s.__sentry_xhr__&&(s.__sentry_xhr__.status_code=s.status)}catch{}try{var u=t.indexOf(s);if(u!==-1){t.splice(u);var d=e.splice(u)[0];s.__sentry_xhr__&&d[0]!==void 0&&(s.__sentry_xhr__.body=d[0])}}catch{}tn("xhr",{args:i,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:s})}};return"onreadystatechange"in s&&typeof s.onreadystatechange=="function"?vt(s,"onreadystatechange",function(u){return function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];return l(),u.apply(s,d)}}):s.addEventListener("readystatechange",l),n.apply(s,i)}}),vt(r,"send",function(n){return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return t.push(this),e.push(i),tn("xhr",{args:i,startTimestamp:Date.now(),xhr:this}),n.apply(this,i)}})}}var Fm;function AX(){if(!IN())return;var t=Qe.onpopstate;Qe.onpopstate=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=Qe.location.href,o=Fm;if(Fm=i,tn("history",{from:o,to:i}),t)return t.apply(this,r)};function e(r){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=n.length>2?n[2]:void 0;if(o){var s=Fm,c=String(o);Fm=c,tn("history",{from:s,to:c})}return r.apply(this,n)}}vt(Qe.history,"pushState",e),vt(Qe.history,"replaceState",e)}function MX(){"document"in Qe&&(Qe.document.addEventListener("click",Lm("click",tn.bind(null,"dom")),!1),Qe.document.addEventListener("keypress",Cx(tn.bind(null,"dom")),!1),["EventTarget","Node"].forEach(function(t){var e=Qe[t]&&Qe[t].prototype;!e||!e.hasOwnProperty||!e.hasOwnProperty("addEventListener")||(vt(e,"addEventListener",function(r){return function(n,i,o){return i&&i.handleEvent?(n==="click"&&vt(i,"handleEvent",function(s){return function(c){return Lm("click",tn.bind(null,"dom"))(c),s.call(this,c)}}),n==="keypress"&&vt(i,"handleEvent",function(s){return function(c){return Cx(tn.bind(null,"dom"))(c),s.call(this,c)}})):(n==="click"&&Lm("click",tn.bind(null,"dom"),!0)(this),n==="keypress"&&Cx(tn.bind(null,"dom"))(this)),r.call(this,n,i,o)}}),vt(e,"removeEventListener",function(r){return function(n,i,o){try{r.call(this,n,i.__sentry_wrapped__,o)}catch{}return r.call(this,n,i,o)}}))}))}var kX=1e3,Dx=0,Hu,TN;function Lm(t,e,r){return r===void 0&&(r=!1),function(n){Hu=void 0,!(!n||TN===n)&&(TN=n,Dx&&clearTimeout(Dx),r?Dx=setTimeout(function(){e({event:n,name:t})}):e({event:n,name:t}))}}function Cx(t){return function(e){var r;try{r=e.target}catch{return}var n=r&&r.tagName;!n||n!=="INPUT"&&n!=="TEXTAREA"&&!r.isContentEditable||(Hu||Lm("input",t)(e),clearTimeout(Hu),Hu=setTimeout(function(){Hu=void 0},kX))}}var Ix=null;function RX(){Ix=Qe.onerror,Qe.onerror=function(t,e,r,n,i){return tn("error",{column:n,error:i,line:r,msg:t,url:e}),Ix?Ix.apply(this,arguments):!1}}var Sx=null;function OX(){Sx=Qe.onunhandledrejection,Qe.onunhandledrejection=function(t){return tn("unhandledrejection",t),Sx?Sx.apply(this,arguments):!0}}
vendor: 20,154 bytes, line 1
1var rs=function(t){return t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED",t}(rs||{}),gr=function(){function t(e){var r=this;this._state=rs.PENDING,this._handlers=[],this._resolve=function(n){r._setResult(rs.RESOLVED,n)},this._reject=function(n){r._setResult(rs.REJECTED,n)},this._setResult=function(n,i){if(r._state===rs.PENDING){if(uN(i)){i.then(r._resolve,r._reject);return}r._state=n,r._value=i,r._executeHandlers()}},this._attachHandler=function(n){r._handlers=r._handlers.concat(n),r._executeHandlers()},this._executeHandlers=function(){if(r._state!==rs.PENDING){var n=r._handlers.slice();r._handlers=[],n.forEach(function(i){i.done||(r._state===rs.RESOLVED&&i.onfulfilled&&i.onfulfilled(r._value),r._state===rs.REJECTED&&i.onrejected&&i.onrejected(r._value),i.done=!0)})}};try{e(this._resolve,this._reject)}catch(n){this._reject(n)}}return t.resolve=function(e){return new t(function(r){r(e)})},t.reject=function(e){return new t(function(r,n){n(e)})},t.all=function(e){return new t(function(r,n){if(!Array.isArray(e)){n(new TypeError("Promise.all requires an array as input."));return}if(e.length===0){r([]);return}var i=e.length,o=[];e.forEach(function(s,c){t.resolve(s).then(function(l){o[c]=l,i-=1,i===0&&r(o)}).then(null,n)})})},t.prototype.then=function(e,r){var n=this;return new t(function(i,o){n._attachHandler({done:!1,onfulfilled:function(s){if(!e){i(s);return}try{i(e(s));return}catch(c){o(c);return}},onrejected:function(s){if(!r){o(s);return}try{i(r(s));return}catch(c){o(c);return}}})})},t.prototype.catch=function(e){return this.then(function(r){return r},e)},t.prototype.finally=function(e){var r=this;return new t(function(n,i){var o,s;return r.then(function(c){s=!1,o=c,e&&e()},function(c){s=!0,o=c,e&&e()}).then(function(){if(s){i(o);return}n(o)})})},t.prototype.toString=function(){return"[object SyncPromise]"},t}();var AN=function(){function t(e){this._limit=e,this._buffer=[]}return t.prototype.isReady=function(){return this._limit===void 0||this.length()<this._limit},t.prototype.add=function(e){var r=this;return this.isReady()?(this._buffer.indexOf(e)===-1&&this._buffer.push(e),e.then(function(){return r.remove(e)}).then(null,function(){return r.remove(e).then(null,function(){})}),e):gr.reject(new Rm("Not adding Promise due to buffer limit reached."))},t.prototype.remove=function(e){var r=this._buffer.splice(this._buffer.indexOf(e),1)[0];return r},t.prototype.length=function(){return this._buffer.length},t.prototype.drain=function(e){var r=this;return new gr(function(n){var i=setTimeout(function(){e&&e>0&&n(!1)},e);gr.all(r._buffer).then(function(){clearTimeout(i),n(!0)}).then(null,function(){n(!0)})})},t}();var zu="?",NX=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,PX=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,FX=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,LX=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,jX=/\((\S*)(?::(\d+))(?::(\d+))\)/,VX=/Minified React error #\d+;/i;function is(t){var e=null,r=0;t&&(typeof t.framesToPop=="number"?r=t.framesToPop:VX.test(t.message)&&(r=1));try{if(e=UX(t),e)return MN(e,r)}catch{}try{if(e=BX(t),e)return MN(e,r)}catch{}return{message:Tx(t),name:t&&t.name,stack:[],failed:!0}}function BX(t){if(!t||!t.stack)return null;for(var e=[],r=t.stack.split("\n"),n,i,o,s,c=0;c<r.length;++c){if(o=NX.exec(r[c])){var l=o[2]&&o[2].indexOf("native")===0;n=o[2]&&o[2].indexOf("eval")===0,n&&(i=jX.exec(o[2]))&&(o[2]=i[1],o[3]=i[2],o[4]=i[3]),s={url:o[2]&&o[2].indexOf("address at ")===0?o[2].substr(11):o[2],func:o[1]||zu,args:l?[o[2]]:[],line:o[3]?+o[3]:null,column:o[4]?+o[4]:null}}else if(o=FX.exec(r[c]))s={url:o[2],func:o[1]||zu,args:[],line:+o[3],column:o[4]?+o[4]:null};else if(o=PX.exec(r[c]))n=o[3]&&o[3].indexOf(" > eval")>-1,n&&(i=LX.exec(o[3]))?(o[1]=o[1]||"eval",o[3]=i[1],o[4]=i[2],o[5]=""):c===0&&!o[5]&&t.columnNumber!==void 0&&(e[0].column=t.columnNumber+1),s={url:o[3],func:o[1]||zu,args:o[2]?o[2].split(","):[],line:o[4]?+o[4]:null,column:o[5]?+o[5]:null};else continue;!s.func&&s.line&&(s.func=zu),e.push(s)}return e.length?{message:Tx(t),name:t.name,stack:e}:null}function UX(t){if(!t||!t.stacktrace)return null;for(var e=t.stacktrace,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,n=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,i=e.split("\n"),o=[],s,c=0;c<i.length;c+=2){var l=null;(s=r.exec(i[c]))?l={url:s[2],func:s[3],args:[],line:+s[1],column:null}:(s=n.exec(i[c]))&&(l={url:s[6],func:s[3]||s[4],args:s[5]?s[5].split(","):[],line:+s[1],column:+s[2]}),l&&(!l.func&&l.line&&(l.func=zu),o.push(l))}return o.length?{message:Tx(t),name:t.name,stack:o}:null}function MN(t,e){try{return me(me({},t),{stack:t.stack.slice(e)})}catch{return t}}function Tx(t){var e=t&&t.message;return e?e.error&&typeof e.error.message=="string"?e.error.message:e:"No error message"}var HX=50;function Ax(t){var e=jm(t.stack),r={type:t.name,value:t.message};return e&&e.length&&(r.stacktrace={frames:e}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function kN(t,e,r){var n={exception:{values:[{type:Uc(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error "+(r?"promise rejection":"exception")+" captured with keys: "+vN(t)}]},extra:{__serialized__:Ex(t)}};if(e){var i=is(e),o=jm(i.stack);n.stacktrace={frames:o}}return n}function Mx(t){var e=Ax(t);return{exception:{values:[e]}}}function jm(t){if(!t||!t.length)return[];var e=t,r=e[0].func||"",n=e[e.length-1].func||"";return(r.indexOf("captureMessage")!==-1||r.indexOf("captureException")!==-1)&&(e=e.slice(1)),n.indexOf("sentryWrapped")!==-1&&(e=e.slice(0,-1)),e.slice(0,HX).map(function(i){return{colno:i.column===null?void 0:i.column,filename:i.url||e[0].url,function:i.func||"?",in_app:!0,lineno:i.line===null?void 0:i.line}}).reverse()}function RN(t,e,r){var n=r&&r.syntheticException||void 0,i=Vm(e,n,{attachStacktrace:t.attachStacktrace});return Ji(i,{handled:!0,type:"generic"}),i.level=An.Error,r&&r.event_id&&(i.event_id=r.event_id),gr.resolve(i)}function ON(t,e,r,n){r===void 0&&(r=An.Info);var i=n&&n.syntheticException||void 0,o=kx(e,i,{attachStacktrace:t.attachStacktrace});return o.level=r,n&&n.event_id&&(o.event_id=n.event_id),gr.resolve(o)}function Vm(t,e,r){r===void 0&&(r={});var n;if(Mm(t)&&t.error){var i=t;return t=i.error,n=Mx(is(t)),n}if(vx(t)||lN(t)){var o=t,s=o.name||(vx(o)?"DOMError":"DOMException"),c=o.message?s+": "+o.message:s;return n=kx(c,e,r),Uu(n,c),"code"in o&&(n.tags=me(me({},n.tags),{"DOMException.code":""+o.code})),n}if(Am(t))return n=Mx(is(t)),n;if(km(t)||Uc(t)){var l=t;return n=kN(l,e,r.rejection),Ji(n,{synthetic:!0}),n}return n=kx(t,e,r),Uu(n,""+t,void 0),Ji(n,{synthetic:!0}),n}function kx(t,e,r){r===void 0&&(r={});var n={message:t};if(r.attachStacktrace&&e){var i=is(e),o=jm(i.stack);n.stacktrace={frames:o}}return n}var Bm=function(){function t(e){this.options=e,this._buffer=new AN(30),this._rateLimits={},this._api=new Lu(this.options.dsn),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(e){throw new Rm("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(e){return this._buffer.drain(e)},t.prototype._handleResponse=function(e){var r=e.requestType,n=e.response,i=e.headers,o=e.resolve,s=e.reject,c=Ki.fromHttpCode(n.status),l=this._handleRateLimit(i);if(l&&fn.warn("Too many requests, backing off until: "+this._disabledUntil(r)),c===Ki.Success){o({status:c});return}s(n)},t.prototype._disabledUntil=function(e){return this._rateLimits[e]||this._rateLimits.all},t.prototype._isRateLimited=function(e){return this._disabledUntil(e)>new Date(Date.now())},t.prototype._handleRateLimit=function(e){var r,n,i,o,s=Date.now(),c=e["x-sentry-rate-limits"],l=e["retry-after"];if(c){try{for(var u=Au(c.trim().split(",")),d=u.next();!d.done;d=u.next()){var f=d.value,h=f.split(":",2),m=parseInt(h[0],10),g=(isNaN(m)?60:m)*1e3;try{for(var _=(i=void 0,Au(h[1].split(";"))),x=_.next();!x.done;x=_.next()){var S=x.value;this._rateLimits[S||"all"]=new Date(s+g)}}catch(L){i={error:L}}finally{try{x&&!x.done&&(o=_.return)&&o.call(_)}finally{if(i)throw i.error}}}}catch(L){r={error:L}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return!0}else if(l)return this._rateLimits.all=new Date(s+EN(s,l)),!0;return!1},t}();var $X=Xe(),Rx=function(t){vi(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.sendEvent=function(r){return this._sendRequest(Vu(r,this._api),r)},e.prototype.sendSession=function(r){return this._sendRequest(ju(r,this._api),r)},e.prototype._sendRequest=function(r,n){var i=this;if(this._isRateLimited(r.type))return Promise.reject({event:n,type:r.type,reason:"Transport locked till "+this._disabledUntil(r.type)+" due to too many requests.",status:429});var o={body:r.body,method:"POST",referrerPolicy:CN()?"origin":""};return this.options.fetchParameters!==void 0&&Object.assign(o,this.options.fetchParameters),this.options.headers!==void 0&&(o.headers=this.options.headers),this._buffer.add(new gr(function(s,c){$X.fetch(r.url,o).then(function(l){var u={"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")};i._handleResponse({requestType:r.type,response:l,headers:u,resolve:s,reject:c})}).catch(c)}))},e}(Bm);var Ox=function(t){vi(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.sendEvent=function(r){return this._sendRequest(Vu(r,this._api),r)},e.prototype.sendSession=function(r){return this._sendRequest(ju(r,this._api),r)},e.prototype._sendRequest=function(r,n){var i=this;return this._isRateLimited(r.type)?Promise.reject({event:n,type:r.type,reason:"Transport locked till "+this._disabledUntil(r.type)+" due to too many requests.",status:429}):this._buffer.add(new gr(function(o,s){var c=new XMLHttpRequest;c.onreadystatechange=function(){if(c.readyState===4){var u={"x-sentry-rate-limits":c.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":c.getResponseHeader("Retry-After")};i._handleResponse({requestType:r.type,response:c,headers:u,resolve:o,reject:s})}},c.open("POST",r.url);for(var l in i.options.headers)i.options.headers.hasOwnProperty(l)&&c.setRequestHeader(l,i.options.headers[l]);c.send(r.body)}))},e}(Bm);var NN=function(t){vi(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.eventFromException=function(r,n){return RN(this._options,r,n)},e.prototype.eventFromMessage=function(r,n,i){return n===void 0&&(n=An.Info),ON(this._options,r,n,i)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var r=me(me({},this._options.transportOptions),{dsn:this._options.dsn});return this._options.transport?new this._options.transport(r):Pm()?new Rx(r):new Ox(r)},e}(mx);var Nx=0;function Px(){return Nx>0}function zX(){Nx+=1,setTimeout(function(){Nx-=1})}function ra(t,e,r){if(e===void 0&&(e={}),typeof t!="function")return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch{return t}var n=function(){var s=Array.prototype.slice.call(arguments);try{r&&typeof r=="function"&&r.apply(this,arguments);var c=s.map(function(l){return ra(l,e)});return t.handleEvent?t.handleEvent.apply(this,c):t.apply(this,c)}catch(l){throw zX(),xm(function(u){u.addEventProcessor(function(d){var f=me({},d);return e.mechanism&&(Uu(f,void 0,void 0),Ji(f,e.mechanism)),f.extra=me(me({},f.extra),{arguments:s}),f}),Vc(l)}),l}};try{for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}catch{}t.prototype=t.prototype||{},n.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:n}),Object.defineProperties(n,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{var o=Object.getOwnPropertyDescriptor(n,"name");o.configurable&&Object.defineProperty(n,"name",{get:function(){return t.name}})}catch{}return n}function PN(t){if(t===void 0&&(t={}),!t.eventId){fn.error("Missing eventId option in showReportDialog call");return}if(!t.dsn){fn.error("Missing dsn option in showReportDialog call");return}var e=document.createElement("script");e.async=!0,e.src=new Lu(t.dsn).getReportDialogEndpoint(t),t.onLoad&&(e.onload=t.onLoad),(document.head||document.body).appendChild(e)}var Fx=function(){function t(e){this.name=t.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=me({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(fn.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(fn.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},t.prototype._installGlobalOnErrorHandler=function(){var e=this;this._onErrorHandlerInstalled||(eo({callback:function(r){var n=r.error,i=Le(),o=i.getIntegration(t),s=n&&n.__sentry_own_request__===!0;if(!(!o||Px()||s)){var c=i.getClient(),l=Bc(n)?e._eventFromIncompleteOnError(r.msg,r.url,r.line,r.column):e._enhanceEventWithInitialFrame(Vm(n,void 0,{attachStacktrace:c&&c.getOptions().attachStacktrace,rejection:!1}),r.url,r.line,r.column);Ji(l,{handled:!1,type:"onerror"}),i.captureEvent(l,{originalException:n})}},type:"error"}),this._onErrorHandlerInstalled=!0)},t.prototype._installGlobalOnUnhandledRejectionHandler=function(){var e=this;this._onUnhandledRejectionHandlerInstalled||(eo({callback:function(r){var n=r;try{"reason"in r?n=r.reason:"detail"in r&&"reason"in r.detail&&(n=r.detail.reason)}catch{}var i=Le(),o=i.getIntegration(t),s=n&&n.__sentry_own_request__===!0;if(!o||Px()||s)return!0;var c=i.getClient(),l=Bc(n)?e._eventFromRejectionWithPrimitive(n):Vm(n,void 0,{attachStacktrace:c&&c.getOptions().attachStacktrace,rejection:!0});l.level=An.Error,Ji(l,{handled:!1,type:"onunhandledrejection"}),i.captureEvent(l,{originalException:n})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},t.prototype._eventFromIncompleteOnError=function(e,r,n,i){var o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,s=Mm(e)?e.message:e,c;if(ns(s)){var l=s.match(o);l&&(c=l[1],s=l[2])}var u={exception:{values:[{type:c||"Error",value:s}]}};return this._enhanceEventWithInitialFrame(u,r,n,i)},t.prototype._eventFromRejectionWithPrimitive=function(e){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(e)}]}}},t.prototype._enhanceEventWithInitialFrame=function(e,r,n,i){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].stacktrace=e.exception.values[0].stacktrace||{},e.exception.values[0].stacktrace.frames=e.exception.values[0].stacktrace.frames||[];var o=isNaN(parseInt(i,10))?void 0:i,s=isNaN(parseInt(n,10))?void 0:n,c=ns(r)&&r.length>0?r:xN();return e.exception.values[0].stacktrace.frames.length===0&&e.exception.values[0].stacktrace.frames.push({colno:o,filename:c,function:"?",in_app:!0,lineno:s}),e},t.id="GlobalHandlers",t}();var WX=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Lx=function(){function t(e){this.name=t.id,this._options=me({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var e=Xe();if(this._options.setTimeout&&vt(e,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&vt(e,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&vt(e,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in e&&vt(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget){var r=Array.isArray(this._options.eventTarget)?this._options.eventTarget:WX;r.forEach(this._wrapEventTarget.bind(this))}},t.prototype._wrapTimeFunction=function(e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=r[0];return r[0]=ra(i,{mechanism:{data:{function:$r(e)},handled:!0,type:"instrument"}}),e.apply(this,r)}},t.prototype._wrapRAF=function(e){return function(r){return e.call(this,ra(r,{mechanism:{data:{function:"requestAnimationFrame",handler:$r(e)},handled:!0,type:"instrument"}}))}},t.prototype._wrapEventTarget=function(e){var r=Xe(),n=r[e]&&r[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(vt(n,"addEventListener",function(i){return function(o,s,c){try{typeof s.handleEvent=="function"&&(s.handleEvent=ra(s.handleEvent.bind(s),{mechanism:{data:{function:"handleEvent",handler:$r(s),target:e},handled:!0,type:"instrument"}}))}catch{}return i.call(this,o,ra(s,{mechanism:{data:{function:"addEventListener",handler:$r(s),target:e},handled:!0,type:"instrument"}}),c)}}),vt(n,"removeEventListener",function(i){return function(o,s,c){var l,u=s;try{var d=(l=u)===null||l===void 0?void 0:l.__sentry_wrapped__;d&&i.call(this,o,d,c)}catch{}return i.call(this,o,u,c)}}))},t.prototype._wrapXHR=function(e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=this,o=["onload","onerror","onprogress","onreadystatechange"];return o.forEach(function(s){s in i&&typeof i[s]=="function"&&vt(i,s,function(c){var l={mechanism:{data:{function:s,handler:$r(c)},handled:!0,type:"instrument"}};return c.__sentry_original__&&(l.mechanism.data.handler=$r(c.__sentry_original__)),ra(c,l)})}),e.apply(this,r)}},t.id="TryCatch",t}();var Wu=function(){function t(e){this.name=t.id,this._options=me({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(e){this._options.sentry&&Le().addBreadcrumb({category:"sentry."+(e.type==="transaction"?"transaction":"event"),event_id:e.event_id,level:e.level,message:_N(e)},{event:e})},t.prototype.setupOnce=function(){var e=this;this._options.console&&eo({callback:function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];e._consoleBreadcrumb.apply(e,jr(r))},type:"console"}),this._options.dom&&eo({callback:function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];e._domBreadcrumb.apply(e,jr(r))},type:"dom"}),this._options.xhr&&eo({callback:function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];e._xhrBreadcrumb.apply(e,jr(r))},type:"xhr"}),this._options.fetch&&eo({callback:function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];e._fetchBreadcrumb.apply(e,jr(r))},type:"fetch"}),this._options.history&&eo({callback:function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];e._historyBreadcrumb.apply(e,jr(r))},type:"history"})},t.prototype._consoleBreadcrumb=function(e){var r={category:"console",data:{arguments:e.args,logger:"console"},level:An.fromString(e.level),message:xx(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)r.message="Assertion failed: "+(xx(e.args.slice(1)," ")||"console.assert"),r.data.arguments=e.args.slice(1);else return;Le().addBreadcrumb(r,{input:e.args,level:e.level})},t.prototype._domBreadcrumb=function(e){var r;try{r=e.event.target?Hc(e.event.target):Hc(e.event)}catch{r="<unknown>"}r.length!==0&&Le().addBreadcrumb({category:"ui."+e.name,message:r},{event:e.event,name:e.name})},t.prototype._xhrBreadcrumb=function(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;var r=e.xhr.__sentry_xhr__||{}
1,n=r.method,i=r.url,o=r.status_code,s=r.body;Le().addBreadcrumb({category:"xhr",data:{method:n,url:i,status_code:o},type:"http"},{xhr:e.xhr,input:s});return}},t.prototype._fetchBreadcrumb=function(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"||(e.error?Le().addBreadcrumb({category:"fetch",data:e.fetchData,level:An.Error,type:"http"},{data:e.error,input:e.args}):Le().addBreadcrumb({category:"fetch",data:me(me({},e.fetchData),{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response})))},t.prototype._historyBreadcrumb=function(e){var r=Xe(),n=e.from,i=e.to,o=Om(r.location.href),s=Om(n),c=Om(i);s.path||(s=o),o.protocol===c.protocol&&o.host===c.host&&(i=c.relative),o.protocol===s.protocol&&o.host===s.host&&(n=s.relative),Le().addBreadcrumb({category:"navigation",data:{from:n,to:i}})},t.id="Breadcrumbs",t}();var GX="cause",qX=5,jx=function(){function t(e){e===void 0&&(e={}),this.name=t.id,this._key=e.key||GX,this._limit=e.limit||qX}return t.prototype.setupOnce=function(){Br(function(e,r){var n=Le().getIntegration(t);return n?n._handler(e,r):e})},t.prototype._handler=function(e,r){if(!e.exception||!e.exception.values||!r||!Hr(r.originalException,Error))return e;var n=this._walkErrorTree(r.originalException,this._key);return e.exception.values=jr(n,e.exception.values),e},t.prototype._walkErrorTree=function(e,r,n){if(n===void 0&&(n=[]),!Hr(e[r],Error)||n.length+1>=this._limit)return n;var i=is(e[r]),o=Ax(i);return this._walkErrorTree(e[r],r,jr([o],n))},t.id="LinkedErrors",t}();var $c=Xe(),Vx=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Br(function(e){var r,n,i;if(Le().getIntegration(t)){if(!$c.navigator&&!$c.location&&!$c.document)return e;var o=((r=e.request)===null||r===void 0?void 0:r.url)||((n=$c.location)===null||n===void 0?void 0:n.href),s=($c.document||{}).referrer,c=($c.navigator||{}).userAgent,l=me(me(me({},(i=e.request)===null||i===void 0?void 0:i.headers),s&&{Referer:s}),c&&{"User-Agent":c}),u=me(me({},o&&{url:o}),{headers:l});return me(me({},e),{request:u})}return e})},t.id="UserAgent",t}();var FN="sentry.javascript.browser",Bx="5.30.0";var LN=function(t){vi(e,t);function e(r){return r===void 0&&(r={}),t.call(this,NN,r)||this}return e.prototype.showReportDialog=function(r){r===void 0&&(r={});var n=Xe().document;if(n){if(!this._isEnabled()){fn.error("Trying to call showReportDialog with Sentry Client disabled");return}PN(me(me({},r),{dsn:r.dsn||this.getDsn()}))}},e.prototype._prepareEvent=function(r,n,i){return r.platform=r.platform||"javascript",r.sdk=me(me({},r.sdk),{name:FN,packages:jr(r.sdk&&r.sdk.packages||[],[{name:"npm:@sentry/browser",version:Bx}]),version:Bx}),t.prototype._prepareEvent.call(this,r,n,i)},e.prototype._sendEvent=function(r){var n=this.getIntegration(Wu);n&&n.addSentryBreadcrumb(r),t.prototype._sendEvent.call(this,r)},e}(hx);var jN=[new Bu.InboundFilters,new Bu.FunctionToString,new Lx,new Wu,new Fx,new jx,new Vx];function YX(t){if(t===void 0&&(t={}),t.defaultIntegrations===void 0&&(t.defaultIntegrations=jN),t.release===void 0){var e=Xe();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}t.autoSessionTracking===void 0&&(t.autoSessionTracking=!1),gx(LN,t),t.autoSessionTracking&&ZX()}function ZX(){var t=Xe(),e=Le(),r=document.readyState==="complete",n=!1,i=function(){n&&r&&e.endSession()},o=function(){r=!0,i(),t.removeEventListener("load",o)};e.startSession(),r||t.addEventListener("load",o);try{var s=new PerformanceObserver(function(l,u){l.getEntries().forEach(function(d){d.name==="first-contentful-paint"&&d.startTime<c&&(u.disconnect(),n=!0,i())})}),c=document.visibilityState==="hidden"?0:1/0;document.addEventListener("visibilitychange",function(l){c=Math.min(c,l.timeStamp)},{once:!0}),s.observe({type:"paint",buffered:!0})}catch{n=!0,i()}}var KX=Object.prototype.toString;function XX(t,e){return KX.call(t)==="[object ".concat(e,"]")}function Gu(t){return XX(t,"String")}var $N=Qm(HN(),1);function QX(t){return t&&t.ngOriginalError?t.ngOriginalError:t}function JX(t){return zN(t.error)?t.error:t.error instanceof ErrorEvent&&t.error.message?t.error.message:typeof t.error=="string"?"Server returned code ".concat(t.status,' with body "').concat(t.error,'"'):t.message}function zN(t){if(t instanceof Error)return!0;
1if(t===null||typeof t!="object")return!1;let e=t;return Gu(e.name)&&Gu(e.message)&&(e.stack===void 0||Gu(e.stack))}var eQ=t=>{let e=QX(t);return e instanceof or?JX(e):typeof e=="string"||zN(e)?e:null},WN=t=>{let e=eQ(t);if(e)return e;try{let r=$N.default.parse(t);if(r)return r}catch{}return t};var os=(()=>{let e=class e{get translate(){return this.translateService||(this.translateService=this.injector.get(ln)),this.translateService}get dialog(){return this.dialogService||(this.dialogService=this.injector.get(vr)),this.dialogService}constructor(n){this.injector=n}handleError(n){console.error(n);let i=this.parseError(n);i&&(n=i),this.shouldLogToSentry(n)&&this.logToSentry(n)}parseError(n){var i;if(Yo(n)){let o=n.error;return um(o.data)?this.parseApiError(o.data):this.parseRawJsonRpcError(o)}return um(n)?this.parseApiError(n):q0(n)?this.parseJobError(n):this.isHttpError(n)?this.parseHttpError(n):n instanceof Error?{title:((i=this.translate)==null?void 0:i.instant("Error"))||"Error",message:n.message}:null}getFirstErrorMessage(n){let i=this.parseError(n);return Array.isArray(i)?i[0].message:i.message}logToSentry(n){Vc(WN(n))}isHttpError(n){return n instanceof or}catchError(){return n=>n.pipe(xr(i=>(this.showErrorModal(i),nn)))}showErrorModal(n){this.dialog.error(this.parseError(n))}parseApiError(n){var o,s,c;return{title:X0.has(n.errname)?this.translate.instant(X0.get(n.errname)||n.errname):((o=n.trace)==null?void 0:o.class)||this.translate.instant("Error"),message:n.reason||((s=n==null?void 0:n.error)==null?void 0:s.toString()),backtrace:((c=n.trace)==null?void 0:c.formatted)||""}}parseJobError(n){var o;let i=T({},n);return(o=i.exc_info)!=null&&o.extra&&(i.extra=i.exc_info.extra),i.extra&&Array.isArray(i.extra)?this.parseJobWithArrayExtra(i):{title:i.state,message:i.error,backtrace:i.logs_excerpt||i.exception}}parseJobWithArrayExtra(n){let i=[];return n.extra.forEach(o=>{var u,d;let s=o[0].split(".")[1],c=o[1],l=this.parseJobExtractedError(n,c);if(Array.isArray(l))for(let f of l)f.title===(((u=this.translate)==null?void 0:u.instant("Error"))||"Error")?f.title=f.title+": "+s:f.title=s+": "+f.title,i.push(f);else l.title===(((d=this.translate)==null?void 0:d.instant("Error"))||"Error")?l.title=l.title+": "+s:l.title=s+": "+l.title,i.push(l)}),i}parseJobExtractedError(n,i){var s;let o;return um(i)?o=this.parseApiError(i):q0(i)?o=this.parseJobError(i):o={title:((s=this.translate)==null?void 0:s.instant("Error"))||"Error",message:i,backtrace:n.logs_path||n.exception},o}parseHttpErrorObject(n){let i=[];return Object.keys(n.error).forEach(o=>{var c;let s=n.error[o];typeof s=="string"?i.push({title:((c=this.translate)==null?void 0:c.instant("Error"))||"Error",message:s}):s.forEach(l=>{var u;i.push({title:((u=this.translate)==null?void 0:u.instant("Error"))||"Error",message:l})})}),i}parseRawJsonRpcError(n){var i;return{title:((i=this.translate)==null?void 0:i.instant("Error"))||"Error",message:n.message}}parseHttpError(n){var i,o,s,c,l,u,d;switch(console.error(n),n.status){case 401:case 403:case 404:return{title:n.statusText,message:n.message};case 409:return this.parseHttpErrorObject(n);case 400:return typeof n.error=="object"?this.parseHttpErrorObject(n):{title:((i=this.translate)==null?void 0:i.instant("Error ({code})",{code:n.status}))||"Error (".concat(n.status,")"),message:String(n.error)};case 500:{let f=(o=n.error)==null?void 0:o.error_message;return f?{title:((s=this.translate)==null?void 0:s.instant("Error ({code})",{code:n.status}))||"Error (".concat(n.status,")"),message:f}:{title:((c=this.translate)==null?void 0:c.instant("Error ({code})",{code:n.status}))||"Error (".concat(n.status,")"),message:((l=this.translate)==null?void 0:l.instant("Server error: {error}",{error:n.message||n.error}))||"Server error: ".concat(n.message||n.error)}}default:return{title:((u=this.translate)==null?void 0:u.instant("Error ({code})",{code:n.status}))||"Error (".concat(n.status,")"),message:n.message||((d=this.translate)==null?void 0:d.instant("Fatal error! Check logs."))||"Fatal error! Check logs."}}}shouldLogToSentry(n){return!(n instanceof CloseEvent)}};e.\u0275fac=function(i){return new(i||e)(E(fe))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var tQ=function(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o};function nQ(t,e){t&1&&j(0,"ix-icon",16)}function rQ(t,e){t&1&&j(0,"ix-icon",17)}function iQ(t,e){if(t&1){let r=Me();C(0,"div",15),J("click",function(){Ee(r);let i=$();return we(i.toggleOpen())}),se(1,nQ,1,0,"ix-icon",16)(2,rQ,1,0,"ix-icon",17),C(3,"span"),K(4),z(5,"translate"),I()()}if(t&2){let r=$();D(),te(r.isCloseMoreInfo?1:2),D(3),Re(G(5,2,"More info..."))}}function oQ(t,e){if(t&1&&(C(0,"div",18,3)(2,"div",19,4),K(4),z(5,"translate"),I(),j(6,"ix-copy-button",20),I()),t&2){let r=$();ae("open",!r.isCloseMoreInfo),D(4),jl(" ",G(5,5,"Error"),": ",r.backtrace," "),D(2),ue("text",r.backtrace)}}function sQ(t,e){if(t&1){let r=Me();C(0,"button",21),J("click",function(){Ee(r);let i=$();return we(i.downloadLogs())}),K(1),z(2,"translate"),I()}t&2&&(D(),Se(" ",G(2,1,"Download Logs")," "))}var to,Hm=(to=class{constructor(e,r,n,i,o){this.dialogRef=e,this.api=r,this.download=n,this.errorHandler=i,this.dialogService=o,this.isCloseMoreInfo=!0}toggleOpen(){this.isCloseMoreInfo=!this.isCloseMoreInfo}downloadLogs(){this.api.call("core.job_download_logs",[this.logs.id,"".concat(this.logs.id,".log")]).pipe(ht(this)).subscribe({next:e=>{this.download.streamDownloadFile(e,"".concat(this.logs.id,".log"),"text/plain").pipe(ht(this)).subscribe({next:n=>{this.download.downloadBlob(n,"".concat(this.logs.id,".log")),this.dialogRef&&this.dialogRef.close()},error:n=>{this.dialogRef&&this.dialogRef.close(),this.dialogService.error(this.errorHandler.parseError(n))}})},error:e=>{this.dialogService.error(this.errorHandler.parseError(e))}})}},to.\u0275fac=function(r){return new(r||to)(w(It),w(Zo),w(gm),w(os),w(vr))},to.\u0275cmp=B({type:to,selectors:[["ix-error-dialog"]],decls:17,vars:10,consts:[["errorTitle",""],["errorMdContent",""],["errorMessageWrapper",""],["errorBtPanel",""],["errorBtText",""],["mat-dialog-title","","id","err-title",1,"err-title"],["name","error",1,"error-warning-icon"],["mat-dialog-content","","id","err-md-content","role","alertdialog"],["id","err-message-wrapper",1,"err-message-wrapper"],[3,"innerHTML"],[1,"more-info"],["id","err-bt-panel",1,"backtrace-panel",3,"open"],["mat-dialog-actions",""],["mat-button","","ixTest","close-error-dialog",1,"mat-mdc-button","mat-button","mat-accent",3,"click"],["mat-button","","ixTest","download-logs",1,"mat-mdc-button","mat-button","mat-primary"],[1,"more-info",3,"click"],["name","add_circle_outline"],["name","remove_circle_outline"],["id","err-bt-panel",1,"backtrace-panel"],["id","err-bt-text","readonly","","matInput","",1,"textarea","scrolled-down"],[3,"text"],["mat-button","","ixTest","download-logs",1,"mat-mdc-button","mat-button","mat-primary",3,"click"]],template:function(r,n){if(r&1){let i=Me();C(0,"h1",5,0),j(2,"ix-icon",6),K(3),z(4,"translate"),I(),C(5,"div",7,1)(7,"div",8,2),j(9,"span",9),I(),se(10,iQ,6,4,"div",10)(11,oQ,7,7,"div",11),I(),C(12,"div",12)(13,"button",13),J("click",function(){return Ee(i),we(n.dialogRef.close(!0))}),K(14),z(15,"translate"),I(),se(16,sQ,3,3,"button",14),I()}r&2&&(D(3),Se(" ",G(4,6,n.title),"\n"),D(6),ue("innerHTML",n.message,jn),D(),te(n.backtrace?10:-1),D(),te(n.backtrace?11:-1),D(3),Se(" ",G(15,8,"Close")," "),D(2),te(n.logs?16:-1))},dependencies:[Sn,Tn,hr,p1,mr,ut,ft,dt,mt],styles:["[_nghost-%COMP%]{display:block;min-width:300px}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{display:block;min-height:unset;text-align:right}.backtrace-panel[_ngcontent-%COMP%]{border:0;max-height:0;overflow:hidden;padding:0;position:relative;transition:max-height .25s linear}.backtrace-panel.open[_ngcontent-%COMP%]{margin-bottom:24px;max-height:calc(80vh - 288px);padding:2px}.backtrace-panel[_ngcontent-%COMP%] .textarea[_ngcontent-%COMP%]{background:var(--contrast-darker);border:1px solid var(--lines);color:var(--fg2);font-family:var(--font-family-monospace);max-height:calc(80vh - 288px);min-height:100px;overflow:auto;padding:1rem;white-space:pre-wrap}.backtrace-panel[_ngcontent-%COMP%] ix-copy-button[_ngcontent-%COMP%]{bottom:8px;position:absolute;right:12px}.scrolled-down[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}#err-md-content[_ngcontent-%COMP%]{overflow-y:auto!important}.title-container[_ngcontent-%COMP%]{display:inline-block}
1.err-title[_ngcontent-%COMP%]{align-items:center}.err-message-wrapper[_ngcontent-%COMP%]{word-wrap:break-word}\n/*# sourceMappingURL=error-dialog.component-YAUBYTRX.css.map */"],changeDetection:0}),to);Hm=tQ([Qt()],Hm);function aQ(t,e){if(t&1&&(C(0,"div",2),K(1),z(2,"translate"),I()),t&2){let r=$();D(),Re(G(2,1,r.data.title))}}function cQ(t,e){if(t&1&&(C(0,"p",5),K(1),z(2,"translate"),I()),t&2){let r=$();ae("pre",r.data.pre),D(),Re(G(2,3,r.data.message))}}function lQ(t,e){if(t&1){let r=Me();C(0,"button",6),J("click",function(){Ee(r);let i=$();return we(i.close())}),K(1),z(2,"translate"),I()}t&2&&(D(),Re(G(2,1,"Continue")))}var GN=(()=>{let e=class e{constructor(n,i){this.dialogRef=n,this.data=i}close(){this.dialogRef.close()}};e.\u0275fac=function(i){return new(i||e)(w(It),w(Lr))},e.\u0275cmp=B({type:e,selectors:[["ix-full-screen-dialog"]],decls:5,vars:3,consts:[[1,"wrapper"],[1,"container"],[1,"title"],[1,"message",3,"pre"],["mat-button","","color","primary","ixTest","close-full-screen"],[1,"message"],["mat-button","","color","primary","ixTest","close-full-screen",3,"click"]],template:function(i,o){i&1&&(C(0,"div",0)(1,"div",1),se(2,aQ,3,3,"div",2)(3,cQ,3,5,"p",3),I(),se(4,lQ,3,3,"button",4),I()),i&2&&(D(2),te(o.data.title?2:-1),D(),te(o.data.message?3:-1),D(),te(o.data.showClose?4:-1))},dependencies:[ut,ft,dt,mt],styles:["{z-index:99999} .cdk-overlay-container{z-index:99999} .cdk-overlay-pane.full-screen-modal, .mat-mdc-dialog-container{max-width:none!important}.container[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;height:80%;justify-content:center;margin-bottom:16px;width:80%}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:xx-large}.container[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{display:block;font-family:var(--font-family-body);max-height:80%;overflow:auto}.container[_ngcontent-%COMP%] .message.pre[_ngcontent-%COMP%]{white-space:pre-line}.wrapper[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}\n/*# sourceMappingURL=full-screen-dialog.component-DOQISSSJ.css.map */"],changeDetection:0});let t=e;return t})();function uQ(t,e){if(t&1&&j(0,"ix-icon",1),t&2){let r=$();ue("name",r.conf.icon)}}function dQ(t,e){if(t&1&&(C(0,"span"),K(1),z(2,"translate"),I()),t&2){let r=$();D(),Re(G(2,1,r.conf.title))}}function fQ(t,e){if(t&1&&(j(0,"span",4),z(1,"translate")),t&2){let r=$();ue("innerHTML",G(1,1,r.conf.message),jn)}}function pQ(t,e){if(t&1&&(C(0,"span"),K(1),z(2,"translate"),I()),t&2){let r=$();D(),Re(G(2,1,r.conf.message))}}function hQ(t,e){if(t&1){let r=Me();C(0,"button",8),J("click",function(){Ee(r);let i=$();return we(i.dialogRef.close(!1))}),K(1),z(2,"translate"),z(3,"translate"),I()}if(t&2){let r=$();D(),Se(" ",G(2,1,r.conf.cancelBtnMsg)||G(3,3,"Cancel")," ")}}var qN=(()=>{let e=class e{constructor(n,i){this.dialogRef=n,this.conf=i}};e.\u0275fac=function(i){return new(i||e)(w(It),w(Lr))},e.\u0275cmp=B({type:e,selectors:[["ix-general-dialog"]],decls:13,vars:9,consts:[["mat-dialog-title",""],[1,"general-dialog-icon",3,"name"],["mat-dialog-content","",1,"general-dialog-content-container"],[1,"generial-dialog-content"],[3,"innerHTML"],["mat-dialog-actions",""],["mat-button","","ixTest","cancel"],["mat-button","","color","primary","ixTest","close",3,"click"],["mat-button","","ixTest","cancel",3,"click"]],template:function(i,o){i&1&&(C(0,"h1",0),se(1,uQ,1,1,"ix-icon",1)(2,dQ,3,3,"span"),I(),C(3,"div",2)(4,"div",3),se(5,fQ,2,3,"span",4)(6,pQ,3,3,"span"),I()(),C(7,"div",5),se(8,hQ,4,5,"button",6),C(9,"button",7),J("click",function(){return o.dialogRef.close(!0)}),K(10),z(11,"translate"),z(12,"translate"),I()()),i&2&&(D(),te(o.conf.icon?1:-1),D(),te(o.conf.title?2:-1),D(3),te(o.conf.is_html?5:6),D(3),te(o.conf.hideCancel?-1:8),D(2),Se(" ",G(11,5,o.conf.confirmBtnMsg)||G(12,7,"Close")," "))},dependencies:[Sn,Tn,hr,mr,ut,ft,dt,mt],styles:["[_nghost-%COMP%]{display:block;min-width:340px}.general-dialog-content-container[_ngcontent-%COMP%]{height:calc(100% - 100px);overflow:auto!important}.mat-mdc-dialog-title[_ngcontent-%COMP%]{align-items:center;gap:4px}\n/*# sourceMappingURL=general-dialog.component-Z7FQNX65.css.map */"],changeDetection:0});let t=e;return t})();function mQ(t,e){if(t&1&&(C(0,"div",4),j(1,"span",8),z(2,"translate"),I()),t&2){let r=$();D(),ue("innerHtml",G(2,1,r.info),jn)}}function gQ(t,e){if(t&1&&(C(0,"div",5)(1,"div",9),K(2),z(3,"translate"),I()()),t&2){let r=$();D(2),Re(G(3,1,r.info))}}var $x=(()=>{let e=class e{constructor(n){this.dialogRef=n,this.icon="info",this.isHtml=!1}};e.\u0275fac=function(i){return new(i||e)(w(It))},e.\u0275cmp=B({type:e,selectors:[["ix-info-dialog"]],decls:12,vars:8,consts:[["mat-dialog-title",""],[1,"information-icon",3,"name"],[1,"information-title",3,"innerHTML"],["mat-dialog-content",""],[1,"info-panel","ip-overflow-auto"],[1,"info-panel"],["mat-dialog-actions",""],["mat-button","","ixTest","dialog-close",3,"click"],[3,"innerHtml"],["readonly","","matInput","",1,"textarea"]],template:function(i,o){i&1&&(C(0,"h1",0),j(1,"ix-icon",1)(2,"span",2),z(3,"translate"),I(),C(4,"div",3),se(5,mQ,3,3,"div",4)(6,gQ,4,3,"div",5),I(),C(7,"div",6),K(8," \xA0 "),C(9,"button",7),J("click",function(){return o.dialogRef.close(!0)}),K(10),z(11,"translate"),I()()),i&2&&(D(),ue("name",o.icon),D(),ue("innerHTML",G(3,4,o.title),jn),D(3),te(o.isHtml?5:6),D(5),Se(" ",G(11,6,"Close")," "))},dependencies:[Sn,Tn,hr,mr,ut,ft,dt,mt],styles:["[_nghost-%COMP%]{display:block;min-width:330px}.info-panel[_ngcontent-%COMP%]{border:0;max-height:65vh;overflow:hidden;padding:0;transition:max-height .5s linear}.info-panel[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;font-family:var(--font-family-monospace);
1unicode-bidi:embed;white-space:pre-line}.info-panel[_ngcontent-%COMP%] .textarea[_ngcontent-%COMP%]{background:var(--contrast-darker);border:1px solid var(--lines);color:var(--fg2);height:100%;min-height:100px;overflow:auto;padding:1rem}.ip-overflow-auto[_ngcontent-%COMP%]{overflow:auto!important}h1[_ngcontent-%COMP%]{align-items:center;display:flex}.information-icon[_ngcontent-%COMP%]{align-items:center;display:flex;margin-right:5px}.information-title[_ngcontent-%COMP%]{align-items:center;display:flex}\n/*# sourceMappingURL=info-dialog.component-KONLGTVT.css.map */"],changeDetection:0});let t=e;return t})();function vQ(t,e){t&1&&j(0,"div",2)}var bQ=new b("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var ZN=(()=>{let e=class e{constructor(){a(this,"_elementRef",p(P));a(this,"_ngZone",p(F));a(this,"_changeDetectorRef",p(Ne));a(this,"_animationMode",p(qt,{optional:!0}));a(this,"_isNoopAnimation",!1);a(this,"_color");a(this,"_defaultColor","primary");a(this,"_value",0);a(this,"_bufferValue",0);a(this,"animationEnd",new Q);a(this,"_mode","determinate");a(this,"_transitionendHandler",n=>{this.animationEnd.observers.length===0||!n.target||!n.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))});let n=p(bQ,{optional:!0});this._isNoopAnimation=this._animationMode==="NoopAnimations",n&&(n.color&&(this.color=this._defaultColor=n.color),this.mode=n.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(n){this._color=n}get value(){return this._value}set value(n){this._value=YN(n||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(n){this._bufferValue=YN(n||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(n){this._mode=n,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return"scaleX(".concat(this._isIndeterminate()?1:this.value/100,")")}_getBufferBarFlexBasis(){return"".concat(this.mode==="buffer"?this.bufferValue:100,"%")}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,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(i,o){i&2&&(ge("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),En("mat-"+o.color),ae("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",_o],bufferValue:[2,"bufferValue","bufferValue",_o],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[Ke],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(i,o){i&1&&(C(0,"div",0),j(1,"div",1),se(2,vQ,1,0,"div",2),I(),C(3,"div",3),j(4,"span",4),I(),C(5,"div",5),j(6,"span",4),I()),i&2&&(D(),Pi("flex-basis",o._getBufferBarFlexBasis()),D(),te(o.mode==="buffer"?2:-1),D(),Pi("transform",o._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height, 4px),var(--mdc-linear-progress-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;
1transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height, 4px);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-sys-surface-variant))}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scale
1X(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}"],encapsulation:2,changeDetection:0}));let t=e;return t})();function YN(t,e=0,r=100){return Math.max(e,Math.min(r,t))}var yQ=function(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o},_Q=t=>({jobMethod:t});function xQ(t,e){if(t&1&&(C(0,"div",3)(1,"h5"),K(2),z(3,"translate"),I(),C(4,"pre",8,0),K(6),z(7,"translate"),I()()),t&2){let r=$();D(2),Re(G(3,2,"Logs")),D(4),Re(G(7,4,r.realtimeLogs))}}function EQ(t,e){if(t&1&&(C(0,"small"),K(1),z(2,"number"),I()),t&2){let r=$(2);D(),Se(" ",my(2,1,r.progressTotalPercent||0,"1.2-2"),"% ")}}function wQ(t,e){if(t&1&&(C(0,"div")(1,"div",9)(2,"span"),K(3),I(),se(4,EQ,3,4,"small"),I(),j(5,"mat-progress-bar",10),I()),t&2){let r=$();D(3),Re(r.job.description?r.job.description:r.job.method),D(),te(r.hideProgressValue?-1:4),D(),ue("value",r.progressTotalPercent)("mode",r.progressTotalPercent?"determinate":"indeterminate")}}function DQ(t,e){t&1&&(C(0,"div"),j(1,"mat-progress-bar",11),I()),t&2&&(D(),ue("mode","indeterminate"))}function CQ(t,e){if(t&1&&j(0,"div",4),t&2){let r=$();ue("innerHTML",r.description,jn)}}function IQ(t,e){t&1&&(C(0,"div"),j(1,"mat-progress-bar",12),I())}function SQ(t,e){if(t&1){let r=Me();C(0,"button",13),z(1,"translate"),J("click",function(){Ee(r);let i=$();return we(i.abortJob())}),K(2),z(3,"translate"),z(4,"translate"),I()}if(t&2){let r=$();ue("disabled",r.isAbortingJob),ge("aria-label",G(1,3,"Abort Job")),D(2),Se(" ",r.isAbortingJob?G(3,5,"Aborting..."):G(4,7,"Abort")," ")}}function TQ(t,e){if(t&1&&(C(0,"button",7),z(1,"translate"),j(2,"ix-icon",14),I()),t&2){let r=$();ue("aria-label",my(1,1,"Hide Job",KI(4,_Q,r.job.method)))}}var no,zm=(no=class{get isJobRunning(){var e;return((e=this.job)==null?void 0:e.state)===en.Running}get hasAbortButton(){var e;return this.job.abortable&&[en.Running,en.Waiting].includes((e=this.job)==null?void 0:e.state)}get isJobStateDeterminate(){var e;return[en.Aborted,en.Error,en.Failed,en.Finished,en.Success].includes((e=this.job)==null?void 0:e.state)||this.isJobRunning}constructor(e,r,n,i,o){this.dialogRef=e,this.data=r,this.api=n,this.cdr=i,this.errorHandler=o,this.jobSuccess=Al(),this.jobFailure=Al(),this.jobAborted=Al(),this.jobProgress=Al(),this.job={},this.JobState=en,this.realtimeLogsSubscribed=!1,this.realtimeLogs="",this.showMinimizeButton=!0,this.progressTotalPercent=0,this.hideProgressValue=!1,this.showRealtimeLogs=!1,this.isAbortingJob=!1}ngOnInit(){var r,n,i,o;this.title=(r=this.data)==null?void 0:r.title,this.description=(n=this.data)==null?void 0:n.description,this.showRealtimeLogs=((i=this.data)==null?void 0:i.showRealtimeLogs)||!1,this.showMinimizeButton=((o=this.data)==null?void 0:o.canMinimize)||!1,this.dialogRef.disableClose=!this.showMinimizeButton;let e=null;this.cdr.markForCheck(),this.data.job$.pipe(ht(this)).subscribe({next:s=>{this.job=s,this.title||(this.title=this.job.method),this.description||(this.description=this.job.description),this.data.showRealtimeLogs&&this.job.logs_path&&!this.realtimeLogsSubscribed&&(e=this.getRealtimeLogs()),s.progress&&!this.data.showRealtimeLogs&&(this.jobProgress.emit(s.progress),s.progress.description&&(this.description=s.progress.description),s.progress.percent&&(this.progressTotalPercent=s.progress.percent),this.hideProgressValue=s.progress.percent===null),this.cdr.markForCheck()},error:s=>{this.jobFailure.emit(s),this.dialogRef.close()},complete:()=>{switch(this.job.state){case en.Failed:this.jobFailure.emit(this.job),this.dialogRef.close();break;case en.Aborted:this.jobAborted.emit(this.job),this.dialogRef.close();break;case en.Success:this.jobSuccess.emit(this.job),this.dialogRef.close();break}this.realtimeLogsSubscribed&&(e==null||e.unsubscribe()),this.cdr.markForCheck()}})}ngAfterViewChecked(){this.scrollBottom()}scrollBottom(){let r=document.getElementsByClassName("job-dialog")[0].getElementsByClassName("logs-container")[0];r&&(r.scrollTop=r.scrollHeight,this.cdr.markForCheck())}abortJob(){this.api.call("core.job_abort",[this.job.id]).pipe(this.errorHandler.catchError(),ht(this)).subscribe(()=>{this.isAbortingJob=!0,this.cdr.markForCheck()})}getRealtimeLogs(){return this.realtimeLogsSubscribed=!0,this.cdr.markForCheck(),this.api.subscribe("filesystem.file_tail_follow:".concat(this.job.logs_path)).pipe(N(e=>e.fields),ht(this)).subscribe(e=>
1{e!=null&&e.data&&typeof e.data=="string"&&(this.realtimeLogs+=e.data),this.cdr.markForCheck()})}},no.\u0275fac=function(r){return new(r||no)(w(It),w(Lr),w(Zo),w(Ne),w(os))},no.\u0275cmp=B({type:no,selectors:[["ix-job-progress-dialog"]],outputs:{jobSuccess:"jobSuccess",jobFailure:"jobFailure",jobAborted:"jobAborted",jobProgress:"jobProgress"},decls:13,vars:12,consts:[["logs",""],["mat-dialog-title",""],[1,"job-dialog"],[1,"logs-container"],[1,"job-description",3,"innerHTML"],["mat-dialog-actions",""],["mat-button","","ixTest","abort",3,"disabled"],["mat-icon-button","","mat-dialog-close","close","ixTest","close",1,"mat-dialog-close",3,"aria-label"],[1,"message","logs"],[1,"description-line"],["color","primary",1,"job-progress","job-running",3,"value","mode"],["color","primary",1,"job-progress","job-ended",3,"mode"],["color","primary","mode","indeterminate",1,"job-progress"],["mat-button","","ixTest","abort",3,"click","disabled"],["name","remove"]],template:function(r,n){r&1&&(C(0,"h1",1),K(1),z(2,"translate"),z(3,"translate"),I(),C(4,"mat-dialog-content",2),se(5,xQ,8,6,"div",3)(6,wQ,6,4,"div")(7,DQ,2,1,"div")(8,CQ,1,1,"div",4)(9,IQ,2,0,"div"),I(),C(10,"div",5),se(11,SQ,5,9,"button",6)(12,TQ,3,6,"button",7),I()),r&2&&(D(),Se(" ",n.title?G(2,8,n.title):G(3,10,"Loading"),"\n"),D(4),te(n.showRealtimeLogs&&n.realtimeLogs?5:-1),D(),te(n.isJobRunning?6:-1),D(),te(n.isJobStateDeterminate?-1:7),D(),te(n.description?8:-1),D(),te(!n.description&&!n.job?9:-1),D(2),te(n.hasAbortButton?11:-1),D(),te(n.showMinimizeButton?12:-1))},dependencies:[Sn,hr,ZN,mr,ut,Vp,XO,Tn,ft,dt,DS,mt],styles:["[_nghost-%COMP%]{display:block;position:relative}[_nghost-%COMP%] .mat-mdc-dialog-actions{position:static}mat-dialog-content.job-dialog[_ngcontent-%COMP%]{max-height:350px;max-width:100%;width:100%}@media (min-width: 767px){mat-dialog-content.job-dialog[_ngcontent-%COMP%]{max-width:400px;min-width:370px}}mat-dialog-content.job-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-content[_ngcontent-%COMP%]{overflow:auto!important}.mat-dialog-close[_ngcontent-%COMP%]{position:absolute;right:5px;top:5px}.job-progress[_ngcontent-%COMP%]{margin:3px 0}.job-description[_ngcontent-%COMP%]{opacity:.75;white-space:pre-line}.job-time[_ngcontent-%COMP%]{opacity:.5}.logs-container[_ngcontent-%COMP%]{margin-bottom:20px;max-height:200px;overflow-y:auto}.logs[_ngcontent-%COMP%]{background:#00000018;color:#fff;overflow-x:auto;padding:5px;white-space:pre-wrap;word-wrap:break-word}.description-line[_ngcontent-%COMP%]{display:flex;gap:8px;justify-content:space-between}\n/*# sourceMappingURL=job-progress-dialog.component-HVN2US4U.css.map */"],changeDetection:0}),no);zm=yQ([Qt()],zm);var KN=(()=>{let e=class e{constructor(){a(this,"_vertical",!1);a(this,"_inset",!1)}get vertical(){return this._vertical}set vertical(n){this._vertical=Ya(n)}get inset(){return this._inset}set inset(n){this._inset=Ya(n)}};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275cmp",B({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,o){i&2&&(ge("aria-orientation",o.vertical?"vertical":"horizontal"),ae("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(i,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}));let t=e;return t})(),a2e=(()=>{let e=class e{};a(e,"\u0275fac",function(i){return new(i||e)}),a(e,"\u0275mod",oe({type:e})),a(e,"\u0275inj",ie({imports:[tt,tt]}));let t=e;return t})();var AQ=function(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o},MQ=["errorMessageWrapper"],kQ=["errorMdContent"],RQ=["errorBtPanel"],OQ=["errorBtText"];function NQ(t,e){t&1&&j(0,"ix-icon",14)}function PQ(t,e){t&1&&j(0,"ix-icon",15)}function FQ(t,e){if(t&1){let r=Me();C(0,"div",13),J("click",function(){Ee(r);let i=$();return we(i.toggleOpen())}),se(1,NQ,1,0,"ix-icon",14)(2,PQ,1,0,"ix-icon",15),C(3,"span"),K(4),z(5,"translate"),I()()}if(t&2){let r=$();D(),te(r.isCloseMoreInfo?1:2),D(3),Re(G(5,2,"More info..."))}}function LQ(t,e){if(t&1&&(C(0,"div",16,3)(2,"div",17,4),K(4),z(5,"translate"),I()()),t&2){let r=$();ae("open",!r.isCloseMoreInfo),D(4),jl(" ",G(5,4,"Error"),": ",r.backtrace()," ")}}function jQ(t,e){if(t&1){let r=Me();C(0,"button",18),J("click",function(){Ee(r);let i=$();return we(i.downloadLogs())}),K(1),z(2,"translate"),I()}t&2&&(D(),Se(" ",G(2,1,"Download Logs")," "))}var ro,Wm=(ro=class{constructor(e,r,n,i){this.api=e,this.download=r,this.errorHandler=n,this.dialogService=i,this.errorMessageWrapper=Nl.required("errorMessageWrapper",{read:P}),this.errorMdContent=Nl.required("errorMdContent",{read:P}),this.errorBtPanel=Nl("errorBtPanel",{read:P}),this.errorBtText=Nl("errorBtText",{read:P}),this.title=Gt.required(),this.message=Gt(),this.backtrace=Gt(),this.logs=Gt(),this.isCloseMoreInfo=!0}toggleOpen(){var o,s;let e=this.errorMessageWrapper().nativeElement,r=this.errorMdContent().nativeElement,n=(o=this.errorBtPanel())==null?void 0:o.nativeElement,i=(s=this.errorBtText())==null?void 0:s.nativeElement;this.isCloseMoreInfo=!this.isCloseMoreInfo,this.isCloseMoreInfo?(r.removeAttribute("style"),n==null||n.removeAttribute("style"),e.removeAttribute("style"),i==null||i.removeAttribute("style")):(e.setAttribute("style","max-height: 63px; overflow: auto"),n==null||n.setAttribute("style","width: 750px; max-height: calc(80vh - 240px)"))}downloadLogs(){var r;let e=(r=this.logs())==null?void 0:r.id;if(!e)throw new Error("Missing logs id.");this.api.call("core.job_download_logs",[e,"".concat(e,".log")]).pipe(this.errorHandler.catchError(),ht(this)).subscribe(n=>{this.download.streamDownloadFile(n,"".concat(e,".log"),"text/plain").pipe(ht(this)).subscribe({next:o=>{this.download.downloadBlob(o,"".concat(e,".log"))},error:o=>{this.dialogService.error(this.errorHandler.parseError(o))}})})}},ro.\u0275fac=function(r){return new(r||ro)(w(Zo),w(gm),w(os),w(vr))},ro.\u0275cmp=B({type:ro,selectors:[["ix-error-template"]],viewQuery:function(r,n){r&1&&(Ll(n.errorMessageWrapper,MQ,5,P),Ll(n.errorMdContent,kQ,5,P),Ll(n.errorBtPanel,RQ,5,P),Ll(n.errorBtText,OQ,5,P)),r&2&&GI(4)},inputs:{title:[1,"title"],message:[1,"message"],backtrace:[1,"backtrace"],logs:[1,"logs"]},decls:13,vars:7,consts:[["errorTitle",""],["errorMdContent",""],["errorMessageWrapper",""],["errorBtPanel",""],["errorBtText",""],["mat-dialog-title","","id","err-title",1,"err-title"],["name","error",1,"error-warning-icon"],["id","err-md-content"],["id","err-message-wrapper"],[3,"innerHTML"],[1,"more-info"],["id","err-bt-panel",1,"backtrace-panel",3,"open"],["mat-button","","ixTest","download-logs",1,"mat-mdc-button","mat-button","mat-primary"],[1,"more-info",3,"click"],["name","add_circle_outline"],["name","remove_circle_outline"],["id","err-bt-panel",1,"backtrace-panel"],["id","err-bt-text","readonly","","matInput","",1,"textarea","scrolled-down"],["mat-button","","ixTest","download-logs",1,"mat-mdc-button","mat-button","mat-primary",3,"click"]],template:function(r,n){r&1&&(C(0,"h1",5,0),j(2,"ix-icon",6),K(3),z(4,"translate"),I(),C(5,"div",7,1)(7,"div",8,2),j(9,"span",9),I(),se(10,FQ,6,4,"div",10)(11,LQ,6,6,"div",11),I(),se(12,jQ,3,3,"button",12)),r&2&&(D(3),Se(" ",G(4,5,n.title()),"\n"),D(6),ue("innerHTML",n.message(),jn),D(),te(n.backtrace()?10:-1),D(),te(n.backtrace()?11:-1),D(),te(n.logs()?12:-1))},dependencies:[Sn,Tn,ut,ft,dt,mt],styles:[".warning-icon[_ngcontent-%COMP%]{color:var(--orange);margin-right:10px;position:relative}.backtrace-panel[_ngcontent-%COMP%]{border:0;max-height:0;overflow:hidden;padding:0;transition:max-height .25s linear}.backtrace-panel.open[_ngcontent-%COMP%]{margin-bottom:24px;max-height:calc(80vh - 288px);padding:2px}.backtrace-panel[_ngcontent-%COMP%] .textarea[_ngcontent-%COMP%]{background:var(--contrast-darker);border:1px solid var(--lines);color:var(--fg2);font-family:var(--font-family-monospace);max-height:calc(80vh - 288px);min-height:100px;overflow:auto;padding:1rem;white-space:pre-wrap}#err-message-wrapper[_ngcontent-%COMP%]{margin-left:40px}.scrolled-down[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}#err-md-content[_ngcontent-%COMP%]{overflow-y:auto!important}.err-title[_ngcontent-%COMP%]{align-items:center}\n/*# sourceMappingURL=error-template.component-KJATDUJZ.css.map */"],changeDetection:0}),ro);Wm=AQ([Qt()],Wm);function VQ(t,e){if(t&1&&j(0,"ix-error-template",4)(1,"mat-divider"),t&2){let r=e.$implicit;ue("title",r.title)("message",r.message)("backtrace",r.backtrace)("logs",r.logs)}}var XN=(()=>{let e=class e{constructor(n,i){this.dialogRef=n,this.errors=i}};e.\u0275fac=function(i){return new(i||e)(w(It),w(Lr))},e.\u0275cmp=B({type:e,selectors:[["ix-multi-error-dialog"]],decls:10,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"multi-error-dialog"],["mat-dialog-actions",""],["mat-button","","ixTest","close-error-dialog",1,"mat-mdc-button","mat-button","mat-accent",3,"click"],[1,"error-template",3,"title","message","backtrace","logs"]],template:function(i,o){i&1&&(C(0,"h1",0),K(1),z(2,"translate"),I(),C(3,"div",1),HI(4,VQ,2,4,null,null,UI),I(),C(6,"div",2)(7,"button",3),J("click",function(){return o.dialogRef.close(!0)}),K(8),z(9,"translate"),I()()),i&2&&(D(),Re(G(2,2,"Multiple Errors")),D(3),$I(o.errors),D(4),Se(" ",G(9,4,"Close")," "))},dependencies:[Sn,hr,Wm,KN,mr,ut,ft,dt,mt],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{display:block;min-height:unset;text-align:right}.mat-divider[_ngcontent-%COMP%]{margin:8px 0}.ix-dark[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%], .ix-dark[_ngcontent-%COMP%] .mat-mdc-dialog-content[_ngcontent-%COMP%]{overflow:auto!important}\n/*# sourceMappingURL=multi-error-dialog.component-FIY43QYI.css.map */"],changeDetection:0});let t=e;return t})();var BQ=function(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o},bi,vr=(bi=class{constructor(e,r){this.matDialog=e,this.translate=r}confirm(e){return this.matDialog.open(E1,{disableClose:e.disableClose||!1,data:e,autoFocus:!0}).afterClosed()}error(e){if(Array.isArray(e)){if(e=this.cleanErrors(e),e.length>1)return this.matDialog.open(XN,{data:e}).afterClosed();e=e[0]}if(!(e!=null&&e.message))return O(!1);let r=this.matDialog.open(Hm,{data:e});return r.componentInstance.title=e.title,r.componentInstance.message=e.message,r.componentInstance.backtrace=e.backtrace,e.logs&&(r.componentInstance.logs=e.logs),r.afterClosed()}cleanErrors(e){let r=[];for(let n of e)n.message&&r.push(T({},n));return r}info(e,r,n=!1){let i=this.matDialog.open($x);
1return i.componentInstance.title=e,i.componentInstance.info=r,i.componentInstance.icon="info",i.componentInstance.isHtml=n,i.afterClosed()}warn(e,r,n=!1){let i=this.matDialog.open($x);return i.componentInstance.title=e,i.componentInstance.info=r,i.componentInstance.icon="warning",i.componentInstance.isHtml=n,i.afterClosed()}generalDialog(e){return this.matDialog.open(qN,{data:e}).afterClosed()}fullScreenDialog(e={}){return this.matDialog.open(GN,{maxWidth:"100vw",maxHeight:"100vh",height:"100%",width:"100%",panelClass:"full-screen-modal",disableClose:!0,data:e}).afterClosed()}closeAllDialogs(){for(let e of this.matDialog.openDialogs||[])e.close()}jobDialog(e,{title:r,description:n,canMinimize:i}={}){let o=this.matDialog.open(zm,{data:{job$:e,title:r,description:n,canMinimize:i}});return new pm(o,this.translate)}},bi.\u0275fac=function(r){return new(r||bi)(E(Iu),E(ln))},bi.\u0275prov=y({token:bi,factory:bi.\u0275fac,providedIn:"root"}),bi);vr=BQ([Qt()],vr);var UQ=function(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o},yi,Ko=(yi=class{get isSystemShuttingDown(){return this.shutDownInProgress}set isAccessRestricted$(e){this.hasRestrictedError$.next(e)}get isAccessRestricted$(){return this.hasRestrictedError$.asObservable()}get isClosed$(){return this.isConnectionLive$.pipe(N(e=>!e))}get responses$(){return this.wsConnection.stream$}constructor(e,r,n,i,o){this.wsStatus=e,this.dialogService=r,this.translate=n,this.window=i,this.webSocket=o,this.wsConnection=new fm(this.webSocket),this.connectionUrl=(this.window.location.protocol==="https:"?"wss://":"ws://")+sc.remote+"/api/current",this.reconnectTimeoutMillis=5*1e3,this.maxConcurrentCalls=20,this.shutDownInProgress=!1,this.hasRestrictedError$=new qe(!1),this.isConnectionLive$=new qe(!1),this.triggerNextCall$=new A,this.activeCalls=0,this.queuedCalls=[],this.pendingCalls=new Map,this.showingConcurrentCallsError=!1,this.callsInConcurrentCallsError=new Set,this.setupWebSocket()}setupWebSocket(){this.connectWebSocket(),this.setupScheduledCalls()}setupScheduledCalls(){us([this.triggerNextCall$,this.wsStatus.isConnected$]).pipe(Z(([,e])=>e),je(()=>{this.activeCalls+1<this.maxConcurrentCalls||this.raiseConcurrentCallsError()}),Rt(()=>{let e=this.queuedCalls.shift();return e?this.processCall(e):O(null)},this.maxConcurrentCalls)).subscribe()}processCall(e){return this.activeCalls++,this.pendingCalls.set(e.id,e),this.wsConnection.send(e),this.responses$.pipe(Z(r=>"id"in r&&r.id===e.id),_e(1),je(r=>{Yo(r)&&console.error("Error: ",r.error),this.activeCalls--,this.pendingCalls.delete(e.id),this.triggerNextCall$.next()}))}raiseConcurrentCallsError(){let e=[...this.queuedCalls,...this.pendingCalls.values()].filter(r=>this.callsInConcurrentCallsError.has(r.id)?!1:(this.callsInConcurrentCallsError.add(r.id),!0)).map(r=>sc.production?r.method:r);e.length&&(console.error("Max concurrent calls",JSON.stringify(e)),!this.showingConcurrentCallsError&&(sc.production||(this.showingConcurrentCallsError=!0,this.dialogService.error({message:this.translate.instant("Max concurrent calls limit reached.\n There are more than 20 calls queued.\n See queued calls in the browser's console logs"),title:this.translate.instant("Max Concurrent Calls")}).pipe(ht(this)).subscribe({next:()=>{this.showingConcurrentCallsError=!1}}))))}connectWebSocket(){this.wsConnection.closed||this.wsConnection.close(),performance.mark("WS Init"),this.wsConnection.connect({url:this.connectionUrl,openObserver:{next:this.onOpen.bind(this)},closeObserver:{next:this.onClose.bind(this)}}).subscribe()}onClose(e){this.wsStatus.setConnectionStatus(!1),this.isConnectionLive$.next(!1),!this.reconnectTimerSubscription&&(e.code===1008?this.isAccessRestricted$=!0:this.initiateReconnect())}unsubscribeReconnectSubscription(){var e;(e=this.reconnectTimerSubscription)==null||e.unsubscribe(),this.reconnectTimerSubscription=void 0}onOpen(){if(this.reconnectTimerSubscription){this.wsConnection.close();return}this.shutDownInProgress=!1,this.wsStatus.setConnectionStatus(!0),performance.mark("WS Connected"),performance.measure("Establishing WS connection","WS Init","WS Connected")}scheduleCall(e){let r=v1(e);this.queuedCalls.push(r),this.triggerNextCall$.next()}prepareShutdown(){this.shutDownInProgress=!0}reconnect(){this.wsConnection.closed?this.initiateReconnect():this.wsConnection.close()}initiateReconnect(){this.reconnectTimerSubscription&&this.unsubscribeReconnectSubscription(),this.reconnectTimerSubscription=on(this.reconnectTimeoutMillis).subscribe({next:()=>{this.unsubscribeReconnectSubscription(),this.setupWebSocket()}})}setupConnectionUrl(e,r){this.connectionUrl=(e==="https:"?"wss://":"ws://")+r+"/websocket"}},yi.\u0275fac=function(r){return new(r||yi)(E(mi),E(vr),E(ln),E(Mc),E(b1))},yi.\u0275prov=y({token:yi,factory:yi.\u0275fac,providedIn:"root"}),yi);Ko=UQ([Qt()],Ko);var C1=(()=>{let e=class e{constructor(n,i){this.wsStatus=n,this.wsHandler=i,this.openSubscriptions=new Map,this.establishedSubscriptions=new Map,this.pendingSubscriptions=new Map,this.subscriptionsToClose=new Set,this.listenForSubscriptionsToBeEstablished()}subscribe(n){if(this.openSubscriptions.has(n))return this.openSubscriptions.get(n);let i=new V(o=>(this.initiateNewSubscription(n),this.wsHandler.responses$.pipe(Z(s=>m1(s)&&s.params.collection===n),N(s=>s.params)).subscribe(o),()=>{this.markSubscriptionToBeCancelled(n)})).pipe(co());return this.openSubscriptions.set(n,i),i}initiateNewSubscription(n){this.subscriptionsToClose.has(n)&&this.subscriptionsToClose.delete(n);let i=zx.UUID.UUID();this.wsHandler.scheduleCall({id:i,method:"core.subscribe",params:[n]}),this.pendingSubscriptions.set(i,n)}listenForSubscriptionsToBeEstablished(){this.wsHandler.responses$.pipe(je(n=>{if(!(g1(n)&&this.pendingSubscriptions.has(n.id)))return;let o=this.pendingSubscriptions.get(n.id);if(!o)return;let s=n.result;this.onSubscriptionEstablished(o,s),this.pendingSubscriptions.delete(n.id)})).subscribe()}markSubscriptionToBeCancelled(n){if(this.establishedSubscriptions.has(n)){this.cancelSubscription(n);return}this.subscriptionsToClose.add(n)}onSubscriptionEstablished(n,i){this.establishedSubscriptions.set(n,i),this.subscriptionsToClose.has(n)&&this.cancelSubscription(n)}cancelSubscription(n){let i=this.establishedSubscriptions.get(n);this.wsStatus.isAuthenticated&&this.wsHandler.scheduleCall({id:zx.UUID.UUID(),method:"core.unsubscribe",params:[i]}),this.establishedSubscriptions.delete(n),this.openSubscriptions.delete(n)}};e.\u0275fac=function(i){return new(i||e)(E(mi),E(Ko))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var v=function(t){return t.SshRead="SSH_READ",t.SshWrite="SSH_WRITE",t.AlertRead="ALERT_READ",t.AlertWrite="ALERT_WRITE",t.BootEnvRead="BOOT_ENV_READ",t.BootEnvWrite="BOOT_ENV_WRITE",t.DiskRead="DISK_READ",t.DiskWrite="DISK_WRITE",t.DockerRead="DOCKER_READ",t.NetworkGeneralWrite="NETWORK_GENERAL_WRITE",t.SystemCronRead="SYSTEM_CRON_READ",t.SystemCronWrite="SYSTEM_CRON_WRITE",t.SystemSecurityRead="SYSTEM_SECURITY_READ",t.SystemSecurityWrite="SYSTEM_SECURITY_WRITE",t.SystemTunableRead="SYSTEM_TUNABLE_READ",t.SystemTunableWrite="SYSTEM_TUNABLE_WRITE",t.SystemUpdateRead="SYSTEM_UPDATE_READ",t.SystemUpdateWrite="SYSTEM_UPDATE_WRITE",t.TrueNasConnectRead="TRUENAS_CONNECT_READ",t.TrueNasConnectWrite="TRUENAS_CONNECT_WRITE",t.ApiKeyWrite="API_KEY_WRITE",t.ApiKeyRead="API_KEY_READ",t.PrivilegeWrite="PRIVILEGE_WRITE",t.PrivilegeRead="PRIVILEGE_READ",t.TrueCommandRead="TRUECOMMAND_READ",t.TrueCommandWrite="TRUECOMMAND_WRITE",t.AccountRead="A
1CCOUNT_READ",t.AccountWrite="ACCOUNT_WRITE",t.AlertListRead="ALERT_LIST_READ",t.AlertListWrite="ALERT_LIST_WRITE",t.AuthSessionsRead="AUTH_SESSIONS_READ",t.AuthSessionsWrite="AUTH_SESSIONS_WRITE",t.CloudBackupRead="CLOUD_BACKUP_READ",t.CloudBackupWrite="CLOUD_BACKUP_WRITE",t.CloudSyncRead="CLOUD_SYNC_READ",t.CloudSyncWrite="CLOUD_SYNC_WRITE",t.DatasetDelete="DATASET_DELETE",t.DatasetRead="DATASET_READ",t.DatasetWrite="DATASET_WRITE",t.EnclosureRead="ENCLOSURE_READ",t.EnclosureWrite="ENCLOSURE_WRITE",t.FilesystemAttrsRead="FILESYSTEM_ATTRS_READ",t.FilesystemAttrsWrite="FILESYSTEM_ATTRS_WRITE",t.FilesystemDataRead="FILESYSTEM_DATA_READ",t.FilesystemDataWrite="FILESYSTEM_DATA_WRITE",t.FilesystemFullControl="FILESYSTEM_FULL_CONTROL",t.FullAdmin="FULL_ADMIN",t.HasAllowList="HAS_ALLOW_LIST",t.KeychainCredentialRead="KEYCHAIN_CREDENTIAL_READ",t.KeychainCredentialWrite="KEYCHAIN_CREDENTIAL_WRITE",t.KmipRead="KMIP_READ",t.KmipWrite="KMIP_WRITE",t.LocalAdministrator="LOCAL_ADMINISTRATOR",t.NetworkGeneralRead="NETWORK_GENERAL_READ",t.NetworkInterfaceRead="NETWORK_INTERFACE_READ",t.NetworkInterfaceWrite="NETWORK_INTERFACE_WRITE",t.ReadonlyAdmin="READONLY_ADMIN",t.ReplicationAdmin="REPLICATION_ADMIN",t.ReplicationTaskConfigRead="REPLICATION_TASK_CONFIG_READ",t.ReplicationTaskConfigWrite="REPLICATION_TASK_CONFIG_WRITE",t.ReplicationTaskRead="REPLICATION_TASK_READ",t.ReplicationTaskWrite="REPLICATION_TASK_WRITE",t.ReplicationTaskWritePull="REPLICATION_TASK_WRITE_PULL",t.ReportingRead="REPORTING_READ",t.ReportingWrite="REPORTING_WRITE",t.ServiceRead="SERVICE_READ",t.ServiceWrite="SERVICE_WRITE",t.SharingIscsiAuthRead="SHARING_ISCSI_AUTH_READ",t.SharingIscsiAuthWrite="SHARING_ISCSI_AUTH_WRITE",t.SharingIscsiExtentRead="SHARING_ISCSI_EXTENT_READ",t.SharingIscsiExtentWrite="SHARING_ISCSI_EXTENT_WRITE",t.SharingIscsiGlobalRead="SHARING_ISCSI_GLOBAL_READ",t.SharingIscsiGlobalWrite="SHARING_ISCSI_GLOBAL_WRITE",t.SharingIscsiHostRead="SHARING_ISCSI_HOST_READ",t.SharingIscsiHostWrite="SHARING_ISCSI_HOST_WRITE",t.SharingIscsiInitiatorRead="SHARING_ISCSI_INITIATOR_READ",t.SharingIscsiInitiatorWrite="SHARING_ISCSI_INITIATOR_WRITE",t.SharingIscsiPortalRead="SHARING_ISCSI_PORTAL_READ",t.SharingIscsiPortalWrite="SHARING_ISCSI_PORTAL_WRITE",t.SharingIscsiRead="SHARING_ISCSI_READ",t.SharingIscsiTargetExtentRead="SHARING_ISCSI_TARGETEXTENT_READ",t.SharingIscsiTargetExtentWrite="SHARING_ISCSI_TARGETEXTENT_WRITE",t.SharingIscsiTargetRead="SHARING_ISCSI_TARGET_READ",t.SharingIscsiTargetWrite="SHARING_ISCSI_TARGET_WRITE",t.SharingIscsiWrite="SHARING_ISCSI_WRITE",t.SharingFtpRead="SHARING_FTP_READ",t.SharingFtpWrite="SHARING_FTP_WRITE",t.SharingAdmin="SHARING_ADMIN",t.SharingNfsRead="SHARING_NFS_READ",t.SharingNfsWrite="SHARING_NFS_WRITE",t.SharingRead="SHARING_READ",t.SharingSmbRead="SHARING_SMB_READ",t.SharingSmbWrite="SHARING_SMB_WRITE",t.SharingWrite="SHARING_WRITE",t.SnapshotDelete="SNAPSHOT_DELETE",t.SnapshotRead="SNAPSHOT_READ",t.SnapshotTaskRead="SNAPSHOT_TASK_READ",t.SnapshotTaskWrite="SNAPSHOT_TASK_WRITE",t.SnapshotWrite="SNAPSHOT_WRITE",t.SupportRead="SUPPORT_READ",t.SupportWrite="SUPPORT_WRITE",t.SystemAuditRead="SYSTEM_AUDIT_READ",t.SystemAuditWrite="SYSTEM_AUDIT_WRITE",t.SystemGeneralRead="SYSTEM_GENERAL_READ",t.SystemGeneralWrite="SYSTEM_GENERAL_WRITE",t.SystemAdvancedRead="SYSTEM_ADVANCED_READ",t.SystemAdvancedWrite="SYSTEM_ADVANCED_WRITE",t.AppsRead="APPS_READ",t.AppsWrite="APPS_WRITE",t.CatalogRead="CATALOG_READ",t.CatalogWrite="CATALOG_WRITE",t.CertificateAuthorityRead="CERTIFICATE_AUTHORITY_READ",t.CertificateAuthorityWrite="CERTIFICATE_AUTHORITY_WRITE",t.CertificateRead="CERTIFICATE_READ",t.CertificateWrite="CERTIFICATE_WRITE",t.ContainerRead="CONTAINER_READ",t.ContainerWrite="CONTAINER_WRITE",t.FailoverRead="FAILOVER_READ",t.FailoverWrite="FAILOVER_WRITE",t.IpmiRead="IPMI_READ",t.IpmiWrite="IPMI_WRITE",t.JbofRead="JBOF_READ",t.JbofWrite="JBOF_WRITE",t.PoolScrubRead="POOL_SCRUB_READ",t.PoolScrubWrite="POOL_SCRUB_WRITE",t.PoolRead="POOL_READ",t.PoolWrite="POOL_WRITE",t.VirtImageRead="VIRT_IMAGE_READ",t.VirtImageWrite="VIRT_IMAGE_WRITE",t.VirtInstanceRead="VIRT_INSTANCE_READ",t.VirtInstanceWrite="VIRT_INSTANCE_WRITE",t.VirtInstanceDelete="VIRT_INSTANCE_DELETE",t.VirtGlobalRead="VIRT_GLOBAL_READ",t.VirtGlobalWrite="VIRT_GLOBAL_WRITE",t.VmDeviceRead="VM_DEVICE_READ",t.VmDeviceWrite="VM_DEVICE_WRITE",t.VmRead="VM_READ",t.VmWrite="VM_WRITE",t.DirectoryServiceRead="DIRECTORY_SERVICE_READ",t.DirectoryServiceWrite="DIRECTORY_SERVICE_WRITE",t.DockerWrite="DOCKER_WRITE",t}(v||{}),q2e=new Map([[v.SshRead,"SSH Read"],[v.SshWrite,"SSH Write"],[v.AlertRead,"Alert Read"],[v.AlertWrite,"Alert Write"],[v.BootEnvRead,"Boot Environment Read"],[v.BootEnvWrite,"Boot Environment Write"],[v.DiskRead,"Disk Read"],[v.DiskWrite,"Disk Write"],[v.DockerRead,"Docker Read"],[v.NetworkGeneralWrite,"Network General Write"],[v.SystemCronRead,"System Cron Read"],[v.SystemCronWrite,"System Cron Write"],[v.SystemSecurityRead,"System Security Read"],[v.SystemSecurityWrite,"System Security Write"],[v.SystemTunableRead,"System Tunable Read"],[v.SystemTunableWrite,"System Tunable Write"],[v.SystemUpdateRead,"System Update Read"],[v.SystemUpdateWrite,"System Update Write"],[v.TrueNasConnectRead,"TrueNAS Connect Read"],[v.TrueNasConnectWrite,"TrueNAS Connect Write"],[v.PrivilegeWrite,"Privilege Write"],[v.PrivilegeRead,"Privilege Read"],[v.ApiKeyRead,"API Key Read"],[v.ApiKeyWrite,"API Key Write"],[v.TrueCommandRead,"TrueCommand Read"],[v.TrueCommandWrite,"TrueCommand Write"],[v.AlertListRead,"Alert List Read"],[v.AlertListWrite,"Alert List Write"],[v.AuthSessionsRead,"Auth Sessions Read"],[v.AuthSessionsWrite,"Auth Sessions Write"],[v.DatasetDelete,"Dataset Delete"],[v.DatasetRead,"Dataset Read"],[v.DatasetWrite,"Dataset Write"],[v.CloudBackupRead,"Cloud Backup Read"],[v.CloudBackupWrite,"Cloud Backup Write"],[v.FilesystemAttrsRead,"Filesystem Attrs Read"],[v.FilesystemAttrsWrite,"Filesystem Attrs Write"],[v.FilesystemDataRead,"Filesystem Data Read"],[v.FilesystemDataWrite,"Filesystem Data Write"],[v.FilesystemFullControl,"Filesystem Full Control"],[v.FullAdmin,"Full Admin"],[v.HasAllowList,"Has Allow List"],[v.LocalAdministrator,"Local Administrator"],[v.KeychainCredentialRead,"Keychain Credential Read"],[v.KeychainCredentialWrite,"Keychain Credential Write"],[v.NetworkGeneralRead,"Network General Read"],[v.NetworkInterfaceRead,"Network Interface Read"],[v.NetworkInterfaceWrite,"Network Interface Write"],[v.ReadonlyAdmin,"Readonly Admin"],[v.ReplicationAdmin,"Replication Admin"],[v.ReplicationTaskConfigRead,"Replication Task Config Read"],[v.ReplicationTaskConfigWrite,"Replication Task Config Write"],[v.ReplicationTaskRead,"Replication Task Read"],[v.ReplicationTaskWrite,"Replication Task Write"],[v.ReplicationTaskWritePull,"Replication Task Write Pull"],[v.SharingIscsiAuthRead,"Sharing iSCSI Auth Read"],[v.SharingIscsiAuthWrite,"Sharing iSCSI Auth Write"],[v.SharingIscsiExtentRead,"Sharing iSCSI Extent Read"],[v.SharingIscsiExtentWrite,"Sharing iSCSI Extent Write"],[v.SharingIscsiGlobalRead,"Sharing iSCSI Global Read"],[v.SharingIscsiGlobalWrite,"Sharing iSCSI Global Write"],[v.SharingIscsiHostRead,"Sharing iSCSI Host Read"],[v.SharingIscsiHostWrite,"Sharing iSCSI Host Write"],[v.SharingIscsiInitiatorRead,"Sharing iSCSI Initiator Read"],[v.SharingIscsiInitiatorWrite,"Sharing iSCSI Initiator Write"],[v.SharingIscsiPortalRead,"Sharing iSCSI Portal Read"],[v.SharingIscsiPortalWrite,"Sharing iSCSI Portal Write"],[v.SharingIscsiRead,"Sharing iSCSI Read"],[v.SharingIscsiTargetExtentRead,"Sharing iSCSI Target Extent Read"],[v.SharingIscsiTargetExtentWrite,"Sharing iSCSI Target Extent Write"],[v.SharingIscsiTargetRead,"
1Sharing iSCSI Target Read"],[v.SharingIscsiTargetWrite,"Sharing iSCSI Target Write"],[v.SharingIscsiWrite,"Sharing iSCSI Write"],[v.SharingFtpRead,"Sharing FTP Read"],[v.SharingFtpWrite,"Sharing FTP Write"],[v.SharingAdmin,"Sharing Admin"],[v.SharingNfsRead,"Sharing NFS Read"],[v.SharingNfsWrite,"Sharing NFS Write"],[v.SharingRead,"Sharing Read"],[v.SharingSmbRead,"Sharing SMB Read"],[v.SharingSmbWrite,"Sharing SMB Write"],[v.SharingWrite,"Sharing Write"],[v.SnapshotDelete,"Snapshot Delete"],[v.SnapshotRead,"Snapshot Read"],[v.SnapshotTaskRead,"Snapshot Task Read"],[v.SnapshotTaskWrite,"Snapshot Task Write"],[v.SnapshotWrite,"Snapshot Write"],[v.AuthSessionsRead,"Auth Sessions Read"],[v.AuthSessionsWrite,"Auth Sessions Write"],[v.ReportingRead,"Reporting Read"],[v.AccountRead,"Account Read"],[v.AccountWrite,"Account Write"],[v.CloudSyncRead,"Cloud Sync Read"],[v.CloudSyncWrite,"Cloud Sync Write"],[v.EnclosureRead,"Enclosure Read"],[v.EnclosureWrite,"Enclosure Write"],[v.KmipRead,"KMIP Read"],[v.KmipWrite,"KMIP Write"],[v.ReportingRead,"Reporting Read"],[v.ReportingWrite,"Reporting Write"],[v.ServiceRead,"Service Read"],[v.ServiceWrite,"Service Write"],[v.SystemGeneralRead,"System General Read"],[v.SystemGeneralWrite,"System General Write"],[v.SystemAdvancedRead,"System Advanced Read"],[v.SystemAdvancedWrite,"System Advanced Write"],[v.SupportRead,"Support Read"],[v.SupportWrite,"Support Write"],[v.SystemAuditRead,"System Audit Read"],[v.SystemAuditWrite,"System Audit Write"],[v.AppsRead,"Apps Read"],[v.AppsWrite,"Apps Write"],[v.CatalogRead,"Catalog Read"],[v.CatalogWrite,"Catalog Write"],[v.CertificateAuthorityRead,"Certificate Authority Read"],[v.CertificateAuthorityWrite,"Certificate Authority Write"],[v.CertificateRead,"Certificate Read"],[v.CertificateWrite,"Certificate Write"],[v.ContainerRead,"Container Read"],[v.ContainerWrite,"Container Write"],[v.FailoverRead,"Failover Read"],[v.FailoverWrite,"Failover Write"],[v.IpmiRead,"IPMI Read"],[v.IpmiWrite,"IPMI Write"],[v.JbofRead,"JBOF Read"],[v.JbofWrite,"JBOF Write"],[v.PoolScrubRead,"Pool Scrub Read"],[v.PoolScrubWrite,"Pool Scrub Write"],[v.PoolRead,"Pool Read"],[v.PoolWrite,"Pool Write"],[v.VirtImageRead,"Virtualization Image Read"],[v.VirtImageWrite,"Virtualization Image Write"],[v.VirtInstanceRead,"Virtualization Instance Read"],[v.VirtInstanceWrite,"Virtualization Instance Write"],[v.VirtInstanceDelete,"Virtualization Instance Delete"],[v.VirtGlobalWrite,"Virtualization Global Write"],[v.VirtGlobalRead,"Virtualization Global Read"],[v.VmDeviceRead,"VM Device Read"],[v.VmDeviceWrite,"VM Device Write"],[v.VmRead,"VM Read"],[v.VmWrite,"VM Write"],[v.DirectoryServiceRead,"Directory Service Read"],[v.DirectoryServiceWrite,"Directory Service Write"],[v.DockerWrite,"Docker Write"]]);var zc=function(t){return t.Local="LOCAL",t.SysAdmin="SYS_ADMIN",t.Otpw="OTPW",t.PasswordChangeRequired="PASSWORD_CHANGE_REQUIRED",t}(zc||{});var Wx=function(t){return t.ApiKeyPlain="API_KEY_PLAIN",t.PasswordPlain="PASSWORD_PLAIN",t.TokenPlain="TOKEN_PLAIN",t.OtpToken="OTP_TOKEN",t}(Wx||{});var Gn=function(t){return t.Success="success",t.IncorrectDetails="incorrect_details",t.Redirect="redirect",t.NoAccess="no_access",t.NoToken="no_token",t.NoOtp="no_otp",t}(Gn||{});function QN(t){return e=>e.pipe(xe(r=>t(r).pipe(_e(1),Z(i=>i),N(()=>r))))}var qu=function(t){return t.Success="SUCCESS",t.AuthErr="AUTH_ERR",t.Expired="EXPIRED",t.OtpRequired="OTP_REQUIRED",t.Redirect="REDIRECT",t}(qu||{}),Yu=function(t){return t.PasswordPlain="PASSWORD_PLAIN",t.OtpToken="OTP_TOKEN",t.TokenPlain="TOKEN_PLAIN",t.ApiKeyPlain="API_KEY_PLAIN",t}(Yu||{}),Gx=function(t){return t.Level1="LEVEL_1",t.Level2="LEVEL_2",t}(Gx||{});var qx=_A("[Admin UI] Initialized");function JN(t){return e=>qr(()=>{let r=!0;return e.pipe(je(n=>{r&&(t(n),r=!1)}))})}var $Q=function(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o},_i,Gm=(_i=class{get isTokenWithinTimeline$(){return this.tokenLastUsed$.pipe(N(e=>{if(!e)return!1;let r=5*6e4,n=new Date(e).getTime();return Date.now()-n<=r}))}constructor(e,r){this.wsHandler=e,this.window=r,this.tokenLastUsed$=new qe(this.window.localStorage.getItem("tokenLastUsed"))}setupTokenLastUsedValue(e){e.pipe(Z(Boolean),JN(()=>this.updateTokenLastUsed()),xe(()=>this.wsHandler.responses$.pipe(Yr(5e3))),je(()=>this.updateTokenLastUsed()),ht(this)).subscribe()}updateTokenLastUsed(){let e=new Date().toISOString();this.window.localStorage.setItem("tokenLastUsed",e),this.tokenLastUsed$.next(e)}clearTokenLastUsed(){this.tokenLastUsed$.next(null),this.window.localStorage.removeItem("tokenLastUsed")}},_i.\u0275fac=function(r){return new(r||_i)(E(Ko),E(Mc))},_i.\u0275prov=y({token:_i,factory:_i.\u0275fac,providedIn:"root"}),_i);Gm=$Q([Qt()],Gm);var eP=function(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o},xi,Yx=(xi=class{get authToken$(){return this.latestTokenGenerated$.asObservable().pipe(Z(e=>!!e))}get hasAuthToken(){return!!this.token&&this.token!=="null"}
1constructor(e,r,n,i,o,s,c){this.store$=e,this.api=r,this.tokenLastUsedService=n,this.wsStatus=i,this.dialogService=o,this.errorHandler=s,this.window=c,this.loggedInUser$=new qe(null),this.wasOneTimePasswordChanged$=new qe(!1),this.wasRequiredPasswordChanged$=new qe(!1),this.pendingAuthData=null,this.sessionInitialized=!1,this.tokenRegenerationTimeMillis=290*1e3,this.latestTokenGenerated$=new rn(1),this.user$=this.loggedInUser$.asObservable(),this.checkIsTokenAllowed$=new A,this.isOtpwUser$=this.user$.pipe(Z(Boolean),N(l=>l.account_attributes.includes(zc.Otpw))),this.isLocalUser$=this.user$.pipe(Z(Boolean),N(l=>l.account_attributes.includes(zc.Local))),this.isPasswordChangeRequired$=this.user$.pipe(Z(Boolean),N(l=>l.account_attributes.includes(zc.PasswordChangeRequired))),this.isSysAdmin$=this.user$.pipe(Z(Boolean),N(l=>l.account_attributes.includes(zc.SysAdmin))),this.userTwoFactorConfig$=this.user$.pipe(Z(Boolean),N(l=>l.two_factor_config)),this.setupAuthenticationUpdate(),this.setupWsConnectionUpdate(),this.setupPeriodicTokenGeneration(),this.setupTokenUpdate()}getGlobalTwoFactorConfig(){return this.cachedGlobalTwoFactorConfig?O(this.cachedGlobalTwoFactorConfig):this.api.call("auth.twofactor.config").pipe(je(e=>{this.cachedGlobalTwoFactorConfig=e}))}globalTwoFactorConfigUpdated(){this.cachedGlobalTwoFactorConfig=null}clearAuthToken(){this.window.sessionStorage.removeItem("loginBannerDismissed"),this.tokenLastUsedService.clearTokenLastUsed(),this.latestTokenGenerated$.next(null),this.latestTokenGenerated$.complete(),this.latestTokenGenerated$=new rn(1),this.setupTokenUpdate()}login(e,r,n=null){return(n?this.api.call("auth.login_ex_continue",[{mechanism:Yu.OtpToken,otp_token:n}]):this.api.call("auth.login_ex",[{mechanism:Yu.PasswordPlain,username:e,password:r}])).pipe(xe(o=>this.processLoginResult(o).pipe(N(s=>({loginResponse:o,loginResult:s})))))}setQueryToken(e){!e||this.window.location.protocol!=="https:"||(this.token=e)}loginWithToken(){return this.token?(performance.mark("Login Start"),this.api.call("auth.login_ex",[{mechanism:Yu.TokenPlain,token:this.token}]).pipe(xe(e=>this.processLoginResult(e)),xr(e=>(this.dialogService.error(this.errorHandler.parseError(e)),O(Gn.NoAccess))))):O(Gn.NoToken)}hasRole(e){return this.user$.pipe(Z(Boolean),N(r=>{var o,s;let n=((s=(o=r==null?void 0:r.privilege)==null?void 0:o.roles)==null?void 0:s.$set)||[],i=Array.isArray(e)?e:[e];return!(i!=null&&i.length)||!n.length?!1:i.some(c=>n.includes(c))}))}logout(){return this.api.call("auth.logout").pipe(je(()=>{this.clearAuthToken(),this.wasOneTimePasswordChanged$.next(!1),this.wasRequiredPasswordChanged$.next(!1),this.wsStatus.setLoginStatus(!1),this.api.clearSubscriptions(),this.sessionInitialized=!1,this.pendingAuthData=null}))}refreshUser(){return this.loggedInUser$.next(null),this.getLoggedInUserInformation().pipe(N(()=>{}))}requiredPasswordChanged(){this.wasRequiredPasswordChanged$.next(!0)}isTwoFactorSetupRequired(){return this.getGlobalTwoFactorConfig().pipe(xe(e=>e.enabled?this.userTwoFactorConfig$.pipe(Z(Boolean),N(r=>!r.secret_configured)):O(!1)))}isFullAdmin(){return this.hasRole(v.FullAdmin)}getOneTimeToken(){return this.api.call("auth.generate_token",[300,{},!0,!0])}initializeSession(){if(!this.pendingAuthData)return O(Gn.NoToken);let{userInfo:e,authenticator:r}=this.pendingAuthData;return this.loggedInUser$.next(e),this.wsStatus.setLoginStatus(!0),this.window.sessionStorage.setItem("loginBannerDismissed","true"),this.sessionInitialized=!0,this.store$.dispatch(qx()),this.pendingAuthData=null,r===Gx.Level1?(this.checkIsTokenAllowed$.next(),this.latestTokenGenerated$.pipe(_e(1),N(()=>Gn.Success),xr(()=>(this.cleanupFailedSession(),O(Gn.NoToken))))):O(Gn.Success)}processLoginResult(e){return O(e).pipe(xe(r=>{var n,i;return r.response_type===qu.Success?(i=(n=r.user_info)==null?void 0:n.privilege)!=null&&i.webui_access?(this.pendingAuthData={userInfo:r.user_info,authenticator:r==null?void 0:r.authenticator},O(Gn.Success)):O(Gn.NoAccess):(this.pendingAuthData=null,r.response_type===qu.OtpRequired?O(Gn.NoOtp):r.response_type===qu.Redirect?O(Gn.Redirect):O(Gn.IncorrectDetails))}
1))}setupPeriodicTokenGeneration(){this.checkIsTokenAllowed$.pipe(QN(()=>this.wsStatus.isAuthenticated$),xe(()=>this.api.call("auth.mechanism_choices").pipe(xr(e=>(console.error(e),O([]))))),N(e=>e.includes(Wx.TokenPlain))).subscribe(e=>{if(!e){this.latestTokenGenerated$.next(null);return}(!this.generateTokenSubscription||this.generateTokenSubscription.closed)&&(this.generateTokenSubscription=on(0,this.tokenRegenerationTimeMillis).pipe(xe(()=>this.wsStatus.isAuthenticated$.pipe(_e(1))),Z(Boolean),xe(()=>this.api.call("auth.generate_token")),je(r=>this.latestTokenGenerated$.next(r))).subscribe())})}getLoggedInUserInformation(){return this.api.call("auth.me").pipe(je(e=>{this.loggedInUser$.next(e)}))}setupAuthenticationUpdate(){this.wsStatus.isAuthenticated$.pipe(ht(this)).subscribe({next:e=>{var r;e&&this.sessionInitialized?this.store$.dispatch(qx()):this.generateTokenSubscription&&((r=this.latestTokenGenerated$)==null||r.complete(),this.latestTokenGenerated$=new rn(1),this.setupTokenUpdate(),this.generateTokenSubscription.unsubscribe(),this.generateTokenSubscription=null)}})}setupWsConnectionUpdate(){this.wsStatus.isConnected$.pipe(Z(e=>!e),ht(this)).subscribe(()=>{this.wsStatus.setLoginStatus(!1),this.loggedInUser$.next(null),this.sessionInitialized=!1})}setupTokenUpdate(){this.latestTokenGenerated$.pipe(ht(this)).subscribe(e=>{this.token=e})}ngOnDestroy(){this.sessionInitialized=!1,this.pendingAuthData=null}cleanupFailedSession(){this.sessionInitialized=!1,this.pendingAuthData=null,this.loggedInUser$.next(null),this.wsStatus.setLoginStatus(!1)}},xi.\u0275fac=function(r){return new(r||xi)(E(du),E(Zo),E(Gm),E(mi),E(vr),E(os),E(Mc))},xi.\u0275prov=y({token:xi,factory:xi.\u0275fac,providedIn:"root"}),xi);eP([KR()],Yx.prototype,"token",void 0);Yx=eP([Qt()],Yx);export{T as a,ve as b,aP as c,WQ as d,Xm as e,cP as f,Qm as g,GQ as h,a as i,qQ as j,YQ as k,ZQ as l,Gc as m,ce as n,Zn as o,ig as p,V as q,ug as r,Yc as s,A as t,qe as u,rn as v,pa as w,pg as x,hg as y,mg as z,nn as A,ls as B,cg as C,Ht as D,O as E,Rn as F,kt as G,_r as H,EP as I,wP as J,xE as K,N as L,us as M,Rt as N,Qc as O,Er as P,qr as Q,ds as R,fs as S,on as T,HP as U,On as V,DE as W,$P as X,Z as Y,Jc as Z,xr as _,vg as $,GP as aa,qP as ba,ha as ca,Yr as da,el as ea,_e as fa,yg as ga,_g as ha,tl as ia,YP as ja,Zr as ka,SE as la,XP as ma,ps as na,TE as oa,QP as pa,Eg as qa,JP as ra,eF as sa,Dd as ta,tF as ua,Dg as va,wi as wa,nl as xa,nF as ya,Ot as za,xe as Aa,Ce as Ba,ma as Ca,je as Da,ME as Ea,Cd as Fa,U as Ga,xt as Ha,y as Ia,ie as Ja,Nle as Ka,b as La,De as Ma,E as Na,p as Oa,Fa as Pa,gb as Qa,_s as Ra,ks as Sa,NF as Ta,vn as Ua,Cf as Va,it as Wa,Ee as Xa,we as Ya,Mf as Za,TD as _a,Oe as $a,Nf as ab,fe as bb,Ma as cb,vo as db,Q as eb,F as fb,_t as gb,Al as hb,Gt as ib,P as jb,Mi as kb,xn as lb,qt as mb,er as nb,_a as ob,Vb as pb,Fn as qb,Ft as rb,jn as sb,Ej as tb,wj as ub,Ple as vb,Fle as wb,Lle as xb,jle as yb,D as zb,w as Ab,Vle as Bb,at as Cb,Oa as Db,Ns as Eb,ct as Fb,Ba as Gb,tr as Hb,Nl as Ib,$le as Jb,zle as Kb,Wle as Lb,Gle as Mb,Uv as Nb,w2 as Ob,B as Pb,oe as Qb,k as Rb,Vn as Sb,pe as Tb,_I as Ub,Ke as Vb,se as Wb,CI as Xb,Ua as Yb,ay as Zb,TI as _b,nr as $b,ge as ac,ue as bc,Pi as cc,ae as dc,qle as ec,En as fc,Yle as gc,Zle as hc,te as ic,Kle as jc,UI as kc,HI as lc,$I as mc,C as nc,I as oc,j as pc,zI as qc,WI as rc,wB as sc,Me as tc,bo as uc,ly as vc,J as wc,uy as xc,$ as yc,et as zc,ke as Ac,Yf as Bc,Yt as Cc,wt as Dc,Dt as Ec,Xle as Fc,Ll as Gc,GI as Hc,Zf as Ic,K as Jc,Re as Kc,Se as Lc,jl as Mc,PB as Nc,FB as Oc,py as Pc,qI as Qc,hy as Rc,LB as Sc,Qle as Tc,Jle as Uc,We as Vc,eue as Wc,KI as Xc,tue as Yc,nue as Zc,rue as _c,z as $c,G as ad,my as bd,iue as cd,oue as dd,sue as ed,vy as fd,Ne as gd,Vl as hd,be as id,_o as jd,rr as kd,Bl as ld,aue as md,ee as nd,Sue as od,dp as pd,hU as qd,Tue as rd,Oy as sd,ES as td,Aue as ud,Mue as vd,kue as wd,wS as xd,Rue as yd,Oue as zd,Nue as Ad,Pue as Bd,Fue as Cd,Lue as Dd,jue as Ed,Vue as Fd,Bue as Gd,Uue as Hd,Hue as Id,DS as Jd,$ue as Kd,zue as Ld,SS as Md,za as Nd,pp as Od,Wue as Pd,Eo as Qd,Hl as Rd,wo as Sd,Wl as Td,Ps as Ud,ide as Vd,ode as Wd,Pe as Xd,dde as Yd,ii as Zd,Ga as _d,HS as $d,qa as ae,Hn as be,Zt as ce,ql as de,wn as ee,Gy as fe,Ya as ge,$n as he,Za as ie,Ar as je,Cde as ke,Fde as le,WS as me,xp as ne,YS as oe,YH as pe,ZH as qe,nT as re,KS as se,Tp as te,ufe as ue,Rp as ve,n_ as we,dfe as xe,ffe as ye,Yl as ze,Zl as Ae,oT as Be,oi as Ce,pfe as De,Op as Ee,cn as Fe,sr as Ge,Do as He,$fe as Ie,zfe as Je,tt as Ke,sT as Le,Pp as Me,k3 as Ne,N3 as Oe,Wfe as Pe,Gfe as Qe,Vs as Re,ar as Se,Lp as Te,mT as Ue,Xl as Ve,p_ as We,V3 as Xe,qfe as Ye,B3 as Ze,U3 as _e,u_ as $e,Yfe as af,Zfe as bf,Kfe as cf,gT as df,vT as ef,ut as ff,upe as gf,dpe as hf,Vp as if,fpe as jf,Z3 as kf,IT as lf,Ape as mf,Mpe as nf,kpe as of,tu as pf,I_ as qf,BT as rf,Wpe as sf,Mr as tf,Ype as uf,ru as vf,Bs as wf,Zpe as xf,Kpe as yf,si as zf,Qa as Af,Xpe as Bf,Us as Cf,Qpe as Df,Jpe as Ef,UT as Ff,HT as Gf,ehe as Hf,kr as If,Rr as Jf,Io as Kf,So as
1Lf,M_ as Mf,WT as Nf,To as Of,k_ as Pf,$T as Qf,zT as Rf,hhe as Sf,Nhe as Tf,Ja as Uf,su as Vf,au as Wf,R$ as Xf,Phe as Yf,Fhe as Zf,Gp as _f,N_ as $f,ai as ag,B_ as bg,Ct as cg,nA as dg,ime as eg,Ao as fg,ez as gg,sA as hg,nz as ig,H_ as jg,_A as kg,Ume as lg,lu as mg,hA as ng,Yme as og,X_ as pg,du as qg,hz as rg,wz as sg,Cz as tg,Zme as ug,Kme as vg,Xme as wg,Qme as xg,rc as yg,fu as zg,oc as Ag,ln as Bg,dt as Cg,ft as Dg,$s as Eg,o0 as Fg,sc as Gg,he as Hg,He as Ig,u0 as Jg,f0 as Kg,gu as Lg,p0 as Mg,$q as Ng,Wq as Og,S9 as Pg,A9 as Qg,R9 as Rg,h0 as Sg,L9 as Tg,m0 as Ug,U9 as Vg,$9 as Wg,q9 as Xg,X9 as Yg,iY as Zg,d4 as _g,aY as $g,lY as ah,fY as bh,hY as ch,vY as dh,yY as eh,TY as fh,v0 as gh,OY as hh,VY as ih,HY as jh,YY as kh,KY as lh,JY as mh,t7 as nh,r7 as oh,o7 as ph,d7 as qh,p7 as rh,m7 as sh,v7 as th,y7 as uh,x7 as vh,MMe as wh,kMe as xh,Qt as yh,ht as zh,Mc as Ah,jMe as Bh,mi as Ch,G0 as Dh,um as Eh,q0 as Fh,Yo as Gh,POe as Hh,b1 as Ih,Ys as Jh,vO as Kh,pr as Lh,aO as Mh,dn as Nh,Zi as Oh,kO as Ph,ike as Qh,qs as Rh,oke as Sh,pZ as Th,Oc as Uh,ake as Vh,j0 as Wh,cke as Xh,bZ as Yh,_Z as Zh,LO as _h,jO as $h,VO as ai,CZ as bi,TZ as ci,MZ as di,RZ as ei,rm as fi,lke as gi,HO as hi,uke as ii,dke as ji,$O as ki,zO as li,hm as mi,m1e as ni,am as oi,It as pi,Lr as qi,Iu as ri,XO as si,Sn as ti,hr as ui,mr as vi,Yke as wi,x1 as xi,e1 as yi,mt as zi,Su as Ai,Ks as Bi,f1 as Ci,o1 as Di,DRe as Ei,a1 as Fi,Tn as Gi,rK as Hi,l1 as Ii,u1 as Ji,p1 as Ki,gi as Li,Tu as Mi,OK as Ni,en as Oi,D1 as Pi,C1 as Qi,Zo as Ri,gm as Si,L1 as Ti,YX as Ui,os as Vi,ZN as Wi,zm as Xi,KN as Yi,a2e as Zi,vr as _i,Ko as $i,Gn as aj,zc as bj,v as cj,q2e as dj,QN as ej,qx as fj,JN as gj,Gm as hj,Yx as ij}; 2//# sourceMappingURL=chunk-CPOZEFYP.js.map
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.